@font-face { font-family: 'Site Display'; src: url(/fonts/belleza-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Site Body'; src: url(/fonts/dm-sans-latin-wght-normal.woff2) format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Site Mono'; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
/* Lunel website. Colours from the new palette; fonts come from site.config.mjs (the build adds the @font-face rules above this line). */

:root {
  color-scheme: light dark;

  /* Paper and text */
  --paper: #F1EDE8;          /* Chalk */
  --card: #FAF8F5;           /* Linen */
  --ink: #363A4C;            /* Ink */
  --text: #4A4E61;
  --soft: #55596C;
  --seam: #DDD6CE;           /* Seam */
  --tint: #D5E2EF;           /* Ice */
  --tint-2: #D4E7DD;         /* Mint */

  /* Accents: mostly blues and greens, warm colours only as small touches */
  --slate: #60657B;
  --ice: #D5E2EF;
  --crystal: #AFC7E2;
  --cornflower: #8FAED2;
  --steel: #88A4BA;
  --harbour: #4F6788;
  --mint: #D4E7DD;
  --sage: #7FAF9E;
  --teal: #638995;
  --lagoon: #3E6A6B;
  --fern: #4A695B;
  --blush: #ECD0CE;
  --coral: #E1A19F;
  --honey: #DEBE61;
  --link: #3E6A6B;           /* Lagoon */
  --eyebrow: #4F6788;        /* Harbour */
  --number: #4F6788;         /* Harbour: step numbers and timings */

  /* Buttons */
  --btn: #60657B;
  --btn-ink: #FAF8F5;
  --btn-line: #60657B;
  --focus: #363A4C;

  /* The lagoon band */
  --band: #3E6A6B;
  --band-ink: #FAF8F5;
  --band-soft: #E3EFE8;
  --band-eyebrow: #D4E7DD;
  --band-btn-ink: #2F4F50;

  /* Pictures */
  --hero-sky: #C6D7EB;
  --hero-sky-2: #D5E2EF;
  --hero-ground: #CFE3D8;
  --hero-ground-2: #D4E7DD;
  --hero-moon: #EEF3F8;
  --dark-box: #363A4C;
  --shadow: 54 58 76;
  --grain: url(/img/grain-light.png);

  /* Home page colour blocks and night sky */
  --pill: 250 248 245;
  --bar: 36 39 58;           /* Night, the header bar */
  --bar-h: 76px;
  --block-radius: clamp(28px, 4vw, 48px);
  --block-ice: #D5E2EF;
  --block-mint: #D4E7DD;
  --block-lagoon: #3E6A6B;
  --block-crystal: #C6D7EB;
  --night-1: #222B44;
  --night-2: #2B3E5C;
  --night-3: #3A6266;
  --welcome-card: #2F3349;
  --green-ink: #3E6A6B;      /* Lagoon: green headings and ticks */

  /* Type (the build sets these from the chosen pairing) */
  --font-display: 'Site Display', system-ui, sans-serif;
  --font-body: 'Site Body', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Site Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --display-weight: 800;
  --tracking: -0.025em;
  --body-weight: 500;
  --h1: clamp(44px, 6.4vw, 88px);
  --h2: clamp(34px, 4.4vw, 56px);
  --h3: 24px;

  --pad: clamp(18px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
}
@media (max-width: 560px) { :root { --bar-h: 64px; } }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #24273A;        /* Night */
    --card: #2F3349;         /* Night card */
    --ink: #F1EDE8;
    --text: #D3D2DA;
    --soft: #AEB2C4;         /* Moonstone */
    --seam: #3E4259;
    --tint: #2F3F57;
    --tint-2: #2C4545;
    --link: #A9C9E6;
    --eyebrow: #B7DCCB;
    --number: #A9C9E6;
    --btn: #F1EDE8;
    --btn-ink: #24273A;
    --btn-line: #AEB2C4;
    --focus: #F1EDE8;
    --band: #1F3536;
    --band-ink: #F1EDE8;
    --band-soft: #C9D9D2;
    --band-eyebrow: #B7DCCB;
    --band-btn-ink: #1F3536;
    --hero-sky: #2E3B55;
    --hero-sky-2: #33425E;
    --hero-ground: #2B4442;
    --hero-ground-2: #2E4A47;
    --hero-moon: #44506E;
    --dark-box: #1C1F2F;
    --shadow: 0 0 0;
    --grain: url(/img/grain-dark.png);
    --pill: 47 51 73;
    --bar: 28 31 47;
    --block-ice: #283449;
    --block-mint: #243B3A;
    --block-lagoon: #1C3132;
    --block-crystal: #2A3650;
    --night-1: #141A2B;
    --night-2: #1B2840;
    --night-3: #1E3738;
    --welcome-card: #1C1F2F;
    --green-ink: #B7DCCB;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  background-size: 160px 160px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--h1); line-height: 1.02; }
h2 { font-size: var(--h2); line-height: 1.07; }
h3 { font-size: var(--h3); line-height: 1.15; }
p { margin: 0; }
strong { font-weight: 700; }
.mono { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 999px;
  background: var(--btn); color: var(--btn-ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header: a full-width bar in the night sky's colour that stays at the top (after the museum's and
   takutaku.co's headers). On the home page it starts see-through over the night sky and fills in as
   you scroll, in browsers that can tie an animation to scrolling; others show it filled in. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: rgb(var(--bar) / 0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgb(250 248 245 / 0.1);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; height: var(--bar-h); }
.home .site-header { margin-bottom: calc(-1 * var(--bar-h)); } /* the home page's night sky runs up under the bar */
@supports (animation-timeline: scroll()) {
  .home .site-header { animation: bar-fill linear both; animation-timeline: scroll(root); animation-range: 0px 160px; }
}
@keyframes bar-fill {
  from { background-color: rgb(var(--bar) / 0); box-shadow: 0 1px 0 rgb(250 248 245 / 0); -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); }
}
.logo { display: block; border-radius: 8px; flex: none; }
.logo img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px 30px; font-size: 16px; font-weight: 600; }
.site-nav a:not(.btn) { color: #F1EDE8; text-decoration: none; padding-block: 10px; }
.site-nav a:not(.btn):hover { color: #FFFFFF; text-decoration: underline; }
.site-nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.site-header :focus-visible { outline-color: #FAF8F5; }
.btn.btn-nav { min-height: 46px; padding: 0 22px; font-size: 15.5px; }
.btn-nav[aria-current="page"] { box-shadow: 0 0 0 2px rgb(var(--bar)), 0 0 0 4px #FAF8F5; }
.btn-nav .short { display: none; }
@media (max-width: 560px) {
  .logo img { height: 30px; }
  .site-nav { gap: 4px 16px; font-size: 15px; }
  .site-nav .hide-sm { display: none; }
  .btn.btn-nav { min-height: 42px; padding: 0 16px; font-size: 15px; }
}
@media (max-width: 400px) {
  .btn-nav .long { display: none; }
  .btn-nav .short { display: inline; }
}

/* Buttons */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-decoration: none; line-height: 1.2;
  border: 0; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { color: var(--btn-ink); filter: brightness(1.08); }
.btn-line { box-shadow: inset 0 0 0 2px var(--btn-line); color: var(--ink); background: transparent; }
.btn-line:hover { color: var(--ink); background: rgb(var(--shadow) / 0.06); }
.btn-small { min-height: 46px; padding: 0 20px; font-size: 16px; }
.band .btn-primary { background: var(--band-ink); color: var(--band-btn-ink); }
.band .btn-line { box-shadow: inset 0 0 0 2px var(--band-ink); color: var(--band-ink); }
.btn-light { background: #FAF8F5; color: #2F3349; }
.btn-light:hover { background: #FFFFFF; color: #2F3349; }
.btn-line-light { box-shadow: inset 0 0 0 2px rgb(250 248 245 / 0.85); color: #FAF8F5; background: transparent; }
.btn-line-light:hover { color: #FAF8F5; background: rgb(250 248 245 / 0.1); }

.eyebrow {
  display: block;
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--eyebrow);
}
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text); max-width: 560px; }
.muted { color: var(--soft); }

/* Hero: a night sky with the moon, full width with rounded bottom corners (after the museum's hero) */
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; container-type: inline-size; }
.hero-night {
  color: #FAF8F5; overflow: hidden;
  border-radius: 0 0 var(--block-radius) var(--block-radius);
  background-color: var(--night-2);
  background-image:
    url(/img/stars.svg),
    radial-gradient(70% 60% at 74% 40%, rgb(213 226 239 / 0.16), transparent 70%),
    linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 55%, var(--night-3) 100%);
  background-size: 560px 420px, 100% 100%, 100% 100%;
}
/* The name, drawn huge across the top of the sky (like takutaku.co), with soft moonlight around the hoop.
   The hoop's centre sits 13.5% from the left and 60.2% from the top of the logo, and the hoop is 26.6% of
   its width across. The glow is its own layer, so it can spread past the logo's edges without a hard line. */
.hero-brand { padding-top: calc(var(--bar-h) + clamp(24px, 5vw, 64px)); padding-bottom: clamp(8px, 2vw, 24px); }
.brand-title { position: relative; isolation: isolate; max-width: 1120px; margin-inline: auto; }
.brand-title::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 13.5%; top: 60.2%; width: 56%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgb(222 190 97 / 0.13), rgb(213 226 239 / 0.07) 48%, transparent);
}
.brand-title img { width: 100%; height: auto; }
.hero-inner { display: grid; gap: 36px; align-items: center; padding-block: clamp(20px, 4vw, 44px) 40px; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.3fr 1fr; gap: 48px; padding-bottom: 64px; } }
.hero-night h1 { color: #FAF8F5; }
.tagline {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking);
  font-size: clamp(34px, 4.3vw, 60px); line-height: 1.05; color: #FAF8F5; text-wrap: balance;
}
.hero-night .eyebrow { color: #B7DCCB; }
.hero-night .lead { color: #DCE4EE; }

.sky { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 0.95; }
.sky .moon {
  position: absolute; left: 21%; top: 3%; width: 58%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #F7F9FC 0%, #E3EBF4 48%, #C3D4E8 100%);
  box-shadow: 0 0 60px 12px rgb(213 226 239 / 0.26), 0 0 150px 50px rgb(175 199 226 / 0.14);
}
.move-card {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 9%;
  box-shadow: 0 18px 40px rgb(var(--shadow) / 0.22);
}
.move-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.move-card figcaption {
  position: absolute; inset-inline: 0; bottom: 7%;
  text-align: center; color: #363A4C;
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(13px, 1.5vw, 19px); line-height: 1.1; letter-spacing: var(--tracking);
}
.sky .move-card { position: absolute; box-shadow: 0 26px 60px rgb(8 12 26 / 0.45); }
.sky .c1 { left: 1%; top: 27%; width: 42%; rotate: -8deg; }
.sky .c2 { left: 57%; top: 21%; width: 42%; rotate: 7deg; }
.sky .c3 { left: 27%; top: 43%; width: 47%; }
/* Only the front card shows its name, as the others are partly hidden */
.sky .c1 figcaption, .sky .c2 figcaption { display: none; }
.sky .now {
  position: absolute; left: 0; bottom: 1%;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: #FAF8F5; color: #363A4C; box-shadow: 0 10px 26px rgb(8 12 26 / 0.3);
  font-size: 14px; font-weight: 700;
}
.sky .now .mono { color: #55596C; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgb(225 161 159 / 0.3); flex: none; }
@media (max-width: 560px) {
  .sky .now { top: 0; bottom: auto; font-size: 12.5px; padding: 8px 12px 8px 10px; gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sky .move-card { animation: float 7s ease-in-out infinite; }
  .sky .c2 { animation-delay: -2.4s; }
  .sky .c3 { animation-delay: -4.8s; }
}
@keyframes float { 50% { translate: 0 -9px; } }

/* Everything in the app at a glance, under the hero's buttons */
/* Two by two, or all four in a row where the column is wide enough */
.pillars { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px; }
@container (min-width: 590px) { .pillars { display: flex; flex-wrap: wrap; } }
@container (max-width: 330px) { .pillars { display: flex; flex-wrap: wrap; } }
.pillars li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  background: rgb(250 248 245 / 0.1); box-shadow: inset 0 0 0 1px rgb(250 248 245 / 0.22);
  color: #F1EDE8; font-size: 14px; font-weight: 700;
}
.pillars li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--crystal); flex: none; }
.pillars .p-learn::before { background: var(--sage); }
.pillars .p-warm::before { background: var(--honey); }
.pillars .p-splits::before { background: var(--mint); }

/* The same four parts, in the designs Avrie is choosing between (LOOK in home.mjs) */
/* list: numbered, with fine lines (takutaku's numerals, the museum's tidy lists) */
.feat-list { list-style: none; margin: 4px 0 0; padding: 0; max-width: 640px; border-top: 1px solid rgb(250 248 245 / 0.18); }
.feat-list li {
  display: grid; grid-template-columns: 42px 1fr; column-gap: 6px; row-gap: 2px; align-items: baseline;
  padding: 13px 0 14px; border-bottom: 1px solid rgb(250 248 245 / 0.18);
}
.feat-list .feat-num { grid-row: span 2; font-family: var(--font-display); font-size: 17px; letter-spacing: 0.06em; color: var(--honey); }
.feat-list .name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; line-height: 1.2; color: #FAF8F5; }
.feat-list .line { grid-column: 2; font-size: 15px; line-height: 1.45; color: #C9D4E2; }
@container (min-width: 560px) {
  .feat-list li { grid-template-columns: 42px minmax(190px, auto) 1fr; column-gap: 14px; }
  .feat-list .feat-num { grid-row: auto; }
  .feat-list .line { grid-column: 3; }
}
/* tiles: small solid colour blocks (the museum's colour blocks) */
.feat-tiles { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 600px; }
@container (min-width: 600px) { .feat-tiles { grid-template-columns: repeat(4, 1fr); } }
.feat-tiles li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 108px;
  padding: 15px 16px 14px; border-radius: 20px; color: #363A4C;
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 19px; line-height: 1.15;
}
.feat-tiles svg { width: 26px; height: 26px; }
.feat-tiles .t-routine { background: #D5E2EF; }
.feat-tiles .t-learn { background: #D4E7DD; }
.feat-tiles .t-warm { background: #F0DFA9; }
.feat-tiles .t-splits { background: #AFC7E2; }
/* notes: paper notes pinned to the sky at a slight tilt (tirus.app's pinned notes, dontboardme's fanned cards) */
.feat-notes { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 14px; max-width: 600px; }
@container (min-width: 600px) { .feat-notes { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.feat-notes li {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 14px 15px;
  border-radius: 6px; background: #FAF8F5; color: #363A4C; rotate: -2.5deg;
  box-shadow: 0 14px 22px -14px rgb(10 12 24 / 0.7), 0 2px 4px rgb(10 12 24 / 0.18);
}
.feat-notes li:nth-child(2) { rotate: 2deg; background: #EEF3F8; }
.feat-notes li:nth-child(3) { rotate: 1.5deg; background: #F1F6F2; }
.feat-notes li:nth-child(4) { rotate: -2deg; background: #F6EFDB; }
.feat-notes li::before {
  content: ""; position: absolute; top: 7px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F3DE9A, #C9A443 70%); box-shadow: 0 2px 3px rgb(10 12 24 / 0.35);
}
.feat-notes .name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 19px; line-height: 1.15; }
.feat-notes .line { font-size: 13.5px; line-height: 1.4; color: #4A4E61; }
/* Other pins for the notes (PIN in home.mjs): drawn in src/img/pins/ */
.feat-notes[class*="pin-"] li::before { border-radius: 0; box-shadow: none; background: none center / contain no-repeat; filter: drop-shadow(1px 2px 1.5px rgb(10 12 24 / 0.4)); }
.feat-notes.pin-moon li, .feat-notes.pin-star li { padding-top: 27px; }
.feat-notes.pin-moon li::before, .feat-notes.pin-star li::before { width: 19px; height: 19px; margin-left: -9.5px; top: 4px; }
.feat-notes.pin-moon li::before { background-image: url(/img/pins/moon.svg); }
.feat-notes.pin-star li::before { background-image: url(/img/pins/star.svg); }
/* The moon pin without the shaded look: flat honey, with no shadow, a soft shadow or a glow, or slimmer like the logo's moon */
.feat-notes.pin-moonflat li, .feat-notes.pin-moonsoft li, .feat-notes.pin-moonglow li, .feat-notes.pin-moonslim li { padding-top: 27px; }
.feat-notes.pin-moonflat li::before, .feat-notes.pin-moonsoft li::before, .feat-notes.pin-moonglow li::before { width: 19px; height: 19px; margin-left: -9.5px; top: 4px; background-image: url(/img/pins/moon-flat.svg); }
.feat-notes.pin-moonflat li::before { filter: none; }
.feat-notes.pin-moonsoft li::before { filter: drop-shadow(0 1.5px 1.5px rgb(10 12 24 / 0.28)); }
.feat-notes.pin-moonglow li::before { filter: drop-shadow(0 0 3px rgb(222 190 97 / 0.85)); }
.feat-notes.pin-moonslim li::before { width: 22px; height: 22px; margin-left: -11px; top: 3px; background-image: url(/img/pins/moon-slim.svg); filter: drop-shadow(0 1.5px 1.5px rgb(10 12 24 / 0.28)); }
.feat-notes.pin-hang { margin-top: 34px; row-gap: 40px; }
.feat-notes.pin-hang li::before { width: 14px; height: 36px; margin-left: -7px; top: -31px; background-image: url(/img/pins/hang.svg); filter: drop-shadow(0 1px 1px rgb(10 12 24 / 0.35)); }
.feat-notes.pin-push li { padding-top: 24px; }
.feat-notes.pin-push li::before { width: 20px; height: 30px; margin-left: -8px; top: -11px; background-image: url(/img/pins/push-honey.svg); }
.feat-notes.pin-push li:nth-child(2)::before { background-image: url(/img/pins/push-sage.svg); }
.feat-notes.pin-push li:nth-child(3)::before { background-image: url(/img/pins/push-crystal.svg); }
.feat-notes.pin-push li:nth-child(4)::before { background-image: url(/img/pins/push-coral.svg); }
/* sticky: pastel sticky notes, pinned at a tilt and a little out of line (tirus.app's pinned notes) */
.feat-sticky { list-style: none; margin: 16px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 18px; max-width: 520px; }
@container (min-width: 600px) { .feat-sticky { grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 640px; } }
.feat-sticky li {
  position: relative; aspect-ratio: 1 / 0.84; display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px 14px 13px; border-radius: 2px 2px 14px 2px; color: #363A4C;
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 20px; line-height: 1.12;
  box-shadow: 0 18px 18px -16px rgb(8 10 20 / 0.85), 0 1px 2px rgb(8 10 20 / 0.25);
}
.feat-sticky li:nth-child(1) { background: #D5E2EF; rotate: -4deg; }
.feat-sticky li:nth-child(2) { background: #D4E7DD; rotate: 3deg; translate: 0 10px; }
.feat-sticky li:nth-child(3) { background: #F3E3AE; rotate: 2.5deg; }
.feat-sticky li:nth-child(4) { background: #C3D5EA; rotate: -3deg; translate: 0 8px; }
.feat-sticky svg { width: 24px; height: 24px; }
.feat-sticky li::before, .feat-fan li::before {
  content: ""; position: absolute; top: 8px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F7E7B0, #D5AE45 55%, #A9842B); box-shadow: 1px 3px 3px rgb(8 10 20 / 0.4);
}
/* taped: paper notes held on with strips of coloured tape */
.feat-taped { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; max-width: 540px; }
@container (min-width: 600px) { .feat-taped { grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 660px; } }
.feat-taped li {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 14px 15px; color: #363A4C;
  background: #FAF8F5 url(/img/grain-light.png); border-radius: 2px;
  box-shadow: 0 14px 18px -14px rgb(8 10 20 / 0.8), 0 1px 2px rgb(8 10 20 / 0.2); rotate: -2deg;
}
.feat-taped li:nth-child(2) { rotate: 2.5deg; translate: 0 6px; }
.feat-taped li:nth-child(3) { rotate: 1.5deg; }
.feat-taped li:nth-child(4) { rotate: -2.5deg; translate: 0 5px; }
.feat-taped li::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 66px; height: 22px; translate: -50% 0; rotate: -4deg;
  background: rgb(222 190 97 / 0.62); clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 100% 0, 96% 92%, 100% 100%, 92% 92%, 0 100%, 4% 50%);
}
.feat-taped li:nth-child(2)::before { background: rgb(127 175 158 / 0.6); rotate: 5deg; }
.feat-taped li:nth-child(3)::before { background: rgb(175 199 226 / 0.7); rotate: -2deg; }
.feat-taped li:nth-child(4)::before { background: rgb(222 190 97 / 0.62); rotate: 3deg; }
.feat-taped .name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 20px; line-height: 1.12; }
.feat-taped .line { font-size: 13.5px; line-height: 1.4; color: #4A4E61; }
/* fanned: four cards dealt in a fan, overlapping, each with its number (dontboardme.com's step cards) */
.feat-fan { list-style: none; margin: 22px 0 18px; padding: 0 0 0 4px; display: grid; grid-template-columns: repeat(2, 1fr); max-width: 520px; }
@container (min-width: 600px) { .feat-fan { grid-template-columns: repeat(4, 1fr); max-width: 680px; } }
.feat-fan li {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 26px 15px 15px; margin-right: -14px;
  border-radius: 16px; color: #363A4C; box-shadow: -6px 10px 22px -10px rgb(8 10 20 / 0.7);
}
.feat-fan li:nth-child(1) { background: #D5E2EF; rotate: -6deg; translate: 0 8px; z-index: 1; }
.feat-fan li:nth-child(2) { background: #D4E7DD; rotate: -2deg; z-index: 2; }
.feat-fan li:nth-child(3) { background: #F3E3AE; rotate: 2deg; z-index: 3; }
.feat-fan li:nth-child(4) { background: #C3D5EA; rotate: 6deg; translate: 0 8px; z-index: 4; }
@container (max-width: 599px) {
  .feat-fan { padding-right: 18px; }
  .feat-fan li:nth-child(3) { rotate: -4deg; translate: 0 -12px; }
  .feat-fan li:nth-child(4) { rotate: 4deg; translate: 0 -8px; }
}
.feat-fan .fan-num { font-family: var(--font-display); font-size: 30px; line-height: 1; color: #4F6788; }
.feat-fan .name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 19px; line-height: 1.12; }
.feat-fan .line { font-size: 13px; line-height: 1.4; color: #4A4E61; }

/* line: the four parts drifting under the big name as you scroll (tirus.app's ticker) */
.feat-line { overflow: hidden; border-block: 1px solid rgb(250 248 245 / 0.18); padding-block: 14px; margin-top: clamp(6px, 1.5vw, 18px); }
.feat-line-track { display: flex; width: max-content; padding-left: max(var(--pad), calc((100vw - 1200px) / 2 + var(--pad))); }
.feat-line ul { list-style: none; margin: 0; padding: 0; display: flex; }
.feat-line li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: clamp(19px, 2.4vw, 30px); color: #FAF8F5;
}
.feat-line li::after {
  content: ""; width: 0.62em; height: 0.62em; margin-inline: 0.9em; border-radius: 50%; flex: none;
  box-shadow: inset 0.16em -0.05em 0 0 var(--honey); rotate: 20deg;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .feat-line-track { animation: feat-drift linear both; animation-timeline: scroll(root); animation-range: 0px 1400px; }
  }
  /* On a phone the line leaves the screen sooner, so all four pass by in the first few hundred pixels */
  @media (prefers-reduced-motion: no-preference) and (max-width: 560px) {
    .feat-line-track { animation-range: 0px 480px; }
  }
}
@keyframes feat-drift { to { transform: translateX(-33.333%); } }
/* Where it can't drift with the scroll (or motion is turned down), show all four once, wrapping if needed */
@supports not (animation-timeline: scroll()) {
  .feat-line-track { width: auto; padding-inline: var(--pad); justify-content: center; }
  .feat-line ul { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .feat-line ul[aria-hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .feat-line-track { width: auto; padding-inline: var(--pad); justify-content: center; }
  .feat-line ul { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .feat-line ul[aria-hidden] { display: none; }
}

/* The waitlist, at the end of the home page until launch */
.waitlist-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 760px; margin-inline: auto; }
.waitlist-inner h2 { font-size: clamp(38px, 5.2vw, 72px); }
.waitlist-inner .lead { max-width: 560px; }
.waitlist-inner .btn-row { justify-content: center; padding-top: 6px; }
.waitlist-inner .fine { font-size: 15px; color: var(--soft); max-width: 560px; }
/* The one-field sign-up form */
.signup { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 560px; }
.signup input {
  flex: 1 1 240px; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--seam);
  font: inherit; font-size: 17px;
}
.signup input::placeholder { color: var(--soft); opacity: 1; }
.signup .btn { flex: 0 0 auto; }

/* A line of move names drifting along the bottom of the sky (like tirus.app's ticker) */
.ticker { overflow: hidden; border-top: 1px solid rgb(250 248 245 / 0.14); padding-block: 16px 22px; }
.ticker-track {
  display: flex; align-items: center; width: max-content; white-space: nowrap;
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(18px, 1.8vw, 24px); letter-spacing: var(--tracking); color: rgb(250 248 245 / 0.8);
}
.ticker-track > span { padding-right: 22px; }
.ticker .star { color: var(--honey); font-size: 0.7em; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: ticker 80s linear infinite; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: 0 var(--section); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 32px; }
.section-head .lead { max-width: 640px; }

.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.step {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: 28px; background: var(--card);
}
.step p { font-size: 16.5px; color: var(--text); }
.num {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--slate); color: #FAF8F5; font-size: 17px;
}
.mini-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 4px; }
.mini-cards img { border-radius: 12px; width: 100%; }
.mini-section { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--tint); }
.mini-section .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mini-section .title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 19px; letter-spacing: var(--tracking); }
.mini-section .mono { font-size: 12.5px; color: var(--text); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { padding: 5px 10px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 700; color: var(--ink); }
.pill.spin { background: var(--mint); color: #363A4C; }
.playing {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px; background: var(--dark-box); color: #F1EDE8;
}
.playing img { width: 54px; height: 54px; border-radius: 10px; flex: none; }
.playing .what { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.playing .label { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #A9C9E6; }
.playing .name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 18px; letter-spacing: var(--tracking); }
.playing .mono { font-size: 13px; color: #AEB2C4; }

.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.feature {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: 24px; box-shadow: inset 0 0 0 1.5px var(--seam);
}
.feature h3 { font-size: 22px; }
.feature p { font-size: 16px; color: var(--text); }
.bar { width: 40px; height: 6px; border-radius: 3px; background: var(--cornflower); }
/* Which Lunel is for you: a comparison table */
.compare-wrap { overflow-x: auto; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--seam); }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: middle; border-top: 1.5px solid var(--seam); }
.compare thead th, .compare thead td { border-top: 0; }
.compare thead th { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; letter-spacing: var(--tracking); color: var(--ink); }
.compare thead th span { display: block; font-family: var(--font-body); font-size: 14px; letter-spacing: 0; color: var(--soft); font-weight: 600; }
.compare tbody th { font-weight: 700; color: var(--ink); width: 34%; }
.compare td { color: var(--text); width: 33%; }
.compare td svg { display: inline-block; vertical-align: -4px; margin-right: 6px; color: var(--green-ink); }
.compare .no { color: var(--soft); font-size: 20px; }
.compare-note { margin-top: 16px; color: var(--text); }
@media (max-width: 560px) {
  .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 11px 10px; }
  .compare th:first-child, .compare td:first-child { padding-left: 14px; }
  .compare thead th { font-size: 17px; line-height: 1.15; }
  .compare thead th span { font-size: 12.5px; margin-top: 3px; }
  .compare td svg { margin-right: 2px; }
}

/* Coach tools that come later: dashed cards with a small "Later" tag */
.features.later .feature { box-shadow: none; border: 2px dashed var(--seam); }
.soon {
  align-self: flex-start; padding: 3px 10px; border-radius: 999px;
  background: var(--tint); color: var(--ink); font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.bar.sage { background: var(--sage); }
.bar.teal { background: var(--teal); }
.bar.honey { background: var(--honey); }
.bar.crystal { background: var(--crystal); }

/* The slate band */
.band { background: var(--band); color: var(--band-ink); }
.band h2, .band h3 { color: var(--band-ink); }
.band .eyebrow { color: var(--band-eyebrow); }
.band a:not(.btn) { color: var(--band-ink); }
.band-inner {
  display: grid; gap: 48px; align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
@media (min-width: 900px) { .band-inner { grid-template-columns: 1.15fr 1fr; } }
.band-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.band-copy .small { font-size: 16px; color: var(--band-soft); }
.dots { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.5; }
.dots li { display: flex; gap: 12px; }
.dots li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.5em; border-radius: 50%; background: var(--crystal); }
.dots li:nth-child(3n+2)::before { background: var(--mint); }
.dots li:nth-child(3n)::before { background: var(--honey); }

/* A studio's app, drawn small */
.app-mock {
  width: 100%; max-width: 380px; margin-inline: auto;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px; border-radius: 30px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 60px rgb(20 22 32 / 0.3);
}
.app-mock .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.app-mock .studio { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 20px; letter-spacing: var(--tracking); }
.badge { padding: 5px 10px; border-radius: 999px; background: #7FAF9E; color: #20352C; font-size: 12.5px; font-weight: 800; }
.app-mock .pack { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; background: var(--card); }
.app-mock .pack .eyebrow { font-size: 12px; letter-spacing: 0.12em; color: var(--soft); }
.app-mock .pack .level { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; letter-spacing: var(--tracking); }
.app-mock .pack .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 8px; }
.app-mock .pack img { border-radius: 12px; width: 100%; }
.app-mock .next { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--tint); font-size: 14.5px; color: var(--text); }
.app-mock .next::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cornflower); flex: none; }

/* Home page: sections as solid colour blocks with rounded bottom corners, each tucked under the
   one above (after the museum's home page). Each block reaches up behind the block above by one
   corner's height, so the corners show its colour; z-index keeps the upper block in front. */
.hero-night, .block { position: relative; }
.hero-night { box-shadow: 0 24px 44px -30px rgb(20 24 40 / 0.6); }
.block {
  margin-top: calc(-1 * var(--block-radius));
  padding-block: calc(var(--section) + var(--block-radius)) var(--section);
  border-radius: 0 0 var(--block-radius) var(--block-radius);
  background-image: var(--grain); background-size: 160px 160px;
  box-shadow: 0 24px 44px -30px rgb(var(--shadow) / 0.5);
}
.home main > :nth-child(1) { z-index: 9; }
.home main > :nth-child(2) { z-index: 8; }
.home main > :nth-child(3) { z-index: 7; }
.home main > :nth-child(4) { z-index: 6; }
.home main > :nth-child(5) { z-index: 5; }
.home main > :nth-child(6) { z-index: 4; }
.home main > :nth-child(7) { z-index: 3; }
.home main > :nth-child(8) { z-index: 2; }
.block-ice { background-color: var(--block-ice); }
.block-mint { background-color: var(--block-mint); }
.block-crystal { background-color: var(--block-crystal); }
.block-paper { background-color: var(--paper); }
.block-lagoon { background-color: var(--block-lagoon); color: #FAF8F5; }
.block-lagoon h2, .block-lagoon h3 { color: #FAF8F5; }
.block-lagoon .eyebrow { color: #D4E7DD; }
.block-lagoon .lead { color: #E3EFE8; }
.block-lagoon :focus-visible { outline-color: #FAF8F5; }

/* Welcome: the app on a phone, with a dark card laid over its corner */
.welcome { display: flex; flex-direction: column; align-items: center; }
.welcome-card {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  width: 100%; max-width: 560px; margin-top: -92px;
  padding: clamp(26px, 4vw, 48px); border-radius: 32px;
  background: var(--welcome-card); color: #DCE4EE;
  box-shadow: 0 30px 60px -24px rgb(20 24 40 / 0.5);
}
.welcome-card h2 { color: #D4E7DD; font-size: clamp(32px, 3.8vw, 50px); }
.welcome-card .eyebrow { color: #A9C9E6; }
.welcome-card p { font-size: 17px; line-height: 1.6; }
.welcome-card .btn { margin-top: 6px; }
.welcome-card :focus-visible { outline-color: #FAF8F5; }
@media (min-width: 900px) {
  .welcome { flex-direction: row; justify-content: center; align-items: flex-end; }
  .welcome-card { margin: 0 0 -40px -26px; }
}

/* The app on a phone, drawn in CSS */
.phone {
  flex: none; width: min(320px, 84vw);
  padding: 11px; border-radius: 50px;
  background: #1C1F2F;
  box-shadow: 0 40px 70px -34px rgb(20 24 40 / 0.6), inset 0 0 0 2px #3E4259;
  rotate: 2.5deg;
}
.phone-screen {
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px 12px 14px; border-radius: 40px;
  background-color: var(--paper); color: var(--ink);
  font-size: 14px; line-height: 1.35;
}
.ps-status { position: relative; display: flex; align-items: center; height: 34px; padding-inline: 20px; font-size: 13px; font-weight: 700; }
.ps-status::after { content: ""; position: absolute; left: 50%; top: 4px; width: 88px; height: 26px; margin-left: -44px; border-radius: 999px; background: #1C1F2F; }
.ps-head { display: flex; flex-direction: column; gap: 2px; padding: 2px 6px 4px; }
.ps-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 25px; letter-spacing: var(--tracking); line-height: 1.1; }
.ps-head .mono { font-size: 12px; color: var(--soft); }
.ps-section {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 7px 12px; border-radius: 14px; background: var(--tint);
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 18px; letter-spacing: var(--tracking);
}
.ps-section .mono { font-size: 11.5px; letter-spacing: 0; color: var(--text); }
.ps-section.next { background: var(--tint-2); opacity: 0.8; }
.ps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ps-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px; border-radius: 14px; background: var(--card);
}
.ps-row img { width: 44px; height: 44px; border-radius: 9px; }
.ps-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-row .mono { font-size: 12px; color: var(--number); }
.ps-spin { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 9px; background: var(--mint); color: #3E6A6B; font-size: 18px; font-weight: 700; }
.ps-row.now { background: var(--dark-box); color: #F1EDE8; }
.ps-row.now .mono { color: #A9C9E6; }
.ps-row.now .ps-name::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; vertical-align: 1px; border-radius: 50%; background: var(--coral); }
.ps-play {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  margin-top: 2px; padding: 9px 12px 9px 9px; border-radius: 16px; background: var(--card);
}
.ps-play .mono { font-size: 11.5px; color: var(--soft); }
.ps-pause { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--btn); }
.ps-pause::before { content: ""; position: absolute; inset: 9px 10px; border-inline: 3px solid var(--btn-ink); }
.ps-bar { height: 6px; border-radius: 3px; background: var(--seam); overflow: hidden; }
.ps-bar > span { display: block; width: 20%; height: 100%; border-radius: 3px; background: var(--teal); }

/* How it works: four cards dealt onto the table as you scroll (after dontboardme.com).
   Without scroll effects (or with reduced motion) they simply sit fanned out on wide screens,
   and stack up as you scroll on phones. */
.deal { overflow: clip; }
.deal-title {
  position: relative;
  font-size: clamp(52px, 9.6vw, 150px); line-height: 0.92; color: var(--green-ink);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.deal-cards { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.deal-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 10px 14px;
  padding: 24px; border-radius: 28px;
  background: var(--card); color: var(--ink);
  box-shadow: 0 24px 50px -20px rgb(var(--shadow) / 0.4), inset 0 0 0 1px rgb(var(--shadow) / 0.06);
}
.dc-title { font-size: 27px; align-self: center; }
.dc-no {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking);
  font-size: 46px; line-height: 0.9; color: var(--number);
}
.deal-card p { grid-column: 1 / -1; font-size: 16px; color: var(--text); }
.dc-art {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center;
  min-height: 168px; margin-top: 6px; padding: 16px; border-radius: 20px;
}
.dc-art.ice { background: var(--ice); }
.dc-art.mint { background: var(--mint); }
.dc-art.crystal { background: var(--crystal); }
.dc-art.lagoon { background: var(--lagoon); }
@media (prefers-color-scheme: dark) {
  .dc-art.ice { background: var(--tint); }
  .dc-art.mint { background: var(--tint-2); }
  .dc-art.crystal { background: #36466A; }
  .dc-art.lagoon { background: #2B4A4B; }
}
.dc-art .art-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
.dc-art .art-grid img { border-radius: 10px; }
.dc-art .mini-section { width: 100%; background: var(--card); }
.dc-art .pill { background: var(--tint); }
.dc-art .pill.spin { background: var(--mint); }
.dc-art .playing { width: 100%; }
.deal-dots { display: none; list-style: none; margin: 30px 0 0; padding: 0; justify-content: center; gap: 18px; }
.deal-dots li {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--card); color: var(--soft); font-family: var(--font-mono); font-size: 14px;
  box-shadow: inset 0 0 0 1.5px rgb(var(--shadow) / 0.14);
}
.deal-dots li:nth-child(2), .deal-dots li:nth-child(3) { translate: 0 10px; }

@media (max-width: 899px) {
  /* Phones: each card slides up over the one before and sticks, like a little deck */
  .deal-card { position: sticky; }
  .deal-card:nth-child(1) { top: 86px; rotate: -1.5deg; }
  .deal-card:nth-child(2) { top: 98px; rotate: 1deg; }
  .deal-card:nth-child(3) { top: 110px; rotate: -1deg; }
  .deal-card:nth-child(4) { top: 122px; rotate: 1.5deg; }
}
@media (min-width: 900px) {
  /* Wide screens: fanned out across the table, overlapping a little */
  .deal-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; align-items: start; padding: 0 3% 30px 0; }
  .deal-card { width: 110%; }
  .deal-card:nth-child(1) { rotate: -4deg; translate: 0 28px; }
  .deal-card:nth-child(2) { rotate: -1deg; translate: 0 2px; }
  .deal-card:nth-child(3) { rotate: 2deg; translate: 0 22px; }
  .deal-card:nth-child(4) { rotate: 4deg; translate: 0 6px; }
}
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
    /* The table stays put while you scroll through a tall section, and the cards fly in one by one */
    .deal { padding-bottom: 0; }
    .deal-scroll { height: 280vh; view-timeline-name: --deal; }
    .deal-stage {
      position: sticky; top: 0; height: 100vh;
      display: flex; flex-direction: column; justify-content: center;
      padding-top: 80px; padding-bottom: 16px;
    }
    .deal-title { font-size: min(9.6vw, 17vh, 150px); margin-bottom: -0.18em; }
    .deal-card { animation: deal-in linear both; animation-timeline: --deal; }
    .deal-card:nth-child(1), .deal-dots li:nth-child(1) { animation-range: contain 2% contain 20%; }
    .deal-card:nth-child(2), .deal-dots li:nth-child(2) { animation-range: contain 20% contain 38%; }
    .deal-card:nth-child(3), .deal-dots li:nth-child(3) { animation-range: contain 38% contain 56%; }
    .deal-card:nth-child(4), .deal-dots li:nth-child(4) { animation-range: contain 56% contain 74%; }
    .deal-dots { display: flex; }
    .deal-dots li { animation: dot-on linear both; animation-timeline: --deal; }
  }
}
@keyframes deal-in { from { translate: 22vw 105vh; rotate: 22deg; } }
@keyframes dot-on { 0%, 80% { background: var(--card); color: var(--soft); } to { background: var(--honey); color: #363A4C; } }

/* Moves: a sideways carousel of move cards that runs off the edge of the screen (after the museum) */
.moves-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(24px, 4vw, 40px); }
.moves-head > div { display: flex; flex-direction: column; gap: 12px; }
.moves-head .lead { max-width: 420px; }
.carousel {
  --edge: max(var(--pad), calc((100% - 1200px) / 2 + var(--pad)));
  list-style: none; margin: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 21vw, 270px); gap: clamp(14px, 1.6vw, 22px);
  padding: 10px var(--edge) 26px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: thin; scrollbar-color: rgb(250 248 245 / 0.45) transparent;
}
.carousel:focus-visible { outline-offset: -4px; border-radius: 0; }
.carousel li { scroll-snap-align: start; }
.carousel .move-card { box-shadow: 0 20px 40px -14px rgb(8 20 22 / 0.55); }
.carousel .move-card figcaption { font-size: clamp(17px, 1.6vw, 21px); }
.carousel-nav { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; }
.arrow {
  display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%;
  background: #FAF8F5; color: #2F3349; cursor: pointer;
}
.arrow:hover { background: #FFFFFF; }
.arrow[aria-disabled="true"] { opacity: 0.4; cursor: default; }

/* Practice days: three notes pinned up slightly crooked (after tirus.app's notes) */
.more-title { margin-bottom: clamp(28px, 4vw, 44px); }
.tiles { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 38px 26px 28px; border-radius: 26px;
  box-shadow: 0 16px 34px -20px rgb(var(--shadow) / 0.4);
}
.tile::before {
  content: ""; position: absolute; top: 15px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; box-shadow: 0 2px 3px rgb(var(--shadow) / 0.3);
}
.tile.ice { background: var(--block-ice); rotate: -1.2deg; }
.tile.mint { background: var(--block-mint); rotate: 0.8deg; }
.tile.crystal { background: var(--block-crystal); rotate: -0.6deg; }
.tile.ice::before { background: var(--honey); }
.tile.mint::before { background: var(--cornflower); }
.tile.crystal::before { background: var(--sage); }
.tile h3 { font-size: 26px; }
.tile p { font-size: 16.5px; color: var(--text); }

/* What happens to your data, as a checklist (after tirus.app) */
.privacy-block {
  display: grid; gap: 24px 56px; align-items: center;
  margin-top: clamp(44px, 7vw, 88px); padding: clamp(26px, 4.5vw, 52px);
  border-radius: 32px; background: var(--card);
}
@media (min-width: 900px) { .privacy-block { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.pb-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.pb-head h2 { font-size: clamp(30px, 3.4vw, 46px); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 17px; line-height: 1.5; color: var(--text); }
.ticks li span { padding-top: 5px; }
.ticks svg { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--tint-2); color: var(--green-ink); }

/* For studios: a big picture card, heading at the bottom left, button at the bottom right (after the museum) */
.feature-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 22px;
  min-height: clamp(480px, 44vw, 580px); padding: clamp(24px, 4vw, 48px);
  border-radius: 32px; background: #2F3349; color: #DCE4EE;
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(28 31 47 / 0) 22%, rgb(28 31 47 / 0.72) 58%, rgb(28 31 47 / 0.96) 100%);
}
.fc-mosaic {
  position: absolute; z-index: -2; top: -10%; left: -8%; right: -8%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px);
  rotate: -7deg;
}
.fc-mosaic img { width: 100%; border-radius: 14px; }
@media (min-width: 900px) { .fc-mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); top: -26%; } }
.fc-copy { display: flex; flex-direction: column; gap: 12px; max-width: 600px; }
.fc-copy h2 { color: #FAF8F5; }
.fc-copy p { font-size: 17.5px; color: #DCE4EE; max-width: 520px; }
.kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #B7DCCB; }
.feature-card :focus-visible { outline-color: #FAF8F5; }
@media (min-width: 900px) { .fc-btn { position: absolute; right: clamp(24px, 4vw, 48px); bottom: clamp(24px, 4vw, 48px); } }
@media (max-width: 899px) {
  .feature-card { min-height: 0; padding-top: clamp(200px, 50vw, 380px); }
  .fc-mosaic { top: -24px; }
  .fc-mosaic img:nth-child(n+9) { display: none; }
  .feature-card::after { background: linear-gradient(180deg, rgb(28 31 47 / 0) 0, rgb(28 31 47 / 0) clamp(110px, 28vw, 220px), rgb(28 31 47 / 0.94) clamp(200px, 50vw, 380px)); }
}

/* Save it to your phone, on the home page */
.save-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 32px; }
.save-head .section-head { margin-bottom: 0; }
.qr-note { display: flex; align-items: center; gap: 16px; max-width: 380px; }
.qr-note .qr { width: 128px; padding: 10px; flex: none; }
.qr-note .qr svg { width: 108px; height: 108px; }
.qr-note p { font-size: 15.5px; color: var(--text); }
@media (max-width: 640px) { .qr-note { display: none; } }
.two { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-bottom: 28px; }
.box { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 28px; background: var(--card); }
.box h3 { font-size: 22px; }
.box ol, .box ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--text); }

/* Footer, with the logo drawn big along the bottom (like takutaku.co) */
.site-footer { border-top: 1.5px solid var(--seam); padding-top: clamp(32px, 5vw, 56px); }
.home .site-footer { border-top: 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  font-size: 15px; color: var(--soft);
}
.footer-nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--soft); padding-block: 6px; }
.footer-nav a:hover { color: var(--ink); }
.wordmark { padding-block: clamp(20px, 4vw, 44px) clamp(12px, 2vw, 24px); }
.wordmark img { width: 100%; max-width: 860px; height: auto; margin-inline: auto; }

/* Page tops (not the home page) */
.page-head { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(24px, 5vw, 64px) clamp(32px, 5vw, 56px); max-width: 820px; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 76px); }

/* For studios */
.split { display: grid; gap: 44px; align-items: center; padding-block: clamp(20px, 5vw, 64px) var(--section); }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.card-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.card-strip img { border-radius: 14px; width: 100%; }
@media (max-width: 640px) { .card-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.numbered { counter-reset: n; margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.numbered li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; background: var(--card); }
.numbered li::before {
  counter-increment: n; content: counter(n);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--slate); color: #FAF8F5; font-family: var(--font-mono); font-weight: 500; font-size: 16px;
}
.numbered h3 { font-size: 21px; }
.numbered p { font-size: 16px; color: var(--text); }
.cta {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  padding: clamp(28px, 5vw, 48px); border-radius: 32px; background: var(--tint-2);
}
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); }
.cta p { max-width: 620px; color: var(--text); }

/* Save it to your phone */
.notice {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 24px; border-radius: 24px; margin-bottom: 20px;
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--seam);
}
.notice h2 { font-size: 22px; }
.notice p, .notice li { color: var(--text); font-size: 16.5px; }
.notice ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.notice.warn { background: var(--tint); box-shadow: none; }
.notice.good { box-shadow: inset 0 0 0 2px var(--sage); }
.notice .btn-row { padding-top: 4px; }
.copy-status { font-size: 15px; color: var(--soft); min-height: 1.4em; }
.desk { display: grid; gap: 24px; align-items: center; }
@media (min-width: 720px) { .desk { grid-template-columns: auto 1fr; } }
.qr { width: 184px; padding: 12px; border-radius: 20px; background: #FAF8F5; box-shadow: inset 0 0 0 1.5px #DDD6CE; }
.qr svg { width: 160px; height: 160px; }
.desk.no-qr { grid-template-columns: 1fr; }
.desk-copy .address { margin-top: 8px; }
.desk-copy .address strong { font-family: var(--font-mono); font-weight: 500; overflow-wrap: anywhere; }
.detected { font-size: 16px; font-weight: 700; color: var(--soft); margin-bottom: 12px; }
.detected strong { color: var(--ink); }
.picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.picker a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--seam); color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 700;
}
.picker a:hover { box-shadow: inset 0 0 0 2px var(--btn-line); }
.picker a[aria-current="true"] { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
.platforms { display: grid; gap: 20px; }
.platform {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 4vw, 34px); border-radius: 28px; background: var(--card);
  scroll-margin-top: 16px;
}
.platform h2 { font-size: clamp(26px, 3vw, 34px); }
.platform .sub { color: var(--soft); font-size: 16px; margin-top: -8px; }
.howto { counter-reset: s; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.howto > li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 17px; }
.howto > li::before {
  counter-increment: s; content: counter(s);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--slate); color: #FAF8F5; font-family: var(--font-mono); font-weight: 500; font-size: 16px;
}
.howto .t { padding-top: 7px; display: flex; flex-direction: column; gap: 6px; }
.howto .hint { font-size: 15.5px; color: var(--soft); }
.key {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 30px; height: 30px; padding: 0 6px; margin: 0 2px; vertical-align: -8px;
  border-radius: 9px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--seam);
  color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1;
}
.key svg { width: 18px; height: 18px; }
.ui { font-weight: 800; color: var(--ink); }
.both-versions { display: flex; flex-direction: column; gap: 6px; }
.both-versions .v { display: block; }
.both-versions.picked .v { display: none; }
.both-versions.picked .v.on { display: block; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 20px; background: var(--card); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; list-style-position: outside; }
.faq details[open] summary { padding-bottom: 8px; }
.faq details p { padding-bottom: 18px; color: var(--text); font-size: 16.5px; }

/* Plain pages: privacy, 404 */
.prose { max-width: 720px; padding-bottom: var(--section); display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 20px; }
.prose p, .prose li { color: var(--text); }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.lost { padding-block: clamp(40px, 8vw, 96px) var(--section); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 640px; }
.lost .move-card { width: min(260px, 70vw); transform: rotate(-4deg); }

@media print {
  body { background: #fff; color: #000; }
  .site-header, .btn-row, .picker, .skip, .ticker, .carousel-nav { display: none !important; }
}

.section-pad { padding-block: var(--section); }
.band .card-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 460px; width: 100%; margin-inline: auto; }

.art-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 96px)); gap: 10px; }
.art-grid img { border-radius: 14px; width: 100%; }
.songmap { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.songmap .bars { display: flex; align-items: flex-end; gap: 4px; height: 76px; }
/* The song map: Intro, Verse, Rise, Drop, Verse 2, End, taller where the music is fuller */
.songmap .bars span { border-radius: 6px; }
.songmap .bars span:nth-child(1) { flex: 14 1 0; height: 26px; background: var(--ice); }
.songmap .bars span:nth-child(2) { flex: 22 1 0; height: 40px; background: var(--crystal); }
.songmap .bars span:nth-child(3) { flex: 16 1 0; height: 58px; background: var(--cornflower); }
.songmap .bars span:nth-child(4) { flex: 18 1 0; height: 72px; background: var(--teal); }
.songmap .bars span:nth-child(5) { flex: 16 1 0; height: 44px; background: var(--crystal); }
.songmap .bars span:nth-child(6) { flex: 14 1 0; height: 30px; background: var(--sage); }
.songmap .labels { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--soft); }
.songmap .mono { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--number); }

/* Font pairing E: Belleza + DM Sans */
:root {
  --font-display: 'Site Display', Optima, Candara, "Segoe UI", sans-serif;
  --display-weight: 400;
  --tracking: -0.01em;
  --body-weight: 400;
  --h1: clamp(46px, 6.8vw, 100px);
  --h2: clamp(36px, 4.8vw, 64px);
  --h3: 27px;
}
