[hidden] { display: none !important; } /* the hidden attribute always wins over component display rules */
/* Symposium Select — design system
   Tokens first; components never hard-code colour or type. */
/* Fonts are self-hosted (SIL Open Font License) so no third party sees a visitor load a page.
   Syne was drawn for Synesthésies, a Paris arts centre: one family for every voice on the site. */
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/syne-var.woff2") format("woff2-variations"), url("/fonts/syne-var.woff2") format("woff2"); }
@font-face { font-family: "Syne Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/syne-mono-400.woff2") format("woff2"); }
:root {
  /* palette: black, white and chrome — nothing else */
  --ink: #060606;
  --ink-2: #0b0b0c;
  --ink-3: #131315;
  --rule-dark: rgba(255,255,255,.09);
  --bone: #f2f2f0;
  --bone-2: #e4e4e2;
  --rule-light: rgba(255,255,255,.12);
  --graphite: #7b7e83;
  --silver: #a4a7ac;
  --mist: #c9cbce;
  --white: #f6f6f4;
  --accent: #c9ccd1;        /* chrome, flat */
  --accent-fg: #e9eaec;     /* chrome highlight, as text */
  --glow: 255, 255, 255;    /* rgb triplet for glows */
  --chrome: linear-gradient(180deg, #ffffff 0%, #c9ccd1 26%, #6b6f76 47%, #eef0f2 55%, #9a9fa6 78%, #4a4d53 100%);
  --chrome-soft: linear-gradient(180deg, #ffffff 0%, #dfe1e4 42%, #b7bac0 54%, #e9ebee 82%, #c9ccd1 100%);
  --chrome-h: linear-gradient(100deg, #8d9197 0%, #ffffff 22%, #a7abb1 40%, #f4f5f6 58%, #7d8188 80%, #d9dbde 100%);
  --glass: rgba(255,255,255,.045);
  --glass-line: rgba(255,255,255,.14);
  --neu: 10px 12px 30px rgba(0,0,0,.7), -8px -8px 26px rgba(255,255,255,.035), inset 0 1px 0 rgba(255,255,255,.10);
  --neu-in: inset 6px 6px 14px rgba(0,0,0,.65), inset -4px -4px 12px rgba(255,255,255,.04);
  --ok: #cfe3d2;
  --err: #ffb4a8;

  /* type */
  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --label: "Syne Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --body: "Syne", "Helvetica Neue", Arial, sans-serif;
  --mono: "Syne Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --track: .08em;
  --radius: 18px;

  /* space & grid */
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --section: clamp(4.5rem, 12vw, 9.5rem);
  --measure: 36rem;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  /* surface (night by default) */
  --bg: var(--ink);
  --fg: var(--white);
  --fg-2: var(--mist);
  --fg-3: var(--silver);
  --rule: var(--rule-dark);
  color-scheme: dark;
}
.day { --bg: var(--ink-2); --rule: var(--rule-light); }
.dusk { --bg: var(--ink-2); }

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font: 400 1.0625rem/1.68 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--accent); color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* grain: a fixed, very low-contrast paper texture */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: absolute; left: -999px; top: 0; z-index: 60; background: var(--white); color: var(--ink); padding: .7rem 1.1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- type ---------- */
.caps { font-family: var(--label); text-transform: uppercase; letter-spacing: var(--track); font-size: .7rem; line-height: 1.8; }
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .02em; }
.display { font-family: var(--display); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.01em; }
.display em, h1 em, h2 em { font-style: italic; }
h1.display { font-size: clamp(2.9rem, 8.6vw, 7.6rem); line-height: .96; text-wrap: balance; }
h2.display { font-size: clamp(2.1rem, 5.2vw, 4.4rem); line-height: 1.02; text-wrap: balance; }
h3.display { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.12; }
.lede { font-size: clamp(1.15rem, 1.9vw, 1.42rem); line-height: 1.55; color: var(--fg-2); max-width: 34rem; text-wrap: pretty; }
.prose { max-width: var(--measure); color: var(--fg-2); }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1.12 var(--display); color: var(--fg); margin-top: 3rem; }
.prose h3 { font: 500 1.05rem/1.4 var(--body); color: var(--fg); margin-top: 2rem; }
.prose ul { padding-left: 1.1rem; }
.prose li + li { margin-top: .45rem; }
.prose strong { color: var(--fg); font-weight: 500; }
.muted { color: var(--fg-3); }

/* ---------- layout ---------- */
.section { position: relative; background: var(--bg); color: var(--fg); padding: var(--section) var(--gutter); }
.wrap { max-width: 82rem; margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(1rem, 2.4vw, 2.25rem); }
.span-12 { grid-column: 1 / -1; }
.col-1-7 { grid-column: 1 / 8; } .col-2-9 { grid-column: 2 / 10; } .col-8-13 { grid-column: 8 / 13; }
.col-1-5 { grid-column: 1 / 6; } .col-6-13 { grid-column: 6 / 13; } .col-4-13 { grid-column: 4 / 13; } .col-1-4 { grid-column: 1 / 4; }
@media (max-width: 820px) { .grid > [class*="col-"] { grid-column: 1 / -1; } }
.stack > * + * { margin-top: var(--stack, 1.5rem); }
.rule-top { border-top: 1px solid var(--rule); }
.index-num { font-family: var(--mono); font-size: .72rem; color: var(--fg-3); letter-spacing: .04em; }

