:root {
    /* ── PALETTE & METRICS ── */
    --page-margin: 6vw;
    --max-width: 1320px;

    /* Shell Metrics */
    --shell-gap: 24px;
    --header-height: 130px;

    /* Backgrounds */
    --bg-body: #F2F4F3;
    --bg-dark: #01100E;
    --bg-deepest: #010a08;

    /* Brand Tones */
    --grad-deep: #011815;
    --grad-rich: #022c26;

    /* Tones */
    --accent: #2DD4BF;
    --text-pure: #FFFFFF;
    --text-dark: #031715;
    --text-muted: #8E9F9D;
    --text-dim: #546B68;

    /* Easing & Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --easing: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-body);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-body);
}

/* ── TYPOGRAPHY UTILITIES ── */
.label-calm {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.01em;
    display: block;
}

/* Reveal Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s var(--ease-out-expo), transform 1.4s var(--ease-out-expo);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── HEADER ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 3000;
    pointer-events: none;
}

.h-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    will-change: clip-path;
    transition: opacity 0.4s ease;
}

.h-layer .logo-anchor {
    position: absolute;
    left: max(4vw, calc(var(--shell-gap) + 32px));
    top: 50%;
    transform: translateY(-50%);
    display: flex; align-items: center;
    line-height: 0; outline: none;
    pointer-events: auto;
}
.h-layer .brand-logo { height: 22px; width: auto; display: block; }

.h-layer .header-nav {
    position: absolute;
    right: max(4vw, calc(var(--shell-gap) + 32px));
    top: 50%;
    transform: translateY(-50%);
    display: flex; gap: 1rem; align-items: center;
    pointer-events: auto;
}
.h-layer .btn-nav {
    text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.h-layer .btn-nav-cta {
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    margin-left: 0.5rem;
    border: 1px solid;
    transition: all 0.3s var(--ease-out-expo);
}

/* Dark Theme Header */
.h-layer--dark .brand-logo  { filter: brightness(0) invert(1); }
.h-layer--dark .btn-nav     { color: rgba(255,255,255,0.65); }
.h-layer--dark .btn-nav:hover { color: #fff; }
.h-layer--dark .btn-nav-cta {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
}
.h-layer--dark .btn-nav-cta:hover {
    background: #fff; color: var(--bg-dark); border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(0,0,0,0.3);
}

/* Light Theme Header */
.h-layer--light .brand-logo  { filter: brightness(0); }
.h-layer--light .btn-nav     { color: var(--text-dim); }
.h-layer--light .btn-nav:hover { color: var(--text-dark); }
.h-layer--light .btn-nav-cta {
    background: transparent;
    color: var(--text-dark);
    border-color: rgba(3,23,21,0.18);
}
.h-layer--light .btn-nav-cta:hover {
    background: var(--text-dark); color: #fff; border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(0,0,0,0.15);
}

body.nav-open .h-layer--dark {
    clip-path: inset(0 0 0 0) !important;
    opacity: 1 !important;
}
body.nav-open .h-layer--light {
    clip-path: inset(100% 0 0 0) !important;
    opacity: 0 !important;
}

/* ── HERO SECTION ── */
.cinematic-track {
    position: relative;
    width: 100%;
    height: 160vh;
    background: transparent;
    z-index: 2;
}

.cinematic-viewport {
    position: sticky;
    top: var(--shell-gap);
    width: calc(100% - (var(--shell-gap) * 2));
    margin: 0 auto;
    height: calc(100vh - (var(--shell-gap) * 2));
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 0%, #032b22 0%, #011310 45%, #010a08 100%);
}

.hero-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 var(--page-margin);
    z-index: 2;
    will-change: transform, opacity, filter;
    transform-origin: center center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    margin-top: calc(var(--header-height) / 2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(1.5rem, 6vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 300;
    color: var(--text-pure);
    margin-bottom: 2.2rem;
}

.hero-title .text-fade,
.hero-title strong {
    display: block;
    white-space: nowrap;
}

.hero-title .text-fade {
    color: rgba(255, 255, 255, 0.45);
}

.hero-title strong {
    font-weight: 400;
    color: var(--text-pure);
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin: 0 0 3.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--text-pure);
    color: var(--grad-deep);
    padding: 1.1rem 2.2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s var(--easing);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255,255,255,0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.05rem 2.2rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: all 0.3s var(--easing);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0.4;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-pure);
    font-weight: 600;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--text-pure), transparent);
}

