/* ==========================================================================
   Strive Haus — Landing page (redesign)
   Dark-only. Blog pages keep using styles.css; this file is landing-only.
   ========================================================================== */

:root {
    --bg: #08080a;
    --bg-alt: #0b0b0e;
    --bg-card: #101014;
    --text: #f2f2f4;
    --text-muted: #a3a3ad;
    --text-faint: #6a6a74;
    --text-ghost: #4a4a56;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.14);
    --serif-accent: #9aa0b4;

    --font-sans: 'Instrument Sans', 'Helvetica Neue', Helvetica, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;

    /* Site flame gradient (kept from the previous design — used everywhere
       the redesign called for its animated "iris" gradient). A single
       left-to-right ramp, cream to deep red; identical end stops so it tiles
       seamlessly when panned at 200% background-size. */
    --flame-gradient: linear-gradient(
        90deg,
        #ffe9b0 0%,
        #ffc24d 20%,
        #ffaa00 38%,
        #ff6a00 58%,
        #ff4500 76%,
        #ff7a2e 88%,
        #ffe9b0 100%
    );
    --flame-line: linear-gradient(90deg, #ffe9b0, #ffaa00, #ff4500);

    color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--text); text-decoration: none; }
img { max-width: 100%; }

/* Pans the gradient texture left-to-right (200% → 0% moves it rightward). */
@keyframes iris { 0% { background-position: 200% 50%; } 100% { background-position: 0% 50%; } }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; } 50% { transform: translate3d(2%, -3%, 0) scale(1.08); opacity: 0.85; } }
@keyframes rail { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes glint { 0%, 100% { opacity: 0; transform: translateY(0); } 50% { opacity: 0.5; transform: translateY(-14px); } }

/* ---------- Shared ---------- */

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

.section-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(2.25rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.section-header { max-width: 620px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.eyebrow-serif {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.0625rem;
    color: var(--serif-accent);
    letter-spacing: 0.01em;
    margin-bottom: 26px;
}

.eyebrow-line {
    display: block;
    width: 34px;
    height: 1px;
    background: var(--flame-line);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid:hover { background: #ffffff; transform: translateY(-2px); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
}

.inline-link {
    font-size: 0.9375rem;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 1px;
    transition: border-color 0.2s ease;
}
.inline-link:hover { color: #ffffff; border-color: #ffffff; }

.accent-iris {
    background: var(--flame-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: iris 6s linear infinite;
    /* background-clip:text only paints inside the inline box, and the headings'
       negative letter-spacing pulls that box in past the last glyph's ink —
       slicing the final letter vertically. Widen the paint area and pull it
       back by the same amount so the layout is untouched. */
    padding-right: 0.08em;
    margin-right: -0.08em;
}

.yc-mark,
.yc-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f26625;
    color: #fff;
    font-weight: 600;
    line-height: 1;
    border-radius: 3px;
}

.yc-mark { width: 17px; height: 17px; font-size: 0.75rem; letter-spacing: 0; }

.yc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.yc-pill .yc-mini { width: 16px; height: 16px; font-size: 0.625rem; }
.yc-pill-sm { gap: 5px; padding: 3px 8px; font-size: 0.6875rem; }
.yc-pill-sm .yc-mini { width: 14px; height: 14px; font-size: 0.5625rem; }

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

.nav {
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 0 32px;
    transition: top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: rgba(18, 18, 22, 0.62);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition:
        padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px 9px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    transition: padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-brand img {
    height: 22px;
    width: auto;
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-brand span { font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; }

.nav-link {
    padding: 9px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover { color: #ffffff; background: rgba(255, 255, 255, 0.05); }

.nav-cta {
    padding: 9px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--text);
    color: var(--bg);
    transition:
        background 0.2s ease,
        padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-cta:hover { background: #ffffff; color: var(--bg); }

/* Shrunk state — added by home.js once the page scrolls */
.nav.nav-scrolled { top: 14px; }
.nav.nav-scrolled .nav-pill {
    padding: 4px;
    background: rgba(14, 14, 18, 0.82);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.nav.nav-scrolled .nav-brand { padding: 6px 15px 6px 10px; }
.nav.nav-scrolled .nav-brand img { height: 19px; }
.nav.nav-scrolled .nav-link { padding: 7px 14px; }
.nav.nav-scrolled .nav-cta { padding: 7px 17px; }

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

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    background: var(--bg);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.75;
}

.hero-glow-a {
    position: absolute;
    top: -14%;
    right: 6%;
    width: 62%;
    height: 78%;
    background: radial-gradient(ellipse at center, rgba(255, 140, 0, 0.18), rgba(255, 69, 0, 0.09) 42%, transparent 70%);
    filter: blur(40px);
    animation: drift 18s ease-in-out infinite;
}

.hero-glow-b {
    position: absolute;
    top: 18%;
    right: 30%;
    width: 40%;
    height: 52%;
    background: radial-gradient(ellipse at center, rgba(255, 210, 77, 0.14), transparent 66%);
    filter: blur(50px);
    animation: drift 23s ease-in-out infinite reverse;
}

.hero-main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 116px 48px 0;
}

.hero-copy { flex: 1 1 470px; min-width: 0; max-width: 660px; }

.hero-title {
    font-size: clamp(3rem, 6.4vw, 5.4rem);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.042em;
    margin-bottom: 26px;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 1.1875rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
    flex: 1 1 470px;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    margin-left: auto;
    margin-right: -48px;
}

.hero-visual img {
    display: block;
    /* Viewport-relative so the feathered left edge clears the headline and
       subtitle at every two-column width: ~480px wide at the 1069px stack
       boundary, growing linearly to its full 992px at 1680px viewports. */
    width: min(calc(83vw - 404px), 992px);
    max-width: none;
    flex: none;
    height: auto;
    /* The asset is pre-cropped so its right edge is the viewport edge:
       overhang the centered 1320px container by exactly the side gap. */
    margin-right: min(0px, calc(660px - 50vw));
}

.hero-stats {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border);
    background: linear-gradient(to top, rgba(8, 8, 10, 0.86), rgba(8, 8, 10, 0.2));
}

.hero-stats-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 48px 34px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.stats-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 16px;
}

.stats-row {
    display: flex;
    align-items: flex-start;
    gap: 44px;
    flex-wrap: wrap;
}

.stat-num { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat-desc { font-size: 0.8125rem; color: var(--text-faint); margin-top: 6px; }
.stat-divider { width: 1px; align-self: stretch; background: rgba(255, 255, 255, 0.1); }

.hero-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.hero-logos-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.hero-logos-row { display: flex; align-items: center; gap: 34px; }

.hero-logo {
    filter: grayscale(100%) invert(1);
    opacity: 0.55;
    transition: opacity 0.25s ease;
}
.hero-logos-row a:hover .hero-logo,
.hero-logo:hover { opacity: 0.95; }

.logo-pax { height: 44px; width: auto; }
.logo-certus { height: 30px; width: auto; }
.logo-helium { height: 17px; width: auto; }

.logo-forum { display: flex; align-items: center; gap: 7px; }
.logo-forum img { height: 21px; width: auto; }
.logo-forum span { font-weight: 600; font-size: 1.0625rem; color: #4880F7; line-height: 1; }

/* ---------- Attention ---------- */

.attention {
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.attention-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 30%;
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%), linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%), linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    pointer-events: none;
}

.attention-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #08080a 34%, rgba(8, 8, 10, 0.72) 50%, rgba(8, 8, 10, 0) 68%);
    pointer-events: none;
}

.attention .section-inner { position: relative; z-index: 2; padding: 170px 48px; }

.attention-copy { max-width: 500px; }
.attention-copy h2 { margin-bottom: 22px; }
.attention-copy > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.attention-copy > p:last-of-type { margin-bottom: 44px; }

.stat-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(16, 16, 20, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-bar { margin-bottom: 22px; }
.stat-bar-last { margin-bottom: 26px; }

.stat-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.stat-bar-value { color: var(--text); font-weight: 500; }

.stat-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
}

.stat-bar-fill { height: 100%; border-radius: 100px; }

.stat-bar-fill-iris {
    width: 100%;
    background: var(--flame-gradient);
    background-size: 200% 100%;
    animation: iris 14s linear infinite;
}

.stat-bar-fill-muted { width: 12%; background: rgba(255, 255, 255, 0.22); }

.stat-card-foot {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.stat-card-num { font-size: 3rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat-card-desc { font-size: 0.9375rem; color: var(--text-muted); }

/* ---------- Cadence ---------- */

.cadence {
    position: relative;
    background: var(--bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cadence .section-header { margin-bottom: 66px; }

.cadence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cadence-card {
    position: relative;
    padding: 34px 30px 32px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.cadence-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
.cadence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 170, 0, 0.55), rgba(255, 69, 0, 0.45), transparent);
}

.cadence-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-ghost);
    margin-bottom: 22px;
}

.cadence-card h3 {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.cadence-card p { font-size: 0.9375rem; line-height: 1.7; color: var(--text-muted); }

.cadence-note { margin-top: 44px; font-size: 0.9375rem; color: var(--text-muted); }

/* ---------- Work ---------- */

.work {
    position: relative;
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.work-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}
.work-header h2 { margin-bottom: 0; }
.work-aside { font-size: 0.9375rem; color: var(--text-faint); }

.video-frame {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
}
.video-embed iframe { display: block; width: 100%; height: 100%; border: none; }

.work-featured { margin-bottom: 22px; }

.work-featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.work-featured-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.work-featured-title h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.015em; }

.work-desc { font-size: 0.9375rem; color: var(--text-faint); }

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

.work-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.work-item-title h3 { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; }
.work-item .work-desc { font-size: 0.875rem; margin-top: 6px; }

/* Landing teaser — the full showcase lives on /work, so this section only
   has to make the case for clicking through. */
.work-teaser {
    /* Wide enough that the client pills settle on one row at desktop widths. */
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.work-teaser h2 { margin-bottom: 20px; }
.work-teaser > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 auto 34px;
    max-width: 580px;
}

.work-teaser-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 44px;
    margin-bottom: 46px;
}

/* The Maywood mark ships white already, so it skips the invert the other
   (dark-source) logos need. */
.logo-maywood { height: 22px; width: auto; filter: grayscale(100%); }

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

.process {
    position: relative;
    background: var(--bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.process-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.process-visual {
    position: relative;
    min-height: 520px;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg);
}

.process-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% 50%;
}

.process-visual-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 58% 50% at 62% 34%, rgba(255, 170, 0, 0.13), transparent 70%);
    pointer-events: none;
}

.process-visual-caption {
    position: absolute;
    left: 26px;
    bottom: 24px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.0625rem;
    color: rgba(242, 242, 244, 0.78);
}

.process-copy h2 { margin-bottom: 18px; }

.process-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 460px;
}

.process-steps { display: flex; flex-direction: column; }

.process-step {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 22px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.process-step-num {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    line-height: 1.9;
}

.process-step h3 {
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}

.process-step p { font-size: 0.9375rem; line-height: 1.7; color: var(--text-muted); }

/* ---------- Response ---------- */

.response {
    position: relative;
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    padding: 150px 0;
}

.response-header { padding: 0 48px; margin-bottom: 60px; }
.response-header h2 { max-width: 720px; }

.rail-mask {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.rail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: max-content;
    animation: rail 56s linear infinite;
}

.post-card {
    flex-shrink: 0;
    width: 340px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease;
}
.post-card:hover { border-color: rgba(255, 255, 255, 0.22); color: var(--text); }

.post-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.post-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #1a1a20;
    background-size: cover;
    background-position: center;
}

.post-author { display: flex; flex-direction: column; }
.post-name { font-weight: 500; font-size: 0.9375rem; color: var(--text); }
.post-handle { font-size: 0.8125rem; color: var(--text-faint); }

.post-x-logo { width: 16px; height: 16px; color: var(--text-ghost); flex-shrink: 0; margin-left: auto; }

.post-text { font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); }

/* ---------- FAQ ---------- */

.faq {
    position: relative;
    background: var(--bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 80px;
    align-items: start;
}

.faq-intro h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.06;
    margin-bottom: 18px;
}
.faq-intro p { font-size: 0.9375rem; line-height: 1.7; color: var(--text-faint); }

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

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text);
    text-align: left;
}

