/* The public site: chrome (header, menu, footer, legal pages) and the landing page.
   Every public page wears body.warm: cream paper, greige lines, sage deep sections, terracotta accents, bronze text. */

.warm {
  --cream: var(--cream-white); --cream-2: var(--cream-200); --card: #fbf9f4;
  --ink: var(--bronze); --ink-soft: #574c43; --ink-mute: var(--greige-700);
  --terra: var(--terracotta-ink); --terra-hi: var(--terracotta-deep); --deep: var(--sage-800);
  --ivory: var(--ink); --ivory-2: var(--ink-soft); --ash: var(--ink-mute);
  --brass: var(--terra); --brass-hi: var(--sage-700); --brass-lo: var(--greige-700);
  --line: rgba(59, 48, 41, .14);
  --display: "Instrument Sans", "Instrument Sans Fallback", Arial, sans-serif;
  color-scheme: light; background: var(--cream); color: var(--ink);
}
.warm ::selection { background: var(--sage-200); color: var(--ink); }
.warm :focus-visible { outline: 3px solid var(--sage-700); outline-offset: 3px; }
.warm .eyebrow { color: var(--terra); }
.warm .btn { --btn-fg: var(--ink); --btn-bd: rgba(59, 48, 41, .28); }
.warm .btn-primary { --btn-bg: var(--terra); --btn-fg: var(--cream-50); --btn-bd: var(--terra); box-shadow: 0 12px 28px -14px rgba(155, 80, 56, .75), inset 0 1px 0 rgba(255, 255, 255, .16); }
.warm .btn-primary:hover { --btn-bg: var(--terra-hi); --btn-bd: var(--terra-hi); }
.warm .btn-ghost:hover { --btn-bd: var(--ink); }
.warm .btn-quiet { --btn-bd: transparent; text-decoration: underline; text-decoration-color: rgba(155, 80, 56, .5); text-underline-offset: .3em; }
.warm .btn-quiet:hover { color: var(--terra); }
.warm .skip-link { background: var(--sage-800); color: var(--cream-white); }
html.menu-open, html.lb-open { overflow: hidden; }
section { position: relative; }

/* Deep sage surfaces: light tokens back. */
.warm .how, .warm .closing, .warm .site-footer, .warm .menu-sheet, .warm .lightbox {
  --ivory: var(--cream-white); --ivory-2: var(--sage-100); --ash: var(--sage-200); --brass: var(--terracotta-soft); --line: rgba(246, 242, 234, .18);
  color: var(--ivory);
}
.warm .how :focus-visible, .warm .closing :focus-visible, .warm .site-footer :focus-visible, .warm .menu-sheet :focus-visible, .warm .lightbox :focus-visible { outline-color: var(--cream-white); }
.warm .site-footer .eyebrow, .warm .lightbox .eyebrow, .warm .menu-sheet .eyebrow { color: var(--terracotta-soft); }
.warm .how .eyebrow, .warm .closing .eyebrow { color: var(--sage-100); }
.warm .menu-sheet .btn-primary, .warm .lightbox .btn-primary { --btn-bg: var(--cream-white); --btn-fg: var(--ink); --btn-bd: var(--cream-white); box-shadow: 0 14px 30px -16px rgba(30, 34, 27, .55); }

