/* ============================================================
   Clairifier v2 — industrial-first landing page
   Palette: Warm Ivory #F5F1EA · Deep Charcoal #1C1B19 · Warm Glow #C9A46A
   Type: DM Serif Display (voice) · Syne (labels/numbers) · Inter (body)
   ============================================================ */

:root {
    --ivory: #F5F1EA;
    --ivory-2: #EFE9DE;
    --white: #FFFFFF;
    --ink: #16140F;
    --ink-2: #4A463D;
    --ink-3: #8A8375;
    --charcoal: #1C1B19;
    --charcoal-2: #262421;
    --cream-dim: rgba(245, 241, 234, 0.55);
    --cream-faint: rgba(245, 241, 234, 0.28);
    --gold: #C9A46A;
    --gold-bright: #E2C08A;
    --gold-deep: #9C7D3E;
    --line: rgba(22, 20, 15, 0.1);
    --line-dark: rgba(245, 241, 234, 0.09);

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-card:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 20px 44px -18px rgba(22, 20, 15, 0.22);
    --shadow-media:
        0 2px 0 rgba(255, 255, 255, 0.4) inset,
        0 36px 70px -28px rgba(22, 20, 15, 0.4);
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.04;
    text-wrap: balance;
}

h1 em, h2 em, .cta-h em {
    font-style: italic;
    color: var(--gold-deep);
}

p { text-wrap: pretty; }

::selection { background: var(--gold); color: var(--charcoal); }

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* ---------- Type helpers ---------- */

.eyebrow {
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.4rem;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--gold);
    flex: none;
}

.eyebrow-dark { color: var(--gold-bright); }

section h2 {
    font-size: clamp(2.1rem, 4.2vw, 3.6rem);
    margin-bottom: 1.2rem;
}

.lead {
    font-size: clamp(0.98rem, 1.4vw, 1.12rem);
    color: var(--ink-2);
    font-weight: 300;
    line-height: 1.85;
    max-width: 54ch;
}

.section-sub {
    color: var(--cream-dim);
    font-size: clamp(0.95rem, 1.3vw, 1.06rem);
    font-weight: 300;
    line-height: 1.85;
    max-width: 60ch;
    margin: 0 auto;
}

.center-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 4.5rem;
}

.center-head .eyebrow { justify-content: center; }
.center-head .eyebrow::after {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--gold);
    flex: none;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.9rem;
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.btn:active { transform: scale(0.96); }

.btn-solid {
    background: var(--ink);
    color: var(--ivory);
}

.btn-solid:hover {
    background: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(156, 125, 62, 0.5);
}

.btn-line {
    border: 1px solid var(--line);
    color: var(--ink);
    background: transparent;
}

.btn-line:hover {
    border-color: var(--ink);
    background: rgba(22, 20, 15, 0.04);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: var(--charcoal);
}

.btn-gold:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
    border: 1px solid rgba(245, 241, 234, 0.3);
    color: var(--ivory);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--ivory);
    background: rgba(245, 241, 234, 0.08);
    transform: translateY(-2px);
}

/* ---------- Loader ---------- */

#loader {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    transition: opacity 0.5s ease, visibility 0.5s;
}

#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-mark {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: loader-in 0.7s 0.1s var(--ease) forwards;
}

.loader-mark img { width: 40px; height: 40px; }

.loader-mark span {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.32em;
    color: var(--ink);
}

.loader-line {
    width: 160px;
    height: 1px;
    background: var(--line);
    overflow: hidden;
}

.loader-line i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--gold-deep);
    transform: translateX(-100%);
    animation: loader-fill 1s 0.25s var(--ease) forwards;
}

@keyframes loader-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@keyframes loader-fill { to { transform: none; } }

/* ---------- Cursor (fine pointers only) ---------- */

#cur, #cur-ring {
    position: fixed;
    top: -100px;
    left: -100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    body.cursor-on { cursor: none; }
    body.cursor-on a, body.cursor-on button { cursor: none; }
    body.cursor-on #cur {
        display: block;
        width: 8px;
        height: 8px;
        background: var(--gold-deep);
        transform: translate(-50%, -50%);
    }
    body.cursor-on #cur-ring {
        display: block;
        width: 34px;
        height: 34px;
        border: 1px solid rgba(156, 125, 62, 0.5);
        transform: translate(-50%, -50%);
        transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s ease;
    }
    body.cursor-on #cur-ring.grow {
        width: 56px;
        height: 56px;
        border-color: rgba(156, 125, 62, 0.9);
    }
}