/* ---------- header ---------- */
.bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(.95rem + env(safe-area-inset-top, 0px)) var(--gutter) .95rem;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid var(--rule-dark); color: var(--white);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-height: 44px; }
.brand svg { width: 28px; }
.brand .caps { font-size: .68rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { text-decoration: none; color: var(--mist); padding: .6rem 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .5em; }
.nav .nav-apply { color: var(--white); border: 1px solid var(--rule-dark); padding: .6rem 1rem; }
.nav .nav-apply:hover { border-color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--rule-dark); color: var(--white); padding: .7rem .9rem; min-height: 44px; cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .2rem;
    padding: 6rem var(--gutter) 3rem; background: var(--ink); visibility: hidden; opacity: 0; transition: opacity .35s var(--ease-soft), visibility 0s .35s; }
  .nav a { font: 400 clamp(1.9rem, 8vw, 2.8rem)/1.25 var(--display); letter-spacing: 0; text-transform: none; color: var(--white); }
  .nav .nav-apply { border: 0; padding: .6rem 0; }
  .nav-open, .nav-open body { overflow: hidden; }
  .nav-open .nav { visibility: visible; opacity: 1; transition: opacity .35s var(--ease-soft); }
}

/* ---------- buttons ---------- */
.btn {
  --b: var(--fg);
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 48px;
  font-family: var(--label); text-transform: uppercase; letter-spacing: var(--track); font-size: .7rem;
  color: var(--fg); background: transparent; border: 1px solid var(--b); padding: 1rem 2rem; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), transform .2s ease-out;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--b); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.btn:focus-visible { color: var(--bg); }
.btn:focus-visible::before { transform: scaleY(1); }
@media (hover: hover) { .btn:hover { color: var(--bg); } .btn:hover::before { transform: scaleY(1); } .btn.solid:hover { color: var(--white); } a:hover .arrow, button:hover .arrow { transform: translateX(.3em); } }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn.solid::before { background: var(--accent); }
.btn { -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); transition: transform .1s ease-out, color .35s var(--ease); }
.btn[disabled] { opacity: .55; cursor: progress; }
.arrow { display: inline-block; transition: transform .45s var(--ease); }
.textlink { text-decoration: underline; text-decoration-color: var(--rule); }
.textlink:hover { text-decoration-color: var(--accent); }

/* ---------- the model statement (recurring) ---------- */
.model { border: 1px solid var(--rule); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; max-width: 46rem; background: color-mix(in srgb, var(--bg) 92%, var(--fg)); }
.model .triad { font: 400 clamp(1.3rem, 2.4vw, 1.75rem)/1.25 var(--display); color: var(--fg); }
.model .triad span { display: block; }
.model p { color: var(--fg-2); font-size: .98rem; }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - 4.5rem); display: grid; align-content: center; padding-block: clamp(3rem, 9vh, 6rem); overflow: hidden; }
.hero .mark { position: relative; width: min(56vw, 300px); aspect-ratio: 2 / 1; }
.hero .mark svg.infinity { width: 100%; height: 100%; overflow: visible; }
.hero-title .line { display: block; }
.hero-title .second { color: var(--silver); font-style: italic; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; }
.coords { display: flex; gap: 2rem; flex-wrap: wrap; color: var(--silver); }

/* snake layers (existing WebGL engine) */
.snake-layer { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; }
.has-snake .snake-layer { display: block; }
.snake-layer.back { z-index: 1; }
.snake-layer.front { z-index: 3; }
.home main .section > *, .home footer > * { position: relative; z-index: 2; }
.has-snake .mark svg.infinity { visibility: hidden; }
.snake-still .mark-end svg.infinity { visibility: visible; }
.mark-end { width: min(40vw, 180px); aspect-ratio: 2/1; margin: 0 auto 1.5rem; }

/* ---------- plates: tactile cards with light that follows the pointer ---------- */
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.plate {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; display: grid; align-content: space-between; gap: 2.5rem; min-height: 15rem;
  padding: clamp(1.4rem, 2.6vw, 2rem); border: 1px solid var(--rule); color: var(--fg); text-decoration: none;
  background: radial-gradient(28rem circle at var(--mx) var(--my), color-mix(in srgb, var(--fg) 7%, transparent), transparent 55%), var(--bg);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease), border-color .3s;
  transform-style: preserve-3d; will-change: transform;
}
.plate:focus-within { border-color: color-mix(in srgb, var(--fg) 45%, var(--rule)); }
@media (hover: hover) { .plate:hover { border-color: color-mix(in srgb, var(--fg) 45%, var(--rule)); } }
.plate h3 { transform: translateZ(18px); }
.plate p { color: var(--fg-2); font-size: .98rem; }

