:root {
    --ink: #193232;
    --ink2: #1f3a3a;
    --ink-deep: #0e1f1f;
    --ink-light: #1e3d3d;
    --olive: #808000;
    --olive-dim: rgba(128, 128, 0, 0.12);
    --olive-glow: rgba(128, 128, 0, 0.4);
    --cream: #f0ece0;
    --cream-dim: rgba(240, 236, 224, 0.08);
    --white: #ffffff;
    --muted: rgba(240, 236, 224, 0.45);
    --border: rgba(128, 128, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--cream);
    font-family: 'IBM Plex Mono', monospace;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════
   NAVBAR — Bottom Border Only
═══════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 2px solid var(--olive);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s;
}

nav.scrolled {
    background: rgba(14, 31, 31, 0.94);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.nav-logo-image {
    display: block;
    max-height: 92px;
    width: auto;
    border-radius: 20px;
}

.nav-logo-mark {
    width: 90px;
    height: 90px;
    border: 1.5px solid var(--olive);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--olive);
    letter-spacing: 0.05em;
    position: relative;
}

.nav-logo-mark::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 0.5px solid rgba(128, 128, 0, 0.3);
}

.nav-logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.12em;
    color: var(--cream);
    text-transform: uppercase;
}

.nav-logo-text span {
    color: var(--olive);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-menu a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--olive);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.nav-menu a:hover {
    color: var(--cream);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--olive);
    padding: 10px 22px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background: #9a9a00;
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--olive);
    transition: 0.3s;
}

/* ═══════════════════════════════════════
   HERO — Moiré Interference Pattern
═══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
}

.hero-grid-1 {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg,
            rgba(128, 128, 0, 0.06) 0px, rgba(128, 128, 0, 0.06) 1px,
            transparent 1px, transparent 12px);
    pointer-events: none;
}

.hero-grid-2 {
    position: absolute;
    inset: -100px;
    background-image: repeating-linear-gradient(7deg,
            rgba(128, 128, 0, 0.06) 0px, rgba(128, 128, 0, 0.06) 1px,
            transparent 1px, transparent 12px);
    pointer-events: none;
}

.hero-crosshairs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.crosshair {
    position: absolute;
    color: rgba(128, 128, 0, 0.35);
    font-size: 12px;
    transform: translate(-50%, -50%);
    font-family: 'IBM Plex Mono', monospace;
}

.hero-panels {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 48px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
    align-items: center;
}

.hero-panel-headline {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background: var(--ink-deep);
    padding: 32px 40px;
    transform: rotate(-1deg);
    border: 1px solid var(--border);
    position: relative;
}

.hero-panel-headline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--olive);
}

.hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 16px;
}

.hero-h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(56px, 8vw, 110px);
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--cream);
    letter-spacing: -0.01em;
}

.hero-h1 em {
    font-style: normal;
    color: var(--olive);
}

.hero-images {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.hero-img-trap {
    width: 300px;
    height: 220px;
    background: var(--ink-light);
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-port {
    width: 180px;
    height: 260px;
    background: var(--ink-light);
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
    overflow: hidden;
    position: relative;
}

.hero-img-trap-inner,
.hero-img-port-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive);
    opacity: 0.3;
    font-size: 48px;
}

.hero-panel-tagline {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    background: var(--olive-dim);
    border: 1px solid var(--border);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    color: var(--cream);
    font-weight: 300;
}

.hero-meta {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--muted);
    line-height: 2;
}

.hero-meta strong {
    color: var(--olive);
    display: block;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary {
    display: inline-block;
    background: var(--olive);
    color: var(--ink-deep);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 16px 28px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
}

.btn-primary:hover {
    background: #9a9a00;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--olive);
    color: var(--olive);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 14px 28px;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
}

.btn-outline:hover {
    background: var(--olive-dim);
}

/* ═══════════════════════════════════════
   HOW WE WORK
═══════════════════════════════════════ */
.section-work {
    padding: 120px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-label::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: var(--olive);
    opacity: 0.4;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(48px, 6vw, 88px);
    text-transform: uppercase;
    line-height: 0.92;
    color: var(--cream);
    margin-bottom: 64px;
}

.section-title em {
    color: var(--olive);
    font-style: normal;
}

.work-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}

.work-step {
    padding: 40px 32px;
    border-right: 1px solid var(--border);
    position: relative;
    transition: background 0.3s;
}

.work-step:last-child {
    border-right: none;
}

.work-step:hover {
    background: var(--olive-dim);
}

.work-step-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 80px;
    color: rgba(128, 128, 0, 0.08);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.work-step-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cream);
    margin-bottom: 12px;
}

.work-step-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

.work-step-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s;
}

.work-step:hover .work-step-line {
    background: var(--olive);
}