/* ---------- Nav ---------- */

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 4vw;
    transition: background-color 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
    border-bottom: 1px solid transparent;
}

#nav.scrolled {
    background: rgba(245, 241, 234, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    padding: 0.85rem 4vw;
}

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

.nav-logo img { width: 27px; height: 27px; }

.nav-logo span {
    font-family: 'Syne', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--ink);
}

.nav-links {
    display: flex;
    gap: 2.4rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--gold-deep); }

.nav-cta {
    font-family: 'Syne', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--ink);
    color: var(--ivory);
    padding: 0.7rem 1.4rem;
    transition: background-color 0.25s ease, transform 0.25s var(--ease);
}

.nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
}

#mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
}

#mobile-menu.open { transform: none; }

#mobile-menu a {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--ink);
    text-decoration: none;
}

#mobile-menu a:hover { color: var(--gold-deep); }

#menu-close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--ink-2);
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
}

/* ---------- Hero ---------- */

.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 7.5rem 0 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5vw;
}

.hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    line-height: 2;
}

.hero h1 {
    font-size: clamp(2.9rem, 5.6vw, 5.1rem);
    margin-bottom: 1.6rem;
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 300;
    color: var(--ink-2);
    line-height: 1.85;
    max-width: 50ch;
    margin-bottom: 2.4rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions.center { justify-content: center; }

.hero-trust {
    margin-top: 2.4rem;
    font-family: 'Syne', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.hero-media {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-media);
}

.hero-media img {
    width: 100%;
    height: auto;
    outline: 1px solid rgba(22, 20, 15, 0.12);
    outline-offset: -1px;
}

.media-chip {
    position: absolute;
    left: 1.1rem;
    bottom: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(22, 20, 15, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--ivory);
    font-family: 'Syne', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.media-chip-dark {
    left: auto;
    right: 1.1rem;
    background: rgba(22, 20, 15, 0.72);
}

.scroll-hint {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-hint span {
    font-family: 'Syne', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.scroll-hint i {
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, var(--ink-3), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-hint i::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-deep);
    animation: scan 2.2s ease-in-out infinite;
}

@keyframes scan { to { top: 100%; } }

/* ---------- Stat strip ---------- */

.stat-strip {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
    padding: 2.6rem 2rem;
    text-align: center;
    border-right: 1px solid var(--line);
    min-width: 0;
}

.stat-cell:last-child { border-right: none; }

.stat-big {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.stat-big i {
    font-style: normal;
    font-size: 0.5em;
    color: var(--gold-deep);
    margin-left: 2px;
}

.stat-sub {
    margin-top: 0.55rem;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* ---------- Marquee ---------- */

.marquee {
    background: var(--charcoal);
    padding: 1.05rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee 30s linear infinite;
}

/* Trailing margin (not gap) so the -50% loop point is seamless */
.marquee-track > * { margin-right: 2.6rem; }

.marquee-track-slow { animation-duration: 44s; }

.marquee-track span {
    font-family: 'Syne', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--cream-faint);
}

.marquee-track i {
    font-style: normal;
    color: var(--gold);
    font-size: 0.5rem;
    align-self: center;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Impact ---------- */

.impact {
    background:
        radial-gradient(ellipse 70% 90% at 50% 120%, rgba(201, 164, 106, 0.13) 0%, transparent 60%),
        var(--charcoal);
    color: var(--ivory);
    text-align: center;
    padding: clamp(7rem, 12vw, 10.5rem) 5vw;
}

.impact-inner { max-width: 940px; margin: 0 auto; }

.impact .eyebrow { justify-content: center; }
.impact .eyebrow::after {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.impact-h {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    margin-bottom: 1.6rem;
}

.impact-h em { color: var(--gold-bright); }

.impact-p {
    color: var(--cream-dim);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
    line-height: 1.9;
    max-width: 62ch;
    margin: 0 auto 2.6rem;
}

.impact-chips {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.impact-chips span {
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--line-dark);
    border-radius: 100px;
    font-family: 'Syne', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

/* Impact strip — full-bleed floor atmosphere, edge to edge */
.impact-strip {
    margin: 4.2rem calc(-5vw) 0;
}

.impact-strip-label {
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 1.5rem;
}

.impact-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
}

.impact-strip-grid figure {
    position: relative;
    overflow: hidden;
    min-width: 0;
    aspect-ratio: 4 / 3;
}

.impact-strip-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) saturate(0.95);
    transition: transform 0.7s var(--ease), filter 0.4s ease;
}

.impact-strip-grid figure:hover img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

.impact-strip-grid figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.4rem 1.1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(22, 20, 15, 0.82));
    pointer-events: none;
}

.impact-strip-grid b {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ivory);
}

.impact-strip-grid span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 241, 234, 0.6);
}