/* ---------- process (how it works) ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 5rem 1fr minmax(0, 22rem); gap: .5rem 2rem; padding: 2rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.step:last-child { border-bottom: 1px solid var(--rule); }
.step .n { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); color: var(--fg-3); font-style: italic; }
.step h3 { font: 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.15 var(--display); }
.step p { color: var(--fg-2); }
.step .tag { font-family: var(--mono); font-size: .72rem; color: var(--accent-fg); }
@media (max-width: 760px) { .step { grid-template-columns: 3.5rem 1fr; } .step p { grid-column: 2; } }

/* ---------- disciplines: an index where intersections light up ---------- */
.disc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.disc-list { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.disc-list button {
  font: 400 clamp(1.7rem, 4.2vw, 3.3rem)/1.12 var(--display); color: var(--fg-3); background: none; border: 0; padding: .1rem 0; cursor: pointer; text-align: left;
  transition: color .3s ease, opacity .3s ease; min-height: 44px; -webkit-tap-highlight-color: transparent;
}
.disc-list button:not(:last-child)::after { content: " /"; color: var(--rule); font-style: normal; }
.disc-list button[aria-pressed="true"] { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--accent); }
@media (hover: hover) { .disc-list button:hover { color: var(--fg); } }
.disc-list button:active { color: var(--fg); }
.disc-list.has-active button:not([aria-pressed="true"]) { opacity: .45; }
.disc-panel { position: sticky; top: 6.5rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; min-height: 14rem; }
.disc-panel p { color: var(--fg-2); }
@media (max-width: 820px) { .disc { grid-template-columns: 1fr; } .disc-panel { position: static; } }

/* ---------- typographic set pieces ---------- */
.formats { display: grid; gap: .1rem; text-align: right; }
.formats li { font: italic 400 clamp(1.4rem, 2.8vw, 2.4rem)/1.15 var(--display); color: color-mix(in srgb, var(--fg) 58%, var(--bg)); transition: color .6s var(--ease); }
.formats li:nth-child(3n+1) { color: var(--fg); }
.bignum { font: italic 400 clamp(9rem, 26vw, 22rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1px var(--silver); letter-spacing: -.04em; }
@media (max-width: 820px) { .formats { text-align: left; } .bignum { font-size: 9rem; } }

/* ---------- lists: events & resources ---------- */
.ledger { border-top: 1px solid var(--rule); }
.ledger-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: .5rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ledger-row h3 { font: 400 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--display); }
.ledger-row p { color: var(--fg-2); font-size: .97rem; }
@media (max-width: 760px) { .ledger-row { grid-template-columns: 1fr; } }
.empty { border: 1px dashed var(--rule); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1rem; max-width: 46rem; }
.empty h3 { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--display); }
.empty p { color: var(--fg-2); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.chip { font-family: var(--label); text-transform: uppercase; letter-spacing: .2em; font-size: .64rem; padding: .7rem 1rem; min-height: 44px; border: 1px solid var(--rule); background: none; color: var(--fg-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.8rem; max-width: 40rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.form legend { font: 400 clamp(1.4rem, 2.4vw, 1.8rem)/1.2 var(--display); margin-bottom: .4rem; padding: 0; }
.field { display: grid; gap: .45rem; }
.field label, .field .label { font-family: var(--label); text-transform: uppercase; letter-spacing: .22em; font-size: .66rem; color: var(--fg); }
.field .opt { letter-spacing: 0; text-transform: none; font-family: var(--body); color: var(--fg-3); font-size: .8rem; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--fg-3); border-radius: 0;
  padding: .45rem 0 .65rem; width: 100%; min-height: 44px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom: 2px solid var(--fg); padding-bottom: calc(.65rem - 1px); }
.field [aria-invalid="true"] { border-bottom: 2px solid var(--err); }
.field .hint { font-size: .86rem; color: var(--fg-3); }
.field .error { font-size: .88rem; color: var(--err); font-weight: 500; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.checks label { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--rule); padding: .55rem .85rem; min-height: 44px; cursor: pointer; font-size: .92rem; }
.checks input { accent-color: var(--accent); width: 1rem; height: 1rem; }
.consent { display: grid; grid-template-columns: 1.25rem 1fr; gap: .8rem; align-items: start; font-size: .95rem; color: var(--fg-2); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { min-height: 1.4em; font-weight: 500; }
.status.is-ok { color: var(--ok); } .status.is-error { color: var(--err); }
.night .field input, .night .field textarea, .night .field select { color-scheme: dark; }
.confirm { border: 1px solid var(--rule); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.5rem 2.5rem 1.5rem 0; position: relative; font: 400 clamp(1.15rem, 2vw, 1.45rem)/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 1.35rem; font-family: var(--body); font-weight: 300; font-size: 1.6rem; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.8rem; max-width: var(--measure); color: var(--fg-2); }
.faq .answer > * + * { margin-top: .8rem; }

/* ---------- notice used on drafts ---------- */
.notice { border-left: 2px solid var(--accent); padding: .9rem 1.1rem; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--fg-2); font-size: .95rem; max-width: 46rem; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--white); padding: clamp(4rem, 9vw, 6rem) var(--gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule-dark); }
.foot .grid { row-gap: 2.5rem; }
.foot h2 { font: 400 clamp(1.9rem, 4vw, 3rem)/1.05 var(--display); }
.foot nav ul { display: grid; gap: .55rem; }
.foot a { color: var(--mist); text-decoration: none; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot nav ul { gap: 0 !important; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot .caps { color: var(--silver); }
@media (max-width: 560px) { .foot nav.grid > div { grid-column: span 6 !important; } }
.foot .legal a { text-decoration: underline; text-decoration-color: var(--silver); }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); color: var(--silver); font-size: .85rem; }

/* ---------- app shells (member & admin) ---------- */
.app { display: grid; gap: 2rem; }
.panel { border: 1px solid var(--rule); padding: clamp(1.2rem, 2.6vw, 1.8rem); display: grid; gap: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: .62rem; color: var(--fg-3); font-weight: 400; }
.table-wrap { overflow-x: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--rule); }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--fg-3); padding: .9rem .4rem; margin-right: 1rem; min-height: 44px; cursor: pointer; font-family: var(--label); text-transform: uppercase; letter-spacing: .2em; font-size: .64rem; }
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.panel h3 { font: 400 1.35rem/1.2 var(--display); }
.pill { display: inline-block; font-family: var(--mono); font-size: .7rem; padding: .15rem .5rem; border: 1px solid var(--rule); }
.price-total { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); }

