/* ————————————————————————————————————————————————————————————————————————
   SoloNova — two products, one desk.
   Graphite is the constant room and gold the constant accent (the mark,
   focus, the mastered dial). The two products are two lights in that room:
   SquadPT's navy wash with its cyan, Segno's mint, which arrives as a
   demodulating field of samples. Where the light sits follows the cursor (a
   finger on a phone) and the section being read: html --m runs 0 (all
   SquadPT) to 1 (all Segno).
   One stylesheet for the home, the 404 and the privacy page. Nothing here
   needs script to read.
   ———————————————————————————————————————————————————————————————————————— */

:root {
  --room: #111214;
  --room-deep: #0c0d0f;
  --surface: #1c1d20;
  --surface-alt: #26272b;
  --text: #f2f3f5;
  --text-2: #a0a2a9;
  --text-3: #92959d;
  --hair: rgba(255, 255, 255, 0.07);
  --hair-strong: rgba(255, 255, 255, 0.14);

  --mint: #7ee0b0;
  --mint-ink: #0c2418;
  --mint-rgb: 126, 224, 176;

  --cyan: #22d3ee;
  --cyan-ink: #7fe6f5;
  --cyan-deep: #06202a;
  --cyan-rgb: 34, 211, 238;
  --navy: #0a1526;
  --navy-rgb: 15, 39, 71;
  --navy-text: #b7c9dc;
  --navy-text-2: #89a4c2;

  --gold: #ebcb7e;
  --gold-ink: #2a2721;
  --gold-rgb: 235, 203, 126;

  --rough: #ff7b6b;
  --shaky: #f2c14e;
  --event: #2dd4a7;

  --m: 0.5;

  --font: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-pane: 28px;
  --r-card: 20px;
  --maxw: 1240px;
  --gut: clamp(18px, 4vw, 40px);
  --bar-h: 70px;

  --glass-top: rgba(50, 52, 57, 0.5);
  --glass-bottom: rgba(28, 29, 33, 0.46);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.3), 0 30px 60px -32px rgba(0, 0, 0, 0.85);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scrollbar-color: #34363b var(--room); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--room); color: var(--text);
  font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: rgba(var(--gold-rgb), 0.32); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--room); }
