/* ==========================================================================
   Marshal by Headway — product pages
   Display: Bricolage Grotesque · Text: Geist · Labels: Geist Mono
   ========================================================================== */

:root {
    --ink: #0c0d0c;
    --ink-2: #131513;
    --ink-3: #1b1e1b;
    --paper: #efece4;
    --paper-2: #e4e0d4;
    --text: #f1efe8;
    --text-dim: #a19f97;
    --text-ink: #121311;
    --text-ink-dim: #5d5b54;
    --line: rgba(241, 239, 232, .12);
    --line-ink: rgba(18, 19, 17, .14);
    --radius: 14px;
    --gutter: clamp(16px, 4vw, 56px);
    --maxw: 1440px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
    --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Eyebrow -------------------------------------------------------------- */
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--text-dim); }
.eyebrow__idx { color: var(--accent); }
.eyebrow__rule { width: 36px; height: 1px; background: currentColor; opacity: .5; }

.h2 {
    font-family: var(--display);
    font-weight: 650;
    font-variation-settings: "wdth" 85;
    font-size: clamp(2.2rem, 5.4vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.035em;
    max-width: 16ch;
    text-wrap: balance;
}
.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 96px); }

/* Buttons --------------------------------------------------------------- */
.btn {
    --h: 54px;
    position: relative;
    display: inline-flex; align-items: center; gap: 12px;
    height: var(--h); padding: 0 24px;
    border-radius: 999px;
    font-weight: 550; font-size: 15px;
    overflow: hidden; isolation: isolate;
    transition: color .4s var(--ease), border-color .4s var(--ease);
    will-change: transform;
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__arrow { font-style: normal; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--text); }
.btn--accent:hover { color: var(--ink); }
.btn--line { border: 1px solid currentColor; color: inherit; }
.btn--line::before { background: currentColor; }
.btn--line:hover > span { color: var(--ink); }
.is-light .btn--line:hover > span { color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--text); }
.btn--dark::before { background: var(--text); }
.btn--dark:hover { color: var(--ink); }
.btn > span { position: relative; transition: color .4s var(--ease); }

/* Curtain --------------------------------------------------------------- */
.curtain { display: none; }
.js .curtain {
    display: block;
    position: fixed; inset: 0; z-index: 200;
    background: var(--accent); color: var(--accent-ink);
    pointer-events: none;
}
.curtain__inner {
    position: absolute; inset: auto var(--gutter) 28px;
    display: flex; justify-content: space-between; align-items: end;
}
.curtain__count { font-size: clamp(48px, 9vw, 120px); font-family: var(--display); letter-spacing: -.04em; text-transform: none; line-height: .8; }