.faq-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-faint);
    transition: transform 0.25s ease;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 260px; }

.faq-answer p {
    padding: 0 60px 26px 0;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-muted);
}

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

.closing {
    position: relative;
    background: var(--bg);
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.closing-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 18% 30%;
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 32%, transparent 66%), linear-gradient(180deg, transparent 0%, #000 13%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 32%, transparent 66%), linear-gradient(180deg, transparent 0%, #000 13%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    pointer-events: none;
}

.closing-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, #08080a 26%, rgba(8, 8, 10, 0.78) 44%, rgba(8, 8, 10, 0) 68%);
    pointer-events: none;
}

.closing-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #08080a 0%, rgba(8, 8, 10, 0) 16%, rgba(8, 8, 10, 0) 78%, #08080a 99%);
    pointer-events: none;
}

.closing-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 48px;
    display: flex;
    justify-content: flex-end;
}

.closing-copy { max-width: 480px; }
.closing-copy .eyebrow-serif { margin-bottom: 24px; }

.closing-copy h2 {
    font-size: clamp(2.5rem, 4.4vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.closing-copy p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 34px;
}

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

.footer {
    position: relative;
    background: var(--bg);
    border-top: 1px solid var(--border);
    overflow: hidden;
    --fx: 50%;
    --fy: 50%;
    --spot-o: 0.34;
}

.footer-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(circle 340px at var(--fx) var(--fy), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 72%);
    mask-image: radial-gradient(circle 340px at var(--fx) var(--fy), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 72%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: var(--spot-o);
}

.footer-spot-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 420px at var(--fx) var(--fy), rgba(255, 106, 0, 0.13), rgba(255, 170, 0, 0.07) 40%, rgba(255, 69, 0, 0.05) 60%, transparent 74%);
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: var(--spot-o);
}

