/* Groove Circuit — After Dark palette (brand sheet 02).
   Forest stays the ground; marigold for ticket/sign-up buttons, lagoon for links.
   Up to two new colours per piece, ~15% max. No neon. Grain on everything. */
:root {
  --forest: #0E261B;
  --forest-2: #13301f;
  --forest-3: #0a1d14;
  --cream: #E9E2D0;
  --cream-dim: #9A9584;
  --amber: #C8893A;
  --marigold: #EBAE3F;
  --lagoon: #48B3A6;
  --rose: #E59C92;
  --rule: rgba(233, 226, 208, 0.16);
  --rule-strong: rgba(233, 226, 208, 0.32);
  --display: "Anton", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1180px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: var(--ease-out); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.modal-open { overflow: hidden; }

body {
  background: var(--forest);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
/* grain on everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  z-index: 100;
}
::selection { background: var(--marigold); color: var(--forest); }

a { color: var(--lagoon); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.amber { color: var(--amber); }
.dim { color: var(--cream-dim); }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.005em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  view-transition-name: site-header;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.site-header.is-scrolled {
  background: rgba(14, 38, 27, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--cream); text-decoration: none;
}
.brand svg { width: 32px; height: 32px; transition: transform 500ms var(--ease-out); }
.brand span { font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.nav a:not(.btn), .nav .linkish {
  position: relative;
  color: var(--cream); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav a:not(.btn)::after, .nav .linkish::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 250ms var(--ease-out);
}
.nav a[aria-current="page"] { color: var(--amber); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .brand:hover svg { transform: rotate(120deg); }
  .nav a:not(.btn):hover::after, .nav .linkish:hover::after { transform: scaleX(1); transform-origin: left; }
}
@media (max-width: 640px) {
  .nav .linkish { display: none; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
  .nav .btn { padding: 9px 12px; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--marigold);
  color: var(--forest);
  border: 0;
  font-family: var(--mono);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 20px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 160ms var(--ease-out), color 200ms ease;
}
/* cream wipe on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cream);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 300ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform 250ms var(--ease-out); }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn.ghost::before { background: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { clip-path: inset(0 0 0 0); }
  .btn.ghost:hover { color: var(--forest); }
  .btn:hover .arrow { transform: translateX(4px); }
}
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- status pill with EQ ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.eq { display: inline-flex; align-items: end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 100%; background: var(--marigold); transform-origin: bottom; animation: eq 900ms ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-duration: 700ms; animation-delay: -200ms; }
.eq i:nth-child(3) { animation-duration: 1100ms; animation-delay: -500ms; }
.eq i:nth-child(4) { animation-duration: 800ms; animation-delay: -350ms; }
@keyframes eq { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(28px, 6vw, 72px) clamp(48px, 8vw, 96px);
  --mx: 70%; --my: 40%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(235, 174, 63, 0.07), transparent 60%);
}
.hero .meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 5vw, 56px); }
.hero-grid {
  display: grid; gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero h1 { font-size: clamp(76px, 16vw, 200px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.02em; }
.hero h1 .line > span { display: block; }
.js .hero h1 .line > span { transform: translateY(105%); animation: rise 900ms var(--ease-out) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: 90ms; }
@keyframes rise { to { transform: translateY(0); } }
.hero .lede { margin-top: 24px; max-width: 34ch; font-size: 16px; }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- the record ---------- */
.record-wrap {
  position: relative;
  width: min(440px, 82vw);
  aspect-ratio: 1;
  justify-self: center;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.record-wrap.is-dragging { cursor: grabbing; }
.record {
  position: absolute; inset: 0; will-change: transform;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 66%, rgba(233, 226, 208, 0.06) 66.4%, transparent 67%, transparent 82%, rgba(233, 226, 208, 0.06) 82.4%, transparent 83%),
    repeating-radial-gradient(circle, #0b1e15 0 2px, #10291d 2px 3.5px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(233, 226, 208, 0.14);
}
.record svg { width: 100%; height: 100%; display: block; }
/* light catches the vinyl but doesn't spin with it */
.record-wrap::after {
  content: ""; position: absolute; inset: 2%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 210deg, transparent 0deg, rgba(233, 226, 208, 0.10) 22deg, transparent 50deg, transparent 180deg, rgba(233, 226, 208, 0.07) 205deg, transparent 235deg);
  mix-blend-mode: screen;
}
.record-hint {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  white-space: nowrap;
  color: var(--cream-dim);
  transition: opacity 300ms ease;
}
.record-wrap.was-dragged .record-hint { opacity: 0; }
.js .record-wrap { opacity: 0; transform: scale(0.94) rotate(-8deg); animation: drop 1100ms var(--ease-out) 150ms forwards; }
@keyframes drop { to { opacity: 1; transform: none; } }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--rule);
  overflow: hidden;
  padding-block: 16px;
  background: var(--forest-3);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(28px, 4vw, 44px); line-height: 1;
  padding-right: 0.6em;
  white-space: nowrap;
}
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--cream); }
.marquee .k { color: var(--amber) !important; -webkit-text-stroke: 0 !important; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(44px, 7.5vw, 84px); }
.section-head p { max-width: 40ch; color: var(--cream-dim); }
.page-title { padding-block: clamp(40px, 7vw, 88px) clamp(8px, 2vw, 16px); }
.page-title h1 { font-size: clamp(72px, 15vw, 176px); margin-top: 14px; }
.page-title p { margin-top: 18px; max-width: 52ch; color: var(--cream-dim); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- event card ---------- */
.event {
  position: relative;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  border: 1px solid var(--rule);
  padding: clamp(20px, 3vw, 36px);
  background: var(--forest-2);
  transition: border-color 250ms ease, transform 300ms var(--ease-out);
}
@media (min-width: 760px) { .event { grid-template-columns: 170px 1fr auto; align-items: center; } }
@media (hover: hover) and (pointer: fine) { .event:hover { border-color: var(--rule-strong); transform: translateY(-2px); } }
.event .date { font-family: var(--display); text-transform: uppercase; line-height: 0.9; }
.event .date .m { display: block; font-size: 64px; color: var(--marigold); }
.event .date .y { display: block; font-size: 22px; color: var(--cream-dim); margin-top: 6px; }
.event h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 48px); text-transform: uppercase; line-height: 1; }
.event dl { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; font-size: 13px; }
.event dt { color: var(--cream-dim); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }
.event dd { font-weight: 500; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--lagoon); color: var(--lagoon); margin-bottom: 12px; }