/* ---------- motion: reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(1.4rem); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-lines .line { display: block; overflow: hidden; }
.js .reveal-lines .line > span { display: inline-block; transform: translateY(105%); transition: transform .95s var(--ease); }
.js .reveal-lines.is-in .line > span { transform: none; }
.js .reveal-lines.is-in .line:nth-child(2) > span { transition-delay: .12s; }
.js .reveal-lines.is-in .line:nth-child(3) > span { transition-delay: .24s; }
.drift { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal, .js .reveal-lines .line > span { opacity: 1; transform: none; }
  .plate { transform: none !important; }
}
@media (forced-colors: active) { .btn::before { display: none; } .plate { background: Canvas; } }
@media print { .bar, .foot, .snake-layer, body::after { display: none; } body { background: #fff; color: #000; } }

/* ---------- chapter navigator (home) ---------- */
.chapters { display: none; }
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .chapters { display: block; position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 25; mix-blend-mode: difference; color: #fff; }
  .chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; position: relative; }
  .chapters a { display: flex; justify-content: flex-end; align-items: center; width: 24px; height: 30px; text-decoration: none; position: relative; }
  .chapters-label { position: absolute; right: 30px; font-family: var(--label); text-transform: uppercase; letter-spacing: .22em; font-size: .62rem; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .25s ease, transform .35s var(--ease); pointer-events: none; }
  .chapters-mark { width: 8px; height: 8px; margin-right: 8px; border: 1px solid currentColor; background: #000; transform: rotate(45deg) scale(.75); transition: transform .35s var(--ease), background-color .25s ease; position: relative; z-index: 1; }
  .chapters a[aria-current="true"] .chapters-mark { transform: rotate(45deg) scale(1.05); background: currentColor; }
  .chapters a:hover .chapters-label, .chapters a:focus-visible .chapters-label { opacity: 1; transform: none; }
  .chapters a:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
  .chapters-track { position: absolute; right: 12px; top: -1.4rem; bottom: -1.4rem; width: 1px; background: rgba(255,255,255,.28); }
  .chapters-fill { position: absolute; inset: 0; background: #fff; transform-origin: top; transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) { .chapters * { transition: none !important; } }


/* =====================================================================
   Night reskin — black, white and chrome.
   Minimal surfaces, 3D chrome objects, glass with a neumorphic echo.
   One type family (Syne) speaks everywhere; Syne Mono labels.
   ===================================================================== */
body { background: radial-gradient(90vw 70vh at 70% -10%, #17181a 0%, var(--ink) 60%) fixed, var(--ink); font: 400 1.02rem/1.68 var(--body); letter-spacing: -.005em; }
body::after { opacity: .06; mix-blend-mode: overlay; }
.section { background: transparent; }
.day { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015) 14%, rgba(255,255,255,.015) 86%, transparent); }
strong, b { font-weight: 600; color: var(--white); }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; }
h1.display { font-size: clamp(3rem, 8.6vw, 8rem); line-height: .9; }
h2.display { font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: .96; }
/* emphasis is chrome: brushed-metal letters, never a colour */
.display em, h1 em, h2 em, h3 em, .hero-title .second { font-style: normal; color: var(--accent-fg); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .display em, h1 em, h2 em, .hero-title .second, .chrome-text { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.lede { font-weight: 400; color: var(--mist); }
.caps { font-family: var(--label); font-size: .68rem; letter-spacing: .1em; }
.index-num, .mono { font-family: var(--label); letter-spacing: .06em; font-size: .72rem; text-transform: uppercase; color: var(--silver); }
.index-num::before { content: "( "; } .index-num::after { content: " )"; }
.prose h2, .step h3, .ledger-row h3, .empty h3, .faq summary, .form legend, .panel h3, .foot h2, .model .triad, .formats li, .disc-list button, .price-total, .card h3, .plate h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }
.step .n, .bignum, .formats li { font-style: normal; }
.bignum { -webkit-text-stroke: 0; color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 90%); -webkit-background-clip: text; background-clip: text; font-weight: 800; letter-spacing: -.06em; }
::selection { background: rgba(255,255,255,.85); color: #060606; }
a:hover { text-decoration-color: var(--white); }
.textlink { text-decoration-color: rgba(255,255,255,.35); }

/* scroll progress: a polished chrome hairline */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 50; background: var(--chrome-h); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* header: floating glass bar */
.bar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar::before { content: ""; position: absolute; inset: .55rem calc(var(--gutter) - .9rem); border-radius: 22px; border: 1px solid transparent; background: transparent; transition: background-color .35s, border-color .35s, box-shadow .35s; z-index: -1; pointer-events: none; }
.bar.is-scrolled::before { background: rgba(14,14,16,.62); border-color: var(--glass-line); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--neu); }
.brand .caps { font-family: var(--display); font-weight: 700; letter-spacing: .02em; font-size: .9rem; text-transform: none; }
.brand svg { color: var(--white); }
.bar-right { display: flex; align-items: center; gap: .75rem; position: relative; z-index: 2; }
.bar-member { text-decoration: none; color: var(--mist); padding: .6rem 1rem; min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; font-family: var(--label); }
.bar-member::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--chrome); box-shadow: 0 0 10px rgba(255,255,255,.6); }
.bar-member:hover, .bar-member[aria-current="page"] { color: var(--white); }
.menu-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.6rem; min-width: min(46vw, 14rem); padding: .8rem 1.15rem; border-radius: 16px; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); color: var(--white); font-family: var(--label); letter-spacing: .1em; box-shadow: var(--neu); }
.menu-btn .dots { width: 14px; height: 10px; background: radial-gradient(circle, currentColor 1.1px, transparent 1.4px) 0 0 / 7px 5px; opacity: .85; transition: transform .5s var(--ease); }
.menu-btn[aria-expanded="true"] { box-shadow: var(--neu-in); }
.menu-btn[aria-expanded="true"] .dots { transform: rotate(90deg); }
.nav { position: fixed; top: calc(4.8rem + env(safe-area-inset-top, 0px)); right: var(--gutter); left: auto; bottom: auto; z-index: 29; width: min(calc(100vw - 2 * var(--gutter)), 24rem);
  flex-direction: column; align-items: stretch; gap: .15rem; padding: .6rem; border-radius: 24px; border: 1px solid var(--glass-line); background: rgba(16,16,18,.72); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.12); visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .25s var(--ease-soft), transform .45s var(--ease), visibility 0s .45s; counter-reset: nav; }
