/* ==========================================================================
   AUCH Studio — Zürich Oerlikon
   Built on the studio's own identity. The palette is the official one from
   the brandbook she sent (brand/reference/brandbook-03-colours.png), not the
   eyedropper approximations the first build ran on:
     blue    #150099   everything structural
     cream   #EBE3D5   the paper ground
     white   #FFFFFF   reverse on blue
     pink    #FEA0D6 · yellow #FAD31E · light blue #9DDEF4   three accents
   Printed-matter logic: cream paper, one deep blue that carries everything,
   rounded pill chips like her timetable graphic, accents used sparingly.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, no external requests)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Anybody';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url('../fonts/anybody-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Anybody';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url('../fonts/anybody-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/karla-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/karla-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/karla-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ground — the brandbook cream, plus a lift and a warm shade of it */
  --paper: oklch(0.945 0.015 82); /* cream, opened up for long reading */
  --paper-warm: oklch(0.918 0.021 82); /* #EBE3D5 exactly */
  --paper-raise: oklch(0.978 0.008 82);

  /* The brand blue does nearly all the work */
  --blue: oklch(0.316 0.209 269); /* #150099 */
  --blue-deep: oklch(0.238 0.161 269);
  --blue-lift: oklch(0.45 0.213 269);

  /* Three accents, not one. Pink leads; yellow and sky are for
     the things that must not read as "another pink thing". */
  --pink: oklch(0.816 0.129 345); /* #FEA0D6 */
  --pink-tint: oklch(0.925 0.055 345);
  --yellow: oklch(0.875 0.175 95); /* #FAD31E */
  --sky: oklch(0.864 0.072 221); /* #9DDEF4 */

  /* Ink on paper. The pink is far too light to carry text or a focus
     ring on cream, so those keep the blue. */
  --ink: oklch(0.316 0.209 269);
  --ink-body: oklch(0.315 0.075 269);
  --ink-muted: oklch(0.455 0.055 269);
  --ink-faint: oklch(0.53 0.045 269);
  --rule: oklch(0.316 0.209 269 / 0.2);
  --rule-strong: oklch(0.316 0.209 269 / 0.45);

  /* Ink on the blue fields */
  --on-blue: oklch(0.97 0.01 82);
  --on-blue-muted: oklch(0.85 0.032 280);
  --on-blue-rule: oklch(0.97 0.01 82 / 0.28);

  /* The accent that hovers and marks the current thing. The official pink is
     a pastel: it reads beautifully on blue and vanishes on cream. So the
     token flips — pink inside blue fields, a lifted blue on paper. */
  --hi: var(--blue-lift);

  /* Type */
  --font-display: 'Anybody', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.16rem + 0.44vw, 1.5rem);
  --step-2: clamp(1.5625rem, 1.39rem + 0.87vw, 2.0625rem);
  --step-3: clamp(1.9375rem, 1.63rem + 1.53vw, 2.8125rem);
  --step-4: clamp(2.4375rem, 1.9rem + 2.66vw, 3.875rem);
  --step-5: clamp(2.375rem, 1.6rem + 3.88vw, 5.5rem);
  --step-6: clamp(3.25rem, 1.98rem + 6.36vw, 6rem);

  /* Space */
  --gap-xs: 0.5rem;
  --gap-s: 0.875rem;
  --gap-m: 1.5rem;
  --gap-l: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --gap-xl: clamp(3.5rem, 2.4rem + 5.5vw, 7rem);
  --gap-2xl: clamp(5rem, 3rem + 10vw, 11rem);

  --gutter: clamp(1.125rem, 0.6rem + 2.6vw, 3rem);
  --measure: 68ch;
  --max: 82.5rem;

  /* Radii — their schedule graphic is built entirely from rounded pills */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 720ms;

  /* Depth */
  --z-base: 1;
  --z-sticky: 20;
  --z-header: 40;
  --z-menu: 60;
  --z-grain: 90;
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* `hidden` must beat every display rule below it, or toggled panels leak. */
[hidden] {
  display: none !important;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
/* Every blue field re-points the accent at the pink it was drawn for. */
.hero,
.feature,
.drench,
.menu,
.marquee,
.splash,
.footer {
  --hi: var(--pink);
}
:focus-visible {
  outline: 3px solid var(--hi);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
::selection {
  background: var(--blue);
  color: var(--on-blue);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--ink);
  /* Anybody Black is a wide face; long German street names must still fit. */
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0;
  translate: 0 -140%;
  z-index: var(--z-menu);
  background: var(--blue);
  color: var(--on-blue);
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  text-decoration: none;
  transition: translate var(--dur) var(--ease-out-quart);
}
.skip-link:focus-visible {
  translate: 0 0.5rem;
}

/* Paper grain. On a cream ground this reads as stock, not noise. */
.grain {
  position: fixed;
  inset: -50%;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: 58rem;
}
.section {
  padding-block: var(--gap-xl);
}
.section--tight {
  padding-block: var(--gap-l);
}
.section--big {
  padding-block: var(--gap-2xl);
}
.section--sand {
  background: var(--paper-warm);
}
.prose {
  max-width: var(--measure);
  color: var(--ink-body);
}
.prose p + p {
  margin-top: 1em;
}
.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
  max-width: 34ch;
}
.hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* Section head: heading left, a live note right. No uppercase eyebrows. */
.head {
  display: grid;
  align-items: end;
  gap: var(--gap-s) var(--gap-l);
  padding-bottom: var(--gap-m);
  border-bottom: 2px solid var(--rule);
  margin-bottom: var(--gap-l);
}
/* Two columns only when there is a note to put in the second one; a bare
   heading in a narrow column must keep the full width. */
@media (min-width: 56rem) {
  .head:has(.head__note) {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
  }
}
.head h2 {
  font-size: var(--step-4);
  font-stretch: 106%;
}
.head__note {
  font-size: var(--step--1);
  color: var(--ink-muted);
  max-width: 34ch;
  line-height: 1.5;
}
/* The head already draws a rule; a list right below it must not draw a second. */
.head + .index,
.head + .upnext,
.head + .events {
  border-top: 0;
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.8em 1.45em;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--blue);
  border-radius: var(--r-pill);
  background: var(--blue);
  color: var(--on-blue);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out-quart),
    color var(--dur-fast) var(--ease-out-quart),
    border-color var(--dur-fast) var(--ease-out-quart),
    translate var(--dur-fast) var(--ease-out-quart);
}
.btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--blue);
  translate: 0 -2px;
}
.btn:active {
  translate: 0 0;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn--ghost:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-blue);
}
/* Sitting on a blue field */
.btn--onBlue {
  background: var(--on-blue);
  border-color: var(--on-blue);
  color: var(--blue);
}
.btn--onBlue:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--blue);
}
.btn--onBlueGhost {
  background: transparent;
  border-color: var(--on-blue-rule);
  color: var(--on-blue);
}
.btn--onBlueGhost:hover {
  background: var(--on-blue);
  border-color: var(--on-blue);
  color: var(--blue);
}
.btn--wide {
  padding-inline: 2.1rem;
}
/* Anything standing on a blue field flips to the cream treatment. */
.hero .btn,
.feature .btn,
.drench .btn {
  background: var(--on-blue);
  border-color: var(--on-blue);
  color: var(--blue);
}
.hero .btn:hover,
.feature .btn:hover,
.drench .btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--blue);
}
.hero .btn--ghost,
.feature .btn--ghost,
.drench .btn--ghost {
  background: transparent;
  border-color: var(--on-blue-rule);
  color: var(--on-blue);
}
.hero .btn--ghost:hover,
.feature .btn--ghost:hover,
.drench .btn--ghost:hover {
  background: var(--on-blue);
  border-color: var(--on-blue);
  color: var(--blue);
}

