/* ==========================================================================
   AUCH Studio — Zürich Oerlikon
   Built on the studio's own identity, sampled from @auch.zh:
     ink blue  #110191  (avatar disc, the Oerlikon mural, schedule headers)
     paper     #EDEDE2  (schedule post ground)
     sand      #EAE3D5  (flyer ground)
     pink      #D473B4  (the handwritten accent over the weekly schedule)
   Printed-matter logic: cream paper, one deep blue that carries everything,
   rounded pill chips like their timetable graphic, pink 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 */
  --paper: oklch(0.943 0.014 106); /* #EDEDE2 */
  --paper-warm: oklch(0.917 0.02 84); /* #EAE3D5 */
  --paper-raise: oklch(0.975 0.008 106);

  /* The brand blue does nearly all the work */
  --blue: oklch(0.303 0.201 268); /* #110191 */
  --blue-deep: oklch(0.228 0.155 268);
  --blue-lift: oklch(0.44 0.205 268);

  --pink: oklch(0.684 0.145 341); /* #D473B4 */
  --pink-tint: oklch(0.9 0.055 341);

  /* Ink on paper */
  --ink: oklch(0.303 0.201 268);
  --ink-body: oklch(0.315 0.075 268);
  --ink-muted: oklch(0.455 0.055 268);
  --ink-faint: oklch(0.53 0.045 268);
  --rule: oklch(0.303 0.201 268 / 0.2);
  --rule-strong: oklch(0.303 0.201 268 / 0.45);

  /* Ink on the blue fields */
  --on-blue: oklch(0.965 0.01 106);
  --on-blue-muted: oklch(0.845 0.032 280);
  --on-blue-rule: oklch(0.965 0.01 106 / 0.28);

  /* 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;
}
:focus-visible {
  outline: 3px solid var(--pink);
  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(--pink);
}
.prose a:not(.btn) {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--pink);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 2px;
}
.prose a:not(.btn):hover {
  color: var(--pink);
}

/* 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 studio's octopus, recoloured by CSS so it works on paper and on blue */
.mark {
  display: block;
  width: 1.5em;
  aspect-ratio: 516 / 792; /* the mark's own proportions */
  flex: none;
  background-color: currentColor;
  -webkit-mask: url('../img/logo-mark.png') no-repeat center / contain;
  mask: url('../img/logo-mark.png') no-repeat center / contain;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.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(--pink);
  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);
}
.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;
}
.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(--pink);
}
.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;
}

.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
   -------------------------------------------------------------------------- */
.people {
  display: grid;
  gap: var(--gap-l) var(--gap-m);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.person img {
  width: 100%;
  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 {
  margin-top: 0.85rem;
  font-size: var(--step-1);
  font-stretch: 100%;
}
.person p {
  margin-top: 0.3rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   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(--pink);
  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(--pink);
}
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;
}
@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;
  }
}

.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(--pink);
  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 .mark {
  width: 2.6rem;
  height: 4rem;
}
.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);
}
.demo-badge {
  color: var(--pink);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   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(--pink);
}