/* ── Header ───────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease-out); }
.site-header.is-scrolled { background: rgba(246, 242, 234, .88); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; margin-right: auto; }
.wordmark__name { font-size: 1.32rem; white-space: nowrap; }
.site-nav ul { display: flex; gap: clamp(12px, 1.8vw, 28px); list-style: none; margin: 0; padding: 0; }
.site-nav a, .link-quiet { position: relative; display: inline-flex; align-items: center; min-height: 40px; line-height: 1; font-size: .93rem; color: var(--ink-soft); text-decoration: none; transition: color .3s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.site-nav a:hover, .link-quiet:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.site-header__cta { flex: none; white-space: nowrap; box-shadow: 0 8px 20px -12px rgba(155, 80, 56, .7) !important; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(59, 48, 41, .25); background: transparent; color: var(--ink); font-size: .9rem; cursor: pointer; }
.menu-btn .icon { width: 18px; height: 18px; }
@media (max-width: 1020px) { .site-nav, .link-quiet { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 520px) { .site-header__inner { min-height: 62px; } .wordmark__name { font-size: 1.26rem; } }
@media (max-width: 480px) {
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 8px; }
  .site-header__cta { min-height: 40px; padding: .55em .95em; font-size: .86rem; }
  .menu-btn { width: 40px; padding: 0; justify-content: center; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359px) { .wordmark__name { font-size: 1.04rem !important; } .site-header__cta { padding-inline: .75em; } }

.menu-sheet { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 18px var(--gutter) calc(28px + env(safe-area-inset-bottom)); border: 0; background: var(--deep); display: none; flex-direction: column; }
.menu-sheet[open] { display: flex; animation: sheetIn .45s var(--ease-out); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-12px); } }
.menu-sheet::backdrop { background: transparent; }
.menu-sheet__top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.menu-sheet__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 242, 234, .32); background: none; color: inherit; cursor: pointer; }
.menu-sheet__nav { list-style: none; margin: 7vh 0 0; padding: 0; display: grid; gap: 4px; }
.menu-sheet__nav a { display: block; padding: 10px 0; font: 600 clamp(2rem, 9vw, 2.8rem)/1.1 var(--display); letter-spacing: -.035em; color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(246, 242, 234, .14); }
.menu-sheet__nav a:hover, .menu-sheet__nav a:focus-visible { color: var(--terracotta-soft); font: italic 400 clamp(2rem, 9vw, 2.8rem)/1.1 var(--serif); letter-spacing: -.02em; }
.menu-sheet__cta { margin-top: auto; }
.menu-sheet__by { margin: 16px 0 0; text-align: center; font: italic 400 1rem var(--serif); color: var(--sage-200); }
.warm .menu-sheet .wm, .warm .site-footer .wm { --wm-accent: var(--terracotta-soft); --wm-the: var(--sage-200); }

/* ── Footer ───────────────────────────────────────── */
.site-footer { padding: 56px 0 28px; background: var(--sage-800); border-top: 1px solid rgba(246, 242, 234, .1); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: start; }
.site-footer__name { font: 400 1.6rem/1 var(--serif); margin-bottom: 8px; }
.site-footer__byline { font: italic 400 1rem var(--serif); color: var(--sage-200); margin-bottom: 6px; }
.site-footer__where { font-size: .9rem; color: var(--sage-200); margin: 0; }
.site-footer__email { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.05rem; color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(232, 180, 158, .7); word-break: break-all; }
.site-footer__email:hover { color: var(--terracotta-soft); }
.site-footer__contact .eyebrow { margin-bottom: 4px; }
.site-footer__links { display: grid; gap: 2px; justify-items: start; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory-2); text-decoration: none; }
.site-footer__links a:hover { color: var(--ivory); text-decoration: underline; }
.site-footer__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--sage-200); font-size: .84rem; }
.site-footer__base p { margin: 0; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ── Legal pages, 404 ─────────────────────────────── */
.page-legal { padding: 140px 0 100px; }
.page-legal h1 { font-size: var(--step-4); margin: .3em 0 .6em; }
.err-page { min-height: 72vh; display: grid; align-items: center; }
.err-page .err-num { -webkit-text-stroke-color: var(--terracotta); }
.err-page .err-body { color: var(--ink-soft); }
.err-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Outline-only letters use a static, overlap-free cut of the sans (so strokes don't show the variable font's inner contours). */
@font-face { font-family: "Instrument Sans Outline"; src: url("/assets/fonts/instrument-sans-600-outline.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
/* ── Shared: kinetic mixed type ───────────────────── */
/* .kt: a heavy grotesk, an italic serif and outline-only letters in one line. */
.kt { font-family: var(--display); font-weight: 600; line-height: .9; letter-spacing: -.045em; text-wrap: nowrap; margin: 0; }
.kt__line { display: block; white-space: nowrap; }
.k-sans { font-family: var(--display); font-weight: 600; }
.k-serif { font: italic 400 1.04em/1 var(--serif); letter-spacing: -.035em; color: var(--terracotta); padding-right: .02em; }
.k-out { font-family: "Instrument Sans Outline", var(--display); color: transparent; -webkit-text-stroke: max(1.25px, .017em) var(--ink); }
.k-dot { color: var(--coral); font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
.kt .k-sans, .kt .k-serif, .kt .k-out, .kt .k-dot { display: inline-block; }
/* Scroll-in: each chunk rises out of its line (landing.js adds .is-in; no-JS shows it all). */
.js .kt--split .kt__line { overflow: clip; overflow-clip-margin: .2em; padding-bottom: .06em; margin-bottom: -.06em; }
.js .kt--split [class^="k-"] { transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .kt--split.is-in [class^="k-"] { transform: none; }

/* Paper: the crumpled texture (loaded once a section is near). */
.paper { background-color: var(--cream); }
.paper.is-tex, .no-js .paper { background-image: url("/assets/img/paper.webp"); background-image: image-set(url("/assets/img/paper.avif") type("image/avif"), url("/assets/img/paper.webp") type("image/webp")); background-size: cover; background-position: center; background-blend-mode: soft-light; }
.paper--deep { background-color: var(--sage-700); isolation: isolate; }
.paper--deep.is-tex, .no-js .paper--deep { background-image: none; }
.paper--deep::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; mix-blend-mode: soft-light; background: center / cover no-repeat; transition: opacity 1s var(--ease); }
.paper--deep.is-tex::before, .no-js .paper--deep::before { opacity: .35; background-image: url("/assets/img/paper.webp"); background-image: image-set(url("/assets/img/paper.avif") type("image/avif"), url("/assets/img/paper.webp") type("image/webp")); }

/* Tiny standing gnomes (decorative svgs from views/partials/gnomes/_crew.php). */
.gm, .ring, .badge__gnome { overflow: visible; }
.gm .g-arm, .ring .g-arm, .badge__gnome .g-arm { transform-box: view-box; transform-origin: 0 0; }
.gm .g-bob, .ring .g-bob, .badge__gnome .g-bob, .gm .g-blink, .ring .g-blink, .badge__gnome .g-blink { transform-box: fill-box; transform-origin: 50% 50%; }
.gm-wave { animation: gmWave 1.6s ease-in-out infinite; }
@keyframes gmWave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-26deg); } }
.gm .g-brush { animation: g-brush 2.2s ease-in-out infinite; }

/* Hero: each hero lives in its own partial (views/partials/hero/*.php) with its own stylesheet (e.g. css/hero-street.css). */
.btn-xl { min-height: 64px; padding: 1em 1.9em; font-size: 1.12rem; }
@media (max-width: 380px) { .btn-xl { min-height: 56px; } }

/* ── Marquee ──────────────────────────────────────── */
.marquee { overflow: clip; padding: clamp(18px, 3vw, 34px) 0; background: var(--cream-50); border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.marquee__run { display: flex; align-items: center; flex: none; gap: .4em; padding-right: .4em; font: 600 clamp(2.6rem, 8vw, 7.4rem)/1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.marquee__run .k-serif { font-size: 1.04em; }
.marquee__run [data-t]::before { content: attr(data-t); }
.marquee__star { flex: none; width: .32em; height: .32em; background: var(--terracotta); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ── Manifesto ────────────────────────────────────── */
.manifesto { padding: clamp(90px, 15vw, 210px) 0 clamp(80px, 12vw, 170px); overflow-x: clip; }
.manifesto__title { font-size: clamp(2.7rem, 10.4vw, 11.5rem); }
.manifesto__title .kt__line:nth-child(2) { text-align: right; }
.manifesto__body { display: grid; grid-template-columns: minmax(0, 36rem) auto; justify-content: end; align-items: end; gap: 30px; margin-top: clamp(28px, 5vw, 64px); }
.manifesto__lede { font-size: var(--step-2); line-height: 1.35; margin: 0; color: var(--ink); font-family: var(--serif); }
.manifesto__gnome { width: clamp(56px, 8vw, 110px); margin-right: clamp(14px, 3vw, 24px); }
@media (max-width: 640px) { .manifesto__body { grid-template-columns: 1fr auto; } }

/* ── Recent work: collage cases ───────────────────── */
.work { padding: clamp(80px, 11vw, 150px) 0 clamp(40px, 6vw, 80px); }
.work__head { display: grid; grid-template-columns: 1fr minmax(0, 22rem); align-items: end; gap: 12px 40px; margin-bottom: clamp(20px, 4vw, 40px); }
.work__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.work__title { font-size: clamp(3.2rem, 13vw, 13rem); }
.work__lede { margin: 0 0 .8em; color: var(--ink-soft); font-size: var(--step-1); }
@media (max-width: 760px) { .work__head { grid-template-columns: 1fr; } }
.case { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 84px); padding-block: clamp(46px, 7vw, 110px); }
.case + .case { border-top: 1px solid var(--line); }
.case--r .case__art { order: 2; }
.case__art { --tone: var(--sage-200); position: relative; aspect-ratio: 16 / 11.5; }
.case--terra .case__art { --tone: var(--terracotta-soft); }
.case--greige .case__art { --tone: var(--cream-300); }
.case--sage-deep .case__art { --tone: var(--sage-300); }
.case--terra-soft .case__art { --tone: #f0d3c4; }
.case__scrap { position: absolute; inset: 9% -3% 2% 12%; background: var(--tone) center / cover; background-blend-mode: soft-light; transform: rotate(-2.4deg); clip-path: polygon(0 3%, 6% 0, 18% 2%, 31% 0, 47% 3%, 63% 0, 78% 2%, 92% 0, 100% 4%, 98% 22%, 100% 41%, 98% 63%, 100% 82%, 97% 100%, 80% 97%, 62% 100%, 44% 97%, 27% 100%, 10% 97%, 0 100%, 2% 78%, 0 56%, 2% 34%, 0 17%); }
.case__art.is-in .case__scrap, .no-js .case__scrap { background-image: url("/assets/img/paper.webp"); background-image: image-set(url("/assets/img/paper.avif") type("image/avif"), url("/assets/img/paper.webp") type("image/webp")); }
.case--r .case__scrap { inset: 6% 10% 4% -3%; transform: rotate(2deg); }
.case__n { position: absolute; z-index: 1; top: -.34em; left: -.06em; font: 600 clamp(5rem, 15vw, 13.5rem)/1 "Instrument Sans Outline", var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); opacity: .85; pointer-events: none; }
.case--r .case__n { left: auto; right: -.04em; }
.case__shot { all: unset; position: absolute; z-index: 2; left: 5%; top: 14%; width: 76%; display: block; border-radius: 10px; overflow: hidden; background: var(--cream-50); cursor: zoom-in; transform: rotate(-1.6deg); box-shadow: 0 2px 0 rgba(59, 48, 41, .05), 0 34px 60px -30px rgba(59, 48, 41, .55), 0 0 0 1px rgba(59, 48, 41, .08); transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out); }
.case--r .case__shot { left: auto; right: 5%; transform: rotate(1.4deg); }
.case__shot:hover, .case__shot:focus-visible { transform: rotate(0) translateY(-6px); box-shadow: 0 50px 80px -36px rgba(59, 48, 41, .6), 0 0 0 1px rgba(59, 48, 41, .1); }
.case__shot:focus-visible { outline: 3px solid var(--sage-700); outline-offset: 5px; }
.case__shot img { width: 100%; transition: transform 1.6s var(--ease-out); }
.case__shot:hover img { transform: scale(1.03); }
.case__chrome { display: flex; gap: 6px; padding: 8px 11px; background: var(--cream-200); border-bottom: 1px solid rgba(59, 48, 41, .08); }
.case__chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--greige); }
.case__chrome i:first-child { background: var(--terracotta-soft); }
.case__phone { position: absolute; z-index: 3; right: 3%; bottom: -2%; width: 21%; padding: 4px; border-radius: 16px; background: var(--sage-700); transform: rotate(5deg); box-shadow: 0 30px 50px -24px rgba(59, 48, 41, .7); }
.case--r .case__phone { right: auto; left: 3%; transform: rotate(-5deg); }
.case__phone img { border-radius: 12px; }
.case__tape { position: absolute; z-index: 4; top: 9%; left: 38%; width: 17%; height: 6.5%; background: rgba(246, 242, 234, .72); transform: rotate(-7deg); box-shadow: 0 1px 2px rgba(59, 48, 41, .12); clip-path: polygon(2% 0, 98% 6%, 100% 30%, 97% 52%, 100% 76%, 98% 100%, 0 94%, 3% 70%, 0 48%, 3% 24%); }
.case--r .case__tape { left: auto; right: 34%; transform: rotate(6deg); }
.case__doodle { position: absolute; z-index: 4; right: -1%; bottom: -7%; width: 32%; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; opacity: .85; }
.case--r .case__doodle { right: auto; left: -1%; transform: scaleX(-1); }
.case__gnome { position: absolute; z-index: 4; bottom: -3%; right: 26%; width: 8.5%; }
.case--r .case__gnome { right: auto; left: 26%; }
.case__name { font: 600 clamp(2rem, 4.2vw, 3.6rem)/.98 var(--display); letter-spacing: -.04em; margin: 0 0 .4em; }
.case__outcome { font: 400 var(--step-1)/1.4 var(--serif); color: var(--ink); max-width: 28em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.tags li { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; }
.case__visit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--terra); text-decoration: underline; text-decoration-color: rgba(155, 80, 56, .4); text-underline-offset: .3em; }
.case__visit:hover { text-decoration-color: currentColor; }
.case__art.reveal { opacity: 1; transform: none; }
.js .case__art.reveal .case__shot { clip-path: inset(6% 6% 6% 6% round 10px); transition: clip-path 1.4s var(--ease-out), transform .9s var(--ease-out), box-shadow .9s var(--ease-out); }
.js .case__art.reveal.is-in .case__shot { clip-path: inset(0 round 10px); }
.js .case__art.reveal .case__phone { opacity: 0; translate: 0 40px; transition: opacity .9s var(--ease) .35s, translate 1.2s var(--ease-out) .35s; }
.js .case__art.reveal.is-in .case__phone { opacity: 1; translate: 0 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .case__n { animation: drift linear both; animation-timeline: view(); }
    .case__scrap { animation: drift2 linear both; animation-timeline: view(); }
  }
}
@keyframes drift { from { translate: 0 30%; } to { translate: 0 -30%; } }
@keyframes drift2 { from { translate: 0 6%; } to { translate: 0 -6%; } }
@media (max-width: 899px) {
  .case { grid-template-columns: 1fr; gap: 26px; }
  .case--r .case__art { order: 0; }
}