/* Underline that draws itself */
.ulink {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 0.12em;
  transition: background-size var(--dur) var(--ease-out-quart), color var(--dur-fast);
}
.ulink:hover {
  color: var(--hi);
}
.prose a:not(.btn) {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--hi);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 2px;
}
.prose a:not(.btn):hover {
  color: var(--hi);
}

/* Small factual label — used for data, never as a decorative eyebrow */
.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.5em 0.85em;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-pill);
  color: var(--ink);
  white-space: nowrap;
}
/* On the narrowest phones a long label must wrap rather than push the page. */
@media (max-width: 26rem) {
  .tag {
    white-space: normal;
  }
}
.tag--blue {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-blue);
}
.tag--pink {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--blue);
}
.tag--free {
  background: var(--pink-tint);
  border-color: var(--pink);
  color: var(--blue);
}
/* Tags standing on a blue field */
.drench .tag {
  border-color: var(--on-blue-rule);
  color: var(--on-blue);
}
.drench .tag--pink,
.drench .tag--free {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in oklab, var(--paper) 84%, transparent);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease-out-quart),
    border-color var(--dur) var(--ease-out-quart);
}
.header.is-stuck {
  background: color-mix(in oklab, var(--paper) 95%, transparent);
  border-bottom-color: var(--rule);
  backdrop-filter: saturate(140%) blur(10px);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-m);
  min-height: 4.5rem;
}

/* The brandbook's secondary mark — the AUCH letterforms cropped until they
   read as a creature. Masked rather than inlined so one shape recolours
   itself on paper and on blue. */
.mark {
  display: block;
  width: 1.5em;
  aspect-ratio: 411 / 630; /* the mark's own proportions */
  flex: none;
  background-color: currentColor;
  -webkit-mask: url('../img/auch-mark.svg') no-repeat center / contain;
  mask: url('../img/auch-mark.svg') no-repeat center / contain;
}
/* The wordmark: AUCH itself, the primary logo. Same masking trick. */
.wordmark {
  display: block;
  aspect-ratio: 539 / 287;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url('../img/auch-word.svg') no-repeat center / contain;
  mask: url('../img/auch-word.svg') no-repeat center / contain;
}
/* The full lockup, AUCH over "dance studio". Footer and splash. */
.lockup {
  display: block;
  aspect-ratio: 539 / 363;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url('../img/auch-lockup.svg') no-repeat center / contain;
  mask: url('../img/auch-lockup.svg') no-repeat center / contain;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.brand__word {
  width: clamp(4.4rem, 8vw, 5.6rem);
  transition: color var(--dur) var(--ease-out-quart),
    rotate var(--dur-slow) var(--ease-out-expo);
}
.brand:hover .brand__word {
  color: var(--hi);
  rotate: -3deg;
}
.brand__text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}
.brand em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
.brand .mark {
  transition: color var(--dur) var(--ease-out-quart),
    rotate var(--dur-slow) var(--ease-out-expo);
}
.brand:hover .mark {
  color: var(--hi);
  rotate: -8deg;
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}
@media (min-width: 48rem) {
  .nav {
    display: flex;
  }
}
.nav a {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
  position: relative;
  padding-block: 0.35rem;
  transition: color var(--dur-fast);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--pink);
  scale: 0 1;
  transform-origin: left;
  transition: scale var(--dur) var(--ease-out-quart);
}
.nav a:hover {
  color: var(--ink);
}
.nav a:hover::after,
.nav a[aria-current='page']::after {
  scale: 1 1;
}
.nav a[aria-current='page'] {
  color: var(--ink);
}
.header__cta {
  display: none;
}
@media (min-width: 60rem) {
  .header__cta {
    display: inline-flex;
  }
}

/* Mobile menu */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0 0.6rem;
  background: none;
  border: 2px solid var(--rule-strong);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--ink);
  transition: translate var(--dur) var(--ease-out-quart),
    rotate var(--dur) var(--ease-out-quart), opacity var(--dur-fast);
}
.burger[aria-expanded='true'] span:nth-child(1) {
  translate: 0 7px;
  rotate: 45deg;
}
.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded='true'] span:nth-child(3) {
  translate: 0 -7px;
  rotate: -45deg;
}
@media (min-width: 48rem) {
  .burger {
    display: none;
  }
}
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--blue);
  color: var(--on-blue);
  display: grid;
  align-content: center;
  padding: var(--gutter);
  gap: var(--gap-m);
  translate: 0 -100%;
  visibility: hidden;
  transition: translate var(--dur-slow) var(--ease-out-expo),
    visibility 0s linear var(--dur-slow);
}
.menu[data-open='true'] {
  translate: 0 0;
  visibility: visible;
  transition: translate var(--dur-slow) var(--ease-out-expo), visibility 0s;
}
.menu__mark {
  width: 2.4rem;
  height: 3.7rem;
  color: var(--on-blue);
  margin-bottom: var(--gap-s);
}
.menu a {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: var(--on-blue);
  line-height: 1;
  border-bottom: 1px solid var(--on-blue-rule);
  padding-block: 0.4em;
}
.menu a[aria-current='page'] {
  color: var(--pink);
}
.menu__foot {
  margin-top: var(--gap-m);
  font-size: var(--step--1);
  color: var(--on-blue-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-m);
}
@media (min-width: 48rem) {
  .menu {
    display: none;
  }
}
body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. Photography
   -------------------------------------------------------------------------- */
/* Offset plate behind a photo — the misregistered second pass of a print run */
.riso {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-md);
}
.riso::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--blue);
  translate: 11px 11px;
  z-index: -1;
  transition: translate var(--dur-slow) var(--ease-out-expo);
}
.riso--pink::before {
  background: var(--pink);
}
.riso--tight::before {
  translate: 7px 7px;
}
.riso img {
  width: 100%;
  border-radius: inherit;
  filter: contrast(1.04) saturate(0.95);
}
.riso:hover::before {
  translate: 18px 18px;
}

/* Photo printed in the brand's single blue */
.duo {
  position: relative;
  isolation: isolate;
  background: var(--blue);
  border-radius: var(--r-md);
  overflow: hidden;
}
.duo img {
  width: 100%;
  mix-blend-mode: luminosity;
  filter: contrast(1.1) grayscale(1) brightness(1.06);
}

.figcap {
  margin-top: 0.7rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
  line-height: 1.45;
}