/* Cursor ---------------------------------------------------------------- */
.cursor {
    position: fixed; left: 0; top: 0; z-index: 150;
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border-radius: 50%; background: var(--accent);
    pointer-events: none; opacity: 0;
    display: grid; place-items: center;
    mix-blend-mode: normal;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor__label { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); opacity: 0; transition: opacity .3s; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Nav ------------------------------------------------------------------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 100;
    padding-top: 14px;
    transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner {
    width: calc(100% - 2 * var(--gutter) + 24px); max-width: calc(var(--maxw) - 2 * var(--gutter) + 24px);
    margin: 0 auto; height: 60px; padding: 0 10px 0 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: color-mix(in srgb, var(--ink) 95%, transparent);
    /* no backdrop blur: re-blurring the page under the nav every frame was a third of all scroll work */
    border: 1px solid var(--line); border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand__mark { width: 30px; height: 22px; }
.brand__tile { width: 44px; height: 32px; border-radius: 9px; background: #f4f4f2; display: grid; place-items: center; flex: none; }
.brand__tile img { width: 32px; height: auto; }
.brand__word { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand__by { color: var(--text-dim); font-size: 10.5px; }
.nav__links { display: flex; gap: 4px; }
.nav__link { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--text-dim); transition: color .3s, background .3s; }
.nav__link .mono { font-size: 10px; margin-right: 4px; opacity: .7; }
.nav__link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav__link.is-current { color: var(--text); background: rgba(255,255,255,.09); }
.nav__link.is-current .mono { color: var(--accent); opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__ghost { font-size: 14.5px; padding: 8px 12px; color: var(--text-dim); transition: color .3s; }
.nav__ghost:hover { color: var(--text); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.nav__burger span:not(.sr-only) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 23px; }
.menu-open .nav__burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 90;
    background: var(--ink-2);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
}
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 32px; gap: 28px; }
.menu__eyebrow { color: var(--text-dim); }
.menu__list { display: grid; gap: 4px; }
.menu__link { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-weight: 650; font-size: clamp(2.6rem, 11vw, 4.6rem); letter-spacing: -.04em; line-height: 1.05; }
.menu__link .mono { color: var(--accent); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-dim); margin-top: auto; }

@media (max-width: 1080px) {
    .nav__links { display: none; }
    .nav__burger { display: block; }
}
@media (max-width: 560px) {
    .brand__by, .nav__ghost { display: none; }
    .nav__inner { width: calc(100% - 24px); }
}

/* Frames (browser chrome) ---------------------------------------------- */
.frame {
    position: relative;
    background: #fff; color: var(--text-ink);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.frame__bar, .stage__bar {
    display: flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 12px;
    background: #f3f3f1; border-bottom: 1px solid #e3e3df;
}
.frame__bar i, .stage__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d5d0; }
.frame__url {
    margin-left: 12px; padding: 3px 12px; border-radius: 999px;
    background: #fff; border: 1px solid #e3e3df; color: #6b6a64;
    font-size: 11px; text-transform: none; letter-spacing: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; min-width: 0;
}
.frame img { width: 100%; height: auto; cursor: zoom-in; }

/* Hero ------------------------------------------------------------------ */
.hero, .hub-hero { position: relative; padding-top: clamp(130px, 16vw, 190px); overflow: hidden; }
.hero__grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--line) 1px, transparent 1px);
    background-size: 100% 64px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
    opacity: .5;
}
.hero__inner { position: relative; }
.hero__title {
    margin: 28px 0 40px;
    font-family: var(--display);
    font-weight: 700;
    font-variation-settings: "wdth" 88, "opsz" 96;
    font-size: clamp(3rem, 9.6vw, 9.8rem);
    line-height: .92;
    letter-spacing: -.035em;
}
.hero__line { display: block; }
.hero__line.is-accent { color: var(--accent); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px 64px; align-items: end; }
.hero__lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--text-dim); max-width: 58ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; color: var(--text-dim); font-size: 14.5px; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.hero__stage { position: relative; margin-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(80px, 10vw, 140px); perspective: 1600px; }
.frame--hero { transform-origin: 50% 0%; z-index: 1; }
.hero__glow {
    position: absolute; left: 10%; right: 10%; top: 10%; height: 70%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent);
    filter: blur(60px); opacity: .55; z-index: 0;
}
@media (max-width: 820px) {
    .hero__row { grid-template-columns: 1fr; }
}

/* Marquee --------------------------------------------------------------- */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; }
.marquee__item {
    display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
    font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 85;
    font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.03em; white-space: nowrap;
}
.marquee__item i { font-style: normal; font-size: .55em; opacity: .7; }

/* Light sections -------------------------------------------------------- */
.intro, .chapters, .steps, .faq { background: var(--paper); color: var(--text-ink); }
.intro .eyebrow, .chapters .eyebrow, .steps .eyebrow, .faq .eyebrow { color: var(--text-ink-dim); }
.is-light { color: var(--text-ink); }

/* Intro ----------------------------------------------------------------- */
.intro { padding: clamp(90px, 12vw, 180px) 0 clamp(70px, 9vw, 130px); }
.intro__inner { display: grid; gap: 40px; }
.intro__statement {
    font-family: var(--display); font-weight: 550; font-variation-settings: "wdth" 90;
    font-size: clamp(1.9rem, 4.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em;
    max-width: 22ch; text-wrap: balance;
}
.intro__statement .w { display: inline-block; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-ink); margin-top: clamp(30px, 5vw, 70px); }
.stat { padding: 28px 24px 0 0; display: grid; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-ink); }
.stat__value { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.05em; font-variation-settings: "wdth" 80; }
.stat__label { color: var(--text-ink-dim); max-width: 26ch; font-size: 15px; }
@media (max-width: 720px) {
    .stats { grid-template-columns: 1fr; }
    .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-ink); margin-top: 28px; }
}

