/* Cowboy Machines: storybook at night.
   Colours come from the hero painting: night sky, glowing ocean floor, honey lamps,
   coral, cream paper. Fonts are self-hosted (see scripts/fetch_fonts.py). */

/* latin: English and German; latin-ext: Polish (ą ć ę ł ń ś ź ż). Ranges from Google Fonts
   (scripts/fetch_fonts.py prints them), so each page downloads only the files its letters need. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  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: "Fraunces";
  src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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: "Nunito";
  src: url("/fonts/nunito-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --night-950: #050817;
  --night-900: #080d26;
  --night-800: #0c1436;
  --night-700: #131d4b;
  --night-600: #1d2a66;
  --ocean-500: #2f86ff;
  --ocean-400: #53aaff;
  --glow: #8fe0ff;
  --honey-300: #ffd28a;
  --honey-400: #ffc15c;
  --honey-500: #f2a43a;
  --coral-400: #ff8f78;
  --coral-500: #f26e5c;
  /* Trick-E's own colours, sampled from his model sheet (stories/episode-01/redo/sheets/style-c/book-tricke.png):
     the coral of his arm and ear pods and the sky blue of his cab (Shreyas, 2026-10-18: one palette, his). */
  --trick-coral: #f86e48;
  --trick-coral-hover: #ff8a68;
  --trick-sky: #14aef8;
  --trick-sky-hover: #45c0fa;
  --cream-50: #fffaf1;
  --cream-100: #fff3df;
  --cream-200: #f7e6c9;
  --ink-900: #1b1a33;
  --ink-700: #3b3a5c;
  --ink-500: #67658a;
  --text: #f4efe5;
  --text-muted: #bcc3e6;
  --line: rgba(188, 195, 230, 0.16);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --gutter: clamp(16px, 4.5vw, 44px);
  --wrap: 1160px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0875rem);
  line-height: 1.65;
  font-weight: 450;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--honey-400); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 800; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey-400);
  margin-bottom: 0.9rem;
}
.lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); line-height: 1.6; color: var(--text-muted); max-width: 38rem; }
.muted { color: var(--text-muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--honey-400); color: var(--night-900); padding: 10px 16px; border-radius: 999px;
  font-weight: 800; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------ buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.4em;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg);
  font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  --btn-bg: var(--trick-coral);
  color: var(--night-900);
  box-shadow: 0 8px 28px -10px rgba(248, 110, 72, 0.75), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.btn--primary:hover { --btn-bg: var(--trick-coral-hover); box-shadow: 0 12px 36px -10px rgba(248, 110, 72, 0.9); }