::-webkit-scrollbar-thumb { background: #34363b; border-radius: 999px; border: 2px solid var(--room); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; }
[hidden] { display: none !important; }
img { max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--surface-alt); color: var(--text); border: 1px solid rgba(var(--gold-rgb), 0.6);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* ————— The room, and the field over it ————— */
.room {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(110% 50% at 50% -12%, rgba(var(--gold-rgb), 0.1), transparent 62%),
    radial-gradient(60% 70% at 0% 60%, rgba(var(--navy-rgb), 0.55), transparent 70%),
    radial-gradient(60% 70% at 100% 60%, rgba(20, 62, 44, 0.5), transparent 70%),
    linear-gradient(180deg, #151619 0%, var(--room) 40%, var(--room-deep) 100%);
}
.grain {
  position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
.field { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
html.field-on .field { opacity: 1; }

/* ————— Glass, with gold at the rim ————————
   Every pane is a fill inside a 1px gold rim: the rim is a second background
   painted on the border box, so it follows any corner. Its angle turns with
   the light (--m), so the gold catches the side the visitor is lighting.
   The large panes carry a highlight that travels slowly round the edge. */
@property --rim-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.glass {
  --glass-fill: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  --rim: linear-gradient(calc(118deg + var(--m) * 124deg), rgba(var(--gold-rgb), 0.55), rgba(var(--gold-rgb), 0.16) 22%, rgba(255, 255, 255, 0.06) 44%, rgba(255, 255, 255, 0.05) 62%, rgba(var(--gold-rgb), 0.14) 82%, rgba(var(--gold-rgb), 0.4));
  position: relative;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(var(--gold-rgb), 0.1), 0 1px 2px rgba(0, 0, 0, 0.3), 0 30px 60px -32px rgba(0, 0, 0, 0.85);
}
/* the rim: a 1px ring masked out of a layer laid over the border, so the gold never shows through the glass */
.glass::after {
  content: ''; position: absolute; inset: -1px; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass--lit {
  --rim: conic-gradient(from var(--rim-a), rgba(var(--gold-rgb), 0.7), rgba(var(--gold-rgb), 0.2) 40deg, rgba(255, 255, 255, 0.06) 100deg, rgba(255, 255, 255, 0.05) 210deg, rgba(var(--gold-rgb), 0.2) 300deg, rgba(var(--gold-rgb), 0.7));
  animation: rim-turn 16s linear infinite;
}
@keyframes rim-turn { to { --rim-a: 360deg; } }
.glass--lit::after { filter: drop-shadow(0 0 3px rgba(var(--gold-rgb), 0.28)); }

/* ————— The opening ————— */
.gate { display: none; }
html.gate-on { overflow: hidden; }
html.gate-on .gate {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 46%, #17171a, var(--room-deep) 75%);
  transition: opacity 0.9s ease, visibility 0.9s;
}
.gate.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.gate-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate-center { position: relative; display: grid; justify-items: center; gap: 22px; }
.gate-mark {
  display: block; width: min(30vw, 190px); aspect-ratio: 195 / 248; background: var(--gold); opacity: 0;
  -webkit-mask: url('/assets/img/solonova-mark.svg') center / contain no-repeat; mask: url('/assets/img/solonova-mark.svg') center / contain no-repeat;
  filter: drop-shadow(0 6px 24px rgba(var(--gold-rgb), 0.25));
  transition: opacity 0.6s ease;
  will-change: transform;
}
.gate.is-locked .gate-mark { opacity: 1; }
.gate-word {
  font: 600 clamp(1.3rem, 2.4vw, 1.6rem)/1 var(--font); letter-spacing: 0.06em; color: var(--gold);
  opacity: 0; transform: translateY(6px); transition: opacity 0.8s ease, transform 0.8s var(--ease), letter-spacing 1.4s var(--ease);
}
.gate.is-locked .gate-word { opacity: 0.95; transform: none; letter-spacing: -0.01em; }
.gate-actions { display: grid; justify-items: center; gap: 12px; margin-top: 18px; transition: opacity 0.5s ease, transform 0.5s var(--ease); }
.gate.is-acquiring .gate-actions { opacity: 0; transform: translateY(8px); pointer-events: none; }
.gate-enter {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(var(--gold-rgb), 0.55); background: rgba(var(--gold-rgb), 0.08); color: var(--gold);
  font-size: 16px; font-weight: 600; letter-spacing: 0.01em;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.gate-enter:hover { background: rgba(var(--gold-rgb), 0.15); border-color: rgba(var(--gold-rgb), 0.8); transform: translateY(-1px); }
.gate-quiet { border: 0; background: none; color: var(--text-3); font-size: 14px; cursor: pointer; padding: 6px 10px; border-radius: 8px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color 0.3s, text-decoration-color 0.3s; }
.gate-quiet:hover { color: var(--text-2); text-decoration-color: currentColor; }

/* ————— The bar ————— */
.bar { position: sticky; top: 0; z-index: 40; padding: 14px var(--gut) 0; }
.bar::before {
  content: ''; position: absolute; inset: 0 0 -18px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--room) 0%, rgba(17, 18, 20, 0.85) 45%, rgba(17, 18, 20, 0) 100%);
}
.bar-in { max-width: var(--maxw); margin: 0 auto; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 14px; border-radius: 999px; }
html.js:not(.gate-on) .bar-in { animation: drop 0.9s var(--ease) backwards; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding-right: 8px; border-radius: 999px; }
.brand-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.hallmark {
  display: inline-block; width: 26px; height: 33px; background: var(--gold);
  -webkit-mask: url('/assets/img/solonova-mark.svg') center / contain no-repeat; mask: url('/assets/img/solonova-mark.svg') center / contain no-repeat;
}
.hallmark--lg { width: 64px; height: 81px; }
.bar-right { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; transition: color 0.25s, background 0.25s; }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link--pt:hover { color: var(--cyan-ink); }
.nav-link--sg:hover { color: var(--mint); }
.sound {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 10px; margin-right: 6px; border-radius: 999px;
  border: 1px solid var(--hair-strong); background: rgba(255, 255, 255, 0.03); color: var(--text-2); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.sound:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }
.sound .sound-wave { display: none; }
.sound[aria-pressed='true'] { color: var(--gold); border-color: rgba(var(--gold-rgb), 0.5); background: rgba(var(--gold-rgb), 0.08); }
.sound[aria-pressed='true'] .sound-wave { display: block; }
.sound[aria-pressed='true'] .sound-x { display: none; }

/* ————— Buttons, chips, links ————— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--pt { background: var(--cyan); color: var(--cyan-deep); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 22px -12px rgba(0, 0, 0, 0.8); }
.btn--pt:hover { background: #4ddcf3; }
.btn--sg { background: var(--mint); color: var(--mint-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 22px -12px rgba(0, 0, 0, 0.8); }
.btn--sg:hover { background: #95e8c0; }
.btn--quiet { background: rgba(255, 255, 255, 0.04); border-color: var(--hair-strong); color: var(--text); }
.btn--quiet:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn .ic { transition: transform 0.35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.text-link { font-size: 14.5px; font-weight: 500; color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.2); text-underline-offset: 4px; transition: color 0.3s, text-decoration-color 0.3s; }
.text-link--pt:hover { color: var(--cyan-ink); text-decoration-color: currentColor; }
.text-link--sg:hover { color: var(--mint); text-decoration-color: currentColor; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--hair-strong); background: rgba(255, 255, 255, 0.03); color: var(--text-2); font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }
.chip--pt { color: var(--cyan-ink); border-color: rgba(var(--cyan-rgb), 0.3); }
.chip--pt:hover { color: #fff; border-color: rgba(var(--cyan-rgb), 0.6); background: rgba(var(--cyan-rgb), 0.08); }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--hue); }
.app-icon { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.8); }
.app-icon--lg { width: 56px; height: 56px; border-radius: 14px; }
.tag { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--hair-strong); font: 500 11px/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }

/* ————— Devices ————— */
.window { width: 100%; border-radius: 14px; overflow: hidden; background: #0b1424; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 28px 56px -28px rgba(0, 0, 0, 0.85); }
.window-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(255, 255, 255, 0.045); border-bottom: 1px solid rgba(255, 255, 255, 0.06); font: 500 11px var(--mono); color: var(--text-3); letter-spacing: 0.02em; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.window-bar span { margin-left: 8px; }
.window-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.window-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.phone {
  --pw: 200px; width: var(--pw); aspect-ratio: 804 / 1748; flex: none; padding: calc(var(--pw) * 0.035); border-radius: calc(var(--pw) * 0.175);
  background: #09090b; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9), 0 34px 70px -30px rgba(0, 0, 0, 0.95);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--pw) * 0.14); }

/* ————— The duo ————— */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(14px, 3vh, 48px) var(--gut) 20px; }
.hero-copy { margin-bottom: clamp(16px, 2.6vh, 36px); }
@media (min-width: 1000px) {
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: end; }
  .hero-copy .lede { margin-top: 0; padding-bottom: 8px; }
}
h1 { font-size: clamp(2.6rem, min(6vw, 8.6vh), 4.9rem); line-height: 1.0; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
h1 b { color: var(--gold); font-weight: 700; }
html.js:not(.gate-on) .w { display: inline-block; animation: rise 1s var(--ease) backwards; animation-delay: calc(0.15s + var(--i) * 0.08s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }
.lede { margin-top: 18px; max-width: 56ch; color: var(--text-2); font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.55; text-wrap: pretty; }
html.js:not(.gate-on) .lede { animation: rise 1s var(--ease) 0.5s backwards; }

.slab {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); border-radius: 32px; overflow: hidden;
  --glass-fill:
    radial-gradient(80% 90% at 0% 0%, rgba(var(--cyan-rgb), calc(0.16 * clamp(0, 1.25 - var(--m) * 1.3, 1))), rgba(var(--navy-rgb), calc(0.5 * clamp(0, 1.25 - var(--m) * 1.3, 1))) 45%, transparent 75%),
    radial-gradient(80% 90% at 100% 0%, rgba(var(--mint-rgb), calc(0.16 * clamp(0, var(--m) * 1.3 - 0.05, 1))), transparent 70%),
    linear-gradient(180deg, rgba(40, 42, 47, 0.32), rgba(20, 21, 24, 0.36));
}
html.js:not(.gate-on) .slab { animation: setdown 1.2s var(--ease) 0.45s backwards; }
@keyframes setdown { from { opacity: 0; transform: translateY(40px) perspective(1400px) rotateX(6deg); filter: blur(10px); } }
.half {
  --lit: 1; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 24px 26px 22px;
  opacity: calc(0.5 + 0.5 * var(--lit)); filter: saturate(calc(0.4 + 0.6 * var(--lit)));
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.half--pt { --hue: var(--cyan); --lit: clamp(0, calc((1 - var(--m)) * 2.2), 1); }
.half--sg { --hue: var(--mint); --lit: clamp(0, calc(var(--m) * 2.2), 1); }
.half-head { display: flex; align-items: center; gap: 12px; }
.half-head h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; }
.half-line { color: var(--text-2); font-size: 15px; line-height: 1.5; max-width: 50ch; text-wrap: pretty; }
.half--pt .half-line { color: var(--navy-text); }
.half-stage { position: relative; flex: 1; min-height: clamp(240px, 44vw, 380px); display: grid; place-items: center; container-type: size; }
.half-foot { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.seam { position: relative; z-index: 2; background: linear-gradient(180deg, transparent, rgba(var(--gold-rgb), 0.55) 22%, rgba(var(--gold-rgb), 0.55) 78%, transparent); }
.seam-mark {
  position: absolute; left: 50%; top: 50%; width: 36px; height: 46px; translate: -50% -50%;
  background: var(--gold); -webkit-mask: url('/assets/img/solonova-mark.svg') center / contain no-repeat; mask: url('/assets/img/solonova-mark.svg') center / contain no-repeat;
}
.seam::before { content: ''; position: absolute; left: 50%; top: 50%; width: 76px; height: 86px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, var(--room), rgba(17, 18, 20, 0)); }
.half-stage--pt { display: flex; align-items: center; justify-content: center; }
.window--hero { flex: none; width: max(min(66%, 420px, 90cqh), min(260px, 64%)); align-self: flex-start; margin-top: 2px; max-height: calc(100cqh - 4px); display: flex; flex-direction: column; }
.window-shot--loupe { aspect-ratio: 562 / 470; min-height: 0; flex: 0 1 auto; }
.phone--hero-pt { --pw: min(clamp(104px, 9vw, 136px), 40cqh); order: -1; position: relative; z-index: 1; margin: 10cqh 16px 0 0; transform: rotate(-3deg); }
.phone--hero-sg { --pw: min(clamp(150px, 12.5vw, 196px), 45cqh); position: relative; z-index: 1; }
.staff { position: absolute; left: -26px; right: -26px; top: 50%; width: calc(100% + 52px); height: 46%; translate: 0 -50%; -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.st-line { fill: none; stroke: rgba(var(--mint-rgb), 0.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.st-bar { stroke: rgba(var(--mint-rgb), 0.18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.st-note { fill: rgba(var(--mint-rgb), 0.5); }
.hint { display: grid; grid-template-columns: auto minmax(80px, 260px) auto; justify-content: center; align-items: center; gap: 6px 14px; margin-top: 16px; font-size: 13.5px; font-weight: 500; color: var(--text-3); }
.hint-pt { color: var(--cyan-ink); justify-self: end; }
.hint-sg { color: var(--mint); }
.hint-track { position: relative; height: 1px; background: linear-gradient(90deg, rgba(var(--cyan-rgb), 0.5), rgba(255, 255, 255, 0.12), rgba(var(--mint-rgb), 0.5)); }
.hint-track i { position: absolute; top: -3px; left: calc(var(--m) * 100%); width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--gold); }
.hint-text { grid-column: 1 / -1; justify-self: center; transition: opacity 0.6s ease; }
.hint.is-used .hint-text { opacity: 0; }
html:not(.js) .hint { display: none; }
@media (min-width: 901px) and (min-height: 620px) {
  .hero { display: flex; flex-direction: column; height: calc(100svh - var(--bar-h)); min-height: 580px; max-height: 1000px; }
  .slab { flex: 1; min-height: 0; }
  .half { min-height: 0; }
  .half-stage { min-height: 0; }
}

/* ————— The tours: a device held still while the cards come round ————— */
.tour { position: relative; padding: clamp(80px, 12vh, 140px) var(--gut) 0; overflow-x: clip; }
.tour-head { max-width: var(--maxw); margin: 0 auto clamp(10px, 2vh, 20px); display: flex; align-items: center; gap: 16px; }
.tour-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.tour-tag { margin-top: 6px; font-size: 1.15rem; color: var(--text-2); }
.tour--pt .tour-tag { color: var(--navy-text); }
.tour-body { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr); gap: clamp(24px, 4vw, 64px); }
.tour--sg .tour-body { grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.45fr); }
.tour--sg .tour-stage { order: 2; }
.tour-stage { position: sticky; top: var(--bar-h); height: calc(100svh - var(--bar-h)); display: grid; place-items: center; }
.stage-device { position: relative; width: 100%; display: grid; place-items: center; }
.tour-steps { padding: 18vh 0 30vh; }
.step { min-height: 58vh; display: flex; align-items: center; }
.step-card {
  position: relative; border-radius: var(--r-card); padding: 22px 24px 24px; max-width: 420px;
  transform-origin: 50% 50%; will-change: transform, opacity, filter;
}
.step-card h3 { margin-top: 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.step-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.tour--pt .step-card { --glass-fill: linear-gradient(180deg, rgba(17, 44, 74, 0.6), rgba(10, 21, 38, 0.64)); }
.tour--pt .step-card p { color: var(--navy-text); }
.step.is-on .step-card { --rim: linear-gradient(135deg, rgba(var(--gold-rgb), 0.7), rgba(var(--gold-rgb), 0.2) 30%, rgba(255, 255, 255, 0.07) 55%, rgba(var(--gold-rgb), 0.18) 80%, rgba(var(--gold-rgb), 0.55)); }
.tour-fallback { display: none; }

/* SquadPT's stage: the browser window, with two phones that come forward at the end */
.stage-device--pt { perspective: 1600px; }
.window--tour { width: min(100%, 860px); transform: rotateY(calc(var(--tilt, 0) * 1deg)) rotateX(2deg); transition: transform 0.9s var(--ease), opacity 0.7s ease, filter 0.7s ease; }
.window-shot--tour { aspect-ratio: 16 / 10; background: #0b1424; transition: height 0.8s var(--ease); }
.window-shot--tour .shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); filter: blur(6px); transition: opacity 0.7s ease, transform 1s var(--ease), filter 0.7s ease; }
.window-shot--tour .shot.is-on { opacity: 1; transform: none; filter: none; }
.window-shot--tour .shot[data-shot='brief'] { object-position: 50% 0; background: #fff; }
.phone--tour-a, .phone--tour-b { --pw: clamp(130px, 13vw, 190px); position: absolute; bottom: -6%; opacity: 0; transition: transform 1s var(--ease), opacity 0.7s ease; }
.phone--tour-a { right: 26%; transform: translateY(60px) rotate(-6deg); }
.phone--tour-b { right: 6%; transform: translateY(80px) rotate(4deg); }
.stage-device--pt.is-phone .window--tour { opacity: 0.35; filter: blur(3px); transform: rotateY(-8deg) scale(0.94); }
.stage-device--pt.is-phone .phone--tour-a { opacity: 1; transform: translateY(0) rotate(-6deg); }
.stage-device--pt.is-phone .phone--tour-b { opacity: 1; transform: translateY(-20px) rotate(4deg); transition-delay: 0.08s; }

/* Segno's stage: the phone on the turning ring of keys, and the studio window for the last step */
.stage-device--sg { height: min(100%, 760px); width: 100%; }
.ring { position: absolute; width: min(118%, 78vh, 760px); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; overflow: visible; }
.ring-turn { transform-origin: 160px 160px; transform: rotate(calc(var(--turn, 0) * 1deg)); transition: transform 1.2s var(--ease); }
.r-tick { stroke: rgba(255, 255, 255, 0.12); stroke-width: 0.6; }
.r-tick--l { stroke: rgba(var(--mint-rgb), 0.45); stroke-width: 0.9; }
.r-key { fill: rgba(255, 255, 255, 0.34); font: 600 7px var(--mono); text-anchor: middle; letter-spacing: 0.04em; }
.r-line { fill: none; stroke: rgba(var(--mint-rgb), 0.16); stroke-width: 0.6; }
.r-line--in { stroke: rgba(255, 255, 255, 0.06); }
.phone--tour-sg { --pw: min(clamp(190px, 17vw, 250px), 30vh); position: relative; z-index: 1; transition: transform 1s var(--ease), opacity 0.7s ease, filter 0.7s ease; }
.phone-screens { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * 0.14); overflow: hidden; }
.phone-screens .shot { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(0.985); filter: blur(5px); transition: opacity 0.6s ease, transform 0.9s var(--ease), filter 0.6s ease; }
.phone-screens .shot.is-on { opacity: 1; transform: none; filter: none; }
.window--studio { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; margin: 0 auto; width: min(96%, 820px); opacity: 0; transform: translateY(calc(-50% + 50px)) scale(0.94); filter: blur(8px); pointer-events: none; transition: opacity 0.8s ease, transform 1s var(--ease), filter 0.8s ease; }
.stage-device--sg.is-studio .window--studio { opacity: 1; transform: translateY(-50%); filter: none; }
.stage-device--sg.is-studio .phone--tour-sg { opacity: 0.25; filter: blur(4px); transform: scale(0.9) translateX(-30%); }

/* without script the tours are a reading list: no sticky stage, each card as it is */
html:not(.js) .tour-stage, html:not(.js) .tour-steps { display: contents; }
html:not(.js) .stage-device { display: none; }
html:not(.js) .tour-body { display: block; }
html:not(.js) .tour-steps { display: grid; gap: 16px; padding: 0; }
html:not(.js) .step { min-height: 0; }
html:not(.js) .tour-fallback { max-width: var(--maxw); margin: 20px auto 0; display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
html:not(.js) .tour-fallback img { border-radius: 14px; border: 1px solid var(--hair-strong); }

/* ————— The two working pieces ————— */
.try { padding: clamp(60px, 9vh, 110px) var(--gut) clamp(40px, 6vh, 80px); }
.try-in { max-width: var(--maxw); margin: 0 auto; }
.try-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 32px; flex-wrap: wrap; margin-bottom: 20px; }
.try-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.035em; font-weight: 700; }
.try-head p { color: var(--text-2); font-size: 15px; max-width: 56ch; text-wrap: pretty; }
.try--pt .try-head p { color: var(--navy-text); }
.try-cta { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-top: 26px; }
.try-note { font-size: 14px; color: var(--text-3); max-width: 60ch; }
.stores { display: flex; align-items: center; gap: 10px; }
.stores a { display: inline-flex; border-radius: 7px; }
.stores img { display: block; height: 40px; width: auto; }
.toy { border-radius: var(--r-pane); }

.board { padding: 18px 18px 14px; --glass-fill: linear-gradient(180deg, rgba(17, 44, 74, 0.62), rgba(10, 21, 38, 0.68)); }
.board-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.board-title { font: 600 12.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-ink); }
.board-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.day { border-radius: 14px; padding: 12px; min-height: 236px; background: rgba(8, 18, 34, 0.55); border: 1px solid rgba(var(--cyan-rgb), 0.14); transition: transform 0.7s var(--ease), opacity 0.6s ease, filter 0.6s ease, border-color 0.3s; }
html.js .day:not(.is-in) { opacity: 0; transform: translateY(18px); filter: blur(5px); }
.day:hover { border-color: rgba(var(--cyan-rgb), 0.3); }
.day h3 { display: flex; justify-content: space-between; font: 600 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-text-2); margin-bottom: 10px; }
.day h3 b { color: #fff; font-weight: 600; }
.event { margin: -2px 0 8px; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(45, 212, 167, 0.4); font: 600 12px/1.5 var(--mono); color: var(--event); }
.focus {
  width: 100%; height: 32px; padding: 0 8px 0 10px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(var(--cyan-rgb), 0.35); background: rgba(var(--cyan-rgb), 0.1); color: var(--cyan-ink); font: 600 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.focus b { font-weight: 600; }
.focus:hover { background: rgba(var(--cyan-rgb), 0.18); border-color: rgba(var(--cyan-rgb), 0.6); }
.focus:active { transform: scale(0.98); }
.day dl { margin: 12px 0 0; display: grid; gap: 9px; }
.day dt { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-text-2); }
.day dd { margin: 2px 0 0; font-size: 13.5px; line-height: 1.35; color: #e8f1fa; transition: opacity 0.3s, filter 0.3s; }
.day.is-swap dd { opacity: 0.2; filter: blur(3px); }
.board-note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--navy-text-2); }
html:not(.js) .focus { pointer-events: none; }

.try-in--sg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); gap: 18px 48px; align-items: center; }
.try-in--sg .try-head { display: block; grid-column: 1; grid-row: 1; align-self: end; }
.try-in--sg .try-head p { margin-top: 12px; }
.try-in--sg .try-cta { grid-column: 1; grid-row: 2; align-self: start; flex-direction: column; align-items: flex-start; margin-top: 4px; }
.try-in--sg .dial-wrap { grid-column: 2; grid-row: 1 / 3; }
.dial-wrap { display: grid; justify-items: center; gap: 16px; padding: 24px 22px 20px; }
.dial { width: min(100%, 340px); height: auto; overflow: visible; }
.d-tick { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; transition: stroke 0.6s; }
.d-track { stroke: rgba(255, 255, 255, 0.07); stroke-width: 5; }
.d-arc { stroke: var(--mint); stroke-width: 5; stroke-linecap: round; transition: stroke-dasharray 0.7s var(--ease), stroke 0.6s; }
.d-well { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.08); cursor: pointer; transition: fill 0.3s; outline: none; }
.d-well:hover, .d-well:focus-visible { fill: rgba(255, 255, 255, 0.13); }
.d-well:focus-visible { stroke: var(--gold); stroke-width: 1.5; }
.d-well[aria-pressed='true'] { fill: rgba(var(--mint-rgb), 0.92); }
.d-key { fill: rgba(255, 255, 255, 0.72); font: 600 12px var(--mono); text-anchor: middle; pointer-events: none; }
.d-well[aria-pressed='true'] + .d-key { fill: var(--mint-ink); }
.d-core { fill: #17181b; stroke: rgba(255, 255, 255, 0.1); transition: stroke 0.6s, fill 0.6s; }
.dial.is-beat .d-core { stroke: rgba(var(--mint-rgb), 0.55); }
.d-tempo { font: 600 64px var(--font); fill: var(--text); text-anchor: middle; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.d-unit { font: 500 11px var(--mono); fill: var(--text-3); text-anchor: middle; letter-spacing: 0.16em; }
.d-keylabel { fill: var(--mint); }
.d-beat { fill: rgba(255, 255, 255, 0.14); transition: fill 0.08s; }
.d-beat[data-on] { fill: var(--mint); }
[data-dial][data-gold] .d-arc { stroke: var(--gold); }
[data-dial][data-gold] .d-keylabel { fill: var(--gold); }
[data-dial][data-gold] .d-core { stroke: rgba(var(--gold-rgb), 0.6); fill: #1c1a15; }
[data-dial][data-gold] .d-tick { stroke: rgba(var(--gold-rgb), 0.4); }
[data-dial][data-gold] .d-beat[data-on] { fill: var(--gold); }
[data-dial][data-gold] .climb-bar i { background: var(--gold); }
.dial-controls { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.dial-controls .btn { min-width: 96px; }
.discs { display: flex; align-items: flex-end; gap: 10px; }
.disc-wrap { position: relative; display: inline-flex; }
.disc { width: 58px; height: 58px; border-radius: 50%; cursor: pointer; border: 1px solid var(--hair-strong); background: rgba(255, 255, 255, 0.04); font: 600 11px var(--mono); letter-spacing: 0.05em; text-transform: uppercase; transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s; }
.disc:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.26); }
.disc:active { transform: scale(0.92); }
.disc--rough { color: var(--rough); }
.disc--shaky { color: var(--shaky); }
.disc--clean { color: var(--mint); border-color: rgba(var(--mint-rgb), 0.4); }
.disc.is-hit { animation: pop 0.5s var(--ease); }
.disc--rough.is-hit { background: rgba(255, 123, 107, 0.16); }
.disc--shaky.is-hit { background: rgba(242, 193, 78, 0.16); }
.disc--clean.is-hit { background: rgba(var(--mint-rgb), 0.18); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
.pips { position: absolute; left: 50%; top: -12px; translate: -50% 0; display: flex; gap: 5px; }
.pip { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); transition: background 0.3s; }
.pip.on { background: var(--mint); }
.climb { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font: 500 12px var(--mono); color: var(--text-3); }
.climb-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.climb-bar i { display: block; height: 100%; width: 100%; background: var(--mint); border-radius: 999px; transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform 0.7s var(--ease), background 0.6s; }
.dial-note { font-size: 13.5px; line-height: 1.55; color: var(--text-2); text-align: center; max-width: 46ch; min-height: 2.6em; text-wrap: pretty; }
html:not(.js) .dial-controls, html:not(.js) .dial-note { display: none; }

/* ————— The bands: big type that travels with the scroll, into each product ————— */
.band { position: relative; overflow: hidden; padding: clamp(40px, 8vh, 90px) 0 0; pointer-events: none; user-select: none; }
.band-row { display: flex; width: max-content; white-space: nowrap; font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(2.4rem, 5.4vw, 4.4rem); will-change: transform; }
.band-row span { padding-right: 0.3em; }
.band--pt .band-row { color: rgba(var(--cyan-rgb), 0.85); }
.band--sg .band-row { color: rgba(var(--mint-rgb), 0.85); }
.band-row--ghost { color: transparent !important; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22); margin-left: -30vw; }
.band--pt .band-row--ghost { -webkit-text-stroke-color: rgba(var(--cyan-rgb), 0.35); }
.band--sg .band-row--ghost { -webkit-text-stroke-color: rgba(var(--mint-rgb), 0.35); }

/* ————— The statement: read, and it lights ————— */
.statement { max-width: 1100px; margin: 0 auto; padding: clamp(90px, 16vh, 180px) var(--gut) clamp(20px, 4vh, 40px); }
.statement-text { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.statement-text em { font-style: normal; color: var(--gold); }
html.js .statement-text .wd { opacity: 0.18; transition: opacity 0.35s ease; }
html.js .statement-text .wd.is-lit { opacity: 1; }

/* ————— Heading wipes: a bar in the section's colour crosses and leaves the words behind ————— */
.wipe { position: relative; display: inline-block; --wipe-c: var(--gold); }
.tour--pt .wipe, .try--pt .wipe { --wipe-c: var(--cyan); }
.tour--sg .wipe, .try--sg .wipe { --wipe-c: var(--mint); }
.wipe::after { content: ''; position: absolute; inset: 0.06em -0.12em; background: var(--wipe-c); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
html.js .wipe:not(.is-in) .wipe-t { opacity: 0; }
html.js .wipe.is-in::after { animation: wipe-bar 0.95s cubic-bezier(0.7, 0, 0.25, 1) both; }
html.js .wipe.is-in .wipe-t { animation: wipe-text 0.95s steps(1, end) both; }
@keyframes wipe-bar { 0% { transform: scaleX(0); transform-origin: 0 50%; } 48% { transform: scaleX(1); transform-origin: 0 50%; } 52% { transform: scaleX(1); transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
@keyframes wipe-text { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }

/* ————— Contact ————— */
.contact { padding: clamp(70px, 12vh, 140px) var(--gut) clamp(40px, 6vh, 64px); }
.contact-in { max-width: 920px; margin: 0 auto; border-radius: 32px; padding: clamp(32px, 5vw, 60px); display: grid; justify-items: center; text-align: center; gap: 18px; }
.contact-in h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.contact-in > p { color: var(--text-2); max-width: 58ch; text-wrap: pretty; }
.mail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.mail-link { font-size: clamp(1.6rem, 4.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.035em; color: var(--gold); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size 0.6s var(--ease); }
.mail-link:hover { background-size: 100% 2px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; margin-top: 14px; text-align: left; }
.door { --hue-rgb: 255, 255, 255; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none; border: 1px solid var(--hair-strong); background: rgba(255, 255, 255, 0.03); transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s; }
.door--pt { --hue-rgb: var(--cyan-rgb); background: linear-gradient(180deg, rgba(17, 44, 74, 0.5), rgba(10, 21, 38, 0.55)); border-color: rgba(var(--gold-rgb), 0.28); }
.door--sg { --hue-rgb: var(--mint-rgb); border-color: rgba(var(--gold-rgb), 0.28); }
.door.glass.door--pt { --glass-fill: linear-gradient(180deg, rgba(17, 44, 74, 0.5), rgba(10, 21, 38, 0.55)); background: var(--glass-fill) padding-box, var(--rim) border-box; border-color: transparent; }
.door:hover { transform: translateY(-2px); border-color: rgba(var(--gold-rgb), 0.7); }
.door-text { display: flex; flex-direction: column; gap: 2px; }
.door-text b { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.door-text span { font: 500 12.5px var(--mono); color: var(--text-3); }
.door .ic { margin-left: auto; width: 22px; height: 22px; color: rgb(var(--hue-rgb)); transition: transform 0.4s var(--ease); }
.door:hover .ic { transform: translateX(4px); }

.foot { max-width: var(--maxw); margin: 0 auto; padding: 8px var(--gut) 44px; display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--text-2); text-decoration: none; text-underline-offset: 4px; }
.foot a:hover { color: var(--text); text-decoration: underline; }

/* ————— Reveals ————— */
html.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ————— Simple pages (404, privacy) ————— */
.page { max-width: 760px; margin: 0 auto; padding: clamp(48px, 9vh, 100px) var(--gut) 40px; }
.page h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page .lede { margin-top: 18px; }
.page-body { margin-top: 36px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-pane); display: grid; gap: 22px; }
.page-body h2 { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 600; margin-top: 10px; }
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body li { color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 66ch; }
.page-body p + p { margin-top: -8px; }
.page-body code { font: 500 0.9em var(--mono); color: var(--text); background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 5px; }
.page-body a { color: var(--text); text-decoration-color: rgba(var(--gold-rgb), 0.5); text-underline-offset: 3px; }
.page-body a:hover { text-decoration-color: var(--gold); }
.page-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.page-doors .door { border-radius: var(--r-pane); padding: 22px 24px; }
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ————— Narrower screens ————— */
@media (max-width: 1080px) {
  .tour-body, .tour--sg .tour-body { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); }
  .tour--sg .tour-body { grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); }
  .try-in--sg { grid-template-columns: 1fr; }
  .try-in--sg .try-head, .try-in--sg .try-cta, .try-in--sg .dial-wrap { grid-column: 1; grid-row: auto; }
}
@media (max-width: 900px) {
  .slab { grid-template-columns: 1fr; grid-template-rows: auto 1px auto; }
  .seam { background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.55) 22%, rgba(var(--gold-rgb), 0.55) 78%, transparent); }
  .half-stage--sg { min-height: 340px; }
  .hint { display: none; }
  /* the stage holds the top of the view, the cards pass through the lower part */
  .tour-body, .tour--sg .tour-body { display: block; }
  .tour-stage { top: var(--bar-h); height: 50svh; z-index: 1; place-items: end center; padding-bottom: 6px; }
  .tour-steps { position: relative; z-index: 2; padding: 0 0 30vh; margin-top: -10svh; }
  .step { min-height: 36svh; align-items: center; }
  .step-card { max-width: none; width: 100%; }
  .phone--tour-sg { --pw: min(180px, 19svh); }
  .ring { width: min(110vw, 48svh); }
  .window--tour { width: 100%; }
  .phone--tour-a, .phone--tour-b { --pw: min(120px, 15svh); }
  .doors, .page-doors { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --glass-top: rgba(36, 38, 43, 0.86); --glass-bottom: rgba(22, 23, 26, 0.88); }
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .slab { --glass-fill:
    radial-gradient(90% 70% at 0% 0%, rgba(var(--navy-rgb), calc(0.7 * clamp(0, 1.25 - var(--m) * 1.3, 1))), transparent 75%),
    radial-gradient(90% 70% at 100% 100%, rgba(18, 51, 38, calc(0.7 * clamp(0, var(--m) * 1.3 - 0.05, 1))), transparent 75%),
    linear-gradient(180deg, rgba(30, 32, 36, 0.84), rgba(20, 21, 24, 0.88)); }
  .tour--pt .step-card { --glass-fill: linear-gradient(180deg, rgba(17, 40, 66, 0.9), rgba(10, 21, 38, 0.92)); }
  .board { --glass-fill: linear-gradient(180deg, rgba(17, 40, 66, 0.9), rgba(10, 21, 38, 0.92)); }
  .glass--lit::after { filter: none; }
}
@media (max-width: 720px) {
  .bar { padding-top: 10px; }
  .nav-link { display: none; }
  .sound span { display: none; }
  .sound { padding: 0 9px; }
  .board { padding: 14px 14px 12px; }
  .board-days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -14px; padding-left: 14px; padding-right: 14px; scrollbar-width: none; }
  .board-days::-webkit-scrollbar { display: none; }
  .day { scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .half { padding: 18px 16px 16px; }
  .slab { border-radius: 24px; }
  .phone--hero-pt { --pw: min(104px, 40cqh); }
  .phone--hero-sg { --pw: min(160px, 45cqh); }
  .half-foot .btn { flex: 1 1 100%; }
  .dial-controls { gap: 12px; }
  .disc { width: 52px; height: 52px; }
}

/* ————— Reduced motion: everything is simply there ————— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html.js .reveal, html.js .day:not(.is-in) { opacity: 1; transform: none; filter: none; }
  html.js .wipe .wipe-t, html.js .statement-text .wd { opacity: 1 !important; }
  .wipe::after { display: none; }
  .glass--lit { animation: none; }
}