/* ---------- Split sections (product / commercial) ---------- */

.product { padding: clamp(6rem, 10vw, 9rem) 0; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.split-rev { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }

.badge-row {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin: 1.8rem 0 2rem;
}

.badge-row span {
    padding: 0.4rem 0.95rem;
    border: 1px solid rgba(156, 125, 62, 0.35);
    background: rgba(201, 164, 106, 0.1);
    border-radius: 100px;
    font-family: 'Syne', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    max-width: 620px;
}

.spec-grid-3 { max-width: none; }

.spec {
    background: var(--white);
    padding: 1.1rem 1.2rem;
    min-width: 0;
}

.spec b {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.spec small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.split-media {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-media);
}

.split-media img {
    width: 100%;
    height: auto;
    outline: 1px solid rgba(22, 20, 15, 0.12);
    outline-offset: -1px;
}

/* ---------- Technology ---------- */

.technology {
    background: var(--charcoal);
    color: var(--ivory);
    padding: clamp(6rem, 10vw, 9rem) 0;
}

.technology h2 { color: var(--ivory); }
.technology h2 em { color: var(--gold-bright); }

.stages {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.stage {
    background: var(--charcoal-2);
    border: 1px solid var(--line-dark);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s var(--ease);
}

.stage:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 164, 106, 0.4);
    box-shadow: 0 26px 54px -18px rgba(0, 0, 0, 0.6);
}

.stage figure { overflow: hidden; }

.stage img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
    transition: transform 0.7s var(--ease);
}

.stage:hover img { transform: scale(1.05); }

.stage-body {
    padding: 1.4rem 1.4rem 1.6rem;
    position: relative;
}

.stage-num {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    font-family: 'Syne', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(245, 241, 234, 0.08);
}

.stage h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.55rem;
    padding-right: 2.6rem;
}

.stage p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--cream-dim);
    margin-bottom: 1rem;
}

.stage-chip {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    background: rgba(201, 164, 106, 0.12);
    border: 1px solid rgba(201, 164, 106, 0.25);
    border-radius: 6px;
    font-family: 'Syne', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

/* Stack map — mirrors the real cabinet, top to bottom */
.stack-path {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 2.8rem;
}

.stack-path li {
    min-width: 0;
    padding: 1rem 1.05rem 1.1rem;
    background: rgba(245, 241, 234, 0.03);
    border: 1px solid var(--line-dark);
    border-top: 2px solid rgba(201, 164, 106, 0.55);
    border-radius: var(--r-sm);
}

.stack-path .sp-n {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 0.55rem;
}

.stack-path b {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ivory);
    margin-bottom: 0.4rem;
}

.stack-path small {
    display: block;
    font-size: 0.66rem;
    line-height: 1.55;
    color: var(--cream-dim);
}

.stages-label {
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 1.3rem;
}

.tech-extras {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    margin-top: 1.4rem;
}

/* Mobile carousel hint (hidden on desktop) */
.swipe-hint {
    display: none;
}

.extra {
    padding: 1.4rem 1.5rem;
    background: rgba(201, 164, 106, 0.05);
    border: 1px solid rgba(201, 164, 106, 0.16);
    border-radius: var(--r-md);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.extra:hover { background: rgba(201, 164, 106, 0.09); }

.extra b {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ivory);
    display: block;
    margin-bottom: 0.35rem;
}

.extra p { font-size: 0.76rem; line-height: 1.65; color: var(--cream-dim); }

/* ---------- Industries ---------- */

.industries { padding: clamp(6rem, 10vw, 9rem) 0; }

.ind-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.ind-photo {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.3s ease;
}

.ind-photo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}

.ind-photo:hover {
    transform: translateY(-5px);
    border-color: rgba(156, 125, 62, 0.3);
    box-shadow: 0 24px 48px -20px rgba(22, 20, 15, 0.25);
}

.ind-photo:hover::after { transform: scaleX(1); }

.ind-photo figure { overflow: hidden; }

.ind-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    outline: 1px solid rgba(22, 20, 15, 0.1);
    outline-offset: -1px;
    transition: transform 0.7s var(--ease);
}

.ind-photo:hover img { transform: scale(1.04); }

.ind-photo-body { padding: 1.35rem 1.4rem 1.5rem; }