/* A portrait crop so a photo column can hold its own against a long list. */
.img-tall {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   8. Blue fields
   -------------------------------------------------------------------------- */
.drench {
  background: var(--blue);
  color: var(--on-blue);
}
.drench h1,
.drench h2,
.drench h3,
.drench h4 {
  color: var(--on-blue);
}
.drench .prose,
.drench p {
  color: var(--on-blue-muted);
}
.drench .lede {
  color: var(--on-blue);
}
.drench a:not(.btn) {
  color: inherit;
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92svh, 54rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding-block: var(--gap-xl) var(--gap-l);
  overflow: hidden;
  isolation: isolate;
  background: var(--blue-deep);
  color: var(--on-blue);
}
/* Layer explicitly rather than with negative z-index, which would drop the
   photograph behind the section's own background. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--blue-deep);
}
.hero__inner,
.hero__stamp {
  z-index: 1;
}
/* The photograph, printed in the studio's blue rather than laid over black */
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  mix-blend-mode: luminosity;
  filter: grayscale(1) contrast(1.12) brightness(1.02);
  opacity: 0.9;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      color-mix(in oklab, var(--blue-deep) 60%, transparent) 0%,
      transparent 34%,
      color-mix(in oklab, var(--blue-deep) 78%, transparent) 82%,
      var(--blue-deep) 100%
    ),
    linear-gradient(
      to right,
      color-mix(in oklab, var(--blue-deep) 72%, transparent),
      transparent 64%
    );
}
.hero__inner {
  position: relative;
  min-width: 0;
}
.hero h1 {
  font-size: var(--step-6);
  font-stretch: 112%;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--on-blue);
  max-width: 15ch;
}
.hero h1 .u {
  color: var(--pink);
  font-style: normal;
}
.hero__sub {
  margin-top: var(--gap-m);
  font-size: var(--step-1);
  line-height: 1.45;
  max-width: 30ch;
  color: var(--on-blue);
}
.hero__actions {
  margin-top: var(--gap-l);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s);
}
.hero__meta {
  margin-top: var(--gap-l);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: var(--step--1);
  color: var(--on-blue-muted);
  padding-top: var(--gap-m);
  border-top: 1px solid var(--on-blue-rule);
  max-width: 46rem;
}
.hero__meta b {
  color: var(--on-blue);
  font-weight: 700;
}
.hero__stamp {
  position: absolute;
  right: var(--gutter);
  bottom: var(--gap-l);
  display: none;
  width: clamp(9rem, 13vw, 13rem);
  rotate: -9deg;
}
@media (min-width: 64rem) {
  .hero__stamp {
    display: block;
  }
}

/* Page header for inner pages */
.pagehead {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) var(--gap-l);
  border-bottom: 2px solid var(--rule);
  overflow: hidden;
}
.pagehead h1 {
  font-size: var(--step-4);
  font-stretch: 100%;
  font-weight: 900;
  max-width: 18ch;
}
.pagehead .lede {
  margin-top: var(--gap-m);
}
.pagehead__grid {
  display: grid;
  gap: var(--gap-l);
  align-items: end;
}
.pagehead__grid > * {
  min-width: 0;
}
@media (min-width: 56rem) {
  .pagehead__grid {
    grid-template-columns: 1.35fr 1fr;
  }
}
.pagehead__facts {
  display: grid;
  gap: 0.35rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.pagehead__facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
  border-top: 1px solid var(--rule);
}
.pagehead__facts b {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

/* --------------------------------------------------------------------------
   10. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  --speed: 46s;
  overflow: hidden;
  background: var(--blue);
  color: var(--on-blue);
  padding-block: 0.8rem;
  display: flex;
  user-select: none;
}
.marquee--pink {
  background: var(--pink);
  color: var(--blue);
}
/* The styles list is roughly twice the length of the old wordmark loop, and
   the animation crosses one whole track regardless of how wide it is — so it
   needs a proportionally longer clock to keep the same reading speed. */
.marquee--styles {
  --speed: 96s;
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: 2.2rem;
  padding-right: 2.2rem;
  align-items: center;
  animation: slide var(--speed) linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  font-weight: 800;
  font-stretch: 92%;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1.1;
}
.marquee i {
  font-style: normal;
  font-size: 0.8em;
  color: var(--pink);
}
.marquee--pink i {
  color: var(--blue);
}
@keyframes slide {
  to {
    translate: -100% 0;
  }
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
  .marquee {
    overflow-x: auto;
  }
}

/* --------------------------------------------------------------------------
   11. Manifesto
   -------------------------------------------------------------------------- */
.manifesto {
  display: grid;
  gap: var(--gap-l);
}
@media (min-width: 56rem) {
  .manifesto {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap-l) var(--gap-m);
  }
}
.manifesto__lead {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 800;
  /* Condensed on purpose: the poster width axis, so the statement stays
     one loud block instead of seven thin lines. */
  font-stretch: 82%;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
@media (min-width: 56rem) {
  .manifesto__lead {
    grid-column: 1 / 9;
  }
  .manifesto__aside {
    grid-column: 9 / -1;
    align-self: end;
  }
  .manifesto__list {
    grid-column: 1 / -1;
  }
}
.manifesto__aside {
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 32ch;
}
.manifesto__list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--blue);
}
.manifesto__list > div {
  display: grid;
  gap: 0.4rem var(--gap-m);
  padding-block: var(--gap-m);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 48rem) {
  .manifesto__list > div {
    grid-template-columns: 16rem 1fr;
    align-items: baseline;
  }
}
.manifesto__list h3 {
  font-size: var(--step-1);
  font-stretch: 96%;
  letter-spacing: -0.02em;
}
.manifesto__list p {
  max-width: 58ch;
  line-height: 1.55;
  color: var(--ink-body);
}

/* --------------------------------------------------------------------------
   12. Timetable — built from their own schedule graphic
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: var(--gap-m);
}
.chip {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55em 1.05em;
  background: transparent;
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--r-pill);
  color: var(--ink-muted);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast),
    border-color var(--dur-fast);
}
.chip:hover {
  border-color: var(--blue);
  color: var(--ink);
}
.chip[aria-pressed='true'] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-blue);
}

.timetable {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 62rem) {
  .timetable {
    grid-template-columns: repeat(7, 1fr);
  }
}
.day {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.day__name {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.6rem 0.9rem;
  background: var(--blue);
  color: var(--on-blue);
  border-radius: var(--r-pill);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  position: sticky;
  top: 4.75rem;
  z-index: var(--z-sticky);
}
.day--today .day__name {
  background: var(--pink);
  color: var(--blue);
}
.day__name span {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--on-blue-muted);
}
.day--today .day__name span {
  color: var(--blue);
}
.day__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.slot {
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--paper-raise);
  display: grid;
  gap: 0.25rem;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.slot:hover {
  border-color: var(--blue);
  background: var(--paper-warm);
}
.slot__time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.slot__name {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.25;
  color: var(--ink-body);
}
.slot__meta {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.35;
}
/* Art classes sit in the dance timetable; the pink ground is what tells
   them apart at a glance. */
.slot--free {
  background: var(--pink-tint);
  border-color: var(--pink);
}
.slot[hidden] {
  display: none;
}
.day__empty {
  padding: 0.7rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-style: italic;
  border: 1.5px dashed var(--rule);
  border-radius: var(--r-sm);
}
.timetable__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gap-m);
  margin-top: var(--gap-m);
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
}

