/* =========================================================
   LUXESTUDIO â€” PRODUCTION DESIGN SYSTEM
   Editorial Digital Studio
   ========================================================= */

:root {
    --bg: #f3f1ec;
    --bg-alt: #eae7e0;
    --ink: #111111;
    --ink-light: #4c4a45;
    --muted: #797771;
    --line: rgba(17, 17, 17, 0.12);
    --line-strong: rgba(17, 17, 17, 0.25);

    --accent: #ff4522;
    --accent-glow: rgba(255, 69, 34, 0.2);
    --accent-dark: #d93313;

    --white: #faf9f6;
    --black: #0c0c0c;
    --black-card: #151515;
    --black-line: rgba(255, 255, 255, 0.12);
    --black-muted: #888886;

    --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "DM Mono", "SF Mono", Consolas, Menlo, monospace;

    --pad: clamp(20px, 3.5vw, 56px);
    --radius-sm: 4px;
    --radius-md: 14px;
    --radius-lg: 24px;

    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-display);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
    transition: background-color 0.8s ease;
}

/* Ambient Dynamic Mood Glow Layer */
.ambient-mood-glow {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 75% 25%, rgba(255, 230, 215, 0.65) 0%, transparent 65%);
    transition: background 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: background;
}

/* Page Contents */
.nav,
.hero,
.ethos-story,
.marquee,
.services,
.story,
.work-horizontal-section,
.facts,
.process,
.studio,
.contact,
.footer {
    position: relative;
    z-index: 2;
}

/* Accessibility: Skip Link */
.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    background: var(--ink);
    color: var(--white);
    padding: 12px 24px;
    z-index: 10001;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 20px;
    outline: 2px solid var(--accent);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

button {
    border: none;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

img,
picture,
video {
    max-width: 100%;
    display: block;
    height: auto;
}

/* =========================================================
   LUXESTUDIO PRECISION CUSTOM CURSOR
   ========================================================= */

/* 1. Remove Default Cursor on Desktop Pointer Devices Only */
@media (hover: hover) and (pointer: fine) {

    html,
    body,
    *,
    *::before,
    *::after {
        cursor: none !important;
    }
}

/* Touch devices & Coarse pointers — completely disable custom cursor */
@media (hover: none),
(pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    html,
    body,
    a,
    button,
    input,
    textarea,
    select {
        cursor: auto !important;
    }
}

/* 2. Cursor Positioning & Layering (Zero Interaction Interception) */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none !important;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform;
}

.cursor-dot {
    z-index: 100001;
}

/* Layer 1 — Precision Dot (5px LuxeStudio orange center point) */
.cursor-dot-inner {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FF4A2F;
    transform: translate(-50%, -50%);
    pointer-events: none !important;
    transition: background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, background-color;
}

/* Layer 2 — Outer Ring (30px diameter, 1px subtle outline) */
.cursor-ring-inner {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(17, 17, 17, 0.30);
    box-sizing: border-box;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.30s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease;
    will-change: transform, border-color, opacity;
}

/* Micro Arrow inside ring for CTA / Projects */
.cursor-arrow {
    position: absolute;
    top: 3px;
    right: 4px;
    font-family: 'DM Mono', monospace;
    font-size: 8px;
    line-height: 1;
    color: #FF4A2F;
    opacity: 0;
    pointer-events: none !important;
    transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
}

/* 4. Idle State — reduced outer ring opacity after 1.2–1.5s stop */
.cursor-ring.cursor-idle .cursor-ring-inner {
    opacity: 0.35;
}

/* 9. Dark Section Behavior (Visible on black backgrounds) */
.cursor-dot.cursor-theme-dark .cursor-dot-inner {
    background: #FF4A2F !important;
}

.cursor-ring.cursor-theme-dark .cursor-ring-inner {
    border-color: rgba(255, 255, 255, 0.55);
}

.cursor-ring.cursor-theme-dark .cursor-arrow {
    color: #FF4A2F;
}

/* 5 & 7. Link / Navigation Hover */
.cursor-dot.active .cursor-dot-inner {
    background: #FF4A2F !important;
    transform: translate(-50%, -50%) scale(1.15);
}

.cursor-ring.active .cursor-ring-inner {
    transform: translate(-50%, -50%) scale(1.55);
    border-color: rgba(17, 17, 17, 0.48);
}

.cursor-ring.cursor-theme-dark.active .cursor-ring-inner {
    border-color: rgba(255, 255, 255, 0.75);
}

/* 6. CTA Hover (Start Your Project, START YOUR PROJECT, etc.) */
.cursor-dot.state-cta .cursor-dot-inner {
    background: #FF4A2F !important;
    transform: translate(-50%, -50%) scale(1.2);
}

.cursor-ring.state-cta .cursor-ring-inner {
    transform: translate(-50%, -50%) scale(1.65);
    border-color: #FF4A2F !important;
    background: rgba(255, 74, 47, 0.06);
}

.cursor-ring.cursor-theme-dark.state-cta .cursor-ring-inner {
    border-color: #FF4A2F !important;
    background: rgba(255, 74, 47, 0.12);
}

.cursor-ring.state-cta .cursor-arrow {
    opacity: 1;
}

/* 8. Project / Work Cards Hover */
.cursor-dot.state-project .cursor-dot-inner {
    background: #FF4A2F !important;
    transform: translate(-50%, -50%) scale(1.2);
}

.cursor-ring.state-project .cursor-ring-inner {
    transform: translate(-50%, -50%) scale(1.55);
    border-color: rgba(17, 17, 17, 0.52);
}

.cursor-ring.cursor-theme-dark.state-project .cursor-ring-inner {
    border-color: rgba(255, 255, 255, 0.75);
}

.cursor-ring.state-project .cursor-arrow {
    opacity: 1;
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {

    .cursor-dot,
    .cursor-ring,
    .cursor-dot-inner,
    .cursor-ring-inner {
        transition: none !important;
    }
}

/* Suppress cursor until initial user movement and page ready */
body:not(.loaded) .cursor-dot,
body:not(.loaded) .cursor-ring {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================================
   LUXESTUDIO PREMIUM BRAND INTRO LOADER
   ========================================================= */

html.is-loading,
html.is-loading body {
    overflow: hidden !important;
    height: 100vh !important;
}

.loader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background: #0B0B0B;
    color: #F5F3EE;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
    pointer-events: auto;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Warm paper expansion veil (#F5F3EE) that constructs the website background */
.loader-paper-veil {
    position: absolute;
    inset: 0;
    background: #F5F3EE;
    clip-path: inset(50% 50% 50% 50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    will-change: clip-path, opacity;
}

.loader-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Wordmark styling — matches LuxeStudio logo typography */
.loader-wordmark {
    font-family: var(--font-display);
    font-size: clamp(34px, 6vw, 52px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #FAF8F5;
    opacity: 0;
    transform: translateY(10px);
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    will-change: transform, opacity;
}

.loader-wordmark span:first-child {
    font-weight: 800;
}

.loader-wordmark .logo-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #FF4A2F;
    border-radius: 50%;
    margin-left: 3px;
    align-self: center;
}

/* Thin Orange Horizontal Line */
.loader-line-track {
    width: clamp(84px, 14vw, 114px);
    height: 1.5px;
    margin: clamp(14px, 2.2vh, 20px) auto clamp(12px, 2vh, 18px);
    position: relative;
    overflow: visible;
}

.loader-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #FF4A2F;
    border-radius: 1px;
    will-change: width, left, opacity;
}

/* Editorial Tagline Lockup */
.loader-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.loader-tagline .lt-line {
    font-family: var(--font-mono);
    font-size: clamp(9px, 1.3vw, 10.5px);
    font-weight: 500;
    letter-spacing: 0.22em;
    color: rgba(245, 243, 238, 0.55);
    text-transform: uppercase;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(6px);
    will-change: transform, opacity;
}

/* Loader dismissed state */
.loader.dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
}

/* Accessibility: Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease !important;
    }

    .loader-wordmark,
    .loader-line,
    .loader-tagline .lt-line {
        opacity: 1 !important;
        transform: none !important;
    }

    .loader-line {
        width: 100% !important;
    }
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 76px !important;
    z-index: 10000 !important;
    padding: 0 var(--pad) !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    background: rgba(247, 245, 239, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 280ms ease,
        backdrop-filter 280ms ease,
        border-bottom-color 280ms ease;
}

body.loaded .nav {
    opacity: 1;
    transform: translateY(0);
}

.nav.scrolled {
    background: rgba(247, 245, 239, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
    padding: 0 var(--pad) !important;
    height: 76px !important;
}

.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.06em;
    z-index: 1002;
}

.logo span {
    font-weight: 300;
    letter-spacing: -0.04em;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

/* =========================================================
   NAVBAR CONTROLS: UNIFIED 44PX COMPONENT SYSTEM
   ========================================================= */

/* Strictly hide menu toggle on desktop */
.menu-toggle {
    display: none !important;
}

/* Highlighted Action Button (Black Pill CTA at right end) */
.nav-cta-pill,
.nav-center-pill,
.nav-cta-pill.magnetic,
.nav-center-pill.magnetic {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    box-sizing: border-box !important;
    background: #111111 !important;
    border: 1px solid #111111 !important;
    border-radius: 999px !important;
    font-family: var(--font-mono) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.10em !important;
    color: #F7F5F0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    user-select: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    padding: 0 20px !important;
    gap: 8px !important;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.16) !important;
    transition: background-color 260ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 260ms cubic-bezier(0.16, 1, 0.3, 1),
        color 260ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 260ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-cta-pill .nav-pill-text,
.nav-center-pill .nav-pill-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(0.5px);
}

.nav-cta-pill .nav-pill-arrow,
.nav-center-pill .nav-pill-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--accent) !important;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
        color 260ms cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
}

/* Hover: subtle lift, deeper contrast, vibrant orange glow */
.nav-cta-pill:hover,
.nav-center-pill:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 74, 47, 0.35) !important;
    transform: translateY(-1px) !important;
}

.nav-cta-pill:hover .nav-pill-arrow,
.nav-center-pill:hover .nav-pill-arrow {
    transform: translate(3px, -3px) !important;
    color: #FF4A2F !important;
}