/* Chapters -------------------------------------------------------------- */
.chapters { padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 10vw, 160px); }
.chapters__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 80px); }
.chapter { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line-ink); }
.chapter:last-child { min-height: 70vh; }
.chapter__meta { display: flex; gap: 14px; color: var(--text-ink-dim); margin-bottom: 22px; }
.chapter__meta span { color: var(--text-ink); }
.chapter__title { font-family: var(--display); font-weight: 650; font-variation-settings: "wdth" 88; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 18px; text-wrap: balance; }
.chapter__body { color: var(--text-ink-dim); max-width: 46ch; }
.chapter__bullets { margin-top: 24px; display: grid; gap: 0; }
.chapter__bullets li { padding: 11px 0; border-bottom: 1px solid var(--line-ink); font-size: 15.5px; display: flex; gap: 12px; }
.chapter__bullets li::before { content: "↳"; color: var(--text-ink-dim); }
.chapter.is-active .chapter__meta span { color: var(--accent); filter: brightness(.8); }
.frame--inline { display: none; margin-top: 28px; }

.chapters__stage { position: relative; }
.stage {
    position: sticky; top: 15vh;
    border-radius: var(--radius); overflow: hidden; background: #fff;
    box-shadow: 0 50px 100px -40px rgba(20,20,10,.45), 0 0 0 1px var(--line-ink);
}
.stage__url { position: relative; display: inline-block; min-width: 260px; height: 21px; }
.stage__url span { position: absolute; left: 12px; right: 12px; top: 3px; opacity: 0; transition: opacity .4s; overflow: hidden; text-overflow: ellipsis; }
.stage__url span.is-on { opacity: 1; }
.stage__screens { position: relative; aspect-ratio: 16 / 10.4; background: #fff; }
.stage__screens img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: contain; object-position: top center;
    background: #fff;
    clip-path: inset(100% 0 0 0);
    cursor: zoom-in;
}
.stage__screens img:first-child { clip-path: inset(0 0 0 0); }
.no-js .stage__screens img:first-child, .reduced .stage__screens img.is-on { clip-path: inset(0 0 0 0); }
.stage__progress { height: 3px; background: #ecebe6; }
.stage__progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.stage__count { position: sticky; top: calc(15vh + 100%); margin-top: 14px; color: var(--text-ink-dim); }

@media (max-width: 960px) {
    .chapters__grid { grid-template-columns: minmax(0, 1fr); }
    .chapters__stage { display: none; }
    .frame--inline { display: block; }
    .chapter, .chapter:last-child { min-height: 0; padding: 48px 0; }
}

/* Phones (horizontal scroll) -------------------------------------------- */
.phones { background: var(--ink); overflow: hidden; }
.phones__pin { padding: clamp(90px, 10vw, 150px) 0 clamp(70px, 8vw, 110px); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(40px, 5vw, 70px); }
.phones__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px 64px; align-items: end; }
.phones__head .eyebrow { grid-column: 1 / -1; }
.phones__body { color: var(--text-dim); max-width: 40ch; }
.phones__track { display: flex; gap: clamp(20px, 2.6vw, 40px); padding-inline: var(--gutter); width: max-content; }
.phone { width: clamp(220px, 21vw, 300px); flex: none; display: grid; gap: 18px; }
.phone__device {
    border-radius: 34px; overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 7px #222522, 0 0 0 8px #3a3d3a, 0 40px 70px -30px rgba(0,0,0,.8);
    aspect-ratio: 520 / 1018;
    margin: 8px;
}
.phone__device img { width: 100%; height: 100%; object-fit: cover; object-position: top; cursor: zoom-in; }
.phone figcaption { color: var(--text-dim); font-size: 15px; display: grid; gap: 6px; padding: 0 8px; }
.phone figcaption .mono { color: var(--accent); }
/* Desktop: the section is pinned while the phones slide sideways, so it
   must fit inside one screen — headline clear of the nav, phones sized
   from the screen height. */