/* Lightbox */
.lightbox { width: min(1180px, 100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--sage-800); box-shadow: 0 50px 120px -30px rgba(40, 45, 36, .8), 0 0 0 1px rgba(246, 242, 234, .14); overflow: auto; }
.lightbox::backdrop { background: rgba(52, 58, 47, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn .5s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.lightbox__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 242, 234, .3); background: rgba(63, 69, 57, .8); color: var(--ivory); cursor: pointer; }
.lightbox__body { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 32px; padding: clamp(18px, 3vw, 40px); align-items: center; }
.lb__media { position: relative; padding-right: 12%; }
.lb__desktop { border-radius: 12px; overflow: hidden; background: var(--cream-200); box-shadow: 0 0 0 1px rgba(246, 242, 234, .16); }
.lb__scroll { max-height: min(68vh, 760px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--sage-300) transparent; }
.lb__scroll img { width: 100%; height: auto; }
.lb__hint { font-size: .86rem; color: var(--ash); margin: 0 0 4px; }
.lb__phone { position: absolute; right: 0; bottom: -6%; width: 26%; padding: 5px; border-radius: 18px; background: var(--sage-600); box-shadow: 0 30px 60px -24px rgba(40, 45, 36, .7); }
.lb__phone img { border-radius: 14px; }
.lb__name { font: 600 var(--step-3)/1 var(--display); letter-spacing: -.035em; margin: .3em 0 .5em; }
.lb__meta p:not(.eyebrow) { color: var(--ivory-2); }
@media (max-width: 760px) { .lightbox__body { grid-template-columns: 1fr; } .lb__hint { display: none; } .lb__scroll { max-height: 56vh; } }