/* Trick-E's sky blue, with night text (7.7:1). */
.btn--sky { --btn-bg: var(--trick-sky); color: var(--night-900); box-shadow: 0 8px 28px -10px rgba(20, 174, 248, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.08); }
.btn--sky:hover { --btn-bg: var(--trick-sky-hover); }
.btn--ghost { color: var(--text); border-color: rgba(244, 239, 229, 0.42); background: rgba(8, 13, 38, 0.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--text); background: rgba(8, 13, 38, 0.45); }
.btn--ocean { --btn-bg: #1d65d6; color: #fff; box-shadow: 0 10px 30px -12px rgba(47, 134, 255, 0.9); }
.btn--ocean:hover { --btn-bg: #1958bd; }
.btn--ink { --btn-bg: var(--ink-900); color: var(--cream-50); }
.btn--ink:hover { --btn-bg: var(--night-600); }
.btn--outline-ink { color: var(--ink-900); border-color: rgba(27, 26, 51, 0.3); }
.btn--outline-ink:hover { border-color: var(--ink-900); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link {
  font-weight: 800; color: var(--honey-400); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px;
  background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.3s var(--ease);
}
.text-link:hover { background-size: 100% 2px; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(8, 13, 38, 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; transition: transform 0.4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 100;
  font-size: 1.22rem; letter-spacing: -0.01em; line-height: 1;
}
.brand__name span { display: inline; }
.nav { display: flex; align-items: center; gap: clamp(4px, 1.5vw, 10px); }
.nav a {
  position: relative;
  padding: 8px clamp(8px, 1.4vw, 14px);
  border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 0.98rem; color: var(--text); white-space: nowrap;
  opacity: 0.86; transition: opacity 0.2s, background-color 0.2s;
}
.nav a:hover { opacity: 1; background: rgba(244, 239, 229, 0.08); }
.nav a[aria-current="page"] { opacity: 1; color: var(--honey-400); }

/* Home: the header floats over the painting until you scroll. */
.page-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-home .site-header.is-scrolled { background: rgba(8, 13, 38, 0.86); border-color: var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
/* Over the sunny painting the header is ink until it turns solid. */
.page-home .site-header:not(.is-scrolled) .brand, .page-home .site-header:not(.is-scrolled) .nav a { color: var(--ink-900); }
.page-home .site-header:not(.is-scrolled) .nav a:hover { background: rgba(27, 26, 51, 0.07); }
.page-home .site-header:not(.is-scrolled) .nav { background: rgba(255, 249, 238, 0.82); border-radius: 999px; padding: 3px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (max-width: 479px) {
  :root { --header-h: 62px; }
  .brand img { width: 36px; height: 36px; }
  .brand { gap: 8px; }
  .brand__name { font-size: 0.98rem; line-height: 1.02; }
  .brand__name span { display: block; }
  .site-header .wrap { gap: 8px; }
  .nav { gap: 0; }
  .nav a { font-size: 0.92rem; padding: 8px 6px; }
}

/* ------------------------------------------------------------ hero (home) */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-start;
  overflow: hidden;
  background: var(--hero-paper);
  color: var(--ink-900);
  isolation: isolate;
  --hero-paper: #fdf0c8; /* the warm pencil paper at the top of the 2026-10-12 hero, so the phone layout has no seam */
  --hero-accent: #dc4e2d; /* Trick-E's coral, darkened just enough for big words (3.6:1, large text) */
  --hero-accent-small: #bf3f27; /* the same coral for small text, 4.7:1 on the paper */
}
.hero__art, .hero__art img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__art { z-index: -2; }
/* On screens narrower than the painting the crop comes mostly off the empty wall on the left
   (72 %), so Trick-E and his trailer stay in; the wall is still wide enough for the words. */
.hero__art img { object-fit: cover; object-position: 72% 60%; max-width: none; }
.hero::before {
  /* A little extra sunlight on the wall behind the words. */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 70% at 0% 30%, rgba(255, 249, 238, 0.6) 0%, rgba(255, 249, 238, 0) 100%);
}
.hero__content {
  width: 100%;
  padding-top: calc(var(--header-h) + clamp(12px, 3vh, 72px));
  padding-bottom: 48px;
}
/* The words sit in the calm, dark upper-left of the painting, aligned to the viewport edge
   (not the content column) and narrow enough to stay left of Theo at every landscape
   size from 3:2 up (checked against Theo's head at 1200x800 to 1920x1080; re-check if the
   painting changes). */
.hero .wrap, .page-home .site-header .wrap { max-width: none; padding-left: clamp(24px, 4vw, 72px); padding-right: clamp(24px, 4vw, 72px); }
.hero__copy { width: fit-content; max-width: 100%; }
/* Width in em, so the headline breaks the same way at every font size (and stays left of Theo). */
.hero__copy h1 { max-width: 11.6em; }
.hero__copy .btn-row { flex-wrap: nowrap; gap: 10px; }
.hero__copy .btn { min-height: 44px; padding: 0.6em 1.1em; font-size: 0.95rem; }
/* Explore stories is coral and Meet Trick-E sky blue, both Trick-E's own colours (Shreyas, 2026-10-18; was honey and night blue). */
.hero__dev { margin: 14px 0 0; font-size: 0.95rem; }
.hero__dev .text-link { color: var(--hero-accent-small); }
.hero .btn--ghost { color: var(--ink-900); border-color: rgba(27, 26, 51, 0.35); background: rgba(255, 249, 238, 0.55); }
.hero .btn--ghost:hover { border-color: var(--ink-900); background: rgba(255, 249, 238, 0.85); }
/* One headline in one size: the tagline, then the line about what we build. */
.hero h1 {
  font-size: clamp(2rem, 0.9rem + 2vw, 3rem);
  line-height: 1.12;
  margin-bottom: 0.95em; /* room for the butterfly perched on the button */
  color: var(--ink-900);
}
.hero h1 em { font-style: normal; color: var(--hero-accent); }
.hero__line { display: block; margin-top: 0.25em; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(27, 26, 51, 0.35); border-radius: 14px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--ink-900); animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
/* The living hero (assets/js/hero.js): cut-outs laid exactly over the painting, the butterfly,
   and the pause button. All decorative; none of it takes clicks except the pause button. */
.hero__fly {
  position: absolute; left: 0; top: 0; z-index: 40; pointer-events: none;
  background-repeat: no-repeat; background-size: 400% 100%; opacity: 0;
  will-change: transform;
}
.hero__pause {
  position: absolute; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 28px); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(27, 26, 51, 0.25);
  background: rgba(255, 249, 238, 0.8); color: var(--ink-900); cursor: pointer;
  display: grid; place-items: center; opacity: 0.55; transition: opacity 0.2s;
}
.hero__pause:hover, .hero__pause:focus-visible { opacity: 1; }
.hero__pause::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.hero__pause.is-paused::before { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* Phones and portrait tablets: headline and buttons first, on the wall colour; the portrait
   painting follows, its own calm wall tucked up under the buttons (the window stays clear of
   them at any text length). */
@media (orientation: portrait) and (max-width: 1024px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__content { order: 1; position: relative; z-index: 1; padding-top: calc(var(--header-h) + 22px); padding-bottom: 0; }
  .hero__art { order: 2; position: relative; inset: auto; height: auto; aspect-ratio: 3 / 4; max-height: 92svh; margin-top: calc(min(133.33vw, 92svh) * -0.35); }
  .hero__art img { position: absolute; }
  .hero::before { background: none; }
  .hero__copy { max-width: 36rem; }
  .hero__copy h1 { max-width: none; }
  .hero h1 { font-size: clamp(1.6rem, 0.9rem + 3.6vw, 2.6rem); margin-bottom: 0.7em; }
  .hero__copy .btn-row { flex-wrap: wrap; }
  .hero__scroll { display: none; }
}

/* Squarer or short landscape screens (1024x768 tablets, phones on their side): no column
   fits left of Theo, so the painting shows whole and the words follow below it. */
@media (orientation: landscape) and (max-aspect-ratio: 3/2), (orientation: landscape) and (max-height: 559px) {
  .hero { display: block; min-height: 0; }
  .hero__art { position: relative; inset: auto; height: auto; aspect-ratio: 1672 / 941; }
  .hero__art img { position: absolute; object-position: 50% 50%; }
  .hero::before { background: none; }
  .hero__content { padding-top: 8px; padding-bottom: 56px; }
  .hero__copy { max-width: 60rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 48px; align-items: start; }
  .hero__copy .eyebrow, .hero__copy h1 { grid-column: 1; }
  .hero__copy .hero__actions { grid-column: 2; grid-row: 1 / span 2; padding-top: 6px; }
  .hero h1, .hero__dev { text-shadow: none; }
  .hero__scroll { display: none; }
}
@media (orientation: landscape) and (max-aspect-ratio: 3/2) and (max-width: 699px), (orientation: landscape) and (max-height: 559px) and (max-width: 699px) {
  .hero__copy { display: block; }
}

/* ------------------------------------------------------------ sections */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section h2 { max-width: 20ch; }
.section--paper {
  background: var(--cream-100);
  color: var(--ink-900);
  color-scheme: light;
}
.section--paper .lead, .section--paper .muted { color: var(--ink-700); }
.section--paper .eyebrow { color: #b5412f; } /* coral, darkened to 5:1 on cream */
.section--paper .text-link { color: #1d5fc4; } /* 5.5:1 on cream */
.section--deep { background: linear-gradient(180deg, var(--night-900) 0%, var(--night-800) 100%); }
.section--ocean {
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(47, 134, 255, 0.22), transparent 70%),
    radial-gradient(60% 50% at 10% 90%, rgba(143, 224, 255, 0.10), transparent 70%),
    var(--night-800);
}
.section--stars {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1px 1px at 27% 72%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 30%, rgba(255, 236, 200, 0.85), transparent 60%),
    radial-gradient(1px 1px at 58% 12%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(2px 2px at 71% 64%, rgba(255, 220, 160, 0.8), transparent 60%),
    radial-gradient(1px 1px at 84% 26%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 92% 82%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 6% 88%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(80% 70% at 50% 110%, rgba(47, 134, 255, 0.28), transparent 70%),
    linear-gradient(180deg, var(--night-900), var(--night-950));
}

.split { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
  .split--reverse > :first-child { order: 2; }
}
.prose p { max-width: 36rem; }
.prose p + p { margin-top: -0.2em; }

.panel {
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(27, 26, 51, 0.45), 0 0 0 1px rgba(27, 26, 51, 0.06);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.6s var(--ease);
}
.panel:hover { transform: rotate(0deg) scale(1.01); }
.panel img { width: 100%; height: auto; }
.panel--dark { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 80px -20px rgba(83, 170, 255, 0.35); }
.caption { margin-top: 14px; font-size: 0.9rem; color: var(--ink-500); text-align: center; }

/* The adventures still to come (Home): one big painting, three below */
.future { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 2.4rem; }
.future__big { grid-column: 1 / -1; }
@media (max-width: 760px) { .future { grid-template-columns: 1fr; } }

/* The painting above the sign-up on Stories */

/* ------------------------------------------------------------ page heroes */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 90px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(47, 134, 255, 0.24), transparent 70%);
}
.page-hero { isolation: isolate; }
.page-hero h1 { margin-bottom: 0.35em; }

/* ------------------------------------------------------------ Trick-E's face */
.face {
  --w: 104px;
  position: relative;
  width: var(--w); height: calc(var(--w) * 0.66);
  border-radius: calc(var(--w) * 0.2);
  background: radial-gradient(120% 120% at 30% 20%, #1c2448, #0c1128 70%);
  border: calc(var(--w) * 0.05) solid var(--ocean-500);
  box-shadow: 0 0 0 calc(var(--w) * 0.03) rgba(83, 170, 255, 0.25), 0 0 40px -6px rgba(83, 170, 255, 0.6), inset 0 0 14px rgba(83, 170, 255, 0.25);
  display: flex; align-items: center; justify-content: center; gap: calc(var(--w) * 0.17);
  flex-shrink: 0;
}
.face__eye {
  width: calc(var(--w) * 0.17); height: calc(var(--w) * 0.25);
  border-radius: calc(var(--w) * 0.07);
  background: #b6f1ff;
  box-shadow: 0 0 12px rgba(143, 224, 255, 0.9);
  transform: translate(var(--lx, 0px), var(--ly, 0px));
  transition: transform 0.18s ease-out, height 0.25s var(--ease), border-radius 0.25s;
  animation: blink 5.5s infinite;
}
.face__eye + .face__eye { animation-delay: 0.04s; }
/* Eyebrows like the logo's: a soft arch over the left eye, a cheeky slant over the right. They
   move with the eyes. */
.face__brow {
  position: absolute; top: calc(var(--w) * 0.03); width: calc(var(--w) * 0.22); height: calc(var(--w) * 0.08);
  border-top: calc(var(--w) * 0.045) solid #b6f1ff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  filter: drop-shadow(0 0 3px rgba(143, 224, 255, 0.9)); transition: transform 0.18s ease-out;
}
.face__brow--l { left: calc(50% - var(--w) * 0.28); transform: translate(var(--lx, 0px), var(--ly, 0px)) rotate(-4deg); }
.face__brow--r { left: calc(50% + var(--w) * 0.06); transform: translate(var(--lx, 0px), var(--ly, 0px)) rotate(-10deg); }
.face__cheek {
  position: absolute; bottom: calc(var(--w) * 0.06); width: calc(var(--w) * 0.08); height: calc(var(--w) * 0.08);
  border-radius: 50%; background: var(--honey-400); opacity: 0.35; transition: opacity 0.4s, box-shadow 0.4s;
}
.face__cheek--l { left: calc(var(--w) * 0.09); }
.face__cheek--r { right: calc(var(--w) * 0.09); }
@keyframes blink { 0%, 93%, 100% { transform: translate(var(--lx, 0px), var(--ly, 0px)) scaleY(1); } 95% { transform: translate(var(--lx, 0px), var(--ly, 0px)) scaleY(0.08); } }
/* Happy: eyes become little arches, cheeks glow. */
.face--happy .face__eye {
  height: calc(var(--w) * 0.12); background: transparent; box-shadow: none;
  border: calc(var(--w) * 0.05) solid #b6f1ff; border-bottom: 0;
  border-radius: calc(var(--w) * 0.1) calc(var(--w) * 0.1) 0 0;
  filter: drop-shadow(0 0 6px rgba(143, 224, 255, 0.9));
  animation: none;
}
.face--happy .face__cheek { opacity: 1; box-shadow: 0 0 14px 2px rgba(255, 193, 92, 0.85); }
.face--happy { animation: hop 0.7s var(--ease) 1; }
@keyframes hop { 0% { transform: translateY(0); } 35% { transform: translateY(-10px) rotate(-3deg); } 70% { transform: translateY(0) rotate(1deg); } 100% { transform: none; } }
.face--lost .face__eye { animation: blink 5.5s infinite, lookaround 6s ease-in-out infinite; }
@keyframes lookaround { 0%, 100% { translate: 0 0; } 25% { translate: -7px -2px; } 50% { translate: 6px 2px; } 75% { translate: 0 -4px; } }

/* ------------------------------------------------------------ sign-up */
.signup-section .wrap { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .signup-section .wrap { grid-template-columns: 1fr minmax(0, 520px); } }
.signup-intro h2 { max-width: 14ch; }
.signup-intro .face { margin-bottom: 26px; --w: 116px; }

.signup {
  position: relative;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(29, 42, 102, 0.65), rgba(12, 20, 54, 0.75));
  border: 1px solid rgba(143, 224, 255, 0.2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 0 80px -30px rgba(83, 170, 255, 0.5);
}
.signup__grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span, .signup legend { font-weight: 800; font-size: 0.9rem; color: var(--text); letter-spacing: 0.01em; }
.input, .select {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border-radius: 14px; border: 1.5px solid rgba(188, 195, 230, 0.28);
  background: rgba(5, 8, 23, 0.55); color: var(--text);
  font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.input::placeholder { color: rgba(188, 195, 230, 0.55); }
.input:hover, .select:hover { border-color: rgba(188, 195, 230, 0.5); }
.input:focus, .select:focus { outline: none; border-color: var(--honey-400); box-shadow: 0 0 0 4px rgba(255, 193, 92, 0.18); background: rgba(5, 8, 23, 0.75); }
.input[aria-invalid="true"] { border-color: var(--coral-400); box-shadow: 0 0 0 4px rgba(255, 143, 120, 0.15); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%23ffc15c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.select option { background: var(--night-800); color: var(--text); }
.signup fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.signup legend { padding: 0; margin-bottom: 8px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px;
  padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid rgba(188, 195, 230, 0.28); background: rgba(5, 8, 23, 0.35);
  font-weight: 700; font-size: 0.95rem; color: var(--text-muted); white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
  user-select: none; -webkit-user-select: none;
}
.choice:hover span { border-color: rgba(188, 195, 230, 0.55); color: var(--text); }
.choice input:checked + span { background: var(--honey-400); border-color: var(--honey-400); color: var(--night-900); }
.choice input:focus-visible + span { outline: 3px solid var(--honey-300); outline-offset: 2px; }
.choice--check span::before {
  content: ""; width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid currentColor; opacity: 0.7;
  transition: background-color 0.2s;
}
.choice--check input:checked + span::before {
  opacity: 1; border-color: var(--night-900);
  background: var(--night-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%23ffc15c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 8px no-repeat;
}
.signup__submit { width: 100%; margin-top: 6px; min-height: 54px; font-size: 1.05rem; }
.signup__submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }
/* Consent tick: unticked by default and required (GDPR consent must be an active choice). */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; font-size: 0.88rem; line-height: 1.45; color: var(--text-muted); cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0;
  border: 1.5px solid rgba(188, 195, 230, 0.7); border-radius: 5px; background: transparent; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.consent:hover input { border-color: var(--text); }
.consent input:checked {
  border-color: var(--honey-400);
  background: var(--honey-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%230b1230' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 8px no-repeat;
}
.consent input:focus-visible { outline: 3px solid var(--honey-300); outline-offset: 2px; }
.consent input[aria-invalid="true"] { border-color: var(--coral-400); box-shadow: 0 0 0 3px rgba(255, 143, 120, 0.25); }
.consent a { color: inherit; text-decoration: underline; text-decoration-color: rgba(188, 195, 230, 0.4); text-underline-offset: 3px; }
.consent a:hover { color: var(--text); text-decoration-color: currentColor; }
.signup--compact .consent { margin-top: 12px; }
.signup__error { margin: 12px 0 0; color: var(--coral-400); font-weight: 700; font-size: 0.95rem; text-align: center; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.signup__done { display: none; text-align: center; padding: 18px 0 8px; }
.signup__done .face { margin: 0 auto 22px; --w: 120px; }
.signup__done h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 0.3em; }
.signup__done p { color: var(--text-muted); max-width: 26rem; margin-left: auto; margin-right: auto; }
.signup.is-done .signup__grid, .signup.is-done .signup__error { display: none; }
.signup.is-done .signup__done { display: block; animation: fadeup 0.5s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Compact: email + button in a row, the rest folded away. */
.signup--compact { max-width: 640px; }
.signup--compact .signup__row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup--compact .signup__row .input { flex: 1 1 220px; }
.signup--compact .signup__row .btn { flex: 0 0 auto; min-height: 52px; }
@media (max-width: 479px) { .signup--compact .signup__row .btn { flex: 1 1 100%; } }
.signup__more { margin-top: 14px; }
.signup__more summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 0.92rem; color: var(--text-muted);
}
.signup__more summary::-webkit-details-marker { display: none; }
.signup__more summary::before {
  content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid currentColor; font-weight: 800; font-size: 0.9rem; line-height: 1; transition: transform 0.25s var(--ease);
}
.signup__more[open] summary::before { transform: rotate(45deg); }
.signup__more summary:hover { color: var(--text); }
.signup__more .signup__grid { margin-top: 16px; }
.signup--compact .signup__error { text-align: left; }
.signup--compact .signup__done { text-align: left; display: none; align-items: center; gap: 20px; padding: 4px 0; }
.signup--compact.is-done .signup__done { display: flex; }
.signup--compact .signup__done .face { margin: 0; --w: 92px; }
.signup--compact .signup__done h3 { font-size: 1.5rem; }
.signup--compact .signup__done p { margin: 0; }

/* ------------------------------------------------------------ stories page */
/* Parent-first: story language, where you were, the episode and one big start button,
   then a big picture per chapter that a child can tap. stories.js fills in the rest. */
.sx { position: relative; isolation: isolate; padding: clamp(20px, 4vw, 56px) 0 clamp(64px, 9vw, 120px); }
.sx::before {
  content: ""; position: absolute; inset: 0 0 auto; height: min(90vh, 900px); z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 90% 0%, rgba(47, 134, 255, 0.24), transparent 70%);
}
.sx-eyebrow { margin-bottom: 0.35rem; }
/* The menu already says Stories on a phone; the room goes to the poster. */
@media (max-width: 599px) { .sx-eyebrow { display: none; } }
.sx-h1 { font-size: clamp(1.75rem, 1.15rem + 2.7vw, 3.4rem); max-width: 22ch; margin-bottom: 0.55em; }

/* Phones: title, languages, carry on, one under the other. Wide: title left, the rest right. */
@media (min-width: 900px) {
  .sx-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 36px; }
  .sx-intro .sx-h1 { margin-bottom: 0; }
  .sx-intro__side { display: grid; justify-items: end; gap: 14px; flex: 0 1 460px; }
  .sx-intro__side .sx-langs, .sx-intro__side .sx-carry { margin: 0; }
  .sx-intro__side .sx-carry { width: 100%; }
}
.sx-langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.sx-chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(188, 195, 230, 0.32); background: rgba(8, 13, 38, 0.3); color: var(--text);
  font-weight: 800; font-size: 0.95rem; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.sx-chip:hover { border-color: var(--text); }
.sx-chip[aria-pressed="true"] { background: var(--honey-400); border-color: var(--honey-400); color: var(--night-900); }

.sx-carry {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  max-width: 560px; margin: 0 0 20px; padding: 10px 14px 10px 10px; border-radius: 18px; text-decoration: none;
  background: rgba(255, 193, 92, 0.1); border: 1.5px solid rgba(255, 193, 92, 0.45);
  transition: background-color 0.2s, border-color 0.2s;
}
.sx-carry:hover { background: rgba(255, 193, 92, 0.16); border-color: var(--honey-400); }
.sx-carry__img { width: 96px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--night-700); }
.sx-carry__img picture, .sx-carry__img img { width: 100%; height: 100%; object-fit: cover; }
.sx-carry__text { display: grid; min-width: 0; line-height: 1.3; }
.sx-carry__kicker { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--honey-400); }
.sx-carry__line { font-weight: 800; }
.sx-carry__title { font-size: 0.9rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-carry > svg { width: 22px; height: 22px; color: var(--honey-400); }

/* Phones: the poster, then the episode title under it (not over the busy drawing); side by
   side from 900 px. */
.sx-ep { display: grid; grid-template-areas: "poster" "head" "go" "about"; gap: 18px; }
.sx-ep__poster { grid-area: poster; }
.sx-ep__head { grid-area: head; margin-top: -4px; }
.sx-ep__poster {
  position: relative; aspect-ratio: 5 / 4; max-height: 62svh; width: 100%; border-radius: var(--radius-m); overflow: hidden;
  background: var(--night-700); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* The cover's drawing without its lettering, so it fits every story language: Theo's face and
   Trick-E's both stay in at 5:4. */
.sx-ep__poster picture, .sx-ep__poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; }
.sx-ep__head .eyebrow { margin-bottom: 0.2rem; }
.sx-ep__head h2 { margin: 0; font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.6rem); max-width: 18ch; }
.sx-ep__go { grid-area: go; min-width: 0; }
.sx-ep__about { grid-area: about; }
.sx-ep__about p { max-width: 36rem; }

.sx-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sx-format { position: relative; display: block; cursor: pointer; }
.sx-format input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sx-format__box {
  display: grid; justify-items: center; gap: 2px; padding: 12px 6px 10px; border-radius: 16px; text-align: center;
  border: 1.5px solid rgba(188, 195, 230, 0.28); background: rgba(12, 20, 54, 0.55);
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.sx-format__box svg { width: 26px; height: 26px; margin-bottom: 4px; color: var(--text-muted); }
.sx-format__name { font-weight: 800; line-height: 1.2; }
.sx-format__len { min-height: 1.2em; font-size: 0.82rem; line-height: 1.2; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.sx-format:hover .sx-format__box { border-color: rgba(244, 239, 229, 0.6); }
.sx-format input:checked + .sx-format__box { border-color: var(--honey-400); background: rgba(255, 193, 92, 0.14); box-shadow: inset 0 0 0 1px var(--honey-400); }
.sx-format input:checked + .sx-format__box svg { color: var(--honey-400); }
.sx-format input:focus-visible + .sx-format__box { outline: 3px solid var(--honey-400); outline-offset: 3px; }
.sx-format input:disabled { cursor: not-allowed; }
.sx-format input:disabled + .sx-format__box { opacity: 0.45; }
.sx-start { width: 100%; min-height: 58px; margin-top: 12px; font-size: 1.08rem; }
.sx-start svg { width: 18px; height: 18px; flex: none; }
.sx-note { margin: 10px 0 0; font-size: 0.9rem; color: var(--text-muted); }

@media (min-width: 900px) {
  .sx-ep {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr;
    grid-template-areas: "poster head" "poster go" "poster about"; column-gap: clamp(36px, 5vw, 72px); row-gap: 22px; align-items: start;
  }
  .sx-ep__head { margin-top: 0; align-self: end; }
  .sx-ep__poster { aspect-ratio: 1; max-height: none; }
  .sx-ep__poster img { object-position: 50% 58%; }
  .sx-formats { max-width: 460px; }
  .sx-start { width: auto; min-width: 260px; padding-inline: 2em; }
}

.sx-chapters-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin: clamp(44px, 6vw, 80px) 0 16px; }
.sx-chapters-head h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.sx-chapters-head p { margin: 0; }
.sx-chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sx-chapters li:last-child { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .sx-chapters { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .sx-chapters li { grid-column: span 2; }
  .sx-chapters li:nth-child(n + 4) { grid-column: span 3; }
}
@media (min-width: 960px) {
  .sx-chapters { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sx-chapters li, .sx-chapters li:nth-child(n + 4) { grid-column: auto; }
}
.sx-tile {
  position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden;
  text-decoration: none; background: var(--night-800); border: 1.5px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.sx-tile:hover { transform: translateY(-3px); border-color: rgba(244, 239, 229, 0.5); }
.sx-tile.is-here { border-color: var(--honey-400); box-shadow: 0 0 0 1.5px var(--honey-400); }
.sx-tile__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-700); }
.sx-tile__img picture, .sx-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.sx-tile__img img.is-page { object-position: 50% 25%; }
.sx-tile__n {
  position: absolute; top: 8px; left: 8px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; background: var(--honey-400); color: var(--night-900);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.6);
}
.sx-tile__here {
  position: absolute; top: 9px; right: 8px; padding: 3px 10px; border-radius: 999px;
  background: rgba(8, 13, 38, 0.86); border: 1px solid var(--honey-400); color: var(--honey-300);
  font-size: 0.75rem; font-weight: 800; line-height: 1.4;
}
.sx-tile__title { display: block; padding: 10px 12px 2px; font-weight: 800; line-height: 1.25; }
.sx-tile__len { display: block; margin-top: auto; padding: 0 12px 12px; font-size: 0.85rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.credit { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(27, 26, 51, 0.12); font-weight: 700; color: var(--ink-700); }

/* ------------------------------------------------------------ contact */
/* (the form and side column are in the contact block at the end) */

/* ------------------------------------------------------------ legal + plain pages */
.legal { background: var(--cream-100); color: var(--ink-900); color-scheme: light; padding: clamp(48px, 7vw, 96px) 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); hyphens: auto; overflow-wrap: break-word; } /* "Reservierungsbedingungen" on a phone */
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; max-width: none; }
.legal p, .legal li { color: var(--ink-700); }
.legal a { color: var(--ocean-500); }
.legal address { font-style: normal; color: var(--ink-700); line-height: 1.7; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin: 0; }
.legal dt { font-weight: 800; color: var(--ink-900); }
.legal dd { margin: 0; color: var(--ink-700); }
@media (max-width: 599px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 10px; } }
.legal .updated { margin-top: 3em; font-size: 0.9rem; color: var(--ink-500); }

.page-plain { min-height: 100vh; display: grid; place-items: center; background: var(--night-900); }
.plain-reply { text-align: center; padding: 24px; max-width: 32rem; }

.lost { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.lost .face { margin: 0 auto 32px; --w: 150px; }
.lost h1 { margin-bottom: 0.3em; }

/* ------------------------------------------------------------ reservations */
/* The Reserve link in the menu: a small honey pill, so it reads as the one thing to do. */
/* Pre-order is a filled blue button: the pre-order page's blue on dark headers, night blue on the light home hero (Shreyas, 2026-10-12) */
/* The Store pill is Trick-E sky blue on every page (Shreyas, 2026-10-18). */
.nav a.nav__cta { color: var(--night-900); background: var(--trick-sky); border: 1px solid var(--trick-sky); padding: 6px 14px; opacity: 1; }
.nav a.nav__cta:hover, .nav a.nav__cta[aria-current="page"] { background: var(--trick-sky-hover); border-color: var(--trick-sky-hover); color: var(--night-900); }
/* Trick-E's face on the Pre-order button: the Stay-in-touch face with eyebrows (Shreyas, 2026-10-13: option B).
   It blinks and looks at the pointer like the other faces. */
.nav a.nav__cta { display: inline-flex; align-items: center; gap: 7px; padding: 3px 14px 3px 4px; }
.nav__head.face { --w: 34px; margin: 2px 0; box-shadow: 0 0 10px -2px rgba(83, 170, 255, 0.6); }
/* The Trick-E page's heading: "Trick-E" with "the Cowboy Truck" under it (Shreyas, 2026-10-13). */
.h1__sub { display: block; margin-top: 0.12em; font-size: 0.42em; line-height: 1.1; color: var(--honey-300); letter-spacing: 0; }
/* Narrow screens (measured at 320-1440 px in all 14 languages): below 900 px the name stacks, as on
   phones; below 600 px the subline goes and the button tightens; below 420 px the button is just
   Trick-E's head, with the word kept for screen readers. */
@media (max-width: 899px) {
  .brand__name { line-height: 1.02; }
  .brand__name span { display: block; }
}
@media (max-width: 599px) {
  .nav a.nav__cta { padding: 3px 10px 3px 3px; gap: 5px; }
}
@media (max-width: 419px) {
  .nav a.nav__cta { padding: 3px; gap: 0; font-size: 0; }
  .nav__head.face { --w: 36px; }
}
.price-note { margin: 14px 0 0; font-size: 0.92rem; color: var(--text-muted); max-width: 34rem; }

/* The store's order form (its frame and offer picker are in the store block at the end) */
.order-form__small { margin: 14px 0 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.order-form__title { margin: 0; font-size: 1.35rem; }
.order-form__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px 12px; }
.order-form__wide { grid-column: 1 / -1; }
.order-form .consent { margin-top: 14px; }
.order-form__go { width: 100%; min-height: 52px; margin-top: 16px; font-size: 1.05rem; }
.order-form .signup__error { text-align: left; }
.order-form select:invalid { color: rgba(188, 195, 230, 0.7); }
.select[aria-invalid="true"] { border-color: var(--coral-400); box-shadow: 0 0 0 4px rgba(255, 143, 120, 0.15); }
@media (max-width: 399px) { .order-form__grid { grid-template-columns: minmax(0, 1fr); } }

/* Buttons for things that aren't out yet (the developer docs and code): shown, not clickable. */
.btn.is-soon { opacity: 0.6; cursor: default; pointer-events: none; }
.btn .soon { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255, 255, 255, 0.18); }
.dev__links { flex-wrap: wrap; align-items: center; gap: 12px; }

/* "How it works": numbered steps */
.steps { list-style: none; counter-reset: step; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 18px; max-width: 36rem; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  background: var(--ink-900); color: var(--honey-300);
}
.steps strong { color: var(--ink-900); }
.steps--dark { text-align: left; margin: 2rem auto 0; }
.steps--dark li::before { background: rgba(255, 193, 92, 0.16); border: 1px solid rgba(255, 193, 92, 0.5); }
.steps--dark li { color: var(--text-muted); }
.steps--dark strong { color: var(--text); }
.steps--dark a { color: var(--honey-300); }

/* The facts, on cream */
.facts__title { font-size: 1.5rem; margin-bottom: 14px; }
.facts {
  display: grid; grid-template-columns: max-content 1fr; gap: 12px 20px; margin: 0; padding: 24px;
  background: #fffaf1; border-radius: var(--radius-m); box-shadow: 0 20px 50px -30px rgba(27, 26, 51, 0.45), 0 0 0 1px rgba(27, 26, 51, 0.06);
}
.facts dt { font-weight: 800; color: var(--ink-900); }
.facts dd { margin: 0; color: var(--ink-700); }
.facts a { color: #1d5fc4; }
@media (max-width: 599px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 12px; } }
.facts__terms { margin-top: 18px; }

/* Share buttons */
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.share .btn { min-height: 44px; padding-left: 18px; padding-right: 18px; }

/* The thank-you page: the celebration clip, confetti, next steps, sharing */
.reserved { text-align: center; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 110px); }
.reserved .wrap { max-width: 760px; }
.reserved h1 { margin: 0.6em 0 0.3em; }
.reserved .lead { margin-left: auto; margin-right: auto; }
.reserved .steps { max-width: 34rem; }
.reserved__share { margin: 3rem auto 0; padding: 28px 24px; border-radius: var(--radius-l); background: rgba(19, 29, 75, 0.55); border: 1px solid var(--line); }
.reserved__share h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); max-width: none; }
.reserved__share p { color: var(--text-muted); max-width: 32rem; margin-left: auto; margin-right: auto; }
.reserved__share .share { justify-content: center; }
.reserved__more { justify-content: center; margin-top: 2.4rem; gap: 20px; }
.celebrate { display: flex; justify-content: center; padding-top: 34px; }
.celebrate__confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 40; } /* under the sticky header (50) */
/* The 3D Trick-E clips (store.js; scripts/clips.py): square, transparent videos with a pause button. */
.clip { position: relative; margin: 0; width: 100%; max-width: 540px; justify-self: center; }
.clip__stage { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.clip__stage video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.clip__stage video[hidden] { display: none; }
button.clip__stage { cursor: pointer; border-radius: 24px; }
button.clip__stage:focus-visible { outline: 3px solid var(--honey-400); outline-offset: 6px; }
.clip__pause { position: absolute; right: 6px; bottom: 6px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(8, 13, 38, 0.6); color: var(--cream-50); cursor: pointer;
  display: grid; place-items: center; opacity: 0.6; transition: opacity 0.2s; }
.clip__pause:hover, .clip__pause:focus-visible { opacity: 1; }
.clip__pause::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.clip__pause.is-paused::before { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.section--paper .clip__pause, .page-home .clip__pause { background: rgba(255, 249, 238, 0.85); color: var(--ink-900); border-color: rgba(27, 26, 51, 0.2); }
/* Wide drawn loops (the bike ride, 1280 x 692). */
/* The trailer: 16:9, rounded like the comic panels, with a sound pill next to the pause button. */
.clip--film { max-width: 680px; }
.clip--film .clip__stage { aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8); }
.clip--film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip--film .clip__pause { right: 10px; bottom: 10px; }
.clip__sound {
  position: absolute; right: 52px; bottom: 10px; z-index: 2; min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(27, 26, 51, 0.2); background: rgba(255, 249, 238, 0.9); color: var(--ink-900);
  font: inherit; font-weight: 800; font-size: 0.85rem; cursor: pointer;
}
.clip__sound[aria-pressed="true"] { background: var(--trick-coral); border-color: var(--trick-coral); }
/* Pre-order: beside the tall reservation card he stays in view, level with the button. */
@media (min-width: 900px) { .clip--tempt { align-self: start; position: sticky; top: calc(var(--header-h, 72px) + 40px); margin-top: 120px; } }
.clip--yay { max-width: 620px; width: min(620px, 92vw); }

/* The model withdrawal notice and form on the terms page */
.legal .notice { margin: 1.2em 0; padding: 20px 22px; border-radius: var(--radius-s); background: #fffaf1; border: 1px solid rgba(27, 26, 51, 0.14); }
.legal .notice h3 { font-size: 1.15rem; margin: 0 0 0.6em; }
.legal .notice h4 { font-size: 1rem; margin: 1.2em 0 0.4em; font-family: var(--font-body); font-weight: 800; color: var(--ink-900); }
.legal h3 { font-size: 1.15rem; margin-top: 1.8em; }
.legal .notice__form { padding-left: 1.1em; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--night-950); border-top: 1px solid var(--line); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 0.95rem; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } }
.footer__brand p { color: var(--text-muted); margin-top: 14px; }
.footer__brand a { color: var(--text); }
.site-footer h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a { text-decoration: none; color: var(--text); opacity: 0.85; }
.footer__links a:hover { opacity: 1; color: var(--honey-400); }
.footer__sign { display: flex; align-items: center; gap: 14px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; justify-content: space-between; }
.footer__sign .tidy { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 100; font-size: 1.15rem; color: var(--honey-300); }
.footer__sign .face { --w: 44px; box-shadow: 0 0 20px -4px rgba(83, 170, 255, 0.5); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-muted); font-size: 0.88rem; }
.footer__legal a { color: inherit; text-decoration: none; }
.footer__legal a:hover { color: var(--text); }

