@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage.woff2) format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono.woff2) format('woff2');
  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;
}

/* Layout concept: the homepage is a film edit. A jump-cut title sequence lands on a scrubbable reel, and every product is a color-graded scene. */
:root {
  color-scheme: dark;
  --bg: #070a14; --surface: #0e1322; --ink: #f3f5fb; --muted: #aab3c6; --line: rgba(255,255,255,.16); --chip: rgba(255,255,255,.08);
  --cut: #ff4d42; --on-p: #0a0d16; --foot: #05070f;
  --c-cut: #7c97ff; --c-put: #3fd0bd; --c-reply: #ff74be; --c-proj: #b596ff; --c-glim: #f5b552;
  --g-cut: #081250; --g-put: #03332e; --g-reply: #3f062c; --g-proj: #1c0c57; --g-glim: #2e1807;
  --scene-a: #1a2350; --scene-b: #3b3a78; --scene-c: #c9785a; --scene-ink: #f6f2ea; --scene-land: #141a38; --beacon: #ffd27a;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }
.wrap {
  width: 100%; max-width: 1360px; margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* Stage */
.stage {
  --now: var(--c-cut);
  position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden;
  min-height: max(640px, 100vh); min-height: max(640px, 100svh); background-color: var(--g-cut);
}
#gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,6,14,.62), rgba(4,6,14,.12) 46%, transparent 62%),
    linear-gradient(0deg, rgba(4,6,14,.74), transparent 34%),
    radial-gradient(120% 90% at 66% 42%, transparent 44%, rgba(4,6,14,.6));
}
.flash { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
#flash-word {
  position: relative; display: inline-block; font-family: var(--display); font-weight: 800; line-height: 1;
  letter-spacing: -.045em; white-space: nowrap; color: var(--ink);
}
#flash-word.hit { animation: hit .16s cubic-bezier(.2,.9,.2,1); }
#flash-word.slash { color: var(--cut); animation: chop .2s steps(3); }
#flash-word.slash::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .075em; background: var(--ink);
  transform: rotate(-5deg); transform-origin: left; animation: slice .12s ease-out;
}
@keyframes hit { from { transform: scale(1.14); } to { transform: none; } }
@keyframes chop { 0% { transform: translate(-1.2%, .8%); } 50% { transform: translate(1.2%, -.8%); } 100% { transform: none; } }
@keyframes slice { from { transform: rotate(-5deg) scaleX(0); } to { transform: rotate(-5deg) scaleX(1); } }

.stage-ui { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; padding-top: 84px; }
.is-intro .stage-ui, .is-intro .site-header { opacity: 0; pointer-events: none; animation: failsafe 0s 4.2s forwards; }
@keyframes failsafe { to { opacity: 1; pointer-events: auto; } }
.stage.land .now, .stage.land .tl, .stage.land .eyebrow { animation: fade .55s ease .16s backwards; }
.stage.land .tl { animation: rise-tl .6s cubic-bezier(.16,1,.3,1) .1s backwards; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-tl { from { transform: translateY(90px); opacity: 0; } to { transform: none; opacity: 1; } }

.hero-main { flex: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: 16px 22px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 17px; }
h1 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-size: clamp(46px, min(14vw, 14vh), 142px); }
h1 .line { display: block; }
.w { display: inline-block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; vertical-align: top; }
.w > span { display: inline-block; line-height: 1; }
.stage.land .w:not(.last) > span { animation: rise .6s cubic-bezier(.16,1,.3,1) backwards; animation-delay: calc(var(--n) * 48ms); }
.stage.hold #last-word { visibility: hidden; }
@keyframes rise { from { transform: translateY(112%); } to { transform: none; } }