@media (min-width: 821px) {
    .phones__pin { height: 100svh; min-height: 0; box-sizing: border-box; justify-content: flex-start; padding: clamp(96px, 12vh, 132px) 0 clamp(20px, 3vh, 40px); gap: clamp(18px, 3vh, 40px); }
    .phones__head .h2 { font-size: clamp(2rem, min(3.6vw, 6vh), 4.2rem); max-width: 20ch; }
    .phones__head .eyebrow { margin-bottom: 0; }
    .phone { width: clamp(140px, calc((100svh - 470px) * .52), 300px); gap: 12px; }
    .phone figcaption { font-size: 14px; }
}
@media (max-width: 820px) {
    .phones__head { grid-template-columns: 1fr; }
    .phones__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; -webkit-overflow-scrolling: touch; }
    .phone { scroll-snap-align: center; width: 70vw; max-width: 280px; }
}

/* Gallery --------------------------------------------------------------- */
.gallery { background: var(--ink); padding: 0 0 clamp(90px, 10vw, 150px); }
.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.gallery__item { grid-column: span 6; }
.gallery__item:nth-child(3n+1) { grid-column: 1 / span 7; }
.gallery__item:nth-child(3n+2) { grid-column: 8 / span 5; margin-top: 18%; }
.gallery__item:nth-child(3n) { grid-column: 3 / span 8; }
.gallery__item figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(12,13,12,.82); color: var(--text); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 720px) {
    .gallery__item, .gallery__item:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
}

/* Steps ----------------------------------------------------------------- */
.steps { padding: clamp(90px, 10vw, 150px) 0; }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.step { padding: 30px 28px 10px 0; border-top: 2px solid var(--text-ink); display: grid; gap: 14px; align-content: start; }
.step + .step { padding-left: 28px; }
.step__num { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .85; letter-spacing: -.05em; }
.step h3 { font-family: var(--display); font-weight: 650; font-size: 1.6rem; letter-spacing: -.02em; }
.step p { color: var(--text-ink-dim); }
@media (max-width: 820px) { .steps__list { grid-template-columns: 1fr; } .step + .step { padding-left: 0; margin-top: 24px; } }

/* Features -------------------------------------------------------------- */
.features { padding: clamp(90px, 11vw, 170px) 0; background: var(--ink); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature {
    position: relative; padding: 34px 30px 44px 0;
    border-bottom: 1px solid var(--line);
    display: grid; gap: 12px; align-content: start;
}
.feature:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.feature__num { color: var(--accent); }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: -.02em; line-height: 1.1; }
.feature p { color: var(--text-dim); font-size: 15.5px; max-width: 40ch; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.feature:hover::after { transform: scaleX(1); }
@media (max-width: 960px) {
    .features__grid { grid-template-columns: 1fr 1fr; }
    .feature:nth-child(n) { padding-left: 0; border-left: 0; }
    .feature:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
    .features__grid { grid-template-columns: 1fr; }
    .feature:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* Pricing --------------------------------------------------------------- */
.pricing { background: var(--accent); color: var(--accent-ink); padding: clamp(80px, 10vw, 150px) 0; }
.pricing__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px 64px; align-items: end; }
.pricing__title { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 82; font-size: clamp(2.4rem, 6.4vw, 6.4rem); line-height: .92; letter-spacing: -.045em; text-wrap: balance; }
.pricing__side { display: grid; gap: 24px; justify-items: start; font-size: 17px; }
@media (max-width: 820px) { .pricing__inner { grid-template-columns: 1fr; } }

/* FAQ ------------------------------------------------------------------- */
.faq { padding: clamp(90px, 10vw, 150px) 0; }
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 80px; }
.faq__inner .h2 { margin-top: 28px; }
.faq__list { border-top: 1px solid var(--line-ink); }
.qa { border-bottom: 1px solid var(--line-ink); }
.qa summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 26px 0;
    font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.55rem); letter-spacing: -.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 18px; height: 18px; flex: none; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 0 26px; color: var(--text-ink-dim); max-width: 60ch; }
@media (max-width: 820px) { .faq__inner { grid-template-columns: 1fr; } }