/* ── How it works (deep sage) ─────────────────────── */
.how { padding: clamp(84px, 12vw, 160px) 0; overflow: clip; }
.how__head { margin-bottom: clamp(36px, 6vw, 80px); }
.how__title { font-size: clamp(2.8rem, 10vw, 10.5rem); }
.how__title .k-out { -webkit-text-stroke-color: var(--cream-white); }
.how__title .k-serif { color: var(--terracotta-soft); }
.how__title .kt__line:nth-child(2) { text-align: right; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.step { position: relative; display: grid; align-content: start; }
.step:nth-child(even) { margin-top: clamp(0px, 5vw, 80px); }
.step:nth-child(2) { --i: 1; } .step:nth-child(3) { --i: 2; } .step:nth-child(4) { --i: 3; }
.step__scene { margin: 0 -8% 6px; }
.step__n { font: 600 clamp(3.4rem, 6vw, 5.6rem)/1 "Instrument Sans Outline", var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.25px var(--terracotta-soft); }
.step__title { font: 600 var(--step-2)/1.05 var(--display); letter-spacing: -.03em; margin: .3em 0 .45em; }
.step p { color: var(--sage-100); margin: 0; }
@media (max-width: 1020px) { .how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:nth-child(even) { margin-top: 0; } }
@media (max-width: 600px) { .how__steps { grid-template-columns: 1fr; gap: 44px; } .step__scene { margin-inline: 0; } }

/* ── Working together ─────────────────────────────── */
.together { padding: clamp(84px, 12vw, 160px) 0; background: var(--cream-2); }
.together__head { display: grid; grid-template-columns: 1fr minmax(0, 24rem); align-items: end; gap: 14px 40px; margin-bottom: clamp(30px, 5vw, 70px); }
.together__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.together__title { font-size: clamp(2.8rem, 9vw, 9rem); }
.together__lede { margin: 0 0 .6em; color: var(--ink-soft); font-size: var(--step-1); }
.pledges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pledge { display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; padding: clamp(24px, 3.5vw, 44px) clamp(0px, 2vw, 30px) clamp(24px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line); }
.pledge:nth-child(odd) { border-right: 1px solid var(--line); }
.pledge:nth-child(even) { padding-left: clamp(18px, 3vw, 40px); }
.pledge__n { grid-row: span 2; font: 600 1rem/1.9 var(--display); color: var(--terra); }
.pledge h3 { font: 600 clamp(1.7rem, 3vw, 2.6rem)/1.02 var(--display); letter-spacing: -.035em; margin: 0 0 .35em; }
.pledge h3 em { font: italic 400 1.04em var(--serif); letter-spacing: -.02em; color: var(--terracotta-ink); }
.pledge p { margin: 0; color: var(--ink-soft); max-width: 32em; }
@media (max-width: 820px) {
  .together__head { grid-template-columns: 1fr; }
  .pledges { grid-template-columns: 1fr; }
  .pledge:nth-child(odd) { border-right: 0; }
  .pledge:nth-child(even) { padding-left: 0; }
}

/* ── Studio note ──────────────────────────────────── */
.note { padding: clamp(84px, 12vw, 160px) 0; }
.note__inner { max-width: 62rem; }
.note__quote { margin: 0; }
.note__quote p { font: 300 clamp(1.6rem, 3.3vw, 2.9rem)/1.22 var(--serif); letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; }
.note__quote p::first-letter { font: italic 400 1.5em/1 var(--serif); color: var(--terracotta-ink); }
.note__sig { display: flex; align-items: center; gap: 14px; font: 600 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.note__rule { width: 48px; height: 1px; background: var(--terra); }
.capacity { margin-top: clamp(40px, 6vw, 80px); padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px); border-radius: 22px; background: var(--terracotta-deep); color: var(--cream-50); box-shadow: 0 30px 60px -40px rgba(134, 69, 47, .8); }
.capacity__title { font: 600 var(--step-2)/1.15 var(--display); letter-spacing: -.025em; margin: 0 0 .5em; max-width: 26em; }
.capacity__next { display: flex; align-items: center; gap: 10px; margin: 0; color: #f6e3d9; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-white); animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(246, 242, 234, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(246, 242, 234, 0); } }

/* ── FAQ ──────────────────────────────────────────── */
.faq { padding: clamp(84px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 6vw, 96px); align-items: start; }
.faq__title { font-size: clamp(2rem, 4.3vw, 5rem); margin-top: .2em; }
@media (max-width: 899px) { .faq__title { font-size: 9.4vw; } }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 var(--step-1)/1.25 var(--display); letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { color: var(--terracotta); transition: transform .5s var(--ease-out); }
.qa[open] summary .icon { transform: rotate(45deg); }
.qa summary:hover { color: var(--terra); }
.qa__a { padding: 0 0 26px; color: var(--ink-soft); max-width: 40em; }
.qa[open] .qa__a { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 899px) { .faq__grid { grid-template-columns: 1fr; } }

/* ── Closing band ─────────────────────────────────── */
.closing { padding: clamp(90px, 13vw, 170px) 0 clamp(80px, 11vw, 140px); overflow: clip; }
.closing__inner { display: grid; justify-items: center; text-align: center; gap: clamp(26px, 4vw, 48px); }
.closing__title { font-size: clamp(2.7rem, 10.6vw, 11.5rem); width: 100%; }
.closing__title .kt__line:first-child { text-align: left; }
.closing__title .kt__line:last-child { text-align: right; }
.closing__title .k-out { -webkit-text-stroke-color: var(--cream-white); }
.closing__title .k-serif { color: var(--terracotta-soft); }
.closing__cta { position: relative; width: min(440px, 84vw); aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring__path { fill: none; stroke: rgba(246, 242, 234, .22); stroke-width: 1.2; stroke-dasharray: 2 7; }
.ring__spin { transform-origin: 0 0; animation: spin 80s linear infinite; }
.ring__hop { animation: hop 1.8s ease-in-out infinite; }
.ring__spin > g:nth-child(2) .ring__hop { animation-delay: -0.27s; }
.ring__spin > g:nth-child(3) .ring__hop { animation-delay: -0.54s; }
.ring__spin > g:nth-child(4) .ring__hop { animation-delay: -0.81s; }
.ring__spin > g:nth-child(5) .ring__hop { animation-delay: -1.08s; }
.ring__spin > g:nth-child(6) .ring__hop { animation-delay: -1.35s; }
.ring__spin > g:nth-child(7) .ring__hop { animation-delay: -1.62s; }
.ring__spin > g:nth-child(8) .ring__hop { animation-delay: -1.89s; }
.ring__spin > g:nth-child(9) .ring__hop { animation-delay: -2.16s; }
.ring__spin > g:nth-child(10) .ring__hop { animation-delay: -2.43s; }
.ring__spin > g:nth-child(11) .ring__hop { animation-delay: -2.70s; }
.ring__spin > g:nth-child(12) .ring__hop { animation-delay: -2.97s; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-7px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.closing__btn { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--terracotta-ink); color: var(--cream-50); text-decoration: none; font: 600 clamp(1.05rem, 2.2vw, 1.4rem)/1.1 var(--display); letter-spacing: -.02em; box-shadow: 0 30px 60px -24px rgba(30, 34, 27, .7), inset 0 1px 0 rgba(255, 255, 255, .18); transition: transform .6s var(--ease-out), background-color .4s; }
.closing__btn span { max-width: 7em; }
.closing__btn:hover { background: var(--terracotta-deep); transform: scale(1.04); }
.closing__btn .icon { width: 1.4em; height: 1.4em; transition: transform .45s var(--ease-out); }
.closing__btn:hover .icon { transform: translateX(5px); }
.closing__btn:focus-visible { outline: 3px solid var(--cream-white); outline-offset: 6px; }
.closing__lede { margin: 0; color: var(--sage-100); font-size: var(--step-1); max-width: 30em; }

/* ── Floating badge ───────────────────────────────── */
.badge { position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-50); color: var(--ink); text-decoration: none; box-shadow: 0 18px 40px -18px rgba(59, 48, 41, .55), 0 0 0 1px rgba(59, 48, 41, .1); transition: opacity .45s var(--ease), transform .6s var(--ease-out), visibility 0s; }
.badge.is-off { opacity: 0; transform: scale(.6) rotate(-30deg); visibility: hidden; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge__ring text { font: 700 16px var(--sans); letter-spacing: .04em; fill: var(--ink); }
.badge__gnome { width: 40%; margin-top: 6%; transition: transform .5s var(--ease-out); }
.badge::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(183, 101, 74, .35); }
.badge:hover { transform: scale(1.06); }
.badge:hover .badge__gnome { transform: translateY(-4px) rotate(-6deg); }
.badge:hover .badge__ring { animation-duration: 6s; }
.badge:focus-visible { outline: 3px solid var(--sage-700); outline-offset: 4px; }
@media (max-width: 640px) { .badge { width: 84px; height: 84px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); } .badge__ring text { font-size: 18px; letter-spacing: .02em; } }

/* ── Reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .ring__spin, .ring__hop, .badge__ring, .pulse, .gm *, .ring *, .badge__gnome * { animation: none !important; }
  .js .kt--split [class^="k-"] { transform: none; transition: none; }
  .js .case__art.reveal .case__shot { clip-path: none; }
  .js .case__art.reveal .case__phone { opacity: 1; translate: none; }
  .badge, .badge.is-off { transition: none; }
  .qa[open] .qa__a, .lightbox[open] { animation: none; }
}

/* Windows high contrast: plain type only. */
@media (forced-colors: active) { .badge__gnome, .ring { display: none; } }
