/* WigglyWave: styles
   Palette and type come from copy/brand-kit.md.
   Young Serif (headings) + Hanken Grotesk (body). */

:root {
  /* studio palette: black walls, red acoustic panels */
  --hero-line: #F2EEE9;
  --hero-hot: #FF4B4B;
  --bg: #0C0C0D;
  --surface: #19191B;
  --deep: #141416;
  --foot: #050505;
  --ink: #F2EEE9;
  --muted: #A9A5A1;
  --line: #2D2D30;
  --accent: #F0474D;
  --btn: #D3202A;
  --accent-deep: #B5161E;
  --spark: #FF5A4F;
  --spark-text: #FF7A70;
  --on-ink-link: #FF7A70;
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--btn); color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; color: var(--bg); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; line-height: 1; }
.logo-mono { display: block; width: auto; overflow: visible; }
.brand:hover { color: var(--ink); opacity: 0.8; }
.brand { transition: opacity 0.25s var(--ease); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav ul { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.nav ul a {
  display: inline-block; padding: 8px 0; text-decoration: none; font-weight: 500; font-size: 1rem;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s;
}
.nav ul a:hover { background-size: 100% 2px; color: var(--ink); }
.nav ul a[aria-current="page"] { background-size: 100% 2px; }

.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 1rem/1 var(--font-body); text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--btn); border-color: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--ink);
  padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 104px);
  background: #0A0A0B url("../assets/img/studio-1086.webp") center 58% / cover no-repeat;
}
@media (min-width: 1100px) { .hero { background-image: url("../assets/img/studio-1600.webp"); } }
/* a navy wash keeps the type readable while the studio stays visible */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 6, 7, 0.74) 0%, rgba(6, 6, 7, 0.56) 45%, rgba(6, 6, 7, 0.84) 100%); }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: clamp(14px, 2vw, 24px); }
.hero-kicker { color: rgba(242, 238, 233, 0.85); font-size: 1rem; }
.snd[hidden] { display: none; }
.hero h1 {
  font-size: clamp(2.8rem, 9.2vw, 8rem); line-height: 0.97; letter-spacing: -0.025em; max-width: 12.5ch;
}
.hero-wave { width: 100%; height: clamp(150px, 24vw, 260px); margin-block: clamp(8px, 2vw, 24px); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.hero-foot p { max-width: 46ch; color: rgba(242, 238, 233, 0.92); font-size: 1.2rem; }
.hero-foot .btns { justify-content: flex-start; }
/* buttons that are not the primary one sit on the photo as cream outlines */
.hero .btn:not(.btn-primary) { background: transparent; color: var(--ink); border-color: rgba(242, 238, 233, 0.7); }
.hero .btn:not(.btn-primary):hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* the headline's one entrance: words rise into place */
.js .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .hero h1 .w > span { display: inline-block; transform: translateY(105%); }
.js .hero h1.go .w > span { animation: rise 0.9s var(--ease) forwards; animation-delay: var(--d, 150ms); }
@keyframes rise { to { transform: translateY(0); } }
/* the glimmer: once all lines have settled, a bright edge runs through the letters, word by word, left to right */
.js .hero h1.shine .w > span {
  background: linear-gradient(100deg, var(--ink) 0 38%, #E02A33 45%, #FF6A62 50%, #E02A33 55%, var(--ink) 62% 100%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: rise 0.9s var(--ease) var(--d, 150ms) forwards, shine 0.6s ease-in-out var(--sd, 0ms) backwards;
}
/* the title flashes with the metal scrape in the sound */
.js .hero h1.scrape { animation: scrape 0.7s ease-out; }
@keyframes scrape {
  0% { filter: none; }
  35% { filter: brightness(1.3) drop-shadow(0 0 22px rgba(224, 42, 51, 0.95)); }
  100% { filter: none; }
}
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- image slots (generated or kept images, with a plate behind) ---------- */
.slot { position: relative; overflow: hidden; border-radius: 6px; background: var(--surface); margin: 0; }
.slot::before {
  content: ""; position: absolute; inset: 0; opacity: 0.9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='70' viewBox='0 0 240 70'%3E%3Cpath d='M0 35 Q30 5 60 35 T120 35 T180 35 T240 35' fill='none' stroke='%23F2EEE9' stroke-opacity='.22' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 240px 70px repeat;
}
.slot::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--spark); left: 12%; top: 50%; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; color: transparent; }
.slot.has-img::after, .slot.has-img::before { display: none; }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-21-9 { aspect-ratio: 21 / 9; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section + .section { padding-top: 0; }
.band { background: var(--deep); color: var(--ink); }
.band a:hover { color: var(--on-ink-link); }
.section.band { padding-top: clamp(64px, 9vw, 128px); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.head h2, .page-title { font-size: clamp(2.25rem, 5.4vw, 4.5rem); }
.head p { color: var(--muted); max-width: 44ch; }
.band .head p { color: var(--muted); }
.squiggle {
  height: 16px; border: 0; margin: 0; opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cpath d='M0 8 Q12 -2 24 8 T48 8' fill='none' stroke='%232A52B0' stroke-width='1.6'/%3E%3C/svg%3E") 0 center / 48px 16px repeat-x;
}

/* page intro on inner pages */
.page-head { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 64px); }
.page-head p { max-width: 50ch; color: var(--muted); font-size: 1.2rem; margin-top: 20px; }

/* ---------- home: what we make (rows) ---------- */
.svc-list { border-bottom: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: clamp(16px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3.4vw, 44px) 0; border-top: 1px solid var(--line);
  transition: padding 0.4s var(--ease), background-color 0.3s;
}
.svc-row h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.svc-row h3 a { text-decoration: none; }
.svc-row h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-row p { color: var(--muted); max-width: 42ch; }
.svc-row .go { font-weight: 600; font-size: 1rem; color: var(--accent); transition: transform 0.35s var(--ease); white-space: nowrap; }
.svc-row:hover { padding-left: 18px; background: var(--surface); }
.svc-row:hover .go { transform: translateX(6px); }
.svc-row:hover h3 a { color: var(--accent); }

/* ---------- process ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 28px clamp(14px, 2vw, 28px) 8px 0; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent); display: block; margin-bottom: 16px; }
.steps h3, .steps b { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; display: block; margin-bottom: 8px; line-height: 1.1; }
.steps p, .steps span { color: var(--muted); font-size: 1.02rem; display: block; }
.process { grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(242, 238, 233, 0.25); }
.process li { border-right: 1px solid rgba(242, 238, 233, 0.18); padding-left: clamp(14px, 2vw, 24px); }
.process li:first-child { padding-left: 0; }
.process li:last-child { border-right: 0; }
.process li::before { color: var(--on-ink-link); }
.process p { color: var(--muted); }

/* ---------- home: featured work ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: stretch; }
.feature-media { align-self: center; }
.feature-plate { aspect-ratio: 460 / 215; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.feature-body { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.feature-body .label { color: var(--muted); font-size: 1rem; }
.feature-body .lede { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 1rem; }
.facts dd { margin: 0; font-weight: 500; }
.film-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(32px, 5vw, 56px); }
.film-strip a { text-decoration: none; display: block; }
.film-strip .slot { transition: transform 0.5s var(--ease); }
.film-strip a:hover .slot { transform: translateY(-4px); }
.film-strip h3 { font-size: 1.4rem; margin-top: 14px; }
.film-strip p { color: var(--muted); font-size: 1rem; margin-top: 2px; }
.more { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- services page ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pills a { text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 1rem; transition: background-color 0.25s, color 0.25s; }
.pills a:hover { background: var(--ink); color: var(--bg); }
.service { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.service-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.service-top.flip .service-copy { order: 2; }
.service h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 20px; }
.service .lede { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.2; margin-bottom: 16px; }
.service .sub { color: var(--muted); max-width: 52ch; }
.service h3.sm { font-size: 1.5rem; margin: 32px 0 12px; }
.gets li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); }
.gets li:last-child { border-bottom: 1px solid var(--line); }
.gets li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 22px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Cpath d='M0 5 Q5.5 -3 11 5 T22 5' fill='none' stroke='%232A52B0' stroke-width='2'/%3E%3C/svg%3E") no-repeat;
}
.service .steps { grid-template-columns: repeat(5, 1fr); margin-top: 20px; border-top: 1px solid var(--line); }
.service .steps li { padding-right: 20px; }
.related { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: baseline; }
.related span { color: var(--muted); }
.related a { font-weight: 600; color: var(--accent); }

/* ---------- work page ---------- */
.group-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); padding-top: clamp(40px, 6vw, 72px); padding-bottom: 20px; }
.track { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 3.4vw, 40px) 0; border-top: 1px solid var(--line); align-items: start; }
.track:last-child { border-bottom: 1px solid var(--line); }
.track h3, .track h4 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.track .label { color: var(--muted); font-size: 1rem; margin: 6px 0 14px; }
.track .note { max-width: 56ch; }
.track .lede { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; margin-bottom: 10px; }
.track .facts { max-width: 520px; margin: 18px 0 4px; }
.track .btn { margin-top: 20px; }
.logo-plate { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.logo-plate::before, .logo-plate::after { display: none; }
.logo-plate img { position: static; width: 46%; height: auto; object-fit: contain; }
.track-media { align-self: start; }

/* ---------- about ---------- */
.statement { font-family: var(--font-display); font-size: clamp(1.8rem, 3.8vw, 3.1rem); line-height: 1.18; letter-spacing: -0.012em; max-width: 30em; text-wrap: pretty; }
.statement em { font-style: normal; text-decoration: underline wavy var(--spark); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; margin-top: clamp(32px, 5vw, 64px); }
.about-grid .facts div { grid-template-columns: 9rem 1fr; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.contact-lede { color: var(--muted); font-size: 1.2rem; max-width: 40ch; margin-top: 20px; }
.addr { display: inline-block; margin-top: 28px; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); overflow-wrap: anywhere; }
.where { color: var(--muted); margin-top: 10px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3.4vw, 40px); display: grid; gap: 22px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .l { font-weight: 600; font-size: 1rem; padding: 0; margin-bottom: 8px; display: block; }
.req { color: var(--spark-text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--muted); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 1rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chips label:hover { border-color: var(--ink); }
.chips input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1.05rem/1.4 var(--font-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--muted); border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7C7A78; }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 42, 51, 0.4); }
input[aria-invalid="true"] { border-color: var(--spark-text); }
.err { display: block; color: var(--spark-text); font-size: 0.95rem; min-height: 0; margin-top: 6px; }
.err:empty { display: none; }
.status { font-size: 1rem; }
.status.good { color: #8FD6A8; }

/* ---------- call to action (home) ---------- */
.cta h2 { font-size: clamp(2.6rem, 7.5vw, 6.5rem); line-height: 0.98; max-width: 11ch; }
.cta .addr { margin-top: 28px; }
.cta p.lede { max-width: 44ch; color: var(--muted); margin-top: 24px; font-size: 1.2rem; }
.cta .btns { margin-top: 32px; }

/* ---------- footer ---------- */
.site-footer { background: var(--foot); color: var(--ink); padding-block: clamp(40px, 6vw, 72px) 32px; }
.site-footer a { text-decoration-color: rgba(242, 238, 233, 0.4); }
.site-footer a:hover { color: var(--on-ink-link); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(242, 238, 233, 0.2); }
.foot-brand { color: var(--ink); line-height: 1; margin-bottom: 16px; }
.foot-meta { color: var(--muted); margin-top: 12px; font-size: 1rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: flex-start; }
.foot-nav a { text-decoration: none; padding: 6px 0; font-weight: 500; }
.foot-nav a:hover { text-decoration: underline; }
.foot-bottom { padding-top: 24px; color: var(--muted); font-size: 1rem; }

/* ---------- tablet and phone ---------- */
@media (max-width: 1040px) {
  .nav .btn { display: none; }
}
@media (max-width: 900px) {
  .head, .hero-foot, .feature, .service-top, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-top.flip .service-copy { order: 0; }
  .process { grid-template-columns: 1fr; }
  .process li, .service .steps li { border-right: 0; border-bottom: 1px solid rgba(242, 238, 233, 0.18); padding: 20px 0; }
  .service .steps { grid-template-columns: 1fr; }
  .service .steps li { border-bottom: 1px solid var(--line); }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-row .go { margin-top: 6px; }
  .film-strip { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; }
  .logo-plate { aspect-ratio: 16 / 9; }

  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 48px; height: 48px; padding: 0; background: transparent; border: 1.5px solid var(--ink); border-radius: 50%; cursor: pointer; color: var(--ink);
  }
  .menu-btn i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.2s; }
  .menu-btn[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

  .js .nav {
    position: fixed; inset: 72px 0 0 0; z-index: 40; background: var(--bg); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none;
    transition: clip-path 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .js .nav[data-open="true"] { clip-path: inset(0 0 0 0); visibility: visible; pointer-events: auto; transition: clip-path 0.5s var(--ease), visibility 0s; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav ul li { border-bottom: 1px solid var(--line); }
  .js .nav ul a { display: block; padding: 18px 0; font-family: var(--font-display); font-weight: 400; font-size: 2rem; background: none; }
  .js .nav ul a[aria-current="page"] { color: var(--accent); }
  .js .nav .btn { display: inline-flex; align-self: flex-start; }
  .no-js .nav { flex-wrap: wrap; }
  .no-js .bar { flex-wrap: wrap; padding-block: 10px; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .facts div, .about-grid .facts div { grid-template-columns: 1fr; gap: 2px; }
  .hero h1 { max-width: none; }
  .btns .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero h1 .w > span { transform: none; }
}


/* REPLAY-INTRO (temporary build helper): delete this block when the button is removed */
.replay-intro {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; appearance: none; cursor: pointer;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px dashed var(--ink);
  background: var(--surface); color: var(--ink); font: 600 0.95rem/1 var(--font-body);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.replay-intro:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
/* /REPLAY-INTRO */