.nav-cta-pill:active,
.nav-center-pill:active {
    background-color: #000000 !important;
    transform: translateY(1px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.nav-cta-pill:focus-visible,
.nav-center-pill:focus-visible {
    outline: 2px solid var(--accent) !important;
    outline-offset: 2px !important;
}

.nav-links {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.4vw, 36px);
    margin: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-link {
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.35s var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

/* =========================================================
   HERO 
   ========================================================= */

/* ── Base ── */
.hero {
    position: relative;
    min-height: 100svh;
    background-color: #F5F3EE;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(100px, 12vh, 140px) var(--pad) clamp(80px, 10vh, 110px);
    overflow: hidden;
    box-sizing: border-box;
}

/* Warm paper texture overlay */
.hero-texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ── Hero Actions & CTA (Inside hero-content, leaves naturally on scroll) ── */
.hero-actions {
    margin-top: clamp(28px, 4vh, 44px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-cta,
.hero-fixed-cta {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 26px;
    background: #111111;
    color: #F3F0E9;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid #111111;
    box-shadow: 0 4px 20px rgba(17, 17, 17, 0.18);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease 0.6s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s,
        background-color 260ms ease,
        box-shadow 260ms ease;
    cursor: pointer;
    pointer-events: auto;
}

body.loaded .hero-cta,
body.loaded .hero-fixed-cta {
    opacity: 1;
    transform: translateY(0);
}

.hero-cta .cta-label,
.hero-fixed-cta .cta-label {
    display: inline-block;
}

.hero-cta .cta-arrow,
.hero-fixed-cta .cta-arrow {
    display: inline-block;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-cta:hover,
.hero-fixed-cta:hover {
    background-color: #1f1f1f;
    border-color: #2c2c2c;
    color: #FAF8F4;
    box-shadow: 0 8px 26px rgba(17, 17, 17, 0.28);
}

.hero-cta:hover .cta-arrow,
.hero-fixed-cta:hover .cta-arrow {
    transform: translate(5px, -3px);
}

/* ── Hero Inner ── */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

/* Content column: max width preserves generous whitespace for desktop visual */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: min(920px, 65vw);
}

/* ── Hero Composition Grid: Headline + Kinetic Instrument ── */
.hero-composition {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 320px);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    width: 100%;
}

/* ── LEFT: Headline ── */
.hero-head {
    position: relative;
    z-index: 11;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(54px, 7.2vw, 116px);
    font-weight: 800;
    line-height: 0.90;
    letter-spacing: -0.055em;
    margin: 0;
    padding: 0;
    display: block;
    color: #111111;
}

/* Each headline line: clip container for entrance animation */
.hero-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
    /* prevents descender clip */
}

.hl-inner {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Staggered entrance delays */
.hl-1 .hl-inner {
    transition-delay: 0.08s;
}

.hl-2 .hl-inner {
    transition-delay: 0.22s;
}

body.loaded .hl-inner {
    opacity: 1;
    transform: translateY(0);
}

/* ── Line 3: Morphing Word Stage ── */
.hl-3 {
    display: block;
    overflow: visible;
    /* canvas bleeds outside */
    padding-bottom: 0;
}

/* Inline-grid: sizer holds space, word + canvas overlay it */
.hero-word-stage {
    display: inline-grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
    vertical-align: top;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
    will-change: transform, opacity;
}

body.loaded .hero-word-stage {
    opacity: 1;
    transform: translateY(0);
}

/* Invisible sizer — always EXPERIENCES. (longest word) */
.hero-word-sizer {
    grid-area: 1 / 1;
    visibility: hidden;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    color: transparent;
}

/* Visible changing word — overlaid on sizer */
.hero-word {
    grid-area: 1 / 1;
    color: #FF4A2F;
    white-space: nowrap;
    line-height: inherit;
    letter-spacing: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    position: relative;
    z-index: 2;
}

.hero-letter {
    display: inline-block;
    position: relative;
    will-change: transform, opacity, filter, clip-path;
}

/* Ash particle canvas — absolute, bleeds outside stage */
.hero-ash-canvas {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    top: 0;
    left: 0;
}

/* ── Supporting Copy: directly beneath headline ── */
.hero-sub {
    margin-top: clamp(24px, 3.5vw, 40px);
    max-width: 480px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.48s,
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.48s;
    will-change: transform, opacity;
}

body.loaded .hero-sub {
    opacity: 1;
    transform: translateY(0);
}

.hero-desc {
    font-family: var(--font-mono);
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: rgba(17, 17, 17, 0.65);
    margin: 0;
    user-select: text;
}

/* ── RIGHT: Desktop Architectural Visual (Absolute, pointer-events: none) ── */
.hero-visual-desktop,
.hero-instrument {
    position: absolute;
    right: clamp(36px, 5.5vw, 90px);
    top: 50%;
    transform: translateY(-48%);
    width: 300px;
    max-width: 26vw;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.9s ease 0.50s;
    user-select: none;
    pointer-events: none !important;
}

body.loaded .hero-visual-desktop,
body.loaded .hero-instrument {
    opacity: 1;
}

/* ── Mobile Minimal Abstract Construction Mark (Desktop hidden) ── */
.hero-visual-mobile {
    display: none;
    pointer-events: none !important;
}

/* Ensure all visual children never intercept pointer events */
.hero-visual-desktop *,
.hero-visual-mobile *,
.hero-instrument *,
.instrument-svg,
.mobile-mark-svg,
.hero-ash-canvas {
    pointer-events: none !important;
}

/* Studio signature tagline inside instrument */
.hero-sig-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    margin-bottom: 16px;
    user-select: none;
}

.hst-accent {
    width: 0;
    height: 1.5px;
    background: #FF4A2F;
    border-radius: 1px;
    margin-bottom: 4px;
    opacity: 0.85;
    align-self: flex-end;
    transition: width 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

body.loaded .hst-accent {
    width: 24px;
}

.hst-line {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.35;
    color: rgba(17, 17, 17, 0.44);
    text-transform: uppercase;
    text-align: right;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.7s ease 0.85s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.85s;
}

body.loaded .hst-line {
    opacity: 1;
    transform: translateY(0);
}

/* Kinetic SVG instrument diagram */
.instrument-svg {
    width: 100%;
    height: auto;
    max-height: 380px;
    display: block;
    overflow: visible;
}

.instr-layer {
    will-change: transform;
}

.instr-seg {
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.5s ease, stroke-width 0.5s ease;
}

.instr-seg.active {
    stroke: rgba(255, 74, 47, 0.85) !important;
    stroke-width: 1.35px !important;
}

.instr-seg.near-active {
    stroke: rgba(17, 17, 17, 0.44) !important;
    stroke-width: 1.15px !important;
}

.instr-label {
    font-family: var(--font-mono);
    font-size: 7.8px;
    letter-spacing: 0.20em;
    fill: #111111;
    opacity: 0.35;
    font-weight: 500;
    transition: fill 0.6s ease, opacity 0.6s ease;
    user-select: none;
}

.instr-label.active {
    opacity: 0.75 !important;
    font-weight: 600;
}

.instr-label-dot {
    fill: #FF4A2F;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.instr-label-dot.active {
    opacity: 0.95;
}

/* Orange moving point + soft halo + ring */
.instr-dot-halo {
    fill: #FF4A2F;
    opacity: 0.14;
    transform-origin: center;
    transform-box: fill-box;
    animation: dotHaloPulse 2.8s ease-in-out infinite;
}

@keyframes dotHaloPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.14;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.24;
    }
}

.instr-dot-ring {
    stroke: #FF4A2F;
    stroke-width: 0.9px;
    opacity: 0.50;
    transform-origin: center;
    transition: cx 0.25s linear, cy 0.25s linear;
}

.instr-dot {
    fill: #FF4A2F;
    opacity: 0.98;
    transition: cx 0.25s linear, cy 0.25s linear;
}

/* â”€â”€ Sub-row: Description â”€â”€ */
.hero-sub {
    margin-top: clamp(28px, 4vh, 44px);
    position: relative;
    z-index: 11;
}

.hero-desc {
    font-family: var(--font-sans);
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.46;
    letter-spacing: -0.012em;
    color: #6B655E;
    max-width: 500px;
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.85s ease 0.38s,
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
}

body.loaded .hero-desc {
    opacity: 1;
    transform: translateY(0);
}

.hero-desc-br {
    display: none;
}

/* â”€â”€ Scroll Indicator â”€â”€ */
.hero-scroll {
    position: absolute;
    bottom: clamp(24px, 3.5vh, 40px);
    left: var(--pad);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 12;
    opacity: 0;
    transition: opacity 0.7s ease 1.1s;
}

body.loaded .hero-scroll {
    opacity: 1;
}

.hero-scroll-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9A948C;
    font-weight: 500;
}

.hero-scroll-track {
    display: block;
    width: 36px;
    height: 1px;
    background: rgba(17, 17, 17, 0.14);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.hero-scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #FF4A2F;
    border-radius: 1px;
    transform: translateX(-100%);
    animation: heroScrollTrack 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes heroScrollTrack {
    0% {
        transform: translateX(-100%);
    }

    45% {
        transform: translateX(0%);
    }

    55% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {

    .hl-inner,
    .hero-desc,
    .hero-instrument,
    .hero-fixed-cta,
    .hero-scroll,
    .hero-scroll-thumb,
    .instr-seg,
    .instr-label,
    .instr-dot,
    .instr-dot-ring {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── Responsive: 1200px ── */
@media (max-width: 1200px) {
    .hero-composition {
        gap: clamp(24px, 3.5vw, 48px);
    }

    .hero-instrument {
        max-width: 270px;
    }
}

/* ── Responsive: 860px (tablet) ── */
@media (max-width: 860px) {
    .hero-content {
        max-width: 100%;
    }

    .hero-visual-desktop {
        right: 28px;
        max-width: 28vw;
    }
}

/* ── Responsive: 768px (Mobile Art-Directed Composition) ── */
@media (max-width: 768px) {

    /* Navbar: LUXESTUDIO on left, [+] on right — no center pill */
    .nav {
        height: 66px !important;
        padding: 0 22px !important;
    }

    .nav-center-pill,
    .nav-cta-pill {
        display: none !important;
    }

    /* ── Hero: 100dvh. Clean top gap. SCROLL anchored to bottom. ── */
    .hero {
        height: 100svh;
        height: 100dvh;
        min-height: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        /* Navbar (66px) + editorial gap (44px) = 110px before headline */
        padding-top: calc(66px + 44px + env(safe-area-inset-top, 0px));
        padding-left: 22px;
        padding-right: 22px;
        padding-bottom: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* ── Hero Inner: grows to fill space above SCROLL ── */
    .hero-inner {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        position: relative;
        z-index: 2;
        flex: 1 1 auto;
        min-height: 0;
    }

    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex: 0 0 auto;
        /* does NOT stretch — content takes natural height */
    }

    /* ── Headline ── */
    .hero-head {
        width: 100%;
        flex: 0 0 auto;
    }

    .hero-title {
        font-size: clamp(3.1rem, 13vw, 4.2rem);
        font-weight: 800;
        line-height: 0.87;
        letter-spacing: -0.053em;
        margin: 0;
        color: #111111;
    }

    .hero-line {
        display: block;
    }

    /* hl-3 is the rotating word line — no extra margin, it flows with same line-height */
    .hero-line.hl-3 {
        margin-top: 0;
    }

    /* ── Rotating word: SAME scale as headline for visual coherence ── */
    .hero-word-stage {
        display: inline-grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        font-size: clamp(3.1rem, 13vw, 4.2rem);
        line-height: 0.87;
        letter-spacing: -0.053em;
        vertical-align: top;
        max-width: 100%;
    }

    .hero-word-sizer,
    .hero-word {
        grid-area: 1 / 1;
        white-space: nowrap;
        font-size: inherit;
        line-height: inherit;
        letter-spacing: inherit;
        font-family: inherit;
        font-weight: inherit;
    }

    .hero-word {
        color: #FF4A2F;
    }

    /* Hide desktop right-side architectural visual */
    .hero-visual-desktop,
    .hero-instrument {
        display: none !important;
    }

    /* ── Description: 20px below headline ── */
    .hero-sub {
        margin-top: 20px;
        margin-bottom: 0;
        width: 100%;
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
    }

    .hero-desc {
        font-family: var(--font-display);
        font-size: clamp(16px, 4.2vw, 18px);
        font-weight: 400;
        line-height: 1.42;
        letter-spacing: -0.012em;
        color: rgba(17, 17, 17, 0.68);
        margin: 0;
    }

    .hero-desc-br {
        display: none;
    }

    /* ── Mobile Diagram Zone: Tagline + SVG (30px below description) ── */
    .hero-visual-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        margin-top: 30px;
        margin-bottom: 0;
        position: relative;
        z-index: 3;
        pointer-events: none;
        user-select: none;
        flex: 0 0 auto;
    }

    /* Tagline row */
    .mobile-diag-sig {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 auto 16px auto;
        pointer-events: none;
        flex: 0 0 auto;
    }

    .mds-accent {
        display: inline-block;
        width: 16px;
        height: 1.5px;
        background: #FF4A2F;
        border-radius: 1px;
        flex-shrink: 0;
    }

    .mds-text {
        font-family: var(--font-mono);
        font-size: 9.5px;
        font-weight: 500;
        letter-spacing: 0.18em;
        color: rgba(17, 17, 17, 0.48);
        text-transform: uppercase;
        line-height: 1;
    }

    /* Diagram SVG — large, nearly full width, centered */
    .mobile-mark-svg {
        width: clamp(260px, 78vw, 340px);
        height: auto;
        aspect-ratio: 200 / 150;
        margin: 0 auto;
        display: block;
        pointer-events: none;
        overflow: visible;
        flex: 0 0 auto;
    }

    .mobile-diag-label {
        transition: fill 0.6s ease, opacity 0.6s ease;
    }

    .mobile-diag-label.active {
        fill: #FF4A2F;
        opacity: 0.95;
        font-weight: 600;
    }

    /* ── CTA Button: 30px below diagram ── */
    .hero-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
        margin-bottom: 0;
        position: relative;
        z-index: 10;
        flex: 0 0 auto;
    }

    .hero-cta {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: calc(100% - 44px);
        max-width: 360px;
        height: 56px;
        padding: 0 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        margin: 0 auto;
        border-radius: 9px;
        background: #111111;
        color: #FFFFFF;
        border: 1px solid #111111;
        font-family: var(--font-mono);
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        text-decoration: none;
        box-shadow: 0 4px 18px rgba(17, 17, 17, 0.12);
        z-index: 10;
        pointer-events: auto;
        cursor: pointer;
        transition: background-color 250ms ease, transform 250ms ease;
    }

    .hero-cta:hover,
    .hero-cta:active {
        background-color: #050505;
        transform: scale(0.99);
    }

    .hero-cta .cta-label {
        display: inline-block;
    }

    .hero-cta .cta-arrow {
        display: inline-block;
        font-size: 14px;
        line-height: 1;
        transition: transform 250ms ease;
    }

    .hero-cta:hover .cta-arrow,
    .hero-cta:active .cta-arrow {
        transform: translate(2px, -2px);
    }

    /* ── Scroll: sits outside hero-inner, margin-top:auto pins it to very bottom ── */
    .hero-scroll {
        display: flex;
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        align-self: center;
        flex-shrink: 0;
        flex-grow: 0;
        margin-top: auto;
        margin-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        gap: 8px;
        z-index: 5;
        opacity: 0.35;
        pointer-events: none;
        user-select: none;
    }

    .hero-scroll-label {
        font-family: var(--font-mono);
        font-size: 8px;
        letter-spacing: 0.18em;
        color: #111111;
        font-weight: 500;
    }

    .hero-scroll-track {
        width: 24px;
        height: 1px;
        background: rgba(17, 17, 17, 0.22);
        position: relative;
        overflow: hidden;
    }

    .hero-scroll-thumb {
        display: block;
        width: 100%;
        height: 100%;
        background: #FF4A2F;
        transform: translateX(-100%);
        animation: heroScrollTrack 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    }
}

/* ── Short mobile screens (<= 750px height): tighten spacing further ── */
@media (max-width: 768px) and (max-height: 750px) {
    .hero {
        /* Less breathing room on short devices */
        padding-top: calc(64px + clamp(40px, 8vh, 72px) + env(safe-area-inset-top, 0px));
    }

    .hero-title {
        font-size: clamp(2.7rem, 12vw, 3.4rem);
    }

    .hero-word-stage {
        font-size: clamp(2.7rem, 12vw, 3.4rem);
    }

    .hero-sub {
        margin-top: 12px;
    }

    .hero-desc {
        font-size: 15px;
        line-height: 1.36;
    }

    .hero-visual-mobile {
        margin-top: 18px;
    }

    .mobile-diag-sig {
        margin-bottom: 10px;
    }

    .mobile-mark-svg {
        width: clamp(175px, 46vw, 205px);
    }

    .hero-actions {
        margin-top: 18px;
    }

    .hero-cta {
        height: 50px;
    }

    /* hero-scroll keeps margin-top: auto (inherited) to stay pinned to bottom */
}


/* =========================================================
   COMMON SECTION STYLING
   ========================================================= */


.section {
    padding: clamp(72px, 8vh, 108px) var(--pad);
    position: relative;
}

.section-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: clamp(40px, 5vw, 65px);
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}

/* =========================================================
   SECTION 2 — ETHOS: SCROLL-DRIVEN EDITORIAL STORYTELLING
   ========================================================= */

.ethos-story {
    position: relative;
    min-height: 220vh;
    padding: 0;
    background: var(--bg);
}

.ethos-pinned-stage {
    height: 100vh;
    width: 100%;
    position: relative;
    padding: clamp(32px, 4.5vh, 48px) var(--pad) clamp(36px, 5vh, 52px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    z-index: 10;
}

.ethos-top-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}

.ethos-narrative-container {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: auto 0;
    position: relative;
    padding: clamp(16px, 2.5vh, 32px) 0;
}

.ethos-statement {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.4vh, 18px);
    font-size: clamp(32px, 4.8vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 500;
    color: var(--ink);
    word-break: normal;
}

.ethos-line {
    position: relative;
    display: block;
    line-height: 0.98;
    min-height: 1.05em;
}

.ethos-stem {
    color: var(--ink);
    font-weight: 600;
}

.ethos-line-slot {
    position: relative;
    will-change: transform, opacity;
}

.cut-word-container {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    min-height: 1.05em;
}

/* Negative Word: Layered with Dual-Clip Halves */
.cut-negative {
    position: relative;
    display: inline-block;
    color: #8c8981;
    font-weight: 400;
    vertical-align: baseline;
}

.cut-half {
    display: block;
    will-change: transform, opacity;
}

/* Top half cleanly sheared above incision */
.half-top {
    clip-path: polygon(0 0, 100% 0, 100% 48%, 0 52%);
    transform-origin: top left;
}

/* Bottom half cleanly sheared below incision */
.half-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 52%, 100% 48%, 100% 100%, 0 100%);
    transform-origin: bottom right;
}