/* ---------- coming soon block ---------- */
.soon {
  position: relative;
  overflow: hidden;
  border: 1px dashed var(--rule-strong);
  padding: clamp(36px, 7vw, 72px) clamp(20px, 4vw, 48px);
  text-align: center;
}
.soon .display { font-size: clamp(44px, 8vw, 96px); }
.soon .display em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--cream); }
.soon p { margin: 16px auto 0; max-width: 46ch; color: var(--cream-dim); }
.soon .btn { margin-top: 26px; }
.soon .ring {
  position: absolute; left: 50%; top: 50%; width: 900px; aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle, transparent 0 18px, rgba(233, 226, 208, 0.04) 18px 19px);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 65%);
  mask: radial-gradient(circle, #000 20%, transparent 65%);
}

/* ---------- get involved tiles ---------- */
.tiles { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: 1fr; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } .tiles .tile { min-height: 260px; } }
.tile {
  position: relative;
  display: grid; align-content: space-between; gap: 32px;
  min-height: 200px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--forest);
  color: var(--cream); text-align: left;
  border: 0; cursor: pointer;
  font: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform 160ms var(--ease-out);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--forest-2);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 400ms var(--ease-out);
}
.tile:active { transform: scale(0.985); }
.tile .num { color: var(--amber); }
.tile .tile-title { display: block;  font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 4vw, 48px); line-height: 0.95; }
.tile .tile-text { display: block;  margin-top: 10px; color: var(--cream-dim); font-size: 14px; max-width: 30ch; }
.tile .go {
  position: absolute; right: clamp(22px, 3vw, 32px); top: clamp(22px, 3vw, 32px);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--rule-strong);
  transition: transform 300ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover::before { clip-path: inset(0 0 0 0); }
  .tile:hover .go { transform: rotate(-45deg); background: var(--marigold); color: var(--forest); border-color: var(--marigold); }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest-3); border-top: 1px solid var(--rule); }
.cta-band .wrap { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { font-size: clamp(52px, 9vw, 112px); }
.cta-band h2 em { font-style: normal; color: var(--marigold); }
.cta-band .side p { color: var(--cream-dim); margin-bottom: 20px; max-width: 40ch; }
.cta-band .side .row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--rule); padding-block: 28px; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .links a, .site-footer .links button { color: var(--cream-dim); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; transition: color 150ms ease; }
.site-footer .links a:hover, .site-footer .links button:hover { color: var(--cream); }

/* ---------- modal ---------- */
.modal {
  margin: auto;
  width: min(560px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid var(--rule-strong);
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out);
}
.modal.is-open { opacity: 1; transform: none; }
.modal::backdrop { background: rgba(6, 16, 11, 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 240ms ease; }
.modal.is-open::backdrop { opacity: 1; }
.modal-inner { display: flex; flex-direction: column; max-height: inherit; }
.modal-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(20px, 4vw, 32px) clamp(24px, 4vw, 32px); }

.modal-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px clamp(20px, 4vw, 32px) 0;
}
.modal-head .grab { display: none; }
.modal-close {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: var(--cream);
  border: 1px solid var(--rule-strong); cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease;
}
.modal-close:active { transform: scale(0.94); }
@media (hover: hover) { .modal-close:hover { background: var(--cream); color: var(--forest); } }

.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 18px clamp(20px, 4vw, 32px) 0; border: 1px solid var(--rule-strong); }
.tabs button {
  position: relative; z-index: 1;
  padding: 12px 8px;
  background: none; border: 0; cursor: pointer;
  color: var(--cream);
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 250ms ease;
}
.tabs button[aria-selected="true"] { color: var(--forest); }
.tabs .indicator {
  position: absolute; top: 0; bottom: 0; left: 0; width: 50%;
  background: var(--marigold);
  transition: transform 300ms var(--ease-out);
}
.tabs[data-active="join"] .indicator { transform: translateX(100%); }

