/* =========================================================
   Phoenix Journals v2 · "Storybook Bold"
   Tokens mirror docs/DESIGN.md. Change both together.
   ========================================================= */

:root {
  /* Core */
  --ink: #0B2A55;
  --ink-deep: #061D3D;
  --ink-soft: #3E4F6B;
  --paper: #FBF6EC;
  --card: #FFFDF8;

  /* Bands */
  --band-sky: #A9DDF7;
  --band-sun: #FFD86B;
  --band-mint: #BDEBDD;
  --band-peach: #FFD2C2;
  --band-sky2: #DDF1FB;

  /* Stickers, buttons, doodles */
  --sun: #FFC93C;
  --coral: #FF6B5E;
  --teal: #1DB2A6;
  --leaf: #8CC63F;
  --orange: #FFA43A;
  --rose: #F48FB1;
  --sky: #3FA9F5;
  --gold: #F5B738;
  --gold-light: #FCD864;
  --sage: #4C8D6D;

  /* Text-safe accent variants (script words, small coloured text) */
  --coral-ink: #C9362E;
  --teal-ink: #0B7F7A;
  --rose-ink: #C42F5A;
  --pen: #1F5FA8;

  /* Tints */
  --teal-tint: #D6F1EC;
  --coral-tint: #FFE3DD;
  --sun-tint: #FFF0C2;
  --sky-tint: #E1F2FC;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-script: "Caveat Brush", "Segoe Script", cursive;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --section-y: clamp(80px, 9vw, 128px);
  --wave: 40px;

  /* Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;
  --line: 2px solid var(--ink);
  --hard: 0 6px 0 var(--ink);
  --hard-lg: 0 10px 0 var(--ink);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 180ms;
  --medium: 280ms;
  --slow: 600ms;
  --reveal-distance: 18px;
  --stagger: 60ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display); color: var(--ink); text-wrap: balance;
  font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.015em;
}
h1 { font-size: clamp(48px, 6.1vw, 90px); line-height: 1; font-weight: 900; }
h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.06; font-weight: 800; }
.h2--xl { font-size: clamp(40px, 5.2vw, 72px); }
h3 { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.2; font-weight: 800; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.sr-only { position: absolute; 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: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.placeholder { background: var(--sun-tint); border-radius: 4px; padding: 0 4px; }
.lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.6; }
.fineprint { font-size: 14px; color: var(--ink-soft); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--coral { background: var(--coral); }
.dot--leaf { background: var(--leaf); }

/* ---------- Bands + wavy top edge ----------
   WIX: section background + shape divider (assets/svg/wave.svg uploaded as a custom divider). */
.band { position: relative; background: var(--band-bg); }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--wave) * -1 + 2px); height: var(--wave);
  background: var(--band-bg); pointer-events: none; z-index: 1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C110 8 230 2 360 12s250 26 380 18S990 4 1110 8s240 26 330 14V40Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C110 8 230 2 360 12s250 26 380 18S990 4 1110 8s240 26 330 14V40Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.band--cream { --band-bg: var(--paper); }
.band--sun { --band-bg: var(--band-sun); }
.band--mint { --band-bg: var(--band-mint); }
.band--peach { --band-bg: var(--band-peach); }
.band--sky2 { --band-bg: var(--band-sky2); }
.band--navy { --band-bg: var(--ink-deep); }

/* ---------- Pills, script words ---------- */
.pill {
  --pill-bg: var(--card);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px;
  background: var(--pill-bg); border: var(--line); border-radius: var(--r-pill); box-shadow: 0 3px 0 var(--ink);
  font: 900 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.pill i + i, .pill i:nth-of-type(2) { background: var(--leaf); }
.pill--coral { --pill-bg: var(--coral-tint); }
.pill--teal { --pill-bg: var(--teal-tint); }

.script {
  position: relative; display: inline-block; isolation: isolate; white-space: nowrap;
  font-family: var(--font-script); font-weight: 400; font-size: 1.16em; line-height: .9; letter-spacing: 0;
  font-variation-settings: normal;
}
.script::after {
  content: ""; position: absolute; left: -3%; right: -3%; bottom: -.08em; height: .3em; z-index: -1;
  background: url("../assets/svg/swash.svg") center / 100% 100% no-repeat;
}
.script--coral { color: var(--coral-ink); }
.script--teal { color: var(--teal-ink); }
.script--rose { color: var(--rose-ink); }
.script--sticker {
  color: var(--card); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill;
  text-shadow: 4px 5px 0 var(--ink);
}
.script--sticker::after { bottom: -.12em; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--card); --b-fg: var(--ink); --b-sh: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border: var(--line); border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg); box-shadow: 0 4px 0 var(--b-sh);
  font: 900 16px/1 var(--font-body); letter-spacing: .02em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.btn .icon { width: 19px; height: 19px; stroke-width: 2.6; transition: transform var(--fast) var(--ease); }
.btn--primary { --b-bg: var(--sun); }
.btn--ink { --b-bg: var(--ink); --b-fg: var(--card); --b-sh: var(--sun); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.text-link .icon { width: 18px; height: 18px; stroke-width: 2.6; transition: transform var(--fast) var(--ease); }

/* ---------- Sticker cards ---------- */
.sticker {
  background: var(--card); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--hard);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

/* ---------- Doodles + sparkles ---------- */
.doodle { position: absolute; z-index: 3; aspect-ratio: 1; height: auto; pointer-events: none; }
.sparkle { position: absolute; width: 30px; height: 30px; color: var(--gold); pointer-events: none; z-index: 2; }
.sparkle--sm { width: 18px; height: 18px; color: var(--gold-light); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink-deep); color: var(--card); text-align: center; padding: 14px var(--gutter); font-size: clamp(16px, 1.3vw, 18px); font-weight: 800; line-height: 1.4; }
.announce span { color: var(--gold); font-size: 1.15em; }
.announce a { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; padding: 7px 16px; border-radius: var(--r-pill); background: var(--sun); color: var(--ink); font-size: .92em; font-weight: 900; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); transition: transform .2s ease, box-shadow .2s ease; }
.announce a:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.announce a:focus-visible { outline: 3px solid var(--card); outline-offset: 3px; }
.announce .icon { width: 16px; height: 16px; stroke-width: 2.6; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: 112px; background: var(--paper);
  border-bottom: 2px solid transparent; transition: border-color var(--medium), box-shadow var(--medium);
}
.site-header.is-scrolled { border-bottom-color: var(--ink); box-shadow: 0 4px 0 rgba(11, 42, 85, .08); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand__logo { width: 144px; height: auto; display: block; }
.footer__brand .brand__logo { width: 210px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; }
.nav__link { position: relative; padding: 6px 0; font-weight: 800; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.menu-toggle { display: none; }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; background: var(--band-sky); padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 7vw, 104px); overflow: hidden; }
.hero::after { /* soft sun glow */
  content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 253, 248, .55), transparent 62%); pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; transition: opacity .7s var(--ease), translate .7s var(--ease); display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(40px, 5vw, 80px); align-items: center; }