/* Precision Incision Orange Razor Blade */
.cut-blade {
    position: absolute;
    top: 52%;
    left: -4%;
    width: 108%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(255, 69, 34, 0.75);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
    pointer-events: none;
    z-index: 5;
    will-change: transform, opacity;
}

/* Positive Word Emerging Behind Cut */
.cut-positive {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(14px);
    will-change: transform, opacity;
    pointer-events: none;
}

.pos-lead {
    color: var(--ink);
    font-weight: 500;
    margin-right: 0.22em;
}

.pos-accent {
    color: var(--accent);
    font-weight: 600;
}

/* Lower Region Supporting Copy */
.ethos-bottom-region {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.ethos-copy-col {
    grid-column: 2;
    max-width: 480px;
}

.ethos-supporting-copy {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    letter-spacing: -0.012em;
    color: var(--ink-light);
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    will-change: transform, opacity;
}

/* Horizon Razor Line Transitioning into Next Section */
.ethos-horizon-blade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

.horizon-blade-line {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(255, 69, 34, 0.6);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .ethos-story {
        min-height: auto !important;
    }

    .ethos-pinned-stage {
        position: relative !important;
        height: auto !important;
    }

    .cut-negative,
    .cut-blade {
        display: none !important;
    }

    .cut-positive {
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .ethos-supporting-copy {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================================
   MARQUEE TRANSITION STRIP
   ========================================================= */

.marquee {
    position: relative;
    width: 100%;
    height: clamp(96px, 7.8vw, 126px);
    /* Orange hairline above â€” part of the LuxeStudio system */
    border-top: 1px solid var(--accent);
    /* Ghost bottom line â€” enough to signal the boundary, not enough to box it in */
    border-bottom: 1px solid rgba(17, 17, 17, 0.07);
    overflow: hidden;
    white-space: nowrap;
    background: var(--bg);
    user-select: none;
    display: flex;
    align-items: center;
    contain: paint;
    box-sizing: border-box;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    pointer-events: none;
}

.marquee-group {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(40px, 4.4vw, 66px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-dot {
    display: inline-block;
    width: clamp(6px, 0.45vw, 8px);
    height: clamp(6px, 0.45vw, 8px);
    border-radius: 50%;
    background: var(--accent);
    margin: 0 clamp(28px, 2.8vw, 48px);
    flex-shrink: 0;
    position: relative;
    top: 0.04em;
}

@media (max-width: 768px) {
    .marquee {
        height: clamp(70px, 11vw, 88px);
    }

    .marquee-item {
        font-size: clamp(24px, 6.4vw, 34px);
        font-weight: 500;
    }

    .marquee-dot {
        width: 5px;
        height: 5px;
        margin: 0 clamp(14px, 3.8vw, 20px);
    }
}

/* =========================================================
   CAPABILITIES / SERVICES â€” INTERACTIVE SYSTEM
   ========================================================= */

.services-heading {
    font-size: clamp(48px, 8vw, 130px);
    line-height: 0.88;
    letter-spacing: -0.075em;
    margin-bottom: clamp(60px, 7vw, 100px);
    font-weight: 600;
}

.service-list {
    border-top: 1px solid var(--line);
}

/* Row base */
.service-item {
    border-bottom: 1px solid var(--line);
    padding: clamp(28px, 3.5vw, 44px) 0;
    display: grid;
    grid-template-columns: 72px 1fr 1.4fr 56px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 24px;
    position: relative;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

/* Mobile preview lives in row but hidden on desktop */
.service-mobile-preview {
    display: none;
}

/* Row hover bg â€” subtle warm shift */
.service-item:hover,
.service-item:focus-visible {
    background-color: rgba(17, 17, 17, 0.025);
}

/* Subtle left indent on hover */
.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item:hover::before,
.service-item:focus-visible::before {
    transform: scaleY(1);
}

/* Number */
.service-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
    transition: color 0.3s ease;
    padding-left: 12px;
    grid-column: 1;
    grid-row: 1;
}

.service-item:hover .service-num {
    color: var(--accent);
}

/* Title wrapper for translate animation */
.service-title-wrap {
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
}

.service-title {
    font-size: clamp(22px, 2.8vw, 42px);
    letter-spacing: -0.04em;
    font-weight: 500;
    line-height: 1;
    transform: translateX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.service-item:hover .service-title,
.service-item:focus-visible .service-title {
    transform: translateX(14px);
}

/* Description */
.service-desc {
    grid-column: 3;
    grid-row: 1;
    max-width: 440px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink-light);
    transform: translateX(0);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.service-item:hover .service-desc,
.service-item:focus-visible .service-desc {
    transform: translateX(8px);
    color: var(--ink);
}

/* CTA ring (right column) */
.service-cta {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
}

.service-cta-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(17, 17, 17, 0.2);
    transition: border-color 0.35s ease,
        background-color 0.35s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-cta-arrow {
    font-size: 16px;
    line-height: 1;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.service-item:hover .service-cta-ring,
.service-item:focus-visible .service-cta-ring {
    background-color: var(--ink);
    border-color: var(--ink);
}

.service-item:hover .service-cta-arrow,
.service-item:focus-visible .service-cta-arrow {
    transform: rotate(40deg);
    color: var(--bg);
}

/* =========================================================
   FLOATING CAPABILITY PREVIEW
   ========================================================= */

.cap-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 200px;
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    transform: translate(0, 0) scale(0.94);
    will-change: transform, opacity;
    border-radius: 4px;
    overflow: hidden;
}

.cap-preview-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--ink);
    border-radius: 4px;
    overflow: hidden;
}

/* Each panel stacks, only active is visible */
.cap-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cap-panel.is-active {
    opacity: 1;
}

/* â”€â”€ WEBSITES preview â”€â”€ */
.cp-websites {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.cpw-headline {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.06em;
    color: var(--white);
    line-height: 1;
    opacity: 0.92;
}

.cpw-accent {
    color: var(--accent);
}

.cpw-img-block {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 88px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    animation: cpwPulse 4s ease-in-out infinite;
}

@keyframes cpwPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.cpw-label {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-mono);
}

.cpw-url {
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--accent);
    font-family: var(--font-mono);
    margin-top: 2px;
}

/* â”€â”€ EXPERIENCES preview â”€â”€ */
.cp-experiences {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpe-layer {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.cpe-l1 {
    width: 120px;
    height: 120px;
    animation: cpeRotate 8s linear infinite;
}

.cpe-l2 {
    width: 72px;
    height: 72px;
    border-color: rgba(255, 69, 34, 0.35);
    animation: cpeRotate 5s linear infinite reverse;
}

@keyframes cpeRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cpe-text {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-mono);
    text-transform: uppercase;
    z-index: 1;
}

.cpe-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: cpeDot 4s ease-in-out infinite;
}

@keyframes cpeDot {
    0% {
        transform: translate(0, -34px);
    }

    25% {
        transform: translate(34px, 0);
    }

    50% {
        transform: translate(0, 34px);
    }

    75% {
        transform: translate(-34px, 0);
    }

    100% {
        transform: translate(0, -34px);
    }
}

/* â”€â”€ AUTOMATION preview â”€â”€ */
.cp-automation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.cpa-node {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    width: fit-content;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.cpa-node.active {
    color: var(--accent);
    border-color: rgba(255, 69, 34, 0.4);
    animation: cpaActive 2s ease-in-out infinite;
}

@keyframes cpaActive {

    0%,
    100% {
        border-color: rgba(255, 69, 34, 0.25);
    }

    50% {
        border-color: rgba(255, 69, 34, 0.65);
    }
}

.cpa-line {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
    margin-left: 16px;
}

/* â”€â”€ DEVELOPMENT preview â”€â”€ */
.cp-development {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cpd-block {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.cpd-key {
    color: var(--accent);
    width: 36px;
}

.cpd-sep {
    color: rgba(255, 255, 255, 0.2);
}

.cpd-val {
    color: rgba(255, 255, 255, 0.5);
}

.cpd-struct {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cpds-line {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    width: 100%;
    border-radius: 1px;
}

.cpds-line.short {
    width: 60%;
    background: rgba(255, 69, 34, 0.3);
}

/* â”€â”€ SYSTEMS preview â”€â”€ */
.cp-systems {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.cps-node {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    width: 72px;
    text-align: center;
}

.cps-node.accent {
    color: var(--accent);
    border-color: rgba(255, 69, 34, 0.35);
}

.cps-connector {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.12);
    margin-left: 36px;
}

/* =========================================================
   MOBILE â€” INLINE PREVIEW EXPANSION
   ========================================================= */

@media (max-width: 768px) {

    /* Hide the floating desktop preview on mobile */
    .cap-preview {
        display: none !important;
    }

    .service-item {
        grid-template-columns: 44px 1fr 36px;
        grid-template-rows: auto auto;
        gap: 0 12px;
        padding: clamp(22px, 4vw, 32px) 0;
    }

    .service-num {
        grid-column: 1;
        grid-row: 1;
        padding-left: 0;
        font-size: 10px;
    }

    .service-title-wrap {
        grid-column: 2;
        grid-row: 1;
    }

    .service-title {
        font-size: clamp(18px, 5vw, 26px);
    }

    .service-desc {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 13px;
        padding-top: 10px;
        max-width: 100%;
        transform: none !important;
    }

    .service-cta {
        grid-column: 3;
        grid-row: 1;
        padding-right: 0;
    }

    .service-cta-ring {
        width: 34px;
        height: 34px;
    }

    .service-item::before {
        display: none;
    }

    /* Mobile inline preview â€” hidden by default, shown when row is active */
    .service-mobile-preview {
        display: block;
        grid-column: 1 / -1;
        grid-row: 3;
        height: 0;
        overflow: hidden;
        transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.4s ease;
        opacity: 0;
    }

    .service-item.mob-active .service-mobile-preview {
        height: 140px;
        opacity: 1;
        margin-top: 14px;
    }

    .smp-inner {
        width: 100%;
        height: 140px;
        border-radius: 3px;
        background: var(--ink);
        position: relative;
        overflow: hidden;
    }

    /* Websites mobile */
    .smp-websites::before {
        content: 'LUXE.';
        position: absolute;
        top: 16px;
        left: 16px;
        font-size: 26px;
        font-weight: 700;
        letter-spacing: -0.06em;
        color: rgba(255, 255, 255, 0.9);
    }

    .smp-websites::after {
        content: '';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 64px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    /* Experiences mobile */
    .smp-experiences::before {
        content: 'INTERACT';
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        letter-spacing: 0.2em;
        color: rgba(255, 255, 255, 0.4);
        font-family: var(--font-mono);
    }

    .smp-experiences::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 1px solid rgba(255, 69, 34, 0.3);
    }

    /* Automation mobile */
    .smp-automation::after {
        content: 'FORM â†’ CRM â†’ EMAIL â†’ TEAM';
        position: absolute;
        bottom: 16px;
        left: 16px;
        right: 16px;
        font-size: 9px;
        letter-spacing: 0.12em;
        color: rgba(255, 255, 255, 0.4);
        font-family: var(--font-mono);
    }

    /* Development mobile */
    .smp-development::before {
        content: 'API â†’ CLIENT';
        position: absolute;
        top: 20px;
        left: 16px;
        font-size: 11px;
        letter-spacing: 0.1em;
        color: var(--accent);
        font-family: var(--font-mono);
    }

    .smp-development::after {
        content: 'DB â†’ MODEL';
        position: absolute;
        top: 44px;
        left: 16px;
        font-size: 11px;
        letter-spacing: 0.1em;
        color: rgba(255, 255, 255, 0.4);
        font-family: var(--font-mono);
    }

    /* Systems mobile */
    .smp-systems::before {
        content: 'SITE Â· DATA Â· FLOW Â· TEAM';
        position: absolute;
        bottom: 16px;
        left: 16px;
        font-size: 9px;
        letter-spacing: 0.12em;
        color: rgba(255, 255, 255, 0.4);
        font-family: var(--font-mono);
    }
}

@media (min-width: 769px) {

    /* Only on desktop: hover translate for title */
    .service-item:hover .service-title {
        transform: translateX(14px);
    }
}

/* =========================================================
   APPROACH / PHILOSOPHY â€” DARK EDITORIAL
   ========================================================= */

.story {
    background: var(--black);
    color: var(--white);
    min-height: auto;
    padding: clamp(96px, 12vh, 150px) var(--pad);
}

.story .section-meta {
    border-bottom-color: var(--black-line);
    color: var(--black-muted);
}

.story-grid-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
    padding-top: clamp(28px, 4vh, 60px);
}

/* â”€â”€ Left: Main Typography â”€â”€ */

.story-title {
    font-size: clamp(52px, 8.5vw, 136px);
    line-height: 0.90;
    letter-spacing: -0.065em;
    font-weight: 600;
}

.story-color-line {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
}

/* "Focused" = solid white */
.story-color-line.line-1 {
    color: #ffffff;
}

/* "thinking." â€” refined secondary outline: thin 1px stroke, transparent fill */
.story-color-line.line-2.outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
    transition: -webkit-text-stroke 0.8s ease,
        color 0.8s ease;
}

/* Scroll-driven: "thinking." subtly defines as user enters section */
.story-color-line.line-2.outline.solidifying {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
    color: transparent;
}

/* Fully resolved state: crisp, delicate 1px stroke, secondary to solid text */
.story-color-line.line-2.outline.resolved {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.68);
    color: transparent;
}

/* "Measured" = solid white */
.story-color-line.line-3 {
    color: #ffffff;
}

/* "execution." = LuxeStudio orange */
.story-color-line.line-4.accent-target {
    color: var(--accent);
}

/* Supporting copy */
.story-copy {
    max-width: 440px;
    margin-top: clamp(36px, 5vw, 56px);
    color: rgba(255, 255, 255, 0.58);
    font-size: clamp(14px, 1.05vw, 15px);
    line-height: 1.75;
    font-weight: 400;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 0.15s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.story-copy.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* â”€â”€ Right: Manifesto Rows â”€â”€ */

.story-right {
    display: flex;
    flex-direction: column;
    padding-top: clamp(8px, 1.8vw, 18px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.manifesto-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(24px, 3vw, 36px) 0;
    cursor: default;
    position: relative;
    outline: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle orange vertical line indicator â€” animates in on active/hover */
.manifesto-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-row:hover::before,
.manifesto-row:focus-visible::before,
.manifesto-row.is-active::before {
    transform: scaleY(1);
}

/* Visible state set by JS ScrollTrigger */
.manifesto-row.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.manifesto-row-inner {
    display: flex;
    gap: clamp(18px, 2.2vw, 28px);
    align-items: baseline;
    padding-left: 10px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-row:hover .manifesto-row-inner,
.manifesto-row:focus-visible .manifesto-row-inner,
.manifesto-row.is-active .manifesto-row-inner {
    transform: translateX(4px);
}

.manifesto-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    transition: color 0.3s ease;
    padding-top: 2px;
    width: 22px;
}

.manifesto-row:hover .manifesto-num,
.manifesto-row:focus-visible .manifesto-num,
.manifesto-row.is-active .manifesto-num {
    color: var(--accent);
}

.manifesto-content {
    flex: 1;
}

/* Principle title â€” clean editorial weight, 20-22px on desktop */
.manifesto-heading {
    font-size: clamp(17px, 1.55vw, 21px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 8px;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.manifesto-row:hover .manifesto-heading,
.manifesto-row:focus-visible .manifesto-heading,
.manifesto-row.is-active .manifesto-heading {
    color: #ffffff;
}

/* Principle description â€” clear, legible contrast against dark background without being pure white */
.manifesto-body {
    font-size: clamp(13px, 0.95vw, 14px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    transition: color 0.3s ease;
}

.manifesto-row:hover .manifesto-body,
.manifesto-row:focus-visible .manifesto-body,
.manifesto-row.is-active .manifesto-body {
    color: rgba(255, 255, 255, 0.86);
}

/* â”€â”€ Responsive â”€â”€ */

@media (max-width: 768px) {
    .story {
        padding: clamp(64px, 10vh, 96px) var(--pad);
    }

    .story-grid-container {
        grid-template-columns: 1fr;
        gap: clamp(40px, 8vw, 56px);
    }

    .story-title {
        font-size: clamp(44px, 12.5vw, 76px);
        line-height: 0.94;
    }

    .story-copy {
        max-width: 100%;
        margin-top: 28px;
    }

    .story-right {
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .manifesto-row::before {
        display: none;
    }

    .manifesto-row-inner {
        padding-left: 0;
    }

    .manifesto-row:hover .manifesto-row-inner,
    .manifesto-row:focus-visible .manifesto-row-inner {
        transform: none;
    }
}

/* â”€â”€ Reduced motion â”€â”€ */
@media (prefers-reduced-motion: reduce) {
    .story-color-line.line-2.outline {
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.68);
        color: transparent;
        transition: none;
    }

    .story-copy {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .manifesto-row {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .manifesto-row::before {
        display: none;
    }

    .manifesto-row-inner {
        padding-left: 0;
    }

    .manifesto-row:hover .manifesto-row-inner {
        transform: none;
    }
}

/* =========================================================
   WORK SECTION â€” PINNED HORIZONTAL DIGITAL EXHIBITION
   ========================================================= */

.work-horizontal-section {
    position: relative;
    background: #0a0a0a;
    color: var(--white);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(20px, 3.5vh, 36px) var(--pad);
    z-index: 10;
}

.work-horizontal-section .section-meta {
    border-bottom-color: var(--black-line);
    color: var(--black-muted);
    margin-bottom: 0;
}

.work-horizontal-track {
    display: flex;
    gap: clamp(36px, 4.5vw, 72px);
    height: 70vh;
    align-items: center;
    will-change: transform;
}

/* â”€â”€ Section Intro Panel: Visual Breathing Room â”€â”€ */
.work-intro-panel {
    flex: 0 0 clamp(300px, 32vw, 460px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: clamp(16px, 2.5vw, 36px);
    user-select: none;
}

.work-intro-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: clamp(16px, 2.2vh, 24px);
    display: block;
}

@media (max-width: 800px) {
    .work-intro-panel .work-intro-tag {
        display: none !important;
    }
}

.work-intro-heading {
    font-size: clamp(36px, 4.2vw, 64px);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: -0.06em;
    color: #ffffff;
    margin-bottom: clamp(18px, 2.5vh, 28px);
}

.work-intro-copy {
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.52);
    max-width: 360px;
    margin-bottom: clamp(24px, 3vh, 36px);
}

.work-intro-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.work-intro-arrow {
    font-size: 14px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

/* â”€â”€ Varied Project Widths (Rhythm) â”€â”€ */
.work-card-horizontal {
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    outline: none;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
}

.work-card-horizontal.card-wide {
    flex: 0 0 clamp(500px, 60vw, 940px);
}

.work-card-horizontal.card-compact {
    flex: 0 0 clamp(400px, 48vw, 760px);
}

/* Active state (closest to center) */
.work-card-horizontal.is-active {
    border-color: rgba(255, 255, 255, 0.22);
    transform: scale(1.012);
}

.work-card-horizontal.is-active .project-img {
    filter: brightness(0.96) contrast(1.04);
}

.work-card-horizontal.is-active .work-card-num {
    color: var(--accent);
}

.work-card-horizontal.is-active .work-card-title {
    color: #ffffff;
}

/* â”€â”€ Project Media & Subtle Parallax â”€â”€ */
.work-card-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.work-card-media .project-img {
    width: 118%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.82) contrast(1.02);
    transition: filter 0.5s ease,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, filter;
}

/* Desktop Hover */
.work-card-horizontal:hover .project-img,
.work-card-horizontal:focus-visible .project-img {
    filter: brightness(1.02);
    transform: scale(1.035);
}

/* Cinematic Gradient Overlay */
.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.12) 0%,
            rgba(0, 0, 0, 0.32) 45%,
            rgba(8, 8, 8, 0.92) 94%);
    z-index: 2;
    pointer-events: none;
}

/* ── Content Hierarchy: Image first, Typography second, Metadata third ── */
.work-card-horizontal .work-card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 3.5vw, 42px);
    pointer-events: none;
}

.work-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.work-card-num {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.work-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
}

.work-card-action .action-arrow {
    font-size: 14px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.35s ease;
}

.work-card-horizontal:hover .work-card-action .action-text,
.work-card-horizontal:focus-visible .work-card-action .action-text {
    color: #ffffff;
}

.work-card-horizontal:hover .work-card-action .action-arrow,
.work-card-horizontal:focus-visible .work-card-action .action-arrow {
    transform: translate(3px, -3px);
    color: var(--accent);
}

.work-card-bottom {
    display: flex;
    flex-direction: column;
}

.work-card-title {
    font-size: clamp(30px, 3.6vw, 54px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.05;
    color: rgba(255, 255, 255, 0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.work-card-horizontal:hover .work-card-title,
.work-card-horizontal:focus-visible .work-card-title {
    transform: translateX(6px);
    color: #ffffff;
}

.work-card-meta-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: clamp(11px, 0.85vw, 12px);
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
}

.work-card-category {
    color: rgba(255, 255, 255, 0.82);
}

.work-card-sep {
    color: var(--accent);
    opacity: 0.75;
}

.work-card-tags {
    color: rgba(255, 255, 255, 0.48);
}

/* â”€â”€ Lead-out Panel: Natural Clearing â”€â”€ */
.work-leadout-panel {
    flex: 0 0 clamp(160px, 16vw, 260px);
    height: 100%;
    pointer-events: none;
}

/* â”€â”€ Editorial Progress Indicator â”€â”€ */
.work-progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 2vw, 24px);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--black-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.work-progress-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.work-progress-item .prog-num {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
}

.work-progress-item .prog-title {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
}

.work-progress-item.is-active .prog-num {
    color: var(--accent);
}

.work-progress-item.is-active .prog-title {
    color: #ffffff;
}

.work-progress-bar-track {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.work-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    will-change: width;
}

.work-progress-fill-sub {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    will-change: width;
}


/* â”€â”€ Reduced Motion â”€â”€ */
@media (prefers-reduced-motion: reduce) {
    .work-horizontal-section {
        height: auto;
        padding: 80px var(--pad);
        overflow: visible;
    }

    .work-horizontal-track {
        height: auto;
        flex-direction: column;
        gap: 36px;
        transform: none !important;
    }

    .work-card-horizontal.card-wide,
    .work-card-horizontal.card-compact {
        flex: none;
        width: 100%;
        height: 440px;
        transform: none !important;
    }

    .work-card-media .project-img {
        width: 100%;
        transform: none !important;
        transition: none;
    }

    .work-leadout-panel {
        display: none;
    }

    .work-progress-container {
        display: none;
    }
}

/* =========================================================
   KEY FACTS (SCROLL-DRIVEN ARCHITECTURAL TIMELINE)
   ========================================================= */

.facts {
    background: #e7e4dc;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    min-height: auto;
    padding: clamp(72px, 8vh, 100px) var(--pad);
}

.facts-pinned-container {
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    overflow: visible;
    z-index: 5;
}

.facts-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facts-title {
    font-size: clamp(46px, 6.8vw, 108px);
    line-height: 0.92;
    letter-spacing: -0.07em;
    max-width: 1100px;
    margin-bottom: clamp(32px, 4.5vh, 56px);
    opacity: 0;
    transform: translateY(25px);
    will-change: opacity, transform;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
}

/* â”€â”€ Architectural Grid Hairline Dividers â”€â”€ */
.fact-grid-line-h {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
    z-index: 1;
}

.fact-grid-line-h.line-top {
    top: 0;
}

.fact-grid-line-h.line-mid {
    top: 50%;
}

.fact-grid-line-h.line-bottom {
    bottom: 0;
}

.fact-grid-line-v.line-vert {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line);
    transform-origin: center top;
    transform: scaleY(0);
    will-change: transform;
    z-index: 1;
}

.fact-card {
    min-height: clamp(130px, 17vh, 185px);
    padding: clamp(20px, 2.6vh, 32px) 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    opacity: 0;
    transform: translateY(25px);
    will-change: opacity, transform;
    z-index: 2;
}

.fact-card.fact-card-1,
.fact-card.fact-card-3 {
    padding-right: clamp(24px, 3.5vw, 48px);
}

.fact-card.fact-card-2,
.fact-card.fact-card-4 {
    padding-left: clamp(24px, 3.5vw, 48px);
}

.fact-number-wrap {
    font-size: clamp(62px, 8.6vw, 126px);
    letter-spacing: -0.08em;
    line-height: 0.88;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    font-variant-numeric: tabular-nums;
}

.counter-value {
    display: inline-block;
    min-width: 1.1ch;
    font-variant-numeric: tabular-nums;
}

.fact-suffix {
    color: var(--accent);
    font-weight: 400;
    margin-left: 4px;
    display: inline-block;
    opacity: 0;
    transform: scale(0.75);
    transform-origin: center;
    will-change: opacity, transform;
}

.fact-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    transition: color 0.3s ease;
}

.fact-label.is-active {
    color: var(--ink);
}

/* â”€â”€ Mobile Fallback (â‰¤ 800px) â”€â”€ */
@media (max-width: 800px) {
    .facts {
        min-height: auto;
        padding: clamp(56px, 8vh, 80px) var(--pad);
    }

    .facts-pinned-container {
        height: auto;
        padding: 0;
        overflow: visible;
    }

    .facts-title {
        opacity: 1;
        transform: none;
        margin-bottom: 32px;
    }

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

    .fact-grid-line-v {
        display: none;
    }

    .fact-grid-line-h {
        transform: scaleX(1);
    }

    .fact-grid-line-h.line-mid {
        display: none;
    }

    .fact-card {
        opacity: 1;
        transform: none;
        min-height: auto;
        padding: 24px 0;
        border-bottom: 1px solid var(--line);
    }

    .fact-card.fact-card-1,
    .fact-card.fact-card-2,
    .fact-card.fact-card-3,
    .fact-card.fact-card-4 {
        padding-left: 0;
        padding-right: 0;
    }

    .fact-suffix {
        opacity: 1;
        transform: none;
    }
}

/* â”€â”€ Reduced Motion â”€â”€ */
@media (prefers-reduced-motion: reduce) {
    .facts {
        min-height: auto;
        padding: 80px var(--pad);
    }

    .facts-pinned-container {
        height: auto;
        padding: 0;
        overflow: visible;
    }

    .facts-title {
        opacity: 1;
        transform: none;
    }

    .fact-card {
        opacity: 1;
        transform: none;
    }

    .fact-grid-line-h {
        transform: scaleX(1) !important;
    }

    .fact-grid-line-v {
        transform: scaleY(1) !important;
    }

    .fact-suffix {
        opacity: 1;
        transform: none !important;
    }
}

/* =========================================================
   PROCESS (SCROLL-DRIVEN PROGRESSION SYSTEM)
   ========================================================= */

.process {
    background: #e7e4dc;
    position: relative;
    padding: clamp(60px, 9vh, 120px) var(--pad);
}

.process-header-wrap {
    margin-bottom: clamp(48px, 6vw, 84px);
}

.process-title {
    font-size: clamp(50px, 8.2vw, 124px);
    line-height: 0.88;
    letter-spacing: -0.07em;
    font-weight: 600;
    color: var(--ink);
    will-change: transform, opacity;
}

.process-list {
    border-top: 1px solid var(--line);
    position: relative;
}

.process-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1.4fr 1.6fr;
    padding: clamp(36px, 4vw, 54px) 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
    gap: clamp(16px, 2.5vw, 36px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.4s ease;
    will-change: transform;
}

.process-col-indicator {
    display: flex;
    align-items: baseline;
    gap: 14px;
    position: relative;
}

.process-indicator-marker {
    position: relative;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 1px;
}

.process-node-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1.5px solid rgba(17, 17, 17, 0.28);
    background: transparent;
    transition: background-color 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease;
}

.process-rail-segment {
    position: absolute;
    top: 14px;
    left: 4.5px;
    width: 1px;
    height: calc(100% + clamp(36px, 4vw, 54px));
    background: rgba(17, 17, 17, 0.08);
    pointer-events: none;
}

.process-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
    transition: color 0.35s ease;
}

.process-col-name {
    position: relative;
}

.process-name {
    font-size: clamp(32px, 4.4vw, 68px);
    letter-spacing: -0.055em;
    font-weight: 600;
    line-height: 1;
    color: rgba(17, 17, 17, 0.72);
    transition: color 0.35s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-col-desc {
    position: relative;
}

.process-copy {
    max-width: 440px;
    font-size: clamp(14px, 1.05vw, 15px);
    color: rgba(17, 17, 17, 0.55);
    line-height: 1.68;
    transition: color 0.35s ease;
}

.process-line-accent {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

/* â”€â”€ Active State (Closest to Center) â”€â”€ */
.process-item.is-active {
    transform: translateY(-4px);
}

.process-item.is-active .process-node-dot {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 69, 34, 0.35);
}

.process-item.is-active .process-num {
    color: var(--accent);
    font-weight: 500;
}

.process-item.is-active .process-name {
    color: var(--ink);
    transform: translateX(6px);
}

.process-item.is-active .process-copy {
    color: rgba(17, 17, 17, 0.90);
}

.process-item.is-active .process-line-accent {
    transform: scaleX(1);
}

/* =========================================================
   STUDIO SECTION (IDENTITY & INTEGRATED STUDIO MODEL)
   ========================================================= */

.studio {
    background: #080808;
    color: var(--white);
    position: relative;
    min-height: auto;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-pinned-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 3.5vh, 40px) var(--pad);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.studio .section-meta {
    border-bottom-color: var(--black-line);
    color: var(--black-muted);
}

.studio-content-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(40px, 6vw, 84px);
    align-items: start;
    margin: auto 0;
    padding: clamp(20px, 3vh, 40px) 0;
}

.studio-left-col {
    display: flex;
    flex-direction: column;
}

.studio-title {
    font-size: clamp(44px, 6.2vw, 102px);
    line-height: 0.90;
    letter-spacing: -0.07em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: clamp(28px, 3.8vh, 44px);
}

.studio-line {
    display: inline-block;
}

.studio-line.line-studio {
    color: #ffffff;
    opacity: 1;
}

.studio-line.line-disciplines {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.45);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
    margin: 4px 0;
    will-change: transform;
}

.disciplines-base {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.disciplines-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
    z-index: 1;
}

.disciplines-layer.layer-a {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.38);
    color: transparent;
}

.disciplines-layer.layer-b {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
    color: transparent;
}

.disciplines-layer.layer-c {
    -webkit-text-stroke: 1px rgba(255, 69, 34, 0.48);
    color: transparent;
}

.studio-line.line-standard {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.4s ease, opacity 0.4s ease;
}

.studio-orange-accent {
    color: var(--accent);
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.studio-copy {
    max-width: 480px;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.52);
    margin-top: 12px;
}

/* â”€â”€ Right Column: Connected Principles Rail â”€â”€ */
.studio-right-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(10px, 2vh, 24px);
}

.studio-connector-system {
    position: relative;
    padding-left: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: clamp(36px, 4.5vh, 56px);
}

.studio-rail-line {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 14px;
    width: 1.5px;
    background: var(--accent);
    transform-origin: top center;
    transform: scaleY(0);
    will-change: transform;
    opacity: 0.85;
}

.studio-principle-item {
    position: relative;
    outline: none;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.studio-branch-line {
    position: absolute;
    left: calc(-1 * clamp(24px, 3vw, 40px));
    top: 12px;
    width: clamp(18px, 2.2vw, 28px);
    height: 1.5px;
    background: rgba(255, 69, 34, 0.35);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.sp-marker {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.sp-node {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sp-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.38);
    transition: color 0.3s ease;
}

.sp-heading {
    font-size: clamp(20px, 1.85vw, 26px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 8px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.sp-desc {
    font-size: clamp(13px, 0.95vw, 14px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.52);
    max-width: 380px;
    transition: color 0.3s ease;
}

/* â”€â”€ Principle Hover Effects â”€â”€ */
.studio-principle-item:hover .sp-num,
.studio-principle-item:focus-visible .sp-num {
    color: var(--accent);
}

.studio-principle-item:hover .sp-heading,
.studio-principle-item:focus-visible .sp-heading {
    color: #ffffff;
    transform: translateX(5px);
}

.studio-principle-item:hover .sp-desc,
.studio-principle-item:focus-visible .sp-desc {
    color: rgba(255, 255, 255, 0.85);
}

.studio-principle-item:hover .studio-branch-line,
.studio-principle-item:focus-visible .studio-branch-line {
    background: var(--accent);
    transform: scaleX(1);
}

.studio-principle-item:hover .sp-node,
.studio-principle-item:focus-visible .sp-node {
    opacity: 1;
    transform: scale(1.4);
}

/* =========================================================
   CONTACT & INTERACTION
   ========================================================= */

.contact {
    min-height: 90svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f3f1eb;
    position: relative;
    padding: clamp(64px, 10vh, 120px) var(--pad);
}

.contact .section-meta {
    margin-bottom: clamp(32px, 4vh, 48px);
}

.contact-header {
    margin-bottom: clamp(40px, 5vh, 64px);
}

.contact-title {
    font-size: clamp(52px, 9.4vw, 150px);
    line-height: 0.86;
    letter-spacing: -0.075em;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: clamp(20px, 2.5vh, 32px);
}

.contact-microcopy {
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.65;
    color: var(--ink-light);
    max-width: 520px;
}

/* â”€â”€ Primary & Secondary Action Cluster â”€â”€ */
.contact-actions-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: clamp(28px, 4.5vw, 64px);
    margin-bottom: clamp(48px, 6.5vh, 80px);
}

/* 01: Primary CTA â€” Start a Conversation */
.contact-cta-primary {
    display: inline-flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ink);
    outline: none;
    cursor: pointer;
    transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-cta-primary .cta-num {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--muted);
    transition: color 0.3s ease;
}

.contact-cta-primary .cta-label {
    font-size: clamp(22px, 3.2vw, 44px);
    font-weight: 600;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.3s ease;
}

.contact-cta-primary .cta-arrow {
    font-size: clamp(20px, 2.8vw, 36px);
    color: var(--ink);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

.contact-cta-primary:hover,
.contact-cta-primary:focus-visible {
    border-color: var(--accent);
}

.contact-cta-primary:hover .cta-num,
.contact-cta-primary:focus-visible .cta-num {
    color: var(--accent);
}

.contact-cta-primary:hover .cta-label,
.contact-cta-primary:focus-visible .cta-label {
    color: var(--accent);
}

.contact-cta-primary:hover .cta-arrow,
.contact-cta-primary:focus-visible .cta-arrow {
    transform: translate(5px, -5px);
    color: var(--accent);
}

/* 02: Secondary CTA â€” Book a Call (Calendly) */
.contact-cta-secondary {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    outline: none;
    cursor: pointer;
    padding-bottom: 8px;
}

.cta-secondary-row {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.32);
    transition: border-color 0.3s ease;
}

.contact-cta-secondary .cta-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
    transition: color 0.3s ease;
}

.contact-cta-secondary .cta-label {
    font-size: clamp(17px, 2.1vw, 28px);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.85);
    transition: color 0.3s ease;
}

.contact-cta-secondary .cta-arrow {
    font-size: clamp(16px, 1.8vw, 24px);
    color: rgba(17, 17, 17, 0.65);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

.cta-secondary-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
    transition: color 0.3s ease;
}

.contact-cta-secondary:hover .cta-secondary-row,
.contact-cta-secondary:focus-visible .cta-secondary-row {
    border-color: var(--ink);
}

.contact-cta-secondary:hover .cta-num,
.contact-cta-secondary:focus-visible .cta-num {
    color: var(--accent);
}

.contact-cta-secondary:hover .cta-label,
.contact-cta-secondary:focus-visible .cta-label {
    color: var(--ink);
}

.contact-cta-secondary:hover .cta-arrow,
.contact-cta-secondary:focus-visible .cta-arrow {
    transform: translate(3px, -3px);
    color: var(--accent);
}

/* â”€â”€ Restrained Direct Contact Row â”€â”€ */
.contact-direct-row {
    border-top: 1px solid var(--line);
    padding-top: clamp(28px, 3.5vh, 40px);
    display: flex;
    gap: clamp(40px, 6vw, 96px);
    flex-wrap: wrap;
}

.direct-channel {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.direct-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.direct-link-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.direct-link {
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.direct-link:hover,
.direct-link:focus-visible {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.direct-link-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.direct-link-wa .direct-arrow {
    font-size: 14px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.direct-link-wa:hover .direct-arrow,
.direct-link-wa:focus-visible .direct-arrow {
    transform: translate(2px, -2px);
    color: var(--accent);
}

.copy-email-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(17, 17, 17, 0.05);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink-light);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.copy-email-btn:hover,
.copy-email-btn:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

/* â”€â”€ Copy Toast Notification â”€â”€ */
.copy-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%, 16px);
    background: #181818;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* =========================================================
   FOOTER â€” THE LAST FRAME (EDITORIAL CLOSING SIGNATURE)
   ========================================================= */

.footer.footer-last-frame {
    background: #080808;
    color: var(--white);
    position: relative;
    border-top: none;
    overflow: hidden;
    padding: clamp(34px, 4.2vh, 46px) var(--pad) clamp(22px, 2.8vh, 30px);
    user-select: none;
}

/* â”€â”€ Thin Orange Top Rail with Subtly Traveling Pulse Point â”€â”€ */
.footer-pulse-rail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14px;
    overflow: visible;
    pointer-events: none;
    z-index: 5;
}

.footer-pulse-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    opacity: 0.85;
}

.footer-pulse-point {
    position: absolute;
    top: -2.5px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(255, 69, 34, 0.85), 0 0 2px rgba(255, 255, 255, 0.6);
    transform: translateX(50vw);
    will-change: transform;
    pointer-events: auto;
    transition: box-shadow 0.3s ease;
}

.footer-pulse-point.is-pulsing {
    box-shadow: 0 0 14px rgba(255, 69, 34, 1), 0 0 4px rgba(255, 255, 255, 0.9);
}

.footer-frame-inner {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    will-change: transform, opacity;
}

/* â”€â”€ Final Monospace Statement â”€â”€ */
.footer-statement-wrap {
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-statement {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    font-weight: 400;
}

/* â”€â”€ Typographic Signature Lockup â”€â”€ */
.footer-signature-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: clamp(12px, 1.8vh, 18px);
    margin-bottom: clamp(20px, 2.6vh, 30px);
    cursor: default;
}

.footer-signature-wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(38px, 10.5vw, 108px);
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: #eae7e1;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: color 0.3s ease;
}