/* ═══════════════════════════════════════
   SERVICES — Origami Fold Grid
═══════════════════════════════════════ */
.section-services-wrap {
    background: var(--ink);
    background-image: repeating-linear-gradient(0deg,
            rgba(128, 128, 0, 0.02) 0px, rgba(128, 128, 0, 0.02) 1px,
            transparent 1px, transparent 4px);
    padding: 120px 0;
}

.section-services-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.origami-services-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 26px;
}

.origami-card {
    min-height: 390px;
    background: var(--ink2);
    border: 1px solid rgba(128, 128, 0, 0.15);
    transform: skewX(-8deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
    box-shadow: inset -8px 0 16px rgba(0, 0, 0, 0.3);
}

.origami-card::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 48%;
    height: 1px;
    background: rgba(128, 128, 0, 0.45);
    opacity: 0;
    transform: scaleX(0.2);
}

.origami-card:hover {
    transform: skewX(0deg);
    box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.18), 0 18px 28px rgba(0, 0, 0, 0.25);
}

.origami-card:hover::after {
    animation: fold-crease 0.4s ease;
}

.origami-card-inner {
    height: 100%;
    transform: skewX(8deg);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}

.origami-card:hover .origami-card-inner {
    transform: skewX(0deg);
}

.origami-services-grid .origami-card:nth-child(3n+2) {
    transform: translateY(-20px) skewX(-8deg);
}

.origami-services-grid .origami-card:nth-child(3n+2):hover {
    transform: translateY(-20px) skewX(0deg);
}

.origami-card-image {
    height: 48%;
    min-height: 182px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 4% 100%, 0 88%);
}

.origami-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.origami-card-image-split {
    display: flex;
}

.origami-card-image-split .split {
    flex: 1;
    background-size: cover;
    background-position: center;
    display: block;
}

.origami-card-image-split .split-before {
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    background-image: linear-gradient(rgba(8, 18, 18, 0.3), rgba(8, 18, 18, 0.3)), url('img/services/lockout-before.jpg');
}

.origami-card-image-split .split-after {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    background-image: linear-gradient(rgba(8, 18, 18, 0.18), rgba(8, 18, 18, 0.18)), url('img/services/lockout-after.jpg');
}

.origami-card-content {
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 52%;
}

.origami-card-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cream);
    line-height: 1.1;
}

.origami-card-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tag-pill {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1px solid var(--border);
    color: var(--olive);
}

.origami-card-cta {
    background: linear-gradient(180deg, var(--ink2) 0%, rgba(128, 128, 0, 0.1) 100%);
}

.origami-cta-btn {
    margin-top: 8px;
    display: flex;
    align-self: flex-start;
    justify-content: center;
    text-decoration: none;
    background: var(--olive);
    color: var(--ink-deep);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 14px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.origami-cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

@keyframes fold-crease {
    0% {
        opacity: 0;
        transform: scaleX(0.2);
    }

    40% {
        opacity: 0.9;
        transform: scaleX(1);
    }

    100% {
        opacity: 0;
        transform: scaleX(0.85);
    }
}

/* ═══════════════════════════════════════
   FAQ — Neon Glow Expandable
═══════════════════════════════════════ */
.section-faq-wrap {
    background: #000;
    padding: 120px 48px;
    position: relative;
    overflow: hidden;
}

.faq-ghost-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(160px, 25vw, 320px);
    color: rgba(255, 255, 255, 0.02);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.faq-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #0ff;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-label::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: #0ff;
    opacity: 0.4;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.faq-neon-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    transition: width 0.2s, box-shadow 0.2s;
}

.faq-item:nth-child(1) .faq-neon-bar {
    background: #0ff;
    box-shadow: 0 0 6px #0ff;
}

.faq-item:nth-child(2) .faq-neon-bar {
    background: #a855f7;
    box-shadow: 0 0 6px #a855f7;
}

.faq-item:nth-child(3) .faq-neon-bar {
    background: #f472b6;
    box-shadow: 0 0 6px #f472b6;
}

.faq-item:nth-child(4) .faq-neon-bar {
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
}

.faq-item:nth-child(5) .faq-neon-bar {
    background: #0ff;
    box-shadow: 0 0 6px #0ff;
}

.faq-item:hover .faq-neon-bar {
    width: 3px;
    box-shadow: 0 0 14px currentColor;
}