/* Section patterns (D-67): notebook squares in the hero, motif doodles in Cover Options, sparkles in Get in touch. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .34) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(255, 255, 255, .34) 1.5px, transparent 1.5px);
  background-size: 36px 36px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .25) 100%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .25) 100%);
}
#designs { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22300%22 height=%22300%22 viewBox=%220 0 300 300%22%3E%3Cg fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-opacity=%22.55%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E %3Cpath d=%22M30 52c10-6 22-6 30 0v26c-8-6-20-6-30 0Zm30 0c8-6 20-6 30 0v26c-10-6-22-6-30 0%22 transform=%22rotate(-8 60 64)%22/%3E %3Cpath transform=%22translate(182 46) rotate(14) scale(1.25)%22 d=%22M0-10C.9-2.6 2.6-.9 10 0 2.6.9.9 2.6 0 10-.9 2.6-2.6.9-10 0-2.6-.9-.9-2.6 0-10Z%22/%3E %3Cpath d=%22M232 120l26-26 8 8-26 26-11 3Z M252 100l8 8%22/%3E %3Cpath d=%22M118 150c-6-8-20-4-18 6 2 9 18 18 18 18s16-9 18-18c2-10-12-14-18-6Z%22/%3E %3Ccircle cx=%2248%22 cy=%22200%22 r=%2213%22/%3E%3Cpath d=%22M28 206c12 5 30 3 42-6%22/%3E %3Cpath d=%22M190 216c4-12 14-20 26-22-2 12-10 22-22 26l-6 6M196 222l-8-2 4-8%22/%3E %3Cpath d=%22M96 262c8-6 14 6 22 0s14 6 22 0%22/%3E %3Cpath transform=%22translate(262 252) scale(.7)%22 d=%22M0-10C.9-2.6 2.6-.9 10 0 2.6.9.9 2.6 0 10-.9 2.6-2.6.9-10 0-2.6-.9-.9-2.6 0-10Z%22/%3E %3Cpath transform=%22translate(140 40) scale(.55)%22 d=%22M0-10C.9-2.6 2.6-.9 10 0 2.6.9.9 2.6 0 10-.9 2.6-2.6.9-10 0-2.6-.9-.9-2.6 0-10Z%22/%3E %3C/g%3E%3C/svg%3E"); background-size: 300px 300px; }
#contact { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22380%22 height=%22380%22 viewBox=%220 0 380 380%22%3E%3Cpath d=%22M0-10C.9-2.6 2.6-.9 10 0 2.6.9.9 2.6 0 10-.9 2.6-2.6.9-10 0-2.6-.9-.9-2.6 0-10Z%22 transform=%22translate(52 60) scale(0.85)%22 fill=%22%23FFFFFF%22 opacity=%220.6%22/%3E%3Cpath d=%22M0-10C.9-2.6 2.6-.9 10 0 2.6.9.9 2.6 0 10-.9 2.6-2.6.9-10 0-2.6-.9-.9-2.6 0-10Z%22 transform=%22translate(250 110) scale(0.5)%22 fill=%22%23FFA43A%22 opacity=%220.45%22/%3E%3Cpath d=%22M0-10C.9-2.6 2.6-.9 10 0 2.6.9.9 2.6 0 10-.9 2.6-2.6.9-10 0-2.6-.9-.9-2.6 0-10Z%22 transform=%22translate(170 250) scale(0.7)%22 fill=%22%23FFFFFF%22 opacity=%220.5%22/%3E%3Cpath d=%22M0-10C.9-2.6 2.6-.9 10 0 2.6.9.9 2.6 0 10-.9 2.6-2.6.9-10 0-2.6-.9-.9-2.6 0-10Z%22 transform=%22translate(330 300) scale(0.45)%22 fill=%22%23FFFFFF%22 opacity=%220.5%22/%3E%3Ccircle cx=%22140%22 cy=%22140%22 r=%221.5%22 fill=%22%23FFFFFF%22 opacity=%22.45%22/%3E%3Ccircle cx=%22300%22 cy=%2230%22 r=%221.3%22 fill=%22%23FFFFFF%22 opacity=%22.45%22/%3E%3Ccircle cx=%2260%22 cy=%22330%22 r=%221.3%22 fill=%22%23FFFFFF%22 opacity=%22.45%22/%3E%3C/svg%3E"); background-size: 380px 380px; }
@media (max-width: 600px) {
  .hero::before { background-size: 28px 28px; }
  #designs { background-size: 230px 230px; }
  #contact { background-size: 300px 300px; }
}
.hero .pill i { margin-inline: 2px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 22px; }
.hero__pills .pill { margin: 0; }
.hero__title { margin-bottom: 26px; }
.hero__title-2 { display: block; }
.hero__lead { max-width: 36ch; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.6; margin-bottom: 32px; }
.personal { position: relative; width: fit-content; max-width: 100%; margin: 42px 0 26px; padding: 33px 26px 20px 20px; border-radius: 20px; background: rgba(255, 253, 248, .55); }
.personal__tag { position: absolute; top: -19px; left: 16px; padding: 3px 16px 5px; background: var(--sun); border: var(--line); border-radius: var(--r-pill); font: 400 22px/1.2 var(--font-script); white-space: nowrap; transform: rotate(-2deg); }
.personal .personal__list { gap: 9px; margin: 0; }
.personal .personal__list li { align-items: center; font-size: clamp(17px, 1.35vw, 19px); font-weight: 800; line-height: 1.3; }

.router { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 600px; }
.router__card {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 20px; text-decoration: none;
  background: var(--card); border: var(--line); border-radius: 22px; box-shadow: var(--hard);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.router__card--sun { background: var(--sun); }
.router__who { display: inline-flex; align-items: center; gap: 8px; font: 900 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.router__who .icon { width: 18px; height: 18px; }
.router__go { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 800 clamp(20px, 1.9vw, 25px)/1.15 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 72; }
.router__go .icon { width: 24px; height: 24px; stroke-width: 2.6; transition: transform var(--fast) var(--ease); }
.hero__parent { margin-top: 22px; font-size: 16px; font-weight: 700; }
.hero__parent a { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero__parent .icon { width: 16px; height: 16px; stroke-width: 2.6; }

.hero__visual { position: relative; width: 100%; max-width: 520px; margin-left: auto; }
.hero__photo { border: var(--line); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1.08; transform: rotate(2deg); box-shadow: var(--hard-lg); background: var(--card); }
/* Desktop: the picture group starts at the top of the hero and glides down with the scroll, staying inside the section.
   `translate` keeps it separate from the load fade (transform) and the reveal; JS sets --hero-follow. */
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .hero__visual { align-self: start; }
  .js .hero .hero__visual.reveal { translate: 0 var(--hero-follow, 0px); transition: opacity var(--slow) var(--ease); will-change: translate; }
  .hero__photo { transform: rotate(var(--hero-tilt, 2deg)); }
  .hero__visual > .doodle, .hero__visual > .badge { translate: 0 calc(var(--hero-rise, 0px) * var(--drift)); }
  .hero__visual > .badge { --drift: .45; }
  .hero__visual > .doodle:nth-last-child(3) { --drift: .7; }
  .hero__visual > .doodle:nth-last-child(2) { --drift: 1.2; }
  .hero__visual > .doodle:last-child { --drift: .9; }
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.hero__covers { position: absolute; left: -12%; bottom: -9%; width: 64%; aspect-ratio: 1.45; z-index: 2; }
.hero__covers .cover { position: absolute; width: 44%; bottom: 0; }
.hero__covers .cover:nth-child(1) { left: 0; transform: rotate(-12deg); }
.hero__covers .cover:nth-child(2) { left: 26%; bottom: 6%; transform: rotate(-2deg); z-index: 2; }
.hero__covers .cover:nth-child(3) { left: 54%; transform: rotate(9deg); }