.sig-letter {
    display: inline-block;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), color 0.24s ease;
    will-change: transform, color;
}

.sig-letter.is-active {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-signature-sub {
    margin-top: clamp(8px, 1.2vh, 12px);
    font-family: var(--font-mono);
    font-size: clamp(10px, 0.8vw, 11px);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

/* â”€â”€ Thin Frame Divider â”€â”€ */
.footer-frame-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: clamp(14px, 1.8vh, 20px);
}

/* â”€â”€ Bottom Metadata & Navigation â”€â”€ */
.footer-metadata-container {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.4vh, 14px);
    width: 100%;
}

.footer-meta-primary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-meta-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-meta-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-meta-link:hover,
.footer-meta-link:focus-visible {
    color: var(--accent);
}

.footer-meta-sep {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.18);
    user-select: none;
}

.footer-meta-contact {
    display: flex;
    align-items: center;
}

.footer-contact-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
    color: var(--accent);
}

.footer-meta-legal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.34);
}

.back-to-top-btn {
    background: none;
    border: none;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    outline: none;
    transition: color 0.25s ease;
}

.back-to-top-btn .btt-text {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.back-to-top-btn .btt-arrow {
    font-size: 13px;
    display: inline-block;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    color: var(--accent);
}

.back-to-top-btn:hover .btt-text,
.back-to-top-btn:focus-visible .btt-text {
    transform: translateX(2px);
    color: #ffffff;
}

.back-to-top-btn:hover .btt-arrow,
.back-to-top-btn:focus-visible .btt-arrow {
    transform: translateY(-3.5px);
    color: var(--accent);
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */

@media (max-width: 1080px) {
    .hero-composition {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================================
   MOBILE & TABLET RESPONSIVE SYSTEM (<= 992px)
   ========================================================= */

@media (max-width: 992px) {

    /* ── Dedicated Mobile Navbar: Exactly 2 Items ── */
    .nav {
        height: 68px;
        padding: 0 var(--pad);
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        grid-template-columns: none !important;
        border-bottom: 1px solid rgba(17, 17, 17, 0.06);
    }

    .nav.scrolled {
        height: 62px;
        padding: 0 var(--pad);
        background: rgba(243, 241, 236, 0.94);
        backdrop-filter: blur(16px);
    }

    .logo {
        font-size: 17px;
        justify-self: auto;
    }

    .nav-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
        gap: 12px;
    }

    /* Strictly hide nav-links and the CTA/center pill on mobile */
    .nav-links,
    .nav-center-pill,
    .nav-cta-pill {
        display: none !important;
    }

    /* Minimal Circular Menu Trigger ([+] -> [x]) */
    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        background: #eae7df;
        border: 1px solid rgba(17, 17, 17, 0.14);
        color: var(--ink);
        cursor: pointer;
        position: relative;
        z-index: 100001 !important;
        transition: background-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
            border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
            color 280ms cubic-bezier(0.16, 1, 0.3, 1),
            transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle:hover,
    .menu-toggle.is-active {
        background-color: #111111;
        color: #ffffff;
        border-color: #111111;
    }

    .menu-toggle:active {
        transform: scale(0.95);
    }
}

/* =========================================================
   TRIGGER SYMBOL ANIMATION (HAMBURGER -> ×)
   ========================================================= */

.menu-toggle-icon.hamburger {
    position: relative;
    width: 18px;
    height: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 250ms ease,
        width 280ms cubic-bezier(0.16, 1, 0.3, 1),
        background-color 200ms ease;
    transform-origin: center;
}

/* Subtle editorial rhythm on middle line */
.hamburger-line.line-mid {
    width: 13px;
    align-self: flex-end;
}

.menu-toggle:hover .hamburger-line.line-mid {
    width: 18px;
}

/* Open / Active State: Smooth cross morph */
.menu-toggle.is-active .menu-toggle-icon.hamburger {
    transform: rotate(90deg);
}

.menu-toggle.is-active .hamburger-line.line-top {
    transform: translateY(5.75px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-line.line-mid {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.is-active .hamburger-line.line-bot {
    transform: translateY(-5.75px) rotate(-45deg);
}

/* Close button inside mobile menu header */
.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
    background: #FF4A2F;
    border-color: #FF4A2F;
    transform: scale(0.96);
}

.menu-close-icon {
    position: relative;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mci-line {
    position: absolute;
    width: 14px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

.mci-line.mci-1 {
    transform: rotate(45deg);
}

.mci-line.mci-2 {
    transform: rotate(-45deg);
}

@media (min-width: 993px) {
    .mobile-drawer,
    .mobile-menu-drawer {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    background: #0C0C0C;
    color: #FFFFFF;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(16px, 2.8vh, 24px) clamp(20px, 5.5vw, 32px) clamp(16px, 2.8vh, 28px);
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateZ(0);
    transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1),
        visibility 450ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    padding-top: max(clamp(16px, 2.8vh, 24px), env(safe-area-inset-top));
    padding-bottom: max(clamp(16px, 2.8vh, 28px), env(safe-area-inset-bottom));
}

.mobile-menu-drawer.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

/* Subtle Technical Drafting Backdrop (Hero Continuity) */
.menu-tech-backdrop {
    position: absolute;
    right: clamp(12px, 6vw, 36px);
    top: 48%;
    transform: translateY(-50%);
    width: min(240px, 60vw);
    height: auto;
    aspect-ratio: 240 / 320;
    pointer-events: none;
    z-index: 1;
    opacity: 0.38;
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-tech-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.menu-node-dot,
.menu-node-ring {
    transition: cx 400ms cubic-bezier(0.16, 1, 0.3, 1),
        cy 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-logo {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mobile-menu-logo span {
    font-weight: 300;
}

.mobile-menu-logo .logo-dot {
    width: 6px;
    height: 6px;
    background: #FF4A2F;
    border-radius: 50%;
    display: inline-block;
}

/* Small Restrained Brand Statement beneath Header */
.mobile-menu-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: clamp(10px, 1.8vh, 18px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 80ms;
}

.mobile-menu-drawer.open .mobile-menu-brand {
    opacity: 1;
    transform: translateY(0);
}

.mmb-accent {
    width: 14px;
    height: 2px;
    background: #FF4A2F;
    margin-top: 6px;
    flex-shrink: 0;
}

.mmb-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-mono);
    font-size: clamp(10px, 2.6vw, 11px);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* Primary Navigation: Large Editorial Typography */
.mobile-nav-links {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2.6vh, 24px);
    margin: clamp(10px, 2vh, 24px) 0;
}

.mobile-nav-item {
    display: flex;
    align-items: baseline;
    gap: clamp(10px, 3.5vw, 18px);
    text-decoration: none;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 450ms cubic-bezier(0.16, 1, 0.3, 1),
        color 250ms ease;
    transition-delay: calc(var(--item-idx, 0) * 60ms + 140ms);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-drawer.open .mobile-nav-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-num {
    font-family: var(--font-mono);
    font-size: clamp(11px, 2.8vw, 12px);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.40);
    transition: color 250ms ease;
}

.mobile-nav-text {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 11vw, 4.4rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.02;
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
        color 250ms ease;
    display: inline-block;
}

.mobile-nav-arrow {
    font-size: clamp(16px, 4vw, 22px);
    color: #FF4A2F;
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: opacity 250ms ease, transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: auto;
}

/* Editorial Hover/Touch states */
.mobile-nav-item:hover,
.mobile-nav-item:active,
.mobile-nav-item.is-focused {
    color: #FF4A2F;
}

.mobile-nav-item:hover .mobile-nav-text,
.mobile-nav-item:active .mobile-nav-text,
.mobile-nav-item.is-focused .mobile-nav-text {
    transform: translateX(6px);
}

.mobile-nav-item:hover .mobile-nav-num,
.mobile-nav-item:active .mobile-nav-num,
.mobile-nav-item.is-focused .mobile-nav-num {
    color: #FF4A2F;
}

.mobile-nav-item:hover .mobile-nav-arrow,
.mobile-nav-item:active .mobile-nav-arrow,
.mobile-nav-item.is-focused .mobile-nav-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Bottom Action & Contact Details */
.mobile-menu-footer {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vh, 18px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: clamp(14px, 2.2vh, 20px);
}

/* Action CTA: Strong Orange, 8-10px radius, 54-58px height */
.mobile-start-project-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 56px;
    padding: 0 clamp(16px, 4vw, 22px);
    box-sizing: border-box;
    background: #FF4A2F;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 9px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 250ms ease, transform 250ms ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-start-project-btn:hover,
.mobile-start-project-btn:active {
    background: #E83F25;
    transform: scale(0.99);
}

.msp-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform 250ms ease;
}

.mobile-start-project-btn:hover .msp-arrow,
.mobile-start-project-btn:active .msp-arrow {
    transform: translate(2px, -2px);
}

.mobile-menu-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: clamp(10px, 2.7vw, 11px);
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.40);
    flex-wrap: wrap;
}

.mobile-contact-link {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 200ms ease;
}

.mobile-contact-link:hover,
.mobile-contact-link:active {
    color: #FF4A2F;
}

.mmc-sep {
    font-size: 8px;
    opacity: 0.5;
}

.mobile-menu-legal {
    text-align: center;
}

.mobile-copyright {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.28);
    text-transform: uppercase;
}

/* Compact screens (e.g. landscape or short phones < 680px) */
@media (max-height: 680px) {
    .mobile-menu-drawer {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .mobile-menu-brand {
        display: none;
    }

    .mobile-nav-links {
        gap: 10px;
        margin: 8px 0;
    }

    .mobile-nav-text {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .mobile-start-project-btn {
        height: 48px;
    }

    .mobile-menu-footer {
        gap: 8px;
        padding-top: 10px;
    }
}

/* =========================================================
   COMPREHENSIVE MOBILE VIEWPORT ARCHITECTURE (<= 768px)
   ========================================================= */

@media (max-width: 768px) {
    :root {
        --pad: 18px;
    }

    /* Containment: 0 horizontal page overflow */
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    section,
    .section,
    main {
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Hide desktop custom cursor */
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }

    /* Mobile Hero Architecture is comprehensively handled above in section Hero Responsive rules */

    /* ── 2. Ethos Section ── */
    .ethos-story {
        min-height: 190vh;
        padding: 0;
    }

    .ethos-pinned-stage {
        padding: 20px var(--pad) 24px;
    }

    .ethos-statement {
        font-size: clamp(24px, 6.8vw, 34px);
        line-height: 1.15;
        gap: 8px;
    }

    .cut-word-container {
        position: relative;
        display: inline-block;
    }

    .cut-negative,
    .cut-positive {
        display: inline-block;
    }

    .ethos-bottom-region {
        grid-template-columns: 1fr;
        margin-top: 14px;
        gap: 12px;
    }

    .ethos-supporting-copy {
        font-size: 13px;
        line-height: 1.55;
        max-width: 100%;
    }

    /* â”€â”€ 3. Marquee Section â”€â”€ */
    .marquee {
        height: 72px;
        contain: paint;
        overflow: hidden;
    }

    .marquee-item {
        font-size: clamp(20px, 5.5vw, 26px);
    }

    .marquee-dot {
        margin: 0 clamp(16px, 3.6vw, 26px);
        width: 5px;
        height: 5px;
    }

    /* â”€â”€ 4. Capabilities (Services) Section â”€â”€ */
    .services {
        padding: clamp(52px, 7vh, 68px) var(--pad);
    }

    .service-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 22px 0;
        border-bottom: 1px solid var(--line);
    }

    .service-num {
        font-size: 11px;
        padding-left: 0;
        color: var(--accent);
        margin-bottom: 2px;
    }

    .service-title-wrap {
        width: 100%;
    }

    .service-title {
        font-size: clamp(24px, 6.6vw, 32px);
        letter-spacing: -0.03em;
    }

    .service-desc {
        font-size: 13px;
        line-height: 1.55;
        color: var(--ink-light);
        max-width: 100%;
        margin-top: 4px;
    }

    .service-cta {
        display: none;
    }

    .cap-preview {
        display: none !important;
    }

    /* â”€â”€ 5. Approach Section â”€â”€ */
    .story {
        padding: clamp(52px, 7vh, 68px) var(--pad);
    }

    .story-grid-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .story-title {
        font-size: clamp(30px, 8.2vw, 42px);
        line-height: 1.06;
    }

    .story-copy {
        font-size: 13.5px;
        line-height: 1.6;
        max-width: 100%;
        margin-top: 12px;
    }

    .story-right {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .manifesto-row {
        padding: 18px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .manifesto-num {
        font-size: 11px;
        color: var(--accent);
        margin-bottom: 4px;
    }

    .manifesto-heading {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 4px;
        color: #ffffff;
    }

    .manifesto-body {
        font-size: 13px;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.6);
    }

    /* â”€â”€ 6. Selected Work Section (Vertical Project Stack) â”€â”€ */
    .work-horizontal-section {
        height: auto;
        min-height: auto;
        overflow: visible;
        padding: clamp(52px, 7vh, 68px) var(--pad);
    }

    .work-horizontal-track {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: clamp(32px, 4.5vh, 42px);
        transform: none !important;
        width: 100%;
    }

    .work-intro-panel {
        flex: none;
        width: 100%;
        height: auto;
        margin-bottom: 12px;
        padding-right: 0;
    }

    .work-intro-heading {
        font-size: clamp(28px, 7.8vw, 38px);
        line-height: 1.08;
    }

    .work-intro-copy {
        font-size: 13.5px;
        line-height: 1.55;
        max-width: 100%;
        margin-top: 10px;
    }

    .work-intro-scroll-hint {
        display: none !important;
    }

    .work-card-horizontal.card-wide,
    .work-card-horizontal.card-compact {
        flex: none;
        width: 100%;
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        overflow: hidden;
        background: #111;
        border: 1px solid rgba(255, 255, 255, 0.09);
        transform: none !important;
    }

    .work-card-media {
        position: relative;
        width: 100%;
        height: clamp(190px, 50vw, 250px);
        overflow: hidden;
    }

    .work-card-media .project-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: none !important;
    }

    .work-card-overlay {
        display: none;
    }

    .work-card-content {
        position: relative;
        z-index: 2;
        padding: 16px 16px 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .work-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .work-card-num {
        font-family: var(--font-mono);
        font-size: 11px;
        color: var(--accent);
    }

    .work-card-action .action-text {
        font-family: var(--font-mono);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(255, 255, 255, 0.7);
    }

    .work-card-title {
        font-size: clamp(20px, 5.5vw, 26px);
        font-weight: 600;
        color: #ffffff;
        margin-top: 2px;
    }

    .work-card-meta-line {
        font-family: var(--font-mono);
        font-size: 11px;
        color: rgba(255, 255, 255, 0.45);
        display: flex;
        flex-wrap: wrap;
        gap: 4px 6px;
    }

    .work-leadout-panel,
    .work-progress-container {
        display: none !important;
    }

    /* â”€â”€ 7. Key Facts Section (2x2 Grid) â”€â”€ */
    .facts {
        padding: clamp(52px, 7vh, 68px) var(--pad);
    }

    .facts-pinned-container {
        position: relative;
        height: auto;
    }

    .facts-title {
        font-size: clamp(26px, 7.2vw, 36px);
        line-height: 1.1;
        margin-bottom: 24px;
    }

    .fact-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .fact-grid-line-h,
    .fact-grid-line-v {
        display: none;
    }

    .fact-card {
        padding: 20px 0;
        border-bottom: 1px solid var(--line);
        border-left: none;
    }

    .fact-card:last-child {
        border-bottom: none;
    }

    .fact-card:nth-child(odd),
    .fact-card:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
    }

    .counter-value {
        font-size: clamp(38px, 10vw, 52px);
        font-weight: 700;
        line-height: 1;
    }

    .fact-suffix {
        font-size: clamp(22px, 6vw, 30px);
        color: var(--accent);
    }

    .fact-label {
        font-size: 11px;
        line-height: 1.4;
        color: var(--muted);
        margin-top: 6px;
    }

    /* â”€â”€ 8. Process Section â”€â”€ */
    .process {
        padding: clamp(52px, 7vh, 68px) var(--pad);
    }

    .process-title {
        font-size: clamp(28px, 7.8vw, 38px);
        line-height: 1.08;
        margin-bottom: 24px;
    }

    .process-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 20px 0;
        border-bottom: 1px solid var(--line);
    }

    .process-col-indicator {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .process-indicator-marker {
        display: none;
    }

    .process-num {
        font-family: var(--font-mono);
        font-size: 11px;
        color: var(--accent);
        font-weight: 500;
    }

    .process-name {
        font-size: clamp(19px, 5vw, 24px);
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .process-copy {
        font-size: 13px;
        line-height: 1.55;
        color: var(--ink-light);
        margin-top: 2px;
    }

    .process-line-accent {
        display: none;
    }

    /* â”€â”€ 9. Studio Section â”€â”€ */
    .studio {
        padding: clamp(52px, 7vh, 68px) var(--pad);
        min-height: auto;
    }

    .studio-pinned-wrap {
        min-height: auto;
        padding: 0;
        overflow: visible;
    }

    .studio-content-layout {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .studio-title {
        font-size: clamp(28px, 7.8vw, 40px);
        line-height: 1.1;
    }

    .studio-copy {
        font-size: 13px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.65);
    }

    .studio-connector-system {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-left: 0;
        border-left: none;
    }

    .studio-rail-line,
    .studio-branch-line {
        display: none !important;
    }

    .studio-principle-item {
        opacity: 1 !important;
        transform: none !important;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sp-marker {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 4px;
    }

    .sp-node {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent);
    }

    .sp-num {
        font-family: var(--font-mono);
        font-size: 11px;
        color: var(--accent);
    }

    .sp-heading {
        font-size: 17px;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 4px;
    }

    .sp-desc {
        font-size: 13px;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.6);
    }

    .disciplines-layer {
        display: none !important;
    }

    /* â”€â”€ 10. Contact Section â”€â”€ */
    .contact {
        padding: clamp(52px, 7vh, 68px) var(--pad);
    }

    .contact-title {
        font-size: clamp(30px, 8.2vw, 44px);
        line-height: 1.08;
    }

    .contact-microcopy {
        font-size: 13px;
        line-height: 1.55;
        margin-top: 10px;
    }

    .contact-actions-cluster {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 24px;
    }

    .contact-cta-primary,
    .contact-cta-secondary {
        width: 100%;
        min-height: 50px;
        padding: 12px 16px;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .contact-direct-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        margin-top: 24px;
        padding-top: 18px;
        border-top: 1px solid var(--line);
    }

    /* â”€â”€ 11. Footer: The Last Frame â”€â”€ */
    .footer.footer-last-frame {
        padding: 34px var(--pad) 22px;
    }

    .footer-statement {
        font-size: 10px;
        letter-spacing: 0.18em;
    }

    .footer-signature-wrap {
        margin-top: 12px;
        margin-bottom: 20px;
    }

    .footer-signature-wordmark {
        font-size: clamp(32px, 11.5vw, 48px);
    }

    .footer-signature-sub {
        font-size: 10px;
        letter-spacing: 0.18em;
    }

    .footer-metadata-container {
        gap: 14px;
    }

    .footer-meta-primary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-meta-nav {
        flex-wrap: wrap;
        gap: 8px 10px;
    }

    .footer-meta-link {
        font-size: 10.5px;
    }

    .footer-contact-link {
        font-size: 10.5px;
    }

    .footer-meta-legal-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* =========================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-track {
        animation: none !important;
        transform: none !important;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    .studio {
        min-height: auto;
        padding: 80px var(--pad);
    }

    .studio-pinned-wrap {
        min-height: auto;
        padding: 0;
        overflow: visible;
    }

    .studio-principle-item {
        opacity: 1 !important;
        transform: none !important;
    }

    .studio-rail-line {
        transform: scaleY(1) !important;
    }

    .studio-branch-line {
        transform: scaleX(1) !important;
    }

    .studio-line.line-standard {
        opacity: 1 !important;
        color: #ffffff !important;
    }

    .studio-orange-accent {
        opacity: 1 !important;
    }

    .disciplines-layer {
        display: none !important;
    }

    .process-item {
        transform: none !important;
    }

    .process-line-accent {
        transform: scaleX(1) !important;
        opacity: 0.35;
    }

    .process-title {
        transform: none !important;
        opacity: 1 !important;
    }

    .footer-pulse-point {
        transform: translateX(50vw) !important;
        animation: none !important;
    }

    .footer-frame-inner {
        transform: none !important;
        opacity: 1 !important;
    }

    .sig-letter {
        transform: none !important;
    }

    .back-to-top-btn .btt-text,
    .back-to-top-btn .btt-arrow {
        transform: none !important;
    }
}

/* =========================================================
   PROJECT CARD 05: MORE WORK SHOWCASE CARD
   ========================================================= */
.work-card-horizontal.card-archive {
    flex: 0 0 clamp(380px, 44vw, 580px);
    background: #0E0E10;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.work-card-horizontal.card-archive:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(255, 77, 0, 0.12);
}

.archive-card-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.archive-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.7;
}

.archive-glow-orb {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.22) 0%, rgba(255, 77, 0, 0) 70%);
    pointer-events: none;
    transition: transform 0.6s ease;
}

.work-card-horizontal.card-archive:hover .archive-glow-orb {
    transform: scale(1.35) translate(-10px, -10px);
}

.archive-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: clamp(28px, 4vw, 44px);
    position: relative;
    z-index: 2;
}

.archive-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
}

.archive-trigger-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.work-card-horizontal.card-archive:hover .archive-trigger-action {
    color: #ffffff;
}

.archive-card-center {
    margin: auto 0;
    padding: 20px 0;
}

.archive-main-heading {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.archive-subtext {
    font-size: clamp(14px, 1.2vw, 16px);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 460px;
}

.archive-open-full-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #ffffff;
    color: #0A0A0A;
    border: none;
    border-radius: 999px;
    padding: 16px 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-open-full-btn .archive-btn-arrow {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.work-card-horizontal.card-archive:hover .archive-open-full-btn {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(255, 77, 0, 0.35);
}

.work-card-horizontal.card-archive:hover .archive-open-full-btn .archive-btn-arrow {
    transform: translate(3px, -3px);
}

/* =========================================================
   MORE WORKS MODAL DRAWER
   ========================================================= */
.work-archive-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.work-archive-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wad-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 10, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.wad-dialog {
    position: relative;
    z-index: 2;
    width: min(94vw, 1100px);
    height: min(88vh, 840px);
    max-height: 88vh;
    background: #0E0E11;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    transform: scale(0.97) translateY(14px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.work-archive-drawer.is-open .wad-dialog {
    transform: scale(1) translateY(0);
}

.wad-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.015);
}

.wad-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 4px;
}