/* ── VIDEO (commented out — preserved for future use) ──
.video-perspective-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    z-index: 3;
    pointer-events: none;
}

.video-viewport-wrapper {
    position: relative;
    width: min(90vw, calc(80vh * 16 / 9));
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    background: transparent;
    box-shadow: 0 60px 120px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.08);
    opacity: 0;
}

.video-glow {
    position: absolute;
    inset: -5%;
    background: #054d42;
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
    transform: translateZ(-20px);
    border-radius: 20px;
    transition: opacity 0.5s ease;
}

.video-viewport-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    display: block;
}

.video-caption {
    position: absolute;
    bottom: -56px;
    left: 0;
    right: 0;
    text-align: center;
}

.video-caption-client {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
}

.video-caption-desc {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}
── END VIDEO ── */

/* ── SECTION 2: EDITORIAL PHILOSOPHY ── */
.editorial-section {
    background-color: var(--bg-body);
    color: var(--text-dark);
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
    margin-top: 0;
    padding: 12rem var(--page-margin) 10rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 -30px 80px rgba(0,0,0,0.05);
}

.editorial-section::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: rgba(0,0,0,0.06);
}

.thesis-block {
    max-width: var(--max-width);
    margin: 0 auto 10rem;
}

.thesis-text {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 1400px;
}

.thesis-text span {
    color: var(--text-dim);
    display: block;
    margin-top: 0.25rem;
}

.thesis-body {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-dim);
    font-weight: 400;
    max-width: 680px;
    margin-top: 3rem;
}

.thesis-body + .thesis-body {
    margin-top: 1.5rem;
}

.editorial-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 6fr;
    gap: 8rem;
    align-items: start;
}

.editorial-sticky {
    position: sticky;
    top: 180px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sticky-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-dim);
    font-weight: 400;
    max-width: 320px;
}

.editorial-scroll {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.pillar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pillar-number {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 1rem;
    max-width: 40px;
}

.pillar-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.pillar-desc {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-dim);
    font-weight: 400;
    max-width: 540px;
}

/* ── WORK SECTION ── */
.work-section {
    background-color: var(--bg-body);
    padding: 10rem var(--page-margin) 14rem;
    position: relative;
    z-index: 10;
}

.work-intro {
    max-width: var(--max-width);
    margin: 0 auto 7rem;
}

.work-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    display: block; margin-bottom: 1.5rem;
}

.work-intro h2 {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    font-weight: 300;
    color: var(--grad-rich);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.work-intro p {
    font-size: 1.125rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 600px;
}

.deck-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
}

.project-card {
    position: sticky;
    background: var(--grad-rich);
    color: var(--text-pure);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.25);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    min-height: 560px;
    transform-origin: center top;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s var(--easing);
}

.project-card:nth-child(1) { top: 130px; z-index: 10; }
.project-card:nth-child(2) { top: 160px; z-index: 20; }
.project-card:nth-child(3) { top: 190px; z-index: 30; }

.card-info {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom, #022c26, #011815);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.project-client {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 1.5rem;
}

.project-title-lg {
    font-size: 2.8rem; font-weight: 300;
    line-height: 1.1; letter-spacing: -0.03em;
    color: #fff; margin-bottom: 2rem;
}

.project-desc-lg {
    font-size: 1.1rem; color: var(--text-muted);
    line-height: 1.7; font-weight: 300;
    margin-bottom: 3rem; max-width: 90%;
}

.project-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-group span {
    display: block; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem; letter-spacing: 0.08em;
}

.stat-group strong {
    font-size: 1.6rem; font-weight: 400;
    color: #fff; letter-spacing: -0.02em;
}

.card-visual {
    position: relative; overflow: hidden; background: #000;
}

.card-visual img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.85;
    transition: transform 0.8s var(--easing);
    mix-blend-mode: normal;
}

.card-visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(2, 44, 38, 0.4), transparent);
    pointer-events: none;
}

.project-card:hover .card-visual img {
    transform: scale(1.03); opacity: 1;
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
    display: none;
    position: absolute;
    right: max(4vw, calc(var(--shell-gap) + 32px));
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    pointer-events: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 10;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.4s var(--ease-out-expo);
}
.hamburger:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.07);
}
body.nav-open .hamburger {
    background: rgba(45, 212, 191, 0.08);
    border-color: rgba(45, 212, 191, 0.28);
}
body.nav-open .hamburger:hover {
    background: rgba(45, 212, 191, 0.13);
    border-color: rgba(45, 212, 191, 0.42);
    transform: translateY(-50%) scale(1.07);
}
.hamburger span {
    display: block;
    height: 1.5px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.9);
    transform-origin: center;
    transition:
        transform 0.55s var(--ease-out-expo),
        opacity 0.35s ease,
        width 0.45s var(--ease-out-expo),
        background 0.3s ease;
}
.hamburger span:nth-child(1) { width: 18px; }
.hamburger span:nth-child(2) { width: 11px; }
.hamburger span:nth-child(3) { width: 18px; }