.badge { position: absolute; top: -7%; right: -7%; width: 140px; height: 140px; z-index: 4; }
.badge__ring { width: 100%; height: 100%; animation: badge-spin 24s linear infinite; }
.badge__disc { fill: var(--sage); stroke: var(--ink); stroke-width: 4; }
.badge__ring text { font: 900 15.5px var(--font-body); letter-spacing: .12em; fill: var(--card); }
.badge__heart { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; }

/* ---------- Journal cover component (scales with its own width) ----------
   WIX: exported as PNG via tools/export-mockups.py. */
.cover { position: relative; container-type: inline-size; aspect-ratio: 5 / 7; }
/* Perfect-bound (glued spine), like the client's journals: a soft spine hinge on the left edge, no ring binding. */
.cover__face::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 9%; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .26), rgba(0, 0, 0, .1) 45%, rgba(255, 255, 255, .22) 62%, rgba(0, 0, 0, .08) 70%, transparent);
}
.cover__face {
  position: absolute; inset: 0; overflow: hidden; border: var(--line); border-radius: 3cqw 6cqw 6cqw 3cqw;
  background: var(--cover-bg); color: var(--cover-fg); box-shadow: 0 2cqw 0 var(--ink);
}
.cover--space { --cover-bg: radial-gradient(circle at 20% 30%, rgba(255,255,255,.7) 0 .5cqw, transparent .7cqw) 0 0 / 22cqw 22cqw, radial-gradient(circle at 70% 70%, rgba(255,255,255,.5) 0 .4cqw, transparent .6cqw) 0 0 / 17cqw 17cqw, #163A7A; --cover-fg: var(--card); }
.cover--rainbow { --cover-bg: #FFF4DE; --cover-fg: var(--ink); }
.cover--sport { --cover-bg: radial-gradient(circle at 50% 50%, rgba(255,255,255,.12) 0 9cqw, transparent 9.2cqw) 50% 70% / 100% 100% no-repeat, #3E9A5B; --cover-fg: var(--card); }
.cover__d { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; height: auto; transform: rotate(var(--r, 0deg)); }
.cover__emblem { position: absolute; top: 7%; left: 50%; width: 46cqw; transform: translateX(-50%); }
.cover__name, .cover__sub { position: absolute; left: 0; right: 0; text-align: center; text-transform: uppercase; }
.cover__name { top: 27%; font: 900 12.5cqw/1 var(--font-display); letter-spacing: .04em; font-variation-settings: "SOFT" 100, "opsz" 72; }
.cover__sub { top: 37.5%; font: 800 4.3cqw/1 var(--font-body); letter-spacing: .5em; padding-left: .5em; }
.cover__label {
  position: absolute; top: 45%; left: 13%; right: 13%; padding: 3.4cqw 4cqw 4cqw; background: var(--card); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 3cqw; font: 800 4.4cqw/1.2 var(--font-body); text-align: center;
}
.cover__label i { display: block; height: 1.5px; margin-top: 6cqw; background: rgba(11, 42, 85, .35); }
/* Classic covers (Options 1-2): school crest, Homework Journal, school year, Name/Class box. */
.cover--classic-red { --cover-bg: radial-gradient(circle at 50% 30%, #E25A3F, #C9381F 75%); --cover-fg: #4A1424; --cover-rule: #5A1626; }
.cover--classic-red .cover__face { box-shadow: inset 0 0 0 3.2cqw #CF3F25, inset 0 0 0 3.9cqw #5A1626, 0 2cqw 0 var(--ink); }
.cover--classic-wine {
  --cover-bg: radial-gradient(circle at 112% 108%, transparent 0 62cqw, #D4A84B 62.3cqw 62.9cqw, transparent 63.2cqw),
    radial-gradient(circle at -18% -12%, transparent 0 50cqw, #D4A84B 50.3cqw 50.9cqw, transparent 51.2cqw),
    radial-gradient(circle at 50% 35%, #6A2540, #3A1022 80%);
  --cover-fg: #FFF8EE; --cover-rule: #D4A84B;
}
.cover__crest { position: absolute; top: 3.5%; left: 50%; width: 58cqw; height: auto; aspect-ratio: 120 / 112; transform: translateX(-50%); }
.cover__title { position: absolute; top: 40%; left: 0; right: 0; text-align: center; font-family: var(--font-body); line-height: .95; }
.cover__title b { display: block; font-weight: 900; font-size: 14.5cqw; letter-spacing: -.01em; }
.cover__title span { display: block; font-weight: 400; font-size: 14cqw; }
.cover__rule { position: absolute; top: 63.5%; left: 27%; right: 27%; height: 1.5px; background: var(--cover-rule); }
.cover__year { position: absolute; top: 65.5%; left: 0; right: 0; text-align: center; font: 700 6.4cqw/1 var(--font-body); letter-spacing: .04em; }
.cover__namebox {
  position: absolute; top: 75%; left: 11%; right: 11%; display: grid; gap: 3cqw; padding: 3.4cqw 4.5cqw 4cqw;
  background: #FFFDF8; color: #2A2A3A; border: 1.5px solid #D4A84B; border-radius: 4cqw; font: italic 800 4.4cqw/1 var(--font-body);
}
.cover__namebox span { display: flex; gap: 2cqw; }
.cover__namebox span::after { content: ""; flex: 1; border-bottom: 1.5px dotted rgba(42, 42, 58, .55); transform: translateY(-.4cqw); }

/* ---------- 2 · Marquee ---------- */
.marquee { padding: 24px 0 26px; overflow: hidden; --wave: 30px; }
/* Two identical sets; each set repeats the phrase so it is wider than any screen and the loop has no gap. */
.marquee__track { display: flex; width: max-content; animation: marquee-scroll 128s linear infinite; }
.marquee__set { display: flex; flex: 0 0 auto; }
.marquee__track span { flex: 0 0 auto; padding-inline-end: .27em; white-space: nowrap; font: 800 clamp(19px, 2vw, 28px)/1.65 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 144; color: var(--card); text-transform: uppercase; letter-spacing: .02em; }
.marquee__track i { font-style: normal; color: var(--gold); margin: 0 10px; }

/* ---------- Section heads ---------- */
.section-head { max-width: 820px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lead { color: var(--ink-soft); max-width: 60ch; margin-inline: auto; }
.section-head .lead .text-link { margin-left: 4px; }

/* ---------- 3 · The idea ---------- */
.idea { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.idea__story { display: grid; gap: 18px; color: var(--ink-soft); }
.idea__story strong { color: var(--ink); font-weight: 900; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar { padding: 30px 26px 32px; }
.pillar--sky { background: var(--sky-tint); }
.pillar--peach { background: var(--coral-tint); }
.pillar--mint { background: var(--teal-tint); }
.pillar--sun { background: var(--sun-tint); }
.pillar__doodle { width: 64px; height: 64px; margin-bottom: 20px; transition: transform 400ms var(--ease); }
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- 4 · Phoenix Loop ---------- */
.loop { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.loop::before { content: ""; position: absolute; top: 62px; left: 8%; right: 8%; border-top: 3px dashed var(--ink); opacity: .35; }
.loop__step { position: relative; padding: 30px 26px 32px; }
.loop__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border: var(--line); border-radius: 50%;
  font: 900 30px/1 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 72; box-shadow: 0 4px 0 var(--ink);
}
.loop__num--coral { background: var(--coral); }
.loop__num--teal { background: var(--teal); }
.loop__num--sky { background: var(--sky); }
.loop__num--leaf { background: var(--leaf); }
.loop__icon { position: absolute; top: 30px; right: 26px; width: 30px; height: 30px; opacity: .8; }
.loop__step h3 { margin-bottom: 10px; }
.loop__step p { font-size: 16.5px; color: var(--ink-soft); }
.loop__return { position: relative; margin-top: 10px; text-align: center; }
.loop__arc { width: 100%; height: 80px; overflow: visible; }
.loop__arc path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 8 9; opacity: .5; vector-effect: non-scaling-stroke; }
.loop__arc .loop__arrowhead { stroke-dasharray: none; opacity: .7; stroke-linecap: round; stroke-linejoin: round; }
.loop__close { position: relative; display: inline-block; margin-top: -34px; padding: 0 22px; background: var(--band-sun); font: 400 clamp(30px, 3.4vw, 44px)/1.2 var(--font-script); }

/* ---------- Ticks ---------- */
.ticks { display: grid; gap: 14px; margin: 22px 0 32px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 17px; }
.ticks__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-top: -1px; border: var(--line); border-radius: 50%; background: var(--leaf); }
.ticks__icon .icon { width: 15px; height: 15px; stroke-width: 3.2; }

/* ---------- 5 · Tabs + journal tour ---------- */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.tabs__tab {
  min-height: 48px; padding: 0 22px; border: var(--line); border-radius: var(--r-pill); background: var(--card); color: var(--ink);
  box-shadow: 0 4px 0 var(--ink); font: 800 16px/1 var(--font-body); cursor: pointer;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background-color var(--fast);
}
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--card); box-shadow: 0 4px 0 var(--sun); }
.tabs__panel { animation: fade var(--medium) var(--ease); }
/* Reserve the tallest journal panel so tab changes do not move the next section. */
.tabs:not(.tabs--faq) { display: grid; }
.tabs:not(.tabs--faq) > .tabs__list { grid-area: 1 / 1; }
.tabs:not(.tabs--faq) > .tabs__panel { grid-area: 2 / 1; min-width: 0; }
.tabs:not(.tabs--faq) > .tabs__panel[hidden] { display: block !important; visibility: hidden; pointer-events: none; animation: none; }
.tour { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; max-width: 1080px; margin: 0 auto; }
.tour__page { padding: 10px 10px 18px 22px; }
.tour__page .jpage { transform: rotate(-2deg); max-width: 470px; margin-inline: auto; }
.tour__copy h3 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 14px; }
.tour__copy > p { color: var(--ink-soft); font-size: 19px; }
#journal .fineprint { margin-top: 36px; text-align: center; }

/* Journal page component (scales with its own width) */
.jpage {
  position: relative; container-type: inline-size; background: var(--card); border: var(--line);
  border-radius: 8px 22px 22px 8px; box-shadow: var(--hard-lg); padding: 9% 7% 8% 12%; aspect-ratio: 5 / 5.9;
  background-image: linear-gradient(90deg, rgba(11, 42, 85, .06), transparent 8%);
}
.jpage::before { /* glued spine gutter */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7cqw; border-radius: 8px 0 0 8px; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 42, 85, .16), transparent);
}
.jpage__d { position: absolute; aspect-ratio: 1; height: auto; }
.jpage__title { font: 400 9.5cqw/1.05 var(--font-script); color: var(--ink); margin-bottom: 5cqw; }
.jpage__title--center { text-align: center; font: 800 7cqw/1.15 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 72; }
.jpage__kicker { text-align: center; font: 400 6cqw/1 var(--font-script); color: var(--coral-ink); margin-bottom: 1cqw; }
.hand { font-family: var(--font-script); color: var(--pen); font-size: 1.12em; }
.planner { width: 100%; border-collapse: collapse; font: 700 3.4cqw/1.25 var(--font-body); }
.planner th { padding: 2cqw 1.6cqw; text-align: left; font-size: 2.8cqw; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; background: var(--sky-tint); border: 1.5px solid rgba(11, 42, 85, .25); }
.planner td { height: 10.5cqw; padding: 1cqw 1.6cqw; border: 1.5px solid rgba(11, 42, 85, .25); vertical-align: middle; }
.planner td:first-child { font-weight: 900; width: 13cqw; }
.planner th:last-child, .planner td:last-child { width: 12cqw; text-align: center; }
.planner .tick { color: var(--coral-ink); font: 900 5cqw/1 var(--font-body); }
.planner--reading td:first-child { width: 15cqw; font-weight: 400; }
.planner--reading td:last-child { width: auto; text-align: left; }
.jpage__notes { margin-top: 5cqw; padding-top: 3cqw; border-top: 1.5px dashed rgba(11, 42, 85, .3); font: 900 3.4cqw/1.4 var(--font-body); }
.note { margin-bottom: 4.5cqw; padding: 4cqw 4.5cqw; border: 1.5px solid rgba(11, 42, 85, .3); border-radius: 3cqw; }
.note span { display: inline-block; margin-bottom: 1.5cqw; padding: .8cqw 2.4cqw; border-radius: 99px; font: 900 2.7cqw/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.note p { font-size: 5.4cqw; line-height: 1.25; }
.note--school span { background: var(--teal-tint); }
.note--home span { background: var(--coral-tint); }
.note--empty i { display: block; height: 1.5px; margin-top: 7cqw; background: rgba(11, 42, 85, .2); }
.jpage--motto { display: grid; place-items: center; background-color: #FFF8E8; }
.motto-page { display: grid; gap: 1cqw; text-align: center; font: 400 14cqw/1 var(--font-script); }
.motto-page .c1 { color: var(--coral-ink); }
.motto-page .c2 { color: var(--teal-ink); }
.motto-page .c3 { color: var(--rose-ink); font-size: 17cqw; }
.motto-page .c4 { color: var(--pen); }
.ads { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.ad { display: flex; flex-direction: column; justify-content: center; gap: 2cqw; min-height: 21cqw; padding: 3.5cqw; border-radius: 3cqw; background: var(--paper); border: 1.5px solid rgba(11, 42, 85, .25); }
.ad i { display: block; height: 2cqw; border-radius: 2cqw; background: rgba(11, 42, 85, .14); }
.ad i:first-child { width: 72%; height: 3cqw; background: rgba(11, 42, 85, .22); }
.ad i:last-child { width: 46%; }
.ad--wide { grid-column: span 2; min-height: 16cqw; }
.ad--featured { grid-row: span 2; align-items: center; text-align: center; background: var(--coral-tint); border: 2px dashed var(--coral-ink); font: 900 3.2cqw/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
.ad--featured svg { width: 12cqw; height: 12cqw; }

/* ---------- 6 · Designs ---------- */
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.design {
  --c: var(--ink); padding: 34px 28px 30px; text-align: center; background: var(--card);
  border: 3px solid var(--c); border-radius: var(--r-lg); box-shadow: 0 8px 0 var(--c);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.design--classic-red { --c: #B2341F; }
.design--classic-wine { --c: #5B1F33; }
.design--adventure { --c: #2F86C8; }
/* Image covers (client artwork) fill the face; the spine hinge still sits on top. */
.cover--image .cover__face { background: #DDEFFB; }
.cover--image img { width: 100%; height: 100%; object-fit: cover; }
/* Each cover is a button that opens the viewer. */
button.design__stage { position: relative; display: block; width: 100%; border: 0; background: none; color: inherit; font: inherit; cursor: zoom-in; }
button.design__stage:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: var(--r-md); }
.design__zoom {
  position: absolute; right: 16%; bottom: 26px; z-index: 5; display: grid; place-items: center; width: 40px; height: 40px;
  border: var(--line); border-radius: 50%; background: var(--sun); box-shadow: 0 3px 0 var(--ink); color: var(--ink);
  opacity: .92; transition: transform var(--fast) var(--ease), opacity var(--fast);
}
.design__zoom .icon { width: 18px; height: 18px; stroke-width: 2.8; }
@media (hover: hover) { .design:hover .design__zoom { transform: scale(1.1); opacity: 1; } }
.design__option { margin-bottom: 6px; font: 900 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--c) !important; }
.design__stage { padding: 6px 0 34px 14px; }
.design__stage .cover { width: 66%; margin: 0 auto; transform: rotate(-4deg); transition: transform 500ms var(--ease); }
.design h3 { font-size: 28px; margin-bottom: 6px; }
.design p { color: var(--ink-soft); }
.designs__foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 44px; }

/* ---------- 7 · Schools ---------- */
.panel {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 64px); background: var(--teal-tint); border: var(--line); border-radius: var(--r-xl); box-shadow: var(--hard-lg);
}
.panel__media { position: relative; }
.panel__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border: var(--line); border-radius: var(--r-lg); transform: rotate(-2deg); }
.zero {
  position: absolute; left: -22px; bottom: -26px; z-index: 2; display: grid; place-items: center; align-content: center;
  width: 150px; height: 150px; border: var(--line); border-radius: 50%; background: var(--sun); box-shadow: var(--hard); transform: rotate(-10deg); text-align: center;
}
.zero strong { font: 900 56px/.9 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 144; }
.zero span { margin-top: 4px; font: 900 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; max-width: 90px; }
.panel__copy h2 { margin-bottom: 18px; }
.panel__copy > p { color: var(--ink-soft); }
.panel__label { margin-top: 24px; font: 900 13px/1 var(--font-body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink) !important; }
.panel .ticks { margin-top: 16px; }
.panel .ticks__icon { background: var(--teal); }
.offer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center;
  margin-top: clamp(40px, 5vw, 56px); padding: clamp(22px, 3vw, 32px) clamp(22px, 4vw, 40px); background: var(--band-sun);
}
.offer__star { width: 64px; height: 64px; transform: rotate(-10deg); }
.offer__copy .pill { margin-bottom: 12px; }
.offer__copy h3 { margin-bottom: 6px; font-size: clamp(24px, 2.6vw, 32px); }
.offer__copy > p:last-child { max-width: 60ch; }
.offer .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; justify-items: start; }
  .offer__star { width: 48px; height: 48px; }
  .offer .btn { width: 100%; justify-content: center; }
}
.steps { margin-top: clamp(56px, 7vw, 88px); text-align: center; }
.steps__title { margin-bottom: 32px; font: 800 clamp(28px, 3vw, 40px)/1.1 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 144; }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.step__num { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: var(--line); border-radius: 50%; background: var(--teal); font: 900 22px/1 var(--font-display); }
.step h3 { margin-bottom: 4px; font-size: 21px; }
.step p { font-size: 16px; color: var(--ink-soft); }

/* ---------- 8b · School Print ---------- */
.print-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.print-item { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.print-item h3 { font-size: clamp(20px, 1.8vw, 24px); }
.print-item__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border: var(--line); border-radius: 16px; background: var(--sun); }
.print-item:nth-child(2) .print-item__icon { background: var(--band-mint); }
.print-item:nth-child(3) .print-item__icon { background: var(--band-sky); }
.print-item:nth-child(4) .print-item__icon { background: var(--band-peach); }
.print-item:nth-child(5) .print-item__icon { background: var(--band-sun); }
.print-item:nth-child(6) .print-item__icon { background: var(--band-sky2); }
.print-item__icon .icon { width: 28px; height: 28px; }
.print__foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.print__foot p { font-size: 18px; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 900px) {
  .print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* An odd last card sits centred on its own row, at the width of one column. */
  .print-item:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
}
@media (max-width: 600px) {
  #print .section-head { margin-bottom: 28px; }
  .print-grid { gap: 12px; }
  .print-item:last-child:nth-child(odd) { width: calc(50% - 6px); }
  .print-item { gap: 10px; padding: 12px; border-radius: 18px; }
  .print-item h3 { font-size: 16.5px; line-height: 1.2; }
  .print-item__icon { width: 40px; height: 40px; border-radius: 12px; }
  .print-item__icon .icon { width: 22px; height: 22px; }
}
@media (max-width: 340px) {
  .print-grid { grid-template-columns: 1fr; }
  .print-item:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
}

/* ---------- 8c · School Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1080px; margin-inline: auto; }
.cert { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 26px; text-align: center; }
.cert h3 { font-size: clamp(21px, 1.9vw, 25px); }
.cert p { color: var(--ink-soft); }
.cert__icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 4px; border: var(--line); border-radius: 20px; background: var(--sun); }
.cert:nth-child(2) .cert__icon { background: var(--band-sky); }
.cert:nth-child(3) .cert__icon { background: var(--band-peach); }
.cert__icon .icon { width: 34px; height: 34px; }
@media (max-width: 760px) {
  .certs { grid-template-columns: 1fr; gap: 14px; max-width: 480px; }
  .cert { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 16px 18px; text-align: left; }
  .cert__icon { grid-row: span 2; width: 52px; height: 52px; margin: 0; border-radius: 14px; }
  .cert__icon .icon { width: 26px; height: 26px; }
  .cert h3 { font-size: 19px; }
  .cert p { font-size: 15px; line-height: 1.4; }
}

/* ---------- 8 · Businesses ---------- */
.biz { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 7vw, 88px); }
.biz__title { font: 400 clamp(56px, 7.4vw, 104px)/.95 var(--font-script); letter-spacing: 0; margin-bottom: 18px; font-variation-settings: normal; }
.biz__title span { position: relative; color: var(--coral-ink); display: inline-block; isolation: isolate; }
.biz__title span::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .22em; z-index: -1; background: url("../assets/svg/swash.svg") center / 100% 100% no-repeat; }
.biz__sub { margin-bottom: 16px; font: 800 clamp(22px, 2.2vw, 28px)/1.25 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 72; }
.biz__copy > p:not(.pill):not(.biz__sub) { color: var(--ink-soft); max-width: 50ch; }
.biz__cta { margin-top: 32px; }
.biz__cta .fineprint { margin-top: 14px; }
.biz__media { position: relative; }
.photo-frame { border: var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--hard-lg); background: var(--card); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.photo-frame--tilt { transform: rotate(2.5deg); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(48px, 6vw, 72px); }
.benefit { padding: 28px 26px 30px; }
.benefit__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border: var(--line); border-radius: 16px; background: var(--coral); }
.benefit__icon .icon { width: 26px; height: 26px; }
.benefit h3 { margin-bottom: 8px; }
.benefit p { color: var(--ink-soft); font-size: 16.5px; }

.placements { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 52px); margin-bottom: clamp(48px, 6vw, 72px); }
.placements__visual { position: relative; display: flex; align-items: flex-end; gap: 4%; }
.spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 76%; filter: drop-shadow(0 8px 0 var(--ink)); }
.spread::after { /* centre fold of a glued book */
  content: ""; position: absolute; left: 50%; top: 1%; bottom: 1%; width: 10%; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(11, 42, 85, .14) 42%, rgba(11, 42, 85, .26) 50%, rgba(11, 42, 85, .14) 58%, transparent);
}
.spread .jpage { aspect-ratio: 3 / 4.1; box-shadow: none; padding: 9% 8%; background-image: none; }
.spread .jpage::before { display: none; }
.jpage--left { border-radius: 18px 6px 6px 18px; border-right-width: 1px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.jpage--right { border-radius: 6px 18px 18px 6px; border-left-width: 1px; }
.spread__emblem { width: 52cqw; margin-bottom: 4cqw; }
.spread__belongs { font: 800 5cqw/1.2 var(--font-body); }
.spread__line { display: block; width: 80%; height: 1.5px; margin-top: 9cqw; background: rgba(11, 42, 85, .3); }
.slot { display: grid; place-items: center; border: 2px dashed var(--coral-ink); background: var(--coral-tint); color: var(--coral-ink); font: 900 4.6cqw/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-align: center; border-radius: 3cqw; }
.slot--banner { width: 100%; margin-top: auto; padding: 6cqw 3cqw; }
.ads--mini .ad { min-height: 18cqw; }
.ads--mini .ad--featured { font-size: 3.4cqw; }
.backcover {
  position: relative; container-type: inline-size; width: 20%; aspect-ratio: 3 / 4.1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end;
  background: #163A7A; border: var(--line); border-radius: 6px 14px 14px 6px; box-shadow: 0 8px 0 var(--ink); transform: rotate(4deg);
}
.slot--back { width: 100%; padding: 22px 4px; font-size: 10px; border-radius: 10px; }
.pin {
  position: absolute; display: grid; place-items: center; width: 34px; height: 34px; border: var(--line); border-radius: 50%;
  background: var(--sun); box-shadow: 0 3px 0 var(--ink); font: 900 16px/1 var(--font-body); color: var(--ink); z-index: 2;
}
.pin--static { position: static; flex: none; }
.placements__copy h3 { font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 22px; }
.placements__list { display: grid; gap: 18px; margin-bottom: 20px; }
.placements__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); font-size: 16.5px; }
.placements__list strong { display: block; color: var(--ink); font-size: 18px; font-weight: 900; }