.wad-title {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.wad-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wad-esc-hint {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
}

.wad-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: all 0.25s ease;
}

.wad-close-btn:hover {
    background: rgba(255, 77, 0, 0.2);
    border-color: var(--accent);
    transform: rotate(90deg);
}

/* Controls & Filter Pills */
.wad-controls {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
}

.wad-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wad-filter-pill {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wad-filter-pill:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.wad-filter-pill.is-active {
    background: #ffffff;
    border-color: #ffffff;
    color: #0A0A0A;
    font-weight: 700;
}

/* Table Header & Scrollable Body */
.wad-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: scroll !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    overscroll-behavior: contain;
    padding: 0 32px 32px 32px;
}

.wad-body::-webkit-scrollbar {
    width: 6px;
}

.wad-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.wad-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 3px;
}

.wad-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.wad-table-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #0E0E11;
    display: grid;
    grid-template-columns: 48px 2.2fr 1.6fr 2.4fr 1.2fr;
    gap: 16px;
    padding: 18px 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wad-list {
    display: flex;
    flex-direction: column;
}

.wad-row {
    display: grid;
    grid-template-columns: 48px 2.2fr 1.6fr 2.4fr 1.2fr;
    gap: 16px;
    align-items: center;
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.25s ease, transform 0.25s ease;
    border-radius: 10px;
}