/* Closing --------------------------------------------------------------- */
.closing { padding: clamp(100px, 13vw, 200px) 0 clamp(60px, 7vw, 100px); background: var(--ink); }
.closing__title { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 86; font-size: clamp(2.8rem, 8.2vw, 8.4rem); line-height: .92; letter-spacing: -.038em; max-width: 14ch; text-wrap: balance; }
.closing__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; margin-top: 48px; }
.closing__row p { color: var(--text-dim); max-width: 52ch; font-size: 18px; }
@media (max-width: 820px) { .closing__row { grid-template-columns: 1fr; } }

/* Index (product list with hover preview) ------------------------------ */
.index { position: relative; background: var(--ink); padding: 40px 0 clamp(80px, 9vw, 130px); }
.index--compact { padding-top: 20px; }
.index .eyebrow { margin-bottom: 28px; }
.index__list { border-top: 1px solid var(--line); }
.index__row {
    position: relative;
    display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px;
    padding: clamp(18px, 2.4vw, 30px) 0;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.index__row::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: var(--row-accent); transform: scaleY(0); transform-origin: bottom;
    transition: transform .6s var(--ease);
}
.index__row > * { position: relative; z-index: 1; transition: color .4s var(--ease), transform .6s var(--ease); }
.index__num { color: var(--text-dim); padding-left: 8px; }
.index__name { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 86; font-size: clamp(2.4rem, 7vw, 6.6rem); line-height: .95; letter-spacing: -.04em; }
.index__desc { color: var(--text-dim); max-width: 38ch; }
.index__go { font-size: 28px; justify-self: end; padding-right: 8px; }
@media (hover: hover) {
    .index__row:hover::before { transform: scaleY(1); }
    .index__row:hover > * { color: #0c0d0c; }
    .index__row:hover .index__name { transform: translateX(14px); }
    .index__row:hover .index__go { transform: rotate(-45deg); }
}
@media (max-width: 820px) {
    .index__row { grid-template-columns: 44px 1fr 30px; }
    .index__desc { grid-column: 2 / 3; font-size: 14.5px; }
    .index__go { grid-row: 1; grid-column: 3; }
}
.preview {
    position: fixed; left: 0; top: 0; z-index: 60;
    width: min(420px, 32vw); aspect-ratio: 16 / 10;
    border-radius: 12px; overflow: hidden;
    pointer-events: none; opacity: 0; transform: scale(.6);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}
.preview img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (hover: none) { .preview { display: none; } }

/* Hub ------------------------------------------------------------------- */
.hub-hero { padding-bottom: 40px; }
.hub-hero__word {
    font-family: var(--display); font-weight: 750;
    font-variation-settings: "wdth" 75, "opsz" 96;
    font-size: min(33vw, 36rem);
    line-height: .8; letter-spacing: -.045em;
    margin: 28px 0 36px -0.04em;
    white-space: nowrap;
}
.hub-hero__word .char { display: inline-block; }
.hub-hero__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.hub-hero__lede { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.3rem); line-height: 1.12; letter-spacing: -.02em; max-width: 26ch; }
.hub-hero__count { color: var(--text-dim); text-align: right; line-height: 1.7; }