/* Compact "what's on next" strip for the home page */
.upnext {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.upnext li {
  border-bottom: 1px solid var(--rule);
}
.upnext a,
.upnext > li > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  padding: var(--gap-s) 0.75rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  align-items: baseline;
  transition: background var(--dur-fast);
}
@media (min-width: 48rem) {
  .upnext a,
  .upnext > li > div {
    grid-template-columns: 7.5rem 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
  }
}
.upnext a:hover {
  background: var(--paper-warm);
}
.upnext__when {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-0);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.upnext__what {
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--ink-body);
}
.upnext__who,
.upnext__lvl {
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.upnext li:hover .upnext__what {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   13. Class index & editorial rows
   -------------------------------------------------------------------------- */
.classrow {
  display: grid;
  gap: var(--gap-m);
  padding-block: var(--gap-l);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
@media (min-width: 56rem) {
  .classrow {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: var(--gap-l);
  }
  .classrow--flip > .classrow__media {
    order: 2;
  }
  .classrow--flip > .classrow__body {
    order: 1;
  }
}
.classrow__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.classrow__body h3 {
  font-size: var(--step-3);
  font-stretch: 104%;
}
.classrow__body .prose {
  margin-top: var(--gap-s);
}
.classrow__facts {
  margin-top: var(--gap-m);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* Style index — dense typographic list, not a card grid */
.index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.index li a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background var(--dur-fast);
}
.index li a:hover {
  background: var(--paper-warm);
}
.index__name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  transition: translate var(--dur) var(--ease-out-quart), color var(--dur-fast);
}
.index li a:hover .index__name {
  translate: 0.7rem 0;
  color: var(--hi);
}
.index__meta {
  font-size: var(--step--1);
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   14. Events
   -------------------------------------------------------------------------- */
.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: min(78svh, 44rem);
  overflow: hidden;
  padding: var(--gap-l);
  isolation: isolate;
  background: var(--blue-deep);
  color: var(--on-blue);
}
.feature__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--blue-deep);
}
.feature__body {
  position: relative;
  z-index: 1;
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  filter: grayscale(1) contrast(1.15) brightness(0.98);
  opacity: 0.85;
}
.feature__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--blue-deep) 2%,
    color-mix(in oklab, var(--blue-deep) 62%, transparent) 46%,
    transparent 90%
  );
}
.feature__body {
  max-width: 46rem;
}
.feature h1,
.feature h2,
.feature h3 {
  font-size: var(--step-5);
  font-stretch: 108%;
  font-weight: 900;
  color: var(--on-blue);
}
.feature .prose {
  color: var(--on-blue-muted);
}
.feature .tag {
  border-color: var(--on-blue-rule);
  color: var(--on-blue);
}
.feature .tag--blue {
  background: var(--on-blue);
  border-color: var(--on-blue);
  color: var(--blue);
}
.feature .tag--pink,
.feature .tag--free {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--blue);
}
.feature__date {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--gap-m);
}
.feature__actions {
  margin-top: var(--gap-l);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s);
  align-items: center;
}

/* The battle poster is the artwork, not a backdrop, so it gets a real column
   instead of being flattened into the greyscale media layer behind it. */
.feature--poster .feature__body {
  max-width: none;
  display: grid;
  gap: var(--gap-l);
  align-items: end;
}
.feature--poster .feature__col {
  max-width: 46rem;
}
/* Five rows of facts sit higher up the photo than a single paragraph does,
   so this variant needs the scrim carried further up. */
.feature--poster .feature__media::after {
  background: linear-gradient(
    to top,
    var(--blue-deep) 6%,
    color-mix(in oklab, var(--blue-deep) 80%, transparent) 62%,
    color-mix(in oklab, var(--blue-deep) 40%, transparent) 100%
  );
}
.feature__poster {
  margin: 0;
  width: min(100%, 22rem);
}
.feature__poster img {
  display: block;
  filter: none;
}
@media (min-width: 62rem) {
  .feature--poster .feature__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
    gap: var(--gap-xl);
  }
  .feature__poster {
    width: 100%;
    justify-self: end;
  }
}

/* Event facts, on the blue. Label left, value right, one rule per row. */
.facts {
  margin: var(--gap-l) 0 0;
  display: grid;
  gap: 0;
  max-width: 34rem;
  border-top: 1px solid var(--on-blue-rule);
}
.facts__row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: var(--gap-s);
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--on-blue-rule);
}
.facts dt {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-blue-muted);
}
.facts dd {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--on-blue);
}
@media (max-width: 30rem) {
  .facts__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }
}

.events {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--blue);
}
.event {
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: var(--gap-s) var(--gap-l);
  padding-block: var(--gap-l);
  align-items: start;
}
@media (min-width: 56rem) {
  .event {
    grid-template-columns: 12rem minmax(0, 1fr) auto;
  }
}
.event__date {
  font-family: var(--font-display);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.event__day {
  display: block;
  font-size: var(--step-3);
  font-weight: 900;
  font-stretch: 110%;
}
.event__mon {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.event__body h3 {
  font-size: var(--step-2);
  font-stretch: 102%;
}
.event__body p {
  margin-top: 0.55rem;
  color: var(--ink-body);
  max-width: 60ch;
  line-height: 1.55;
}
.event__tags {
  margin-top: var(--gap-s);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.event__side {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}
@media (min-width: 56rem) {
  .event__side {
    justify-items: end;
    text-align: right;
  }
}
.event__price {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 800;
  color: var(--ink);
}

.gallery {
  display: grid;
  gap: var(--gap-s);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.95);
  transition: filter var(--dur) var(--ease-out-quart),
    scale var(--dur-slow) var(--ease-out-expo);
}
.gallery figure:hover img {
  filter: contrast(1) saturate(1.05);
  scale: 1.04;
}
.gallery figcaption {
  padding: 0.6rem 0.1rem 0;
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.gallery__tall img {
  aspect-ratio: 3 / 5;
}

/* --------------------------------------------------------------------------
   15. People
   -------------------------------------------------------------------------- */
/* Each teacher now carries her own words rather than a single line, and a
   paragraph that long will not sit under a portrait on a phone. So below the
   desktop breakpoint the card turns on its side: small portrait left, name and
   bio right. At 62rem it becomes the four-across board again — which is also
   the width where the first row reads as the one line she asked for. */
.people {
  display: grid;
  gap: var(--gap-m);
  grid-template-columns: minmax(0, 1fr);
}
/* The portrait floats rather than taking a grid column of its own: the name,
   the role line and the bio are siblings, so a two-column grid would scatter
   them one per cell instead of keeping them as one block of text. */
.person {
  display: block;
}
.person::after {
  content: '';
  display: block;
  clear: both;
}
.person img {
  float: left;
  width: 6.5rem;
  margin: 0.2rem 1rem 0.6rem 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-md);
  filter: grayscale(1) contrast(1.08);
  transition: filter var(--dur-slow) var(--ease-out-quart);
}
.person:hover img {
  filter: grayscale(0) contrast(1);
}
.person h3 {
  font-size: var(--step-1);
  font-stretch: 100%;
}
.person__role {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--hi);
}
.person p {
  margin-top: 0.3rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
  line-height: 1.45;
}
.person__role + p {
  margin-top: 0.45rem;
}
.person__ig {
  font-weight: 700;
  color: var(--hi);
  overflow-wrap: anywhere;
}
@media (min-width: 44rem) {
  .people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-m) var(--gap-l);
  }
}
@media (min-width: 62rem) {
  .people {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap-l) var(--gap-m);
  }
  .person img {
    float: none;
    width: 100%;
    margin: 0;
  }
  .person h3 {
    margin-top: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   16. Prices
   -------------------------------------------------------------------------- */
.prices {
  display: grid;
  gap: var(--gap-s);
}
@media (min-width: 44rem) {
  .prices {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 68rem) {
  .prices {
    grid-template-columns: repeat(4, 1fr);
  }
}
.price {
  background: var(--paper-raise);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--gap-m);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price--hi {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-blue);
}
.price--hi h3 {
  color: var(--on-blue);
}
.price h3 {
  font-size: var(--step-1);
  font-stretch: 100%;
}
.price__amt {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 900;
  font-stretch: 108%;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin-top: auto;
  padding-top: var(--gap-m);
}
.price--hi .price__amt {
  color: var(--on-blue);
}
.price__amt small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}
.price--hi .price__amt small {
  color: var(--on-blue-muted);
}
.price p {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-body);
}
.price--hi p {
  color: var(--on-blue-muted);
}