.faq-question {
    padding: 28px 28px 28px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-q-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

.faq-item:hover .faq-q-text {
    color: #fff;
}

.faq-item.open .faq-q-text {
    color: #fff;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, transform 0.3s;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-neon-line {
    height: 1px;
    width: 0%;
    background: transparent;
    transition: width 0.4s ease;
    margin: 0 32px;
}

.faq-item:nth-child(1) .faq-neon-line {
    background: rgba(0, 255, 255, 0.4);
}

.faq-item:nth-child(2) .faq-neon-line {
    background: rgba(168, 85, 247, 0.4);
}

.faq-item:nth-child(3) .faq-neon-line {
    background: rgba(244, 114, 182, 0.4);
}

.faq-item:nth-child(4) .faq-neon-line {
    background: rgba(74, 222, 128, 0.4);
}

.faq-item:nth-child(5) .faq-neon-line {
    background: rgba(0, 255, 255, 0.4);
}

.faq-item.open .faq-neon-line {
    width: calc(100% - 64px);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    opacity: 1;
}

.faq-a-text {
    padding: 16px 32px 32px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════
   SERVICE AREAS — Circular Marquee Ring
═══════════════════════════════════════ */
.section-areas-wrap {
    padding: 120px 48px;
    overflow: hidden;
    position: relative;
}

.areas-ring-wrap {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
}

.areas-center-text {
    position: absolute;
    z-index: 2;
    text-align: center;
}

.areas-center-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 100px;
    color: var(--olive);
    line-height: 1;
    opacity: 0.15;
}

.areas-center-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}

.areas-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid var(--border);
    animation: rotate-ring 30s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.areas-ring-2 {
    width: 280px;
    height: 280px;
    animation: rotate-ring 20s linear infinite reverse;
}

@keyframes rotate-ring {
    to {
        transform: rotate(360deg);
    }
}

.area-dot {
    position: absolute;
    transform-origin: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

.area-dot-marker {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--olive);
    flex-shrink: 0;
}

.area-dot-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    white-space: nowrap;
}

/* Position dots around ring */
.areas-grid {
    max-width: 1400px;
    margin: 64px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
}

.area-cell {
    background: var(--ink);
    padding: 24px;
    text-align: center;
    transition: background 0.2s;
}

.area-cell:hover {
    background: var(--olive-dim);
}

.area-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(128, 128, 0, 0.4);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.area-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cream);
}

/* ═══════════════════════════════════════
   DETAIL SERVICES — Flip Grid
═══════════════════════════════════════ */
.section-flip-wrap {
    padding: 120px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 64px;
}

.flip-card {
    height: 340px;
    perspective: 1200px;
    cursor: pointer;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Different flip directions */
.flip-card:nth-child(1) .flip-card-inner {
    transform-origin: top center;
}

.flip-card:nth-child(1):hover .flip-card-inner {
    transform: rotateX(-180deg);
}

.flip-card:nth-child(2) .flip-card-inner {
    transform-origin: left center;
}

.flip-card:nth-child(2):hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card:nth-child(3) .flip-card-inner {
    transform-origin: right center;
}

.flip-card:nth-child(3):hover .flip-card-inner {
    transform: rotateY(-180deg);
}

.flip-card:nth-child(4) .flip-card-inner {
    transform-origin: bottom center;
}

.flip-card:nth-child(4):hover .flip-card-inner {
    transform: rotateX(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border: 1px solid var(--border);
}

.flip-back {
    transform: rotateY(180deg);
}

.flip-card:nth-child(1) .flip-back {
    transform: rotateX(180deg);
}

.flip-card:nth-child(4) .flip-back {
    transform: rotateX(-180deg);
}

.flip-card:nth-child(3) .flip-back {
    transform: rotateY(-180deg);
}

.flip-front {
    background: var(--ink-light);
    justify-content: flex-end;
}

.flip-back {
    background: var(--olive);
    justify-content: center;
}

.flip-front-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
}

.flip-front-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cream);
    margin-bottom: 8px;
}

.flip-front-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.1em;
}

.flip-front-hint {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.2em;
    color: rgba(128, 128, 0, 0.5);
    text-transform: uppercase;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.flip-back-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 32px;
    text-transform: uppercase;
    color: var(--ink-deep);
    margin-bottom: 16px;
}

.flip-back-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(25, 50, 50, 0.8);
    margin-bottom: 24px;
}

.flip-back-cta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-deep);
    border-bottom: 1px solid rgba(25, 50, 50, 0.3);
    padding-bottom: 4px;
    display: inline-block;
    text-decoration: none;
}

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.section-cta {
    background: var(--olive);
    padding: 100px 48px;
    position: relative;
    overflow: hidden;
}

.cta-bg-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(80px, 15vw, 220px);
    color: rgba(25, 50, 50, 0.08);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(44px, 6vw, 80px);
    text-transform: uppercase;
    color: var(--ink-deep);
    line-height: 0.95;
    margin-bottom: 24px;
}

.cta-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(25, 50, 50, 0.7);
    margin-bottom: 48px;
    font-style: italic;
}

.btn-dark {
    display: inline-block;
    background: var(--ink-deep);
    color: var(--olive);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 18px 40px;
    text-decoration: none;
    transition: transform 0.2s;
    margin: 0 8px;
}