.wad-row:hover {
    background: rgba(255, 255, 255, 0.035);
}

.wad-cell.col-idx {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.wad-row:hover .wad-cell.col-idx {
    color: var(--accent);
}

.wad-cell.col-client .wad-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.wad-mobile-meta {
    display: none;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

.wad-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 10px;
}

.wad-cell.col-scope {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.wad-cell.col-action {
    display: flex;
    justify-content: flex-end;
}

.wad-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 16px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wad-link-btn .wad-arr {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.wad-link-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 77, 0, 0.4);
    transform: translateY(-1px);
}

.wad-link-btn:hover .wad-arr {
    transform: translate(2px, -2px);
}

/* =========================================================
   RESPONSIVE OVERRIDES FOR ARCHIVE DRAWER & CARDS
   ========================================================= */
@media (max-width: 800px) {
    .work-card-horizontal.card-archive {
        flex: none;
        width: 100%;
        min-height: 380px;
    }

    .wad-dialog {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        border: none;
    }

    .wad-header {
        padding: 16px 20px;
    }

    .wad-controls {
        padding: 12px 20px;
    }

    .wad-body {
        padding: 0 16px 32px 16px;
    }

    .wad-table-header {
        display: none;
    }

    .wad-row {
        grid-template-columns: 28px 1fr auto;
        gap: 12px;
        padding: 16px 8px;
    }

    .wad-cell.col-discipline,
    .wad-cell.col-scope {
        display: none;
    }

    .wad-mobile-meta {
        display: block;
    }

    .wad-esc-hint {
        display: none;
    }
}

/* =========================================================
   SECTION 08: FAQ & INTEL (SEO & GEO KNOWLEDGE ARCHITECTURE)
   ========================================================= */

.faq-section {
    background: #0D0D0D !important;
    color: #F7F5F0 !important;
    padding: clamp(90px, 12vh, 160px) var(--pad) !important;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-inner-container {
    max-width: var(--container-width, 1400px);
    margin: 0 auto;
    width: 100%;
}

.faq-section .section-meta {
    color: rgba(247, 245, 240, 0.50);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
    margin-bottom: clamp(40px, 6vh, 70px);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.faq-left-col {
    position: sticky;
    top: 120px;
}

.faq-title {
    font-size: clamp(38px, 5.2vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-weight: 600;
    color: #F7F5F0;
    margin-bottom: clamp(20px, 2.5vh, 28px);
}

.faq-subtitle {
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.6;
    color: rgba(247, 245, 240, 0.65);
    max-width: 420px;
    margin-bottom: clamp(28px, 4vh, 40px);
}

.faq-direct-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 24px;
}

.faq-cta-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(247, 245, 240, 0.45);
}

.faq-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent, #FF4A2F);
    text-decoration: none;
    transition: gap 0.25s ease, opacity 0.25s ease;
}

.faq-cta-link:hover {
    gap: 10px;
    opacity: 0.9;
}

.faq-view-all {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 24px;
    margin-top: 8px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;

}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    transition: border-color 0.3s ease;
}