/* --------------------------------------------------------------------------
   17. Notes / callout / FAQ
   -------------------------------------------------------------------------- */
.notes {
  display: grid;
  gap: var(--gap-l);
}
@media (min-width: 48rem) {
  .notes {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  }
}
.note h3 {
  font-size: var(--step-1);
  font-stretch: 100%;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pink);
  margin-bottom: 0.8rem;
}
.note p,
.note li {
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--ink-body);
}
.note ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}
.drench .note h3 {
  color: var(--on-blue);
}
.drench .note p,
.drench .note li {
  color: var(--on-blue-muted);
}

details.faq {
  border-bottom: 1px solid var(--rule);
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: var(--gap-m);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  transition: color var(--dur-fast);
}
details.faq summary::-webkit-details-marker {
  display: none;
}
details.faq summary::after {
  content: '+';
  color: var(--hi);
  font-size: 1.4em;
  line-height: 1;
  transition: rotate var(--dur) var(--ease-out-quart);
}
details.faq[open] summary::after {
  rotate: 45deg;
}
details.faq summary:hover {
  color: var(--hi);
}
details.faq .faq__body {
  padding-bottom: var(--gap-m);
  color: var(--ink-body);
  max-width: var(--measure);
  line-height: 1.6;
}
details.faq .faq__body p + p {
  margin-top: 0.8em;
}

/* --------------------------------------------------------------------------
   18. Split blocks & CTA band
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--gap-l);
  align-items: center;
}
.split > *,
.contactgrid > * {
  min-width: 0;
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
  }
  .split--wideLeft {
    grid-template-columns: 1.25fr 1fr;
  }
  .split--wideRight {
    grid-template-columns: 1fr 1.25fr;
  }
  .split--top {
    align-items: start;
  }
}
.split h2 {
  font-size: var(--step-4);
  font-stretch: 106%;
}
.split .prose {
  margin-top: var(--gap-m);
}
.split__actions {
  margin-top: var(--gap-l);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s);
}

.cta {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: var(--gap-m);
}
.cta__mark {
  width: 2.6rem;
  height: 4rem;
  color: var(--pink);
  margin-bottom: var(--gap-xs);
}
.cta h2 {
  font-size: var(--step-5);
  font-stretch: 102%;
  font-weight: 900;
  max-width: 16ch;
}
.cta p {
  max-width: 48ch;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   19. Contact: map, hours, form
   -------------------------------------------------------------------------- */
.contactgrid {
  display: grid;
  gap: var(--gap-xl);
}
@media (min-width: 60rem) {
  .contactgrid {
    grid-template-columns: 1fr 1.1fr;
  }
}
.addr {
  font-style: normal;
  display: grid;
  gap: var(--gap-m);
}
.addr__block h3 {
  font-size: var(--step--1);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.addr__block p,
.addr__block a {
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--ink);
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}
.hours th,
.hours td {
  text-align: left;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 400;
  color: var(--ink-body);
}
.hours th {
  font-weight: 700;
  color: var(--ink);
  width: 9rem;
}
.hours td {
  text-align: right;
}

.map {
  width: 100%;
  height: auto;
  background: var(--paper-raise);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
}
.map__pin circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.4s var(--ease-out-quart) infinite;
}
/* The button that hands the drawn walk to a phone. It sits under the map, and
   the caption beside it wraps under on narrow screens rather than squeezing. */
.map__go {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-s) var(--gap-m);
  margin-top: var(--gap-m);
}
.map__go .figcap {
  margin: 0;
}

/* One base map, two annotation layers. On a phone the drawing renders at about
   a third of its width, which would put the fine lettering near 6px, so the
   narrow layer sets only the streets you actually turn on, and sets them large. */
.map__note--big {
  display: none;
}
@media (max-width: 46rem) {
  .map__note--fine {
    display: none;
  }
  .map__note--big {
    display: inline;
  }
}
/* The dots walk the route, so the direction of travel reads without a legend. */
.map__route {
  animation: walk 5.5s linear infinite;
}
@keyframes walk {
  to {
    stroke-dashoffset: -17.1;
  }
}
@keyframes ping {
  0% {
    scale: 1;
    opacity: 0.7;
  }
  70%,
  100% {
    scale: 3.2;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map__pin circle {
    animation: none;
    opacity: 0.35;
  }
  .map__route {
    animation: none;
  }
}

.form {
  display: grid;
  gap: var(--gap-m);
}
.field {
  display: grid;
  gap: 0.45rem;
}
.field label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field select,
.field textarea {
  background: var(--paper-raise);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  font-size: var(--step-0);
  color: var(--ink-body);
  width: 100%;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-muted);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--blue);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: none;
  background: var(--paper-raise);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--hi);
  outline-offset: 2px;
}
.field__err {
  font-size: 0.8125rem;
  color: oklch(0.48 0.19 20);
  font-weight: 600;
  min-height: 1.2em;
}
.field--bad input,
.field--bad select,
.field--bad textarea {
  border-color: oklch(0.48 0.19 20);
}
.form__row {
  display: grid;
  gap: var(--gap-m);
}
@media (min-width: 34rem) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.form__note {
  font-size: var(--step--1);
  color: var(--ink-muted);
  line-height: 1.5;
}
.form__ok {
  border: 2px solid var(--blue);
  border-radius: var(--r-md);
  background: var(--pink-tint);
  padding: var(--gap-m);
  display: grid;
  gap: 0.5rem;
}
.form__ok h3 {
  font-size: var(--step-2);
  color: var(--ink);
}
.form__ok p {
  color: var(--ink-body);
  font-size: var(--step--1);
  line-height: 1.55;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--blue);
  color: var(--on-blue);
  padding-block: var(--gap-xl) var(--gap-l);
  margin-top: var(--gap-xl);
}
/* No paper seam between a closing blue section and the blue footer. */
.drench + .footer {
  margin-top: 0;
}
.footer__grid {
  display: grid;
  gap: var(--gap-l);
}
@media (min-width: 48rem) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}
.footer h3 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-blue-muted);
  margin-bottom: 0.9rem;
}
.footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: var(--step--1);
}
.footer a {
  text-decoration: none;
  color: var(--on-blue-muted);
  transition: color var(--dur-fast);
}
.footer a:hover {
  color: var(--pink);
}
.footer__lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--on-blue);
}
.footer__lockup__art {
  width: clamp(8rem, 18vw, 11rem);
}
.footer__mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 900;
  font-stretch: 124%;
  letter-spacing: -0.045em;
  line-height: 0.85;
  color: var(--on-blue);
}
.footer__claim {
  margin-top: 0.9rem;
  font-size: var(--step--1);
  color: var(--on-blue-muted);
  max-width: 26ch;
  line-height: 1.5;
}
.footer__bottom {
  margin-top: var(--gap-l);
  padding-top: var(--gap-m);
  border-top: 1px solid var(--on-blue-rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem var(--gap-m);
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--on-blue-muted);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem var(--gap-m);
}
.footer__legal a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--on-blue-rule);
}
/* --------------------------------------------------------------------------
   Legal pages (Impressum, privacy). Long-form running text: the only place on
   the site with headings, lists and definition tables inside body copy.
   -------------------------------------------------------------------------- */