.footer-glints { position: absolute; inset: 0; pointer-events: none; }
.footer-glints span {
    position: absolute;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    animation: glint var(--dur) ease-in-out var(--delay) infinite;
}

.footer-top {
    position: relative;
    z-index: 2;
    padding: 90px 48px 0;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: start;
    padding-bottom: 72px;
}

.footer-contact .eyebrow-serif { margin-bottom: 22px; }

.footer-booking {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-booking .btn-solid { padding: 16px 32px; font-size: 1rem; }

.footer-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-faint);
}

.availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6fd39a;
    box-shadow: 0 0 0 3px rgba(111, 211, 154, 0.16);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
    padding-top: 8px;
}

.footer-links-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-ghost);
    margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-muted);
    width: fit-content;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: #ffffff; }

.footer-wordmark-wrap { position: relative; padding-bottom: 26px; }

.footer-wordmark {
    font-size: clamp(3rem, 13.2vw, 11.5rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: rgba(255, 255, 255, 0.07);
    white-space: nowrap;
    text-align: center;
    user-select: none;
}

.footer-wordmark-iris {
    position: absolute;
    inset: 0;
    color: transparent;
    background: var(--flame-gradient);
    background-size: 200% 100%;
    animation: iris 6s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-mask-image: radial-gradient(circle 300px at var(--fx) var(--fy), #000 0%, rgba(0, 0, 0, 0.55) 42%, transparent 70%);
    mask-image: radial-gradient(circle 300px at var(--fx) var(--fy), #000 0%, rgba(0, 0, 0, 0.55) 42%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: var(--spot-o);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-bottom-brand { display: flex; align-items: center; gap: 10px; }
.footer-bottom-brand img { height: 22px; width: auto; }
.footer-bottom-brand span { font-size: 0.8125rem; color: var(--text-ghost); }

.footer-bottom-meta { display: flex; align-items: center; gap: 26px; }

.footer-clock {
    font-size: 0.8125rem;
    color: var(--text-ghost);
    font-variant-numeric: tabular-nums;
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.to-top:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.32); }
.to-top svg { width: 14px; height: 14px; }

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

/* Below 1069px the hero columns (470px basis ×2 + gap + padding) no longer
   fit side by side — stack explicitly so the image never wraps into a
   half-width row with viewport-relative sizing. */
@media (max-width: 1068px) {
    .hero-copy, .hero-visual { flex-basis: 100%; }
    .hero-visual img { width: 110%; margin-right: -80px; }
}

@media (max-width: 1024px) {
    .section-inner { padding: 110px 32px; }
    .attention .section-inner { padding: 130px 32px; }
    .response { padding: 110px 0; }
    .response-header { padding: 0 32px; }

    .hero-main { padding: 130px 32px 0; }
    .hero-visual { margin-right: -32px; }
    .hero-stats-inner { padding: 26px 32px 30px; }

    .process-grid { grid-template-columns: 1fr; gap: 48px; }
    .process-visual { min-height: 380px; }

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

    .footer-top { padding: 70px 32px 0; }
    .footer-cols { grid-template-columns: 1fr; gap: 52px; }
    .footer-bottom-inner { padding: 20px 32px; }
}

@media (max-width: 768px) {
    .nav { top: 16px; padding: 0 16px; }
    .nav.nav-scrolled { top: 8px; }
    .nav-link { display: none; }

    .section-inner { padding: 90px 24px; }
    .attention .section-inner { padding: 110px 24px; }
    .response { padding: 90px 0; }
    .response-header { padding: 0 24px; }

    .hero { min-height: 0; }
    .hero-main { padding: 110px 24px 0; }
    .hero-visual { margin-right: -24px; }
    .hero-visual img { width: 118%; margin-right: -60px; }
    .hero-stats-inner { padding: 24px 24px 28px; }
    .stats-row { gap: 28px; }
    .hero-logos { align-items: flex-start; }
    .hero-logos-row { gap: 24px; flex-wrap: wrap; }

    .attention-img {
        width: 100%;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 85%, transparent 100%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 85%, transparent 100%);
        -webkit-mask-composite: source-over;
        mask-composite: add;
        opacity: 0.45;
    }
    .attention-scrim { background: rgba(8, 8, 10, 0.55); }

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

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

    .process-visual { min-height: 300px; }
    .process-step { grid-template-columns: 76px 1fr; gap: 16px; }

    .closing { min-height: 0; }
    .closing-inner { padding: 100px 24px; justify-content: flex-start; }
    .closing-img { object-position: 30% 20%; opacity: 0.5; }
    .closing-scrim { background: rgba(8, 8, 10, 0.6); }

    .footer-top { padding: 60px 24px 0; }
    .footer-links-grid { gap: 28px; }
    .footer-bottom-inner { padding: 18px 24px; }
}

@media (max-width: 480px) {
    .section-inner { padding: 72px 20px; }
    .attention .section-inner { padding: 90px 20px; }
    .response-header { padding: 0 20px; }

    .nav-brand span { display: none; }
    .nav-brand { padding: 9px 12px; }

    .hero-main { padding: 96px 20px 0; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-visual img { width: 130%; margin-right: -50px; }
    .stats-row { gap: 22px; }
    .stat-divider { display: none; }

    .stat-card { padding: 22px; }
    .stat-card-num { font-size: 2.4rem; }

    .post-card { width: 280px; }

    .faq-answer p { padding-right: 24px; }

    .closing-copy .btn { width: 100%; justify-content: center; }

}

@media (prefers-reduced-motion: reduce) {
    .accent-iris,
    .stat-bar-fill-iris,
    .footer-wordmark-iris,
    .hero-glow-a,
    .hero-glow-b,
    .footer-glints span { animation: none; }
    .rail { animation-duration: 160s; }
    html { scroll-behavior: auto; }
}