.faq-item[open] {
    border-bottom-color: rgba(255, 74, 47, 0.35);
}

.faq-trigger {
    display: flex;
    align-items: center;
    padding: clamp(22px, 3vh, 32px) 0;
    cursor: pointer;
    user-select: none;
    list-style: none;
    gap: 16px;
}

.faq-trigger::-webkit-details-marker {
    display: none;
}

.faq-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent, #FF4A2F);
    flex-shrink: 0;
    width: 24px;
}

.faq-question {
    font-size: clamp(17px, 1.4vw, 22px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #F7F5F0;
    flex-grow: 1;
    transition: color 0.25s ease;
}

.faq-item:hover .faq-question {
    color: #FFFFFF;
}

.faq-item[open] .faq-question {
    color: #FFFFFF;
}

.faq-icon {
    font-family: var(--font-mono);
    font-size: 20px;
    line-height: 1;
    color: var(--accent, #FF4A2F);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding-left: 40px;
    padding-bottom: clamp(24px, 3vh, 36px);
    padding-right: 20px;
    animation: faqSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content p {
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.68;
    color: rgba(247, 245, 240, 0.72);
    margin: 0;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive: 900px */
@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-left-col {
        position: static;
    }
    .faq-content {
        padding-left: 0;
    }
}