.now { flex: none; width: min(340px, 100%); }
.now p { margin: 0; }
@media (min-width: 861px) {
  .now { padding: 12px 14px; border-radius: 8px; background: rgba(6,8,18,.56); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.now-label { color: var(--muted); }
.now-name { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; color: var(--now); transition: color .3s; }
.now-tag { min-height: 2.7em; font-size: 16px; line-height: 1.35; }
.now-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 14.5px; font-weight: 600; }
.now-links a { text-underline-offset: 3px; }
.now.swap .now-name, .now.swap .now-tag { animation: swap .36s cubic-bezier(.16,1,.3,1); }
@keyframes swap { from { transform: translateY(10px); opacity: .1; } to { transform: none; opacity: 1; } }

.tl { padding-bottom: max(18px, env(safe-area-inset-bottom, 0px)); }
.tl-bar { display: flex; align-items: center; gap: 8px 14px; margin-bottom: 9px; color: var(--muted); flex-wrap: wrap; }
.tl-bar .spacer { flex: 1; }
.ghost { padding: 4px 10px; border: 1px solid var(--line); border-radius: 5px; background: rgba(6,8,18,.4); cursor: pointer; color: var(--ink); }
.ghost:hover { background: rgba(255,255,255,.12); }
#tc { color: var(--ink); font-size: 14px; }
.tl-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; height: 62px; touch-action: none; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.tl-clip {
  position: relative; min-width: 0; overflow: hidden; padding: 7px 9px; border: 0; border-right: 2px solid rgba(4,6,14,.85);
  background: color-mix(in srgb, var(--p) 24%, rgba(6,8,18,.72)); color: var(--ink); text-align: left; cursor: inherit; transition: background .25s, color .25s;
  display: flex; align-items: flex-start;
}
.tl-clip:first-child { border-radius: 6px 0 0 6px; }
.tl-clip:last-child { border-radius: 0 6px 6px 0; border-right: 0; }
.tl-clip.is-on { background: var(--p); color: var(--on-p); }
.tl-clip b { position: relative; z-index: 1; font-family: var(--display); font-size: 15px; line-height: 1.1; white-space: nowrap; }
.wave { position: absolute; left: 0; right: 0; bottom: 5px; height: 26px; display: flex; align-items: center; gap: 2px; padding-inline: 8px; opacity: .42; }
.wave i { flex: 1 1 0; min-width: 1px; background: currentColor; border-radius: 1px; }
.tl-head { position: absolute; top: -7px; bottom: -7px; left: 0; width: 2px; margin-left: -1px; background: var(--cut); box-shadow: 0 0 14px 2px var(--cut); border-radius: 1px; }
.tl-head::before { content: ""; position: absolute; left: .5px; bottom: 100%; width: 1px; height: 100vh; background: linear-gradient(0deg, var(--cut), transparent 62%); opacity: .38; pointer-events: none; }
.tl-head::after { content: ""; position: absolute; left: -5px; top: -3px; border: 6px solid transparent; border-top-color: var(--cut); }

/* Product scenes */
.band { --p: var(--c-cut); --grade: var(--g-cut); overflow: clip; background: linear-gradient(180deg, var(--grade), color-mix(in srgb, var(--grade) 42%, var(--bg))); scroll-margin-top: 0; }
.band > .wrap { padding-block: clamp(56px, 8vw, 116px); }
.kind { margin: 0 0 4px; color: var(--p); font-weight: 600; font-size: 15px; }
.giant { margin: 0; font-family: var(--display); font-weight: 800; color: var(--p); font-size: clamp(44px, 11.6vw, 172px); line-height: .96; letter-spacing: -.05em; white-space: nowrap; --from: -5%; }
.band:nth-of-type(even) .band-head { text-align: right; }
.band:nth-of-type(even) .giant { --from: 5%; }
.band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 76px); align-items: center; margin-top: clamp(24px, 4vw, 52px); }
.band:nth-of-type(even) .copy { order: 2; }
.copy { min-width: 0; }
.tagline { margin: 0 0 10px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.desc { margin: 0 0 16px; color: var(--muted); max-width: 48ch; }
.facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; font-size: 15.5px; }
.facts li { display: flex; gap: 10px; }
.facts li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em; background: var(--p); border-radius: 1px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.visit { font-weight: 600; color: var(--p); text-underline-offset: 3px; }
.price { color: var(--muted); font-size: 14.5px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 6px; cursor: pointer; background: var(--p); color: var(--on-p); border: 0; font-family: var(--body); font-size: 14px; font-weight: 600; }
.btn:hover { filter: brightness(1.1); }