.nav a { counter-increment: nav; font: 700 1.55rem/1.1 var(--display); letter-spacing: -.03em; text-transform: none; color: var(--mist); padding: .7rem .9rem; border-radius: 14px; min-height: 44px; display: flex; align-items: baseline; justify-content: space-between; gap: .9rem; transition: background-color .25s, color .25s, box-shadow .25s; }
.nav a::after { content: "0" counter(nav); font: 400 .66rem/1 var(--label); letter-spacing: .08em; color: var(--graphite); }
.nav a:hover, .nav a:focus-visible { background: rgba(255,255,255,.05); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--white); text-decoration: none; box-shadow: var(--neu-in); }
.nav .nav-apply { margin-top: .4rem; background: var(--chrome-soft); color: #0a0a0a; border: 0; justify-content: space-between; }
.nav .nav-apply::after { content: "→"; color: #0a0a0a; font: 700 1rem/1 var(--display); }
.nav .nav-apply:hover { color: #000; background: var(--chrome-soft); filter: brightness(1.06); }
.nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease-soft), transform .45s var(--ease); }
.js .nav-open .nav a { animation: navIn .5s var(--ease) both; }
.js .nav-open .nav a:nth-child(2) { animation-delay: .03s } .js .nav-open .nav a:nth-child(3) { animation-delay: .06s } .js .nav-open .nav a:nth-child(4) { animation-delay: .09s } .js .nav-open .nav a:nth-child(5) { animation-delay: .12s } .js .nav-open .nav a:nth-child(6) { animation-delay: .15s } .js .nav-open .nav a:nth-child(7) { animation-delay: .18s }
@keyframes navIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .nav { position: fixed; inset: auto; top: calc(4.8rem + env(safe-area-inset-top, 0px)); right: var(--gutter); padding: .6rem; } .nav-open, .nav-open body { overflow: visible; } }
@media (max-width: 560px) { .bar-member { display: none; } .menu-btn { min-width: 8rem; gap: 1rem; } .brand .caps { white-space: nowrap; font-size: .82rem; } }