/* ------------------------------------------------------------ reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .book, .panel, .sx-tile:hover { transform: none; }
  .face__eye { animation: none; }
}

/* ------------------------------------------------------------ small additions */
.tilt-r { --tilt: 1.4deg; }
.tilt-l { --tilt: -1.4deg; }
.lost .lead { margin: 0 auto 1.8rem; }
.footer__sign .face--happy { animation: none; }
.page-hero .split .panel { max-width: 560px; justify-self: center; }
[hidden] { display: none !important; }
.section--paper + .section--paper { padding-top: 0; }
.section h3.reveal { margin-top: 2.4rem; }
@media (max-width: 379px) {
  .brand img { width: 32px; height: 32px; }
  .brand { gap: 6px; }
  .brand__name { font-size: 0.9rem; }
  /* "Geschichten" is long: at 320 px the German menu needs the tighter spacing. */
  .nav a { font-size: 0.84rem; padding: 8px 4px; }
}
.nobr { white-space: nowrap; }

/* ------------------------------------------------------------ withdraw from contract (§ 356a BGB) */
/* The form sits on the legal pages' cream paper, so its fields are light here. */
.wd-lead { font-size: 1.08rem; max-width: 40rem; }
.wd { margin: 2rem 0 1.5rem; max-width: 34rem; }
.wd__step { display: grid; gap: 18px; }
.wd__step[hidden] { display: none; }
.wd .field > span { color: var(--ink-900); }
.wd .input { background: #fff; color: var(--ink-900); border-color: rgba(27, 26, 51, 0.28); }
.wd .input:focus { background: #fff; border-color: #b04a0c; box-shadow: 0 0 0 4px rgba(176, 74, 12, 0.16); }
.wd small { color: var(--ink-500); font-size: 0.88rem; line-height: 1.45; }
.wd h2 { margin-top: 0; outline: none; }
.wd .btn { justify-self: start; }
.wd__facts { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 0; }
.wd__facts dt { font-size: 0.85rem; font-weight: 800; color: var(--ink-500); }
.wd__facts dd { margin: 0 0 10px; color: var(--ink-900); overflow-wrap: anywhere; }
.wd__facts dd:last-child { margin-bottom: 0; }
.wd .notice p, .wd-reply .notice p { color: var(--ink-900); font-weight: 700; }
.wd-reply .notice { margin: 1.2em 0; padding: 18px 20px; border-radius: var(--radius-s); background: #fffaf1; border: 1px solid rgba(27, 26, 51, 0.14); }
.wd .wd__error { color: #b3261e; text-align: left; }
.btn--quiet { color: var(--ink-900); background: transparent; border-color: rgba(27, 26, 51, 0.3); }
.btn--quiet:hover { border-color: var(--ink-900); }
.wd-other { font-size: 0.95rem; }
.wd-reply { text-align: left; max-width: 36rem; border-radius: var(--radius-m); padding: 32px 28px; }
.wd-reply form { margin: 0; }

/* ------------------------------------------------------------ language dropdown */
/* One button with the page's language; it opens every language by its own name (a <details>, so
   it works without JavaScript; site.js closes it on Escape and outside clicks). The footer's opens
   upwards and shows the full name. */
.langs { position: relative; flex-shrink: 0; }
.langs__btn {
  display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 4px 9px 4px 8px;
  border: 1px solid rgba(244, 239, 229, 0.38); border-radius: 999px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--text); white-space: nowrap;
  -webkit-user-select: none; user-select: none; transition: background-color 0.2s, border-color 0.2s;
}
.langs__btn::-webkit-details-marker, .langs__btn::marker { display: none; content: ""; }
.langs__btn:hover, .langs[open] .langs__btn { background: rgba(244, 239, 229, 0.1); border-color: rgba(244, 239, 229, 0.7); }
.langs__globe { width: 17px; height: 17px; flex-shrink: 0; }
.langs__chev { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.75; transition: transform 0.2s; }
.langs[open] .langs__chev { transform: rotate(180deg); }
.langs__list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; margin: 0; padding: 6px; list-style: none;
  min-width: 13.5rem; max-height: min(72vh, 34rem); overflow-y: auto; overscroll-behavior: contain;
  background: var(--night-800); border: 1px solid rgba(188, 195, 230, 0.24); border-radius: 16px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8);
}
.langs__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 0.98rem; line-height: 1.3;
}
.langs__item:hover, .langs__item:focus-visible { background: rgba(244, 239, 229, 0.09); }
.langs__item[aria-current] { color: var(--honey-400); }
.langs__item[aria-current]::after { content: "✓"; font-weight: 800; }
.langs--up .langs__list { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }
.langs--up .langs__btn { font-size: 0.9rem; letter-spacing: 0; padding: 6px 12px 6px 10px; color: var(--honey-300); border-color: rgba(255, 193, 92, 0.45); }
.footer__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
/* Over the sunny painting (home, not scrolled) the button is ink like the menu. */
.page-home .site-header:not(.is-scrolled) .langs__btn { color: var(--ink-900); border-color: rgba(27, 26, 51, 0.35); background: rgba(255, 249, 238, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.site-header .langs { margin-left: 8px; }
@media (max-width: 479px) {
  .site-header .langs { margin-left: 2px; }
  .site-header .langs__btn { padding: 4px 7px; gap: 3px; }
  .site-header .langs__chev { display: none; }
}
@media (max-width: 399px) {
  .site-header .langs__now { display: none; }
  .site-header .langs__btn { padding: 0; width: 36px; justify-content: center; }
}
/* "Coming soon in Japanese": the page's language has no edition yet (stories.js, from the manifests). */
.sx-soon { margin: 0; font-weight: 700; color: var(--honey-300); max-width: 34rem; }
.sx-intro__side .sx-soon { font-size: 0.95rem; }
.sx-soon--more { margin: 0 0 1.2em; }

/* ------------------------------------------------------------ Japanese, Korean, Chinese */
/* Each has two small subset files (regular 500, bold 800) cut by scripts/build_fonts.py to the
   characters its pages use; only pages in that language reference them (html[lang], not :lang(),
   so the language menu's "한국어" on a Japanese page doesn't fetch the Korean font). Latin runs keep
   Nunito in body text; headings use the CJK face for everything so a heading is one design. */
@font-face { font-family: "CM ja"; src: url("/fonts/ja-500.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "CM ja"; src: url("/fonts/ja-800.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "CM ko"; src: url("/fonts/ko-500.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "CM ko"; src: url("/fonts/ko-800.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "CM zh"; src: url("/fonts/zh-500.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "CM zh"; src: url("/fonts/zh-800.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
html[lang="ja"] { --font-body: "Nunito", "CM ja", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif; --font-display: "CM ja", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif; }
html[lang="ko"] { --font-body: "Nunito", "CM ko", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --font-display: "CM ko", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html[lang="zh-Hans"] { --font-body: "Nunito", "CM zh", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; --font-display: "CM zh", "PingFang SC", "Microsoft YaHei", sans-serif; }
html:is([lang="ja"], [lang="ko"], [lang="zh-Hans"]) body { line-height: 1.8; }
html:is([lang="ja"], [lang="ko"], [lang="zh-Hans"]) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.3; font-variation-settings: normal; }
/* The wordmark stays Fraunces in every language. */
html:is([lang="ja"], [lang="ko"], [lang="zh-Hans"]) .brand__name { font-family: "Fraunces", Georgia, serif; }
html[lang="ja"] :is(p, li) { line-break: strict; }
html[lang="ko"] :is(h1, h2, h3, p, li) { word-break: keep-all; }
html[lang="zh-Hans"] :is(p, li) { line-break: strict; }
/* Home, below 400 px: the header over the painting gets the same 16 px gutter as every other page. */
@media (max-width: 399px) {
  .page-home .site-header .wrap { padding-left: 16px; padding-right: 16px; }
  .page-home .site-header:not(.is-scrolled) .nav { padding: 2px; }
}
/* Long button labels ("Halte mich auf dem Laufenden") wrap instead of widening a phone screen. */
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } }

/* ---------------------------------------------------------------- store (2026-10-18)
   Three offer cards on the paper section; the middle one (Club + Trick-E) is the one to pick, so it is
   lifted, framed in Trick-E coral and carries the badge. On phones the favourite comes first. */
.offers-section { padding-top: clamp(40px, 6vw, 72px); }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); align-items: stretch; }
.offer {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fffdf8; color: var(--ink-900);
  border: 1.5px solid rgba(27, 26, 51, 0.12); border-radius: var(--radius-l);
  box-shadow: 0 18px 40px -28px rgba(27, 26, 51, 0.45);
}
.offer--best { border: 3px solid var(--trick-coral); transform: translateY(-10px); box-shadow: 0 28px 60px -30px rgba(248, 110, 72, 0.75); }
.offer__badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; margin: 0;
  padding: 6px 12px; border-radius: 999px; background: var(--trick-coral); color: var(--night-900);
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em;
}
.offer__art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.offer__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.offer__name { margin: 0; font-size: 1.35rem; line-height: 1.2; color: var(--ink-900); }
.offer__price { margin: 10px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.offer__amount { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--ink-900); }
.offer--best .offer__amount { color: #bf3f27; } /* Trick-E coral for text, 4.7:1 on the card */
.offer__per { color: var(--ink-500); font-weight: 700; font-size: 0.95rem; }
.offer__what { margin: 12px 0 0; color: var(--ink-700); }
.offer__list { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 8px; color: var(--ink-900); }
.offer__list li { position: relative; padding-left: 26px; line-height: 1.4; }
.offer__list li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--trick-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%23080d26' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px 7px no-repeat;
}
.offer--best .offer__list li::before { background-color: var(--trick-coral); }
.offer__go { margin-top: auto; width: 100%; min-height: 52px; display: block; padding-top: 15px; padding-bottom: 15px; text-align: center; white-space: normal; line-height: 1.3; } /* block: long labels ("Mitmachen und Trick-E reservieren") wrap as one line of text, not as flex items */
.offers__small { margin: 26px 0 0; text-align: center; color: var(--ink-500); font-size: 0.92rem; }
@media (max-width: 999px) {
  .offers { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .offer--best { order: -1; transform: none; }
}
/* The order form: the offer picker on top, the address only for things we post. */
.order-form { margin-top: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid rgba(255, 193, 92, 0.25); border-radius: var(--radius-l); background: rgba(5, 8, 23, 0.35); }
.order-form__offers { border: 0; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.order-form__offers legend { margin-bottom: 10px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line); cursor: pointer; }
.pick:has(input:checked) { border-color: var(--trick-coral); background: rgba(248, 110, 72, 0.12); }
.pick input { accent-color: var(--trick-coral); width: 18px; height: 18px; flex: 0 0 auto; }
.pick__price { color: var(--text-muted); font-weight: 700; margin-left: 6px; }
.order-form__address { margin-top: 12px; }
.order-form__address[hidden] { display: none; }
.order-form__grid + .order-form__grid { margin-top: 12px; }
/* The favourite's €200 off the robot, right above its button. */
.offer__deal { margin: 0 0 16px; padding: 10px 12px; border-radius: var(--radius-s); background: rgba(248, 110, 72, 0.1); color: var(--ink-900); font-size: 0.95rem; }
.offer__deal strong { color: #bf3f27; font-size: 1.1rem; }
.offer__countdown { margin: -8px 0 16px; padding: 8px 12px; border-radius: var(--radius-s); background: rgba(20, 174, 248, 0.12); font-weight: 800; font-size: 0.92rem; color: var(--ink-900); }
/* A free taste under the cards. */
.sample { margin: 34px auto 0; max-width: 900px; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--radius-l); background: #fffdf8; border: 1.5px dashed rgba(27, 26, 51, 0.18); }
.sample__title { margin: 0; font-size: 1.35rem; color: var(--ink-900); }
.sample__lead { margin: 4px 0 0; color: var(--ink-700); }
/* Phones: the favourite offer in a slim bar at the bottom. */
.sticky-buy { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(8, 13, 38, 0.94); color: var(--cream-50); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sticky-buy[hidden] { display: none; }
.sticky-buy__name { font-weight: 800; font-size: 0.95rem; line-height: 1.2; }
.sticky-buy__name strong { color: var(--trick-coral); }
.sticky-buy__per { color: var(--text-muted); font-weight: 700; font-size: 0.85rem; }
.sticky-buy .btn { min-height: 44px; padding: 0.55em 1.2em; }
@media (min-width: 1000px) { .sticky-buy { display: none; } }

/* ---------------------------------------------------------------- contact (2026-10-18): the form + a side column */
.contact-hero .split { align-items: start; }
.contact-form { margin-top: 26px; max-width: 640px; }
.contact-form__topics { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-form__topics legend { width: 100%; margin-bottom: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 800; font-size: 0.92rem; color: var(--text); }
.chip input:checked + span { background: var(--trick-coral); border-color: var(--trick-coral); color: var(--night-900); }
.chip input:focus-visible + span { outline: 3px solid var(--honey-400); outline-offset: 3px; }
.contact-form__message { min-height: 150px; resize: vertical; font: inherit; line-height: 1.5; }
.contact-form.is-done > :not(.contact-form__done) { display: none; }
.contact-form__done { display: flex; gap: 18px; align-items: center; }
.contact-form__done[hidden] { display: none; }
.contact-form__done .face { --w: 84px; flex: 0 0 auto; }
.contact-form__done h2 { margin: 0 0 6px; font-size: 1.5rem; }
.contact-form__done p { margin: 0; color: var(--text-muted); }
.contact-side { display: grid; gap: 20px; align-content: start; }
.contact-card { padding: 22px 24px; border-radius: var(--radius-l); background: rgba(20, 174, 248, 0.1); border: 1px solid rgba(20, 174, 248, 0.35); }
.contact-card h2 { margin: 0 0 6px; font-size: 1.35rem; }
.contact-card p { margin: 0 0 14px; color: var(--text-muted); }
.contact-mail { margin: 0; color: var(--text-muted); }
.contact-mail a { color: var(--honey-300); font-weight: 800; }

/* The Future Adventure Club band (templates/_club.html) on the Trick-E and Stories pages: a light coral wash so it
   reads as its own stop, even next to another paper section. */
.club-band { background: linear-gradient(180deg, #fff3ea, #ffe9de); }
.club-band .offer__list { margin: 1rem 0 1.4rem; }
.club-band__price { color: var(--ink-700); font-weight: 700; margin-left: 6px; }
.club-band__price strong { font-family: var(--font-display); font-size: 1.5rem; color: #bf3f27; }

/* ---------------------------------------------------------------- Stories, bright (2026-10-18)
   The episode area sits on the home page's warm paper (Codex judge twice: "more midnight than EPIC"); the
   video player keeps the dark. Language chips are short codes (EN, DE, …), quieter than eight big pills. */
.sx { background: var(--cream-100); color: var(--ink-900); color-scheme: light; }
.sx::before { background: radial-gradient(60% 80% at 90% 0%, rgba(20, 174, 248, 0.14), transparent 70%); }
.sx .eyebrow { color: #b5412f; }
.sx .muted, .sx-ep__about p, .sx-note { color: var(--ink-700); }
.sx-chip { min-height: 36px; padding: 0 12px; font-size: 0.85rem; border-color: rgba(27, 26, 51, 0.2); background: #fffdf8; color: var(--ink-900); }
.sx-chip:hover { border-color: var(--ink-900); }
.sx-chip[aria-pressed="true"] { background: var(--trick-coral); border-color: var(--trick-coral); color: var(--night-900); }
.sx-langs { gap: 6px; }
.sx-soon { color: #b5412f; }
.sx-carry { background: #fffdf8; border-color: rgba(248, 110, 72, 0.45); }
.sx-carry:hover { background: #fff3ea; border-color: var(--trick-coral); }
.sx-carry__kicker, .sx-carry > svg { color: #bf3f27; }
.sx-carry__title { color: var(--ink-700); }
.sx-carry__img { background: var(--cream-200); }
.sx-ep__poster { background: var(--cream-200); box-shadow: 0 30px 60px -34px rgba(27, 26, 51, 0.55), 0 0 0 1px rgba(27, 26, 51, 0.06); }
.sx-format__box { border-color: rgba(27, 26, 51, 0.16); background: #fffdf8; }
.sx-format__box svg, .sx-format__len { color: var(--ink-500); }
.sx-format:hover .sx-format__box { border-color: rgba(27, 26, 51, 0.45); }
.sx-format input:checked + .sx-format__box { border-color: var(--trick-coral); background: rgba(248, 110, 72, 0.1); box-shadow: inset 0 0 0 1px var(--trick-coral); }
.sx-format input:checked + .sx-format__box svg { color: #bf3f27; }
.sx-tile { background: #fffdf8; border-color: rgba(27, 26, 51, 0.12); color: var(--ink-900); box-shadow: 0 14px 30px -24px rgba(27, 26, 51, 0.5); }
.sx-tile:hover { border-color: rgba(27, 26, 51, 0.35); }
.sx-tile.is-here { border-color: var(--trick-coral); box-shadow: 0 0 0 1.5px var(--trick-coral); }
.sx-tile__img { background: var(--cream-200); }
.sx-tile__n { background: var(--trick-coral); }
.sx-tile__here { border-color: var(--trick-coral); color: #ffd2c4; }
.sx-tile__len { color: var(--ink-500); }
/* The shelf: the next episode as a wide card. */
.sx-shelf { margin-top: 0; }
.sx-next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; overflow: hidden; border-radius: var(--radius-l);
  background: #fffdf8; border: 1.5px solid rgba(27, 26, 51, 0.12); box-shadow: 0 24px 50px -36px rgba(27, 26, 51, 0.55); }
.sx-next__art { margin: 0; }
.sx-next__art img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.sx-next__text { padding: 22px 24px 26px; }
.sx-next__h { margin: 0 0 8px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.sx-next__text p { color: var(--ink-700); }
.sx-next__badge { display: inline-block; margin: 2px 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(248, 110, 72, 0.12); color: #9e3420 !important; font-weight: 800; font-size: 0.9rem; }
@media (min-width: 860px) {
  .sx-next { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
  .sx-next__art img { aspect-ratio: auto; min-height: 100%; }
  .sx-next__text { padding: 30px 34px; align-self: center; }
}
@media (min-width: 900px) { .sx-langs { flex-wrap: nowrap; justify-content: flex-end; } .sx-chip { padding: 0 10px; } }

/* Stories & Lab (2026-10-18): three series, each with a header in one of Trick-E's colours, and a pill nav at the top. */
.sx-series-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sx-pill { display: inline-block; line-height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 0.9rem; text-decoration: none; color: var(--night-900); }
.sx-pill--adv { background: var(--trick-coral); }
.sx-pill--world { background: var(--trick-sky); }
.sx-pill--inside { background: var(--honey-400); }
.sx-pill:hover { filter: brightness(1.06); }
.sx-series { margin: clamp(48px, 7vw, 88px) 0 18px; padding-left: 16px; border-left: 6px solid var(--trick-coral); scroll-margin-top: calc(var(--header-h) + 16px); }
.sx-series:first-of-type { margin-top: clamp(28px, 4vw, 44px); }
.sx-series--world { border-color: var(--trick-sky); }
.sx-series--inside { border-color: var(--honey-400); }
.sx-series__title { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.sx-series__line { margin: 4px 0 0; color: var(--ink-700); max-width: 44rem; }
.sx-next--inside { border-color: rgba(242, 164, 58, 0.45); }
.sx-next--inside .sx-next__art { background: radial-gradient(70% 70% at 50% 45%, #1d2a66, #080d26); display: grid; place-items: center; }
.sx-next--inside .sx-next__art img { object-fit: contain; aspect-ratio: 16 / 9; max-height: 340px; }

/* The store's sleeping Trick-E (2026-10-18): until the store opens, the store page is the CSS face asleep (eyes shut,
   breathing slowly, three Z's drifting up), a line and a sign-up. */
.store-closed { text-align: center; }
.store-closed__wrap { display: grid; justify-items: center; max-width: 720px; }
.store-closed .lead { margin-inline: auto; }
.store-closed__go { justify-content: center; }
.store-closed__signup { width: 100%; max-width: 560px; margin-top: 34px; text-align: left; }
.store-closed__ask { font-size: 1.25rem; margin: 0 0 12px; text-align: center; }
.face--sleep.face--big { --w: 150px; margin: 10px 0 34px; }
.face--sleep { --w: 64px; animation: breathe 3.6s ease-in-out infinite; overflow: visible; }
.face--sleep .face__eye { height: calc(var(--w) * 0.05); border-radius: 99px; animation: none; transform: translateY(calc(var(--w) * 0.03)); }
.face__z { position: absolute; right: -4px; top: -6px; font-family: var(--font-display); font-weight: 700; color: var(--glow); opacity: 0;
  font-size: calc(var(--w) * 0.22); animation: zzz 3.6s ease-out infinite; pointer-events: none; }
.face__z:nth-of-type(4) { animation-delay: 1.2s; font-size: calc(var(--w) * 0.28); }
.face__z:nth-of-type(5) { animation-delay: 2.4s; font-size: calc(var(--w) * 0.34); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 0) rotate(-8deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -30px) rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .face--sleep, .face__z { animation: none; } .face__z:nth-of-type(5) { opacity: 1; } }