.hamburger:hover span:nth-child(2) { width: 18px; }

body.nav-open .hamburger span { background: rgba(45, 212, 191, 0.9); }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 18px; }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 18px; }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-height) + 2rem) 8vw 4rem;
    background-color: rgba(1, 14, 12, 0.65);
    background-image: radial-gradient(ellipse 90% 45% at 50% 0%, rgba(3,58,46,0.4) 0%, transparent 65%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.8s var(--ease-out-expo);
    pointer-events: none;
    overflow-y: auto;
}

.mobile-nav.is-open {
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
}

.mobile-nav-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-nav-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

body.nav-open .mobile-nav-eyebrow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nav-item-wrapper {
    overflow: hidden;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.mobile-nav-link {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    letter-spacing: -0.03em;
    line-height: 1.1;
    display: block;
    transform: translateY(110%);
    transition: transform 0.8s var(--ease-out-expo), color 0.4s ease, padding-left 0.4s var(--ease-out-expo);
}

body.nav-open .mobile-nav-link {
    transform: translateY(0);
}

body.nav-open .nav-item-wrapper:nth-child(1) .mobile-nav-link { transition-delay: 0.15s; }
body.nav-open .nav-item-wrapper:nth-child(2) .mobile-nav-link { transition-delay: 0.25s; }
body.nav-open .nav-item-wrapper:nth-child(3) .mobile-nav-link { transition-delay: 0.35s; }

.mobile-nav-link:hover {
    color: #fff;
    padding-left: 1rem;
}

.mobile-nav-footer {
    flex-shrink: 0;
    padding-top: 3rem;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

body.nav-open .mobile-nav-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.nav-footer-text {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

.nav-footer-link {
    font-size: 1.1rem;
    color: var(--text-pure);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-footer-link:hover {
    color: var(--accent);
}

/* ── SECTION 4: PIPELINE AUDIT (CTA) ── */
.cta-section {
    background-color: var(--bg-deepest);
    padding: 12rem var(--page-margin) 10rem;
    position: relative;
    z-index: 20;
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
    margin-top: -40px;
    box-shadow: 0 -40px 100px rgba(0,0,0,0.5);
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-pure);
    margin-bottom: 3.5rem;
}

.cta-title span {
    display: block;
    color: rgba(255, 255, 255, 0.4);
}

.cta-desc {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 620px;
    margin-bottom: 1.5rem;
}

.btn-massive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.25rem 3rem;
    background: var(--text-pure);
    color: var(--bg-dark);
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing), background 0.4s ease;
}

.btn-massive:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.15);
}

.btn-massive svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s var(--easing);
}

.btn-massive:hover svg {
    transform: translateX(6px);
}

/* ── STRUCTURAL MEGA FOOTER ── */
.site-footer {
    background-color: var(--bg-deepest);
    color: var(--text-pure);
    padding: 0 var(--page-margin) 3rem;
    position: relative;
    z-index: 20;
}