.panel { min-width: 0; background: color-mix(in srgb, var(--grade) 34%, #05070f); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--p) 55%, transparent); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.panel-body { padding: 16px; }
.panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--muted); }

#cw-text { display: flex; flex-wrap: wrap; gap: 3px 2px; font-size: 20px; line-height: 1.5; min-height: 118px; align-content: flex-start; }
.word { padding: 0 4px; border: 0; border-radius: 3px; background: none; cursor: pointer; }
.word:hover { background: color-mix(in srgb, var(--p) 22%, transparent); }
.word.is-cut { color: var(--cut); text-decoration: line-through; text-decoration-thickness: 2px; }
#cw-line { display: flex; height: 30px; margin-top: 14px; gap: 1px; border-radius: 4px; overflow: hidden; background: color-mix(in srgb, var(--cut) 26%, transparent); }
#cw-line i { display: block; min-width: 0; background: var(--p); transition: flex-grow .3s ease; }

#pw-stage { position: relative; height: 196px; }
.pw-folders { position: absolute; inset: 0 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; color: var(--p); font-weight: 600; font-size: 13px; opacity: 0; transition: opacity .3s; }
.sorted .pw-folders { opacity: 1; }
.file {
  position: absolute; width: 30.5%; height: 31px; padding: 0 7px; line-height: 29px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--mono); font-size: 10.5px; background: #10262a; border: 1px solid var(--line); border-radius: 5px;
  transition: left .55s cubic-bezier(.3,.9,.3,1), top .55s cubic-bezier(.3,.9,.3,1), transform .55s;
}

.chat { display: flex; flex-direction: column; gap: 7px; min-height: 252px; }
.bubble { max-width: 82%; padding: 6px 11px; border-radius: 12px; font-size: 14.5px; line-height: 1.35; background: var(--chip); align-self: flex-start; }
.bubble.out { align-self: flex-end; background: var(--p); color: var(--on-p); }
.bubble.comment { max-width: 100%; border: 1px dashed var(--line); background: none; color: var(--muted); }
.bubble.comment b { color: var(--ink); }
.chat.play .bubble { animation: pop .34s ease backwards; animation-delay: calc(var(--i) * .42s); }
@keyframes pop { from { opacity: 0; transform: translateY(7px) scale(.97); } to { opacity: 1; transform: none; } }

.pv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; color: var(--muted); }
.pv-row strong { font-family: var(--mono); font-size: 18px; color: var(--ink); }
#pv-bars { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin-bottom: 14px; }
#pv-bars i { flex: 1 1 0; min-width: 0; background: color-mix(in srgb, var(--p) 62%, transparent); border-radius: 2px 2px 0 0; transition: height .35s; }
#pv-bars i.spike { background: var(--cut); }
#pv-list { list-style: none; margin: 0; padding: 0; display: grid; min-height: 118px; align-content: start; }
#pv-list li { display: flex; flex-wrap: wrap; gap: 2px 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
#pv-list .id { font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 21px; }
#pv-list .err { color: var(--cut); font-weight: 600; }

.scene {
  position: relative; height: 262px; color: var(--scene-ink);
  background:
    radial-gradient(1.5px 1.5px at 14% 18%, var(--scene-ink), transparent),
    radial-gradient(1.5px 1.5px at 38% 10%, var(--scene-ink), transparent),
    radial-gradient(1.5px 1.5px at 66% 22%, var(--scene-ink), transparent),
    radial-gradient(1.5px 1.5px at 88% 12%, var(--scene-ink), transparent),
    linear-gradient(180deg, var(--scene-a), var(--scene-b) 62%, var(--scene-c));
}
.isles { position: absolute; left: 10px; right: 10px; bottom: 16px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 4px; }
.isle { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; border: 0; background: none; color: var(--scene-ink); cursor: pointer; }
.isle:nth-child(2) { transform: translateY(-46px); }
.isle:nth-child(3) { transform: translateY(-14px); }
.isle:nth-child(4) { transform: translateY(-62px); }
.isle:nth-child(5) { transform: translateY(-24px); }
.beacon { width: 13px; height: 13px; border-radius: 50%; background: var(--scene-land); border: 2px solid var(--beacon); transition: background .25s, box-shadow .25s; }
.isle[aria-pressed="true"] .beacon { background: var(--beacon); box-shadow: 0 0 0 5px color-mix(in srgb, var(--beacon) 28%, transparent), 0 0 24px 8px color-mix(in srgb, var(--beacon) 55%, transparent); }
.isle-land { width: min(100%, 62px); height: 19px; background: var(--scene-land); border-radius: 50% 50% 42% 42%; }
.isle small { font-family: var(--mono); font-size: 10.5px; }