.stack { background: var(--ink); padding: clamp(80px, 9vw, 130px) 0 0; }
.stack__cards { display: grid; gap: 0; }
.card {
    position: relative;
    min-height: 100vh; display: flex; align-items: center;
    background: var(--card-accent); color: var(--card-ink);
    border-radius: 28px 28px 0 0;
    padding: clamp(60px, 8vw, 100px) 0;
    transform-origin: 50% 0;
}
.card__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.card__kicker { opacity: .7; margin-bottom: 18px; }
.card__name { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 82; font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: .92; letter-spacing: -.045em; margin-bottom: 20px; }
.card__summary { font-size: 18px; max-width: 40ch; opacity: .85; }
.proof--card { color: inherit; opacity: .9; margin: 28px 0 32px; flex-direction: column; gap: 10px; }
.proof--card svg { color: inherit; }
.btn--card { background: var(--card-ink); color: var(--card-accent); }
.btn--card::before { background: #fff; }
.btn--card:hover { color: #0c0d0c; }
.card .btn--line:hover > span { color: var(--card-accent); }
.card__shot { box-shadow: 0 50px 90px -40px rgba(0,0,0,.6); }
@media (max-width: 960px) {
    .card { min-height: 0; }
    .card__inner { grid-template-columns: 1fr; }
}
.principles { border-top: 1px solid var(--line); }

/* Footer ---------------------------------------------------------------- */
.foot { background: var(--ink-2); padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; border-top: 1px solid var(--line); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 80px; }
.foot__cta { display: grid; gap: 28px; justify-items: start; }
.foot__title { font-family: var(--display); font-weight: 650; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: .98; letter-spacing: -.04em; max-width: 12ch; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot__head { color: var(--text-dim); margin-bottom: 18px; }
.foot__cols li { margin-bottom: 10px; font-size: 15px; color: var(--text-dim); }
.foot__cols a { color: var(--text); opacity: .85; transition: opacity .3s, color .3s; font-size: 15px; overflow-wrap: anywhere; }
.foot__cols a:hover { opacity: 1; color: var(--accent); }
.foot__word {
    font-family: var(--display); font-weight: 750; font-variation-settings: "wdth" 75;
    font-size: clamp(5rem, 24vw, 25rem); line-height: .78; letter-spacing: -.045em;
    margin: clamp(60px, 9vw, 120px) 0 30px -0.04em;
    color: transparent; -webkit-text-stroke: 1px var(--line);
    background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 0 / 0% 100%;
    -webkit-background-clip: text; background-clip: text;
    white-space: nowrap;
}
.foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-dim); font-size: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.foot__logo { width: 120px; height: auto; opacity: .9; }
.foot__brand .brand__by { display: inline; }
@media (max-width: 900px) {
    .foot__top { grid-template-columns: 1fr; }
    .foot__cols { grid-template-columns: 1fr 1fr; }
}

/* Lightbox -------------------------------------------------------------- */
.lightbox {
    position: fixed; inset: 0; z-index: 250;
    background: rgba(8, 9, 8, .92);
    backdrop-filter: blur(8px);
    display: grid; place-items: center; padding: 64px var(--gutter) 40px;
    opacity: 0; visibility: hidden;
}
.lightbox__fig { max-width: min(1600px, 100%); max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox__fig img { max-height: calc(100vh - 140px); width: auto; border-radius: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lightbox__fig figcaption { color: var(--text-dim); text-transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); font-size: 26px; line-height: 1; }
.lightbox__close:hover { background: var(--accent); color: var(--accent-ink); }

/* Initial (pre-animation) states, only when JS + motion are on ---------- */
.js:not(.reduced) [data-reveal],
.js:not(.reduced) [data-hero-fade] { opacity: 0; }
.js:not(.reduced) [data-hero-title],
.js:not(.reduced) [data-hub-word],
.js:not(.reduced) [data-split] { visibility: hidden; }

/* Split helpers */
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Page transition (js/transitions.js) ------------------------------------ */
.pt { position: fixed; inset: 0; z-index: 400; pointer-events: all; overflow: hidden; }
.pt__band { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; }
.pt__band:nth-child(2) { height: 100%; }
.pt__panel { position: absolute; inset: 0; display: grid; place-items: end start; padding: 0 var(--gutter) 28px; }
.pt__name { overflow: hidden; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; }
.pt__name span { display: block; }
.pt__shot { position: fixed; z-index: 2; object-fit: cover; object-position: top left; border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }

/* ==========================================================================
   House style — Headway, the Marshal hub and marshal.co.ls.
   Labels are plain sentence case; no section eyebrows, no arrows on
   buttons, no index numbers on things that aren't sequences.
   ========================================================================== */
.eyebrow { display: none; }
.btn__arrow, .index__go, .index__num { display: none; }
.index__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-inline: 8px; }
@media (max-width: 820px) { .index__row { grid-template-columns: 1fr; gap: 6px; } .index__desc { grid-column: 1; } }
.hero__line.is-accent { color: inherit; }
.hero__glow { display: none; }
.feature__num { display: none; }
.feature::after { content: none; }