.footer-divider {
    max-width: var(--max-width);
    margin: 0 auto 6rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 4fr 2fr 2fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto 7rem;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .footer-logo {
    height: 22px;
    margin-bottom: 2rem;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    font-weight: 400;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 1.05rem;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-massive-row {
    max-width: var(--max-width);
    margin: 0 auto 4rem;
    display: flex;
}

.massive-email {
    font-size: clamp(3rem, 10vw, 11rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    color: var(--text-pure);
    text-decoration: none;
    line-height: 0.9;
    transition: color 0.4s var(--easing);
    margin-left: -0.05em;
}

.massive-email:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-meta-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-clock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clock-separator {
    color: rgba(255,255,255,0.2);
}

.footer-clock .time {
    font-variant-numeric: tabular-nums;
    color: var(--text-pure);
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.footer-legal a:first-child {
    margin-left: 0;
}

.footer-legal a:hover {
    color: var(--text-pure);
}

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
    .editorial-grid { grid-template-columns: 1fr; gap: 4rem; }
    .editorial-sticky { position: relative; top: 0; }
    .editorial-scroll { gap: 5rem; }
    .editorial-section { padding: 8rem var(--page-margin) 6rem; border-top-left-radius: 32px; border-top-right-radius: 32px; }
    .thesis-block { margin-bottom: 7rem; }
    .project-card { position: relative; grid-template-columns: 1fr; height: auto; top: 0 !important; margin-bottom: 2rem; }
    .card-info { padding: 3rem 2rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .card-visual { height: 280px; }
    .project-title-lg { font-size: 2.2rem; }

    .cta-section { padding: 10rem var(--page-margin) 9rem; border-top-left-radius: 32px; border-top-right-radius: 32px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 5rem; }
}

@media (max-width: 768px) {
    :root {
        --page-margin: 5vw;
        --shell-gap: 12px;
        --header-height: 100px;
    }

    .cinematic-viewport { border-radius: 28px; }

    .cinematic-track { height: 140vh; }
    .hero-sub { font-size: 1rem; max-width: 100%; }
    .cta-group { flex-direction: column; width: 100%; max-width: 340px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .editorial-section { border-top-left-radius: 28px; border-top-right-radius: 28px; padding: 6rem var(--page-margin) 5rem; }
    .thesis-block { margin-bottom: 5rem; }
    .thesis-text { font-size: clamp(1.8rem, 5.5vw, 2.8rem); }
    .thesis-body { font-size: 1rem; margin-top: 2rem; }
    .cta-desc { font-size: 1rem; }
    .scroll-indicator { display: none; }
    .work-section { padding: 6rem var(--page-margin) 7rem; }
    .work-intro { margin-bottom: 4rem; }
    .work-intro h2 { font-size: clamp(2rem, 5vw, 3rem); }
    .editorial-scroll { gap: 4rem; }
    .pillar-title { font-size: 1.8rem; }
    .pillar-desc { font-size: 1rem; }
    .sticky-desc { font-size: 1rem; }
    .project-stats { gap: 1.5rem; }
    .stat-group strong { font-size: 1.4rem; }

    .h-layer .header-nav { display: none; }
    .hamburger { display: flex; }

    .h-layer--light { display: none; }

    .site-header {
        transition: background 0.5s ease, box-shadow 0.5s ease;
    }
    .site-header::after {
        content: '';
        position: absolute;
        left: 0; bottom: 0; right: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(45, 212, 191, 0.15) 15%,
            rgba(45, 212, 191, 0.35) 50%,
            rgba(45, 212, 191, 0.15) 85%,
            transparent 100%
        );
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
    }
    .site-header.is-scrolled {
        background:
            radial-gradient(ellipse 90% 160% at 50% -10%, rgba(3, 58, 44, 0.5) 0%, transparent 60%),
            rgba(1, 10, 9, 0.88);
        backdrop-filter: blur(32px) saturate(200%);
        -webkit-backdrop-filter: blur(32px) saturate(200%);
        box-shadow:
            0 16px 48px -12px rgba(0, 0, 0, 0.6),
            0 1px 0 rgba(255, 255, 255, 0.04);
    }
    .site-header.is-scrolled::after {
        opacity: 1;
    }

    .cta-section { padding: 8rem var(--page-margin) 7rem; border-top-left-radius: 28px; border-top-right-radius: 28px; }

    .footer-divider { margin-bottom: 4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 3.5rem; margin-bottom: 4rem; }
    .footer-massive-row { margin-bottom: 3rem; }
    .massive-email { font-size: clamp(2.5rem, 12vw, 5rem); word-break: break-word; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .footer-meta-group { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-legal a { margin-left: 0; margin-right: 2rem; }
}

@media (max-width: 480px) {
    :root {
        --shell-gap: 8px;
    }

    .cinematic-viewport { border-radius: 20px; }

    .hero-title { font-size: 6.5vw; }
    .hero-sub { font-size: 0.95rem; }
    .editorial-section { border-top-left-radius: 20px; border-top-right-radius: 20px; padding: 5rem var(--page-margin) 4rem; }
    .thesis-text { font-size: clamp(1.4rem, 6vw, 2rem); }
    .pillar-title { font-size: 1.5rem; }
    .pillar-desc { font-size: 0.95rem; }
    .sticky-desc { font-size: 0.95rem; }
    .work-section { padding: 5rem var(--page-margin) 5rem; }
    .work-intro h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    .card-info { padding: 2.5rem 1.5rem; }
    .card-visual { height: 220px; }
    .project-title-lg { font-size: 1.8rem; }
    .project-desc-lg { font-size: 1rem; }

    .btn-massive { width: 100%; padding: 1.25rem 2rem; font-size: 1rem; }
}
