/* Megalux - site styles. Layout and rhythm follow the approved reference; code is our own. */
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0e0e0e;
  --panel: #141414;
  --fg: #f2f2f2;
  --soft: #c6c6c6;
  --muted: #a9a9a9;
  --dim: #5c5c5c;
  --line: #2b2b2b;
  --green: #303930;
  --green-2: #545e54;
  --olive: #6e6554;
  --card: #d4cccc;
  --ink: #2a2a2a;
  --lime: #d6f29a;
  --gut: 5.55vw;
  --sans: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
@media (max-width: 1023px) { :root { --gut: 4.1vw; } }
@media (max-width: 639px) { :root { --gut: 5.97vw; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 2000; padding: 10px 14px; background: var(--fg); color: var(--bg); font-family: var(--mono); font-size: 12px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 47px var(--gut) 0; mix-blend-mode: difference; color: var(--fg); pointer-events: none; }
.hdr > * { pointer-events: auto; }
.hdr-logo { display: block; width: 143px; transform-origin: 0 0; }
.hdr-logo svg { width: 100%; height: auto; overflow: hidden; }
.wm { fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; }
.wm path { transform-box: fill-box; }
.hdr-nav { display: flex; gap: 0; }
.bl { font-family: var(--mono); font-size: 14px; line-height: 1; text-transform: uppercase; display: inline-flex; align-items: center; gap: .55em; white-space: nowrap; }
.bl .roll { position: relative; display: inline-block; overflow: hidden; height: 1em; line-height: 1; }
.bl .roll > span { display: block; transition: transform .45s var(--ease-out); }
.bl .roll > span + span { position: absolute; left: 0; top: 100%; }
.bl:hover .roll > span, .bl:focus-visible .roll > span { transform: translateY(-100%); }
.hdr-nav .bl { margin-left: 64px; }
.hdr-nav--hero { display: flex; }
.hdr-nav--compact { display: none; }
/* past the hero the four links stay (so every visible target remains clickable) and [ MENU ] joins them */
.hdr-nav--hero { margin-left: auto; }
html.past-hero .hdr-nav--compact { display: flex; }
@media (min-width: 1024px) { html.past-hero:not(.page-legal) .hdr-contact { display: none; } }
html.menu-open .hdr-nav--hero { display: none; }
html.menu-open .hdr-nav--compact { display: flex; }
html.menu-open .hdr-contact { visibility: hidden; }
.bl .menu-label-close { display: none; }
html.menu-open .bl .menu-label-open { display: none; }
html.menu-open .bl .menu-label-close { display: inline-block; }
@media (max-width: 1023px) {
  .hdr { padding-top: 6vh; }
  .hdr-nav--hero { display: none; }
  .hdr-nav--compact { display: flex; }
  .hdr-contact { display: none !important; }
  .hdr-logo { width: 120px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bg); }
.hero-top { position: relative; min-height: 100vh; min-height: 100svh; padding: 0 var(--gut) 8vh; display: flex; flex-direction: column; justify-content: space-between; }
.hero-mark { padding-top: 85px; color: var(--fg); }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
html.logo-live .hero-mark { visibility: hidden; }
html.motion:not(.page-legal):not(.logo-live) .hdr-logo { visibility: hidden; }
.hero-copy { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 12vh; padding-bottom: 17vh; }
.hero-title { font-size: clamp(40px, 4.44vw, 84px); line-height: 1.1; letter-spacing: -.005em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: block; }
.hero-lede { font-family: var(--mono); font-size: clamp(11px, 1.11vw, 18px); line-height: 1.5; color: var(--soft); max-width: 25em; padding-bottom: 8px; letter-spacing: .01em; }

.stage-wrap { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; padding: 0 var(--gut); overflow: hidden; }
.stage { position: relative; width: min(72.2vw, 115vh); aspect-ratio: 16 / 9; margin-top: 5vh; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.motion .stage-img { visibility: hidden; }
.tiles { position: absolute; inset: 0; }
.tile { position: absolute; width: calc(100% / 6 + 1px); height: calc(100% / 4 + 1px); background-image: url("../img/hero-1536.webp"); background-size: 600% 400%; background-repeat: no-repeat; will-change: transform, filter, opacity; }
.tile.ghost { background: #c7cec4; }
.stage-over { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; pointer-events: none; }
.stage-box { position: absolute; left: 33.333%; top: 37.5%; width: 33.333%; height: 25%; background: var(--bg); }
html.motion .hero-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
html.motion .hero-pin .stage-wrap { position: absolute; inset: 0; }
.stage-word { position: relative; grid-column: 2; width: 26vw; max-width: 460px; color: var(--fg); }
.stage-word svg { width: 100%; height: auto; overflow: hidden; }
.stage-note { position: relative; font-size: clamp(10px, .9vw, 14px); line-height: 1.35; color: #fff; }
.stage-note--l { grid-column: 1; justify-self: start; align-self: start; margin: 23% 0 0 9%; max-width: 12em; }
.stage-note--r { grid-column: 3; justify-self: end; align-self: end; margin: 0 7% 21% 0; font-family: var(--mono); font-size: clamp(9px, .7vw, 12px); line-height: 1.5; color: rgba(255,255,255,.85); }
.reel { position: absolute; inset: 0; pointer-events: none; }
.reel-frame { position: absolute; inset: -9% -11%; background: #000; opacity: 0; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
html:not(.motion) .reel { display: none; }
html:not(.motion) .stage-box { display: none; }
html:not(.motion) .stage-over { display: none; }
html:not(.motion) .grow, html:not(.motion) .how { background: var(--green); }
html:not(.motion) .about { background: var(--olive); }
html:not(.motion) .how-track { width: auto; overflow-x: auto; }
html.motion .ftr-mark .ltr { transform: translateY(118%); }
html.motion .hdr-nav { opacity: 0; }
/* page intro runs in CSS so it paints with the first frame (no wait for JS) */
@keyframes mx-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes mx-rise-svg { from { transform: translateY(118%); } to { transform: none; } }
@keyframes mx-soft { from { transform: translateY(14px); filter: blur(6px); opacity: .25; } to { transform: none; filter: none; opacity: 1; } }
html.motion .hero-title .ln > span { animation: mx-rise 1.1s cubic-bezier(.16, 1, .3, 1) .25s both; }
html.motion .hero-title .ln + .ln > span { animation-delay: .34s; }
html.motion .hero-lede { animation: mx-soft 1s cubic-bezier(.22, .61, .36, 1) .2s both; }
html.motion .hdr-logo .ltr, html.motion .hero-mark .ltr { animation: mx-rise-svg 1.15s cubic-bezier(.16, 1, .3, 1) both; }
html.motion .hdr-logo g > g:nth-child(1) .ltr, html.motion .hero-mark g > g:nth-child(1) .ltr { animation-delay: .15s; }
html.motion .hdr-logo g > g:nth-child(2) .ltr, html.motion .hero-mark g > g:nth-child(2) .ltr { animation-delay: .205s; }
html.motion .hdr-logo g > g:nth-child(3) .ltr, html.motion .hero-mark g > g:nth-child(3) .ltr { animation-delay: .26s; }
html.motion .hdr-logo g > g:nth-child(4) .ltr, html.motion .hero-mark g > g:nth-child(4) .ltr { animation-delay: .315s; }
html.motion .hdr-logo g > g:nth-child(5) .ltr, html.motion .hero-mark g > g:nth-child(5) .ltr { animation-delay: .37s; }
html.motion .hdr-logo g > g:nth-child(6) .ltr, html.motion .hero-mark g > g:nth-child(6) .ltr { animation-delay: .425s; }
html.motion .hdr-logo g > g:nth-child(7) .ltr, html.motion .hero-mark g > g:nth-child(7) .ltr { animation-delay: .48s; }
html.motion .hero-copy { will-change: transform; }

/* ---------- section heads ---------- */
.h2 { font-size: clamp(32px, 4vw, 72px); line-height: 1.12; letter-spacing: -.01em; }
.ulink { font-family: var(--mono); font-size: clamp(14px, 1.38vw, 22px); text-transform: uppercase; letter-spacing: .03em; padding-bottom: 6px; border-bottom: 1.5px solid currentColor; display: inline-flex; gap: .4em; white-space: nowrap; transition: color .1s var(--ease), border-color .1s var(--ease); }
.ulink:hover { color: var(--muted); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }

/* ---------- services cards ---------- */
.work { padding: 10vh var(--gut) 11.7vh; background: var(--bg); }
.work .head-row { margin-bottom: 14vh; }
.cards { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 120px; }
.card { position: relative; }
.card-media { position: relative; overflow: hidden; background: #1a1a1a; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; transition: transform 1.2s var(--ease-out); }
.card-media img { transition: filter .6s var(--ease); }
.card:hover .card-media img { filter: brightness(1.08); }
.card-media .chips { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chip { font-family: var(--mono); font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; padding: 9px 10px; background: rgba(14,14,14,.86); border: 1px solid rgba(255,255,255,.1); color: var(--fg); }
.card-cap { padding: 28px 0 0; }
.card-cap h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(18px, 1.67vw, 28px); line-height: 1.25; }
.card-cap h3::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--muted); flex: none; }
.card-cap p { margin: 14px 0 0 21px; font-family: var(--mono); font-size: clamp(11px, 1vw, 15px); line-height: 1.65; text-transform: uppercase; color: var(--muted); max-width: 30em; }
.card--a { width: 57.7%; } .card--a .card-media { aspect-ratio: 738 / 585; }
.card--b { width: 32.3%; margin-top: 156px; } .card--b .card-media { aspect-ratio: 413 / 430; }
.card--c { width: 83.1%; margin: 0 auto; } .card--c .card-media { aspect-ratio: 1064 / 556; }
.card--d { width: 32.2%; } .card--d .card-media { aspect-ratio: 412 / 410; }
.card--e { width: 57.8%; } .card--e .card-media { aspect-ratio: 740 / 560; }

/* ---------- intent statement ---------- */
.intent { padding: 15.6vh var(--gut) 8vh; background: var(--bg); overflow: hidden; }
.statement { font-size: clamp(30px, 5vw, 92px); line-height: 1.07; letter-spacing: -.015em; text-indent: 15.4vw; }
.statement .w { display: inline; }
.intent-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 11vh; }
.intent-foot p { font-family: var(--mono); font-size: clamp(12px, 1.11vw, 18px); line-height: 1.5; color: var(--soft); max-width: 34em; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 10vh 0 12vh; background: var(--bg); }
.marquee-track { display: flex; gap: 42px; width: max-content; will-change: transform; }
.mq { flex: none; width: clamp(150px, 14.3vw, 260px); aspect-ratio: 205 / 222; display: grid; place-items: center; background: #151515; border: 1px solid #262626; font-size: clamp(16px, 1.75vw, 30px); letter-spacing: -.01em; color: var(--fg); text-align: center; padding: 12px; }
.mq:nth-child(3n+1) { transform: rotate(.6deg); }
.mq:nth-child(3n+2) { transform: rotate(-.4deg) translateY(3px); }

/* ---------- where we help (list) ---------- */
.help { padding: 6vh var(--gut) 12vh; background: var(--bg); }
.help .h2 { margin-bottom: 9vh; }
.help-list { margin: 0 6.1vw 0 7.6vw; }
.help-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 28px; border-bottom: 1px solid #3a3a3a; }
.help-row h3 { font-family: var(--mono); font-size: clamp(16px, 1.67vw, 28px); line-height: 1.5; color: #808080; letter-spacing: .02em; transition: color .4s var(--ease), transform .6s var(--ease-out); }
.help-row p { display: none; }
.help-row .num { font-family: var(--mono); font-size: 12px; color: var(--fg); }
.help-row:hover h3 { color: var(--fg); transform: translateX(14px); }

/* ---------- grow (pinned object) ---------- */
.tone { background: var(--bg); }
.grow { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.grow-rings { position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, rgba(255,255,255,.06) 0 18%, transparent 18.2% 30%, rgba(255,255,255,.04) 30.2% 44%, transparent 44.2% 60%, rgba(255,255,255,.025) 60.2% 78%, transparent 78.2%); opacity: 0; }
.grow-obj { position: absolute; left: 50%; top: 44%; width: min(58vw, 96vh); aspect-ratio: 1; transform: translate(-50%, -50%); }
.grow-obj img { width: 100%; height: 100%; object-fit: contain; }
.grow-obj .g-grey { position: absolute; inset: 0; filter: grayscale(1) brightness(1.45) contrast(1.35); }
.grow-obj .g-col { position: absolute; inset: 0; }
html.motion .grow-obj .g-col { opacity: 0; }
html:not(.motion) .grow-obj .g-grey { display: none; }
.grow-text { position: absolute; left: var(--gut); bottom: 13vh; font-size: clamp(22px, 2.6vw, 46px); line-height: 1.2; max-width: 13.5em; }
.grow-text span { display: block; }
.grow-text span:nth-child(2) { opacity: .88; }
.grow-text span:nth-child(3) { opacity: .76; }
.grow-text span:nth-child(4) { opacity: .64; }
.note { position: absolute; display: flex; align-items: flex-start; gap: 16px; font-family: var(--mono); font-size: clamp(11px, 1.35vw, 21px); line-height: 1.45; letter-spacing: .04em; color: var(--fg); }
.note i { flex: none; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.55); position: relative; }
.note i::after { content: ""; position: absolute; inset: 6px; background: rgba(255,255,255,.18); }
.note--1 { left: 57%; top: 13%; }
.note--2 { right: 67%; top: 40%; flex-direction: row-reverse; text-align: right; }
.note--3 { left: 71%; top: 66%; }

/* ---------- process cards ---------- */
.how { position: relative; padding: 22vh 0 0; overflow: hidden; }
.how .head-row { padding: 0 var(--gut); }
.how-sub { margin-top: 16px; font-family: var(--mono); font-size: clamp(11px, 1vw, 15px); color: var(--soft); max-width: 30em; }
.wave { position: relative; margin: 7vh var(--gut) 0; height: 22px; display: flex; align-items: center; justify-content: center; }
.wave::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(255,255,255,.14); }
.wave svg { position: relative; width: 40px; height: 22px; color: rgba(255,255,255,.75); background: var(--green); padding: 0 6px; box-sizing: content-box; }
.how-track { display: flex; gap: 2.1vw; padding: 7vh var(--gut) 16vh; width: max-content; will-change: transform; }
.step { flex: none; width: clamp(260px, 28.5vw, 470px); min-height: clamp(280px, 30vw, 500px); background: var(--card); color: var(--ink); padding: 24px 24px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.step:nth-child(2) { margin-top: 44px; } .step:nth-child(3) { margin-top: 78px; } .step:nth-child(4) { margin-top: 30px; } .step:nth-child(5) { margin-top: 62px; }
.step-top { display: flex; align-items: center; gap: 12px; }
.step-top .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--fg); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; }
.step-top b { display: block; font-weight: 400; font-size: 14px; line-height: 1.3; }
.step-top small { display: block; font-family: var(--mono); font-size: 11px; color: #474747; }
.step p { font-size: clamp(15px, 1.25vw, 20px); line-height: 1.45; color: var(--ink); }

/* ---------- about (olive) ---------- */
.about { padding: 16vh var(--gut) 16vh; }
.about-text { font-size: clamp(22px, 2.75vw, 48px); line-height: 1.22; letter-spacing: -.01em; text-indent: 5.3vw; max-width: 22.5em; }
.about-text .w { color: rgba(242,242,242,.66); }
html:not(.motion) .about-text .w { color: var(--fg); }
.acc { display: flex; gap: 12px; margin-top: 9vh; height: clamp(320px, 30.5vw, 520px); }
.acc-item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow .8s var(--ease-out); outline: none; }
.acc-item.on { flex-grow: 3.5; }
.acc-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.acc-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6)); opacity: .25; transition: opacity .6s var(--ease); }
.acc-item.on::after { opacity: 1; }
.acc-body { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .7s var(--ease-out); min-width: 260px; }
.acc-item.on .acc-body { opacity: 1; transform: none; transition-delay: .25s; }
.acc-body h3 { font-size: clamp(17px, 1.4vw, 24px); line-height: 1.25; }
.acc-body p { margin-top: 10px; font-family: var(--mono); font-size: 11px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 28em; }
.acc-body a { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.acc-tag { position: absolute; right: 14px; top: 14px; z-index: 1; font-family: var(--mono); font-size: 9px; text-transform: uppercase; padding: 6px 8px; background: rgba(14,14,14,.6); }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--bg); padding: 110px var(--gut) 32px; overflow: hidden; }
.ftr-cols { display: grid; grid-template-columns: 17.6% 26.9% 34.2% 1fr; gap: 0; }
.ftr .fh { font-family: var(--mono); font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 0; text-transform: uppercase; margin: 0 0 22px; }
.ftr-col { font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--fg); padding-right: 24px; }
.ftr-col li + li { margin-top: 10px; }
.ftr-col p + p { margin-top: 6px; }
.ftr-col .lbl { color: var(--muted); }
.mailrow { display: flex; align-items: stretch; max-width: 340px; }
.mailrow a.mail { flex: 1; background: #1a1a1a; padding: 10px 12px; font-size: 12px; color: var(--fg); overflow-wrap: anywhere; }
.mailrow .go { width: 40px; display: grid; place-items: center; background: var(--green-2); transition: background .2s var(--ease); }
.mailrow .go:hover { background: #6b766b; }
.ftr-col .tel { display: inline-block; margin-top: 16px; }
.ftr-col .hint { margin-top: 14px; font-size: 12px; color: var(--soft); max-width: 24em; }
.ftr-mark { margin: 14vh 0 6vh; color: var(--fg); }
.ftr-mark svg { width: 100%; height: auto; overflow: hidden; }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; text-transform: uppercase; color: var(--muted); }
.ftr-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr-bottom a:hover { color: var(--fg); }

/* ---------- menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 900; background: var(--bg); display: none; padding: 0 var(--gut); }
html.menu-open .menu { display: block; }
.menu-inner { display: grid; grid-template-columns: 1fr 1fr; height: 100%; align-items: start; padding: 21vh 0 90px 8.3vw; }
.menu-links li { overflow: hidden; }
.menu-links a { display: block; font-size: clamp(44px, 5.4vw, 96px); line-height: 1.5; letter-spacing: -.01em; transition: color .2s var(--ease); }
.menu-links a:hover { color: var(--muted); }
.menu-card { align-self: start; padding-top: 14px; max-width: 410px; }
.menu-card .pic { aspect-ratio: 410 / 220; overflow: hidden; }
.menu-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.menu-card .mc-title { margin-top: 16px; font-size: 18px; font-family: var(--sans); color: var(--fg); }
.menu-card p { margin-top: 6px; font-family: var(--mono); font-size: 11px; color: var(--soft); }
.menu-card .mailrow { margin-top: 30px; }
.menu-card .tel { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 13px; }
.menu-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.menu-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- cookie note ---------- */
.cookie { position: fixed; right: var(--gut); bottom: 56px; z-index: 950; width: 360px; max-width: calc(100vw - 2 * var(--gut)); background: var(--panel); border: 1px solid #2a2a2a; padding: 24px 22px 22px; }
.cookie[hidden] { display: none; }
.cookie-head { display: flex; gap: 14px; align-items: flex-start; }
.cookie-head svg { width: 36px; flex: none; color: var(--soft); }
.cookie-head p { font-size: 16px; line-height: 1.4; }
.cookie-text { margin-top: 16px; font-family: var(--mono); font-size: 11px; line-height: 1.4; color: var(--muted); }
.cookie-act { display: flex; gap: 24px; align-items: center; margin-top: 16px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.cookie-act button { color: var(--fg); border-bottom: 1.5px solid currentColor; padding-bottom: 4px; text-transform: uppercase; font-size: 11px; font-family: var(--mono); }
.cookie-act a { color: #8a8a8a; }
.cookie-act a:hover { color: var(--fg); }

/* ---------- motion start states (only with JS + motion allowed) ---------- */
html.motion .rv { opacity: 0; transform: translateY(40px); }

/* ---------- legal pages ---------- */
.legal { padding: 170px var(--gut) 120px; background: var(--bg); }
.legal-in { max-width: 760px; margin-left: 15.3vw; }
.legal h1 { font-size: clamp(36px, 4vw, 72px); line-height: 1.1; letter-spacing: -.01em; }
.legal .upd { margin-top: 18px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.legal h2 { margin-top: 56px; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.3; }
.legal p, .legal li { margin-top: 14px; font-size: 16px; line-height: 1.7; color: #d8d8d8; }
.legal ul { margin-top: 8px; padding-left: 0; }
.legal li { padding-left: 22px; position: relative; margin-top: 8px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border: 1px solid var(--muted); }
.legal a { text-decoration: underline; text-decoration-color: rgba(242,242,242,.4); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.legal a:hover { text-decoration-color: var(--fg); }
.legal dl { margin: 22px 0 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; border-top: 1px solid var(--line); }
.legal dt, .legal dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.legal dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); padding-top: 17px; }
.legal dd { color: var(--fg); }
html.page-legal .hdr-nav--hero { display: none; }
html.page-legal .hdr-nav--compact { display: flex; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .hero-mark { padding-top: calc(6vh + 40px); }
  .hero-top { justify-content: flex-start; }
  .hero-copy { flex-direction: column; align-items: flex-start; margin-top: 7vh; gap: 28px; padding-bottom: 6vh; }
  .hero-title { font-size: clamp(34px, 7.4vw, 60px); }
  .stage { width: 100%; margin-top: 0; }
  .cards { row-gap: 72px; }
  .card--a, .card--b, .card--c, .card--d, .card--e { width: 100%; margin-top: 0; }
  .card--b .card-media, .card--d .card-media { aspect-ratio: 4 / 3; }
  .ftr-cols { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .menu-inner { grid-template-columns: 1fr; align-content: center; gap: 48px; padding: 110px 0 90px; }
  .help-list { margin: 0; }
  .note--1 { left: 55%; top: 16%; } .note--2 { right: 58%; top: 36%; } .note--3 { left: 60%; top: 60%; }
  .grow-obj { width: min(80vw, 62vh); top: 40%; }
  .legal-in { margin-left: 0; }
}
@media (max-width: 639px) {
  .hdr { padding-top: 5.5vh; }
  .hdr-logo { width: 118px; }
  .hero-mark { padding-top: calc(5.5vh + 46px); }
  .hero-title { font-size: 10.3vw; line-height: 1.12; }
  .hero-lede { font-size: 11px; }
  .stage { aspect-ratio: 4 / 3.4; }
  .stage-word { width: 46vw; }
  .stage-note--l, .stage-note--r { display: none; }
  .work { padding-top: 8vh; }
  .work .head-row, .how .head-row, .intent-foot { flex-direction: column; align-items: flex-start; }
  .work .head-row { margin-bottom: 7vh; }
  .card-media .chips { right: 10px; bottom: 10px; left: 10px; }
  .chip { font-size: 8px; padding: 6px 7px; }
  .card-cap p { margin-left: 0; }
  .statement { text-indent: 0; font-size: 7.7vw; line-height: 1.15; }
  .intent-foot { margin-top: 6vh; gap: 24px; }
  .marquee { padding: 7vh 0 8vh; }
  .marquee-track { gap: 14px; }
  .help-row h3 { font-size: 15px; }
  .grow-text { bottom: 9vh; font-size: 6.4vw; right: var(--gut); }
  .note { font-size: 10px; gap: 8px; }
  .note i { width: 22px; height: 22px; }
  .note i::after { inset: 4px; }
  .note--1 { left: 50%; top: 13%; } .note--2 { right: 54%; top: 25%; } .note--3 { left: 52%; top: 55%; }
  .how-track { gap: 14px; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12vh; }
  .step { scroll-snap-align: start; }
  .step { width: 76vw; min-height: 300px; }
  .acc { flex-direction: column; height: auto; gap: 10px; }
  .acc-item, .acc-item.on { flex: none; height: 300px; }
  .acc-item .acc-body { opacity: 1; transform: none; }
  .acc-item::after { opacity: 1; }
  .about-text { text-indent: 0; }
  .ftr { padding-top: 80px; }
  .ftr-cols { grid-template-columns: 1fr; row-gap: 40px; }
  .ftr-mark { margin: 9vh 0 4vh; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; font-size: 11px; }
  .menu-links a { font-size: 12vw; }
  .cookie { bottom: 16px; right: var(--gut); padding: 18px 16px 16px; }
  .legal { padding-top: 140px; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dt { border-bottom: 0; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.grow { background: var(--bg); }

/* ---------- final QA ---------- */
h1, h2, .statement, .h2, .hero-title .ln > span, .grow-text, .card-cap h3 { text-wrap: balance; }
.about-text, .legal p, .card-cap p, .step p, .intent-foot p, .hero-lede { text-wrap: pretty; }
.mailrow a.mail, .ftr-col .tel, .menu-card .tel, .acc-body a, .legal a { transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.mailrow a.mail:hover { background: #232323; }
.ftr-col .tel:hover, .menu-card .tel:hover, .acc-body a:hover { color: var(--muted); }
.cookie-act button:hover { color: var(--muted); }
.menu-foot a:hover { color: var(--fg); }
.acc-item:focus-visible { outline: 1px solid var(--fg); outline-offset: 2px; }
.card-media .chips { pointer-events: none; }
@media (pointer: coarse) {
  .bl, .ulink, .cookie-act button, .cookie-act a, .acc-body a, .ftr-col .tel, .menu-card .tel { padding-top: 15px; padding-bottom: 15px; margin-top: -15px; margin-bottom: -15px; }
  .ulink { padding-top: 17px; margin-top: -17px; padding-bottom: 8px; margin-bottom: 0; }
  .hdr-logo { position: relative; }
  .hdr-logo::after { content: ""; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -14px; }
  .ftr-bottom nav, .menu-foot nav { row-gap: 4px; }
  .ftr-bottom a, .menu-foot a { display: inline-block; padding: 14px 0; margin: -14px 0; }
  .ftr-col li + li { margin-top: 14px; }
  .mailrow a.mail, .mailrow .go { min-height: 44px; display: flex; align-items: center; }
  .mailrow .go { width: 44px; justify-content: center; }
}
.nf { min-height: 70vh; }
.nf .upd { margin: 0 0 18px; }
.nf h1 + p { margin-top: 24px; }
.nf .ulink { border-bottom: 1.5px solid currentColor; text-decoration: none; }
.ftr-bottom p, .menu-foot > span { text-transform: none; }
.ftr-bottom a, .menu-foot a { display: inline-block; padding: 5px 0; }
.ftr-bottom nav, .menu-foot nav { row-gap: 12px; column-gap: 22px; }
html.cookie-open .ftr { padding-bottom: 240px; }
html.motion:not(.logo-live) .stage-over, html.motion:not(.logo-live) .stage-box { visibility: hidden; }
@media (pointer: coarse) { .ftr-bottom a, .menu-foot a { padding: 14px 0; margin: -14px 0; } }
.cookie-act button { min-width: 44px; text-align: left; }
html.menu-open .cookie { display: none; }
.menu { overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 1023px) {
  .menu-inner { align-content: start; height: auto; min-height: 100%; padding: calc(5.5vh + 70px) 0 110px; gap: 36px; }
  .menu-links a { line-height: 1.3; }
  .menu-foot { position: static; padding-bottom: 28px; }
}
html.menu-open .hdr-logo { transform: none !important; }
html.menu-open .hdr-nav { opacity: 1 !important; }