.legal {
  max-width: 68ch;
  color: var(--ink-body);
}
.legal > * + * {
  margin-top: 1em;
}
.legal h2 {
  font-size: var(--step-2);
  margin-top: var(--gap-l);
  padding-top: var(--gap-s);
  border-top: 1px solid var(--rule);
}
/* The rule separates sections from each other; above the first one it would be
   separating the heading from the page head that already has a border. */
.legal > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal h3 {
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--gap-m);
}
.legal ul,
.legal ol {
  padding-left: 1.15em;
  display: grid;
  gap: 0.45em;
}
.legal li::marker {
  color: var(--ink-muted);
}
.legal a:not(.btn) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--blue);
}
.legal a:not(.btn):hover {
  color: var(--blue);
}
.legal dl {
  display: grid;
  gap: 0;
  margin-top: var(--gap-s);
}
.legal dt {
  font-weight: 700;
  color: var(--ink);
  font-size: var(--step--1);
  padding-top: 0.7rem;
  border-top: 1px solid var(--rule);
}
.legal dd {
  margin: 0.15rem 0 0.7rem;
}
@media (min-width: 40rem) {
  .legal dl {
    grid-template-columns: 14rem 1fr;
    column-gap: var(--gap-m);
  }
  .legal dt {
    grid-column: 1;
  }
  .legal dd {
    grid-column: 2;
    padding-top: 0.7rem;
    border-top: 1px solid var(--rule);
    margin-bottom: 0;
  }
}
.legal__updated {
  font-size: var(--step--1);
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   21. Reveal motion — enhances an already-visible default
   -------------------------------------------------------------------------- */
/* Visible is the default. JS only hides what is still far below the fold,
   so a paused tab, a headless renderer or a dead script all render the
   finished page rather than a blank one. */
.reveal {
  transition: opacity 620ms var(--ease-out-quart),
    translate 720ms var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
.reveal.is-pre {
  opacity: 0;
  translate: 0 22px;
}
.reveals-off .reveal {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-pre {
    opacity: 1;
    translate: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .riso::before,
  .riso:hover::before {
    translate: 8px 8px;
  }
}

/* Hero load choreography */
.js .hero__inner > * {
  opacity: 0;
  translate: 0 26px;
  animation: rise 900ms var(--ease-out-expo) forwards;
}
.js .hero__inner > *:nth-child(1) {
  animation-delay: 80ms;
}
.js .hero__inner > *:nth-child(2) {
  animation-delay: 190ms;
}
.js .hero__inner > *:nth-child(3) {
  animation-delay: 290ms;
}
.js .hero__inner > *:nth-child(4) {
  animation-delay: 380ms;
}
.js .hero__inner > *:nth-child(5) {
  animation-delay: 460ms;
}
@keyframes rise {
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero__inner > * {
    opacity: 1;
    translate: none;
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   22. Utilities
   -------------------------------------------------------------------------- */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.stack-s > * + * {
  margin-top: var(--gap-s);
}
.stack-m > * + * {
  margin-top: var(--gap-m);
}
.stack-l > * + * {
  margin-top: var(--gap-l);
}
.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pink {
  color: var(--hi);
}

/* --------------------------------------------------------------------------
   23. The entry screen — one locked page, AUCH on a gradient that never
       settles. She asked for exactly this: "просто аух, і на неї градієнт
       навколо в моїх кольорах брендінгу", and no scrolling under it.
   -------------------------------------------------------------------------- */
.entry,
html:has(.entry) {
  height: 100%;
  overflow: hidden; /* there is nothing below this screen to reach */
  overscroll-behavior: none;
  background: var(--blue);
}

.splash {
  position: relative;
  height: 100svh;
  min-height: 100%;
  display: grid;
  /* An implicit column would size itself to the widest row of links and let
     the whole block hang off a phone. Pin it to the screen instead. */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue);
  color: var(--on-blue);
  text-align: center;
  padding: var(--gap-m) var(--gutter);
  -webkit-tap-highlight-color: transparent;
}
.splash__word,
.splash__hint {
  user-select: none;
  -webkit-user-select: none;
}

/* The gradient. Five soft plates of brand colour, blurred into each other and
   permanently in motion. CSS drives the drift through `translate`/`scale`, so
   the pointer parallax in JS can still write `transform` without a fight. */
.splash__field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* The blue lives inside the field so the plates can blend against it.
     `isolation` keeps that blending off the wordmark sitting above. */
  background: var(--blue);
  isolation: isolate;
}
/* A filled rectangle, not a bag of circles. Two rounds of softening the discs
   still read as discs, so there are none: each plate is a rectangle larger
   than the screen carrying a *linear* gradient, and it only ever moves by a
   fraction of its own size, so its edges stay outside the viewport. What you
   see is the interior — colour folding into colour, edge to edge.

   The bands are deliberately narrower than the plate: screened layers only
   ever lighten, so if every one of them covered the whole screen the brand
   blue would wash out completely. Leaving gaps is what keeps the blue. */
.blob {
  position: absolute;
  display: block;
  width: 180%;
  height: 180%;
  left: -40%;
  top: -40%;
  mix-blend-mode: screen;
  filter: blur(18px);
  will-change: transform, translate;
  animation: swim var(--t, 26s) var(--ease-out-quart) var(--delay, 0s) infinite
    alternate;
}
.blob--1 {
  --t: 15s;
  background: linear-gradient(72deg,
    transparent 26%,
    color-mix(in oklab, var(--pink) 62%, transparent) 42%,
    var(--pink) 50%,
    color-mix(in oklab, var(--pink) 50%, transparent) 58%,
    transparent 74%);
  opacity: 0.48;
}
.blob--2 {
  --t: 19s;
  --delay: -6s;
  background: linear-gradient(-38deg,
    transparent 28%,
    color-mix(in oklab, var(--sky) 55%, transparent) 44%,
    var(--sky) 52%,
    transparent 72%);
  opacity: 0.4;
}
.blob--3 {
  --t: 17s;
  --delay: -13s;
  background: linear-gradient(158deg,
    transparent 32%,
    color-mix(in oklab, var(--yellow) 50%, transparent) 46%,
    var(--yellow) 53%,
    transparent 70%);
  opacity: 0.26;
}
.blob--4 {
  --t: 21s;
  --delay: -4s;
  background: linear-gradient(-108deg,
    transparent 22%,
    color-mix(in oklab, var(--blue-lift) 70%, transparent) 40%,
    var(--blue-lift) 50%,
    color-mix(in oklab, var(--blue-lift) 60%, transparent) 60%,
    transparent 78%);
  opacity: 0.54;
}
/* The beige she asked for, warming wherever the others cross */
.blob--5 {
  --t: 13s;
  --delay: -9s;
  background: linear-gradient(28deg,
    transparent 34%,
    color-mix(in oklab, var(--paper-warm) 45%, transparent) 48%,
    var(--paper-warm) 54%,
    transparent 68%);
  opacity: 0.2;
}
.blob--6 {
  --t: 23s;
  --delay: -16s;
  background: linear-gradient(-160deg,
    transparent 30%,
    color-mix(in oklab, var(--pink) 40%, transparent) 44%,
    color-mix(in oklab, var(--sky) 55%, transparent) 58%,
    transparent 74%);
  opacity: 0.3;
}
/* Each plate slides and turns by a fraction of its own size, so the colour
   keeps folding through itself and no edge ever comes into view. */
@keyframes swim {
  0% {
    translate: 0 0;
    scale: 1;
    rotate: 0deg;
  }
  25% {
    translate: 7% -6%;
    scale: 1.08;
    rotate: 8deg;
  }
  50% {
    translate: -6% 7%;
    scale: 0.96;
    rotate: -7deg;
  }
  75% {
    translate: 5% 5%;
    scale: 1.05;
    rotate: 5deg;
  }
  100% {
    translate: -4% -5%;
    scale: 0.99;
    rotate: -4deg;
  }
}

.splash__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  min-width: 0;
}

/* AUCH is the button. Nothing else on this screen has to be pressed. */
.splash__press {
  display: grid;
  justify-items: center;
  gap: clamp(0.6rem, 2vh, 1.1rem);
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--on-blue);
  border-radius: var(--r-lg);
  transition: scale var(--dur-slow) var(--ease-out-expo);
  /* iOS paints a grey box over anything tappable and offers to select the
     label on a long press. On a logo that reads as a bug, not a control. */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}
/* A tap must not leave the ring behind; a keyboard still gets one. */
.splash__press:focus {
  outline: none;
}
.splash__press:focus-visible {
  outline: 3px solid var(--hi);
  outline-offset: 4px;
}
.splash__press:hover {
  scale: 1.02;
}
.splash__press:active {
  scale: 0.99;
}
.splash__word {
  color: #fff;
  /* Bounded by the short edge too, so the letters never crowd a laptop. */
  width: min(78vw, 30rem);
  max-height: 34vh;
  aspect-ratio: 539 / 287;
  /* Her note: the letters are drawn as drops, so let them float like drops.
     `translate` is free here — nothing else writes to it on this element. */
  animation: bob 5.5s var(--ease-out-quart) infinite alternate;
}
@keyframes bob {
  from {
    translate: 0 -1.2%;
  }
  to {
    translate: 0 1.6%;
  }
}
.splash__hint {
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: color-mix(in oklab, var(--on-blue) 78%, transparent);
  transition: opacity var(--dur) var(--ease-out-quart);
}
.splash.is-open .splash__hint {
  opacity: 0;
}

.splash__nav {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.splash__nav a {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 1.5em;
  border: 2px solid var(--on-blue-rule);
  border-radius: var(--r-pill);
  color: var(--on-blue);
  background: color-mix(in oklab, var(--blue) 82%, transparent);
  backdrop-filter: blur(8px);
  transition: background var(--dur-fast), border-color var(--dur-fast),
    color var(--dur-fast), translate var(--dur) var(--ease-out-expo),
    opacity var(--dur) var(--ease-out-quart);
}
.splash__nav a:hover {
  background: var(--on-blue);
  border-color: var(--on-blue);
  color: var(--blue);
}
/* JS folds the links away so pressing AUCH can bloom them out. Without JS
   they are simply already there, and the page still works. */
.js .splash__nav a {
  opacity: 0;
  translate: 0 14px;
  transition-delay: calc(var(--i, 0) * 70ms);
  pointer-events: none;
}
.js .splash.is-open .splash__nav a {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

/* Her one non-negotiable message, on the first screen and every screen after */
.splash__free {
  position: relative;
  z-index: 1;
  margin: 0;
}
.splash__free a {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
  background: var(--pink);
  padding: 0.6em 1.3em;
  border-radius: var(--r-pill);
  transition: background var(--dur-fast), translate var(--dur) var(--ease-out-expo);
}
.splash__free a:hover {
  background: var(--yellow);
  translate: 0 -2px;
}

@media (prefers-reduced-motion: reduce) {
  .js .splash__nav a {
    opacity: 1;
    translate: none;
    pointer-events: auto;
  }
  .blob {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   24. The trial prompt — "це повинно бути як найголовнішим таким попінг
       меседж по всьому сайту щоб переслідувало людину щоб записалися".
       So: on every page, pinned, dismissible, and it stays dismissed.
   -------------------------------------------------------------------------- */
.trial {
  position: fixed;
  z-index: var(--z-sticky);
  right: var(--gutter);
  bottom: var(--gutter);
  left: var(--gutter);
  display: flex;
  justify-content: center;
  pointer-events: none; /* the strip is a positioning frame, not a target */
}
@media (min-width: 48rem) {
  .trial {
    left: auto;
    justify-content: flex-end;
  }
}
/* One surface. The link and the close button used to carry a background and a
   border each, so hovering the link recoloured half a pill and left a seam
   down the middle. Now the box owns the whole look and they own nothing. */
.trial__box {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  max-width: 100%;
  background: var(--pink);
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--r-pill);
  box-shadow: 0 5px 0 -1px var(--blue);
  overflow: hidden; /* keeps both children inside the rounded ends */
  transition: background var(--dur-fast) var(--ease-out-quart),
    translate var(--dur) var(--ease-out-expo);
}
.trial__box:hover,
.trial__box:focus-within {
  background: var(--yellow);
  translate: 0 -2px;
}
.trial__go,
.trial__x {
  background: none;
  border: 0;
  color: inherit;
}
.trial__go {
  flex: 0 1 auto;
  min-width: 0;
  display: grid;
  gap: 0.1rem;
  align-content: center;
  padding: 0.65rem 0.5rem 0.7rem 1.15rem;
  text-decoration: none;
  text-align: left;
}
.trial__lead {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 112%;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.trial__sub {
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.trial__x {
  flex: none;
  width: 2.9rem;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  /* the only join in the pill, and it is a hairline, not a colour change */
  border-left: 2px solid color-mix(in oklab, var(--blue) 30%, transparent);
}
.trial__x:hover {
  background: color-mix(in oklab, var(--blue) 12%, transparent);
}
/* It arrives a beat after the page settles rather than on top of it. */
.js .trial {
  opacity: 0;
  translate: 0 0.75rem;
  transition: opacity var(--dur-slow) var(--ease-out-quart),
    translate var(--dur-slow) var(--ease-out-expo);
}
.js .trial.is-in {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .js .trial {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   25. "Earliest you could get here" — the thing you drag. She asked for a site
       where you can move something about; this is the one that also answers a
       real question, and a native range input is the best touch target there
       is: it works with a thumb, a keyboard and a screen reader for free.
   -------------------------------------------------------------------------- */
.when {
  margin-bottom: var(--gap-l);
  padding: var(--gap-m) var(--gap-m) 1.1rem;
  background: var(--paper-warm);
  border: 2px solid var(--rule);
  border-radius: var(--r-lg);
}
.when__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.when__value {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 900;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* The track is drawn on the input itself so there is nothing to keep in sync,
   and `--fill` (set by JS) paints the part you have already dragged past. */
.when__range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  /* the thumb overhangs the 14px track, so the scale row needs clearance */
  margin: 0.9rem 0 1.1rem;
  background: transparent;
  cursor: grab;
  touch-action: pan-y; /* vertical scrolling still belongs to the page */
}
.when__range:active {
  cursor: grabbing;
}
.when__range::-webkit-slider-runnable-track {
  height: 14px;
  border-radius: var(--r-pill);
  border: 2px solid var(--blue);
  background: linear-gradient(
    to right,
    var(--pink) 0 var(--fill, 0%),
    var(--paper-raise) var(--fill, 0%) 100%
  );
}
.when__range::-moz-range-track {
  height: 14px;
  border-radius: var(--r-pill);
  border: 2px solid var(--blue);
  background: linear-gradient(
    to right,
    var(--pink) 0 var(--fill, 0%),
    var(--paper-raise) var(--fill, 0%) 100%
  );
}
/* 2.75rem of thumb: comfortably past the 44px minimum touch target */
.when__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: calc((14px - 2.75rem) / 2);
  border-radius: 50%;
  border: 3px solid var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 4px var(--paper-raise);
  transition: scale var(--dur-fast) var(--ease-out-quart),
    background var(--dur-fast);
}
.when__range::-moz-range-thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 3px solid var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 4px var(--paper-raise);
}
.when__range:hover::-webkit-slider-thumb,
.when__range:active::-webkit-slider-thumb {
  scale: 1.08;
}
.when__range:active::-webkit-slider-thumb {
  background: var(--blue-lift);
}

.when__scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.when__help {
  margin-top: 0.7rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
  max-width: 52ch;
}

/* Too early for you: still on the board, visibly not yours. */
.slot--early {
  opacity: 0.3;
  transition: opacity var(--dur) var(--ease-out-quart);
}
.slot--early .slot__time {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.slot {
  transition: opacity var(--dur) var(--ease-out-quart);
}
@media (prefers-reduced-motion: reduce) {
  .slot,
  .slot--early {
    transition: none;
  }
}

@media (max-width: 48rem) {
  .blob {
    filter: blur(34px);
  }
  .blob--5 {
    display: none; /* the faintest plate; nobody misses it on a phone */
  }
}

/* --------------------------------------------------------------------------
   26. "Click to see more" — the three channels, each carrying its own
       examples of what a class actually looks like.
   -------------------------------------------------------------------------- */
.channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
@media (min-width: 48rem) {
  /* auto-fit, so the row stays right whether there is one channel here or
     three — the other two go in the moment she sends the links. */
  .channels {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
}
.channels a {
  display: grid;
  gap: 0.2rem;
  height: 100%;
  padding: 1.1rem 1.2rem 1.2rem;
  text-decoration: none;
  background: var(--paper-warm);
  border: 2px solid var(--rule);
  border-radius: var(--r-lg);
  transition: background var(--dur-fast), border-color var(--dur-fast),
    translate var(--dur) var(--ease-out-expo);
}
.channels a:hover {
  background: var(--paper-raise);
  border-color: var(--blue);
  translate: 0 -3px;
}
.channels__name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 900;
  font-stretch: 108%;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.channels__at {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hi);
}
.channels__note {
  margin-top: 0.35rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   26b. Video cards. Nothing loads from YouTube until somebody presses play:
        until then each card is a local still, so a visitor who scrolls past
        costs no third-party request and collects no cookie. The iframe is
        built in JS on click and swaps itself in where the button was.
   -------------------------------------------------------------------------- */
.videos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap-m) var(--gap-s);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.video__go {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  background: var(--blue-deep);
  border: 2px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out-quart),
    translate var(--dur) var(--ease-out-expo);
}
.video__go img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: scale var(--dur-slow) var(--ease-out-expo),
    filter var(--dur) var(--ease-out-quart);
}
.video__go:hover {
  border-color: var(--blue);
  translate: 0 -3px;
}
.video__go:hover img {
  scale: 1.04;
  filter: saturate(1) contrast(1);
}
/* Bottom-left rather than dead centre: on half of these stills the middle of
   the frame is somebody's face. */
.video__play {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: var(--r-pill);
  background: var(--paper-raise);
  color: var(--blue);
  transition: background var(--dur-fast) var(--ease-out-quart),
    scale var(--dur) var(--ease-out-expo);
}
.video__play::before {
  content: '';
  width: 0.8rem;
  height: 0.9rem;
  margin-left: 0.16rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.video__go:hover .video__play {
  background: var(--pink);
  scale: 1.08;
}
.video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r-md);
}
.video__meta {
  margin-top: 0.7rem;
}
.video__meta b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.video__meta span {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  .video__go,
  .video__go img,
  .video__play {
    transition: none;
  }
  .video__go:hover img {
    scale: 1;
  }
}

/* --------------------------------------------------------------------------
   27. The week as one grid. She asked for the same hour to sit on the same
       line across every day — "щоб увесь час був однаковий по лінії" — and
       that only works if the days share rows rather than stacking their own.
       `display: contents` dissolves the per-day boxes so their slots become
       children of the board itself; main.js gives each one its column and its
       hour row. Lives at the end of the file because it has to beat the
       `display: flex` that .day and .day__list carry by default.
   -------------------------------------------------------------------------- */
@media (min-width: 62rem) {
  .timetable {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: start;
    gap: 0.4rem;
  }
  /* Gated on .js, which the inline script in <head> sets. Dissolving the day
     boxes only makes sense once main.js is there to hand every slot its column
     and its row; with scripting off, the slots would land wherever auto-flow
     put them and Tuesday's classes would end up under Thursday. Without the
     class the days stay as seven ordinary stacked columns, which is a plain
     but honest timetable. */
  .js .day,
  .js .day__list {
    display: contents;
  }
}