.socials-band { background: var(--bg); }
.socials { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 76px); padding-block: clamp(56px, 7vw, 96px); scroll-margin-top: 0; }
.socials h2 { margin: 0; font-family: var(--display); font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -.04em; }
.socials p { margin: 12px 0 0; color: var(--muted); max-width: 42ch; }
.social-list { list-style: none; margin: 0; padding: 0; min-width: 0; }
.social-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-family: var(--display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.social-list span { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .02em; color: var(--muted); }

@media (max-width: 860px) {
  .hero-main { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; }
  .vignette { background: linear-gradient(0deg, rgba(4,6,14,.86), rgba(4,6,14,.34) 52%, transparent 70%); }
  .now { width: 100%; }
  .now-name { font-size: 24px; }
  .now-tag { min-height: 0; }
  .tl-track { height: 46px; }
  .tl-bar .hint, .tl-head::before { display: none; }
  .tl-clip b { display: none; }
  .wave { top: 8px; bottom: 8px; height: auto; }
  .band-grid, .socials { grid-template-columns: minmax(0, 1fr); }
  .band:nth-of-type(even) .copy { order: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .giant { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
    @keyframes drift { from { transform: translateX(var(--from)); } to { transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Site header: a live product timeline */
[hidden] { display: none !important; }
body { margin: 0; }
.site-header {
  --hdr: var(--c-cut);
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; pointer-events: none; transition: opacity .35s;
  padding-top: max(10px, env(safe-area-inset-top, 0px));
  padding-left: max(clamp(10px, 2.4vw, 32px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(10px, 2.4vw, 32px), env(safe-area-inset-right, 0px));
}
.hdr-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: auto;
  max-width: 1360px; height: 58px; margin-inline: auto; padding-inline: 12px; border: 1px solid transparent; border-radius: 14px;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.is-stuck .hdr-inner {
  background: rgba(8,11,22,.74); border-color: var(--line); box-shadow: 0 18px 44px -20px rgba(0,0,0,.85);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.015em; white-space: nowrap; }
.logo-mark { width: 32px; height: 32px; flex: none; display: block; transition: transform .25s cubic-bezier(.2,.9,.2,1.2); }
.logo:hover .logo-mark { transform: rotate(-7deg) scale(1.06); }
.hdr-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.hdr-nav a {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 8px; color: var(--muted);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .2s, background .2s;
}
.hdr-nav a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--p); opacity: .75; transition: transform .2s, opacity .2s; }
.hdr-nav a:hover { color: var(--ink); background: rgba(255,255,255,.08); }
.hdr-nav a.is-on { color: var(--ink); background: color-mix(in srgb, var(--p) 26%, transparent); }
.hdr-nav a.is-on::before { opacity: 1; transform: scale(1.3); }
.hdr-end { display: flex; align-items: center; gap: 8px; }
.hdr-social { padding: 7px 10px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.hdr-social:hover { color: var(--ink); }
.hdr-cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; background: var(--ink); color: var(--on-p);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s;
}
.hdr-cta:hover { background: var(--hdr); transform: translateY(-1px); }
.menu-btn { display: none; position: relative; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: rgba(6,8,18,.45); cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.menu-open .menu-btn span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 19px; transform: rotate(-45deg); }
.hdr-progress { position: absolute; left: 13px; right: 13px; bottom: -1px; height: 2px; overflow: hidden; opacity: 0; transition: opacity .25s; }
.is-stuck .hdr-progress { opacity: 1; }
.hdr-progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--c-cut), var(--c-put), var(--c-reply), var(--c-proj), var(--c-glim)); }

.menu {
  position: fixed; inset: 0; z-index: 39; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; overflow-y: auto;
  padding-top: calc(max(10px, env(safe-area-inset-top, 0px)) + 78px);
  padding-bottom: max(22px, env(safe-area-inset-bottom, 0px));
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  background: radial-gradient(120% 60% at 80% 0%, var(--g-proj), transparent), var(--foot);
  visibility: hidden; opacity: 0; transition: opacity .22s, visibility 0s .22s;
}
.menu-open { overflow: hidden; }
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .22s, visibility 0s; }
.menu-open .is-stuck .hdr-inner { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .hdr-progress { opacity: 0; }
.menu-links { display: grid; }
.menu-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.menu-links b { font-family: var(--display); font-size: clamp(32px, 9.5vw, 52px); line-height: 1.05; letter-spacing: -.04em; color: var(--p); }
.menu-links span { color: var(--muted); font-size: 13px; text-align: right; }
.menu-open .menu-links a { animation: menu-in .42s cubic-bezier(.16,1,.3,1) backwards; animation-delay: calc(var(--n) * 38ms); }
@keyframes menu-in { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.menu-foot .hdr-cta { padding: 11px 16px; font-size: 15px; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.social-links a { color: var(--muted); font-size: 15px; text-underline-offset: 3px; }
.social-links a:hover { color: var(--ink); }
.social-list a { display: flex; flex: 1; justify-content: space-between; align-items: baseline; gap: 12px; text-decoration: none; }
.social-list a:hover { color: var(--c-cut); }

/* Site footer: end credits */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(90% 60% at 50% 100%, color-mix(in srgb, var(--c-proj) 20%, transparent), transparent), var(--foot); }
.foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: clamp(60px, 9vw, 124px) clamp(36px, 5vw, 64px); }
.foot-kicker { margin: 0 0 12px; color: var(--cut); }
.foot-cta h2 { margin: 0; max-width: 12ch; font-family: var(--display); font-weight: 800; font-size: clamp(46px, 8vw, 116px); line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.foot-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.05);
  color: var(--ink); font-family: var(--body); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.foot-btn:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.foot-btn.primary { border-color: var(--ink); background: var(--ink); color: var(--on-p); }
.foot-btn.primary:hover { border-color: var(--c-cut); background: var(--c-cut); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); padding-block: clamp(26px, 3vw, 40px) clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.foot-about { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.foot-about p { margin: 0; max-width: 34ch; color: var(--muted); }
.foot-label { margin: 0 0 8px; color: var(--muted); }
.credits { list-style: none; margin: 0; padding: 0; }
.credits a { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .22s cubic-bezier(.2,.9,.2,1); }
.credits b { font-family: var(--display); font-size: clamp(23px, 2.7vw, 34px); line-height: 1.1; letter-spacing: -.025em; transition: color .2s; white-space: nowrap; }
.credits i { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.credits .role { color: var(--muted); font-size: 14px; white-space: nowrap; }
.credits .arrow { color: var(--p); font-size: 15px; transition: transform .2s; }
.credits a:hover { padding-left: 10px; }
.credits a:hover b { color: var(--p); }
.credits a:hover .arrow { transform: translate(2px, -2px); }
h1, #flash-word, .wordmark span { font-variation-settings: "opsz" 96; }
.wordmark { container-type: inline-size; overflow: hidden; }
.wordmark span {
  --mx: 50%; --my: 55%;
  display: inline-block; padding: 0 .06em .1em 0; font-family: var(--display); font-weight: 800; font-size: 18cqw; line-height: .9; letter-spacing: -.055em; white-space: nowrap; color: transparent;
  background-image: radial-gradient(circle 25cqw at var(--mx) var(--my), var(--c-glim), var(--c-reply) 38%, var(--c-cut) 66%, transparent 80%), linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.06));
  -webkit-background-clip: text; background-clip: text;
}
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 22px; padding-block: 16px max(22px, env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.foot-bar a { text-decoration: none; }
.foot-bar a:hover { color: var(--ink); }

@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 1081px) { .menu { display: none; } }
@media (max-width: 480px) {
  .hdr-end > .hdr-cta { display: none; }
  .logo { font-size: 18px; }
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .credits .role { display: none; }
}