.wall { text-align: center; }
.wall__title { margin-bottom: 20px; font: 400 clamp(30px, 3vw, 40px)/1 var(--font-script); }
.wall__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin-inline: auto; }
.wall__slots li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 104px; padding: 14px; border: 2px dashed var(--ink); border-radius: var(--r-md); background: rgba(255, 253, 248, .55); font: 700 15px/1.3 var(--font-body); color: var(--ink-soft); }
.wall__plus { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50%; background: var(--card); color: var(--ink); }
.wall__plus .icon { width: 16px; height: 16px; }
.wall__note { margin-top: 20px; font-weight: 800; }
.wall__note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.wall__note a span { white-space: nowrap; }
.wall__note a .icon { display: inline-block; width: 18px; height: 18px; margin-left: 4px; vertical-align: -3px; transition: transform .2s ease; }
.wall__note a:hover .icon { transform: translateX(3px); }

/* ---------- 9 · Motto ---------- */
.motto { position: relative; padding-block: clamp(110px, 13vw, 170px); text-align: center; color: var(--card); overflow: hidden; }
.motto::before { z-index: 1; }
.motto__lines { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.motto__lines span { font: 900 clamp(48px, 7.4vw, 104px)/1.02 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.02em; }
.motto__lines .motto__script { margin-top: 10px; font: 400 clamp(64px, 10vw, 148px)/1 var(--font-script); color: var(--gold); letter-spacing: 0; font-variation-settings: normal; }
.motto .doodle { z-index: 2; --dl: #FFFDF8; }

/* ---------- 10 · Story ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__emblem { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.story__circle { display: grid; place-items: center; aspect-ratio: 1; border: var(--line); border-radius: 50%; background: var(--band-sky); box-shadow: var(--hard-lg); padding: 9%; }
.story__circle img { width: 100%; }
.story__copy h2 { margin-bottom: 22px; }
.story__copy > p:not(.pill):not(.story__sign) { color: var(--ink-soft); margin-bottom: 16px; }
.story__copy .lead { color: var(--ink) !important; }
.story__sign { display: flex; align-items: center; gap: 12px; margin-top: 26px; font: 900 14px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; }

/* ---------- 11 · FAQ ---------- */
.tabs--faq { max-width: 860px; margin: 0 auto; }
.faq { display: grid; gap: 14px; }
.faq details { background: var(--card); border: var(--line); border-radius: var(--r-md); box-shadow: 0 4px 0 var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px 20px 26px; cursor: pointer; list-style: none; font-weight: 900; font-size: 18px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: var(--line); border-radius: 50%; background: var(--sun); transition: transform 400ms var(--ease), background-color var(--fast); }
.faq__plus .icon { width: 17px; height: 17px; stroke-width: 2.8; }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--coral); }
.faq details p { padding: 0 26px 22px; color: var(--ink-soft); }