.ind-photo-body h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
}

.ind-photo-body p {
    font-size: 0.83rem;
    line-height: 1.7;
    color: var(--ink-2);
}

.ind-also {
    margin-top: 2.2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    font-size: 0.92rem;
    color: var(--ink-2);
    letter-spacing: 0.04em;
}

.ind-also span {
    font-family: 'Syne', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-right: 0.4rem;
}

/* ---------- Process ---------- */

.process {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: clamp(6rem, 10vw, 9rem) 0;
}

.proc-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.proc-cell {
    position: relative;
    padding: 2.4rem 2rem;
    border-right: 1px solid var(--line);
}

.proc-cell:last-child { border-right: none; }

.proc-cell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease);
}

.proc-cell.lit::before { transform: scaleX(1); }

.proc-n {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(22, 20, 15, 0.08);
    display: block;
    margin-bottom: 1rem;
}

.proc-cell h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.proc-cell p { font-size: 0.8rem; line-height: 1.7; color: var(--ink-2); }

/* ---------- Proof ---------- */

.proof { padding: clamp(6rem, 10vw, 9rem) 0; }

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.proof-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-card);
}

.proof-card blockquote {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 1.06rem;
    line-height: 1.6;
    color: var(--ink-2);
    margin-bottom: 1.8rem;
}

.proof-card figcaption {
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
}

.proof-card b {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
}

.proof-card span {
    font-size: 0.72rem;
    color: var(--ink-3);
    letter-spacing: 0.04em;
}

/* Client logo chips (Proof section) */

.client-row { margin-top: 2.6rem; text-align: center; }

.client-chips {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: wrap;
}

.client-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1.1rem 1.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-card);
    min-width: 0;
}

.client-chip img {
    max-height: 64px;
    max-width: 190px;
    width: auto;
    height: auto;
}

a.client-chip {
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

a.client-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -14px rgba(22, 20, 15, 0.35);
}

/* ---------- Recognition ---------- */

.recognition {
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 2.8rem 0;
}

.recognition > p {
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 1.6rem;
}

.accredit-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.9rem;
}

.accredit-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-card);
    min-width: 0;
}

.accredit-chip img { width: auto; }
.accredit-chip .logo-nabl { height: 82px; }

.recog-group { margin-top: 2.6rem; }

.recog-label {
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.7rem;
}

.recognition .recog-sub {
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: 0.01em;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ink-2);
    max-width: 62ch;
    margin: 0 auto;
}

/* Logo chip marquee — seamless two-copy loop, pauses on hover */
.logo-marquee {
    overflow: hidden;
    margin-top: 1.4rem;
    position: relative;
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 64px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }

.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 36s linear infinite;
}

/* Each set carries identical trailing spacing, so translateX(-50%)
   always lands exactly on a set boundary — seamless loop, no gap */
.logo-set {
    display: flex;
    align-items: stretch;
    padding-right: 0.8rem;
}

.logo-marquee-slow { animation-duration: 50s; }

.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }

.logo-chip {
    padding: 0.8rem 1.3rem;
    box-shadow: none;
}

.logo-chip img {
    max-height: 46px;
    max-width: 175px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-marquee .logo-chip { flex: none; }

.marquee-light { background: transparent; padding: 0; }

.recognition .marquee-track span { color: var(--ink-2); opacity: 0.75; }
.recognition .marquee-track i { color: var(--gold); }

/* ---------- Commercial ---------- */

.commercial {
    background: var(--ivory-2);
    padding: clamp(6rem, 10vw, 9rem) 0;
}

/* ---------- CTA ---------- */

.cta {
    position: relative;
    padding: clamp(8rem, 14vw, 12rem) 5vw;
    text-align: center;
    overflow: hidden;
    color: var(--ivory);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url("assets/mountain.jpg") center / cover no-repeat;
}

.cta-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 20, 15, 0.72) 0%, rgba(22, 20, 15, 0.55) 50%, rgba(22, 20, 15, 0.78) 100%);
}

.cta-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }

