/* Trys Draugai — the page is their picture songbook.
   Thick brown outlines like the logo's lettering, the red-and-white stripes of their
   socks, bright flat grounds from the logo, and real photographs taped in. */

:root {
  --ink: #2b1a12;
  --paper: #ffffff;
  --sky: #7cc8f2;
  --yellow: #ffd23f;
  --green: #74cf84;
  --pink: #ff9ec4;
  --orange: #ff9a3c;
  --red: #d42f22;
  --red-soft: #ffd9d3;
  --blue: #2f6fd6;
  --tape: rgba(255, 236, 150, 0.85);

  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-text: "Nunito", system-ui, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  --step-display: clamp(4.25rem, 9.6vw, 9.75rem);

  --margin: clamp(16px, 2.6vw, 40px);
  --radius: 22px;
  --line: 4px solid var(--ink);

  --stripes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Crect width='56' height='56' fill='%23fff'/%3E%3Crect width='28' height='56' fill='%23d42f22'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.5;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--ink); color: var(--yellow); }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: var(--margin); top: -80px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }

.head {
  font-family: var(--font-display);
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

/* ---------- Controls ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  border: var(--line); border-radius: 999px;
  font: 800 var(--step-body) / 1 var(--font-text);
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
}
.btn:hover { transform: translateY(-4px) rotate(-2deg); }
.btn:active { transform: translateY(2px) scale(0.96); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--yellow); }

.link {
  font-weight: 800;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px;
  transition: text-underline-offset 0.2s;
}
.link:hover { text-underline-offset: 9px; }

/* Photographs taped into the book */
.taped {
  position: relative;
  background: var(--paper);
  border: var(--line);
  border-radius: 6px;
  padding: 10px 10px 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.taped img { width: 100%; object-fit: cover; border-radius: 2px; }
.taped figcaption {
  padding: 8px 4px 10px;
  font-weight: 800; font-size: var(--step-small);
  text-align: center;
}
.taped--tilt-l { transform: rotate(-3deg); }
.taped--tilt-r { transform: rotate(2.5deg); }
.taped:hover { transform: rotate(0deg) scale(1.02); }
.tape {
  position: absolute; top: -14px; width: 92px; height: 28px;
  background: var(--tape);
  z-index: 2;
}
.tape--l { left: -18px; transform: rotate(-24deg); }
.tape--r { right: -18px; transform: rotate(22deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--sky);
  overflow: hidden;
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.doodle { position: absolute; overflow: visible; }
.cloud--1 { width: clamp(120px, 13vw, 200px); top: 14%; left: 46%; }
.cloud--2 { width: clamp(90px, 9vw, 150px); top: 64%; left: 3%; }
.sun-btn {
  position: absolute; z-index: 5; top: 9%; right: 4%;
  width: clamp(80px, 8vw, 130px);
  padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 50%;
}
.sun { display: block; width: 100%; height: auto; overflow: visible; }
.sun__rays, .sun__disc, .sun__moon { transition: opacity 0.5s; }
.hero { transition: background-color 0.9s; }
.hero.is-night { background: #1f2d63; }
.hero.is-night .bar { color: var(--paper); }
.hero.is-night .sun__rays, .hero.is-night .sun__disc { opacity: 0; }
.hero.is-night .sun__moon { opacity: 1; }
.stars { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s; }
.hero.is-night .stars { opacity: 1; }
.star { position: absolute; width: 30px; }
.star:nth-child(1) { top: 12%; left: 30%; }
.star:nth-child(2) { top: 26%; left: 41%; width: 20px; }
.star:nth-child(3) { top: 8%; left: 60%; width: 24px; }
.star:nth-child(4) { top: 40%; right: 14%; width: 22px; }
.star:nth-child(5) { top: 70%; left: 48%; }
.star:nth-child(6) { top: 58%; left: 2%; width: 20px; }
.bubble { pointer-events: auto; cursor: pointer; }
.drop { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #bfe8ff; border: 2px solid var(--ink); pointer-events: none; z-index: 6; }
.confetti { position: fixed; z-index: 100; width: 10px; height: 14px; border-radius: 2px; border: 1.5px solid var(--ink); pointer-events: none; }
.note--1 { width: clamp(34px, 3.4vw, 54px); top: 34%; left: 44%; }
.note--2 { width: clamp(50px, 5vw, 80px); bottom: 20%; left: 45%; }
.bubble--1 { width: 54px; top: 24%; right: 2%; }
.bubble--2 { width: 38px; bottom: 30%; right: 47%; }
.bubble--3 { width: 46px; top: 80%; right: 6%; }

.bar {
  position: relative; z-index: 4;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px);
  padding: 28px var(--margin) 18px;
}
.bar__mark {
  display: flex; align-items: center; gap: 10px;
  font: 800 var(--step-lead) / 1 var(--font-display);
  text-decoration: none;
}
.bar__mark img { width: 64px; height: auto; }
.bar__links { display: flex; gap: clamp(16px, 2.2vw, 36px); margin-left: auto; }
.bar__links a { font-weight: 800; text-decoration: none; }
.bar__links a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.bar__cta { min-height: 48px; padding: 0 22px; }

.hero__inner {
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding: 8px var(--margin) clamp(90px, 10vw, 140px);
}
.cover {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stripes { height: 56px; background: var(--stripes) 0 0 / 56px 56px; border-bottom: var(--line); }
.cover__body {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 48px) clamp(32px, 4vw, 56px);
}
.wordmark {
  font-family: var(--font-display);
  font-size: var(--step-display);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.01em;
  color: var(--paper);
  -webkit-text-stroke: 0.055em var(--ink);
  paint-order: stroke fill;
}
.wordmark__line { display: block; }
.wordmark__line--red { color: var(--red); }
.wordmark .ch { display: inline-block; }
.cover__lead { max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; font-weight: 700; }
.cover__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.taped--hero { transform: rotate(3deg); max-width: 620px; justify-self: center; width: 94%; padding-bottom: 10px; }
.taped--hero img { aspect-ratio: 1600 / 1237; object-position: 50% 40%; }
.hills { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 100px; z-index: 1; }

/* ---------- Chapters ---------- */

.chapter { position: relative; padding: clamp(80px, 10vw, 150px) var(--margin); }
.chapter--yellow { background: var(--yellow); }
.chapter--green { background: var(--green); }
.chapter--pink { background: var(--pink); }
.chapter--orange { background: var(--orange); }

/* Intro: title, note, facts row */
.intro { padding-top: clamp(40px, 6vw, 90px); }
.intro__top {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--margin);
  align-items: end;
}
.intro .head { grid-column: 1 / span 7; }
.intro__note { grid-column: 9 / span 4; max-width: 34ch; font-weight: 700; }
.facts {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
  margin-top: clamp(64px, 8vw, 120px);
}
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts__big { font: 800 clamp(2rem, 3.6vw, 3.5rem) / 1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.facts li > span:last-child { font-weight: 700; }
.intro__photos {
  display: grid; grid-template-columns: 1.25fr 1fr 0.8fr 0.8fr;
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
  margin-top: clamp(56px, 7vw, 100px);
}
.intro__photos img { aspect-ratio: 4 / 3; }
.intro__photos figure:nth-child(2) { margin-top: 56px; }
.intro__photos figure:nth-child(3) { margin-top: 12px; }
.intro__photos figure:nth-child(4) { margin-top: 72px; }
.intro__photos figure:nth-child(3) img,
.intro__photos figure:nth-child(4) img { aspect-ratio: 4 / 5; object-position: 50% 25%; }

/* Characters */
.chars { text-align: center; }
.chars .head { margin: 0 auto; max-width: 18ch; }
.chars__lead { margin-top: 20px; font-size: var(--step-lead); font-weight: 700; }
.chars__row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(40px, 5vw, 72px);
}
.char {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 22px 14px 26px;
  background: var(--paper);
  border: var(--line); border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.char:nth-child(odd) { transform: rotate(-1.5deg); }
.char:nth-child(even) { transform: rotate(1.5deg) translateY(18px); }
.char:hover { transform: rotate(0) translateY(-8px); }
.char__art { width: 100%; max-width: 190px; height: auto; overflow: visible; }
.char__name { font: 800 var(--step-lead) / 1.1 var(--font-display); }
.char__line { font-size: var(--step-small); font-weight: 700; max-width: 20ch; }
.char__say {
  position: absolute; top: -22px; left: 50%;
  translate: -50% 0;
  padding: 8px 16px;
  background: var(--yellow);
  border: var(--line); border-radius: 999px;
  font: 800 var(--step-body) / 1.1 var(--font-display);
  white-space: nowrap;
  opacity: 0; scale: 0.6;
  pointer-events: none;
}
.char__say.is-on { opacity: 1; scale: 1; transition: opacity 0.2s, scale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Songs: a drawn theatre stage — curtain valance on top, notes in the air */
.songs {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--paper);
  display: flex; flex-direction: column;
}
.curtain { position: absolute; top: 0; left: 0; width: 100%; height: clamp(70px, 8vw, 120px); z-index: 1; }
.stage-doodles { position: absolute; inset: 0; pointer-events: none; }
.note--3 { width: 46px; top: 22%; right: 6%; }
.note--4 { width: 70px; top: 15%; left: 37%; }
.note--5 { width: 40px; top: 34%; left: 43%; }
.songs__text {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--margin);
  align-items: end;
  padding: clamp(130px, 14vw, 200px) var(--margin) 0;
}
.songs__text .head { max-width: 14ch; grid-row: span 2; align-self: end; }
.songs__text p { font-size: var(--step-lead); line-height: 1.35; font-weight: 700; max-width: 34ch; }
.songs__text .btn { justify-self: start; }
.slips {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px;
  padding: 56px var(--margin) clamp(72px, 8vw, 120px);
}
.slip {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 10px 18px;
  border: var(--line);
  border-radius: 14px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.slip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 3px solid var(--ink); }
.slip strong { font: 800 var(--step-lead) / 1.05 var(--font-display); padding: 4px 4px 0; }
.slip span { font-size: var(--step-small); font-weight: 700; padding: 0 4px; }
.slip:nth-child(4n+1) { transform: rotate(-1.5deg); }
.slip:nth-child(4n+2) { transform: rotate(1deg); }
.slip:nth-child(4n+3) { transform: rotate(-0.5deg); }
.slip:nth-child(4n) { transform: rotate(1.5deg); }
.slip:hover { transform: translateY(-10px) rotate(0deg); }
.slip--yellow { background: var(--yellow); }
.slip--pink { background: var(--pink); }
.slip--blue { background: var(--sky); }
.slip--green { background: var(--green); }
.slip--orange { background: var(--orange); }
.slip--paper { background: var(--paper); }

.player {
  width: min(960px, 92vw);
  padding: 14px;
  background: var(--yellow);
  border: var(--line); border-radius: var(--radius);
}
.player::backdrop { background: rgba(20, 12, 8, 0.75); }
.player__frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.player__close { margin-top: 12px; }

/* Programmes: the printed menu sheet */
.programs {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--margin);
  align-items: start;
}
.programs__photos {
  grid-column: 1 / span 6;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px;
  align-items: start;
  padding-top: 40px;
}
.programs__photos figure:nth-child(even) { margin-top: 70px; }
.programs__photos img { aspect-ratio: 919 / 1300; object-fit: cover; }
.programs__photos .taped--square img { aspect-ratio: 1; }
/* The fifth poster sits alone in the last row, centred under the other four. */
.programs__photos figure:nth-child(5) { grid-column: 1 / -1; width: 52%; justify-self: center; margin-top: 0; }
.sheet {
  grid-column: 7 / span 6;
  max-width: 640px; justify-self: end; width: 100%;
  position: sticky; top: var(--sheet-top, 40px);
  background: var(--paper);
  padding: 72px clamp(28px, 4vw, 64px);
  text-align: center;
  -webkit-mask: radial-gradient(circle 14px at 50% 0, #0000 98%, #000) 50% 0 / 40px 51% repeat-x, /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
                radial-gradient(circle 14px at 50% 100%, #0000 98%, #000) 50% 100% / 40px 51% repeat-x; /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
  mask: radial-gradient(circle 14px at 50% 0, #0000 98%, #000) 50% 0 / 40px 51% repeat-x, /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
        radial-gradient(circle 14px at 50% 100%, #0000 98%, #000) 50% 100% / 40px 51% repeat-x; /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
}
.sheet .head { margin: 0 auto; }
.sheet__note { margin-top: 12px; font-weight: 700; }
.sheet__group { margin-top: 48px; display: grid; gap: 10px; }
.sheet__group h3 { font: 800 var(--step-lead) / 1.1 var(--font-display); }
.sheet__group p { max-width: 42ch; margin: 0 auto; }
.sheet__row { display: flex; justify-content: space-between; gap: 16px; max-width: 420px; width: 100%; margin: 6px auto 0; font-size: var(--step-small); font-weight: 700; }

/* Where we go: photo tiles with label strips */
.where .head { max-width: none; }
.tiles {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 28px 20px;
  margin-top: 44px;
}
.tile {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: var(--line); border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tile:nth-child(4n+1) { transform: rotate(-1.5deg); }
.tile:nth-child(4n+2) { transform: rotate(1deg); }
.tile:nth-child(4n+3) { transform: rotate(-0.5deg); }
.tile:nth-child(4n) { transform: rotate(1.5deg); }
.tile:hover { transform: rotate(0) scale(1.03); }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: var(--line); }
.tile figcaption { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; min-height: 84px; }
.tile strong { font: 800 var(--step-lead) / 1.1 var(--font-display); }
.tile span { font-size: var(--step-small); font-weight: 700; }
.tile--a figcaption { background: var(--yellow); }
.tile--b figcaption { background: var(--sky); }
.tile--c figcaption { background: var(--pink); }
.tile--d figcaption { background: var(--green); }

/* Booking: the clip-out coupon */
.booking { display: grid; gap: 32px; justify-items: center; }
.coupon {
  position: relative;
  width: min(100%, 1240px);
  display: grid; grid-template-columns: 46% 54%;
  background: var(--red);
  color: var(--paper);
  border-radius: var(--radius);
  -webkit-mask: radial-gradient(circle 22px at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
                radial-gradient(circle 22px at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
  mask: radial-gradient(circle 22px at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
        radial-gradient(circle 22px at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
}
.coupon__left {
  position: relative;
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(32px, 4vw, 56px);
}
.coupon__head {
  font: 800 var(--step-head) / 0.95 var(--font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 10ch;
}
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font: 800 var(--step-lead) / 1.2 var(--font-display); margin-bottom: 10px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 20px;
  background: var(--red-soft); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
}
.chips label:hover span { transform: translateY(-3px) rotate(-2deg); }
.chips input:checked + span { background: var(--yellow); }
.chips input:focus-visible + span { outline: 4px solid var(--paper); outline-offset: 3px; }
.coupon__note { margin-top: auto; max-width: 40ch; }
.scissors { position: absolute; right: -32px; top: 20%; width: 64px; z-index: 2; }
.coupon__right {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(32px, 4vw, 56px);
  border-left: 6px dotted var(--yellow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 64px; padding: 8px 18px;
  background: var(--red-soft); color: var(--ink);
  border-radius: 14px;
  transition: background-color 0.2s;
}
.field:focus-within { background: var(--paper); }
.field > span { font-size: var(--step-small); font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; outline: 0; padding: 2px 0; background: transparent;
  font: 700 var(--step-body) / 1.3 var(--font-text); color: var(--ink);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7a4a40; }
.field.is-invalid { background: var(--yellow); }
.coupon__send { min-height: 60px; border-color: var(--ink); font-size: var(--step-lead); margin-top: 4px; }
.coupon__small { font-size: var(--step-small); }

.message {
  width: min(100%, 760px);
  display: grid; gap: 18px;
  padding: 28px 32px;
  background: var(--paper);
  border: var(--line); border-radius: var(--radius);
}
.message h3 { font: 800 var(--step-lead) / 1.1 var(--font-display); }
.message__text { margin: 0; font: 700 var(--step-body) / 1.5 var(--font-text); white-space: pre-wrap; }
.message__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer: the back of the postcard */
.foot { background: var(--blue); padding: clamp(80px, 9vw, 140px) var(--margin); }
.postcard {
  position: relative;
  width: min(100%, 1240px);
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 5vw, 80px);
  padding: 72px clamp(28px, 4vw, 64px) 32px;
  background: var(--paper);
  border-radius: 0 0 var(--radius) var(--radius);
  -webkit-mask: radial-gradient(circle 50px at 50% 0, #0000 98%, #000) 50% 0 / 100px 100% repeat-x; /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
  mask: radial-gradient(circle 50px at 50% 0, #0000 98%, #000) 50% 0 / 100px 100% repeat-x; /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
}
.postcard__msg { display: flex; flex-direction: column; gap: 18px; padding-right: clamp(0px, 3vw, 48px); }
.postcard__msg .head { max-width: 12ch; }
.postcard__sign { font: 800 var(--step-lead) / 1.2 var(--font-display); color: var(--red); }
.postcard__addr {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding-top: 150px;
  font-size: var(--step-lead);
}
.stamp {
  position: absolute; top: 0; right: 0;
  width: 112px;
  padding: 8px;
  background: var(--paper);
  border: 3px dashed var(--ink);
  transform: rotate(6deg);
}
.stamp img { aspect-ratio: 3 / 4; object-fit: cover; }
.postcard__imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); font-weight: 700; padding-top: 24px; }

/* ---------- Drawn worlds for each chapter ---------- */

/* The road the bus drives along to "Pas jus" */
.road { display: block; width: 100%; height: auto; margin-top: clamp(32px, 4vw, 56px); overflow: visible; }

/* The meadow the characters stand on, and a butterfly */
.chars { padding-bottom: calc(clamp(80px, 10vw, 150px) + 70px); overflow: hidden; }
.meadow { position: absolute; left: 0; bottom: 0; width: 100%; height: 110px; }
.butterfly { width: 54px; bottom: 90px; left: 4%; z-index: 3; }

/* Two stage lights swinging under the curtain */
.spots { position: absolute; inset: 0; pointer-events: none; }
.spot { position: absolute; top: clamp(50px, 6vw, 90px); width: clamp(160px, 18vw, 280px); height: 85%; transform-origin: 50% 0; }
.spot--l { left: 12%; }
.spot--r { right: 14%; }

/* Balloons and bubbles floating over the programmes */
.party { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.balloon { width: clamp(44px, 4vw, 64px); }
.balloon--1 { left: 1.5%; top: 6%; }
.balloon--2 { left: 47%; top: 30%; }
.balloon--3 { left: 2%; top: 58%; }
.bubble--4 { width: 46px; left: 48%; top: 8%; }
.bubble--5 { width: 32px; left: 51%; top: 52%; }
.bubble--6 { width: 40px; left: 46%; top: 74%; }
.bubble--7 { width: 28px; left: 4%; top: 86%; }
.programs__photos { position: relative; z-index: 1; }
.sheet { z-index: 1; }

/* Colouring pages: sheets of paper on a drawing table, crayons around them */
.chapter--paper { background: var(--paper); }
.coloring {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--margin);
  align-items: center;
  overflow: hidden;
}
.coloring__text {
  grid-column: 1 / span 4;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
}
.coloring__text p { font-size: var(--step-lead); line-height: 1.35; font-weight: 700; max-width: 30ch; }
.coloring__text .coloring__small { font-size: var(--step-body); margin-top: 14px; }
.sheets {
  grid-column: 6 / span 7;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px;
}
.sheets li:nth-child(4), .sheets li:nth-child(5) { position: relative; left: 50%; }
.sheetcard {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  aspect-ratio: 210 / 297;
  padding: 18px 12px 14px;
  background: var(--paper);
  border: var(--line); border-radius: 6px;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sheets li:nth-child(odd) .sheetcard { transform: rotate(-2deg); }
.sheets li:nth-child(even) .sheetcard { transform: rotate(2deg) translateY(14px); }
.sheetcard:hover { transform: rotate(0) translateY(-10px) scale(1.03); }
.sheetcard img { width: 100%; flex: 1; min-height: 0; object-fit: contain; }
.sheetcard span { font: 800 var(--step-body) / 1.1 var(--font-display); text-align: center; }
.sheetcard small { font-size: var(--step-small); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.crayons { position: absolute; inset: 0; pointer-events: none; }
.crayon { width: clamp(26px, 2.4vw, 36px); }
.crayon--1 { top: 8%; left: 34%; transform: rotate(28deg); }
.crayon--2 { bottom: 8%; left: 6%; transform: rotate(-62deg); }
.crayon--3 { top: 6%; right: 4%; transform: rotate(-20deg); }
.crayon--4 { bottom: 6%; right: 38%; transform: rotate(70deg); }
.crayon--5 { top: 46%; left: 40%; transform: rotate(-35deg); }
.crayon--6 { top: 18%; left: 2%; transform: rotate(50deg); }
.crayon--7 { bottom: 20%; right: 2%; transform: rotate(-80deg); }
.crayon--8 { top: 4%; left: 62%; transform: rotate(95deg); }
.crayon--9 { bottom: 3%; left: 28%; transform: rotate(15deg); }
.crayon--10 { top: 64%; left: 44%; transform: rotate(120deg); }

/* Sound switch in the bar */
.sound-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px 0 10px;
  background: var(--paper); color: var(--ink);
  border: var(--line); border-radius: 999px;
  font-weight: 800; cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sound-btn:hover { transform: translateY(-3px) rotate(-2deg); }
.sound-btn svg { width: 28px; height: 28px; }
.sound-btn .sound-btn__waves { opacity: 0; }
.sound-btn[aria-pressed="true"] .sound-btn__waves { opacity: 1; }
.sound-btn[aria-pressed="true"] .sound-btn__off { opacity: 0; }

/* The hat hunt */
.game-hint {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px;
  max-width: 36ch;
  font-size: var(--step-small); font-weight: 800;
}
.game-dots { display: inline-flex; gap: 6px; }
.game-dot { width: 30px; height: 23px; opacity: 0.25; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s; }
.game-dot.is-found { opacity: 1; filter: none; }
.hidden-hat {
  position: absolute; z-index: 4;
  width: 52px; padding: 0; border: 0; background: none; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hidden-hat svg { display: block; width: 100%; height: auto; }
.hidden-hat:hover { transform: scale(1.15) rotate(-8deg); }
.hidden-hat.is-found { pointer-events: none; }
.hidden-hat--1 { top: -30px; right: 8px; transform: rotate(14deg); }
.hidden-hat--2 { top: clamp(58px, 6.8vw, 104px); right: 3%; transform: rotate(-10deg); }
.hidden-hat--3 { right: 26px; bottom: 18px; transform: rotate(-6deg); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90;
  translate: -50% 0;
  padding: 14px 24px;
  background: var(--yellow); color: var(--ink);
  border: var(--line); border-radius: 999px;
  font: 800 var(--step-lead) / 1.2 var(--font-display);
  white-space: nowrap;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .coloring__text { grid-column: 1 / -1; margin-bottom: 40px; }
  .sheets { grid-column: 1 / -1; }
  .intro__photos { grid-template-columns: 1fr 1fr; }
  .chars__row { grid-template-columns: repeat(3, 1fr); }
  .char:nth-child(even) { transform: rotate(1.5deg); }
  .slips { grid-template-columns: repeat(3, 1fr); }
  .slip:nth-child(n) { min-height: 0; }
  .songs__text { grid-template-columns: 1fr; }
  .songs__text .head { grid-row: auto; }
  .programs__photos { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .sheet { grid-column: 1 / -1; justify-self: center; position: static; order: -1; margin-bottom: 48px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .coupon { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .coupon__right { border-left: 0; border-top: 6px dotted var(--yellow); }
  .scissors { right: auto; left: 24px; top: auto; bottom: -22px; transform: rotate(90deg); }
}

/* ---------- Phone ---------- */

@media (max-width: 720px) {
  .sound-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sound-btn { padding: 0 8px; min-height: 44px; }
  .toast { font-size: 1.05rem; white-space: normal; width: calc(100% - 32px); text-align: center; }
  .sheets { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .sheets li:nth-child(n) { left: 0; }
  .sheets li:nth-child(5) { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .crayon--1, .crayon--4, .crayon--5, .crayon--8, .crayon--10 { display: none; }
  .balloon--2, .bubble--4, .bubble--5, .bubble--6 { display: none; }
  .balloon--1 { left: auto; right: 3%; top: 2%; }
  .spot { width: 120px; }
  .butterfly { bottom: 80px; left: 4%; width: 44px; }
  .road { margin-top: 24px; }
  .bar__links { display: none; }
  .bar__cta { margin-left: auto; }
  .bar__mark { font-size: 1.25rem; }
  .bar__mark img { width: 48px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 0; gap: 0; }
  .taped--hero { order: -1; width: 86%; margin-bottom: -24px; z-index: 1; }
  .taped--hero img { aspect-ratio: 4 / 3; }
  .taped--hero figcaption { display: none; }
  .cover { position: relative; z-index: 2; }
  .stripes { height: 40px; background-size: 40px 40px; }
  .wordmark { font-size: 19vw; }
  .cloud--1 { top: 9%; left: auto; right: 4%; }
  .note--1, .note--2, .bubble--2 { display: none; }
  .sun-btn { top: 7%; right: auto; left: 70%; }

  .intro__top { grid-template-columns: 1fr; row-gap: 20px; }
  .intro .head, .intro__note { grid-column: 1; }
  .facts { display: grid; grid-template-columns: 1fr; row-gap: 24px; }
  .facts__big { font-size: 1.75rem; }
  .intro__photos { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .intro__photos figure:first-child { grid-column: 1 / -1; }
  .intro__photos figure:nth-child(n) { margin-top: 0; }
  .intro__photos figure:nth-child(4) { grid-column: 1 / -1; }
  .intro__photos figure:nth-child(4) img { aspect-ratio: 4 / 3; object-position: 50% 30%; }

  .chars__row { grid-template-columns: 1fr 1fr; }
  .char:last-child { grid-column: 1 / -1; width: 60%; justify-self: center; }

  .songs__text { padding-top: 110px; }
  .note--4 { display: none; }
  .slips { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  .slip:nth-child(n) { transform: none; padding-bottom: 24px; }

  .programs__photos { gap: 20px 14px; }
  .programs__photos figure:nth-child(even) { margin-top: 32px; }
  .programs__photos figure:nth-child(5) { width: 60%; }
  .sheet { padding: 56px 22px; }

  .tiles { gap: 16px 10px; }
  .tile figcaption { padding: 10px; min-height: 0; }

  .coupon__left, .coupon__right { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }

  .postcard { grid-template-columns: 1fr; padding-top: 64px;
    -webkit-mask: radial-gradient(circle 30px at 50% 0, #0000 98%, #000) 50% 0 / 60px 100% repeat-x; /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
    mask: radial-gradient(circle 30px at 50% 0, #0000 98%, #000) 50% 0 / 60px 100% repeat-x; } /* taste-skill-ignore: mask that cuts scallops and notches, not a colour fill */
  .postcard__addr { padding-top: 0; font-size: var(--step-body); }
  .stamp { position: static; width: 84px; margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

.bus { cursor: pointer; pointer-events: auto; }

/* Spam trap for Netlify Forms: off-screen, never seen or filled by people. */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message__lead { font-weight: 700; }
.coupon__send:disabled { opacity: 0.7; cursor: wait; }