.panel { padding-top: 26px; }
.panel[hidden] { display: none; }
.panel.is-entering { animation: panelIn 260ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } }
.panel h2 { font-size: clamp(44px, 9vw, 64px); }
.panel h2 em { font-style: normal; color: var(--marigold); }
.panel .intro { margin-top: 10px; color: var(--cream-dim); font-size: 14px; }
.perks { list-style: none; margin: 20px 0 4px; display: grid; gap: 10px; font-size: 14px; }
.perks li { display: grid; grid-template-columns: 30px 1fr; gap: 6px; }
.perks li b { color: var(--amber); font-weight: 600; }

.form { display: grid; gap: 14px; margin-top: 22px; }
.form .two { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .form .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > label, .fieldset legend { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%;
  background: var(--forest-3);
  color: var(--cream);
  border: 1px solid var(--rule);
  font-family: var(--mono); font-size: 16px;
  padding: 12px 14px;
  border-radius: 0;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-dim); opacity: 0.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--marigold); background: var(--forest-2); }
.field input:user-invalid { border-color: var(--rose); }

.fieldset { border: 0; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
}
.chip input:checked + span { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--marigold); outline-offset: 2px; }
.chip input:active + span { transform: scale(0.96); }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13px; color: var(--cream-dim); align-items: start; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--marigold); }
.form .btn { justify-self: stretch; justify-content: center; padding: 15px 22px; }
.form .msg { font-size: 13px; min-height: 1.4em; color: var(--rose); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; padding: 28px 0 8px; }
.done[hidden] { display: none; }
.done:not([hidden]) { animation: panelIn 320ms var(--ease-out); }
.done svg { width: 84px; height: 84px; margin: 0 auto 18px; display: block; }
.done svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: tick 500ms var(--ease-out) 150ms forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.done h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 44px; line-height: 1; }
.done p { margin-top: 10px; color: var(--cream-dim); font-size: 14px; }
.done .btn { margin-top: 22px; }

.consent a, .fine a { color: var(--lagoon); }
.fine { font-size: 12px; color: var(--cream-dim); }

/* ---------- privacy ---------- */
.summary { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: 1fr; margin-top: clamp(32px, 5vw, 48px); }
@media (min-width: 760px) { .summary { grid-template-columns: repeat(3, 1fr); } }
.summary div { background: var(--forest-2); padding: clamp(20px, 3vw, 28px); }
.summary .display { font-size: clamp(30px, 3.4vw, 40px); margin-top: 10px; }
.summary p { margin-top: 8px; color: var(--cream-dim); font-size: 14px; }

.legal { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .legal { grid-template-columns: 220px 1fr; gap: 64px; } }
.toc { display: none; }
@media (min-width: 900px) {
  .toc { display: block; position: sticky; top: 96px; align-self: start; }
  .toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--rule); }
  .toc a {
    display: block; padding: 6px 0 6px 16px; margin-left: -1px;
    border-left: 1px solid transparent;
    color: var(--cream-dim); text-decoration: none; font-size: 13px;
    transition: color 150ms ease, border-color 150ms ease;
  }
  .toc a:hover { color: var(--cream); }
  .toc a.is-active { color: var(--marigold); border-left-color: var(--marigold); }
}
.prose { max-width: 68ch; }
.prose section { padding-block: 28px; border-top: 1px solid var(--rule); scroll-margin-top: 88px; }
.prose section:first-child { border-top: 0; padding-top: 0; }
.prose h2 { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4vw, 40px); line-height: 1; margin-bottom: 14px; }
.prose h2 span { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--amber); }
.prose p, .prose li { color: rgba(233, 226, 208, 0.86); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { list-style: none; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--amber); }
.prose strong { color: var(--cream); font-weight: 600; }
.prose a { color: var(--lagoon); }
.contact-card {
  margin-top: 8px; padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--rule-strong); background: var(--forest-2);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}
.contact-card a.mail { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 3.4vw, 32px); color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .contact-card a.mail:hover { color: var(--marigold); } }

/* phone: bottom sheet */
@media (max-width: 600px) {
  .modal {
    margin: auto 0 0;
    width: 100vw; max-width: 100vw;
    max-height: 92dvh;
    border-width: 1px 0 0;
    border-radius: 18px 18px 0 0;
    opacity: 1;
    transform: translateY(100%);
    transition: transform 420ms var(--ease-drawer);
  }
  .modal.is-open { transform: translateY(0); }
  .modal.is-dragging { transition: none; }
  .modal-head { padding-top: 10px; touch-action: none; }
  .modal-head .grab { display: block; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; border-radius: 4px; background: var(--rule-strong); transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i, .marquee-track { animation: none; }
  .js .hero h1 .line > span, .js .record-wrap { animation: none; transform: none; opacity: 1; }
  .js .reveal { transform: none; transition: opacity 400ms ease; }
  .modal, .modal.is-open { transform: none; transition: opacity 200ms ease; }
  .panel.is-entering, .done:not([hidden]) { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