.cta .eyebrow { justify-content: center; color: var(--gold-bright); }
.cta .eyebrow::after {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.cta-h {
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    margin-bottom: 1.4rem;
}

.cta-h em { color: var(--gold-bright); }

.cta-p {
    color: var(--cream-dim);
    font-weight: 300;
    max-width: 52ch;
    margin: 0 auto 2.6rem;
    line-height: 1.85;
}

/* ---------- Footer ---------- */

.footer {
    background: var(--charcoal);
    color: var(--ivory);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 0.8fr 1.2fr;
    gap: 3rem;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
}

.f-logo-mark { width: 50px; margin-bottom: 1rem; }
.f-logo-word { width: 180px; margin-bottom: 1.4rem; }

.f-brand p {
    font-size: 0.84rem;
    line-height: 1.75;
    color: var(--cream-dim);
    max-width: 300px;
}

.f-fine {
    margin-top: 1.2rem !important;
    font-size: 0.68rem !important;
    color: var(--cream-faint) !important;
}

.f-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cream-faint);
    margin-bottom: 1.3rem;
}

.f-col a {
    display: block;
    color: var(--cream-dim);
    text-decoration: none;
    font-size: 0.84rem;
    margin-bottom: 0.7rem;
    transition: color 0.2s ease;
}

.f-col a:hover { color: var(--gold-bright); }

.f-addr {
    font-size: 0.8rem;
    line-height: 1.75;
    color: var(--cream-dim);
}

.footer-btm {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-dark);
    padding-top: 1.6rem;
    padding-bottom: 1.8rem;
}

.footer-btm p {
    font-size: 0.68rem;
    color: var(--cream-faint);
}

/* ---------- Reveal (IO adds .in; delays via d1–d5) ---------- */

.reveal, .anim-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.9s var(--ease),
        transform 0.9s var(--ease);
}

.reveal.in, .anim-up.in {
    opacity: 1;
    transform: none;
}

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.4s; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .anim-up { opacity: 1; transform: none; }
    .marquee-track, .scroll-hint i::after { animation: none; }
    .stage img, .ind-card, .btn, .impact-strip-grid img { transition: none; }
    .marquee-track, .scroll-hint i::after, .logo-marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .nav-cta { display: none; }

    .stages { grid-template-columns: 1fr 1fr; }
    .stack-path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .proof-grid { grid-template-columns: 1fr 1fr; }
    .proc-row { grid-template-columns: 1fr 1fr; }
    .proc-cell:nth-child(2) { border-right: none; }
    .proc-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .tech-extras { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { padding-top: 6.5rem; }

    .hero-grid,
    .split,
    .split-rev { grid-template-columns: 1fr; gap: 2.4rem; }

    .hero-media,
    .split-rev .split-media { order: -1; }
    .split-media { max-width: 480px; }

    .stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-cell {
        padding: 1.4rem 0.6rem;
    }

    .stat-cell:nth-child(2) { border-right: none; }
    .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

    .stat-big {
        font-size: 1.7rem;
    }

    .stat-sub {
        font-size: 0.58rem;
    }

    .ind-photo-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .proc-row { grid-template-columns: 1fr; }
    .proc-cell { border-right: none; border-bottom: 1px solid var(--line); }
    .proc-cell:last-child { border-bottom: none; }

    .stack-path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
    .impact-strip { margin: 3rem calc(-5vw) 0; }
    .impact-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .impact-strip-grid figcaption { padding: 1.8rem 0.8rem 0.75rem; }
    .accredit-chip { padding: 0.7rem 1.1rem; }
    .accredit-chip .logo-nabl { height: 60px; }
    .logo-chip { padding: 0.6rem 0.9rem; }
    .logo-chip img { max-height: 36px; max-width: 140px; }
    .recognition .recog-sub { font-size: 0.78rem; padding: 0 2vw; }

    /* Stages become a horizontal swipe carousel — one screen tall */
    .stages {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        margin: 0 -6vw;
        padding: 0 6vw 0.5rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .stages::-webkit-scrollbar { display: none; }

    .stage {
        flex: 0 0 76%;
        scroll-snap-align: center;
    }

    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        margin-top: 1.1rem;
        font-family: 'Syne', sans-serif;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.26em;
        text-transform: uppercase;
        color: var(--cream-faint);
    }

    .swipe-hint span {
        color: var(--gold);
        animation: swipe-arrow 1.6s ease-in-out infinite;
    }

    @keyframes swipe-arrow {
        0%, 100% { transform: translateX(0); opacity: 1; }
        50% { transform: translateX(6px); opacity: 0.4; }
    }

    .scroll-hint { display: none; }

    .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .footer-btm { flex-direction: column; }
}

.lc { text-transform: none; }

@media (max-width: 360px) {
    .stat-big { font-size: 1.45rem; }
}

@media (max-width: 480px) {
    #nav { padding: 1rem 5vw; }
    .btn { width: 100%; }
    .hero-actions { flex-direction: column; }
    .spec-grid { grid-template-columns: 1fr 1fr; }
}