.btn-dark:hover {
    transform: translateY(-2px);
}

.btn-ghost-dark {
    display: inline-block;
    border: 1.5px solid rgba(25, 50, 50, 0.5);
    color: var(--ink-deep);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 16px 36px;
    text-decoration: none;
    transition: background 0.2s;
    margin: 0 8px;
}

.btn-ghost-dark:hover {
    background: rgba(25, 50, 50, 0.1);
}

/* ═══════════════════════════════════════
   COMPREHENSIVE / ABOUT
═══════════════════════════════════════ */
.section-about {
    padding: 120px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 64px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
}

.about-stat {
    padding: 36px 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.about-stat:nth-child(even) {
    border-right: none;
}

.about-stat:nth-last-child(-n+2) {
    border-bottom: none;
}

.about-stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 54px;
    color: var(--olive);
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.about-text {}

.about-body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 32px;
}

.about-manifesto {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 28px;
    text-transform: uppercase;
    color: var(--cream);
    line-height: 1.1;
    border-left: 3px solid var(--olive);
    padding-left: 20px;
}

/* ═══════════════════════════════════════
   CONTACT + MAP
═══════════════════════════════════════ */
.section-contact-wrap {
    background: var(--ink-deep);
    border-top: 1px solid var(--border);
    padding: 120px 48px;
}

.contact-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-block {}

.contact-block-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 12px;
}

.contact-block-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--cream);
    letter-spacing: 0.02em;
}

.contact-block-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
}

.contact-map {
    background: var(--ink-light);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.map-inner {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.map-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: saturate(0.3) contrast(1.1);
    opacity: 0.8;
    min-height: 400px;
}

.contact-hours {
    border: 1px solid var(--border);
    padding: 32px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(128, 128, 0, 0.08);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--muted);
    letter-spacing: 0.1em;
}

.hours-time {
    color: var(--cream);
}

/* ═══════════════════════════════════════
   FOOTER — Manifesto Closing
═══════════════════════════════════════ */
footer {
    background: var(--ink-deep);
    border-top: 1px solid var(--border);
    padding: 100px 48px 48px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg,
            rgba(128, 128, 0, 0.015) 0px, rgba(128, 128, 0, 0.015) 1px,
            transparent 1px, transparent 6px);
    pointer-events: none;
}

.footer-manifesto {
    max-width: 1000px;
    margin: 0 auto 64px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.manifesto-line {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 6vw, 80px);
    text-transform: uppercase;
    line-height: 0.95;
    color: var(--cream);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s, transform 0.7s;
}

.manifesto-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.manifesto-line:nth-child(1) {
    transition-delay: 0s;
}

.manifesto-line:nth-child(2) {
    transition-delay: 0.12s;
    color: var(--olive);
}

.manifesto-line:nth-child(3) {
    transition-delay: 0.24s;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 64px 0 48px;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-brand {}

.footer-brand-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cream);
    margin-bottom: 8px;
}

.footer-brand-name span {
    color: var(--olive);
}

.footer-brand-logo {
    display: block;
    width: auto;
    max-height: 44px;
    margin-bottom: 10px;
}

.footer-brand-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-col-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-copy {
    border-top: 1px solid var(--border);
    margin-top: 48px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-copy-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: rgba(128, 128, 0, 0.35);
    letter-spacing: 0.15em;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-panels {
        grid-template-columns: 1fr;
        padding: 120px 32px 60px;
    }

    .hero-panel-tagline {
        grid-column: 1;
        grid-row: 3;
    }

    .work-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-step {
        border-bottom: 1px solid var(--border);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .section-work,
    .section-flip-wrap,
    .section-about {
        padding: 80px 24px;
    }

    .section-areas-wrap,
    .section-services-wrap {
        padding: 80px 0;
    }

    .section-services-inner {
        padding: 0 24px;
    }

    .section-faq-wrap {
        padding: 80px 24px;
    }

    .section-contact-wrap {
        padding: 80px 24px;
    }

    .section-cta {
        padding: 80px 24px;
    }

    footer {
        padding: 80px 24px 40px;
    }

    .work-steps {
        grid-template-columns: 1fr;
    }

    .flip-grid {
        grid-template-columns: 1fr;
    }

    .hero-images {
        flex-wrap: wrap;
    }

    .hero-img-trap {
        width: 100%;
    }

    .origami-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .origami-services-grid .origami-card:nth-child(3n+2) {
        transform: skewX(-8deg);
    }

    .origami-services-grid .origami-card:nth-child(3n+2):hover {
        transform: skewX(0deg);
    }

    .zone-a-num {
        font-size: 40px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .origami-card {
        min-height: 360px;
    }
}

@media (max-width: 560px) {
    .origami-services-grid {
        grid-template-columns: 1fr;
    }
}