/* buttons: glass with a neumorphic edge; the primary one is a bar of polished chrome */
.btn { border-radius: 999px; font-family: var(--label); letter-spacing: .08em; font-size: .72rem; border: 1px solid var(--glass-line); padding: 1rem 1.7rem; background: var(--glass); color: var(--white); box-shadow: var(--neu); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn::before { background: rgba(255,255,255,.08); transform: none; opacity: 0; transition: opacity .35s var(--ease); }
@media (hover: hover) { .btn:hover { color: var(--white); border-color: rgba(255,255,255,.3); } .btn:hover::before { opacity: 1; } .btn.solid:hover { color: #050505; } }
.btn:focus-visible { color: var(--white); } .btn:focus-visible::before { opacity: 1; }
.btn:active { box-shadow: var(--neu-in); }
.btn.solid { background: var(--chrome-soft); font-weight: 400; text-shadow: 0 1px 0 rgba(255,255,255,.6); color: #070707; border: 0; font-weight: 400; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -1px 0 rgba(0,0,0,.35) inset, 0 18px 40px -16px rgba(255,255,255,.28), 10px 12px 30px rgba(0,0,0,.7); }
.btn.solid::before { background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%); opacity: 1; transform: translateX(-120%); transition: transform .9s var(--ease); }
@media (hover: hover) { .btn.solid:hover::before { transform: translateX(120%); } }
.btn .arrow { font-family: var(--display); }
[data-magnetic] { transition: transform .5s var(--ease), color .35s var(--ease); }

/* cursor: a small glass lens */
.cursor { position: fixed; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; pointer-events: none; z-index: 60; opacity: 0; background: rgba(255,255,255,.03); -webkit-backdrop-filter: blur(2px) brightness(1.25); backdrop-filter: blur(2px) brightness(1.25); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; }

/* hero: chrome object on the right, the words own the left */
.hero { position: relative; min-height: 100svh; margin-top: -5.2rem; padding-top: 5.2rem; display: grid; align-content: end; padding-bottom: clamp(2rem, 6vh, 4rem); overflow: hidden; }
.hero-rings, .home main .hero > .hero-rings { position: absolute; left: 0; top: 0; width: 100%; height: 100svh; display: block; pointer-events: none; z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; width: 100%; }
.hero .mark, .home main .hero > .mark { position: absolute; left: 72%; top: 44svh; width: min(31vw, 400px); transform: translate(-50%, -50%) perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); z-index: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.8)) drop-shadow(0 0 30px rgba(255,255,255,.08)); transition: transform .8s var(--ease); }
.hero .mark svg.infinity .sheen { animation: sheen 6s var(--ease) infinite; }
@keyframes sheen { 0% { opacity: 0; } 8%, 28% { opacity: .85; } 36%, 100% { opacity: 0; } } /* the glint itself travels inside the gradient, so the shape never moves */
.hero h1.display.hero-title { font-size: clamp(2.6rem, 5.6vw, 6rem); line-height: .92; max-width: 58vw; }
/* words animate as their own layers, so each word carries its own chrome */
.hero-title .second { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--accent-fg) !important; }
@supports (-webkit-background-clip: text) or (background-clip: text) { .hero-title .second .w { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; } }
.hero .lede { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 32rem; }
@media (max-height: 760px) and (min-width: 821px) { .hero h1.display.hero-title { font-size: clamp(2.4rem, 5.8vw, 5rem); } }
@media (max-width: 899px) { .hero .mark, .home main .hero > .mark { left: 50%; top: 25svh; width: 150px; } .hero h1.display.hero-title { max-width: none; font-size: clamp(2.3rem, 10.5vw, 4rem); } }
.js .hero-title .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.25em) scale(.98); animation: wordIn 1.1s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .06s); }
@keyframes wordIn { to { opacity: 1; filter: none; transform: none; } }
.js .hero .reveal { transition-delay: .9s; }