/* ---------- 12 · Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro h2 { margin-bottom: 18px; }
.contact__list { display: grid; gap: 18px; margin-top: 34px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border: var(--line); border-radius: 50%; background: var(--card); box-shadow: 0 3px 0 var(--ink); }
.contact__icon .icon { width: 22px; height: 22px; }
.contact__list small { display: block; font: 900 12.5px/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.contact__list a { font-weight: 800; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; word-break: break-word; }

.form-card { padding: clamp(24px, 4vw, 44px); box-shadow: var(--hard-lg); }
.chips { border: 0; padding: 0; margin: 0 0 24px; }
.chips legend, .field label { display: block; margin-bottom: 8px; padding: 0; font-size: 15px; font-weight: 900; }
.req { color: var(--coral-ink); }
.chips__row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: var(--line); border-radius: var(--r-pill); background: var(--card); box-shadow: 0 3px 0 var(--ink); font-weight: 900; font-size: 15.5px; transition: background-color var(--fast), color var(--fast), transform var(--fast); }
.chip input:checked + span { background: var(--ink); color: var(--card); box-shadow: 0 3px 0 var(--sun); }
.chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 3px; }
.chips.is-invalid .chip span { border-color: var(--coral-ink); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: var(--line); border-radius: var(--r-sm); background: var(--paper);
  font: 400 16.5px/1.5 var(--font-body); color: var(--ink); transition: box-shadow var(--fast), background-color var(--fast);
}
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder, .field textarea::placeholder { color: #7D889A; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 4px rgba(255, 201, 60, .7); }
.field [aria-invalid="true"] { border-color: var(--coral-ink); background: #FFF4F2; }
.form-error { margin-bottom: 14px; font-weight: 900; color: var(--coral-ink); }
.form-consent { margin-top: 14px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }

/* ---------- Registration dialog ---------- */
.register { width: min(640px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: 0 0 12px; border: 0; background: transparent; color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.register::backdrop { background: rgba(6, 29, 61, .62); }
.register__card { position: relative; padding: clamp(22px, 4vw, 40px); box-shadow: var(--hard-lg); }
.register__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: var(--line); border-radius: 50%; background: var(--sun); box-shadow: 0 3px 0 var(--ink); cursor: pointer; }
.register__close .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.register__card h2 { margin: 14px 0 10px; padding-right: 44px; font-size: clamp(30px, 4.2vw, 42px); }
.register__lead { margin-bottom: 24px; color: var(--ink-soft); }
.register .field textarea { min-height: 88px; }
.register .form-success { padding: 32px 4px 12px; }
.register .form-success .btn { margin-top: 22px; }
html:has(.register[open]) { overflow: hidden; }
/* Pop-up opens with a soft rise and closes with a quick fade (JS adds .is-closing before close()). */
.register[open], .lightbox[open] { animation: dialog-in .42s var(--ease) both; }
.register[open]::backdrop, .lightbox[open]::backdrop { animation: backdrop-in .3s ease both; }
.register.is-closing, .lightbox.is-closing { animation: dialog-out .22s ease-in both; }
.register.is-closing::backdrop, .lightbox.is-closing::backdrop { animation: backdrop-out .22s ease-in both; }
/* Cover viewer */
.lightbox { width: min(560px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: 0 0 12px; border: 0; background: transparent; color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(6, 29, 61, .72); }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox__card { position: relative; padding: clamp(22px, 4vw, 36px); text-align: center; box-shadow: var(--hard-lg); }
.lightbox__cover { width: min(340px, 74vw, calc((100dvh - 290px) * 5 / 7)); margin: 6px auto 22px; }
.lightbox__cover .cover { width: 100%; }
.lightbox__cover.is-swapping { animation: fade .35s var(--ease); }
.lightbox__title { font-size: clamp(26px, 3.4vw, 34px); }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.lightbox__nav .btn { min-width: 64px; }
.icon--flip { transform: scaleX(-1); }
.register__close { transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.register__close:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
@media (hover: hover) { .register__close:hover { transform: rotate(90deg); } }
/* Form feedback: the error nudges in, the thank-you rises in, "Sending…" breathes. */
.form-error:not([hidden]) { animation: nudge .45s var(--ease); }
.form-success:not([hidden]) { animation: fade .55s var(--ease) both; }
.btn.is-sending { animation: sending 1.1s ease-in-out infinite; cursor: progress; }
.form-success { text-align: center; padding: 48px 12px; }
.form-success__star { width: 84px; height: 84px; margin: 0 auto 18px; animation: pop var(--slow) var(--ease); }
.form-success__title { margin-bottom: 8px; font: 400 52px/1 var(--font-script); color: var(--coral-ink); }

/* ---------- 13 · Footer ---------- */
.site-footer { position: relative; background: var(--ink-deep); color: rgba(255, 253, 248, .8); padding: 92px 0 32px; font-size: 16px; }
.footer__border {
  position: absolute; top: 0; left: 0; right: 0; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 20'%3E%3Crect x='4' y='6' width='18' height='8' rx='4' fill='%23FF6B5E'/%3E%3Crect x='28' y='6' width='18' height='8' rx='4' fill='%23FFA43A'/%3E%3Crect x='52' y='6' width='18' height='8' rx='4' fill='%23F5B738'/%3E%3Crect x='76' y='6' width='18' height='8' rx='4' fill='%231DB2A6'/%3E%3Crect x='100' y='6' width='18' height='8' rx='4' fill='%233FA9F5'/%3E%3Cpath d='M134 2l2.4 5.6 5.6 2.4-5.6 2.4-2.4 5.6-2.4-5.6-5.6-2.4 5.6-2.4Z' fill='%23FCD864'/%3E%3C/svg%3E") 0 50% / 150px 20px repeat-x;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 253, 248, .14); }
.footer__tagline { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font: 900 13px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--card); }
.footer__line { max-width: 38ch; }
.footer__heading { margin-bottom: 16px; font: 400 30px/1 var(--font-script); color: var(--gold); }
.footer__col ul { display: grid; gap: 10px; }
.site-footer a:not(.btn) { color: inherit; text-decoration: none; transition: color var(--fast); }
.footer__cta { margin-top: 22px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 13.5px; color: rgba(255, 253, 248, .58); }
.footer__credit a { text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- Motion ---------- */
@keyframes badge-spin { to { transform: rotate(360deg); } }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes backdrop-in { from { opacity: 0; } }
@keyframes backdrop-out { to { opacity: 0; } }
@keyframes nudge { 0% { opacity: 0; transform: translateX(0); } 25% { opacity: 1; transform: translateX(-7px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } 100% { transform: none; } }
@keyframes sending { 50% { opacity: .62; } }
@keyframes pop { 0% { transform: scale(.3) rotate(-30deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.float { animation: float 4s ease-in-out 1; animation-delay: var(--t, 0s); }
.twinkle { animation: twinkle 2s ease-in-out 2 alternate; animation-delay: var(--t, 0s); }
.float.is-pending, .twinkle.is-pending { animation-play-state: paused; }

/* First load: the hero waits (max ~1.2s) for fonts and its photo, then fades up as one piece. */
.is-loading .hero__grid { opacity: 0; translate: 0 14px; }
/* Lazy photos fade in once decoded instead of drawing in. */
.img-fade { opacity: 0; transition: opacity .6s var(--ease); }
.img-fade.is-loaded { opacity: 1; }

/* Translate is independent of hover transforms. Reveals run once, before entry. */
.js .reveal {
  transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
  transition-delay: min(calc(var(--d, 0) * var(--stagger)), 180ms), min(calc(var(--d, 0) * var(--stagger)), 180ms), 0s, 0s;
}
.js .reveal.is-pending { opacity: 0; translate: 0 var(--reveal-distance); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }
.js .reveal:focus-within { opacity: 1; translate: 0 0; transition-delay: 0s; }

/* Native accordion enhancement; unsupported browsers keep the instant disclosure. */
@supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
  .faq details::details-content {
    interpolate-size: allow-keywords;
    height: 0;
    overflow: clip;
    opacity: 0;
    transition: height var(--medium) var(--ease), opacity var(--medium), content-visibility var(--medium) allow-discrete;
  }
  .faq details[open]::details-content { height: auto; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal.is-pending { opacity: 1; translate: none; transform: none; }
  .is-loading .hero__grid, .img-fade { opacity: 1; translate: none; }
  .faq details::details-content { transition: none !important; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }
  .marquee__set { flex: 0 1 auto; }
  .marquee__track span { white-space: normal; text-align: center; text-wrap: balance; }
  .marquee__set + .marquee__set, .marquee__track span + span { display: none; }
}

/* ---------- Responsive ---------- */
/* Menu tiers for the eight desktop links: medium up to 1240px, compact up to 1120px. */
@media (max-width: 1240px) {
  .nav__list { gap: 18px; }
  .nav { gap: 20px; }
  .nav__link { font-size: 15px; }
}
@media (max-width: 1140px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop::before, .loop__arc { display: none; }
  .loop__close { margin-top: 32px; background: none; }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .header__inner .brand__logo { width: 112px; }
  .nav { gap: 14px; }
  .nav__list { gap: 13px; }
  .nav__link { font-size: 14px; }
  .nav__cta { min-height: 42px; padding: 0 16px; font-size: 14px; }
}

@media (max-width: 960px) {
  .site-header { height: 96px; }
  .site-header .brand__logo { width: 120px; }
  .site-header.is-scrolled { height: 96px; }
  .menu-toggle {
    display: grid; place-items: center; position: relative; z-index: 2; width: 50px; height: 50px; cursor: pointer;
    border: var(--line); border-radius: 50%; background: var(--sun); color: var(--ink); box-shadow: 0 3px 0 var(--ink);
  }
  .menu-toggle .icon { width: 22px; height: 22px; stroke-width: 2.6; }
  .menu-toggle .icon--close, .nav-open .menu-toggle .icon--menu { display: none; }
  .nav-open .menu-toggle .icon--close { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 40px;
    padding: 96px 32px 48px; background: var(--band-sky); opacity: 0; visibility: hidden;
    overflow-y: auto; overscroll-behavior: contain;
    transition: opacity var(--medium) var(--ease), visibility var(--medium);
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 6px; text-align: center; }
  .nav__link { font: 800 34px/1.4 var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 144; }
  .nav__cta { min-height: 58px; font-size: 16px; }

  .hero__grid, .idea, .tour, .panel, .biz, .placements, .story, .contact { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__pills { justify-content: center; }
  .personal { margin-inline: auto; }
  .personal .personal__list { text-align: left; }
  .personal .personal__list li { align-items: flex-start; }
  .router { margin-inline: auto; text-align: left; }
  .hero__visual { margin: 40px auto 0; max-width: 440px; }
  .idea { align-items: start; }
  .tour__page { order: -1; }
  .designs { grid-template-columns: repeat(3, minmax(260px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .design { scroll-snap-align: center; }
  .steps__list, .benefits { grid-template-columns: 1fr; }
  .biz__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .story__emblem { max-width: 360px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; --wave: 26px; }
  body { font-size: 17px; }
  .announce { padding: 12px var(--gutter) 14px; font-size: 15px; }
  .announce a { display: flex; width: fit-content; margin: 10px auto 0; padding: 8px 18px; }
  .router { grid-template-columns: 1fr; }
  .hero__visual { max-width: 330px; }
  .badge { width: 104px; height: 104px; right: -4%; }
  .pillars, .loop { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px; }
  .pillar__doodle { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .pillar h3 { margin: 2px 0 0; }
  .loop__step { padding: 24px 22px; }
  .tabs__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-snap-type: x proximity; }
  .tabs__tab { flex: none; scroll-snap-align: start; }
  .tabs--faq .tabs__list { justify-content: flex-start; }
  .panel { padding: 22px 20px 32px; }
  .zero { width: 116px; height: 116px; left: -8px; bottom: -20px; }
  .zero strong { font-size: 44px; }
  .zero span { font-size: 9.5px; max-width: 72px; }
  .panel .btn, .biz__cta .btn { width: 100%; }
  .placements__visual { flex-direction: column; align-items: center; gap: 22px; }
  .spread { width: 100%; }
  .backcover { width: 36%; }
  .wall__slots { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wall__slots li { min-height: 92px; }
  .fields { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding: 18px 18px 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  /* Mobile footer: everything centred */
  .footer__grid, .footer__bottom { text-align: center; }
  .footer__brand .brand { margin-inline: auto; }
  .footer__tagline { justify-content: center; }
  .footer__line { margin-inline: auto; }
  .footer__col ul { justify-items: center; }
  .footer__bottom { flex-direction: column; align-items: center; }
  .doodle { max-width: 46px; }
  .band:not(.motto) > .doodle { display: none; } /* decorative only; never over text on phones */
  .motto > .doodle, .motto > .sparkle { display: none; }
  .hero__covers { left: -2%; bottom: -10%; width: 70%; }
}

/* Pointer-only feedback; touch controls keep their stable resting position. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--b-sh); }
  .btn:hover .icon { transform: translateX(3px); }
  .text-link:hover .icon { transform: translateX(3px); }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-sh); }
.router__card:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
  .router__card:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
  .router__card:hover .router__go .icon { transform: translateX(4px); }
  .tabs__tab:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
  .chip:hover span { transform: translateY(-1px); }
  .site-footer a:not(.btn):hover { color: var(--sun); }
  .design:hover .design__stage .cover { transform: rotate(-2deg); }
}
.nav__link.is-active::after { transform: scaleX(1); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-sh); }
.router__card:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }

@media (max-width: 960px) {
  :root { --slow: 420ms; --reveal-distance: 10px; --stagger: 0ms; }
  .float, .twinkle { animation: none; }
  .nav__list, .nav__cta { translate: 0 8px; transition: translate var(--medium) var(--ease); }
  .nav-open .nav__list, .nav-open .nav__cta { translate: 0 0; }
}
@media (max-width: 960px) and (max-height: 540px) {
  .nav { justify-content: flex-start; gap: 18px; padding-top: 84px; }
  .nav__link { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__list, .nav__cta { translate: none; }
  .btn:hover, .btn:active, .router__card:hover, .router__card:active,
  .tabs__tab:hover, .chip:hover span { transform: none; }
  .btn:hover .icon, .router__card:hover .router__go .icon, .text-link:hover .icon { transform: none; }
  .design:hover .design__stage .cover { transform: rotate(-4deg); }
}

/* ---------- Privacy notice page ---------- */
.legal__header { background: var(--paper); border-bottom: var(--line); }
.legal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; }
.legal__bar .brand__logo { width: 120px; }
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.legal__body { max-width: 760px; }
.legal__body h1 { margin: 18px 0 8px; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }
.legal__date { margin-bottom: 8px; font-size: 15px; color: var(--ink-soft); }
.legal__body h2 { margin: 36px 0 10px; font-size: clamp(24px, 3vw, 30px); }
.legal__body p, .legal__body li { color: var(--ink-soft); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { margin: 12px 0; padding-left: 22px; list-style: disc; }
.legal__body li + li { margin-top: 8px; }
.legal__body strong { color: var(--ink); }
.legal__footer { background: var(--ink-deep); color: rgba(255, 253, 248, .7); padding: 24px 0; font-size: 14px; }
.legal__footer a { color: var(--card); }