/* ticker */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--rule-dark); padding-block: 1.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 2.6rem; width: max-content; animation: tick 55s linear infinite; }
.ticker span { font: 800 clamp(1.8rem, 3.6vw, 3rem)/1 var(--display); letter-spacing: -.04em; color: #3a3b3e; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.6rem; }
.ticker span:nth-child(3n+1) { color: var(--white); }
.ticker span::after { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--chrome); box-shadow: 0 0 12px rgba(255,255,255,.35); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* surfaces: frosted glass with a soft neumorphic lift */
.plate, .model, .panel, .confirm, .card, .empty, .ledger-data, .notice, .disc-panel { border-radius: var(--radius); }
.plate, .card, .model, .panel, .confirm { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015) 40%, rgba(255,255,255,.03)); border: 1px solid var(--glass-line); box-shadow: var(--neu); -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%); }
.plate { background: radial-gradient(22rem circle at var(--mx) var(--my), rgba(255,255,255,.09), transparent 55%), linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015) 40%, rgba(255,255,255,.03)); }
.plate h3, .plate h3.display { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1; }
@media (hover: hover) { .plate:hover, .card:hover { border-color: rgba(255,255,255,.28); } }
.empty { border-color: var(--rule-dark); }
.notice { border: 1px solid var(--glass-line); background: rgba(255,255,255,.04); }
.chip { border-radius: 999px; font-family: var(--label); letter-spacing: .06em; font-size: .7rem; border-color: var(--rule-dark); background: rgba(255,255,255,.02); }
.chip[aria-pressed="true"] { background: var(--chrome-soft); color: #070707; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(255,255,255,.4); }
.tabs { gap: .25rem; border-bottom-color: var(--rule-dark); }
.tabs button { font-family: var(--label); letter-spacing: .06em; font-size: .7rem; }
.tabs button[aria-selected="true"] { color: var(--white); border-bottom-color: var(--white); }
.pill { border-radius: 999px; padding: .22rem .7rem; font-family: var(--label); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; border-color: var(--rule-dark); color: var(--silver); }
.pill.free { color: #070707; background: var(--chrome-soft); border-color: transparent; }
.pill.warm { color: var(--white); border-color: rgba(255,255,255,.3); }
.field label, .field .label { font-family: var(--label); letter-spacing: .08em; color: var(--silver); }
.field input, .field textarea, .field select { border: 1px solid var(--rule-dark); border-radius: 12px; padding: .75rem .95rem; background: rgba(0,0,0,.25); box-shadow: var(--neu-in); }
.field input:focus, .field textarea:focus, .field select:focus { border: 1px solid rgba(255,255,255,.4); padding: .75rem .95rem; outline: none; }
.field [aria-invalid="true"] { border: 1px solid var(--err); }
.field select { background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; }
.checks label { border-radius: 999px; border-color: var(--rule-dark); }
.checks input, .consent input { accent-color: #d9dbde; }
.faq summary { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.disc-list button { font-size: clamp(1.9rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; }
.disc-list button[aria-pressed="true"] { text-decoration: none; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.model .triad { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.1; }
.step h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.foot { background: transparent; border-top: 1px solid var(--rule-dark); overflow: hidden; }
.foot h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: .95; font-weight: 800; }
.foot .caps { font-family: var(--label); color: var(--graphite); }
.wordmark { font: 800 clamp(2.2rem, 9.4vw, 10rem)/.82 var(--display); letter-spacing: -.06em; text-align: center; margin-top: 3.5rem; user-select: none; white-space: nowrap; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status.is-ok { color: var(--ok); } .status.is-error { color: var(--err); }
.field .error { color: var(--err); }

/* library + board cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1.1rem; }
.card { position: relative; display: grid; align-content: start; gap: .75rem; padding: 1.4rem 1.35rem 1.3rem; transition: transform .5s var(--ease), border-color .3s; }
.card h3 { font-size: 1.45rem; line-height: 1.02; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--mist); font-size: .93rem; }
.card p.mono { font-size: .66rem; line-height: 1.7; color: var(--graphite); }
.card .meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
.card :focus-visible { outline: none; } .card:focus-within { outline: 2px solid var(--white); outline-offset: 3px; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); } }
.search { width: 100%; max-width: 30rem; font: 400 1rem/1.4 var(--body); color: var(--fg); background: rgba(0,0,0,.25); border: 1px solid var(--rule-dark); border-radius: 999px; padding: .9rem 1.3rem; min-height: 50px; box-shadow: var(--neu-in); }
.search::placeholder { color: var(--graphite); }
.search:focus { outline: none; border-color: rgba(255,255,255,.4); }

/* data transparency */
.ledger-data { display: grid; gap: 0; border: 1px solid var(--glass-line); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); box-shadow: var(--neu); overflow: hidden; }
.ledger-data > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) minmax(0, 1.2fr); gap: .5rem 2rem; padding: 1.3rem 1.4rem; border-top: 1px solid var(--rule-dark); }
.ledger-data > div:first-child { border-top: 0; }
.ledger-data dt { font: 700 1.15rem/1.15 var(--display); letter-spacing: -.02em; color: var(--white); }
.ledger-data dd { margin: 0; color: var(--mist); font-size: .94rem; }
@media (max-width: 760px) { .ledger-data > div { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .card, .nav, [data-magnetic], .hero .mark { transition: none !important; }
  .ticker-track, .hero .mark svg.infinity .sheen { animation: none; }
  .js .hero-title .w { opacity: 1; filter: none; transform: none; animation: none; }
  .cursor, .progress { display: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (forced-colors: active) { .menu-btn, .nav, .card, .plate { border: 1px solid CanvasText; } .wordmark, .display em { color: CanvasText; background: none; -webkit-text-fill-color: CanvasText; } .btn.solid { background: ButtonFace; color: ButtonText; } }

/* shop */
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.product { padding: 0 0 1.4rem; overflow: hidden; }
.product > :not(img) { margin-inline: 1.35rem; }
.product img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: var(--radius) var(--radius) 0 0; margin-bottom: .6rem; }
.product .price { font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; color: var(--white); }
.product h3 { font-size: 1.6rem; }
.buy, .notify { display: grid; gap: .8rem; margin-top: .4rem; position: relative; z-index: 1; }
.notify .search { max-width: none; }
.sizes { display: flex; flex-wrap: wrap; gap: .4rem; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; padding: 0 .8rem; border-radius: 12px; border: 1px solid var(--rule-dark); font: 400 .78rem/1 var(--label); letter-spacing: .06em; color: var(--mist); box-shadow: var(--neu); }
.sizes input:checked + span { background: var(--chrome-soft); color: #070707; border-color: transparent; box-shadow: var(--neu-in); }
.sizes input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
@media (hover: hover) { .product:hover { transform: none; } }
.table input, .table select { font: 400 .9rem/1.2 var(--body); color: var(--white); background: rgba(0,0,0,.3); border: 1px solid var(--rule-dark); border-radius: 10px; padding: .55rem .7rem; min-height: 40px; box-shadow: var(--neu-in); color-scheme: dark; }

/* =====================================================================
   The sky: one celestial layer behind every page (drawn by /js/sky.js).
   ===================================================================== */
canvas.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
main, .foot { position: relative; z-index: 1; }
.bar { z-index: 30; }
.hero-rings, .hero > .mark { display: none !important; }
/* the hero's hands-on moment: an invisible dial over the sculpture you can drag or turn with the keys */
.orbit-handle, .home main .hero > .orbit-handle { position: absolute; left: 76%; top: 45svh; width: min(66svh, 40vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 1; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.orbit-handle.is-turning { cursor: grabbing; }
.orbit-handle:focus-visible { outline: 1px solid rgba(255,255,255,.55); outline-offset: -14%; }
.orbit-readout { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); white-space: nowrap; font-size: .66rem; color: var(--graphite); transition: color .4s var(--ease), letter-spacing .6s var(--ease); pointer-events: none; }
.orbit-handle:hover .orbit-readout, .orbit-handle:focus-visible .orbit-readout, .orbit-handle.is-turning .orbit-readout { color: var(--white); letter-spacing: .12em; }
@media (max-width: 899px) { .orbit-handle, .home main .hero > .orbit-handle { left: 50%; top: 20svh; width: 86vw; aspect-ratio: 1.6; } .orbit-readout { bottom: auto; top: 0; opacity: 0; transition: opacity .3s; } .orbit-handle.is-turning .orbit-readout, .orbit-handle:focus-visible .orbit-readout { opacity: 1; } }
.sky-room { height: clamp(14rem, 34svh, 22rem); }
/* keep long reading text clear of the sky without boxing it */
.prose, .lede, .faq .answer { text-shadow: 0 0 18px rgba(6,6,6,.9), 0 0 2px rgba(6,6,6,.8); }

/* luminous, magnetic feedback — the hit area never changes size */
.btn { transition: color .35s var(--ease), border-color .35s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease); }
@media (hover: hover) { .btn:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 0 28px -4px rgba(255,255,255,.28), var(--neu); } .btn.solid:hover { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 0 40px -6px rgba(255,255,255,.55), 10px 12px 30px rgba(0,0,0,.7); } }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; box-shadow: 0 0 34px -6px rgba(255,255,255,.45); }
a:not(.btn):not(.brand):focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }
@media (hover: hover) { .textlink:hover, .foot a:hover, .nav a:hover { text-shadow: 0 0 14px rgba(255,255,255,.55); } .plate:hover, .card:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 46px -18px rgba(255,255,255,.35), var(--neu); } }
.chapters-mark { transition: transform .35s var(--ease), background-color .25s ease, box-shadow .35s; }
.chapters a[aria-current="true"] .chapters-mark { box-shadow: 0 0 10px rgba(255,255,255,.7); }
/* section seams: a hairline arc of light where one section hands over to the next */
.home main > section + section::before { content: ""; position: absolute; left: 50%; top: 0; width: min(120vw, 1600px); height: 1px; transform: translateX(-50%); background: radial-gradient(50% 100% at 50% 0, rgba(255,255,255,.18), transparent 70%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .orbit-readout { transition: none; } }
@media print { canvas.sky, .orbit-handle { display: none; } }

main { overflow-x: clip; }
.field input.otp { font: 400 1.8rem/1 var(--label); letter-spacing: .5em; text-align: center; padding: .9rem .5rem .9rem 1rem; }
