/* ==========================================================================
   ALOHA LETTERS — homepage stylesheet
   1. Font imports
   2. CSS variables
   3. Reset and base styles
   4. Accessibility utilities
   5. Layout utilities
   6. Typography
   7. Buttons and links
   8. Header and navigation
   9. Hero
   10. Product facts
   11. AEO definition
   12. Mailbox story
   13. Story cards
   14. Quiz interlude
   15. How It Works
   16. What Arrives
   17. Gift section
   18. Pace and payment
   19. Reviews
   20. Brand story
   21. FAQ
   22. Final CTA
   23. Newsletter
   24. Footer
   25. Animation classes
   26. Responsive media queries
   27. Reduced-motion overrides
   28. Site loader
   29. Tropical art direction (foliage layers + revised sections)
   30. Young readers
   31. Gift — the gift that keeps on giving
   32. Fixed schedule and payment
   33. Revised final CTA (closing ask + newsletter, one band)
   34. Tropical motion keyframes
   35. Revised responsive rules
   36. Revised reduced-motion overrides
   ========================================================================== */


/* ==========================================================================
   1. FONT IMPORTS
   Fonts are requested from <head> instead of here — an @import inside the
   stylesheet cannot start downloading until this file has been fetched and
   parsed, which delays first text paint by a whole round trip.
   ========================================================================== */


/* ==========================================================================
   2. CSS VARIABLES
   ========================================================================== */

:root {
  /* --- Base palette --- */
  --color-ocean-ink: #123F3B;
  --color-deep-lagoon: #1F6661;
  --color-island-ivory: #F7F2E8;
  --color-paper-white: #FFFDF8;
  --color-postmark-coral: #B9433B;
  --color-postmark-coral-hover: #98352F;
  --color-soft-coral: #F26B5E;
  --color-sunset-gold: #D5A23B;
  --color-palm: #55755A;
  --color-warm-sand: #E9D6B8;
  --color-ink-black: #202724;
  --color-muted-ink: #5E6864;
  --color-sea-mist: #DDE8E3;
  --color-shell-blush: #F7DED2;

  /* --- Semantic aliases --- */
  --color-background-default: var(--color-island-ivory);
  --color-background-dark: var(--color-ocean-ink);
  --color-background-lagoon: var(--color-deep-lagoon);
  --color-surface-default: var(--color-paper-white);
  --color-surface-soft: var(--color-sea-mist);
  --color-text-default: var(--color-ink-black);
  --color-text-strong: var(--color-ocean-ink);
  --color-text-muted: var(--color-muted-ink);
  --color-text-inverse: var(--color-paper-white);
  --color-action-primary: var(--color-postmark-coral);
  --color-action-primary-hover: var(--color-postmark-coral-hover);
  --color-action-secondary: var(--color-ocean-ink);
  --color-border-default: rgba(18, 63, 59, 0.16);
  --color-border-strong: rgba(18, 63, 59, 0.42);
  --color-accent-gold: var(--color-sunset-gold);
  --color-accent-palm: var(--color-palm);

  /* --- Typography ---
     Instrument Serif carries every display voice: hero, section headings,
     editorial quotes, story titles. Manrope carries everything utilitarian.

     It ships a single weight (400) plus a true italic, so nothing on a display
     element may ask for 500 or 600 — the browser would synthesise it and the
     smeared result is obvious at heading sizes. Every heading tier in section
     6 sets `font-weight: 400` for that reason. */
  --font-display-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-body-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --font-display: clamp(4rem, 6vw, 5rem);
  --font-h1: clamp(3.5rem, 5vw, 4rem);
  --font-h2: clamp(2.5rem, 4vw, 3rem);
  --font-h3: clamp(1.6rem, 2.5vw, 1.9rem);
  --font-h4: clamp(1.15rem, 1.5vw, 1.35rem);
  --font-body-large: 1.25rem;
  --font-body: 1.0625rem;
  --font-small: 0.875rem;
  --font-label: 0.8125rem;

  /* --- Spacing (8px foundation) --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-9: 4.5rem;
  --space-12: 6rem;
  --space-14: 7rem;
  --space-18: 9rem;

  /* --- Layout --- */
  --container-max: 1480px;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);
  --grid-gutter: clamp(1.25rem, 2vw, 2rem);

  /* --- Radii --- */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 20px;
  --radius-card: 20px;
  --radius-pill: 999px;

  /* --- Shadows --- */
  --shadow-paper: 0 8px 24px rgba(18, 63, 59, 0.08);
  --shadow-card: 0 16px 40px rgba(18, 63, 59, 0.12);
  --shadow-float: 0 24px 60px rgba(18, 63, 59, 0.16);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 0.72, 0.28, 1);
  --ease-paper: cubic-bezier(0.34, 0.9, 0.3, 1);
  /* An even, near-linear curve. The planner's timeline sweeps on this so
     every letter and payment moves at one steady rate, with just enough
     softening at each end to avoid a mechanical start and stop. */
  --ease-even: cubic-bezier(0.4, 0.05, 0.6, 0.95);
  --dur-micro: 160ms;
  --dur-component: 340ms;
  --dur-narrative: 760ms;

  /* --- Header height. JS measures the real header and overwrites this;
         the fallback keeps the layout correct with JS disabled. --- */
  --header-height: 96px;

  /* --- Tropical art direction -------------------------------------------
     Foliage intensity is expressed as one opacity token per zone so the
     brief's "high in the hero, moderate mid-page, restrained at the FAQ,
     high again at the final CTA" rhythm is set in one place. --- */
  --foliage-hero: 1;
  --foliage-mid: 0.82;
  --foliage-quiet: 0.4;
  --foliage-shadow: 0.5;

  /* Sway timings. Every drifting botanical picks one of these, so nothing
     on the page shares a phase and the movement never reads as a pulse. */
  --sway-slow: 17s;
  --sway-mid: 13s;
  --sway-fast: 9s;

  /* Layer order inside a section that stacks foliage over content. */
  --z-foliage-back: 0;
  --z-content: 2;
  --z-foliage-front: 5;
}


/* ==========================================================================
   3. RESET AND BASE STYLES
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--space-3));
}

body {
  margin: 0;
  background-color: var(--color-background-default);
  color: var(--color-text-default);
  font-family: var(--font-body-family);
  font-size: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain — a single repeating gradient, cheap to composite */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(94deg, rgba(18, 63, 59, 0.018) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(4deg, rgba(213, 162, 59, 0.014) 0 3px, transparent 3px 7px);
}

img,
svg,
picture { max-width: 100%; display: block; }

img { height: auto; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

fieldset { border: 0; }

button,
input {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

a { color: inherit; }

::selection {
  background: var(--color-warm-sand);
  color: var(--color-ocean-ink);
}

:focus-visible {
  outline: 3px solid var(--color-sunset-gold);
  outline-offset: 3px;
  border-radius: 3px;
}


/* ==========================================================================
   4. ACCESSIBILITY UTILITIES
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -110%);
  z-index: 200;
  padding: var(--space-2) var(--space-3);
  background: var(--color-ocean-ink);
  color: var(--color-text-inverse);
  font-size: var(--font-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 0 0 var(--radius-small) var(--radius-small);
  transition: transform var(--dur-micro) var(--ease-out);
}

.skip-link:focus-visible { transform: translate(-50%, 0); }


/* ==========================================================================
   5. LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  position: relative;
  z-index: 2;
}

section { position: relative; }

/* Asset placeholders — intentional, labelled, developer-facing */
.asset-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-1);
  padding: var(--space-3);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-medium);
  background-color: var(--color-sea-mist);
  background-image:
    repeating-linear-gradient(135deg, rgba(18, 63, 59, 0.05) 0 10px, transparent 10px 20px);
  color: var(--color-text-strong);
  overflow: hidden;
}

.asset-placeholder::before {
  content: 'Asset needed';
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-ocean-ink);
  color: var(--color-text-inverse);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.asset-placeholder--portrait { aspect-ratio: 3 / 4; }
.asset-placeholder--square   { aspect-ratio: 1 / 1; }
.asset-placeholder--landscape { aspect-ratio: 4 / 3; }

.asset-placeholder__label {
  font-family: var(--font-display-family);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
}

.asset-placeholder__note {
  font-size: var(--font-label);
  line-height: 1.45;
  color: var(--color-text-muted);
}

.asset-placeholder code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  background: rgba(255, 253, 248, 0.7);
  padding: 1px 4px;
  border-radius: 3px;
}

/* --- Sticker icon system -----------------------------------------------
   One family for every mark on the page, from the 20px envelope in the
   announcement bar to the 68px product-fact icons: heavy ink outline,
   flat brand-colour fills, radiating shine strokes — hand-cut sticker
   rather than a UI glyph.

   All icons share a single 32x32 viewBox so shapes stay comparable, and
   stroke weight is set per size band so the outline reads at roughly the
   same optical thickness whatever the icon is scaled to.

   Every icon drifts gently by default. On hover the ambient loop is
   dropped and each part transitions to a distinct pose, so the resting
   and active states never look like the same motion. */

/* The die-cut rim is what makes these read as stickers rather than icons:
   four zero-blur paper drop-shadows trace the union silhouette, a fifth
   soft one fills the diagonal gaps, and a last ink shadow lifts the whole
   thing off the page. Because drop-shadow follows the rendered alpha, the
   rim wraps the combined artwork, not each individual shape. */
.funky {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-box: fill-box;
  transform-origin: center;
  filter:
    drop-shadow(1.6px 0 0 var(--color-paper-white))
    drop-shadow(-1.6px 0 0 var(--color-paper-white))
    drop-shadow(0 1.6px 0 var(--color-paper-white))
    drop-shadow(0 -1.6px 0 var(--color-paper-white))
    drop-shadow(0 0 1.4px var(--color-paper-white))
    drop-shadow(0 2px 1.6px rgba(18, 63, 59, 0.26));
  /* Stickers get stuck on slightly crooked; `rotate` is its own property
     so it composes with the drift animation instead of overwriting it. */
  rotate: -3deg;
  transition: rotate 520ms var(--ease-paper);
}

.funky-host:nth-child(even) .funky,
.quiz__grid > li:nth-child(even) .funky { rotate: 2.5deg; }

/* Peeling straight on hover reads as picking the sticker up. */
.funky-host:hover .funky,
.funky-host:focus-visible .funky { rotate: 0deg; }

.funky__ink {
  stroke: var(--color-ocean-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.funky--sm .funky__ink { stroke-width: 2.9; }
.funky--md .funky__ink { stroke-width: 2.2; }
.funky--lg .funky__ink { stroke-width: 1.8; }
.funky--illo .funky__ink { stroke-width: 3.1; }

/* Vinyl sheen across the main filled shape. */
.funky__gloss {
  fill: var(--color-paper-white);
  opacity: 0.38;
}

.funky__none   { fill: none; }
.funky__paper  { fill: var(--color-paper-white); }
.funky__gold   { fill: var(--color-sunset-gold); }
.funky__coral  { fill: var(--color-soft-coral); }
.funky__blush  { fill: var(--color-shell-blush); }
.funky__lagoon { fill: var(--color-deep-lagoon); }
.funky__sea    { fill: var(--color-sea-mist); }
.funky__sand   { fill: var(--color-warm-sand); }
.funky__palm   { fill: var(--color-palm); }
.funky__pupil  { fill: var(--color-ocean-ink); }
.funky__ocean  { fill: var(--color-ocean-ink); }
.funky__cheek  { fill: var(--color-soft-coral); opacity: 0.75; }

.funky__dot {
  fill: var(--color-paper-white);
  stroke: var(--color-ocean-ink);
  stroke-width: 1.6;
}

.funky__num {
  fill: var(--color-paper-white);
  font-family: var(--font-body-family);
  font-size: 6.4px;
  font-weight: 800;
}

/* Every moving part turns about its own centre and eases the same way. */
.funky__spin,
.funky__pop,
.funky__daisy,
.funky__bow,
.funky__shine,
.funky__tilt-a,
.funky__tilt-b,
.funky__wave-a,
.funky__wave-b,
.funky__flap,
.funky__flag,
.funky__smile {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform 520ms var(--ease-paper),
    opacity 380ms var(--ease-out);
}

.funky__tilt-a { transform: rotate(-7deg); }
.funky__tilt-b { transform: rotate(4deg); }

/* --- Ambient: slow, low amplitude, transform and opacity only --- */

@keyframes fk-drift   { 0%, 100% { transform: translateY(0); }        50% { transform: translateY(-1.2px); } }
@keyframes fk-pulse   { 0%, 100% { transform: scale(1); }             50% { transform: scale(1.055); } }
@keyframes fk-twinkle { 0%, 100% { opacity: 0.32; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1); } }
@keyframes fk-roll    { 0%, 100% { transform: rotate(-5deg); }        50% { transform: rotate(5deg); } }
@keyframes fk-sway    { 0%, 100% { transform: rotate(-2deg); }        50% { transform: rotate(2deg); } }
@keyframes fk-lap     { 0%, 100% { transform: translateX(-1.4px); }   50% { transform: translateX(1.4px); } }

.funky        { animation: fk-drift 7s ease-in-out infinite; }
.funky__pop   { animation: fk-pulse 6.5s ease-in-out infinite; }
.funky__shine { animation: fk-twinkle 4.8s ease-in-out infinite; }
.funky__spin  { animation: fk-roll 11s ease-in-out infinite; }
.funky__daisy { animation: fk-sway 9s ease-in-out infinite; }
.funky__wave-a { animation: fk-lap 6s ease-in-out infinite; }
.funky__wave-b { animation: fk-lap 6s ease-in-out infinite reverse; }

/* Desynchronise neighbours so a row never pulses in lockstep. */
.funky-host:nth-child(2) .funky { animation-delay: -1.6s; }
.funky-host:nth-child(3) .funky { animation-delay: -3.1s; }
.funky-host:nth-child(4) .funky { animation-delay: -4.7s; }
.funky-host:nth-child(5) .funky { animation-delay: -2.3s; }
.funky-host:nth-child(6) .funky { animation-delay: -5.4s; }
.funky-host:nth-child(7) .funky { animation-delay: -0.8s; }

/* Quiz stamps are wrapped in list items, so stagger from the wrapper. */
.quiz__grid > li:nth-child(2) .funky { animation-delay: -1.6s; }
.quiz__grid > li:nth-child(3) .funky { animation-delay: -3.1s; }
.quiz__grid > li:nth-child(4) .funky { animation-delay: -4.7s; }
.quiz__grid > li:nth-child(5) .funky { animation-delay: -2.3s; }
.quiz__grid > li:nth-child(6) .funky { animation-delay: -5.4s; }
.quiz__grid > li:nth-child(7) .funky { animation-delay: -0.8s; }

/* --- Hover / focus: drop the loop, ease into a different pose ---
   Clearing the animation lets the transition take over from wherever the
   ambient loop had frozen, so the handover reads as one continuous move. */

.funky-host:hover .funky,
.funky-host:focus-visible .funky,
.funky-host:hover .funky *,
.funky-host:focus-visible .funky * { animation: none; }

.funky-host:hover .funky__spin,
.funky-host:focus-visible .funky__spin { transform: rotate(38deg); }

.funky-host:hover .funky__pop,
.funky-host:focus-visible .funky__pop { transform: scale(1.14) rotate(-8deg); }

.funky-host:hover .funky__shine,
.funky-host:focus-visible .funky__shine { opacity: 1; transform: scale(1.18); }

.funky-host:hover .funky__daisy,
.funky-host:focus-visible .funky__daisy { transform: rotate(26deg); }

.funky-host:hover .funky__bow,
.funky-host:focus-visible .funky__bow { transform: scale(1.09) translateY(-0.8px); }

.funky-host:hover .funky__tilt-a,
.funky-host:focus-visible .funky__tilt-a { transform: rotate(-13deg) translate(-1.4px, 0.6px); }

.funky-host:hover .funky__tilt-b,
.funky-host:focus-visible .funky__tilt-b { transform: rotate(9deg) translate(1.4px, -0.6px); }

.funky-host:hover .funky__wave-a,
.funky-host:focus-visible .funky__wave-a { transform: translateX(-2.6px); }

.funky-host:hover .funky__wave-b,
.funky-host:focus-visible .funky__wave-b { transform: translateX(2.6px); }

.funky-host:hover .funky__smile,
.funky-host:focus-visible .funky__smile { transform: scaleY(1.5) translateY(0.3px); }


/* ==========================================================================
   6. TYPOGRAPHY
   ========================================================================== */

/* Every heading on the page is cut from the hero setline: display face,
   weight 400, tight tracking, balanced line breaks. Only the size tier
   changes between hero, section and card headings.

   Leading was 1.1 here and as low as 1.04 on the hero titles, which at
   Instrument Serif's x-height put the ascenders of a second line into the
   descenders of the first. Two floors now: 1.16 for the display tiers, 1.3
   for the smaller headings, because large type needs proportionally less
   leading than small type, not the same amount. */
h1, h2, h3 {
  font-family: var(--font-display-family);
  font-weight: 400;
  color: var(--color-text-strong);
  line-height: 1.16;
  /* Tracking opened up from -0.03em: at display sizes the tighter cut made
     adjacent letters read as if they were touching. */
  letter-spacing: -0.008em;
  text-wrap: balance;
}

/* h4–h6 carry no display cut of their own, so they only need the same small
   amount of air between letters — and the small-heading leading floor, which
   they previously inherited from the body rule. */
h4, h5, h6 {
  line-height: 1.3;
  letter-spacing: 0.008em;
}

/* Tier 2 — section headings. Title-case setline, same as the hero. */
.section-head__title,
.young-readers__title,
.definition__question,
.mailbox__title,
.quiz__title,
.arrives__title,
.brand-story__title,
.faq__title {
  font-size: var(--font-h2);
  text-transform: capitalize;
}

/* The italic script line, as on the hero: a signature over printed type.

   The tuck was -0.18em, which on a two-line hero heading dragged the italic
   ascenders straight through the descenders of the printed line above it.
   Kept, but shallow: enough that the accent still reads as signed under the
   line rather than set as a separate one. */
.title-accent {
  display: block;
  margin-top: -0.06em;
  font-size: 1.06em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.006em;
  text-transform: capitalize;
  color: var(--color-action-primary);
}

/* Tier 2.5 — the sub-headings that open a band inside a section (the gift
   journey, the payment choice). One step under a section heading so the
   hierarchy inside the long gift and young-reader sections stays readable. */
.gift-timeline__title,
.journey__aeo-q,
.arrives__aeo-q {
  font-family: var(--font-display-family);
  font-size: var(--font-h3);
  font-weight: 400;
  line-height: 1.30;
  letter-spacing: -0.008em;
  color: var(--color-text-strong);
}

/* Tier 3 — card and panel headings. Same face and cut, sentence case. */
.facts__title,
.reader-benefit__title,
.gift-explorer__title {
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  font-weight: 400;
  line-height: 1.30;
  letter-spacing: -0.004em;
  color: var(--color-text-strong);
}

.eyebrow {
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-action-primary);
  margin-bottom: var(--space-2);
}

.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.eyebrow--rule::before {
  content: '';
  width: clamp(28px, 4vw, 52px);
  height: 1px;
  background: currentColor;
  flex: none;
}

/* Centred variant: the rule closes on both sides so the label sits balanced
   over centred copy instead of being pushed right by a single lead-in dash. */
.eyebrow--centered { justify-content: center; }

.eyebrow--centered::after {
  content: '';
  width: clamp(28px, 4vw, 52px);
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--inverse { color: var(--color-sunset-gold); }

.section-head {
  max-width: 54rem;
  margin-bottom: var(--space-9);
}

.section-head__title {
  margin-bottom: var(--space-3);
}

.section-head__intro {
  font-size: var(--font-body-large);
  color: var(--color-text-muted);
  max-width: 46rem;
}

.section-head--inverse .section-head__title { color: var(--color-text-inverse); }
.section-head--inverse .section-head__intro { color: rgba(255, 253, 248, 0.78); }


/* ==========================================================================
   7. BUTTONS AND LINKS
   ========================================================================== */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 52px;
  padding: 0.85rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius-medium);
  font-size: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;

  --btn-lift: 0px;
  --btn-rx: 0deg;
  --btn-ry: 0deg;
  --btn-sheen: 0;
  --btn-sheen-x: 50%;
  --btn-sheen-y: 50%;

  /* Base stays 2D so idle buttons are not promoted to their own layer;
     only the hovered one picks up the 3D tilt. */
  transform: translateY(var(--btn-lift));
  transition:
    background-color 260ms var(--ease-out),
    border-color 260ms var(--ease-out),
    color 260ms var(--ease-out),
    transform 280ms var(--ease-out);
}

/* Paper sheen that tracks the pointer. JS writes the position; the button's
   own scallop mask clips it, so the light stops at the perforated edge.
   z-index -1 under an isolated parent puts it over the fill, under the label. */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle 6.5rem at var(--btn-sheen-x) var(--btn-sheen-y),
    rgba(255, 253, 248, 0.32),
    rgba(255, 253, 248, 0) 68%
  );
  opacity: var(--btn-sheen);
  transition: opacity 320ms var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
  --btn-lift: -2px;
  --btn-sheen: 1;
  /* Tilt is tiny — the card leans toward the cursor rather than flipping. */
  transform: perspective(700px) rotateX(var(--btn-rx)) rotateY(var(--btn-ry)) translateY(var(--btn-lift));
}

.btn:active { --btn-lift: 0px; }

/* --- Arrow slot ---------------------------------------------------------
   Two arrows share a clipped 20px slot. On hover the resting arrow leaves
   to the right and its twin rides in from the left — from behind the last
   word of the label — so the mark loops rather than just nudging. */
.btn__arrow,
.text-link__arrow {
  position: relative;
  display: block;
  width: 20px;
  height: 12px;
  flex: none;
  overflow: hidden;
}

.btn__arrow-icon {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 460ms var(--ease-paper);
}

.btn__arrow-icon--ghost { transform: translateX(-160%); }

.btn:hover .btn__arrow-icon,
.btn:focus-visible .btn__arrow-icon,
.text-link:hover .btn__arrow-icon,
.text-link:focus-visible .btn__arrow-icon { transform: translateX(160%); }

.btn:hover .btn__arrow-icon--ghost,
.btn:focus-visible .btn__arrow-icon--ghost,
.text-link:hover .btn__arrow-icon--ghost,
.text-link:focus-visible .btn__arrow-icon--ghost {
  transform: translateX(0);
  transition-delay: 60ms;
}

/* Four solid tickets. Coral leads, ocean ink is the neutral partner on
   light panels, warm sand plays the same role on dark ones, gold marks
   the journey builder. No variant carries an outline. */
.btn--primary {
  background: var(--color-action-primary);
  color: var(--color-paper-white);
}

.btn--primary:hover {
  background: var(--color-action-primary-hover);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--color-ocean-ink);
  color: var(--color-paper-white);
}

.btn--secondary:hover {
  background: var(--color-deep-lagoon);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--color-warm-sand);
  color: var(--color-ocean-ink);
}

.btn--ghost:hover {
  background: var(--color-paper-white);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--color-sunset-gold);
  color: var(--color-ocean-ink);
}

.btn--gold:hover {
  background: #C08F2A;
  transform: translateY(-2px);
}

/* --- Ticket / scalloped edge -------------------------------------------
   Four tiled radial-gradient mask layers punch notches along each edge and
   `mask-composite: intersect` keeps only the area every layer agrees on.

   `mask-repeat: round` is what stops the notches being sliced: it nudges
   the tile size so a whole number always fits the button, whatever its
   width.

   The shape is deliberately STATIC. Animating the pitch made the whole
   silhouette shimmer on hover, and a mask cannot carry a hairline border
   without shredding it into stray dashes — so every button is a solid
   ticket and hierarchy comes from fill, not outline. Hover is colour, a
   2px lift and the arrow loop; nothing about the edge moves. */

.btn {
  --scallop-r: 4.5px;
  --scallop-p: 12px;
  /* Phase offset of the perforation, written by JS from pointer velocity.
     Because the mask layers tile, shifting their position slides the
     notches along each edge without changing the pitch. */
  --scallop-ox: 0px;
  --scallop-oy: 0px;
}

@supports (mask-composite: intersect) or (-webkit-mask-composite: source-in) {
  .btn {
    border: 0;
    /* Corner radius is applied to the background before the mask runs, so
       it survives masking — that is what removes the hard square corner
       between the end scallops. Matching it to half the pitch means the
       corner arc ends exactly where the first bite begins. */
    border-radius: calc(var(--scallop-p) / 2);
    box-shadow: none;

    /* Holes sit at the tile CENTRE so each tile contains a full semicircle.
       Anchored at the tile origin instead, only a quarter of the circle
       falls inside the tile and the repeat reads as sawtooth. */
    --scallop-edge: radial-gradient(var(--scallop-r) at 50% 0, #0000 97%, #000 100%);
    --scallop-edge-b: radial-gradient(var(--scallop-r) at 50% 100%, #0000 97%, #000 100%);
    --scallop-edge-l: radial-gradient(var(--scallop-r) at 0 50%, #0000 97%, #000 100%);
    --scallop-edge-r: radial-gradient(var(--scallop-r) at 100% 50%, #0000 97%, #000 100%);

    -webkit-mask-image: var(--scallop-edge), var(--scallop-edge-b), var(--scallop-edge-l), var(--scallop-edge-r);
    mask-image: var(--scallop-edge), var(--scallop-edge-b), var(--scallop-edge-l), var(--scallop-edge-r);
    -webkit-mask-size: var(--scallop-p) 100%, var(--scallop-p) 100%, 100% var(--scallop-p), 100% var(--scallop-p);
    mask-size: var(--scallop-p) 100%, var(--scallop-p) 100%, 100% var(--scallop-p), 100% var(--scallop-p);
    /* Horizontal edges take the X phase, vertical edges the Y phase, so the
       notches travel along whichever edge runs with the pointer. */
    -webkit-mask-position:
      var(--scallop-ox) 0, var(--scallop-ox) 100%,
      0 var(--scallop-oy), 100% var(--scallop-oy);
    mask-position:
      var(--scallop-ox) 0, var(--scallop-ox) 100%,
      0 var(--scallop-oy), 100% var(--scallop-oy);
    -webkit-mask-repeat: round;
    mask-repeat: round;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .btn:hover { box-shadow: none; }

  /* A mask clips the outline, so focus is drawn as an inset ticket rule. */
  .btn:focus-visible { outline: none; }

  .btn::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px dashed transparent;
    border-radius: 3px;
    pointer-events: none;
    transition: border-color 240ms var(--ease-out);
  }

  .btn:focus-visible::after { border-color: currentColor; }

  .btn--compact { padding-inline: 1.5rem; }
}

.btn--compact {
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  font-size: var(--font-small);
}

.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
  position: relative;
}

.text-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 10px;
  width: calc(100% - 1.6em);
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 460ms var(--ease-out);
}

.text-link:hover::before,
.text-link:focus-visible::before { transform: scaleX(0.35); }


/* ==========================================================================
   8. HEADER AND NAVIGATION
   ========================================================================== */

.announcement {
  position: relative;
  z-index: 60;
  background: var(--color-ocean-ink);
  color: var(--color-text-inverse);
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 42px;
  padding: 0.4rem var(--page-gutter);
  font-size: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
}

.announcement__icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}

/* The die-cut paper rim already separates the ink outline from the deep
   bar, so the sticker keeps its normal colours here.

   The envelope eases between its rest and hover poses on a long, shallow
   loop — enough to read as alive, too slow and too small to pull the eye
   away from the message beside it. */
@keyframes ann-body {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.09) rotate(-5deg); }
}

@keyframes ann-flap {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.1px); }
}

@keyframes ann-shine {
  0%, 100% { opacity: 0.26; transform: scale(0.9); }
  50%      { opacity: 1;    transform: scale(1.16); }
}

.announcement__icon .funky__pop   { animation: ann-body 5.6s ease-in-out infinite; }
.announcement__icon .funky__flap  { animation: ann-flap 5.6s ease-in-out infinite; }
.announcement__icon .funky__shine { animation: ann-shine 5.6s ease-in-out infinite; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90; /* above the mobile menu so the toggle stays reachable */
  background: transparent;
  transition:
    background-color var(--dur-component) var(--ease-out),
    box-shadow var(--dur-component) var(--ease-out),
    border-color var(--dur-component) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(247, 242, 232, 0.94);
  border-bottom-color: var(--color-border-default);
  box-shadow: 0 2px 20px rgba(18, 63, 59, 0.06);
}

.site-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-2) var(--page-gutter);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}


/* Brand lockup — the supplied logo is a stacked mark, so it sets the header
   height rather than sitting beside a wordmark. */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

.brand__logo {
  width: auto;
  height: clamp(56px, 5vw, 74px);
}


.site-nav { margin-inline: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.6rem);
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-action-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-micro) var(--ease-out);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: none;
}

.site-header__utility {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  font-size: var(--font-label);
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease-out);
}

.site-header__icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
}

.site-header__utility:hover { color: var(--color-action-primary); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.5rem 0.9rem;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  color: var(--color-text-strong);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-micro) var(--ease-out), opacity var(--dur-micro) var(--ease-out);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--color-island-ivory);
  overflow-y: auto;
  opacity: 0;
  transition: opacity var(--dur-component) var(--ease-out);
}

.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }

.mobile-menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: calc(var(--header-height) + var(--space-4)) var(--page-gutter) var(--space-6);
}

.mobile-menu__list { display: grid; gap: 0; }

.mobile-menu__list a {
  display: block;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-default);
  font-family: var(--font-display-family);
  font-size: 1.75rem;
  color: var(--color-text-strong);
  text-decoration: none;
}

.mobile-menu__foot { margin-top: auto; display: grid; gap: var(--space-3); }

/* Centred as a pair beneath the block CTA, so the foot of the drawer reads as
   one stack rather than a button with two links tucked under its left edge. */
.mobile-menu__utilities {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  font-size: var(--font-small);
  font-weight: 600;
}

.mobile-menu__utility {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.35rem;
  color: var(--color-text-strong);
  text-decoration: none;
}

.mobile-menu__utility-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.mobile-menu__utility-icon .funky { width: 100%; height: 100%; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  padding: 0.75rem var(--page-gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(247, 242, 232, 0.96);
  border-top: 1px solid var(--color-border-default);
  transform: translateY(110%);
  transition: transform var(--dur-component) var(--ease-paper);
}

.sticky-cta.is-visible { transform: translateY(0); }


/* ==========================================================================
   9. HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  /* Sized from the hero's own distance down the document, not from the
     announcement bar's height. Those two are not the same number — the
     bar measured 55px while the hero actually started at 42px because of
     the negative margin pulling it under the sticky header — and the 13px
     difference showed as a white band of the next section at the foot of
     the fold. `dvh` on top of that keeps it exact when a mobile URL bar
     collapses and the viewport grows. */
  min-height: calc(100svh - var(--hero-offset, 42px));
  min-height: calc(100dvh - var(--hero-offset, 42px));
  padding-block: clamp(var(--space-2), 2.4vh, var(--space-6)) clamp(var(--space-6), 9vh, var(--space-12));
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(247, 222, 210, 0.5) 0%, transparent 56%),
    radial-gradient(90% 70% at 10% 92%, rgba(221, 232, 227, 0.7) 0%, transparent 58%),
    var(--color-island-ivory);
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + clamp(var(--space-3), 3.5vh, var(--space-6)));
}

/* The copy column sits above the scatter, so as a full-width block it was
   swallowing every hover meant for a letter. It goes transparent to the
   pointer; the copy itself takes it back for the CTAs and links. */
.hero__inner {
  position: relative;
  z-index: 4;
  pointer-events: none;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- Centre column ----------------------------------------------------- */

.hero__copy {
  max-width: 42rem;
  text-align: center;
  pointer-events: auto;
}

.hero__eyebrow { justify-content: center; }

/* Tier 1 — the one display-size heading on the page. Cut and case come
   from the shared heading system; only the fluid size is local. */
.hero__title {
  font-size: clamp(2.3rem, min(5.2vw, 8.6vh), 4.3rem);
  text-transform: capitalize;
  margin-bottom: var(--space-3);
}

.hero__lede {
  font-size: clamp(0.98rem, min(1.15vw, 2.1vh), 1.125rem);
  color: var(--color-text-muted);
  max-width: 31rem;
  margin: 0 auto var(--space-3);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.hero__facts {
  display: inline-block;
  font-size: var(--font-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-strong);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-default);
}
figure.synopsis-plate.is-revealed {
    top: 0px !important;
}
section#synopsis {
    padding: 80px 0px;
}


/* Short viewports: tighten the hero's rhythm so the pinned cue always
   clears the copy. Widening the lede drops it from three lines to two,
   which buys more room than shaving margins alone. */
@media (max-height: 820px) {
  .hero__copy .eyebrow { margin-bottom: var(--space-1); }
  .hero__title { margin-bottom: var(--space-2); }
  .hero__lede { max-width: 40rem; margin-bottom: var(--space-2); }
  .hero__actions { margin-bottom: var(--space-2); }
  .hero__facts { padding-top: var(--space-1); }
}

/* --- Scroll cue -------------------------------------------------------- */

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 3vh, 34px);
  translate: -50% 0;
  z-index: 6;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  min-height: 48px;
  color: var(--color-text-strong);
  text-decoration: none;
  opacity: 1;
  transition: opacity 420ms var(--ease-out), color var(--dur-micro) var(--ease-out);
}

.hero__scroll:hover { color: var(--color-action-primary); }

.hero__scroll-label {
  font-size: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero__scroll-arrow {
  display: block;
  width: 12px;
  height: 26px;
}

.hero__scroll-arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cue-bob 1.9s ease-in-out infinite;
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(-3px); opacity: 0.55; }
  50%      { transform: translateY(4px);  opacity: 1; }
}

/* Once the hero is behind you the cue has done its job: it fades out and
   stops moving rather than nagging for the rest of the page. */
.hero.is-scrolled-past .hero__scroll { opacity: 0; pointer-events: none; }
.hero.is-scrolled-past .hero__scroll-arrow svg { animation: none; }

/* --- Scattered letters -------------------------------------------------- */

.hero__scatter {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* The canvas stays transparent to the pointer; the letters themselves do
   not, so hovering one can drive the floating CTA. */
.letter {
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
}

/* While the floating CTA is standing in for the pointer, the native arrow
   would just duplicate it. */
.hero__scatter.is-cursor-led .letter { cursor: none; }

.letter:focus-visible { outline: 3px solid var(--color-sunset-gold); outline-offset: 6px; }

/* --- Floating cursor CTA ------------------------------------------------
   A real ticket button that rides the pointer across the letter canvas and
   fades out when it leaves. Purely a pointer affordance: keyboard users get
   the letter's own focus ring and its visually-hidden label instead. */
/* A circular postmark rather than a chip: the label runs round the rim on
   a textPath and turns slowly, with the arrow held still in the middle —
   the same stamp language as the story cards. Deliberately not a `.btn`,
   since the SVG carries the whole shape. */
.hero__cursor-cta {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 48;
  display: block;
  width: 88px;
  height: 88px;
  pointer-events: none;
  opacity: 0;
  translate: var(--cta-x, 0px) var(--cta-y, 0px);
  scale: 0.8;
  filter: drop-shadow(0 8px 20px rgba(18, 63, 59, 0.32));
  transition: opacity 220ms var(--ease-out), scale 340ms var(--ease-paper);
}

.hero__cursor-cta.is-visible { opacity: 1; scale: 1; }

.cursor-stamp { display: block; width: 100%; height: 100%; }

.cursor-stamp__disc { fill: var(--color-action-primary); }


.cursor-stamp__text {
  fill: var(--color-paper-white);
  font-family: var(--font-body-family);
  font-size: 11px;
  font-weight: 800;
  /* textLength on the path does the spacing, so no letter-spacing here —
     the two would compound and the ring would overshoot. */
}

.cursor-stamp__ring {
  transform-box: view-box;
  transform-origin: 60px 60px;
  animation: stamp-turn 14s linear infinite;
}

@keyframes stamp-turn {
  to { transform: rotate(360deg); }
}

.cursor-stamp__arrow {
  fill: none;
  stroke: var(--color-paper-white);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.letter {
  position: absolute;
  width: var(--letter-w);
  /* Pointer parallax and scroll travel both live on the wrapper; the float
     animation lives on the card inside, so the two never overwrite each
     other's transform. */
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)), 0);
  will-change: transform;
}

.letter__card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-paper-white);
  box-shadow: var(--shadow-card);
  animation: letter-float var(--float-dur, 9s) ease-in-out var(--float-delay, 0s) infinite;
}

.letter__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Biased upward so a round crop lands on a cover's artwork rather than
     slicing through the title lettering at its foot. */
  object-position: 50% 36%;
  display: block;
}

@keyframes letter-float {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%      { transform: rotate(calc(var(--rot, 0deg) + var(--rot-swing, 1.6deg))) translateY(-17px); }
}

/* Stickers sit outside the card so they overhang the shaped edge. */
.letter__sticker {
  position: absolute;
  z-index: 2;
  display: block;
  width: var(--sticker-w, 48px);
  height: var(--sticker-w, 48px);
}

.letter__sticker .funky { animation-duration: 8s; }

.funky__num--ink { fill: var(--color-ocean-ink); }

/* --- Letter shapes -----------------------------------------------------
   Four cut treatments so the scatter reads as a handful of different
   things rather than one card repeated. The perforated one reuses the
   button's scallop mask, which ties the two together. */

/* A soft, uneven blob — organic without reading as a star or a splat. */
.letter--shape-lobed .letter__card {
  aspect-ratio: 1 / 0.98;
  border-radius: 58% 42% 47% 53% / 46% 54% 46% 54%;
}

.letter--shape-blob .letter__card {
  border-radius: 62% 38% 44% 56% / 54% 46% 54% 46%;
  aspect-ratio: 1 / 1.06;
}

.letter--shape-arch .letter__card {
  border-radius: 50% 50% var(--radius-medium) var(--radius-medium);
  aspect-ratio: 3 / 4;
}

.letter--shape-perf .letter__card {
  aspect-ratio: 3 / 4;
  border-radius: 5px;
}

@supports (mask-composite: intersect) or (-webkit-mask-composite: source-in) {
  .letter--shape-perf .letter__card {
    --lp: 10px;
    --lr: 3.6px;
    -webkit-mask-image:
      radial-gradient(var(--lr) at 50% 0, #0000 97%, #000 100%),
      radial-gradient(var(--lr) at 50% 100%, #0000 97%, #000 100%),
      radial-gradient(var(--lr) at 0 50%, #0000 97%, #000 100%),
      radial-gradient(var(--lr) at 100% 50%, #0000 97%, #000 100%);
    mask-image:
      radial-gradient(var(--lr) at 50% 0, #0000 97%, #000 100%),
      radial-gradient(var(--lr) at 50% 100%, #0000 97%, #000 100%),
      radial-gradient(var(--lr) at 0 50%, #0000 97%, #000 100%),
      radial-gradient(var(--lr) at 100% 50%, #0000 97%, #000 100%);
    -webkit-mask-size: var(--lp) 100%, var(--lp) 100%, 100% var(--lp), 100% var(--lp);
    mask-size: var(--lp) 100%, var(--lp) 100%, 100% var(--lp), 100% var(--lp);
    -webkit-mask-position: 0 0, 0 100%, 0 0, 100% 0;
    mask-position: 0 0, 0 100%, 0 0, 100% 0;
    -webkit-mask-repeat: round;
    mask-repeat: round;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    /* A mask would clip the drop shadow, so the paper lift moves to filter. */
    box-shadow: none;
    filter: drop-shadow(0 14px 26px rgba(18, 63, 59, 0.16));
  }
}

/* --- Placement ---------------------------------------------------------
   Letters live in the outer margins so the centre column always has clear
   air around it. Left cluster reads top-down, right cluster bottom-up. */

.letter--01 {
  --rot-swing: 2deg;
  --letter-w: clamp(120px, 13vw, 208px);
  --rot: -6deg;
  --float-dur: 9.5s;
  --sticker-w: clamp(34px, 3.5vw, 58px);
  top: 17%;
  left: 4%;
}
.letter--01 .letter__sticker { right: -12%; top: -8%; }

.letter--02 {
  --rot-swing: -1.8deg;
  --letter-w: clamp(104px, 11.5vw, 184px);
  --rot: 5deg;
  --float-dur: 11s;
  --float-delay: -2.4s;
  --sticker-w: clamp(30px, 3.1vw, 52px);
  top: 20%;
  right: 15%;
}
.letter--02 .letter__sticker { left: -10%; bottom: 4%; }

.letter--03 {
  --rot-swing: 1.4deg;
  --letter-w: clamp(126px, 13.5vw, 214px);
  --rot: 4deg;
  --float-dur: 10.5s;
  --float-delay: -5.1s;
  --sticker-w: clamp(32px, 3.3vw, 54px);
  bottom: 9%;
  left: 15%;
}
.letter--03 .letter__sticker { right: -9%; top: 8%; }


.letter--05 {
  --rot-swing: -2.2deg;
  --letter-w: clamp(118px, 12.6vw, 200px);
  --rot: 7deg;
  --float-dur: 12s;
  --float-delay: -3.6s;
  --sticker-w: clamp(32px, 3.3vw, 54px);
  bottom: 10%;
  right: 4%;
}
.letter--05 .letter__sticker { left: -11%; top: -9%; }


/* --- Wave edge ---------------------------------------------------------
   A flat band at rest; JS grows the crests into it on scroll so the hero's
   hard bottom edge softens as the reader moves. Sits above the letters so
   they slide underneath it. */
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 5;
  display: block;
  width: 100%;
  height: clamp(30px, 4vw, 54px);
  pointer-events: none;
}

.hero__wave path { fill: var(--color-paper-white); }

/* ==========================================================================
   10. PRODUCT FACTS
   ========================================================================== */

.facts {
  background: var(--color-paper-white);
  padding-block: 0 clamp(var(--space-6), 6vw, var(--space-9));
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gutter);
}

.facts__item {
  text-align: center;
}

.facts__icon {
  display: block;
  width: 70px;
  height: 70px;
  margin-inline: auto;
  margin-bottom: var(--space-2);
  transition: transform var(--dur-component) var(--ease-paper);
}

.facts__item:hover .facts__icon { transform: translateY(-4px) rotate(-2deg); }

.facts__title {
  margin-bottom: 0.35rem;
}

.facts__body {
  font-size: var(--font-small);
  color: var(--color-text-muted);
}


/* ==========================================================================
   11. AEO DEFINITION
   ========================================================================== */

.definition {
  background: var(--color-paper-white);
  padding-block: clamp(var(--space-6), 7vw, var(--space-12));
}

.definition__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(var(--space-4), 5vw, var(--space-9));
  align-items: start;
}

.definition__question {
  margin-bottom: var(--space-2);
}

.definition__answer p {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--color-text-strong);
}

/* Torn-off stubs of the buttons: same solid ticket, half the pitch, no
   outline — hierarchy comes from fill here too. They sit crooked like the
   sticker icons and peel straight on hover. */
.definition__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.definition__meta span {
  --pill-fill: var(--color-sea-mist);
  --pill-fill-hover: var(--color-deep-lagoon);
  --pill-ink: var(--color-text-strong);
  --pill-ink-hover: var(--color-paper-white);
  --pill-hole: var(--color-paper-white);
  --pill-hole-hover: var(--color-sunset-gold);
  --pill-tilt: -3deg;

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.05rem;
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pill-ink);
  background: var(--pill-fill);
  border-radius: var(--radius-pill);
  rotate: var(--pill-tilt);
  transition:
    rotate 520ms var(--ease-paper),
    transform 280ms var(--ease-out),
    background-color 260ms var(--ease-out),
    color 260ms var(--ease-out);
}

/* Punched hole, the way a real stub is filed. */
.definition__meta span::before {
  content: '';
  flex: none;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--pill-hole);
  transition: background-color 260ms var(--ease-out);
}

.definition__meta span:nth-child(2) {
  --pill-fill: var(--color-shell-blush);
  --pill-fill-hover: var(--color-action-primary);
  --pill-hole-hover: var(--color-shell-blush);
  --pill-tilt: 2.5deg;
}

.definition__meta span:nth-child(3) {
  --pill-fill: var(--color-warm-sand);
  --pill-fill-hover: var(--color-sunset-gold);
  --pill-ink-hover: var(--color-ocean-ink);
  --pill-hole-hover: var(--color-ocean-ink);
  --pill-tilt: -1.5deg;
}

/* Peels straight and lifts the same 2px as a button, and the pale fill
   cancels to its own saturated parent — each stub keeps its identity
   instead of all three washing out to the same white. */
.definition__meta span:hover {
  rotate: 0deg;
  transform: translateY(-2px);
  background: var(--pill-fill-hover);
  color: var(--pill-ink-hover);
}

.definition__meta span:hover::before { background: var(--pill-hole-hover); }

/* Same four-layer scallop mask as .btn, at half the pitch so a stub reads
   as a smaller tear off the same sheet. The mask clips borders and
   shadows, which is why neither is used above. */
@supports (mask-composite: intersect) or (-webkit-mask-composite: source-in) {
  .definition__meta span {
    --pill-scallop-r: 3.8px;
    --pill-scallop-p: 10px;
    border-radius: calc(var(--pill-scallop-p) / 2);

    --pill-edge: radial-gradient(var(--pill-scallop-r) at 50% 0, #0000 97%, #000 100%);
    --pill-edge-b: radial-gradient(var(--pill-scallop-r) at 50% 100%, #0000 97%, #000 100%);
    --pill-edge-l: radial-gradient(var(--pill-scallop-r) at 0 50%, #0000 97%, #000 100%);
    --pill-edge-r: radial-gradient(var(--pill-scallop-r) at 100% 50%, #0000 97%, #000 100%);

    -webkit-mask-image: var(--pill-edge), var(--pill-edge-b), var(--pill-edge-l), var(--pill-edge-r);
    mask-image: var(--pill-edge), var(--pill-edge-b), var(--pill-edge-l), var(--pill-edge-r);
    -webkit-mask-size:
      var(--pill-scallop-p) 100%, var(--pill-scallop-p) 100%,
      100% var(--pill-scallop-p), 100% var(--pill-scallop-p);
    mask-size:
      var(--pill-scallop-p) 100%, var(--pill-scallop-p) 100%,
      100% var(--pill-scallop-p), 100% var(--pill-scallop-p);
    -webkit-mask-repeat: round;
    mask-repeat: round;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}


/* ==========================================================================
   12. MAILBOX STORY
   ========================================================================== */

/* --- Section stacking ---------------------------------------------------
   The mailbox holds still while "Choose your world" rides up and covers it.
   Pure sticky positioning, so it is tied to the scroll itself rather than
   played as an animation, and reverses on the way back up for free.

   .section-stack wraps exactly the two sections involved, and that is
   load-bearing: a sticky element is only held by its nearest block container,
   so without the wrapper the mailbox's containing block was <main> and it
   stayed pinned behind every section for the rest of the page. Bounded to the
   pair, it releases as soon as the story discovery section ends and normal
   scrolling resumes. */
.section-stack {
  position: relative;
  /* Keep the pair's z-indexes to themselves. Without this, .stories sits at
     z-index 2 in the page's root stacking context and outranks every later
     section, all of which are positioned at z-index auto. */
  isolation: isolate;
}

/* The section is taller than the viewport, so it pins by its BOTTOM edge:
   --section-pin-top is a negative offset (viewport height minus section
   height) written by script.js. Deliberately no fallback value — with the
   custom property unset the declaration is invalid at computed-value time,
   `top` falls back to `auto`, and a sticky element with auto offsets never
   pins. That is the no-JS behaviour we want: both sections just scroll. */
.mailbox {
  position: sticky;
  top: var(--section-pin-top);
  z-index: 1;
  background: var(--color-ocean-ink);
  color: var(--color-text-inverse);
  /* No bottom padding: the moments list carries it instead, so the list's
     bottom edge and the section's are the same line. Any gap between them is
     scroll distance during which the cards have already come unstuck but the
     section has not yet pinned — which is the pile sliding away early. */
  padding-block: clamp(var(--space-8), 9vw, var(--space-14)) 0;
  /* `overflow: hidden` here silently disabled the sticky copy column: any
     scroll-container ancestor cancels position: sticky. `clip` trims the
     decorative overflow without creating a scroll container. */
  overflow: clip;
}

.mailbox::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    repeating-radial-gradient(circle at 78% 22%, rgba(255, 253, 248, 0.09) 0 1px, transparent 1px 46px);
  /* Give the texture its own compositor layer. It covers the full section, so
     whenever a sticky card forced the section to repaint, this whole gradient
     re-rasterised — the flicker that read as the background glitching under a
     fast scroll. Promoted, it is painted once and never redrawn. */
  will-change: transform;
}

.mailbox__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(var(--space-5), 6vw, var(--space-12));
  /* Stretch, not start: the copy column has to be as tall as the moments
     column for the sticky child to have any distance to travel. */
  align-items: stretch;
}

.mailbox__copy { position: relative; }

.mailbox__sticky {
  position: sticky;
  top: calc(var(--header-height) + var(--space-5));
  padding-block: var(--space-4) var(--space-5);
}

.mailbox__title {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-3);
}

.mailbox__body {
  font-size: var(--font-body-large);
  color: rgba(255, 253, 248, 0.8);
  margin-bottom: var(--space-3);
}

.mailbox__line {
  font-family: var(--font-display-family);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-sunset-gold);
  margin-bottom: var(--space-4);
}

/* "See What Arrives" hovers to the same coral as the hero's primary ticket —
   on the dark panel the sand-to-white ghost hover barely registered. */
.mailbox__sticky .btn--ghost:hover,
.mailbox__sticky .btn--ghost:focus-visible {
  background: var(--color-action-primary-hover);
  color: var(--color-paper-white);
}

/* Four identical cards on a shared spine, piling up as they scroll past the
   sticky copy. Block flow, NOT grid: a sticky grid item's containing block is
   its own grid area, so it can only travel the height of its own row — i.e.
   not at all. In normal flow each card's containing block is the whole
   column, which is what lets them stack.

   These cards deliberately carry NO [data-reveal]. That helper holds an
   element at opacity 0 until 12% of it has been seen, then fades it in from
   20px below. Both halves break a sticky card: a buried one shows only its
   52px label out of 440px — 11.8%, under the threshold — so a card that went
   from below the fold to buried never revealed at all and stayed invisible
   for good; and a card caught mid-fade sits 20px off its park, overlapping
   the label above it. The stacking IS this section's entrance animation. */

/* The sequence spine. Fades out at the foot so it reads as an open-ended
   journey rather than a closed list. */

/* Each card parks one head-strip below the one before it. Rising z-index
   keeps the newest card on top of the pile. */

/* `translate`, not `transform`: the shared [data-reveal].is-revealed rule
   owns `transform` and would otherwise cancel the lift. */

/* Node on the spine, centred on the head strip. It sits outside the card box,
   which is why the card itself no longer clips its overflow. Both offsets are
   derived, not eyeballed: the extra 1px on the left backs out the card's own
   border, since an absolute child is placed against the padding box. */

/* The figure grows to absorb whatever slack the shared min-height leaves
   over; the image fills it absolutely so its own intrinsic size never feeds
   back into the card height. It starts at the very top of the card — the
   label sits over it — so it carries the top corners. */

/* Cut-out artwork sits on paper rather than being cropped like a photograph. */

/* A mailing label stuck to the top of the card: warm sand on ocean ink, the
   same pairing as the "See What Arrives" ghost button beside it, finished
   with a dashed tear line. Stacked, the pile reads as a bundle of addressed
   letters rather than four cropped photographs.

   One fixed size, never resized. Shrinking a buried card's label was an
   animation happening off to the side of where you were looking, which read
   as a glitch rather than as an effect. The pile now holds still and the
   scroll does all the moving.

   Positioned, NOT in flow, so it sits over the top of the photo instead of
   pushing it down. */

/* Franked, not just coloured: a small ink block carrying gold, so the number
   reads as a postmark on the label rather than as body copy. */


/* ==========================================================================
   13. STORY CARDS
   ========================================================================== */

/* Rides over the pinned mailbox. Opaque background is load-bearing here —
   it is what actually covers the section underneath. */
/* Sized to land inside a single viewport: block padding, the head, and the
   card interior all key off vh so nothing spills below the fold. */
.stories {
  position: relative;
  z-index: 2;
  background: var(--color-island-ivory);
  padding-block: clamp(2.25rem, 5.5vh, 4.25rem);
}

.stories .section-head {
  max-width: 46rem;
  margin-bottom: clamp(1.25rem, 3vh, 2.25rem);
}

.stories .section-head__title { margin-bottom: clamp(0.4rem, 1vh, 0.75rem); }

.stories .section-head__intro {
  font-size: var(--font-body);
  max-width: 40rem;
}

.stories__viewport { position: relative; }

.stories__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gutter);
  align-items: stretch;
}

/* Equal-height cards with the actions pinned to the bottom edge; the
   asymmetry comes from the --lift offset, not from ragged card heights. */
.story-card > article {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-card {
  position: relative;
  background: var(--color-paper-white);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  transition:
    transform var(--dur-component) var(--ease-paper),
    box-shadow var(--dur-component) var(--ease-paper),
    border-color var(--dur-micro) var(--ease-out);
}

.story-card--lift { margin-top: clamp(0px, 2.4vw, 34px); }

.story-card:hover,
.story-card:focus-within {
  transform: translateY(-5px) rotate(var(--card-tilt, 0deg));
  box-shadow: var(--shadow-card);
  border-color: var(--color-border-strong);
}

/* Alternating micro-tilt — each card leans a different way on hover. */
.story-card:nth-child(3n + 1) { --card-tilt: -0.7deg; }
.story-card:nth-child(3n + 2) { --card-tilt: 0.85deg; }
.story-card:nth-child(3n + 3) { --card-tilt: -0.45deg; }

.story-card__figure {
  position: relative;
  overflow: hidden;
  background: var(--color-sea-mist);
}

/* Landscape crop keeps the whole card inside one viewport height —
   the cover reads as a banner, not a full book jacket. Height is capped in vh
   so a short laptop screen shrinks the art instead of pushing the card down. */
.story-card__figure > img {
  display: block;
  width: 100%;
  height: clamp(170px, 29.5vh, 306px);
  object-fit: cover;
  object-position: 50% 32%;
  transition: transform var(--dur-narrative) var(--ease-out);
}

/* Scrim so the overlaid label stays legible on any cover. */
.story-card__figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(20, 26, 32, 0.72), rgba(20, 26, 32, 0));
  pointer-events: none;
}

.story-card:hover .story-card__figure > img { transform: scale(1.02); }

/* Rotating sticker badge — always on, the ring spins, the glyph stays put. */
.story-card__postmark {
  position: absolute;
  z-index: 2;
  top: var(--space-2);
  right: var(--space-2);
  width: clamp(62px, 5.9vw, 84px);
  aspect-ratio: 1;
  filter: drop-shadow(0 6px 14px rgba(18, 63, 59, 0.28));
}

/* Two copies of Stamp.svg: the lower one spins so the ring of type turns,
   the upper one is clipped to the disc centre so the letter glyph holds still. */
.postmark__ring,
.postmark__core {
  display: block;
  width: 100%;
  height: auto;
}

.postmark__ring {
  transform-origin: 50% 50%;
  animation: postmark-spin 18s linear infinite;
}

.postmark__core {
  position: absolute;
  inset: 0;
  clip-path: circle(31% at 50% 50%);
}

@keyframes postmark-spin {
  to { transform: rotate(360deg); }
}

.story-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: clamp(0.35rem, 0.9vh, 0.6rem);
  padding: clamp(0.8rem, 1.8vh, 1.25rem);
}

/* Genre line rides on the cover instead of stealing a row in the body. */
.story-card__label {
  position: absolute;
  left: var(--space-2);
  right: var(--space-2);
  bottom: calc(var(--space-2) - 2px);
  z-index: 1;
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-paper-white);
  text-shadow: 0 1px 6px rgba(20, 26, 32, 0.45);
}

.story-card__title {
  font-size: clamp(1.02rem, 1.35vw, 1.3rem);
  line-height: 1.30;
  text-wrap: balance;
}

/* Bounded blurb — two lines, so every card ends at the same height and the
   whole section clears the fold. */
.story-card__desc {
  font-size: var(--font-small);
  line-height: 1.45;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.story-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.story-card__tags li {
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-pill);
  background: var(--color-island-ivory);
  font-size: var(--font-label);
  font-weight: 600;
  color: var(--color-text-strong);
  transition: transform var(--dur-component) var(--ease-paper);
}

.story-card:hover .story-card__tags li { transform: translateY(-2px); }
.story-card:hover .story-card__tags li:nth-child(2) { transition-delay: 40ms; }
.story-card:hover .story-card__tags li:nth-child(3) { transition-delay: 80ms; }

.story-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: clamp(0.5rem, 1.2vh, 0.9rem);
}

.story-card__actions .btn { width: 100%; justify-content: center; }

/* Shared carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: clamp(0.9rem, 2vh, var(--space-4));
}

.carousel-controls[hidden] { display: none; }

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-strong);
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}

.carousel-btn svg {
  width: 20px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--color-ocean-ink);
  color: var(--color-paper-white);
}

.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.carousel-status {
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  min-width: 5.5rem;
  text-align: center;
}

.carousel-controls--inverse .carousel-btn {
  border-color: rgba(255, 253, 248, 0.42);
  color: var(--color-paper-white);
}

.carousel-controls--inverse .carousel-btn:hover:not(:disabled) {
  background: var(--color-paper-white);
  color: var(--color-ocean-ink);
}

.carousel-controls--inverse .carousel-status { color: var(--color-paper-white); }


/* ==========================================================================
   14. QUIZ INTERLUDE
   One sheet of stamps torn from a booklet and laid on the band: copy on the
   left half, the moods as perforated postage on the right, a perforation
   line down the middle and a postmark seal biting the top edge.

   Perforation is a notch overlay painted in the sheet colour rather than a
   mask, so it needs no mask-composite support and never clips the label.
   ========================================================================== */

.quiz {
  /* Whatever sits directly behind a stamp; the notches are painted in it. */
  --quiz-sheet: var(--color-paper-white);
  background: linear-gradient(180deg, var(--color-island-ivory) 0%, var(--color-shell-blush) 100%);
  padding-block: clamp(var(--space-8), 8vw, var(--space-12));
  overflow: hidden;
  isolation: isolate;
}

/* Two soft washes so the sheet lands on light rather than on a flat band. */
.quiz::before,
.quiz::after {
  content: '';
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.quiz::before {
  width: 54vw;
  top: -20vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(213, 162, 59, 0.22), transparent 68%);
}

.quiz::after {
  width: 48vw;
  right: -16vw;
  bottom: -22vw;
  background: radial-gradient(circle, rgba(242, 107, 94, 0.20), transparent 70%);
}

.quiz__sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: center;
  padding: clamp(var(--space-4), 3.4vw, var(--space-8));
  background:
    linear-gradient(150deg, var(--color-paper-white) 0%, var(--color-paper-white) 55%, #FBF6EC 100%);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-float);
}

/* Gold hairline along the top edge — the same trim the dark sections use. */
.quiz__sheet::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(var(--space-4), 8%, var(--space-9));
  right: clamp(var(--space-4), 8%, var(--space-9));
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--color-sunset-gold) 22%, var(--color-soft-coral) 78%, transparent);
  opacity: 0.85;
}

/* Seal biting the top edge of the sheet — a die-cut sticker, not a flat mark:
   the same four-way paper rim the sticker icons use, then an ink shadow to
   lift it off the sheet. Ring spins, glyph holds. */
.quiz__seal {
  position: absolute;
  z-index: 2;
  top: clamp(-52px, -4vw, -34px);
  right: clamp(var(--space-3), 4vw, var(--space-6));
  width: clamp(68px, 6.6vw, 100px);
  aspect-ratio: 1;
  rotate: -8deg;
  filter:
    drop-shadow(2.4px 0 0 var(--color-paper-white))
    drop-shadow(-2.4px 0 0 var(--color-paper-white))
    drop-shadow(0 2.4px 0 var(--color-paper-white))
    drop-shadow(0 -2.4px 0 var(--color-paper-white))
    drop-shadow(0 0 2px var(--color-paper-white))
    drop-shadow(0 7px 14px rgba(18, 63, 59, 0.26));
  transition: rotate var(--dur-component) var(--ease-paper);
}

.quiz__sheet:hover .quiz__seal { rotate: -3deg; }

.quiz__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quiz__title {
  margin-bottom: var(--space-2);
}

.quiz__body {
  font-size: var(--font-body-large);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  max-width: 30rem;
}

/* Postal receipt line rather than a loose caption. */
.quiz__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-3);
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: rgba(233, 214, 184, 0.28);
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-text-strong);
}

.quiz__note-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--color-action-primary);
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* The stamps are the call to action now, so the copy points at them instead
   of carrying a button that duplicated the first question. */
.quiz__cue {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-4);
  font-family: var(--font-display-family);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-action-primary);
}

.quiz__cue[hidden] { display: none; }

.quiz__cue-arrow {
  width: 34px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: quiz-cue 2.8s var(--ease-out) infinite;
}

@keyframes quiz-cue {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}

/* The perforation line: the two halves of the sheet could be torn apart. */
.quiz__stamps {
  position: relative;
  padding-left: clamp(var(--space-3), 2.6vw, var(--space-6));
  border-left: 2px dotted rgba(18, 63, 59, 0.28);
}

.quiz__stamps-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  /* Keeps the hint clear of the seal that overhangs this corner. */
  padding-right: clamp(84px, 12vw, 170px);
}

.quiz__prompt {
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.quiz__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.quiz__ticks {
  display: inline-flex;
  gap: 3px;
}

.quiz__ticks i {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: rgba(18, 63, 59, 0.18);
  transition: background-color var(--dur-micro) var(--ease-out);
}

.quiz__ticks i.is-done { background: var(--color-sunset-gold); }
.quiz__ticks i.is-current { background: var(--color-action-primary); }

/* One box for every step and for the result. Its height is a designed
   constant rather than a measurement, which is what keeps the sheet from
   resizing between steps or when the result lands. A column, because the
   picks ledger sits under whichever step is showing. */
.quiz__panel {
  --quiz-panel-h: clamp(292px, 22vw, 344px);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: var(--quiz-panel-h);
}

/* .quiz__grid sets `display: grid`, which outranks the UA rule for [hidden]. */
.quiz__grid[hidden],
.quiz-result[hidden] { display: none; }

/* Coming back from display:none restarts this, so each step deals itself in. */
.quiz__grid:not([hidden]) {
  animation: quiz-step-in var(--dur-component) var(--ease-out) both;
}

@keyframes quiz-step-in {
  from { opacity: 0; translate: 0 10px; }
  to   { opacity: 1; translate: none; }
}

/* --- Sheet balance -------------------------------------------------------
   Seven answers, then five, then three, in a box that never changes size.
   Nothing is padded out with blank tiles: each step picks a column count
   that suits its own count, the stamps stretch to fill the rows they need,
   and a short last row is nudged half a cell per empty column so it reads
   as a centred strip rather than a gap (the nudge is set in script.js, from
   the column count the browser actually resolved). What is left below the
   sheet carries the picks ledger, so the space holds the reader's own
   answers instead of decoration. */

.quiz__grid {
  --sheet-gap: clamp(0.6rem, 1vw, 0.9rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--sheet-gap);
  flex: 1;
}

.quiz__grid > li {
  display: flex;
  /* The die-cut rim: four zero-blur shadows trace the masked silhouette, so
     the outline follows the perforation instead of a rectangle, then one soft
     shadow lifts the paper off the sheet. Same trick as the sticker icons. */
  --stamp-edge: rgba(18, 63, 59, 0.34);
  filter:
    drop-shadow(1px 0 0 var(--stamp-edge))
    drop-shadow(-1px 0 0 var(--stamp-edge))
    drop-shadow(0 1px 0 var(--stamp-edge))
    drop-shadow(0 -1px 0 var(--stamp-edge))
    drop-shadow(0 5px 10px rgba(18, 63, 59, 0.14));
  transition: filter var(--dur-component) var(--ease-out);
}

/* The rim lives on the wrapper, so the state that colours it has to be read
   from the wrapper too. */
.quiz__grid > li:has(.stamp:hover),
.quiz__grid > li:has(.stamp:focus-visible),
.quiz__grid > li:has(.stamp[aria-pressed='true']) {
  --stamp-edge: var(--color-action-primary);
}

/* Half a cell per empty column, so a short last row centres under the rows
   above it. --sheet-nudge is written per item by script.js; unset means 0,
   which is every item on a full row. */
.quiz__grid > li {
  translate: calc((100% + var(--sheet-gap)) * var(--sheet-nudge, 0)) 0;
}

.stamp {
  /* Perforation, punched for real rather than painted over: four rows of
     holes are masked out of the paper, which is what lets the die-cut rim
     above follow the scalloped edge. `intersect` keeps every row's holes;
     without it (older Safari) the mask adds up and the paper stays square —
     it loses the notches, nothing else. */
  --stamp-notch: 5px;
  --stamp-pitch: 13px;
  mask-image:
    radial-gradient(circle var(--stamp-notch) at 50% 0, transparent 96%, #000 98%),
    radial-gradient(circle var(--stamp-notch) at 50% 100%, transparent 96%, #000 98%),
    radial-gradient(circle var(--stamp-notch) at 0 50%, transparent 96%, #000 98%),
    radial-gradient(circle var(--stamp-notch) at 100% 50%, transparent 96%, #000 98%);
  mask-size:
    var(--stamp-pitch) 100%, var(--stamp-pitch) 100%,
    100% var(--stamp-pitch), 100% var(--stamp-pitch);
  mask-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  mask-position: top center, bottom center, left center, right center;
  mask-composite: intersect;
}

.stamp {
  --stamp-tilt: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  /* No aspect-ratio: the stamps take the height of the row they are in, so
     three answers print as tall commemoratives and seven as a dense sheet,
     and either way the paper reaches the bottom of the panel. */
  height: 100%;
  min-height: 92px;
  padding: 0.65rem 0.55rem;
  /* Warm halo behind the glyph over the paper wash, so the middle of the
     stamp carries light instead of reading as an empty box. */
  background:
    radial-gradient(58% 42% at 50% 38%, rgba(213, 162, 59, 0.18), transparent 70%),
    linear-gradient(158deg, #FBF5E9 0%, var(--color-island-ivory) 52%, #E6D9C1 100%);
  border: 0;
  border-radius: 3px;
  color: var(--color-text-strong);
  rotate: var(--stamp-tilt);
  /* Engraved frame, printed inside the perforation. */
  box-shadow:
    inset 0 0 0 6px rgba(255, 253, 248, 0.72),
    inset 0 0 0 7px rgba(18, 63, 59, 0.16);
  transition:
    translate var(--dur-component) var(--ease-paper),
    rotate var(--dur-component) var(--ease-paper),
    box-shadow var(--dur-component) var(--ease-paper),
    background var(--dur-component) var(--ease-out);
  will-change: transform;
}

/* Hand-placed: every stamp sits at its own angle on the sheet, and the
   angles are wide enough to read as tilt rather than as a printing error. */
.quiz__grid > li:nth-child(3n + 1) .stamp { --stamp-tilt: -2.6deg; }
.quiz__grid > li:nth-child(3n + 2) .stamp { --stamp-tilt: 2.1deg; }
.quiz__grid > li:nth-child(3n + 3) .stamp { --stamp-tilt: -1.3deg; }

/* --- Picks ledger --------------------------------------------------------
   What the sheet does not need, the answers do: every pick made so far is
   torn off onto a receipt strip under the sheet — the chosen glyph, what it
   answered, and the answer itself. It grows as the quiz goes on, which is
   also what keeps a choice visible after its step is behind you. */

.quiz__picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  padding-top: var(--space-2);
  border-top: 2px dotted rgba(18, 63, 59, 0.22);
  animation: quiz-step-in var(--dur-component) var(--ease-out) both;
}

.quiz__picks[hidden] { display: none; }

.pick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem 0.3rem 0.4rem;
  background: linear-gradient(158deg, var(--color-paper-white) 0%, #F7EFE0 100%);
  border: 1px solid rgba(185, 67, 59, 0.28);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(18, 63, 59, 0.07);
}

/* The very glyph that was cancelled, at receipt size. */
.pick__glyph {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
}

.pick__glyph .funky { animation: none; rotate: -4deg; }

.pick__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.pick__label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pick__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-strong);
}

/* Trailing hint, so the strip reads as a receipt in progress. */
.quiz__picks-rest {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(18, 63, 59, 0.34);
}

/* Sized off the stamp, not the viewport: the same rule holds the glyph in
   proportion whether the sheet is four across or two. */
.stamp__glyph {
  display: block;
  width: clamp(38px, 42%, 58px);
  height: auto;
  aspect-ratio: 1;
  transition: scale var(--dur-component) var(--ease-paper);
}

/* Sized to the narrowest stamp the four-column sheet produces, so the
   longest mood ("Lighthearted") still sets on one line inside the frame. */
.stamp__name {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.30;
  text-align: center;
  overflow-wrap: anywhere;
  transition: color var(--dur-micro) var(--ease-out);
}

/* `translate`/`rotate`, not `transform`: the pointer drift in script.js owns
   the stamp's inline `transform` and would cancel a lift written there. */
.stamp:hover,
.stamp:focus-visible {
  translate: 0 -6px;
  rotate: calc(var(--stamp-tilt) * -1.3);
  box-shadow:
    inset 0 0 0 6px rgba(255, 253, 248, 0.7),
    inset 0 0 0 7px rgba(185, 67, 59, 0.3);
}

.stamp:hover .stamp__glyph { scale: 1.1; }
.stamp:hover .stamp__name { color: var(--color-action-primary); }

/* --- Chosen --------------------------------------------------------------
   A ticked disc in the top-right corner, inside the perforation so the mask
   cannot clip it. It replaces the old postmark cancel, which sat too light
   on the paper to read at stamp size. */

.stamp__mark {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-action-primary);
  box-shadow:
    0 0 0 2px var(--color-paper-white),
    0 2px 5px rgba(18, 63, 59, 0.28);
  opacity: 0;
  transform: scale(0.4) rotate(-25deg);
  transition:
    opacity var(--dur-micro) var(--ease-out),
    transform var(--dur-component) var(--ease-paper);
  pointer-events: none;
}

/* Two borders of a rotated box make the tick, so it needs no glyph. */
.stamp__mark::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--color-paper-white);
  border-bottom: 2px solid var(--color-paper-white);
  border-radius: 1px;
  rotate: -45deg;
  translate: 0 -1px;
}

/* Ink on the paper, and the stamp stays lifted: the chosen answer reads as
   used postage rather than a selected button. */
.stamp[aria-pressed='true'] {
  translate: 0 -4px;
  background:
    radial-gradient(58% 42% at 50% 38%, rgba(255, 253, 248, 0.55), transparent 72%),
    linear-gradient(158deg, var(--color-shell-blush) 0%, #F3C9B8 100%);
  box-shadow:
    inset 0 0 0 6px rgba(255, 253, 248, 0.42),
    inset 0 0 0 7px rgba(185, 67, 59, 0.45);
}

.stamp[aria-pressed='true'] .stamp__mark {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.stamp[aria-pressed='true'] .stamp__name { color: var(--color-postmark-coral-hover); }

/* Back control and live region share one row under the panel, and the row
   keeps its height whether or not either has anything in it. */
.quiz__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  min-height: 2.1rem;
}

.quiz__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  padding: 0.28rem 0.7rem 0.28rem 0.5rem;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.quiz__back[hidden] { display: none; }

.quiz__back svg {
  width: 16px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quiz__back:hover {
  color: var(--color-action-primary);
  border-color: var(--color-action-primary);
}

.quiz__feedback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.6rem;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-text-strong);
}

/* Marker only once the region has something to announce. */
.quiz__feedback:not(:empty)::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--color-action-primary);
  box-shadow: 0 0 0 4px rgba(185, 67, 59, 0.16);
}


/* --- Result ---------------------------------------------------------------
   The result fills the locked panel box: the card takes whatever height is
   left after the slider controls, so one match and five matches occupy the
   same space and the sheet never moves. */

.quiz-result {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  /* Grid items get min-width: auto, which here resolves to the min-content of
     three cards side by side — that is what pushed the slider out past the
     sheet. Zero it so the panel column governs the width. */
  min-width: 0;
  animation: quiz-step-in var(--dur-component) var(--ease-out) both;
}

.quiz-result__viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* Slider only when there is more than one match. Native scrolling, so swipe,
   arrows and tabbing all agree — the same deal as the story carousel. */
.quiz-result__viewport.is-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.quiz-result__viewport.is-slider::-webkit-scrollbar { display: none; }

/* The explicit width matters: inside a scroll container an auto-width flex
   track has no definite main size, so the items' 100% basis would resolve
   against max-content and each card would render wider than the panel. */
.quiz-result__track {
  display: flex;
  width: 100%;
  height: 100%;
}

/* The card sizes to its content and centres in the locked panel, rather than
   stretching to fill it and leaving a hole between the tags and the CTA. */
.quiz-result__item {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.quiz-result__card {
  display: flex;
  align-items: flex-start;
  gap: clamp(var(--space-2), 2vw, var(--space-3));
  width: 100%;
  padding: clamp(0.75rem, 1.4vw, var(--space-2));
  background:
    linear-gradient(158deg, var(--color-paper-white) 0%, var(--color-island-ivory) 100%);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-paper);
}

/* A cover thumbnail, mounted like a print: fixed 3:4 at a fixed width, so it
   never stretches to the card's full height and swallows the artwork. */
.quiz-result__figure {
  flex: 0 0 clamp(72px, 17%, 92px);
  aspect-ratio: 3 / 4;
  padding: 4px;
  background: var(--color-paper-white);
  border: 1px solid var(--color-border-default);
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(18, 63, 59, 0.1);
}

.quiz-result__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

/* Stretched, not hugged: the body carries the card's full height so the CTA
   can sit on the bottom edge instead of leaving the card half empty. */
.quiz-result__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 0.4rem;
  min-width: 0;
}

.quiz-result__genre {
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-action-primary);
}

.quiz-result__title {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.30;
}

/* Clamped so a long blurb can never push the card past the locked height. */
.quiz-result__blurb {
  font-size: var(--font-small);
  line-height: 1.45;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.quiz-result__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.quiz-result__tags li {
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-pill);
  background: var(--color-paper-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-strong);
}

.quiz-result__body .btn { margin-top: 0.5rem; }

.quiz-result__controls {
  flex: none;
  margin-top: 0;
  justify-content: flex-start;
}

.quiz-result__controls .carousel-btn {
  width: 36px;
  height: 36px;
}

.quiz-result__controls .carousel-status {
  min-width: 4.5rem;
  text-align: left;
  font-size: var(--font-label);
  color: var(--color-text-muted);
}


/* ==========================================================================
   15. HOW IT WORKS
   ========================================================================== */

.journey {
  background: var(--color-deep-lagoon);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-8), 9vw, var(--space-14));
  overflow: hidden;
}

/* The setline and the CTA sit on one baseline row: copy left, button right,
   so the button reads as the answer to the sentence above the steps. */
.journey__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6) var(--space-8);
  flex-wrap: wrap;
  /* Narrow screens only. From 641px up the screen-fit block takes over and
     opens this gap further — there the section is a min-height snap panel
     whose slack would otherwise sit as empty bands above and below. */
  margin-bottom: var(--space-9);
}

.section-head--flush {
  margin-bottom: 0;
  flex: 1 1 32rem;
}

.journey__map { position: relative; }

/* The route runs centre-to-centre between the first and last stop, so the
   box is inset by half a column: with four 1fr columns and a gutter g a
   column is (100% - 3g)/4 wide, putting the first centre at 12.5% - 0.375g
   and leaving 75% + 0.75g between the outer two. Height matches the stop
   circles so y=40 of the 80-unit viewBox sits on their centres, and the
   route never crosses the step copy.

   These are the no-JS fallback only. initJourneyPath re-frames the box from
   the measured stops and regenerates the wave to match, so the geometry
   survives a change in the number of steps — which this section has already
   had once. */
.journey__path {
  position: absolute;
  top: 0;
  left: calc(12.5% - 0.375 * var(--grid-gutter));
  width: calc(75% + 0.75 * var(--grid-gutter));
  height: 78px;
  overflow: visible;
  pointer-events: none;
}

.journey__route {
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 9;
  opacity: 0.75;
}

.journey__steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gutter);
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.journey-step__stop {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: var(--space-2);
  border: 1px solid rgba(255, 253, 248, 0.4);
  border-radius: 50%;
  /* Opaque, not the old rgba(18, 63, 59, 0.42): the same colour it resolved
     to over the lagoon panel, but solid, so the route passes behind the stop
     instead of showing through it. */
  background: #1A5651;
  /* Held back until the drawn route reaches this stop — see .is-stopped. */
  opacity: 0;
  transform: translateY(10px) scale(0.82);
  transition:
    opacity 460ms var(--ease-out),
    transform 520ms var(--ease-paper),
    background-color var(--dur-micro) var(--ease-out),
    border-color var(--dur-micro) var(--ease-out);
}

.journey-step.is-stopped .journey-step__stop {
  opacity: 1;
  transform: none;
}

.journey-step__stop .funky {
  width: 46px;
  height: 46px;
}

/* On the deep lagoon panel the paper fills carry the shape, so the ink
   outline still reads without lightening the stroke. */
.journey-step__stop .funky__blob { fill: rgba(255, 253, 248, 0.16); }

.journey-step.is-stopped:hover .journey-step__stop {
  transform: translateY(-4px);
  background: var(--color-ocean-ink);
  border-color: var(--color-sunset-gold);
}

/* Postmark stamped on each stop as it reveals */
.journey-step__stop::after {
  content: '';
  position: absolute;
  width: 78px;
  height: 78px;
  border: 2px solid var(--color-sunset-gold);
  border-radius: 50%;
  opacity: 0;
  transform: scale(1.45);
  transition: opacity var(--dur-narrative) var(--ease-out), transform var(--dur-narrative) var(--ease-paper);
}

.journey-step.is-stopped .journey-step__stop::after {
  opacity: 0.55;
  transform: scale(1.12);
}

/* The copy follows its icon a beat later, as one block. */
.journey-step__index,
.journey-step__title,
.journey-step__body {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 520ms var(--ease-out),
    transform 560ms var(--ease-paper);
}

.journey-step.is-revealed .journey-step__index,
.journey-step.is-revealed .journey-step__title,
.journey-step.is-revealed .journey-step__body {
  opacity: 1;
  transform: none;
}

.journey-step.is-revealed .journey-step__title { transition-delay: 60ms; }
.journey-step.is-revealed .journey-step__body { transition-delay: 110ms; }

/* The step number is a marker, not a heading: it sits under the title in
   size, weight and contrast so the title stays the loudest line. */
.journey-step__index {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.5);
}

/* One tier above the other card headings: on the lagoon panel these five
   titles are the section's real index, so they carry more than h4 weight. */
.journey-step__title {
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
  color: var(--color-text-inverse);
}

.journey-step__body {
  font-size: var(--font-small);
  color: rgba(255, 253, 248, 0.78);
}

.journey__cta { margin: 0; flex: none; }


/* ==========================================================================
   16. WHAT ARRIVES

   One viewport: a sealed envelope that opens, a letter that rises out of it,
   and the five things in the delivery landing around the page one at a time.

   Three states, in specificity order:

     base                  — everything at rest, OPEN. This is what a reader
                             without JavaScript gets, so no content is ever
                             locked behind an animation that never runs.
     .is-armed             — sealed. Set by JS the moment it takes over.
     .is-armed.is-open     — open, and the only block carrying delays: they
                             are what stagger the sequence.

   The sequence plays on every arrival, so the scene has to get back to
   sealed between them. JS does that only once the section is fully out of
   frame, and adds `.is-instant` across the change so the reset snaps
   instead of playing the whole thing backwards where nobody can see it.
   ========================================================================== */

.arrives {
  background: var(--color-paper-white);
  padding-block: clamp(var(--space-6), 6vw, var(--space-9));
  overflow: hidden;
}

.arrives__head {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: var(--space-3);
  text-align: center;
}

.arrives__title { margin-bottom: var(--space-2); }
.arrives__title:last-child { margin-bottom: 0; }

.arrives__intro {
  max-width: 40rem;
  margin-inline: auto;
  font-size: var(--font-body-large);
  color: var(--color-text-muted);
}

/* --- The stage ----------------------------------------------------------- */

.arrives__scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(19rem, 42vh, 26rem);
  max-width: 68rem;
  margin-inline: auto;
}

.arrives__envelope {
  position: relative;
  z-index: 2;
  width: clamp(190px, 24vw, 288px);
}

.arrives__envelope svg { display: block; width: 100%; height: auto; overflow: visible; }

/* --- Envelope parts ------------------------------------------------------ */

.arrives-env__body { fill: var(--color-warm-sand); }
.arrives-env__fold { fill: none; stroke: rgba(18, 63, 59, 0.2); stroke-width: 1.3; }

.arrives-env__letter rect {
  fill: var(--color-paper-white);
  stroke: rgba(18, 63, 59, 0.18);
  stroke-width: 1.3;
}

.arrives-env__rule {
  fill: none;
  stroke: rgba(18, 63, 59, 0.22);
  stroke-width: 2.4;
  stroke-linecap: round;
}

/* The body is painted after the letter, so the travel reads as the page
   sliding up out of the pocket rather than across it. The page never fully
   leaves: its foot stays down inside the pocket at both ends of the move. */
.arrives-env__letter {
  transform: translateY(10px);
  transition: transform 620ms var(--ease-paper);
}

/* Both halves of the flap share one geometry and one rotation. Only the
   opacity swap at the halfway point decides which is on screen, and because
   the flap is edge-on at exactly that moment the cut is invisible. */
.arrives-env__flap {
  stroke: rgba(18, 63, 59, 0.26);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: 50% 0%;
  transform: rotateX(-176deg);
  transition:
    transform 560ms var(--ease-paper),
    opacity 1ms linear 280ms;
}

.arrives-env__flap--front { fill: var(--color-warm-sand); opacity: 0; }
.arrives-env__flap--back  { fill: #dcc5a1; opacity: 1; }

.arrives-env__seal {
  fill: var(--color-sunset-gold);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: scale(1.7);
  transition:
    opacity 300ms var(--ease-out),
    transform 380ms var(--ease-paper);
}

.arrives-env__seal-glyph {
  fill: rgba(93, 63, 13, 0.55);
  opacity: 0;
  transition: opacity 260ms var(--ease-out);
}

/* Sealed. */
.arrives__scene.is-armed .arrives-env__letter {
  transform: translateY(126px);
  transition-delay: 0ms;
}

.arrives__scene.is-armed .arrives-env__flap {
  transform: rotateX(0deg);
  transition-delay: 0ms, 0ms;
}

.arrives__scene.is-armed .arrives-env__flap--front { opacity: 1; }
.arrives__scene.is-armed .arrives-env__flap--back  { opacity: 0; }

.arrives__scene.is-armed .arrives-env__seal {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0ms;
}

.arrives__scene.is-armed .arrives-env__seal-glyph {
  opacity: 1;
  transition-delay: 0ms;
}

/* Open — the seal breaks first, the flap folds back, the page rises. */
.arrives__scene.is-armed.is-open .arrives-env__seal {
  opacity: 0;
  transform: scale(1.7);
  transition-delay: 0ms;
}

.arrives__scene.is-armed.is-open .arrives-env__seal-glyph {
  opacity: 0;
  transition-delay: 0ms;
}

.arrives__scene.is-armed.is-open .arrives-env__flap {
  transform: rotateX(-176deg);
  transition-delay: 200ms, 480ms;
}

.arrives__scene.is-armed.is-open .arrives-env__flap--front { opacity: 0; }
.arrives__scene.is-armed.is-open .arrives-env__flap--back  { opacity: 1; }

.arrives__scene.is-armed.is-open .arrives-env__letter {
  transform: translateY(10px);
  transition-delay: 700ms;
}

/* Held for a single frame while JS resets the scene out of frame. */
.arrives__scene.is-instant,
.arrives__scene.is-instant * {
  transition: none !important;
}

/* --- The five things ----------------------------------------------------- */

/* Scattered rather than gridded, so it reads as a table someone tipped the
   envelope onto. Positions and tilts are authored per card — never inline. */
.arrives__cards {
  position: absolute;
  inset: 0;
  z-index: 3;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.arrives-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: clamp(10.5rem, 16vw, 14rem);
  padding: 0.7rem 0.85rem;
  background: var(--color-paper-white);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-paper);
  pointer-events: auto;
  transform: translate(-50%, -50%) rotate(var(--r)) scale(1);
}

/* Not yet dealt: each one waiting just inside where it will land. */
.arrives__scene.is-armed .arrives-card {
  opacity: 0;
  transform:
    translate(calc(-50% + var(--ox)), calc(-50% + var(--oy)))
    rotate(var(--r))
    scale(0.72);
  transition:
    opacity 260ms var(--ease-out),
    transform 420ms var(--ease-paper);
}

.arrives__scene.is-armed.is-open .arrives-card {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--r)) scale(1);
  transition:
    opacity 280ms var(--ease-out) calc(1000ms + var(--i) * 120ms),
    transform 520ms cubic-bezier(0.34, 1.42, 0.5, 1) calc(1000ms + var(--i) * 120ms);
}

.arrives-card--packet   { --i: 0; --x: 15%; --y: 17%; --r: -3.5deg; --ox: 30px;  --oy: 26px; }
.arrives-card--chapter  { --i: 1; --x: 84%; --y: 11%; --r: 3deg;    --ox: -32px; --oy: 28px; }
.arrives-card--artwork  { --i: 2; --x: 88%; --y: 58%; --r: -2deg;   --ox: -34px; --oy: -14px; }
.arrives-card--photo    { --i: 3; --x: 11%; --y: 63%; --r: 3.5deg;  --ox: 32px;  --oy: -16px; }
.arrives-card--surprise { --i: 4; --x: 50%; --y: 92%; --r: -2.5deg; --ox: 0px;   --oy: -30px; }

/* A sticker, like every other icon on the page: it carries its own white
   halo and crooked set, so it needs no plate behind it. */
.arrives-card__icon {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
}

.arrives-card__text { display: block; min-width: 0; }

.arrives-card__title {
  display: block;
  font-family: var(--font-display-family);
  font-size: 1.06rem;
  line-height: 1.30;
  color: var(--color-text-strong);
}

/* The titles carry the section on their own. The line under each is for
   anyone who leans in, so it costs no height until it is asked for. */
.arrives-card__note {
  display: block;
  max-height: 0;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  opacity: 0;
  transition:
    max-height var(--dur-component) var(--ease-out),
    margin-top var(--dur-component) var(--ease-out),
    opacity var(--dur-micro) var(--ease-out);
}

.arrives-card:hover,
.arrives-card:focus-within {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card);
}

.arrives-card:hover .arrives-card__note,
.arrives-card:focus-within .arrives-card__note {
  max-height: 4rem;
  margin-top: 0.28rem;
  opacity: 1;
}

/* Coarse pointers have no hover to give, so the second line simply stays. */
@media (hover: none) {
  .arrives-card__note { max-height: 4rem; margin-top: 0.28rem; opacity: 1; }
}

/* --- Foot ---------------------------------------------------------------- */

.arrives__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
  text-align: center;
}


/* Sections 17-18 (gift + pace/payment) were removed here. The gift section
   is rebuilt far larger in section 31 and the fixed schedule replaces the
   pace controls in section 32, both at the foot of this stylesheet. */

/* ==========================================================================
   19. REVIEWS
   A split stage inside the container: the photograph takes one half, the
   quote panel the other, one review on screen at a time. The whole band is
   sized to clear a single viewport, so the heights are viewport-relative and
   the padding stays tight. The pagination markers are pineapples — one per
   review, the active one gold.
   ========================================================================== */

.reviews {
  background: var(--color-ocean-ink);
  color: var(--color-text-inverse);
  padding-block: clamp(2.5rem, 5vh, 3.75rem);
  overflow: hidden;
}

/* Two equal halves of the container: photograph on one, quotes on the other. */
.reviews__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  column-gap: clamp(var(--space-3), 4vw, var(--space-6));
}

.reviews__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.05);
  border-radius: var(--radius-large);
}

.reviews__media img {
  width: 100%;
  height: 100%;
  min-height: min(clamp(18.75rem, 72vh, 44rem), calc(100vh - var(--header-height) - 6rem));
  max-height: calc(100vh - var(--header-height) - 6rem);
  object-fit: cover;
  object-position: center;
}

.reviews__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

/* The heading opens the panel, so it keeps its own width in check and drops
   the block margin `.section-head` carries elsewhere on the page. */
.reviews__head {
  max-width: 40rem;
  margin: 0 auto clamp(var(--space-3), 3vh, var(--space-5));
}

.reviews__head .eyebrow--rule { justify-content: center; }

.reviews__head .section-head__intro { max-width: none; font-size: var(--font-body); }

/* One notch under the page's `--font-h2`, which is what lets the heading and
   the photograph share a screen without the copy running to three lines. */
.reviews__head .section-head__title {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: var(--space-2);
}

/* A tint one step off the band, so the quotes read as an inset panel rather
   than more copy stacked under the heading. */
.reviews__stage {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(var(--space-3), 3vh, var(--space-4)) clamp(var(--space-3), 3vw, var(--space-4));
  background: rgba(255, 253, 248, 0.05);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: var(--radius-card);
}

/* The quote sits on the optical centre of the panel, so short and long
   reviews both look placed. */
.reviews__viewport {
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.reviews__track {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform var(--dur-component) var(--ease-paper);
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  min-width: 0;
}

.review-card__inner { max-width: none; }

.review-card__kind {
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.55);
  margin: 0 0 var(--space-2);
}

/* A size below `--font-h3` and italic, so it reads as a voice answering the
   heading rather than a second headline competing with it. */
.review-card__quote {
  font-family: var(--font-display-family);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-style: italic;
  line-height: 1.38;
  color: rgba(255, 253, 248, 0.92);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

.review-card__quote::before { content: '“'; }
.review-card__quote::after  { content: '”'; }

.review-card__quote p { display: inline; margin: 0; }

.review-card__foot {
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255, 253, 248, 0.2);
}

.review-card__name { font-size: var(--font-small); font-weight: 700; letter-spacing: 0.02em; margin: 0; }

.review-card__meta {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin: 0.15rem 0 0;
  font-size: var(--font-label);
  color: rgba(255, 253, 248, 0.7);
}

.review-card__meta span + span::before { content: '· '; }

.review-card__verified {
  margin: 0.4rem 0 0;
  font-size: var(--font-label);
  font-style: italic;
  color: rgba(255, 253, 248, 0.55);
}

/* --- Pagination: one pineapple per review ------------------------------ */

.carousel-controls--reviews {
  justify-content: center;
  margin-top: clamp(var(--space-2), 2vh, var(--space-4));
}

.reviews__dots {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.reviews__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border: 0;
  background: transparent;
  color: rgba(255, 253, 248, 0.28);
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}

.reviews__dot-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.reviews__dot:hover { color: rgba(255, 253, 248, 0.6); }

.reviews__dot[aria-current='true'] {
  color: var(--color-sunset-gold);
  transform: scale(1.12);
}


/* ==========================================================================
   20. BRAND STORY
   ========================================================================== */

.brand-story {
  background: var(--color-paper-white);
  padding-block: clamp(var(--space-5), 4vw, var(--space-8));
  overflow: hidden;
}

/* The copy is one centred column now — the gallery below carries the width,
   so the paragraphs read as a short statement rather than a side panel. */
.brand-story__inner { display: block; }

.brand-story__copy {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.brand-story__title { margin-bottom: var(--space-3); }

.brand-story__copy p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  max-width: 42rem;
  margin-inline: auto;
}

.brand-story__copy p:last-child { margin-bottom: 0; }

.brand-story__copy .btn { margin-top: var(--space-2); }


/* --------------------------------------------------------------------------
   The gallery line

   One wire spans the full section, edge to edge, dipping in the middle. Prints
   are pegged along it and hang from their own thread, each with a slightly
   different length, tilt, and swing period so the row never beats in unison.

   Geometry split: the wire owns the vertical band (`--wire-h`), JS writes each
   print's `--y` from the real path so the peg lands ON the curve, and the note
   below reserves the space the absolutely-positioned prints occupy.
   -------------------------------------------------------------------------- */

.gallery {
  /* Every size takes the SMALLER of a width- and a height-derived value, so
     the prints grow on a wide stage but never push the section past a single
     screen on a short one. */
  --wire-h: clamp(64px, min(8vw, 10vh), 120px);
  --photo: clamp(100px, min(14.5vw, 20.5vh), 232px);
  --drop-unit: clamp(8px, min(1.5vw, 1.7vh), 20px);
  position: relative;
  margin-top: clamp(var(--space-2), 3vw, var(--space-5));
  /* Reserves the run the absolutely-positioned prints hang into. */
  padding-bottom: calc(var(--photo) * 1.3 + var(--drop-unit) * 3.6);
}

.gallery__wire {
  display: block;
  width: 100%;
  height: var(--wire-h);
  overflow: visible;
}

.gallery__string {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 1.3;
  stroke-linecap: round;
  opacity: 0.85;
}

.gallery__rail {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__hang {
  position: absolute;
  top: var(--y, 42px);
  left: var(--x);
  width: calc(var(--photo) * var(--k, 1));
  margin-left: calc(var(--photo) * var(--k, 1) / -2);
}

/* A knot of thread over the wire, not a pin: it stays put while the print
   below it swings. */
.gallery__peg {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--color-paper-white);
  border: 1.4px solid var(--color-postmark-coral);
  z-index: 2;
}

.gallery__swing {
  transform-origin: 50% 0;
  transform: rotate(var(--tilt, 0deg));
  animation: gallery-sway var(--sway, 6s) cubic-bezier(0.45, 0, 0.55, 1) var(--lag, 0s) infinite;
  will-change: transform;
}

@keyframes gallery-sway {
  0%, 100% { transform: rotate(calc(var(--tilt, 0deg) - var(--amp, 1.4deg))); }
  50%      { transform: rotate(calc(var(--tilt, 0deg) + var(--amp, 1.4deg))); }
}

.gallery__thread {
  display: block;
  width: 1px;
  height: calc(var(--drop-unit) * var(--dropk, 1));
  margin-inline: auto;
  background: var(--color-postmark-coral);
  opacity: 0.8;
}

.gallery__frame {
  margin: 0;
  background: #fff;
  padding: calc(var(--photo) * 0.042) calc(var(--photo) * 0.042) 0;
  border-radius: 3px;
  box-shadow:
    0 12px 28px rgba(18, 63, 59, 0.16),
    0 1px 2px rgba(18, 63, 59, 0.10);
  transition:
    transform 340ms var(--ease-out),
    box-shadow 340ms var(--ease-out);
}

.gallery__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1px;
}

.gallery__hang--1 .gallery__frame img { aspect-ratio: 1 / 1; }
.gallery__hang--2 .gallery__frame img { aspect-ratio: 3 / 4; }
.gallery__hang--3 .gallery__frame img { aspect-ratio: 5 / 4; }
.gallery__hang--5 .gallery__frame img { aspect-ratio: 5 / 4; }
.gallery__hang--6 .gallery__frame img { aspect-ratio: 5 / 4; }

.gallery__caption {
  padding-block: calc(var(--photo) * 0.055) calc(var(--photo) * 0.075);
  text-align: center;
  font-size: clamp(0.5rem, calc(var(--photo) * 0.062), 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Hovering steadies the print so it can be looked at. */
.gallery__hang:hover { z-index: 5; }
.gallery__hang:hover .gallery__swing { animation-play-state: paused; }

.gallery__hang:hover .gallery__frame {
  transform: translateY(-5px) scale(1.045);
  box-shadow: 0 20px 44px rgba(18, 63, 59, 0.22);
}




/* ==========================================================================
   21. FAQ
   ========================================================================== */

.faq {
  background: var(--color-island-ivory);
  padding-block: clamp(var(--space-8), 9vw, var(--space-12));
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(var(--space-4), 5vw, var(--space-9));
  align-items: start;
}

/* The head spans both rows so the mark can settle on the section floor,
   level with the actions; only the copy inside it sticks while the list
   scrolls past. */
.faq__head {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

/* The copy track owns everything above the mark, and the sticky element
   lives inside it — so the travel stops at the mark instead of sliding
   over it. */
.faq__head-copy { flex: 1 1 auto; min-height: 0; }

.faq__head-sticky { position: sticky; top: calc(var(--header-height) + var(--space-4)); }

.faq__title { margin-bottom: var(--space-2); }

.faq__intro { color: var(--color-text-muted); }

/* --- Sticky-column mark --------------------------------------------------
   The head column is short next to a seven-item list, so the house mark
   fills the run-off. Petals scale in from the mark's centre on reveal, then
   the whole mark drifts and the halo breathes underneath it.
   ------------------------------------------------------------------------ */

.faq__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(120px, 13vw, 190px);
  aspect-ratio: 1;
  margin-top: auto;
  margin-left: calc(var(--space-1) * -1);
  padding-top: clamp(var(--space-4), 5vw, var(--space-6));
}

.faq__mark-halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(213, 162, 59, 0.22) 0%,
    rgba(213, 162, 59, 0.08) 45%,
    rgba(213, 162, 59, 0) 70%);
  opacity: 0;
  transition: opacity var(--dur-narrative) var(--ease-out);
}

.faq__mark-svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.faq__mark-petal {
  opacity: 0;
  transform: scale(0.55);
  transform-box: view-box;
  transform-origin: 28px 28px;
}

/* The reveal observer flips the header; the petals key off that so the
   bloom cannot start while the column is still off-screen. */
.faq__head.is-revealed .faq__mark-halo {
  opacity: 1;
  animation: faq-mark-halo 6200ms var(--ease-out) 1400ms infinite;
}

.faq__head.is-revealed .faq__mark-svg {
  animation: faq-mark-drift 11000ms var(--ease-out) 1600ms infinite;
}

.faq__head.is-revealed .faq__mark-petal {
  animation:
    faq-mark-bloom 760ms var(--ease-out) forwards,
    faq-mark-shimmer 4800ms ease-in-out infinite;
  animation-delay:
    calc(var(--i, 0) * 55ms + 240ms),
    calc(var(--i, 0) * 120ms + 1600ms);
}

@keyframes faq-mark-bloom {
  0%   { opacity: 0; transform: scale(0.55) rotate(-8deg); }
  60%  { opacity: 1; transform: scale(1.06) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Petals never drop below 0.72, so the mark reads as one object breathing
   rather than individual shapes blinking. */
@keyframes faq-mark-shimmer {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.72; }
}

@keyframes faq-mark-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-5px) rotate(2.2deg); }
  50%      { transform: translateY(0) rotate(0deg); }
  75%      { transform: translateY(4px) rotate(-2.2deg); }
}

@keyframes faq-mark-halo {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50%      { transform: scale(1.06); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .faq__head.is-revealed .faq__mark-halo,
  .faq__head.is-revealed .faq__mark-svg,
  .faq__head.is-revealed .faq__mark-petal { animation: none; }

  .faq__mark-petal { opacity: 1; transform: none; }
  .faq__head.is-revealed .faq__mark-halo { opacity: 1; }
}

.faq__list { display: grid; }

.faq-item { border-bottom: 1px solid var(--color-border-default); }

.faq-item:first-child { border-top: 1px solid var(--color-border-default); }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 64px;
  padding: var(--space-2) 0;
  font-family: var(--font-display-family);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text-strong);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-micro) var(--ease-out);
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q:hover { color: var(--color-action-primary); }

.faq-item__sign {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}

.faq-item__sign::before,
.faq-item__sign::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  /* Linear, and the same length as the panel slide, so the sign and the
     answer move as one gesture rather than two overlapping ones. */
  transition: transform 320ms linear;
}

.faq-item__sign::after { transform: rotate(90deg); }

.faq-item[open] .faq-item__sign::after { transform: rotate(0deg); }

/* JS animates height and padding on this element, so it has to clip. */
.faq-item__a {
  padding-bottom: var(--space-3);
  max-width: 44rem;
  overflow: hidden;
}

.faq-item__a p { color: var(--color-text-muted); font-size: var(--font-body); }

.faq__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}


/* ==========================================================================
   22. NEWSLETTER STAGE (envelope → mailbox)
   ========================================================================== */

.final-cta {
  background: var(--color-warm-sand);
  padding-block: clamp(var(--space-8), 9vw, var(--space-12));
  overflow: hidden;
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(var(--space-4), 5vw, var(--space-9));
  align-items: center;
}

.final-cta__envelope { max-width: 320px; margin-inline: auto; width: 100%; }

.final-cta__envelope svg { width: 100%; height: auto; overflow: visible; }

/* The stage sits on warm sand, so the envelope takes the cooler sea mist —
   a sand envelope on a sand ground would only read as an outline. */
.envelope__body { fill: var(--color-sea-mist); }
.envelope__back { fill: none; stroke: rgba(18, 63, 59, 0.28); stroke-width: 1.4; }
.envelope__fold { fill: none; stroke: rgba(18, 63, 59, 0.22); stroke-width: 1.2; }

.envelope__letter rect { fill: var(--color-paper-white); stroke: rgba(18, 63, 59, 0.2); stroke-width: 1.2; }
.envelope__rule { fill: none; stroke: rgba(18, 63, 59, 0.24); stroke-width: 2; stroke-linecap: round; }

.envelope__letter {
  transform: translateY(0);
  transition: transform var(--dur-narrative) var(--ease-paper);
}

/* Beat 4 — the sealed packet falls into the mailbox. It is painted before
   the mailbox shell, so the shell simply covers it as it lands. */
.envelope__packet {
  transform: translateY(0);
  transition: transform 820ms cubic-bezier(0.55, 0.05, 0.5, 1) 1180ms;
}

/* --- Mailbox --------------------------------------------------------- */
.mailbox__body { fill: var(--color-postmark-coral); }
.mailbox__post { fill: rgba(18, 63, 59, 0.55); }

.mailbox__seam,
.mailbox__base {
  fill: none;
  stroke: rgba(18, 63, 59, 0.3);
  stroke-width: 2;
  stroke-linecap: round;
}

.mailbox__slot {
  fill: none;
  stroke: rgba(18, 63, 59, 0.55);
  stroke-width: 8;
  stroke-linecap: round;
}

/* Beat 5 — the flag goes up once the letter is in. */
.mailbox__flag {
  transform-box: view-box;
  transform-origin: 256px 246px;
  transform: rotate(-92deg);
  transition: transform 520ms var(--ease-paper) 2020ms;
}

.mailbox__flag-arm { fill: var(--color-sunset-gold); }
.mailbox__flag-blade { fill: var(--color-sunset-gold); }

/* The flap starts folded open and invisible; it fades in as it lands so the
   open state reads as an open envelope rather than a stray triangle. */
.envelope__flap {
  fill: var(--color-sea-mist);
  stroke: rgba(18, 63, 59, 0.28);
  stroke-width: 1.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 0%;
  transform: rotateX(180deg);
  transition:
    transform var(--dur-narrative) var(--ease-paper) 260ms,
    opacity 240ms var(--ease-out) 520ms;
}

.envelope__seal {
  fill: var(--color-sunset-gold);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: scale(1.8);
  transition: opacity 420ms var(--ease-out) 620ms, transform 420ms var(--ease-paper) 620ms;
}

.envelope__seal-glyph {
  fill: rgba(93, 63, 13, 0.55);
  opacity: 0;
  transition: opacity 420ms var(--ease-out) 700ms;
}

/* Posted state — the whole sequence keys off this one class. */
.final-cta__envelope.is-sealed .envelope__letter { transform: translateY(34px); }
.final-cta__envelope.is-sealed .envelope__flap { opacity: 1; transform: rotateX(0deg); }
.final-cta__envelope.is-sealed .envelope__seal { opacity: 1; transform: scale(1); }
.final-cta__envelope.is-sealed .envelope__seal-glyph { opacity: 1; }
.final-cta__envelope.is-sealed .envelope__packet { transform: translateY(180px); }
.final-cta__envelope.is-sealed .mailbox__flag { transform: rotate(0deg); }

/* The rewind between plays is a jump cut, not a reversed animation — JS
   sets this for one frame while it clears the posted state off-screen. */
.final-cta__envelope.is-resetting,
.final-cta__envelope.is-resetting * { transition: none !important; }


/* ==========================================================================
   23. NEWSLETTER SIGNUP  (inside the closing column, beside the mailbox)
   ========================================================================== */

.newsletter__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2);
  align-items: end;
}

.field { display: grid; gap: 0.35rem; }

.field__label {
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.field__input {
  min-height: 52px;
  padding: 0.75rem 1rem;
  background: var(--color-paper-white);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-medium);
  font-size: var(--font-body);
  transition: border-color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}

.field__input::placeholder { color: rgba(94, 104, 100, 0.7); }

.field__input:focus-visible { border-color: var(--color-ocean-ink); }

.field__input[aria-invalid='true'] {
  border-color: var(--color-postmark-coral);
  box-shadow: 0 0 0 3px rgba(185, 67, 59, 0.14);
}

.newsletter__message {
  grid-column: 1 / -1;
  min-height: 1.4rem;
  font-size: var(--font-small);
  font-weight: 600;
}

.newsletter__message.is-error { color: var(--color-postmark-coral-hover); }
.newsletter__message.is-success { color: var(--color-ocean-ink); }


/* ==========================================================================
   24. SUBSCRIBE CONFIRMATION POPUP
   ========================================================================== */

.subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: var(--space-3);
}

.subscribe-modal[hidden] { display: none; }

.subscribe-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 63, 59, 0.58);
  opacity: 0;
  transition: opacity var(--dur-component) var(--ease-out);
}

.subscribe-modal__card {
  position: relative;
  width: min(26rem, 100%);
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: var(--color-paper-white);
  border-radius: var(--radius-large);
  box-shadow: 0 26px 60px rgba(18, 63, 59, 0.28);
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition:
    opacity var(--dur-component) var(--ease-out),
    transform var(--dur-component) var(--ease-paper);
}

.subscribe-modal.is-open .subscribe-modal__scrim { opacity: 1; }
.subscribe-modal.is-open .subscribe-modal__card { opacity: 1; transform: none; }

/* --- The paper-plane flight ------------------------------------------
   One sheet, one plane, one trail, sharing a stage. The sheet creases and
   narrows, the plane takes its place and flies off the top-right, then the
   whole thing rewinds in the quiet tail of the loop. */
.subscribe-modal__flight {
  display: block;
  width: 168px;
  margin: 0 auto var(--space-2);
  overflow: visible;
}

.flight__sheet rect { fill: var(--color-paper-white); stroke: rgba(18, 63, 59, 0.28); stroke-width: 1.6; }
.flight__rule { fill: none; stroke: rgba(18, 63, 59, 0.24); stroke-width: 2.4; stroke-linecap: round; }

.flight__crease {
  fill: none;
  stroke: rgba(18, 63, 59, 0.35);
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
  opacity: 0;
}

.flight__plane-body { fill: var(--color-sea-mist); stroke: rgba(18, 63, 59, 0.4); stroke-width: 2; stroke-linejoin: round; }
.flight__plane-fold { fill: rgba(18, 63, 59, 0.1); stroke: rgba(18, 63, 59, 0.4); stroke-width: 2; stroke-linejoin: round; }

.flight__trail {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 8;
  stroke-dashoffset: 90;
  opacity: 0;
}

.flight__sheet,
.flight__plane {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* Resting state, before the card opens: the sheet, nothing else. */
.flight__plane { opacity: 0; }

.subscribe-modal.is-open .flight__sheet { animation: flight-sheet 3.6s var(--ease-out) 320ms infinite; }
.subscribe-modal.is-open .flight__crease { animation: flight-crease 3.6s var(--ease-out) 320ms infinite; }
.subscribe-modal.is-open .flight__plane { animation: flight-plane 3.6s var(--ease-out) 320ms infinite; }
.subscribe-modal.is-open .flight__trail { animation: flight-trail 3.6s var(--ease-out) 320ms infinite; }

@keyframes flight-sheet {
  0%, 8%   { opacity: 1; transform: scaleX(1) rotate(0deg); }
  24%      { opacity: 1; transform: scaleX(0.62) rotate(-4deg); }
  30%      { opacity: 0; transform: scaleX(0.5) rotate(-8deg); }
  92%      { opacity: 0; transform: scaleX(0.5) rotate(-8deg); }
  100%     { opacity: 1; transform: scaleX(1) rotate(0deg); }
}

@keyframes flight-crease {
  0%, 6%   { opacity: 0; }
  16%      { opacity: 1; }
  30%, 100% { opacity: 0; }
}

@keyframes flight-plane {
  0%, 26%  { opacity: 0; transform: translate(0, 0) rotate(-10deg) scale(0.88); }
  34%      { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  44%      { opacity: 1; transform: translate(-6px, 6px) rotate(3deg) scale(1); }
  72%      { opacity: 1; transform: translate(74px, -54px) rotate(-8deg) scale(0.9); }
  84%      { opacity: 0; transform: translate(122px, -92px) rotate(-14deg) scale(0.78); }
  100%     { opacity: 0; transform: translate(122px, -92px) rotate(-14deg) scale(0.78); }
}

@keyframes flight-trail {
  0%, 44%  { opacity: 0; stroke-dashoffset: 90; }
  52%      { opacity: 0.9; }
  76%      { opacity: 0.9; stroke-dashoffset: 0; }
  88%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

.subscribe-modal__eyebrow {
  justify-content: center;
  margin-bottom: var(--space-1);
}

.subscribe-modal__eyebrow::after {
  content: '';
  width: clamp(28px, 4vw, 52px);
  height: 1px;
  background: currentColor;
  flex: none;
}

.subscribe-modal__title {
  font-size: var(--font-h2);
  margin-bottom: var(--space-2);
}

.subscribe-modal__body {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.subscribe-modal__body strong { color: var(--color-text-strong); overflow-wrap: anywhere; }

.subscribe-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}

.subscribe-modal__close:hover { background: var(--color-island-ivory); color: var(--color-text-strong); }

@media (prefers-reduced-motion: reduce) {
  .subscribe-modal__scrim,
  .subscribe-modal__card { transition: none; }

  /* No flight. The plane is simply already made, sitting still. */
  .subscribe-modal.is-open .flight__sheet,
  .subscribe-modal.is-open .flight__crease,
  .subscribe-modal.is-open .flight__plane,
  .subscribe-modal.is-open .flight__trail { animation: none; }

  .flight__sheet { opacity: 0; }
  .flight__plane { opacity: 1; }
}


/* --- Back to top ---------------------------------------------------------
   A scalloped stamp rather than a chevron in a circle: same perforated edge
   as the buttons, the sticker envelope inside, and a label that only turns
   up on hover so the resting state stays small. */
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 45;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 0;
  background: var(--color-sunset-gold);
  color: var(--color-ocean-ink);

  --scallop-r: 4px;
  --scallop-p: 11px;

  opacity: 0;
  translate: 0 14px;
  pointer-events: none;
  transition:
    opacity 320ms var(--ease-out),
    translate 420ms var(--ease-paper),
    background-color 240ms var(--ease-out);
}

.to-top.is-visible {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.to-top:hover { background: #C08F2A; }

.to-top__mark {
  display: block;
  width: 32px;
  height: 32px;
}

.to-top__label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The envelope lifts and the arrow leads it away on hover. */
.to-top .funky { transition: translate 420ms var(--ease-paper); }
.to-top:hover .funky,
.to-top:focus-visible .funky { translate: 0 -2px; }

.to-top__arrow { transition: translate 420ms var(--ease-paper); }
.to-top:hover .to-top__arrow,
.to-top:focus-visible .to-top__arrow { translate: 0 -2.5px; }

@supports (mask-composite: intersect) or (-webkit-mask-composite: source-in) {
  .to-top {
    border-radius: 50%;
    --scallop-edge: radial-gradient(var(--scallop-r) at 50% 0, #0000 97%, #000 100%);
    --scallop-edge-b: radial-gradient(var(--scallop-r) at 50% 100%, #0000 97%, #000 100%);
    --scallop-edge-l: radial-gradient(var(--scallop-r) at 0 50%, #0000 97%, #000 100%);
    --scallop-edge-r: radial-gradient(var(--scallop-r) at 100% 50%, #0000 97%, #000 100%);
    -webkit-mask-image: var(--scallop-edge), var(--scallop-edge-b), var(--scallop-edge-l), var(--scallop-edge-r);
    mask-image: var(--scallop-edge), var(--scallop-edge-b), var(--scallop-edge-l), var(--scallop-edge-r);
    -webkit-mask-size: var(--scallop-p) 100%, var(--scallop-p) 100%, 100% var(--scallop-p), 100% var(--scallop-p);
    mask-size: var(--scallop-p) 100%, var(--scallop-p) 100%, 100% var(--scallop-p), 100% var(--scallop-p);
    -webkit-mask-position: 0 0, 0 100%, 0 0, 100% 0;
    mask-position: 0 0, 0 100%, 0 0, 100% 0;
    -webkit-mask-repeat: round;
    mask-repeat: round;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  /* A mask clips the outline, so focus draws inside the stamp. */
  .to-top:focus-visible { outline: none; }

  .to-top::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 2px dashed transparent;
    border-radius: 50%;
    transition: border-color 240ms var(--ease-out);
  }

  .to-top:focus-visible::after { border-color: currentColor; }
}

/* ==========================================================================
   24. FOOTER
   ========================================================================== */

.site-footer {
  /* Named once because the hanging brand envelope measures its thread against
     it: the knot has to land on the footer's top edge, not near it. */
  --footer-pad-top: clamp(var(--space-6), 7vw, var(--space-12));

  position: relative;
  overflow: hidden;
  background: var(--color-ocean-ink);
  color: rgba(255, 253, 248, 0.82);
  padding-top: var(--footer-pad-top);
}

.site-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-5) var(--grid-gutter);
  /* Reserves room for the island scene below, which is ~1/4.8 of the footer
     width tall. The columns may overlap the sky band at the top of the
     artwork; they never reach the ridge line. */
  padding-bottom: clamp(var(--space-6), 17vw, 262px);
}

/* --- Island scene ---------------------------------------------------------
   Flat vector planes traced from assets/Hawai.jpg. The SVG keeps its own
   aspect ratio (width: 100%, height: auto) so the whole composition survives
   at every width instead of cropping the palm grove away on phones. */

/* Anchored to the top edge of the base bar rather than the bottom of the
   footer, so the shoreline lands exactly on the base border — the rule reads
   as the waterline — instead of drowning behind the copyright row. */
.footer-scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  z-index: 1;
  pointer-events: none;
}

.footer-scene__svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Entry: the planes rise into place back-to-front once the footer scrolls in,
   which reads as the island assembling out of the horizon. `both` holds the
   end state, and each keyframe set only declares `from` so the resting style
   is the natural one — nothing to undo when motion is reduced. */
@keyframes footer-scene-rise {
  from {
    opacity: 0;
    translate: 0 34px;
  }
}

.footer-scene.is-revealed .footer-scene__ridge--far { animation: footer-scene-rise 900ms var(--ease-paper) both; }
.footer-scene.is-revealed .footer-scene__ridge--near,
.footer-scene.is-revealed .footer-scene__ridge-line { animation: footer-scene-rise 900ms 130ms var(--ease-paper) both; }
.footer-scene.is-revealed .footer-scene__shrub { animation: footer-scene-rise 860ms 260ms var(--ease-paper) both; }
.footer-scene.is-revealed .footer-scene__sand { animation: footer-scene-rise 860ms 340ms var(--ease-paper) both; }
.footer-scene.is-revealed .footer-scene__rocks { animation: footer-scene-rise 820ms 420ms var(--ease-paper) both; }

.footer-scene.is-revealed .footer-scene__palm { animation: footer-scene-rise 900ms 300ms var(--ease-paper) both; }
.footer-scene.is-revealed .footer-scene__palm:nth-of-type(2) { animation-delay: 360ms; }
.footer-scene.is-revealed .footer-scene__palm:nth-of-type(3) { animation-delay: 420ms; }
.footer-scene.is-revealed .footer-scene__palm:nth-of-type(4) { animation-delay: 480ms; }
.footer-scene.is-revealed .footer-scene__palm:nth-of-type(5) { animation-delay: 540ms; }

/* Ambient loops. All of them run on `rotate`/`translate`/`scale`/`opacity`
   only, so nothing triggers layout, and they start after the entry so the
   trees are not already swaying as they arrive. Each palm gets its own
   period and a negative delay, which keeps the grove out of lockstep. */
/* The sway is deliberately wide: rotating about the foot of the trunk means a
   3° tilt only moves the crown ~10 viewBox units, which at footer scale is the
   smallest arc that still reads as wind rather than a rendering wobble. Each
   frond tip travels further than the trunk, so the grove shears rather than
   sliding as one block. */
@keyframes footer-palm-sway {
  0%, 100% { rotate: -2.9deg; }
  50% { rotate: 3.1deg; }
}

.footer-scene.is-revealed .footer-palm {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: footer-palm-sway 5.4s 900ms var(--ease-out) infinite;
}

.footer-scene.is-revealed .footer-palm--2 { animation-duration: 6.4s; animation-delay: -1.4s; }
.footer-scene.is-revealed .footer-palm--3 { animation-duration: 5.9s; animation-delay: -3.1s; }
.footer-scene.is-revealed .footer-palm--4 { animation-duration: 7.2s; animation-delay: -2.2s; }
.footer-scene.is-revealed .footer-palm--5 { animation-duration: 6.1s; animation-delay: -4.6s; }

/* Trade winds: clouds cross a real distance and thin out as they go, but the
   travel stays short of the frame edges so none of them clips. */
@keyframes footer-cloud-drift {
  0%, 100% { translate: -62px 0; opacity: 1; }
  50% { translate: 74px -9px; opacity: 0.4; }
}

.footer-scene.is-revealed .footer-cloud { animation: footer-cloud-drift 22s var(--ease-out) infinite; }
.footer-scene.is-revealed .footer-cloud--2 { animation-duration: 29s; animation-delay: -12s; }
.footer-scene.is-revealed .footer-cloud--3 { animation-duration: 18s; animation-delay: -7s; }

/* Wash: the foam lines run up the sand and drain back, offset from each other
   so the shoreline breaks in two places instead of pulsing as one unit. */
@keyframes footer-foam-wash {
  0%, 100% { translate: -18px 6px; opacity: 0.14; }
  50% { translate: 54px -7px; opacity: 0.72; }
}

.footer-scene.is-revealed .footer-foam { animation: footer-foam-wash 6.4s var(--ease-out) infinite; }
.footer-scene.is-revealed .footer-foam--2 { animation-duration: 8.6s; animation-delay: -4.5s; }

@keyframes footer-sun-pulse {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: 0.68; scale: 1.05; }
}

.footer-scene.is-revealed .footer-scene__sun {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: footer-sun-pulse 11s var(--ease-out) infinite;
}

/* The logo is dark ink, so on the deep footer it sits on paper — here as a
   sealed envelope strung from the top edge of the footer, which carries the
   postal theme further than the pasted-label version did.

   The pivot is the knot at the top of the thread, not the card, so thread and
   envelope swing together as one pendulum instead of the card rocking about
   its own centre. `transform-origin` is allowed to sit outside the box, which
   is what makes that possible without a wrapper element. */
.site-footer__brand { position: relative; }

.brand--footer {
  position: relative;
  /* Top padding clears the flap and the seal that sits on its point, so the
     wordmark starts below both rather than being stamped through. */
  padding: 56px 30px 18px;
  background: var(--color-paper-white);
  border-radius: 3px;
  box-shadow:
    var(--shadow-paper),
    0 16px 30px rgba(0, 0, 0, 0.24);
  transform-origin: 50% calc(-1 * var(--footer-pad-top));
  rotate: -1.4deg;
}

/* Thread. The knot is painted into the gradient at the top of the same
   element, exactly on the pivot, so it turns in place while the envelope
   below it travels. */
.brand--footer::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 100%;
  z-index: 0;
  width: 11px;
  margin-left: -5.5px;
  height: var(--footer-pad-top);
  background:
    radial-gradient(circle at 50% 4px, var(--color-sunset-gold) 0 3.4px, transparent 3.6px)
      no-repeat center top / 11px 11px,
    linear-gradient(to bottom, rgba(255, 253, 248, 0.55), rgba(255, 253, 248, 0.14))
      no-repeat center top / 1px 100%;
}

/* Flap. The drop-shadow tracks the clipped triangle, which is what draws the
   crease — a border cannot follow a clip-path. */
.brand--footer::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: 40px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(to bottom, var(--color-paper-white), var(--color-warm-sand));
  filter: drop-shadow(0 1px 0 rgba(18, 63, 59, 0.18));
}

.brand__wax {
  position: absolute;
  z-index: 2;
  top: 40px;
  left: 50%;
  width: 18px;
  height: 18px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--color-soft-coral), var(--color-postmark-coral) 62%);
  box-shadow: 0 1px 2px rgba(18, 63, 59, 0.32);
}

.brand--footer .brand__logo { height: 60px; }

/* Tied to the same reveal as the island below, so nothing swings while the
   footer is still off screen. Browsers without :has simply keep the static
   tilt, which is a complete resting state on its own. */
@keyframes brand-swing {
  0%, 100% { rotate: -2.8deg; }
  50% { rotate: 0.6deg; }
}

.site-footer:has(.footer-scene.is-revealed) .brand--footer {
  animation: brand-swing 6.8s var(--ease-out) infinite;
}

.site-footer__desc {
  margin-top: var(--space-2);
  font-size: var(--font-small);
  max-width: 24rem;
}

.site-footer__heading {
  font-family: var(--font-body-family);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sunset-gold);
  margin-bottom: var(--space-2);
}

/* --- Collapsible columns -------------------------------------------------
   Each column is a <details>. Above the phone breakpoint it has to read as
   plain markup: no marker, no pointer, nothing to click. The disclosure only
   comes alive in the mobile block further down.
   ------------------------------------------------------------------------ */

.site-footer__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  cursor: default;
  list-style: none;
}

/* Safari draws its own triangle from a pseudo-element rather than the
   list-style above. */
.site-footer__summary::-webkit-details-marker { display: none; }

.site-footer__summary .site-footer__heading { margin-bottom: 0; }

.site-footer__chevron { display: none; }

.site-footer__nav ul { display: grid; gap: 0.15rem; margin-top: var(--space-2); }

.site-footer__nav a {
  display: inline-block;
  padding: 0.4rem 0;
  font-size: var(--font-small);
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease-out);
}

.site-footer__nav a:hover { color: var(--color-sunset-gold); }

.site-footer__base {
  position: relative;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
}

.site-footer__base-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-3);
  font-size: var(--font-small);
}

.site-footer__copy { color: rgba(255, 253, 248, 0.6); }


/* ==========================================================================
   25. ANIMATION CLASSES
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 620ms var(--ease-out),
    transform 620ms var(--ease-paper);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Letters deal themselves onto the page once, in a staggered fan. CSS-only
   so it still plays with JavaScript disabled; `both` holds the end state.
   Uses the independent `translate` and `scale` properties rather than
   `transform`, so the entry composes with the parallax transform on the
   same element instead of overwriting it. */
@keyframes letter-deal {
  from {
    opacity: 0;
    translate: 0 26px;
    scale: 0.94;
  }
}

.letter {
  animation: letter-deal 780ms var(--ease-paper) both;
}

.letter--01 { animation-delay: 120ms; }
.letter--02 { animation-delay: 230ms; }
.letter--03 { animation-delay: 320ms; }
.letter--05 { animation-delay: 500ms; }

/* Journey route draw-on. The line is drawn one leg at a time — the script
   measures where each stop sits along the path and animates the dash offset
   to that point, so the route arrives at a stop just as that stop appears.
   `--journey-leg` is set per leg by the script; the value here is only the
   fallback for the first paint. */
.journey__route {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset var(--journey-leg, 520ms) var(--ease-out);
}

.journey__route.is-drawn { stroke-dashoffset: 0; }

/* The wire draws itself first, then the prints drop onto it left to right so
   the line reads as being hung rather than appearing all at once. */
/* Clipping from the left strings the rope across the stage. Insets are
   negative on three sides so the ends, which run past the viewBox, are not
   trimmed once it is fully out. */
.gallery__wire {
  clip-path: inset(-80% 100% -80% -8%);
  transition: clip-path 1500ms var(--ease-out);
}

.gallery__wire.is-drawn { clip-path: inset(-80% -8% -80% -8%); }

.gallery__hang[data-reveal] { transform: translateY(-14px); }
.gallery__hang[data-reveal].is-revealed { transform: translateY(0); }

.gallery__hang--1[data-reveal] { transition-delay: 320ms; }
.gallery__hang--2[data-reveal] { transition-delay: 420ms; }
.gallery__hang--3[data-reveal] { transition-delay: 520ms; }
.gallery__hang--4[data-reveal] { transition-delay: 620ms; }
.gallery__hang--5[data-reveal] { transition-delay: 720ms; }
.gallery__hang--6[data-reveal] { transition-delay: 820ms; }


/* ==========================================================================
   26. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* --- Large desktop refinement --- */
@media (min-width: 1440px) {
  :root { --grid-gutter: 1.5rem; }
  .hero__inner { gap: var(--space-8); }
}

/* --- Below standard desktop: collapse nav to menu button --- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__utility span:not(.visually-hidden) { display: none; }
  .site-header__actions { margin-left: auto; }

  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--grid-gutter); }

  .journey__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--grid-gutter); }
  .journey-step:nth-child(even) { margin-top: 0; }
  .journey__path { display: none; }

  /* Wrapped rows put the CTA far from the copy it answers, so it goes back
     under the setline instead of beside it. */
  .journey__head { flex-direction: column; align-items: flex-start; }

  /* `.section-head--flush` carries `flex: 1 1 32rem` for the row layout. Once
     the head is a column that basis is read as a HEIGHT, so the setline
     reserved 32rem of empty lagoon above the CTA on every tablet and phone.
     In a column the head should be exactly as tall as its copy. */
  .journey__head > .section-head--flush { flex: 0 1 auto; width: 100%; }

  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Between tablet and full desktop the headline sets on one line and grows
   toward the gutters, so the letters have to give way — smaller, and hard
   against the edges. */
@media (min-width: 901px) and (max-width: 1400px) {
  .letter { --letter-w: clamp(92px, 10.5vw, 140px); }
  .letter--01 { top: 17%; left: 0.5%; }
  .letter--02 { top: 18%; right: 8%; }
  .letter--03 { bottom: 10%; left: 6%; }
  .letter--05 { bottom: 14%; right: 0.5%; }
}

/* --- Tablet --- */
@media (max-width: 900px) {
  /* Side by side there is no room left for the quote, so the photograph
     stacks on top and runs the full width instead of bleeding one edge. */
  .reviews__split { grid-template-columns: minmax(0, 1fr); }

  .reviews__media img {
    height: clamp(11.25rem, 26vh, 17.5rem);
    min-height: 0;
    max-height: none;
  }

  .reviews__split { row-gap: clamp(var(--space-3), 3vh, var(--space-5)); }
  .reviews__panel { padding-block: 0; }

  :root { --header-height: 88px; }

  /* The hero must keep filling the fold here too. An earlier `min-height:
     auto` on this breakpoint was the white band: below 900px the hero
     stopped reaching the foot of the viewport and the paper-white section
     under it showed through. */
  .letter { --letter-w: clamp(84px, 11vw, 116px); }
  .letter--01 { top: 16%; left: -1%; }
  .letter--02 { top: 17%; right: 3%; }
  .letter--03 { bottom: 9%; left: 2%; }
  .letter--05 { bottom: 14%; right: -1.5%; }

  .definition__inner,
  .mailbox__inner,
  .quiz__sheet,
  .brand-story__inner,
  .faq__inner,
  .final-cta__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Both of these are `position: sticky` and have nothing left to stick to
     once their column is the whole width. `.summary` used to be listed here
     too, but it is `relative`, not sticky — it was never sticking to anything.
     Making it static took the containing block out from under the gift stamp,
     which is absolutely positioned against it: the stamp resolved against a
     far ancestor instead and landed roughly 700px up the page, off the card
     and out of sight. It keeps its own positioning. */
  .mailbox__sticky,
  .faq__head-sticky { position: static; }

  /* Single column: the head is just the first block again. */
  .faq__head { grid-row: auto; display: block; }

  .mailbox__sticky { padding-block: 0; }
  /* Stacked: the summary sits below a full-width ledger, so the stamp moves
     inboard to stay clear of the column edge. */

  /* Stacked: no run-off left to fill, so the mark becomes a small divider
     between the head and the list rather than a column ornament. */
  .faq__mark {
    width: clamp(96px, 22vw, 132px);
    margin: var(--space-4) auto 0;
    padding-top: 0;
  }

  .final-cta__inner { gap: var(--space-5); }

  /* Side by side the envelope answers the copy from the right. Stacked, copy
     first means the reader meets a form before they have seen what the section
     is about, so the animation leads and the sign-up follows it.

     `margin-inline: auto` centres it in its column, which reads as a stray
     object floating above left-aligned copy. Zeroing the inline margin puts
     its left edge on the same line as the eyebrow, the heading and the email
     field below it. */
  .final-cta__envelope {
    max-width: 280px;
    order: -1;
    margin-inline: 0;
  }

  .stories__track { grid-template-columns: minmax(0, 1fr); }
  .story-card--lift { margin-top: 0; }

  /* Stacked: the perforation runs across the sheet instead of down it. */
  .quiz__stamps {
    padding-left: 0;
    padding-top: var(--space-4);
    border-left: 0;
    border-top: 2px dotted rgba(18, 63, 59, 0.28);
  }
  .quiz__stamps-head { padding-right: 0; }
  .quiz__seal { top: clamp(-44px, -5vw, -28px); }

  /* Stacked, the receipt sits directly under the ledger card and the gift
     envelope hangs back onto its border. A little more air keeps the two
     objects reading as separate pieces of paper. */

}

/* --------------------------------------------------------------------------
   Tablet proper — iPad mini through iPad Air in portrait.

   Everything down to 900px inherits the desktop composition; what breaks in
   this band is placement, not structure. The scatter bleeds far enough to cut
   artwork in half, and the story grid has collapsed to one column a breakpoint
   too early, which makes three near-full-height cards.
   -------------------------------------------------------------------------- */
@media (min-width: 641px) and (max-width: 900px) {
  /* Desktop lets the letters bleed because there are gutters to spare. Here
     the crop lands mid-cover — a stamp sliced through its own title reads as
     a broken image, so the whole scatter comes inside the frame.

     Inside the frame is not the same as lined up against it: pinning all four
     to the edges at matching heights turned a scatter into two neat columns.
     These keep the desktop rhythm — one letter of each pair tight to the
     margin, its partner set in and off the same baseline — just at a smaller
     size, so it still reads as things dropped on a table. */
  .letter { --letter-w: clamp(84px, 11.5vw, 112px); }
  .letter--01 { top: 13%;    left: 2%; }
  .letter--02 { top: 19%;    right: 7%; }
  .letter--03 { bottom: 8%;  left: 11%; }
  .letter--05 { bottom: 19%; right: 1.5%; }

  /* One column here gives three cards whose covers alone run 300px, so the
     section becomes a 2,800px scroll. Two columns keep the browse-and-compare
     read the grid was built for; the third card simply starts a new row. */
  .stories__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gutter);
  }
  .story-card--lift { margin-top: clamp(0px, 2.4vw, 26px); }
  /* Two-up columns are half as wide, so the banner crop shortens to match. */
  .story-card__figure > img { height: clamp(150px, 22vh, 220px); }

  /* The accent is set as its own block so it reads as a signature under the
     printed line. That needs two lines' worth of column; here the sheet is
     stacked and the copy has the full width, so the question sets as one
     line and the sheet stops looking front-loaded. */
  .quiz__title .title-accent {
    display: inline;
    margin-top: 0;
  }
  .quiz__title { font-size: clamp(1.9rem, 4.6vw, 2.4rem); }

  /* Stacked, the receipt is full width and the gift envelope goes back to
     resting on its top-right corner exactly as it does on desktop, rather
     than being pushed inboard. The extra margin above is what buys the
     overhang its clearance from the ledger card. */

  /* One column puts the mark under the copy, where it reads as an orphaned
     ornament between the intro and the first question. Beside the copy it
     goes back to being what it is on desktop — the thing that fills the head
     column — and the questions keep the full width below. */
  .faq__head {
    grid-row: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-4);
  }

  .faq__mark {
    width: clamp(112px, 19vw, 168px);
    margin: 0;
    padding-top: 0;
  }

  /* --- Mailbox: flat list, and nothing pinned --------------------------
     The pile is a desktop and phone effect; in this band the cards simply
     flow. That means the section has nothing left to hold open either — and
     while it was still `position: sticky` with a negative offset it went on
     pinning against a list that no longer stacked, so Stories scrolled over
     the top of the last card. Both stop together. */
  .mailbox { position: static; }

  /* The figure is `flex: 1 1 auto` with an absolutely-positioned image, so
     it has no intrinsic height — it only ever had one because the pinned
     card forced a min-height. In flow it has to carry its own. */

  /* No pile to hold open, so the foot of the list is just spacing. */
}

/* Below an iPad mini, four stamp tracks print as slivers. */
@media (min-width: 641px) and (max-width: 759px) {
  .quiz__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- Mobile --- */
@media (max-width: 640px) {
  :root {
    --font-h1: 2.75rem;
    --font-h2: 2rem;
    --font-h3: 1.5rem;
    --font-display: 2.75rem;
    --font-body-large: 1.0625rem;
    --font-body: 1.0625rem;
    --page-gutter: 1.25rem;
    --space-14: 4.5rem;
    --space-12: 4rem;
  }

  .announcement__inner { font-size: 0.75rem; letter-spacing: 0.06em; }

  .review-card__quote { font-size: 1.15rem; }
  .carousel-controls--reviews { gap: var(--space-2); }
  .reviews__dot-icon { width: 1.25rem; height: 1.25rem; }

  /* The setline says what the quotes already show, and at this width it costs
     four rows the band cannot spare. */
  .reviews__head .section-head__intro { display: none; }

  /* The band is the tallest thing on a phone screen, so every wrapper gives
     back what it can: the photograph crops shorter, the tint loses a step of
     padding, and the section's own band tightens. */
  .reviews { padding-block: 1.875rem; }
  .reviews__media img { height: clamp(8rem, 15vh, 12rem); }
  .reviews__stage { padding: var(--space-2); }

  /* The header CTA would force the bar wider than the viewport; the sticky
     bottom CTA and the menu both carry it instead. */
  .site-header__inner { gap: var(--space-2); }
  .site-header__actions .btn { display: none; }
  .brand__logo { height: 46px; }
  .brand--footer .brand__logo { height: 70px; }

  /* Phones have vertical slack, so the cue gets a wider berth under the
     copy instead of crowding the facts line. */
  .hero { padding-bottom: clamp(88px, 14vh, 120px); }
  /* A phone has no room for a scatter. Two letters survive as bleed
     accents at opposite corners, sitting clear of the header above and
     the sticky CTA below; the rest step aside for the type. */
  .hero__scatter { opacity: 0.9; }
  .letter { --letter-w: clamp(84px, 24vw, 110px); }
  /* Full-width CTAs and a full-width facts line leave no horizontal band
     for a second accent — anything at the right edge lands on top of copy.
     One letter survives, parked beside the eyebrow where the column is
     genuinely empty. At -22% only a ~8px strip of it cleared the edge, which
     read as a rendering fault rather than a stamp; -9% shows enough of the
     card for the crop to be legible as a deliberate bleed. */
  .letter--01 { top: 21%; left: -9%; }
  .letter--02,
  .letter--03,
  .letter--05 { display: none; }
  .letter__sticker { --sticker-w: 28px; }
  .hero__actions .btn { width: 100%; }

  .facts__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }

  .journey__steps { grid-template-columns: minmax(0, 1fr); }

  /* No room to scatter. The envelope keeps the stage, the five things fall
     into a column beneath it, and they still land one at a time. */
  .arrives__scene { display: block; min-height: 0; }
  .arrives__envelope { width: 180px; margin: 0 auto var(--space-4); }

  .arrives__cards {
    position: static;
    display: grid;
    gap: 0.7rem;
  }

  .arrives-card {
    position: static;
    width: auto;
    transform: none;
  }

  .arrives__scene.is-armed .arrives-card {
    transform: translateY(16px) scale(0.96);
  }

  .arrives__scene.is-armed.is-open .arrives-card { transform: none; }


  /* Six prints stop fitting side by side: two step out and the remaining four
     re-space across the same wire, so the line still runs edge to edge. */
  .gallery {
    --photo: clamp(84px, 23vw, 132px);
    padding-bottom: calc(var(--photo) * 1.4 + var(--drop-unit) * 3.6);
  }

  .gallery__hang--3,
  .gallery__hang--6 { display: none; }

  .gallery__hang--1 { --x: 13%; }
  .gallery__hang--2 { --x: 38%; }
  .gallery__hang--4 { --x: 63%; }
  .gallery__hang--5 { --x: 88%; }

  .newsletter__form { grid-template-columns: minmax(0, 1fr); }
  .newsletter__form .btn { width: 100%; }

  /* The stage keeps a tall run of empty sky above the mailbox for the drop;
     on a phone that reads as dead space, so the whole thing shrinks. */
  .final-cta__envelope { max-width: 220px; }

  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }

  /* Fitting the whole 1440-wide island into a phone leaves a band barely 80px
     tall, where the grove is unreadable. Instead the artwork is held at a
     usable height and anchored to the right edge, so the frame crops to the
     part that carries the island: the palms, the treeline and the shore. */
  .footer-scene {
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
  }

  .footer-scene__svg {
    flex: none;
    width: auto;
    max-width: none;
    height: 140px;
  }

  /* Three across on a phone, and the nudge re-solves against that. */
  .quiz__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stamp__name { font-size: 0.8rem; }

  /* Stacked card: a narrow column has no room for a cover beside the copy,
     and the cover is capped so the card still fits the panel. */
  .quiz-result__card { flex-direction: column; }
  .quiz-result__figure {
    flex: 0 0 auto;
    aspect-ratio: 21 / 9;
    max-height: 132px;
  }
  .quiz__stamps-head { align-items: flex-start; flex-direction: column; gap: 0.25rem; }

  /* Story carousel — horizontal scroll with snap, still keyboard reachable */
  .stories__viewport {
    margin-inline: calc(-1 * var(--page-gutter));
    padding-inline: var(--page-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .stories__viewport::-webkit-scrollbar { display: none; }

  .stories__track {
    display: flex;
    gap: var(--space-2);
    padding-bottom: var(--space-2);
  }

  .story-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  /* Sticky bottom CTA only on mobile */
  .sticky-cta { display: block; }

  /* Lift clear of the sticky CTA bar. */
  .to-top {
    width: 56px;
    height: 56px;
    right: 0.9rem;
    bottom: calc(0.9rem + 76px + env(safe-area-inset-bottom));
  }
  .to-top__mark { width: 26px; height: 26px; }
  .to-top__label { font-size: 0.5625rem; }
  body { padding-bottom: 0; }

  /* Twelve stops in a phone's width: shrink the envelopes and drop the two
     inner month labels so the remaining ones stay legible. */
  /* Twelve stops in a phone's width: shrink the marks, stack the lane label
     above its track, and drop the two inner month labels. */
  /* No room beside the coin on a phone, so the amount parks at the far end
     of the lane instead — the merged coin sits at the near end. */
}


/* ==========================================================================
   26b. MOBILE LAYOUT PASS

   The block above shrinks the desktop composition to fit a phone. This one
   changes what the composition IS, in the places where shrinking was never
   going to be enough — a scatter with no margins to scatter into, a pinned
   section with nothing to pin against, three link lists longer than the
   screen. Kept separate so the reasoning stays legible, and ordered after
   so it wins on equal specificity.
   ========================================================================== */

@media (max-width: 640px) {

  /* --- Menu: the whole thing on one screen ------------------------------
     Six 95px rows plus a CTA and the utilities ran 878px, which scrolls on
     anything shorter than a Pro Max. The type stays large enough to be the
     drawer's main event; the padding around it does the giving. */

  .mobile-menu__inner {
    gap: var(--space-3);
    padding-top: calc(var(--header-height) + var(--space-2));
    padding-bottom: var(--space-4);
  }

  .mobile-menu__list a {
    padding: 0.6rem 0;
    font-size: 1.35rem;
  }

  .mobile-menu__foot { gap: var(--space-2); }


  /* --- Hero: the scatter becomes a pair ---------------------------------
     A scatter needs outer margins to scatter into. A phone has none, so on
     the old layout three of the four letters were switched off and the
     survivor was pushed half off the edge — a decorative crop of a crop.
     Instead the canvas drops out of absolute positioning entirely and
     becomes a row of two covers under the copy, above the scroll cue: the
     same objects, presented rather than strewn. */

  .hero__scatter {
    position: static;
    order: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-4);
    width: 100%;
    margin-top: var(--space-3);
    padding-inline: var(--page-gutter);
    opacity: 1;
  }

  .hero__inner { order: 1; }

  /* In flow now, so the placement percentages above are inert and the
     parallax translate has nothing meaningful to offset. */
  .letter {
    position: static;
    --letter-w: clamp(76px, 21vw, 96px);
    transform: none;
  }

  /* The two perforated stamps: a matched pair reads as a deliberate
     selection, where one of each cut would read as leftovers. */
  .letter--01,
  .letter--05 { display: block; }

  .letter--02,
  .letter--03 { display: none; }

  .letter__sticker { --sticker-w: 30px; }

  /* Scattered, each sticker overhung whichever edge had open space around
     it. Side by side those two edges face each other, so both stickers
     landed in the gap between the covers and overlapped. They swap to the
     outer edges of the pair. */
  .letter--01 .letter__sticker { right: auto; left: -12%; }
  .letter--05 .letter__sticker { left: auto; right: -12%; }

  /* Room for the row and the cue beneath it. The row is new weight in the
     fold, so this is the trim that keeps the hero from outgrowing it. */
  .hero { padding-bottom: clamp(80px, 11vh, 104px); }


  /* --- Mailbox: the pile is back ---------------------------------------
     Making the cards flow was what buried the fourth one: the section kept
     pinning while the list under it did not stack, so Stories rode up over
     a card that was simply sitting there. The fix is not to unpin — it is
     to let the pile happen. The stack rules now sit in the tablet band
     above, so a phone inherits the desktop behaviour: each card parks one
     head-strip below the last, and the JS reserves the run they need. */


  /* --- Stories: cards come off the edges --------------------------------
     The rail bled to the screen edges by pulling out a gutter's worth of
     margin and padding it back in. That only holds while the scroller sits
     at scrollLeft 0, and it does not — the carousel starts at 20, which is
     exactly the padding, so the first card sat flush against the glass with
     its shadow cut off. Dropping the bleed puts the rail inside the
     container's own gutters, where the inset survives any scroll position.
     At 78% the card keeps both margins and still shows a slice of the next
     one, which is the only cue that the row scrolls at all. */
  .stories__viewport {
    margin-inline: 0;
    padding-inline: 0;
  }

  .story-card { flex-basis: 78%; }

  .stories__track { gap: var(--space-3); }


  /* --- Story finder -----------------------------------------------------
     One line for the question, and two stamps a row instead of three. At
     three across a stamp was 90px wide carrying an 0.8rem label; at two it
     is 150px and the artwork is legible. */

  .quiz__title .title-accent {
    display: inline;
    margin-top: 0;
  }

  .quiz__title { font-size: clamp(1.3rem, 6.6vw, 1.75rem); }

  .quiz__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .stamp__name { font-size: 0.9rem; }


  /* --- Make it yours / Inside the envelope ------------------------------
     Both sections lead with copy and follow with a figure, and on a phone
     the copy is the full width of the screen. Centred, it reads as a title
     card for what comes under it; ranged left it reads as a paragraph the
     artwork happens to sit below. The eyebrow is a flex row, so its rule
     has to be centred separately from the text. */

  .journey__head {
    align-items: center;
    text-align: center;
  }

  .journey__head .eyebrow--rule,
  .arrives__head .eyebrow--rule { justify-content: center; }

  .journey__cta {
    display: flex;
    justify-content: center;
    width: 100%;
  }


  /* --- Behind the postmark: three prints, not six -----------------------
     Six prints on a 390px wire gave each about 60px of room, so they
     overlapped, the outer two hung past the gutters, and the captions
     truncated. Three at even spacing, each large enough to read, on short
     even threads — the wire keeps its shape and the prints keep their
     subject. */

  .gallery {
    --photo: clamp(96px, 27vw, 132px);
    --drop-unit: 10px;
  }

  /* `--x`, `--k` and `--dropk` are authored inline on each print, and an
     inline custom property outranks anything here — so these override the
     properties those variables feed rather than the variables themselves. */
  .gallery__hang {
    width: var(--photo);
    margin-left: calc(var(--photo) / -2);
  }

  .gallery__thread { height: calc(var(--drop-unit) * 1.6); }

  .gallery__hang--2,
  .gallery__hang--4,
  .gallery__hang--6 { display: none; }

  /* The block above this one hides prints 3 and 6 to thin a four-print row;
     print 3 is back in the keeper set, so it has to be switched on again. */
  .gallery__hang--1 { display: block; left: 21%; }
  .gallery__hang--3 { display: block; left: 50%; }
  .gallery__hang--5 { display: block; left: 79%; }

  /* Uniform crop: three different aspect ratios at this size read as three
     mistakes rather than as variety. */
  .gallery__hang .gallery__frame img { aspect-ratio: 1 / 1; }

  /* Three short threads instead of six long staggered ones, so the run the
     prints hang into is shorter too — measured at 60-95px of slack before
     this came down. */
  .gallery { padding-bottom: calc(var(--photo) * 1.2 + var(--drop-unit) * 3); }


  /* --- FAQ: no house mark ----------------------------------------------
     It exists to fill the run-off beside a sticky column. Single column,
     there is no run-off — it is just a logo sitting between the intro and
     the first question. */
  .faq__mark { display: none; }


  /* --- Section captions: one line each ----------------------------------
     The eyebrow is the caption over every section heading. At the shared
     tracking it fits on one line everywhere except the hero, where "Original
     stories · Delivered by mail" is 36 characters and wrapped onto a second
     line that then pushed the whole fold down. Tracking gives up more width
     per point than size does, so it takes most of the cut. */
  .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
  }

  .eyebrow--rule { gap: var(--space-1); }

  .eyebrow--rule::before { width: clamp(20px, 6vw, 30px); }


  /* --- What is Aloha Letters? -------------------------------------------
     Two columns become one, and the column gap becomes vertical space —
     which lands on top of the heading's own bottom margin. The answer reads
     as a reply to the question, so they belong close together. */
  .definition__inner { gap: var(--space-2); }

  .definition__question { margin-bottom: 0; }


  /* --- Story finder: close the gap under the paragraph -------------------
     `.quiz__body` and `.quiz__note` each carry their own margin toward the
     other, and in a flex column those do not collapse — 48px of it. */
  .quiz__body { margin-bottom: var(--space-1); }

  .quiz__note { margin-top: var(--space-2); }


  /* --- Your story, your rhythm ------------------------------------------
     Twice monthly puts all twelve marks in the first half of the axis, so
     the pitch between them halves: 11.8px at 375, against 14px-wide
     envelopes and coins. They overlapped into an unreadable ribbon. Sized
     under the tightest pitch on the smallest phone, both lanes together so
     a payment still reads as sitting under the letter it pays for. */

  /* Stacked, the receipt trailed the ledger by 64px of empty ground: the
     grid's column gap turned into a row gap, and the receipt's own top
     margin sat on top of it. Both come down. */


  /* --- Reader stories: keep the controls inside the panel ----------------
     Two 44px buttons, five 44px dots and their gaps need 356px of a 300px
     row. A flex row resolves that by overflowing equally on both sides, so
     the arrows sat outside the panel's rounded edge. Wrapping puts the dots
     on their own full-width line above the arrows; both fit, nothing spills,
     and every target keeps its size. */
  .carousel-controls--reviews {
    flex-wrap: wrap;
    row-gap: var(--space-2);
  }

  .reviews__dots {
    order: -1;
    flex: 1 0 100%;
    justify-content: center;
  }


  /* --- Footer: three disclosures ---------------------------------------
     Eighteen link rows stand between the reader and the copyright line.
     Closed by default (script sets it at this width), each column opens on
     tap. The summary is a real 44px row with a chevron that turns. */

  .site-footer__summary {
    cursor: pointer;
    padding-block: var(--space-2);
    border-bottom: 1px solid rgba(255, 253, 248, 0.16);
  }

  .site-footer__chevron {
    display: inline-flex;
    flex: none;
    width: 12px;
    color: var(--color-sunset-gold);
    transition: rotate var(--dur-component) var(--ease-out);
  }

  .site-footer__chevron svg {
    width: 100%;
    height: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .site-footer__group[open] .site-footer__chevron { rotate: 180deg; }

  /* An open column of seven links is seven 45px rows. Two columns halves the
     run without shortening the rows — the alternative was trimming the row
     padding, which would have taken every footer link back under the 44px
     touch minimum the coarse-pointer rules just gave them. */
  .site-footer__nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-3);
    margin-top: var(--space-1);
  }

  .site-footer__group[open] ul { padding-bottom: var(--space-2); }

  .site-footer__inner { gap: var(--space-2); }

  /* --- Clear the sticky CTA at the true foot of the page -----------------
     The clearance used to sit on `.site-footer__inner`, which is the column
     block — but the copyright bar comes after it, so 158px of padding opened
     a gap in the middle of the footer while the last line stayed underneath
     the CTA and unreadable. It belongs on the last thing on the page.

     80px is the bar: 0.75rem of padding top and bottom around a 56px button.
     The inset is added on top because the bar's own bottom padding already
     absorbs the home indicator, so the content above it has to clear both. */
  .site-footer__base-inner {
    padding-bottom: calc(80px + var(--space-3) + env(safe-area-inset-bottom));
  }
}


/* Very short viewports (small phones with browser chrome showing) cannot
   hold the copy, the CTAs and a cue in one fold. The cue is the thing to
   drop — the page obviously continues — so the CTAs keep the fold. */
@media (max-height: 620px) {
  /* Trim the padding, but never the min-height — dropping it here was the
     same white-band bug in miniature. */
  .hero { padding-bottom: clamp(var(--space-5), 7vh, var(--space-8)); }
  .hero__scroll { display: none; }
}

@media (max-width: 400px) {
  .quiz__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 0.5rem 0.75rem; }
}

/* --------------------------------------------------------------------------
   Phone held sideways. Roughly 390px of height once the browser chrome is in,
   so every section's vertical rhythm — tuned for a portrait fold — turns into
   a scroll marathon. The type stays put; only the air between things shrinks.
   -------------------------------------------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --space-14: 3.5rem;
    --space-12: 3rem;
    --space-9: 2.25rem;
    --space-8: 2rem;
    /* Sideways, the notch and the rounded corners eat into the live area on
       whichever edge the camera lands. The gutter absorbs both. */
    --page-gutter: calc(1.25rem + max(env(safe-area-inset-left), env(safe-area-inset-right)));
  }

  /* Portrait keeps a full fold for the hero because the next section is the
     reward for scrolling. Sideways, a full fold is 390px of mostly nothing —
     the copy is the fold. */
  /* Padding only — never the min-height. Two comments elsewhere in this file
     record the same regression: the moment the hero stops reaching the foot of
     the viewport, the paper-white section beneath it shows as a band at the
     fold. `max-height: 620px` above already handles the bottom; this trims the
     top.

     The header-height term is not optional: the hero is pulled up under the
     sticky header by a negative margin, so a bare padding value puts the
     eyebrow behind the nav. Only the breathing room on top of it shrinks. */
  .hero { padding-top: calc(var(--header-height) + var(--space-1)); }

  /* The scatter is placed in percentages of the hero, which assumes the hero
     is tall enough to have corners the copy does not reach. At 390px it does
     not — every letter lands on the headline, the body copy or the nav. There
     is no empty band to decorate, so the scatter sits this one out. */
  .hero__scatter { display: none; }

  /* On a narrow landscape phone (568px and under) the mobile rule has already
     made each CTA full width, which stacks them into two of the four visible
     rows. Side by side they cost one. */
  .hero__actions .btn { width: auto; }

  /* Height-bound crops: a viewport-height clamp resolves to almost nothing
     here, so both switch to a fixed landscape crop. */
  .story-card__figure > img { height: 150px; }
  .reviews__media img { min-height: 14rem; }

  /* The stage reserves sky above the mailbox for the envelope to fall
     through; sideways there is no sky to reserve. */
  .final-cta__envelope { max-width: 180px; }

  /* Two fixed circles plus a full-width bar eat a third of the screen. */
  .to-top { display: none; }
}

/* --------------------------------------------------------------------------
   Touch targets. A fingertip needs about 44px; several controls are drawn
   smaller than that on purpose (the review dots are pineapples, the footer
   links sit on a tight 0.15rem grid). Rather than resize the artwork, each
   grows an invisible pad centred on itself — the hit area gets bigger, the
   layout does not move.
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
  /* The pineapple itself stays the size it is drawn at; the button around it
     grows to the 44px minimum. */
  .reviews__dot {
    min-width: 44px;
    min-height: 44px;
  }

  /* Widening the dots makes the controls row wider than the gutters allow,
     and a flex row resolves that by crushing whatever can shrink — which was
     the prev/next buttons, down to 14px of their 52. They are fixed objects,
     not filler. */
  .carousel-btn { flex: none; }

  /* Explore / Reader Care / Legal all use this one nav class. Padding rather
     than a fixed height, so a link that wraps to two lines still keeps a
     comfortable band above and below its text. */
  .site-footer__nav a { padding-block: 0.7rem; }

  /* An iPad in landscape is past the 1080px collapse, so it gets the full
     desktop nav — on a touchscreen, at 36px a row. */
  .site-nav__link { padding-block: 0.7rem; }
}

/* Two 52px buttons and five 44px dots need 352px of a 350px content width on
   the narrowest phones. Everything shrinks by the smallest amount that makes
   the row fit rather than one control absorbing the whole deficit. */
@media (pointer: coarse) and (max-width: 480px) {
  .carousel-btn { width: 44px; height: 44px; }
  .carousel-controls--reviews { gap: var(--space-1); }
}

/* Coarse pointers: pointer parallax is meaningless, so drop the cost */
@media (hover: none) {
  .letter,
  .gallery__swing,
  .stamp { will-change: auto; }
}


/* ==========================================================================
   27. REDUCED-MOTION OVERRIDES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .gallery__hang[data-reveal] { transform: none; }

  /* The island arrives already assembled: no rise, no sway, no wash. Every
     resting style lives on the SVG itself, so cancelling the animations is
     enough — there is nothing to restore. */
  .footer-scene { opacity: 1; transform: none; }
  .footer-scene__ridge,
  .footer-scene__ridge-line,
  .footer-scene__shrub,
  .footer-scene__sand,
  .footer-scene__rocks,
  .footer-scene__palm,
  .footer-scene__sun,
  .footer-palm,
  .footer-cloud,
  .footer-foam {
    animation: none !important;
    rotate: none;
    translate: none;
    scale: none;
  }

  /* The envelope hangs still on its thread. */
  .brand--footer { animation: none !important; }

  /* Letters land composed: no deal-in, no float, no scroll travel, and the
     scroll cue holds still rather than bobbing. */
  .letter { opacity: 1; translate: none; scale: none; --sy: 0px; }
  .letter__card,
  .hero__scroll-arrow svg { animation: none !important; }

  .journey__route { stroke-dashoffset: 0; }

  /* The rope is already strung and the prints hang still at their tilt. */
  .gallery__wire { clip-path: none; }
  .gallery__swing { animation: none !important; transform: rotate(var(--tilt, 0deg)); }

  /* Moments read as a plain sequence: no pile. The spine still carries the
     ordering. */

  /* Sections follow one another instead of stacking, so the bottom padding
     goes back on the section where it normally belongs. */
  .mailbox {
    position: relative;
    top: auto;
    padding-bottom: clamp(var(--space-8), 9vw, var(--space-14));
  }

  /* No walked route and no staged copy: every stop is simply in place. */
  .journey-step__stop::after { opacity: 0.55; transform: scale(1.12); }
  .journey-step__stop,
  .journey-step__index,
  .journey-step__title,
  .journey-step__body { opacity: 1; transform: none; transition-delay: 0s; }

  /* Reduced motion holds the last readable still: the letter sealed in the
     envelope, waiting over the mailbox. Nothing falls, nothing is hidden. */
  .final-cta__envelope .envelope__letter { transform: translateY(34px); }
  .final-cta__envelope .envelope__flap { opacity: 1; transform: rotateX(0deg); }
  .final-cta__envelope .envelope__seal { opacity: 1; transform: none; }
  .final-cta__envelope .envelope__seal-glyph { opacity: 1; }
  .final-cta__envelope .envelope__packet,
  .final-cta__envelope.is-sealed .envelope__packet { transform: none; }
  .final-cta__envelope.is-sealed .mailbox__flag { transform: rotate(-92deg); }

  .story-card:hover { transform: none; }

  /* Sheen stays as a still, centred glow; no tilt, no lift, no tracking. */
  .btn:hover,
  .btn:focus-visible { transform: none; }
  .btn::before { transition: none; }

  /* Icons hold a still pose; hover still changes state, just instantly. */
  .funky,
  .funky__pop,
  .funky__shine,
  .funky__spin,
  .funky__daisy,
  .funky__flap,
  .funky__flag,
  .funky__wave-a,
  .funky__wave-b { animation: none !important; }

  .funky__shine { opacity: 1; }

  .btn__arrow-icon { transition: none; }
  .to-top { translate: none; }
  .cursor-stamp__ring { animation: none; }
}


/* ==========================================================================
   28. SITE LOADER

   The overlay itself is positioned by the critical inline styles in the
   document head so it paints on the first frame; everything below is the
   part that can safely wait for this stylesheet.

   The mark blooms from its lowest shape upward and finishes with the crown
   fronds swinging open, then a gold shimmer crosses it. Each path carries an
   --o order value set in the markup, and every path shares one 2600ms
   timeline offset by that value, so the loop reads as a single gesture
   rather than nineteen independent animations.
   ========================================================================== */

/* Moved out of an inline <style> in index.html. This stylesheet is
   render-blocking in <head>, so these rules land before the first paint
   exactly as the inline block did — and the markup keeps no inline CSS. */
html.is-loading,
html.is-loading body { overflow: hidden; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F2E8;
}

.site-loader[hidden] { display: none; }

/* Without JavaScript the .js flag never lands, so the overlay never shows. */
html:not(.js) .site-loader { display: none; }

.site-loader {
  /* Paced so the build is legible rather than a flicker: the mark finishes
     blooming around 1.7s, the type is set by 2.2s, and the sheen crosses
     the lockup between 1.8s and 3.6s. initSiteLoader holds the overlay long
     enough to show that much before it starts the exit. */
  --loader-cycle: 4200ms;
  --loader-step: 85ms;
  --loader-gold: var(--color-sunset-gold, #D5A23B);
  /* One width drives the whole lockup: --lockup is the width of the ALOHA
     lettering itself. Every other figure below is a fraction of it, so the
     three pieces hold the real logo's proportions at every viewport.

     The fractions are measured off assets/Logo-removebg-preview.webp rather
     than guessed, and they account for the transparent padding baked into
     each asset — the icon's artwork fills only 43% of its viewBox, and both
     wordmark PNGs sit inside a margin — so they are not the round numbers
     the arrangement might suggest. */
  --lockup: clamp(240px, 28vw, 325px);
  /* 0 → 1, written by initSiteLoader each frame. Drives the entire scene. */
  --p: 0;
  overflow: hidden;
  /* The whole frame lifts away as one piece on completion. */
  transition: transform 1000ms cubic-bezier(0.65, 0, 0.25, 1) 300ms;
  will-change: transform;
}

/* --- Sunrise scene ------------------------------------------------------
   Everything here reads from --p, which initSiteLoader writes each frame
   from real load progress. The picture is the progress bar: cold, dim and
   slightly over-scaled at 0, warm and settled at 1.
   ------------------------------------------------------------------------ */

/* Painted as a background rather than as a <picture>.

   A <picture> re-picks its <source> when the viewport crosses a breakpoint,
   and while the newly chosen file is still being fetched the replaced element
   has nothing to paint — so during a resize mid-load a bare strip of the
   loader's own background showed through beside the photograph. A background
   image has no such gap: the previously decoded image stays painted until the
   replacement is ready, and the box is always exactly the size of this
   element rather than of whatever the <img> currently holds.

   The colour underneath is a warm sky rather than the page ivory, so even the
   first frame before anything has decoded reads as haze, not as a hole. */
.site-loader__scene {
  position: absolute;
  inset: -2%;
  background-color: #F1E2C6;
  /* Deliberately the same image-set pairs, breakpoints and crop positions as
     .hero. The loader lifts away to reveal that hero, so they have to be the
     same photograph — and picking the same file means this is the one the
     document already preloaded rather than a fourth variant to download. */
  background-image: image-set(
    url('assets/tropical/hero-bg-1672.webp') 1x,
    url('assets/tropical/hero-bg-1672.webp') 2x);
  background-position: 50% 62%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(calc(1.08 - var(--p) * 0.08));
  filter:
    brightness(calc(0.44 + var(--p) * 0.6))
    saturate(calc(0.5 + var(--p) * 0.8))
    contrast(calc(1.1 - var(--p) * 0.1));
}

@media (min-width: 641px) and (max-width: 1024px) {
  .site-loader__scene {
    background-image: image-set(
      url('assets/tropical/hero-bg-ipad-1024.webp') 1x,
      url('assets/tropical/hero-bg-ipad-1448.webp') 2x);
  }

  /* The 4:3 crop pushes the headland further right than the landscape one
     does, so the sun follows it — otherwise it comes up over open water and
     loses the point of sitting behind the mountains. */
  .site-loader__sun { left: 85%; }
  .site-loader__glitter { left: 85%; }
}

/* The portrait crop frames itself — palms low left, ridge low right — so it
   is centred here exactly as the hero centres it. */
@media (max-width: 640px) {
  .site-loader__scene {
    background-image: image-set(
      url('assets/tropical/hero-bg-mobile-640.webp') 1x,
      url('assets/tropical/hero-bg-mobile-941.webp') 2x);
    background-position: 50% 50%;
  }
}

/* Cold pre-dawn wash that burns off as the sun climbs. */
.site-loader__chill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0A2E48 0%, #165C63 55%, #1F6661 100%);
  mix-blend-mode: multiply;
  opacity: calc(0.84 - var(--p) * 0.84);
}

/* The sun, sitting behind the headland.

   There is no cut-out of the ridge to hide it behind, so occlusion is done
   with a blend instead: `overlay` keys off the backdrop's own luminance, so
   the disc screens up brightly against the open sky and is pushed back down
   toward black wherever the dark mountain is already painted. The result is
   that the ridge reads as being in front of the sun without any masking.
   Drawn normally it looks like a sticker sitting on top of the photograph. */
.site-loader__sun {
  position: absolute;
  left: 76%;
  /* Sat down low so the headland cuts across it rather than the disc
     floating in clear sky above the ridge — it has to look like it is
     coming up out of the mountains, not hanging over them. */
  bottom: calc(15% + var(--p) * 6%);
  width: clamp(100px, 13.5vw, 200px);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  /* Faded to nothing at the rim. A hard-edged circle reads as a drawn
     shape; light has no outline. */
  background: radial-gradient(circle at 50% 50%,
    #FFF6E0 0%, #FFDD94 34%, rgba(246, 180, 92, 0.82) 62%, rgba(233, 138, 78, 0) 100%);
  box-shadow:
    0 0 70px 28px rgba(255, 197, 112, calc(0.35 + var(--p) * 0.45)),
    0 0 180px 80px rgba(242, 155, 94, calc(0.2 + var(--p) * 0.35));
  mix-blend-mode: overlay;
  opacity: calc(0.4 + var(--p) * 0.6);
}

/* Warm light flooding out from the horizon. */
.site-loader__warmth {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 70% at 74% 62%,
    rgba(255, 214, 130, 0.9) 0%,
    rgba(242, 155, 94, 0.5) 30%,
    rgba(185, 67, 59, 0.14) 56%,
    rgba(18, 63, 59, 0) 76%);
  mix-blend-mode: screen;
  opacity: calc(var(--p) * 0.92);
}

/* Light spilling across the water under the sun. */
.site-loader__glitter {
  position: absolute;
  left: 76%;
  bottom: 0;
  width: min(56vw, 700px);
  height: 40%;
  translate: -50% 0;
  background: radial-gradient(60% 100% at 50% 0%,
    rgba(255, 214, 143, 0.5) 0%, rgba(255, 214, 143, 0) 72%);
  mix-blend-mode: screen;
  opacity: calc(var(--p) * 0.9);
}

/* --- Palms. The photograph alone is hazy and distant; these put real
       foliage in the foreground and give the frame its depth. --- */

.site-loader__palm,
.site-loader__canopy {
  position: absolute;
  pointer-events: none;
}

.site-loader__palm img,
.site-loader__canopy img { display: block; width: 100%; height: auto; }

.site-loader__palm {
  bottom: -2%;
  transform-origin: 50% 100%;
  filter: brightness(calc(0.32 + var(--p) * 0.32));
}

.site-loader__palm--l {
  left: -7%;
  width: clamp(170px, 25vw, 390px);
  animation: al-loader-sway-l 7.5s ease-in-out infinite;
}

.site-loader__palm--r {
  right: -9%;
  width: clamp(190px, 29vw, 440px);
  animation: al-loader-sway-r 8.6s ease-in-out infinite;
}

.site-loader__palm--r img { transform: scaleX(-1); }

.site-loader__canopy {
  top: -14%;
  width: clamp(210px, 32vw, 480px);
  transform-origin: 50% 0%;
  filter: brightness(calc(0.34 + var(--p) * 0.48));
}

.site-loader__canopy--l { left: -8%; rotate: 14deg; animation: al-loader-hang 9.5s ease-in-out infinite; }
.site-loader__canopy--r { right: -8%; rotate: -14deg; animation: al-loader-hang 11s ease-in-out infinite reverse; }
.site-loader__canopy--r img { transform: scaleX(-1); }


.site-loader__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2, 1rem);
  padding: var(--page-gutter, 1.5rem);
  transition: opacity 320ms ease, transform 320ms ease;
}


/* --- Brand lockup ------------------------------------------------------
   Mark, then ALOHA, then the Letters script, in the same arrangement and
   proportions as the supplied logo. Each piece animates in turn, so the
   loop builds the whole logo rather than just its icon.
   ------------------------------------------------------------------------ */

/* Sized to the ALOHA image box, which is wider than the lettering it holds. */
.site-loader__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(var(--lockup) * 1.0753);
  animation: al-loader-breathe var(--loader-cycle) ease-in-out infinite;
}

/* Centring here aligns boxes, but what has to line up is the artwork inside
   them. Each piece is nudged by the offset between its own centre and its
   artwork's centre, so the icon, the serif and the script share one axis. */
.site-loader__mark {
  --shimmer-src: url("assets/Logo%20Icon.svg");
  position: relative;
  width: calc(var(--lockup) * 0.317);
  aspect-ratio: 1;
  translate: 1.3% 0;
}

.site-loader__wordmark {
  position: relative;
  display: block;
  animation: al-loader-wipe var(--loader-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite both;
  animation-delay: var(--wd, 0ms);
}

.site-loader__wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

/* The knocked-out white copy sits exactly on top of the supplied artwork and
   the two cross-fade as the sky brightens. The swap is biased late and made
   fairly sharp so the pair spend as little time as possible half-and-half on
   top of one another, which would read as washed-out grey. */
.site-loader__pale {
  position: absolute;
  inset: 0;
  filter: brightness(0) invert(1);
  opacity: clamp(0, calc(1 - (var(--p) - 0.5) * 6), 1);
}

.site-loader__ink { opacity: clamp(0, calc((var(--p) - 0.5) * 6), 1); }

/* ALOHA sets the lockup width; the mark and script are measured off it. */
.site-loader__wordmark--aloha {
  --shimmer-src: url("assets/Aloha%20Wordmark.png");
  --wd: 1150ms;
  width: 100%;
  margin-top: calc(var(--lockup) * 0.0249);
  translate: 1.37% 0;
}

/* The script sits directly under ALOHA — the two very nearly touch — and a
   little left of centre, the way it does in the logo. */
.site-loader__wordmark--letters {
  --shimmer-src: url("assets/Letters%20Wordmark.png");
  --wd: 1520ms;
  width: calc(var(--lockup) * 0.67);
  margin-top: calc(var(--lockup) * 0.0015);
  translate: -2.58% 0;
}

.site-loader__logo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.site-loader__seg {
  fill: var(--loader-gold);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: al-loader-seg var(--loader-cycle) cubic-bezier(0.34, 1.4, 0.5, 1) infinite both;
  animation-delay: calc(var(--o, 0) * var(--loader-step));
}

/* The fronds are the last thing to arrive, and they swing open from where
   they meet the body rather than scaling in place like the fruit. */
.site-loader__frond {
  animation-name: al-loader-frond;
}

/* Gold sweep. Each piece masks the band with its own artwork — the icon SVG
   for the mark, the wordmark PNGs' alpha for the type — so the sheen stays
   inside the letterforms without any of it being redrawn as an SVG mask.
   Staggering the delay walks one sweep down the lockup rather than flashing
   all three at once. */
/* The mask stays on this element and never moves; only the band inside it
   travels. Masking the moving element instead would carry the silhouette
   along with the light, which reads as a ghost of the logo sliding past it
   rather than as a sheen crossing the logo. */
.site-loader__shimmer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: var(--shimmer-src);
  mask-image: var(--shimmer-src);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.site-loader__shimmer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 253, 248, 0) 38%,
    rgba(255, 253, 248, 0.92) 50%,
    rgba(255, 253, 248, 0) 62%
  );
  animation: al-loader-shimmer var(--loader-cycle) ease-in-out infinite;
  animation-delay: var(--sd, 0ms);
}

.site-loader__mark { --sd: 0ms; }
.site-loader__wordmark--aloha { --sd: 240ms; }
.site-loader__wordmark--letters { --sd: 480ms; }

/* Browsers without mask support would show a full-width white band across
   the mark, which is worse than no shimmer at all. */
@supports not ((-webkit-mask-image: url("#")) or (mask-image: url("#"))) {
  .site-loader__shimmer { display: none; }
}


/* --- Caption ------------------------------------------------------------ */

.site-loader__caption {
  margin: 0;
  font-family: var(--font-body-family, sans-serif);
  font-size: var(--font-small, 0.875rem);
  letter-spacing: 0.02em;
  /* Same problem as the wordmarks: the backdrop travels from near-black to
     near-white, so the copy has to travel with it. */
  color: #FFFDF8;
  /* Switched on the same sharp curve as the wordmarks. A linear mix spends
     the middle of the load as mid-grey on a mid-grey sky, which is the one
     place it is unreadable. The paired shadows — dark early, light late —
     hold it off whichever sky is behind it. */
  color: color-mix(in srgb, #0E2E33 calc(clamp(0, (var(--p) - 0.5) * 6, 1) * 100%), #FFFDF8);
  text-shadow:
    0 2px 12px rgba(10, 42, 49, calc(0.55 - var(--p) * 0.55)),
    0 1px 10px rgba(255, 253, 248, calc(var(--p) * 0.8));
  animation: al-loader-letter 620ms ease both 520ms;
}


/* --- Progress ---------------------------------------------------------- */

/* Sits at the foot of the stack, under the count. Kept at the heavier
   weight it picked up when it was full-bleed — at 2px a contained bar reads
   as a hairline rule rather than as a measure of anything. */
.site-loader__meter {
  position: relative;
  width: min(240px, 62vw);
  height: 6px;
  margin-top: var(--space-1, 0.5rem);
  overflow: hidden;
  background: rgba(255, 253, 248, 0.3);
  background: color-mix(in srgb, rgba(18, 63, 59, 0.18) calc(clamp(0, (var(--p) - 0.5) * 6, 1) * 100%), rgba(255, 253, 248, 0.34));
  border-radius: var(--radius-pill, 999px);
}

.site-loader__bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-deep-lagoon, #1F6661), var(--loader-gold));
  border-radius: inherit;
  /* A soft leading edge so the bar reads as advancing rather than as a
     block that jumps between widths. */
  box-shadow: 0 0 12px rgba(213, 162, 59, 0.55);
  transition: width 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* The count is the one thing on this screen that is genuinely changing, so
   it is typeset as the display element rather than as a caption: the same
   serif the brand sets its headlines in, at a size that can carry the space
   under the lockup, with the per-cent sign demoted to a small raised gold
   mark so the numeral itself reads as the subject. */
.site-loader__pct {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0.1rem 0 0;
  font-family: var(--font-display-family, Georgia, serif);
  font-size: clamp(2.5rem, 6.5vw, 3.75rem);
  /* Deliberately tighter than the global heading leading: this is a single
     two-character numeral in a fixed-height lockup, never a wrapping line. */
  line-height: 0.92;
  color: #FFFDF8;
  color: color-mix(in srgb, #123F3B calc(clamp(0, (var(--p) - 0.5) * 6, 1) * 100%), #FFFDF8);
  /* Heavier than the caption's. At this size the numeral sits over the
     brightest part of the sky, and it is the element a visitor actually
     looks at, so it gets a real halo rather than a hint of one. */
  text-shadow:
    0 2px 18px rgba(10, 42, 49, calc(0.62 - var(--p) * 0.62)),
    0 1px 14px rgba(255, 253, 248, calc(var(--p) * 0.95)),
    0 0 34px rgba(255, 253, 248, calc(var(--p) * 0.6));
}

.site-loader__pct-num {
  font-variant-numeric: tabular-nums;
  /* Three digits of space are always reserved and the number is set flush
     right inside it. Without this the whole group re-centres on the way from
     9 to 10 to 100, and the lockup appears to twitch sideways every time a
     digit is gained — the one motion here that would not be deliberate. */
  min-width: 2.7ch;
  text-align: right;
}

.site-loader__pct-mark {
  margin-top: 0.34em;
  margin-left: 0.1em;
  font-size: 0.3em;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--color-sunset-gold, #D5A23B);
  /* Gold on the pale end of the sunrise is thin; a touch of weight holds it. */
  font-weight: 600;
}


/* --- Exit: content clears, then the flap opens ------------------------- */

/* The loop can be caught at any point, including mid-fade. Rather than let
   the logo evaporate just as the frame lifts, completing settles it into its
   finished state and holds it there for a beat, so the exit reads as the
   logo finishing rather than as the animation being cut off. */
.site-loader.is-complete .site-loader__lockup,
.site-loader.is-complete .site-loader__seg,
.site-loader.is-complete .site-loader__wordmark {
  animation: none;
  opacity: 1;
  clip-path: none;
  transform: none;
}

.site-loader.is-complete .site-loader__shimmer { opacity: 0; }

/* The frame travels as one piece, logo and all, so it reads as a card being
   drawn upward off the hero rather than as a layer dissolving. The lockup
   deliberately does not fade — watching it leave is the point. */
.site-loader.is-complete {
  transform: translateY(-100%);
}


/* --- Keyframes --------------------------------------------------------- */

@keyframes al-loader-seg {
  0%          { opacity: 0; transform: scale(0.3); }
  16%         { opacity: 1; transform: scale(1.1); }
  22%, 70%    { opacity: 1; transform: scale(1); }
  84%, 100%   { opacity: 0; transform: scale(0.86); }
}

@keyframes al-loader-frond {
  0%          { opacity: 0; transform: scale(0.2) rotate(-18deg); }
  16%         { opacity: 1; transform: scale(1.06) rotate(3deg); }
  22%, 70%    { opacity: 1; transform: scale(1) rotate(0deg); }
  84%, 100%   { opacity: 0; transform: scale(0.85) rotate(9deg); }
}

/* Both wordmarks are revealed by a left-to-right wipe. On the script that
   reads as the line being written, and running the serif the same way keeps
   the two halves of the logo part of one gesture. */
@keyframes al-loader-wipe {
  0%          { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(7px); }
  4%          { opacity: 1; }
  17%, 68%    { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
  82%, 100%   { opacity: 0; clip-path: inset(0 0 0 0); transform: translateY(-4px); }
}

@keyframes al-loader-shimmer {
  0%, 42%     { opacity: 0; transform: translateX(-130%); }
  46%         { opacity: 1; }
  70%         { opacity: 1; transform: translateX(130%); }
  74%, 100%   { opacity: 0; transform: translateX(130%); }
}

@keyframes al-loader-sway-l {
  0%, 100% { transform: rotate(-1.1deg); }
  50%      { transform: rotate(1.4deg); }
}

@keyframes al-loader-sway-r {
  0%, 100% { transform: rotate(1.2deg); }
  50%      { transform: rotate(-1.3deg); }
}

@keyframes al-loader-hang {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(2.4deg) translateY(6px); }
}

@keyframes al-loader-breathe {
  0%, 100%    { transform: scale(0.985); }
  40%         { transform: scale(1.025); }
}

@keyframes al-loader-letter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* --- Reduced motion ----------------------------------------------------
   No bloom, no shimmer, no flap. The mark holds still and breathes in
   opacity only, and the whole overlay cross-fades out. The progress bar
   keeps its width transition, which conveys state rather than decoration.
   ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .site-loader__lockup { animation: al-loader-fade 2200ms ease-in-out infinite; }
  .site-loader__seg { animation: none; opacity: 1; transform: none; }
  .site-loader__shimmer { display: none; }
  .site-loader__wordmark {
    animation: none;
    opacity: 1;
    clip-path: none;
    transform: none;
  }
  .site-loader__caption { animation: none; opacity: 1; transform: none; }

  /* The scene still lights up with progress — that is a cross-fade, not
     motion — but nothing sways, drifts or breathes. */
  .site-loader__palm,
  .site-loader__canopy { animation: none; }

  .site-loader {
    transition: opacity 260ms ease;
  }

  /* Cross-fade rather than travel — the slide is the thing being opted out
     of, so it must be cancelled, not merely shortened. */
  .site-loader.is-complete {
    opacity: 0;
    transform: none;
  }

  .site-loader.is-complete .site-loader__content { opacity: 1; transform: none; }
}

@keyframes al-loader-fade {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}


/* ==========================================================================
   29. TROPICAL ART DIRECTION
   Shared behaviour for every client botanical placed on the page, then the
   per-section placements. Intensity follows the brief's rhythm: high in the
   hero, moderate and varied mid-page, restrained around the FAQ and footer,
   high again at the final CTA.

   Three rules hold for every decorative botanical, everywhere:
     1. it is inert — no pointer events, no text selection, alt="" and
        aria-hidden, so it can never block a control or a caret;
     2. it lives inside a clipped layer, so nothing it does can create
        horizontal page overflow;
     3. it never sits behind body copy — only behind or beside it.
   ========================================================================== */

.hero__backdrop,
.hero__foliage,
.foliage-layer {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.hero__backdrop { z-index: 1; }
.hero__foliage  { z-index: var(--z-foliage-front); }

.hero__backdrop > *,
.hero__foliage > * {
  position: absolute;
  max-width: none;
}

/* Every loose botanical dropped straight into a section rather than into a
   layer wrapper. The sections themselves carry `overflow: clip`. */
.definition__border,
.mailbox__foliage,
.stories__foliage,
.young-readers__foliage,
.gift__foliage,
.final-cta__palm,
.final-cta__bloom {
  position: absolute;
  max-width: none;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: var(--z-foliage-back);
}


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

/* The warm sunlight itself is a gradient, not the drawn asset — the asset is
   just the glinting mark inside it. */

/* Botanical shadows falling across the paper the letters rest on. */
.hero__shadow { opacity: var(--foliage-shadow); }

.hero__shadow--palm {
  top: 6%;
  left: -8%;
  width: min(30vw, 350px);
  --tilt: 7deg;
  opacity: 0.34;
}


/* --- Hero foreground foliage ------------------------------------------- */


/* --- Hero editorial accent --------------------------------------------- */

/* Set vertically along the right edge, in the band between the two blooms.
   It is real copy, so on narrow screens it becomes a normal centred line
   rather than being hidden (see section 35). */

.hero__trust {
  max-width: 34rem;
  margin: var(--space-2) auto 0;
  font-size: var(--font-label);
  line-height: 1.55;
  color: var(--color-text-muted);
}


/* --- Announcement bar: two claims on one line -------------------------- */

.announcement__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-1) var(--space-3);
}

.announcement__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.announcement__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}


/* --- Definition: one mirrored botanical border along the foot ----------- */

.definition {
  position: relative;
  overflow: clip;
}

/* The asset is symmetrical with an open centre, so a single copy frames the
   answer from both sides and leaves the copy itself on clean paper. */
.definition__border {
  left: 50%;
  bottom: 0;
  --tx: -50%;
  --ty: 34%;
  width: min(96%, 940px);
  opacity: var(--foliage-quiet);
}

.definition__inner { position: relative; z-index: var(--z-content); }


/* --- Mailbox: silhouetted foliage in the dark band ---------------------- */

/* No positioning or overflow is set on .mailbox here on purpose. Section 12
   already gives it `position: sticky` (which is a containing block for the
   absolute foliage) and `overflow: clip`. Adding `position: relative` would
   cancel the section pinning, and `overflow: hidden` would make it a scroll
   container, which cancels sticky on the copy column inside it. */

/* Knocked back and slightly desaturated so the photographs stay the
   brightest thing in a deliberately dark section. */
.mailbox__foliage {
  opacity: 0.42;
  filter: saturate(0.7) brightness(0.82);
}

.mailbox__foliage--frond {
  left: -8%;
  bottom: -6%;
  width: min(30vw, 360px);
  scale: -1 -1;
}

.mailbox__inner { position: relative; z-index: var(--z-content); }

/* Visible AEO answer under the mailbox CTA. */
.mailbox__aeo {
  max-width: 30rem;
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(247, 242, 232, 0.22);
  font-size: var(--font-small);
  line-height: 1.6;
  color: rgba(247, 242, 232, 0.76);
}


/* --- Stories: one corner bloom, cards left clean ------------------------ */

.stories { overflow: clip; }

.stories__foliage {
  top: -7%;
  right: -6%;
  width: min(26vw, 310px);
  opacity: var(--foliage-mid);
  transform-origin: 100% 0%;
}

.stories > .container { position: relative; z-index: var(--z-content); }

.story-card__experience {
  margin-top: var(--space-1);
  font-size: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}


/* --- Quiz: the "Find Their Story" entry point --------------------------- */


/* --- How It Works: four fixed steps ------------------------------------- */

/* Was five columns while the pace and payment choices were steps of their
   own; both are gone, so the route now runs between four stops. */
.journey__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.journey__foot {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-3), 4vw, var(--space-8));
  align-items: start;
  margin-top: clamp(var(--space-6), 7vw, var(--space-9));
  padding-top: clamp(var(--space-4), 4vw, var(--space-6));
  border-top: 1px solid rgba(247, 242, 232, 0.2);
}

.journey__support {
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  line-height: 1.35;
  color: var(--color-text-inverse);
}

.journey__aeo-q { color: var(--color-warm-sand); }

.journey__aeo-a {
  margin-top: var(--space-1);
  font-size: var(--font-small);
  line-height: 1.65;
  color: rgba(247, 242, 232, 0.78);
}


/* --- What Arrives: six pieces around the envelope ----------------------- */

.arrives__intro {
  max-width: 40rem;
  margin: var(--space-2) auto 0;
  color: var(--color-text-muted);
}

/* Rebalanced from five positions to six: two across the top, one on each
   flank, two along the foot, so the ring stays even. */
.arrives-card--packet   { --i: 0; --x: 12%; --y: 15%; --r: -3.5deg; --ox: 30px;  --oy: 26px; }
.arrives-card--chapter  { --i: 1; --x: 87%; --y: 12%; --r: 3deg;    --ox: -32px; --oy: 28px; }
.arrives-card--artwork  { --i: 2; --x: 93%; --y: 48%; --r: -2deg;   --ox: -34px; --oy: -6px; }
.arrives-card--photo    { --i: 3; --x: 7%;  --y: 46%; --r: 3.5deg;  --ox: 32px;  --oy: -8px; }
.arrives-card--keepsake { --i: 4; --x: 24%; --y: 86%; --r: -2.5deg; --ox: 22px;  --oy: -30px; }
.arrives-card--envelope { --i: 5; --x: 77%; --y: 88%; --r: 2.5deg;  --ox: -22px; --oy: -30px; }

/* Surprise details is the fifth card the markup actually ships, and the ring
   above has no slot for it — left to the earlier rule it lands dead centre at
   the foot, where the button is. It takes the right foot instead. */
.arrives-card--surprise { --i: 4; --x: 77%; --y: 88%; --r: 2.5deg;  --ox: -22px; --oy: -30px; }

.arrives__note {
  margin-top: clamp(var(--space-4), 4vw, var(--space-5));
  text-align: center;
  font-size: var(--font-label);
  font-style: italic;
  color: var(--color-text-muted);
}

.arrives__aeo {
  max-width: 44rem;
  margin: clamp(var(--space-4), 4vw, var(--space-5)) auto 0;
  padding: var(--space-3) clamp(var(--space-3), 3vw, var(--space-5));
  background: var(--color-paper-white);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-paper);
}

.arrives__aeo-a {
  margin-top: 0.4rem;
  font-size: var(--font-small);
  line-height: 1.65;
  color: var(--color-text-muted);
}


/* --- A quieter third button, for "Read a Sample" and Reader Care -------- */

.btn--quiet {
  background: none;
  border: 0;
  padding-inline: 0.25rem;
  color: var(--color-text-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--color-border-strong);
  box-shadow: none;
}

.btn--quiet:hover {
  color: var(--color-action-primary);
  text-decoration-color: currentColor;
  transform: none;
}


/* ==========================================================================
   30. YOUNG READERS
   The warmest band on the page and the softest palette: blush over sand,
   family-focused, deliberately not childish. Two columns of copy and
   benefits and a single call to action.
   ========================================================================== */

.young-readers {
  position: relative;
  overflow: clip;
  padding-block: clamp(var(--space-8), 9vw, var(--space-14));
  background:
    radial-gradient(70% 55% at 12% 8%, rgba(247, 222, 210, 0.85) 0%, transparent 62%),
    radial-gradient(60% 50% at 92% 88%, rgba(233, 214, 184, 0.7) 0%, transparent 60%),
    var(--color-paper-white);
}

.young-readers__foliage { opacity: var(--foliage-mid); }

.young-readers__foliage--bird {
  top: -5%;
  right: 3%;
  width: min(15vw, 180px);
  --tilt: 9deg;
  transform-origin: 50% 100%;
}

.young-readers__foliage--corner {
  left: -7%;
  bottom: -8%;
  width: min(22vw, 265px);
  transform-origin: 100% 100%;
}

/* The one emotional line in the section, given a wax seal and a rule so it
   reads as a pull quote rather than another paragraph. */


/* --- The child's letter stack ------------------------------------------- */

/* Three sheets stacked square, then fanned apart when the section reveals,
   so the section shows a collection building rather than one envelope. */

/* Resting state: squared up. */

/* Separated state, set by initYoungReaderJourney. */


/* --- The four benefits -------------------------------------------------- */



/* Inset to run from the centre of the first stop to the centre of the last,
   matching how the How It Works route is positioned. */

/* Staged reveal, driven by initYoungReaderJourney. */


/* --- Section foot: AEO pair, then the two CTAs -------------------------- */


/* ==========================================================================
   31. GIFT — THE GIFT THAT KEEPS ON GIVING
   The richest section on the page. Three bands: the offer and the gift
   parcel, the six-month timeline, then the five-step journey and the four
   reasons to buy. Deep lagoon ground so it reads as a destination rather
   than another ivory panel.
   ========================================================================== */

.gift {
  position: relative;
  overflow: clip;
  padding-block: clamp(var(--space-6), 6vw, var(--space-9));
  color: var(--color-text-inverse);
  background:
    radial-gradient(80% 60% at 88% 4%, rgba(31, 102, 97, 0.9) 0%, transparent 58%),
    radial-gradient(70% 60% at 6% 96%, rgba(85, 117, 90, 0.55) 0%, transparent 62%),
    var(--color-ocean-ink);
}

.gift > .container { position: relative; z-index: var(--z-content); }

.gift .section-head__title { color: var(--color-paper-white); }
.gift .section-head__intro { color: rgba(247, 242, 232, 0.82); }

.gift .eyebrow { color: var(--color-warm-sand); }
.gift .eyebrow--rule::after { background: rgba(233, 214, 184, 0.5); }

.gift__foliage { opacity: 0.8; }

/* Both corner bouquets stay pinned to their edge but sit far enough inside
   it that the bloom reads whole rather than cropped. */
/* The asset is drawn as a top-right corner piece, so the flip puts its dense
   half against the left edge — it has to start at 0, not behind it, or the
   blooms themselves are what gets cropped. */
.gift__foliage--top {
  top: 0;
  left: 0;
  width: min(17vw, 210px);
  scale: -1 1;
}

.gift__foliage--hibiscus {
  right: 0;
  bottom: 0;
  width: min(18vw, 225px);
  transform-origin: 0% 100%;
}

/* Both bouquets are mostly foliage, and green on this dark teal ground goes
   to mud. A touch of lift keeps the leaves readable without turning the
   corner pieces into focal points. */
.gift__foliage { filter: saturate(1.12) brightness(1.12); }


/* --- Two parallel columns: pitch left, timeline card right -------------- */

.gift__cols {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--space-5), 5vw, var(--space-8));
  align-items: center;
}

.gift__main .section-head {
  max-width: none;
  margin-bottom: 0;
}

/* The headline claim of the section, set as an editorial statement. */
.gift__statement {
  margin-top: var(--space-3);
  font-family: var(--font-display-family);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  color: var(--color-paper-white);
}

.gift__statement em {
  font-style: italic;
  color: var(--color-sunset-gold);
}

.gift__actions { margin-top: clamp(var(--space-4), 3vw, var(--space-5)); }


/* --- Band 2: the six-month timeline ------------------------------------- */

.gift-timeline {
  padding: clamp(var(--space-4), 3vw, var(--space-5));
  background: rgba(247, 242, 232, 0.06);
  border: 1px solid rgba(233, 214, 184, 0.24);
  border-radius: var(--radius-card);
  /* Horizontal drags belong to the month selection; vertical ones still
     scroll the page. */
  touch-action: pan-y;
}

.gift-timeline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: clamp(var(--space-4), 4vw, var(--space-6));
}

.gift-timeline__title { color: var(--color-paper-white); }

/* The count of delivered arrivals, set hard against the right edge of the
   card so it reads as this diagram's own readout. */
.gift-timeline__meter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

/* The ring carries the same fraction as the count inside it, so the progress
   is legible before the number is read. */
.gift-timeline__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
}

.gift-timeline__ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
}

.gift-timeline__ring circle {
  fill: none;
  stroke-width: 2.5;
}

.gift-timeline__ring-track { stroke: rgba(233, 214, 184, 0.22); }

/* The arc runs the dwell: it closes over the time the selected month holds
   before the loop moves on, and freezes while the visitor is in control.
   Its static offset (written by JS from the delivered count) is what shows
   when the loop is not running — under reduced motion, for instance. */
@keyframes gift-ring-dwell {
  from { stroke-dashoffset: 119.38; }
  to   { stroke-dashoffset: 0; }
}

.gift-timeline__ring-arc {
  stroke: var(--color-sunset-gold);
  stroke-linecap: round;
  /* 2πr for r=19. */
  stroke-dasharray: 119.38;
  stroke-dashoffset: var(--arc, 119.38);
  filter: drop-shadow(0 0 5px rgba(213, 162, 59, 0.5));
  transition: stroke-dashoffset 380ms var(--ease-paper);
  animation: gift-ring-dwell var(--gift-dwell, 3000ms) linear both;
}

/* With the loop paused there is no time to count down, so the ring falls
   back to reading the delivered fraction instead of sitting empty. */
.gift-timeline.is-engaged .gift-timeline__ring-arc { animation: none; }

.gift-timeline__meter strong {
  position: relative;
  font-family: var(--font-display-family);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-sunset-gold);
}

/* The number swaps with a short lift so the count reads as a change. */
@keyframes gift-count-tick {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.gift-timeline__meter strong.is-ticking { animation: gift-count-tick 260ms var(--ease-paper); }

.gift-timeline__meter-label {
  font-size: var(--font-label);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: rgba(247, 242, 232, 0.68);
}

.gift-timeline__rail {
  position: relative;
  height: 164px;
}

.gift-timeline__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 46px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(233, 214, 184, 0.55) 6%,
    rgba(233, 214, 184, 0.55) 94%,
    transparent
  );
}

/* The delivered length of the rail. Its width is written by JS from the
   selected month, so the gold travels as the selection moves. */
.gift-timeline__fill {
  position: absolute;
  left: 0;
  top: 45px;
  height: 3px;
  width: var(--fill, 0%);
  border-radius: var(--radius-pill);
  background: linear-gradient(to right, rgba(213, 162, 59, 0.35), var(--color-sunset-gold));
  box-shadow: 0 0 14px rgba(213, 162, 59, 0.45);
  transition: width 380ms var(--ease-paper);
}

.gift-timeline__stops {
  position: absolute;
  inset: 0;
}

/* Twelve stops across six months: two per month, evenly spaced, positioned
   from --i so the markup carries no coordinates. */
.gift-stop {
  position: absolute;
  top: 0;
  left: calc((var(--i) + 0.5) / 12 * 100%);
  translate: -50% 0;
  width: 8.33%;
}

/* The whole stop is one button: envelope plus label is the pointer target
   for selecting that stop's month. Kept out of the tab order — the month
   row below is the keyboard surface for the same selection. */
.gift-stop__hit {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0 0 var(--space-1);
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* Each envelope is drawn in CSS: body, and a flap that hinges open. */
.gift-stop__envelope {
  position: relative;
  width: clamp(18px, 2vw, 26px);
  height: clamp(13px, 1.5vw, 19px);
  margin-top: 33px;
  background: var(--color-sea-mist);
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(6, 26, 24, 0.45);
  opacity: 0.42;
  transition: translate 260ms var(--ease-paper), box-shadow 260ms var(--ease-out),
              background-color 260ms var(--ease-out), opacity 300ms var(--ease-out);
}

/* Arrivals already delivered at the selected month read at full strength;
   the ones still to come stay dimmed, so the rail is a progress diagram. */
.gift-stop.is-delivered .gift-stop__envelope { opacity: 1; }

/* Hover lifts the envelope; the active month keeps its pair lifted and lit. */
.gift-stop__hit:hover .gift-stop__envelope,
.gift-stop.is-active .gift-stop__envelope {
  translate: 0 -5px;
  box-shadow: 0 8px 16px rgba(6, 26, 24, 0.55), 0 0 0 3px rgba(213, 162, 59, 0.35);
  opacity: 1;
}

.gift-stop.is-active .gift-stop__envelope { background: var(--color-warm-sand); }
.gift-stop--welcome.is-active .gift-stop__envelope { background: var(--color-sunset-gold); }
.gift-stop--final.is-active .gift-stop__envelope { background: var(--color-shell-blush); }

/* The flap: closed it is the crease across the top of the envelope; on the
   selected pair it hinges up and back, so choosing a month reads as opening
   that month's mail. */
.gift-stop__envelope::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 58%;
  background: linear-gradient(135deg, rgba(18, 63, 59, 0.16) 48%, transparent 52%),
              linear-gradient(-135deg, rgba(18, 63, 59, 0.16) 48%, transparent 52%);
  transform-origin: 50% 0;
  transition: transform 420ms var(--ease-paper), background-color 300ms var(--ease-out);
}

.gift-stop.is-active .gift-stop__envelope::before,
.gift-stop__hit:hover .gift-stop__envelope::before {
  transform: perspective(60px) rotateX(-155deg);
  background: rgba(18, 63, 59, 0.22);
}

.gift-stop--welcome .gift-stop__envelope {
  background: var(--color-sunset-gold);
  width: clamp(22px, 2.4vw, 30px);
  height: clamp(16px, 1.8vw, 22px);
  margin-top: 30px;
}

.gift-stop--final .gift-stop__envelope { background: var(--color-shell-blush); }

.gift-stop__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(247, 242, 232, 0.68);
  white-space: nowrap;
  transition: color 200ms var(--ease-out);
}

.gift-stop--welcome .gift-stop__label,
.gift-stop--final .gift-stop__label,
.gift-stop.is-active .gift-stop__label { color: var(--color-warm-sand); }

/* The label under the selected pair is the only one set in gold. */
.gift-stop.is-active .gift-stop__label { color: var(--color-sunset-gold); }

/* Entry: each envelope flies up into place, one after the next. */
.gift-stop {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 380ms var(--ease-out), transform 520ms var(--ease-paper);
}

.gift-stop.is-landed { opacity: 1; transform: none; }

/* The month row is the keyboard tab strip: six real buttons under the rail. */
.gift-timeline__months {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-top: var(--space-1);
  border-top: 1px dashed rgba(233, 214, 184, 0.24);
  list-style: none;
  margin: 0;
}

.gift-timeline__months li { text-align: center; }

.gift-month {
  min-width: 58px;
  padding: 0.3rem 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: none;
  font-family: var(--font-body-family);
  font-size: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(247, 242, 232, 0.55);
  cursor: pointer;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out),
              background-color 200ms var(--ease-out);
}

.gift-month:hover { color: var(--color-warm-sand); }

/* Months already passed keep a faint gold trace, so the strip carries the
   same past/future reading as the rail above it. */
.gift-month.is-past {
  color: rgba(233, 214, 184, 0.85);
  border-color: rgba(213, 162, 59, 0.35);
}

.gift-month[aria-selected='true'] {
  color: var(--color-ocean-ink);
  background: var(--color-sunset-gold);
  border-color: var(--color-sunset-gold);
}

.gift-timeline__months li { position: relative; }


/* --- Band 3: the month explorer panel ----------------------------------- */

/* Fixed-height stage under the rail. The parcel photograph stays put and the
   month copy beside it swaps, so selecting months never shifts the page. */
.gift-explorer {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: clamp(var(--space-3), 2.5vw, var(--space-5));
  align-items: center;
  min-height: 230px;
  margin-top: clamp(var(--space-3), 3vw, var(--space-4));
  padding-top: clamp(var(--space-3), 3vw, var(--space-4));
  border-top: 1px solid rgba(233, 214, 184, 0.2);
}

.gift-explorer__figure {
  position: relative;
  text-align: center;
}

/* The parcel keeps its warm ground disc so the cut-out photograph is not
   floating on the dark field. */
.gift-explorer__figure::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 44%;
  translate: -50% -50%;
  width: min(110%, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 214, 184, 0.26) 0%, transparent 68%);
}

.gift__box {
  position: relative;
  width: min(100%, 150px);
  margin-inline: auto;
  filter: drop-shadow(0 20px 26px rgba(6, 26, 24, 0.5));
}

.gift-explorer__caption {
  margin-top: var(--space-1);
  font-size: var(--font-label);
  font-style: italic;
  color: rgba(247, 242, 232, 0.7);
}

.gift-explorer__month {
  font-family: var(--font-body-family);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sunset-gold);
}

.gift-explorer__title {
  margin-top: 0.4rem;
  font-family: var(--font-display-family);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.30;
  color: var(--color-paper-white);
}

.gift-explorer__copy {
  margin-top: var(--space-2);
  max-width: 52ch;
  line-height: 1.65;
  color: rgba(247, 242, 232, 0.82);
}

.gift-explorer__note {
  margin-top: var(--space-2);
  font-size: var(--font-small);
  font-style: italic;
  color: rgba(247, 242, 232, 0.62);
}

/* Swap entrance: the incoming copy travels in from the side the selection
   moved — forward months slide in from the right, earlier ones from the
   left — and its four lines land in sequence rather than as one block, so
   the panel reads like a letter being unfolded. */
@keyframes gift-line-in {
  from { opacity: 0; transform: translate3d(calc(var(--dir, 1) * 22px), 4px, 0); }
  to   { opacity: 1; transform: none; }
}

.gift-explorer__body.is-entering > * {
  animation: gift-line-in 280ms var(--ease-paper) both;
}

.gift-explorer__body.is-entering > :nth-child(1) { animation-delay: 0ms; }
.gift-explorer__body.is-entering > :nth-child(2) { animation-delay: 40ms; }
.gift-explorer__body.is-entering > :nth-child(3) { animation-delay: 80ms; }
.gift-explorer__body.is-entering > :nth-child(4) { animation-delay: 120ms; }

/* The parcel answers the swap with a small settle, so the left half of the
   panel is not inert while the right half moves. */
@keyframes gift-parcel-settle {
  0%   { transform: translateY(0) rotate(0deg); }
  35%  { transform: translateY(-7px) rotate(calc(var(--dir, 1) * -2.5deg)); }
  100% { transform: translateY(0) rotate(0deg); }
}

.gift-explorer.is-swapping .gift__box { animation: gift-parcel-settle 400ms var(--ease-paper); }


/* --- Band 4: the mailing route, the note, and the action ----------------- */

.gift-pledge { margin-top: clamp(var(--space-4), 3vw, var(--space-5)); }

/* FROM and TO either side of a dashed route. No box around the pair — the
   line between them is the graphic, and it says what three stacked rows of
   copy were only describing. */
.gift-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--space-4), 4vw, var(--space-6));
}

/* The route itself: a dashed line down the middle with an arrowhead, and a
   small parcel that runs it end to end. */
.gift-route::before {
  content: '';
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: 50%;
  width: 1px;
  translate: -50% 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(233, 214, 184, 0.5) 0 5px,
    transparent 5px 10px
  );
}

@keyframes gift-route-run {
  0%        { top: 14%; opacity: 0; }
  12%, 78%  { opacity: 1; }
  100%      { top: 86%; opacity: 0; }
}

.gift-route::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 14%;
  width: 16px;
  height: 11px;
  translate: -50% -50%;
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(18, 63, 59, 0.2) 48%, transparent 52%) top / 100% 58% no-repeat,
    linear-gradient(-135deg, rgba(18, 63, 59, 0.2) 48%, transparent 52%) top / 100% 58% no-repeat,
    var(--color-warm-sand);
  box-shadow: 0 0 0 5px rgba(18, 63, 59, 0.9), 0 3px 9px rgba(6, 26, 24, 0.55);
  animation: gift-route-run 3.6s var(--ease-out) infinite;
}

.gift-route__end { padding-block: 0.15rem; }

/* FROM / TO as postal micro-labels, each with its own hairline rule. */
.gift-route__end dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body-family);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sunset-gold);
}

.gift-route__end dt::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(213, 162, 59, 0.55), transparent);
}

.gift-route__end dd {
  margin-top: 0.35rem;
  font-size: var(--font-small);
  line-height: 1.55;
  color: rgba(247, 242, 232, 0.76);
}

.gift-route__end dd b {
  display: block;
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--color-paper-white);
}

/* The personal note is the franked strip under the route: perforated top
   edge, a stamp block, and the one line that earns the gift. */
.gift-pledge__note {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: clamp(var(--space-4), 3vw, var(--space-5));
  padding-top: clamp(var(--space-3), 2.5vw, var(--space-4));
  font-size: var(--font-small);
  line-height: 1.55;
  color: rgba(247, 242, 232, 0.76);
}

.gift-pledge__note::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: radial-gradient(circle at 50% 0, transparent 0 5px, rgba(233, 214, 184, 0.3) 5px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}

.gift-pledge__note b { color: var(--color-warm-sand); }

/* A drawn stamp: dashed perforation, warm field, gold wax dot, and the
   slight tilt of something stuck on by hand. */
.gift-pledge__stamp {
  position: relative;
  flex: none;
  width: 34px;
  height: 42px;
  border: 2px dashed rgba(233, 214, 184, 0.45);
  border-radius: 3px;
  background: linear-gradient(155deg, rgba(233, 214, 184, 0.2), rgba(213, 162, 59, 0.12));
  rotate: -4deg;
  transition: rotate 320ms var(--ease-paper), border-color 320ms var(--ease-out);
}

.gift-pledge__stamp::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-sunset-gold);
  box-shadow: 0 0 10px rgba(213, 162, 59, 0.6);
}

.gift-pledge:hover .gift-pledge__stamp {
  rotate: 0deg;
  border-color: rgba(233, 214, 184, 0.7);
}


/* ==========================================================================
   32. FIXED SCHEDULE AND PAYMENT
   Replaces the old pace-and-payment module. The schedule is stated, never
   offered: three cards describe it and nothing here can change it. The only
   control is how to pay, and choosing rewrites the receipt beside it.
   ========================================================================== */

.schedule {
  position: relative;
  overflow: clip;
  padding-block: clamp(var(--space-6), 6vw, var(--space-9));
  background:
    radial-gradient(80% 60% at 92% 8%, rgba(233, 214, 184, 0.55) 0%, transparent 62%),
    var(--color-shell-blush);
}

/* Two columns: the boxed planner works on the left, the copy sits beside it
   on the right. */
.schedule__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: center;
}

.schedule__copy {
  grid-column: 2;
  grid-row: 1;
  max-width: 34rem;
  margin-bottom: 0;
}

.schedule__cta { margin-top: var(--space-4); }


/* --- The fixed three-stage schedule ------------------------------------- */

/* --- The journey planner ------------------------------------------------
   One interactive stage. A segmented plan toggle, a twelve-letter timeline
   that acts each plan out, and a slim dark summary strip. Replaces the old
   three schedule cards, two payment cards and the tall receipt. */

.planner {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: clamp(var(--space-2), 2vw, var(--space-3));
  padding: clamp(var(--space-3), 2.6vw, var(--space-4));
  background: var(--color-paper-white);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

/* Segmented pill toggle. The figures now live on the summary strip, so the
   segments only need to carry the plan names. */
/* Tabs left, the chosen plan's rate right. */
.planner__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.planner__choice {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.3rem;
  background: var(--color-island-ivory);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-pill);
}

/* The rate the selected plan bills at, as a pill beside the tabs. */
.planner__rate {
  padding: 0.32rem 0.85rem;
  background: var(--color-ocean-ink);
  border-radius: var(--radius-pill);
  font-size: var(--font-label);
  font-weight: 700;
  white-space: nowrap;
  color: var(--color-paper-white);
}

.planner-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-small);
  font-weight: 700;
  color: var(--color-text-strong);
  transition:
    background-color var(--dur-component) var(--ease-even),
    color var(--dur-component) var(--ease-even);
}

.planner-tab:hover { background: var(--color-sea-mist); }

.planner-tab.is-selected {
  background: var(--color-ocean-ink);
  color: var(--color-paper-white);
}

.planner-tab__flag {
  padding: 0.12rem 0.5rem;
  background: var(--color-sunset-gold);
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ocean-ink);
  transition:
    background-color var(--dur-component) var(--ease-even),
    color var(--dur-component) var(--ease-even);
}

.planner-tab__flag--quiet {
  background: var(--color-sea-mist);
  color: var(--color-text-strong);
}

.planner-tab.is-selected .planner-tab__flag--quiet {
  background: rgba(247, 242, 232, 0.18);
  color: var(--color-paper-white);
}


/* --- The timeline stage ------------------------------------------------- */

/* The stage lives inside the planner box now, so it carries no chrome of
   its own — just breathing room for the tag riding the first dot. */
.planner__stage {
  padding: var(--space-2) 0.25rem 0;
}

.timeline { display: grid; gap: 0.7rem; }

.timeline__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.25rem, 1vw, 0.75rem);
}

.timeline__cell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 1.35rem;
}

/* Envelopes. The page's sticker icon language (section 6, `.funky`) rather
   than a set of thin outlines of their own: same ocean-ink stroke, same
   rounded envelope as the one in the announcement bar, same paper halo.
   All twelve are always visible — the play animation only adds a transient
   sweep, so nothing depends on it having run. */
.timeline__envelope {
  width: clamp(1.6rem, 3vw, 2.4rem);
  height: clamp(1.6rem, 3vw, 2.4rem);
}

/* The gift timeline colours its own twelve arrivals this way — gold for the
   welcome packet, blush for the final chapter, sea mist for the ten between
   — so the two diagrams read as the same journey. */
.timeline__cell--welcome .funky__sea { fill: var(--color-sunset-gold); }
.timeline__cell--final .funky__sea { fill: var(--color-shell-blush); }

/* A row of stickers, alternately tilted, rather than twelve identical ones
   set at the same angle. */
.timeline__row--letters .timeline__cell:nth-child(even) .funky { rotate: 2.5deg; }

/* The sweep: each letter rises and settles in turn when the section arrives
   or the plan changes. One even curve, one even step between letters, so the
   wave reads as a single continuous pass rather than twelve separate pops.
   Transform only, so the resting state never depends on it. */
.is-playing .timeline__row--letters .timeline__cell {
  animation: timeline-sweep 900ms var(--ease-even) both;
  animation-delay: calc(var(--i) * 60ms);
}

@keyframes timeline-sweep {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Payment dots. Their filled / hollow state is written by [data-plan] on the
   planner root, not by the animation, so it always reads correctly. */
.timeline__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--color-postmark-coral);
  border: 1.5px solid var(--color-postmark-coral);
  box-shadow: 0 2px 6px rgba(185, 67, 59, 0.35);
  /* Every property moves on one curve and one duration, so switching plans
     resolves as a single even change rather than several racing ones. Each
     dot's own transition is delayed by its position, which carries the same
     left-to-right pass the letters make. */
  transition:
    background-color var(--dur-narrative) var(--ease-even),
    border-color var(--dur-narrative) var(--ease-even),
    box-shadow var(--dur-narrative) var(--ease-even),
    transform var(--dur-narrative) var(--ease-even);
  transition-delay: calc(var(--i) * 60ms);
}

/* Prepaid: one seal-sized payment up front, every later slot stays hollow. */
.planner[data-plan='upfront'] .timeline__row--payments .timeline__cell:first-child .timeline__dot {
  transform: scale(1.35);
}

.planner[data-plan='upfront'] .timeline__row--payments .timeline__cell:not(:first-child) .timeline__dot {
  background: transparent;
  border-color: var(--color-border-strong);
  border-style: dashed;
  box-shadow: none;
}

/* On the replay the dots swell and return on the same even curve and the
   same per-position step as the letters, a half-step behind them. `scale` is
   its own property here, so it composes with the prepaid first dot's
   `transform: scale()` instead of overwriting it. */
.is-playing .timeline__row--payments .timeline__dot {
  animation: timeline-swell 900ms var(--ease-even) both;
  animation-delay: calc(var(--i) * 60ms + 120ms);
}

@keyframes timeline-swell {
  0%   { scale: 1; }
  50%  { scale: 1.3; }
  100% { scale: 1; }
}

/* Marks: the three fixed facts of the schedule, pinned to the strip. */
.timeline__marks {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: 0.3rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--color-border-default);
}

.timeline__mark {
  display: grid;
  gap: 0.1rem;
  font-size: var(--font-label);
  font-weight: 700;
  color: var(--color-text-strong);
}

.timeline__mark em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.timeline__mark--mid { text-align: center; }
.timeline__mark--end { text-align: right; }

/* One sentence narrates the selected plan for everyone, screen readers
   included — the strip above is decorative. */
.planner__caption {
  margin-top: var(--space-2);
  text-align: center;
  font-size: var(--font-small);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* The caption settles on the same curve as the figures — see value-settle
   under the summary strip. */


/* --- The summary strip --------------------------------------------------
   Four live figures on one dark band. The CTA sits with the copy column
   beside the planner, not in here. */

.planner__summary {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) clamp(var(--space-3), 3vw, var(--space-5));
  padding: var(--space-3) clamp(var(--space-3), 2.6vw, var(--space-4));
  background: var(--color-ocean-ink);
  border-radius: var(--radius-medium);
}

.planner__seal {
  position: absolute;
  top: -30px;
  right: 18px;
  width: 70px;
  rotate: -9deg;
  filter: drop-shadow(0 8px 14px rgba(18, 63, 59, 0.3));
  pointer-events: none;
}

.planner__figures {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 auto;
  justify-content: space-between;
  gap: var(--space-2) clamp(var(--space-3), 3.4vw, var(--space-6));
}

.planner__figure { display: grid; gap: 0.15rem; }

.planner__figure dt {
  font-size: var(--font-label);
  font-weight: 600;
  color: rgba(247, 242, 232, 0.72);
}

.planner__figure dd {
  font-family: var(--font-display-family);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.1;
  color: var(--color-paper-white);
}

/* The live value and its hidden twin share one grid cell, so the cell is
   always as wide and as tall as the longer of the two plans' figures and
   switching plans never moves anything in the band. */
.planner__value { display: grid; }

.planner__value > * {
  grid-area: 1 / 1;
  align-self: center;
}

.planner__ghost {
  visibility: hidden;
  pointer-events: none;
}

.planner__figure--save dd { color: var(--color-sunset-gold); }

/* A changed figure settles into place so the strip visibly answers the
   choice. It animates the value itself, never a background: a background on
   a block-level dd paints an opaque rectangle across the dark band. */
.planner__value .is-changed,
.planner__caption.is-changed,
.planner__rate.is-changed {
  animation: value-settle var(--dur-component) var(--ease-even);
}

@keyframes value-settle {
  0%   { opacity: 0; translate: 0 6px; }
  100% { opacity: 1; translate: 0 0; }
}


/* ==========================================================================
   33. REVISED FINAL CTA (closing ask + newsletter, one band)
   These were split into a dark closing ask and a separate ivory signup for a
   while. The split ended the page on two headings and two mailboxes, so they
   are one section again: warm sand, copy column on the left carrying the
   heading, both buttons, the signup and the facts line, and the
   envelope-to-mailbox scene on the right.
   ========================================================================== */

.final-cta {
  position: relative;
  overflow: clip;
  padding-block: clamp(var(--space-9), 10vw, var(--space-12));
  /* Warm sand, as the base rule in section 22 already sets — restated here
     only to unseat the dark ground this override carried while the two
     sections were apart. */
  background: var(--color-warm-sand);
}

.final-cta__inner {
  position: relative;
  z-index: var(--z-content);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

/* Sand is a light ground, so every line takes its default ink again — no
   inverse overrides here. */

/* Both botanicals in this band are drawn at full strength and sit entirely
   inside the section — nothing washed back into the ground, nothing running
   off an edge. The cast-shadow palm that used to double the tree is gone with
   them: it was a second, paler drawing of the same object. */
.final-cta__palm {
  left: auto;
  width: min(24vw, 290px);
  opacity: 1;
  transform-origin: 52% 100%;
}

.final-cta__bloom { opacity: 1; }

/* Top-left, not top-right: the right side of this band is the mailbox and the
   palm, and a bouquet over them was three drawings stacked in one corner. The
   asset grows out of its own right edge, so it is mirrored to spill inward
   from the left. */
.final-cta__bloom--top {
  top: 0;
  left: 0;
  right: auto;
  width: min(17vw, 215px);
  /* Mirrored about its own centre — anchoring the flip at the left edge would
     throw the whole bouquet off-canvas. The sway rotates about the same
     origin, which for something hanging off the top edge is where it should
     pivot anyway. */
  scale: -1 1;
  transform-origin: 50% 0%;
}


/* The facts line closes the column, under the signup rather than over it, so
   it reads as the last word on the offer instead of a caption on the form. */
.final-cta__facts {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(18, 63, 59, 0.2);
  font-size: var(--font-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-strong);
}

.final-cta__envelope { position: relative; z-index: var(--z-content); }


/* --- The signup, now inside the closing column -------------------------- */

.final-cta__copy { position: relative; z-index: var(--z-content); }

/* The form was centred in a section of its own; here it is one more block in
   a left-aligned column. It still stops short of the column edge so the field
   does not stretch to the width of the heading, but the field itself is the
   thing being asked for, so it takes the larger share of that width. */
.newsletter__form {
  margin-top: var(--space-5);
  max-width: 41rem;
}


/* ==========================================================================
   34. TROPICAL MOTION KEYFRAMES
   Every drifting botanical picks one of these. Amplitudes are deliberately
   small — 1-3 degrees of rotation and a handful of pixels — so the movement
   is almost imperceptible until noticed, and nothing bounces or loops
   conspicuously. Each element also composes the pointer-parallax offsets
   (--px / --py) written by initHeroParallax, so the two never fight.
   ========================================================================== */

/* Three custom properties carry each botanical's resting pose, and every
   keyframe below composes its drift on top of them:

     --tilt   the resting angle
     --tx/--ty  the resting offset (a centred border sets --tx: -50%)

   They have to be written this way. A keyframe that sets `rotate: 1deg`
   outright wins over a `rotate: 180deg` declared on the element — animations
   beat normal declarations — so a flipped or offset botanical would snap back
   to square the moment its sway began. Composing through calc() keeps the
   resting pose and the drift on the same property without either losing. */

/* Palm fronds: a slow lean from the foot of the trunk. */
@keyframes sway-palm {
  0%, 100% { rotate: calc(var(--tilt, 0deg) - 1.1deg); translate: var(--tx, 0px) var(--ty, 0px); }
  50%      { rotate: calc(var(--tilt, 0deg) + 1.4deg); translate: var(--tx, 0px) calc(var(--ty, 0px) - 5px); }
}

/* Flower clusters entering from a corner: they breathe about the corner they
   are pinned to rather than sliding across it. */
@keyframes sway-bloom {
  0%, 100% { rotate: calc(var(--tilt, 0deg) - 0.8deg); translate: var(--tx, 0px) var(--ty, 0px); }
  50%      { rotate: calc(var(--tilt, 0deg) + 1.2deg); translate: calc(var(--tx, 0px) - 3px) calc(var(--ty, 0px) + 4px); }
}

@keyframes sway-bloom-slow {
  0%, 100% { rotate: calc(var(--tilt, 0deg) + 0.9deg); translate: var(--tx, 0px) var(--ty, 0px); }
  50%      { rotate: calc(var(--tilt, 0deg) - 1.1deg); translate: calc(var(--tx, 0px) + 4px) calc(var(--ty, 0px) - 3px); }
}

/* A single upright stem — bird of paradise, red ginger. */
@keyframes sway-stem {
  0%, 100% { rotate: calc(var(--tilt, 0deg) - 1.6deg); }
  50%      { rotate: calc(var(--tilt, 0deg) + 1.6deg); }
}

/* Cast shadows drift further than the thing casting them and lose a little
   density as they stretch, which is what sells them as light moving. */
@keyframes sway-shadow {
  0%, 100% { translate: var(--tx, 0px) var(--ty, 0px);
             opacity: var(--foliage-shadow); }
  50%      { translate: calc(var(--tx, 0px) + 9px) calc(var(--ty, 0px) + 6px);
             opacity: calc(var(--foliage-shadow) * 0.78); }
}

@keyframes sway-shadow-slow {
  0%, 100% { translate: var(--tx, 0px) var(--ty, 0px);
             opacity: 0.32; }
  50%      { translate: calc(var(--tx, 0px) - 8px) calc(var(--ty, 0px) + 5px);
             opacity: 0.22; }
}

/* The sun breathes rather than pulses. */
@keyframes sway-glow {
  0%, 100% { opacity: 0.26; }
  50%      { opacity: 0.34; }
}

/* `rotate` and `translate` are the independent longhands, not `transform` —
   which leaves `transform` free for the pointer-parallax offsets written by
   initHeroParallax, so the two systems never overwrite each other. */
[data-sway] {
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  rotate: var(--tilt, 0deg);
  translate: var(--tx, 0px) var(--ty, 0px);
  animation-duration: var(--sway-mid);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

[data-sway='palm']         { animation-name: sway-palm;        animation-duration: var(--sway-slow); }
[data-sway='bloom']        { animation-name: sway-bloom;       animation-duration: var(--sway-mid); }
[data-sway='bloom-slow']   { animation-name: sway-bloom-slow;  animation-duration: var(--sway-slow); }
[data-sway='stem']         { animation-name: sway-stem;        animation-duration: var(--sway-fast); }
[data-sway='shadow']       { animation-name: sway-shadow;      animation-duration: var(--sway-slow); }
[data-sway='shadow-slow']  { animation-name: sway-shadow-slow; animation-duration: calc(var(--sway-slow) * 1.3); }
[data-sway='glow']         { animation-name: sway-glow;        animation-duration: calc(var(--sway-slow) * 1.6); }

/* Negative delays put every botanical at a different point in its cycle on
   the first frame, so the page never opens with everything in step. */
[data-sway='bloom']       { animation-delay: -2.4s; }
[data-sway='bloom-slow']  { animation-delay: -7.1s; }
[data-sway='stem']        { animation-delay: -3.8s; }
[data-sway='shadow']      { animation-delay: -5.5s; }
[data-sway='shadow-slow'] { animation-delay: -9.2s; }
[data-sway='glow']        { animation-delay: -11s; }

/* The island ridges take a few pixels of scroll drift, written by JS. */


/* ==========================================================================
   35. REVISED RESPONSIVE RULES
   Tablet collapses the paired columns; phones simplify the tropical layers
   rather than shrinking a desktop composition. The gift and young-reader
   sections keep every word and every figure at 390px — only the diagrams
   become vertical.
   ========================================================================== */

/* --- Tablet: 1100px and down -------------------------------------------- */
@media (max-width: 1100px) {

  .journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); }
  /* The route only makes sense along a single row of stops. */
  .journey__path { display: none; }

  /* Copy first, the planner box beneath it. */
  .schedule__layout { grid-template-columns: minmax(0, 1fr); }
  .schedule__copy { grid-column: 1; grid-row: 1; max-width: 46rem; }
  .planner { grid-column: 1; grid-row: 2; }
}

/* --- Tablet portrait and small laptops: 900px and down ------------------ */
@media (max-width: 900px) {

  .journey__foot,
  .final-cta__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The two gift columns stack: pitch first, timeline card beneath it. */
  .gift__cols { grid-template-columns: minmax(0, 1fr); }

  /* The explorer stacks: copy first, the parcel beneath it. */
  .gift-explorer {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    text-align: center;
  }

  .gift-explorer__figure { order: 1; }
  .gift-explorer__copy { margin-inline: auto; }

  /* The route turns vertical: FROM above, TO below, the dashed line and its
     parcel running down between them. */
  .gift-route {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .gift-route::before {
    top: auto;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
    translate: 0;
    top: calc(50% - 0.5px);
    background: repeating-linear-gradient(
      to right,
      rgba(233, 214, 184, 0.5) 0 5px,
      transparent 5px 10px
    );
  }

  @keyframes gift-route-run {
    0%        { left: 4%; opacity: 0; }
    12%, 78%  { opacity: 1; }
    100%      { left: 96%; opacity: 0; }
  }

  .gift-route::after { top: 50%; }

  .final-cta__envelope { max-width: 260px; }

  .planner__summary { text-align: center; }

  /* Four figures across is too tight once the band is phone-width. */
  .planner__figures {
    flex: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2) var(--space-3);
    justify-items: center;
  }

  .planner__figure { justify-items: center; }
  .planner__value { justify-items: center; }

  /* "Save $19 by prepaying" is far longer than any of the bare amounts and
     overflows a half-width column, so it takes the full row. */
  .planner__figure--save { grid-column: 1 / -1; }

  /* Mid-page foliage steps back so two columns becoming one does not put a
     bloom behind the copy that just moved under it. */
  .young-readers__foliage,
  .stories__foliage,
  .gift__foliage { opacity: 0.5; }
}

/* --- Phones: 640px and down -------------------------------------------- */
@media (max-width: 640px) {

  .journey__steps { grid-template-columns: minmax(0, 1fr); }

  /* Phones get a tighter gift section: the copy carries it, so ornament and
     spacing step back to keep the whole band near two viewports. */
  .gift { padding-block: clamp(var(--space-6), 12vw, var(--space-9)); }

  .gift-explorer__figure::before { width: 150px; }
  .gift__box { width: 130px; }
  .gift-explorer__caption { display: none; }

  .gift-explorer { gap: var(--space-3); }

  /* On a phone the rail's twelve stops would crowd, so the twelve envelopes
     give way to a plain progress bar with the six month pills under it. */
  .gift-timeline__rail {
    height: auto;
    padding-top: var(--space-2);
  }

  .gift-timeline__stops { display: none; }

  .gift-timeline__line {
    top: 0;
    background: rgba(233, 214, 184, 0.28);
    height: 3px;
    border-radius: var(--radius-pill);
  }

  .gift-timeline__fill { top: 0; }

  .gift-timeline__months {
    position: static;
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
    padding-top: var(--space-2);
    border-top: 0;
  }

  /* All six pills hold one row at 390px. */
  .gift-month { min-width: 0; padding: 0.35rem 0.6rem; }

  .gift-explorer { border-top: 0; padding-top: 0; }

  /* Simplified tropical layers: keep one bloom per section, drop the doubles
     and every cast shadow. Fewer, larger, and still unmistakably tropical.
     The hero's own phone layout is set with the rest of it in section 38. */
  .hero__shadow,
  .mailbox__foliage--frond { display: none; }

  /* Both stay whole here too — the phone just gets larger ones, since there
     is no second column to share the width with. */
  .final-cta__palm { width: 34vw; right: 2%; left: auto; }
  .final-cta__bloom--top { width: 34vw; left: 0; right: auto; }

  .stories__foliage { width: 46vw; right: -14%; }
  .young-readers__foliage--corner { width: 44vw; left: -14%; }
  .young-readers__foliage--bird { width: 26vw; right: -4%; }
  .gift__foliage--top { width: 44vw; left: -8%; }
  .gift__foliage--hibiscus { width: 38vw; right: -8%; }

  /* The band itself is set in section 37; on a phone it only needs to run
     wider than the viewport so the clusters stay off the copy column. */
  .definition { --border-band: clamp(72px, 22vw, 104px); }

  .definition__border { width: 150%; }

  /* Body copy never drops below 16px on a phone. */
  .reader-benefit__body,
  .gift-route__end dd,
.gift-pledge__note,
.gift-explorer__copy,
.journey__aeo-a,
.mailbox__aeo,
.arrives__aeo-a,
.planner__caption {
    font-size: 1rem;
  }

  .planner__seal { width: 56px; top: -22px; right: 12px; }

  .gift__actions .btn,
  .schedule__cta { width: 100%; justify-content: center; }

  /* Tap targets stay comfortable across the whole segmented toggle, and the
     rate drops onto its own line under it. */
  .planner__controls { flex-direction: column; align-items: stretch; }
  .planner__choice { justify-self: stretch; }
  .planner-tab { min-height: 44px; flex: 1 1 0; justify-content: center; }
  .planner__rate { align-self: center; }
}

/* --- Small phones: 390px design target and below ----------------------- */
@media (max-width: 400px) {

  .gift__statement { font-size: 1.35rem; }
  .planner__figure dd { font-size: 1.25rem; }
  .timeline__row { gap: 0.2rem; }
}

/* --- Narrow phones: the segmented toggle stacks its flags --------------- */
@media (max-width: 560px) {

  .planner-tab {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 0.6rem;
  }

  .planner-tab__flag { white-space: nowrap; }

  /* The seal would sit on the second figure's label at this width. */
  .planner__seal { display: none; }
}


/* ==========================================================================
   36. REVISED REDUCED-MOTION OVERRIDES
   With the preference set, nothing on this page drifts, sways, parallaxes or
   flies in. Content that was revealed by motion is simply present, and the
   staged sequences resolve to their finished state immediately.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  /* Kill every botanical drift and the sun's breathing. */
  [data-sway] {
    animation: none !important;
    transform: none !important;
  }

  /* Parallax offsets are never written by JS under this preference, but the
     custom properties are neutralised here too so a stale value from a
     mid-session preference change cannot persist. */
  .hero__backdrop > *,
  .hero__foliage > * {
    --px: 0px;
    --py: 0px;
  }

  /* Staged sequences: show the finished state, no travel. */
  .gift-stop {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 200ms linear;
  }

  /* Month switching still works; the incoming copy simply appears and the
     rail fill and ring jump to their new lengths. */
  .gift-explorer__body.is-entering > *,
  .gift-explorer.is-swapping .gift__box,
  .gift-timeline__meter strong.is-ticking { animation: none; }

  /* The parcel rests at the FROM end rather than running the route. */
  .gift-route::after { animation: none; opacity: 1; }

  .gift-timeline__fill,
  .gift-timeline__ring-arc { transition: none; }

  .gift-stop__envelope,
  .gift-stop__envelope::before { transition: none; }

  /* The stack still separates — it is the readable state — but it arrives
     without animating there. */

  /* The plan states still read correctly from [data-plan]; only the
     transient sweep and the settling values are dropped. */
  .is-playing .timeline__row--letters .timeline__cell,
  .is-playing .timeline__row--payments .timeline__dot,
  .planner__caption.is-changed,
  .planner__rate.is-changed,
  .planner__value .is-changed { animation: none; }

  /* Without the per-dot delay the whole row would still stagger its way to
     the new plan; with the preference set it simply arrives. */
  .timeline__dot { transition: none; transition-delay: 0s; }
}


/* ==========================================================================
   37. REVISION FIXES
   Corrections found while reviewing the rendered page.
   ========================================================================== */

/* --- 1. Client-specified headings must render literally ------------------
   Section headings on this page are title-cased by `text-transform` (tier 2
   in section 6). Two headings are specified by the client word for word, and
   title-casing them silently rewrites the copy on screen — "on" became "On",
   "for" became "For". These two opt out; the rest of the page keeps the
   title-case setline. */

.section-head__title--literal { text-transform: none; }


/* --- 2. Botanical borders must not sit behind body copy -----------------
   The centred border was reaching up into its own section's copy: the
   definition answer sat on top of hibiscus. (The newsletter carried the same
   border and the same problem until it merged back into the final CTA, which
   has no centred border of its own.)

   Widening it made it worse, not better. The asset is 729x349, so every
   pixel of extra width buys 0.48px of extra height — a border wide enough to
   push its clusters out to the page edges is then tall enough to fill the
   whole section. Scaling cannot solve this.

   Cropping can. A fixed band height plus `object-fit: cover` lets the artwork
   run full width while only a horizontal slice of it is ever painted, so the
   border occupies a known number of pixels at the foot of the section no
   matter how wide the viewport gets. The section reserves exactly that much
   padding, and the copy above it is never touched. */

.definition { --border-band: clamp(104px, 12vw, 168px); }

.definition { padding-bottom: calc(var(--border-band) + var(--space-4)); }

.definition__border {
  left: 50%;
  bottom: 0;
  --tx: -50%;
  --ty: 0%;
  width: min(118%, 1420px);
  height: var(--border-band);
  /* Cover, not contain: the band is a slice through the artwork rather than
     the whole thing squashed into a letterbox. */
  object-fit: cover;
  /* 58% down the artwork is the band where the hibiscus and plumeria sit. */
  object-position: 50% 58%;
  opacity: 0.5;

  /* Cropping leaves four hard edges, which read as a photo strip pasted
     across the page. Two intersecting gradients dissolve them: the artwork
     fades up out of the paper and tapers away at both ends, which is the
     gentle botanical mask between sections the brief asks for rather than a
     rectangle of flowers. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 46%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 46%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}


/* --- 3. Final CTA: foliage out of the copy column -----------------------
   The palm fronds and the lower bouquet were both crossing the closing copy.

   The copy column is the left half of this section, so the left edge is not
   available — pushing the palm further off-canvas only made the section flat,
   and the brief wants this band lush again. The palm moves to the right
   instead, behind the mailbox scene, which is the one column with no text in
   it: a mailbox standing under a palm, and every line of copy left clear. */

/* The palm stands in the right column, clear of the mailbox and clear of both
   section edges: the whole tree is on the ground, root to crown, rather than
   a crop of one. */
.final-cta__palm {
  left: auto;
  right: 2%;
  /* Not flush to 0: the sway rotates the tree, and a rotated box is taller
     than the one it was laid out in. This is the clearance that keeps the
     lowest frond off the section's clip edge at every point in the cycle. */
  bottom: 14px;
  width: min(21vw, 250px);
  opacity: 1;
}

/* --- The closing palm actually moves ------------------------------------
   The shared `sway-palm` drift is 2.5deg over 17s, which is the right amount
   for foliage a reader is meant to notice only in passing. This palm is the
   one piece of scenery left on the right of the band, so it takes a wider
   arc over a shorter cycle: the crown leans, the trunk bends with it, and
   the whole tree settles back. Rotation is anchored at the foot of the
   trunk, so the base stays planted and only the tree above it moves.

   Still `rotate` and `translate`, never `transform` — the pointer-parallax
   offsets own `transform` on every botanical. */
@keyframes sway-palm-closing {
  0%, 100% { rotate: calc(var(--tilt, 0deg) - 2.6deg); translate: var(--tx, 0px) var(--ty, 0px); }
  28%      { rotate: calc(var(--tilt, 0deg) + 1.1deg); translate: var(--tx, 0px) calc(var(--ty, 0px) - 7px); }
  62%      { rotate: calc(var(--tilt, 0deg) + 3.1deg); translate: var(--tx, 0px) calc(var(--ty, 0px) - 4px); }
}

.final-cta__palm[data-sway] {
  animation-name: sway-palm-closing;
  animation-duration: 7.5s;
  animation-delay: 0s;
  transform-origin: 60% 100%;
}

/* The bottom-left bouquet is gone from the markup. Whole drawings only in
   this band, and there is no room under the facts line for a third one that
   is not cropped. */


/* --- 4. What Arrives: no information behind a hover --------------------
   The second line of each object was collapsed to zero height and only
   opened on hover, so on a desktop pointer the detail was hover-only — and
   the cards are <li>, which cannot take focus, so :focus-within never fired
   for a keyboard user either. The copy is now always present; hover and
   focus keep the fan, the lift and the deepened shadow, which is the motion
   the brief asks for, without carrying any information of their own. */

.arrives-card__note {
  max-height: none;
  margin-top: 0.28rem;
  overflow: visible;
  opacity: 1;
  transition: none;
}

.arrives-card { max-width: 15rem; }


/* --- 6. Mobile: the sun mark, and note legibility ----------------------
   At 74vw the drawn sun was large enough that its individual rays read as
   stray tan bars behind the headline rather than as sunlight. The gradient
   wash on .hero__backdrop::before is doing the actual lighting, so the mark
   itself only needs to be a glint in the corner. */

@media (max-width: 640px) {


  /* Now that these notes are always visible they are body copy, so they take
     the 16px floor with everything else. */
  .arrives-card__note { font-size: 1rem; }
  .arrives-card { max-width: 17rem; }
}


/* --- 7. Gift timeline: positions from the cascade, not the markup -------
   The twelve stops used to carry `style="--i:N"`. The index is derivable
   from document order, so it belongs here rather than as inline CSS on
   twelve list items. */

.gift-stop:nth-child(1)  { --i: 0; }
.gift-stop:nth-child(2)  { --i: 1; }
.gift-stop:nth-child(3)  { --i: 2; }
.gift-stop:nth-child(4)  { --i: 3; }
.gift-stop:nth-child(5)  { --i: 4; }
.gift-stop:nth-child(6)  { --i: 5; }
.gift-stop:nth-child(7)  { --i: 6; }
.gift-stop:nth-child(8)  { --i: 7; }
.gift-stop:nth-child(9)  { --i: 8; }
.gift-stop:nth-child(10) { --i: 9; }
.gift-stop:nth-child(11) { --i: 10; }
.gift-stop:nth-child(12) { --i: 11; }


/* ==========================================================================
   38. HERO — COASTLINE EDITION
   Rebuilt around the client's Hero BG photograph. The drawn sun, ridges and
   contour lines the previous hero used are all in the photograph now, so the
   layers left over it are only what the photograph cannot supply: palm
   fronds in the top corners, blooms in the bottom two, the story as a
   franked stamp, and a circular window onto the islands.
   ========================================================================== */

.hero {
  /* Two layers in one declaration: an ivory scrim washed across the middle,
     then the photograph under it. The scrim is what keeps the headline
     legible where the frame crosses open water — the photograph is pale but
     it is not paper. */
  background-image:
    radial-gradient(58% 46% at 50% 42%,
      rgba(247, 242, 232, 0.92) 0%,
      rgba(247, 242, 232, 0.72) 46%,
      rgba(247, 242, 232, 0) 78%),
    linear-gradient(to bottom,
      rgba(247, 242, 232, 0.78) 0%,
      rgba(247, 242, 232, 0.1) 26%,
      rgba(247, 242, 232, 0) 55%),
    image-set(
      url('assets/tropical/hero-bg-1672.webp') 1x,
      url('assets/tropical/hero-bg-1672.webp') 2x);
  background-repeat: no-repeat;
  background-position: 50% 50%, 50% 0%, 50% 62%;
  background-size: auto, auto, cover;
  background-color: var(--color-island-ivory);
}

/* Phones get the small crop. Declared separately from the layer stack above
   so the gradients are not repeated. */
@media (max-width: 760px) {
  .hero { background-image:
    radial-gradient(70% 44% at 50% 40%,
      rgba(247, 242, 232, 0.94) 0%,
      rgba(247, 242, 232, 0.74) 48%,
      rgba(247, 242, 232, 0) 80%),
    linear-gradient(to bottom,
      rgba(247, 242, 232, 0.82) 0%,
      rgba(247, 242, 232, 0.12) 28%,
      rgba(247, 242, 232, 0) 58%),
    image-set(
      url('assets/tropical/hero-bg-1024.webp') 1x,
      url('assets/tropical/hero-bg-1440.webp') 2x);
  }
}


/* --- Opening hibiscus mark ---------------------------------------------- */

.hero__mark {
  display: block;
  width: clamp(26px, 2.4vw, 34px);
  margin: 0 auto var(--space-2);
  color: var(--color-action-primary);
}

.hero__mark svg { width: 100%; height: auto; overflow: visible; }

.hero__mark-petals { fill: currentColor; opacity: 0.9; }
.hero__mark-heart { fill: var(--color-sunset-gold); }
.hero__mark-pollen { fill: var(--color-sunset-gold); }

.hero__mark-stamen {
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 1.6;
  stroke-linecap: round;
}


/* --- Facts line and its leaf sprigs ------------------------------------- */

.hero__facts {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border-top: 0;
  padding-top: 0;
  margin-top: var(--space-3);
}

.hero__sprig {
  flex: 0 0 auto;
  width: clamp(22px, 2vw, 32px);
  color: var(--color-accent-palm);
}

.hero__sprig svg { width: 100%; height: auto; }
.hero__sprig--flip { scale: -1 1; }

.hero__sprig-stem {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.75;
}

.hero__sprig-leaf { fill: currentColor; opacity: 0.85; }


/* --- Editorial accent, now set in the column ---------------------------- */

.hero__accent {
  max-width: 30rem;
  margin: var(--space-3) auto 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-default);
  font-family: var(--font-display-family);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.3;
  color: var(--color-text-strong);
}

.hero__accent em {
  font-style: italic;
  color: var(--color-action-primary);
}

.hero__trust { margin-top: var(--space-2); }


/* --- The story as a franked stamp --------------------------------------- */

.letter--stamp {
  --letter-w: clamp(132px, 15vw, 232px);
  --rot: -7deg;
  --rot-swing: 1.6deg;
  --float-dur: 10s;
  top: 30%;
  left: 5%;
}

/* A stamp is a white matte with the artwork inset and the perforations cut
   through the matte, so the mask goes on the frame rather than the picture.
   `filter: drop-shadow` rather than `box-shadow`, because a mask clips a box
   shadow but follows the alpha of a filtered drop shadow. */
.letter--stamp .letter__card {
  --perf: 11px;
  --perf-r: 4px;
  padding: clamp(7px, 0.8vw, 11px);
  background: var(--color-paper-white);
  border-radius: 2px;
  box-shadow: none;
  filter: drop-shadow(0 16px 30px rgba(18, 63, 59, 0.2));
  -webkit-mask-image:
    radial-gradient(var(--perf-r) at 50% 0, #0000 97%, #000 100%),
    radial-gradient(var(--perf-r) at 50% 100%, #0000 97%, #000 100%),
    radial-gradient(var(--perf-r) at 0 50%, #0000 97%, #000 100%),
    radial-gradient(var(--perf-r) at 100% 50%, #0000 97%, #000 100%);
  mask-image:
    radial-gradient(var(--perf-r) at 50% 0, #0000 97%, #000 100%),
    radial-gradient(var(--perf-r) at 50% 100%, #0000 97%, #000 100%),
    radial-gradient(var(--perf-r) at 0 50%, #0000 97%, #000 100%),
    radial-gradient(var(--perf-r) at 100% 50%, #0000 97%, #000 100%);
  -webkit-mask-size: var(--perf) 100%, var(--perf) 100%, 100% var(--perf), 100% var(--perf);
  mask-size: var(--perf) 100%, var(--perf) 100%, 100% var(--perf), 100% var(--perf);
  -webkit-mask-position: 0 0, 0 100%, 0 0, 100% 0;
  mask-position: 0 0, 0 100%, 0 0, 100% 0;
  -webkit-mask-repeat: round;
  mask-repeat: round;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.letter--stamp .letter__card img {
  aspect-ratio: 3 / 4;
  height: auto;
  object-position: 50% 34%;
  border-radius: 1px;
}


/* --- The second stamp, on the right ------------------------------------- */

/* Both hero letters are franked stamps now. The circular window this replaced
   held a landscape photograph well, but a 2:3 book cover cropped to a circle
   loses the title block — and the title is the point of showing a cover. The
   stamp frame keeps the whole jacket, and the two read as a pair.

   Everything visual is inherited from .letter--stamp above; this only sets
   where it sits and which way it leans, tilting the opposite way so the pair
   is not two identical objects. */
.letter--stamp-right {
  --letter-w: clamp(124px, 14.5vw, 214px);
  --rot: 6deg;
  --rot-swing: -1.4deg;
  --float-dur: 13s;
  --float-delay: -3.2s;
  top: 33%;
  right: 6%;
  left: auto;
}


/* --- Corner foliage ----------------------------------------------------- */

.hero__frond--left {
  top: -20%;
  left: -14%;
  width: min(34vw, 430px);
  --tilt: -6deg;
  transform-origin: 70% 30%;
}

/* Mirrored, so the two corners are a pair rather than a repeat. */
.hero__frond--right {
  top: -22%;
  right: -13%;
  width: min(32vw, 410px);
  scale: -1 1;
  --tilt: 5deg;
  transform-origin: 30% 30%;
}

.hero__flower-cluster--left {
  left: -6%;
  bottom: -11%;
  width: min(24vw, 300px);
  transform-origin: 100% 100%;
}

.hero__flower-cluster--right {
  right: -7%;
  bottom: -13%;
  width: min(26vw, 320px);
  scale: -1 -1;
  transform-origin: 50% 50%;
}

/* Both shadows drop back: the photograph already carries its own light, so
   these only need to suggest fronds moving across the paper. */
.hero__shadow--palm  { top: 2%;  left: -10%; width: min(26vw, 300px); opacity: 0.26; }


/* --- A second palm timing, so the two fronds never sway in step --------- */

@keyframes sway-palm-slow {
  0%, 100% { rotate: calc(var(--tilt, 0deg) + 1.2deg); translate: var(--tx, 0px) var(--ty, 0px); }
  50%      { rotate: calc(var(--tilt, 0deg) - 1deg);   translate: var(--tx, 0px) calc(var(--ty, 0px) + 4px); }
}

[data-sway='palm-slow'] {
  animation-name: sway-palm-slow;
  animation-duration: calc(var(--sway-slow) * 1.25);
  animation-delay: -6.3s;
}


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

@media (max-width: 1100px) {
  .letter--stamp    { left: 2%;  top: 32%; }
}

/* Tablet portrait: the two objects drop below the copy so neither crowds it. */
@media (max-width: 860px) {
  .letter--stamp    { top: auto; bottom: 12%; left: 6%;  --letter-w: clamp(112px, 20vw, 168px); }
}

@media (max-width: 640px) {
  .hero__frond--left  { width: 62vw; top: -14%; left: -22%; }
  .hero__frond--right { width: 58vw; top: -16%; right: -20%; }

  .hero__flower-cluster--left  { width: 46vw; left: -16%; bottom: -6%; }
  .hero__flower-cluster--right { width: 44vw; right: -16%; bottom: -7%; }

  .letter--stamp    { bottom: 9%;  left: 3%;  --letter-w: clamp(96px, 27vw, 130px); }

  /* The sprigs are decorative and the facts line needs the full measure on a
     phone, where it wraps to two lines. */
  .hero__sprig { display: none; }
  .hero__facts { display: block; }

  .hero__accent { font-size: 1.05rem; }
}


/* --- Hero reduced motion ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  /* The float on both objects is a CSS animation on .letter__card, which the
     existing reduced-motion block already stops; the resting rotation has to
     be restated here because that block clears the animation that carried it. */
  /* One selector covers both stamps now. */
  .letter--stamp .letter__card { animation: none; }
}


/* ==========================================================================
   39. HERO — COASTLINE EDITION, CORRECTIONS
   ========================================================================== */

/* --- 1. The wordmark needs a ground ------------------------------------
   The header was transparent until scrolled, which worked over flat ivory.
   Over the coastline photograph and the corner fronds it does not: the
   wordmark is dark green and so are the fronds, so the lockup disappeared
   into them. The bar now carries a soft ivory wash from the first frame —
   which is also how the reference frame is set — and firms up on scroll. */

.site-header {
  background: rgba(247, 242, 232, 0.66);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  backdrop-filter: blur(10px) saturate(115%);
  border-bottom-color: rgba(18, 63, 59, 0.08);
}

.site-header.is-scrolled {
  background: rgba(247, 242, 232, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}


/* --- 2. Fronds out of the header's way ---------------------------------
   Pulled up and further off-canvas so each reads as a frond entering its
   corner rather than a canopy over the navigation. */

.hero__frond--left {
  top: -34%;
  left: -17%;
  width: min(31vw, 390px);
}

.hero__frond--right {
  top: -36%;
  right: -16%;
  width: min(30vw, 375px);
}


/* --- 3. Vertical rhythm ------------------------------------------------
   The opening mark and the accent line were added to a column that already
   filled the frame, and the trust line ended up under the scroll cue. The
   column is tightened rather than shortened — every line is still there. */

.hero__title {
  font-size: clamp(2.1rem, min(4.6vw, 7.4vh), 3.9rem);
  margin-bottom: var(--space-2);
}

.hero__lede {
  max-width: 34rem;
  margin-bottom: var(--space-3);
}

.hero__mark { margin-bottom: var(--space-1); }

.hero__facts { margin-top: var(--space-2); }

.hero__accent {
  margin-top: var(--space-2);
  padding-top: var(--space-1);
}

/* One line at desktop widths, so it cannot push into the cue. */
.hero__trust {
  max-width: 44rem;
  margin-top: 0.4rem;
}

/* Short viewports: the accent carries the voice and the trust line repeats
   what the facts line already says, so the trust line is the one thing that
   gives way — and only where there is genuinely no room for it. */
@media (max-height: 780px) {
  .hero__mark { width: clamp(22px, 2vw, 27px); }
  .hero__accent { font-size: 1.02rem; }
  .hero__trust { display: none; }
}


/* --- 4. Framing --------------------------------------------------------
   The photograph's own ridge sat directly behind the circular window, so two
   sets of mountains were stacked. Shifting the crop right moves the ridge
   out from under it and brings more open water into the middle. */

.hero { background-position: 50% 50%, 50% 0%, 64% 62%; }

@media (max-width: 760px) {
  .hero { background-position: 50% 50%, 50% 0%, 70% 64%; }
}


/* ==========================================================================
   40. HERO — FRAMING PASS
   ========================================================================== */

/* --- Fronds back into their corners ------------------------------------
   Moving them clear of the wordmark overcorrected: the top corners emptied
   out and the frame lost the canopy the reference leads with. The header bar
   is a frosted ivory band above this layer now, so a frond can run up behind
   it and be veiled rather than blocking anything. They come back down. */

.hero__frond--left {
  top: -17%;
  left: -12%;
  width: min(34vw, 425px);
}

.hero__frond--right {
  top: -19%;
  right: -11%;
  width: min(32vw, 405px);
}


/* --- One more ivory veil over the photograph ---------------------------
   The centre scrim lit the middle but left the right-hand ridge and water at
   full strength, so the frame read as two halves: pale paper on the left,
   saturated photograph on the right. A flat veil across the whole image pulls
   it back to the haze the reference has, and the ridge becomes atmosphere
   behind the type instead of a competing subject. */

.hero {
  background-image:
    radial-gradient(58% 46% at 50% 42%,
      rgba(247, 242, 232, 0.9) 0%,
      rgba(247, 242, 232, 0.66) 46%,
      rgba(247, 242, 232, 0) 78%),
    linear-gradient(to bottom,
      rgba(247, 242, 232, 0.72) 0%,
      rgba(247, 242, 232, 0.08) 26%,
      rgba(247, 242, 232, 0) 55%),
    linear-gradient(rgba(247, 242, 232, 0.4), rgba(247, 242, 232, 0.4)),
    image-set(
      url('assets/tropical/hero-bg-1672.webp') 1x,
      url('assets/tropical/hero-bg-1672.webp') 2x);
  background-position: 50% 50%, 50% 0%, 50% 50%, 64% 62%;
  background-size: auto, auto, auto, cover;
}

@media (max-width: 760px) {
  .hero {
    background-image:
      radial-gradient(70% 44% at 50% 40%,
        rgba(247, 242, 232, 0.92) 0%,
        rgba(247, 242, 232, 0.7) 48%,
        rgba(247, 242, 232, 0) 80%),
      linear-gradient(to bottom,
        rgba(247, 242, 232, 0.78) 0%,
        rgba(247, 242, 232, 0.1) 28%,
        rgba(247, 242, 232, 0) 58%),
      linear-gradient(rgba(247, 242, 232, 0.44), rgba(247, 242, 232, 0.44)),
      image-set(
        url('assets/tropical/hero-bg-1024.webp') 1x,
        url('assets/tropical/hero-bg-1440.webp') 2x);
    background-position: 50% 50%, 50% 0%, 50% 50%, 70% 64%;
  }
}

/* --- Stamp matte ------------------------------------------------------- */

/* A real franked stamp shows more paper around the artwork than this did. */
.letter--stamp .letter__card { padding: clamp(9px, 1vw, 14px); }

/* The reference leads with a denser canopy than this, so both corner pieces
   grow and come a little further into frame.

   Guarded above the phone breakpoint on purpose: unguarded, these landed
   after section 38's `max-width: 640px` block and beat it, which shrank the
   fronds to a third of their intended size on a phone — the opposite of what
   that block asks for. */
@media (min-width: 641px) {
  .hero__frond--left  { top: -15%; left: -11%; width: min(37vw, 465px); }
  .hero__frond--right { top: -17%; right: -10%; width: min(35vw, 445px); }
}

/* Phones: the fronds are the whole tropical read at this width, so they are
   large and unmistakable, and the photograph keeps more of its colour than
   the desktop veil allows — there is no wide frame here for it to fill. */
@media (max-width: 640px) {
  .hero__frond--left  { top: -11%; left: -24%; width: 68vw; }
  .hero__frond--right { top: -13%; right: -22%; width: 64vw; }

  .hero {
    background-image:
      radial-gradient(74% 40% at 50% 38%,
        rgba(247, 242, 232, 0.9) 0%,
        rgba(247, 242, 232, 0.6) 52%,
        rgba(247, 242, 232, 0) 84%),
      linear-gradient(to bottom,
        rgba(247, 242, 232, 0.74) 0%,
        rgba(247, 242, 232, 0.08) 30%,
        rgba(247, 242, 232, 0) 60%),
      linear-gradient(rgba(247, 242, 232, 0.2), rgba(247, 242, 232, 0.2)),
      image-set(
        url('assets/tropical/hero-bg-1024.webp') 1x,
        url('assets/tropical/hero-bg-1440.webp') 2x);
    background-position: 50% 50%, 50% 0%, 50% 50%, 66% 66%;
  }
}


/* ==========================================================================
   41. CONTAINING THE DECORATIVE OVERFLOW
   `overflow: clip` hides the foliage that runs past a section edge, but it
   does not make the section a scroll container — so the clipped boxes still
   counted as layout overflow, and the document reported a scroll width up to
   52px wider than the viewport at tablet sizes. Nothing could actually scroll
   there (`body { overflow-x: hidden }` in the reset absorbed it), but the
   document should not be reporting overflow it does not have.

   `hidden` does establish a scroll container, which is why .mailbox cannot
   use it — sticky positioning on its copy column and its cards is cancelled
   by any scroll-container ancestor, and that is documented at .mailbox
   itself. None of the sections below contain a sticky descendant, so each one
   can hold its own foliage properly.
   ========================================================================== */

.definition,
.stories,
.young-readers,
.gift,
.schedule,
.final-cta { overflow: hidden; }


/* ==========================================================================
   42. HERO — BOTTOM CLUSTERS MIRRORED, LETTERS TUCKED BEHIND
   Each bottom bouquet was facing the wrong way: the left one carried its mass
   on its right side, so it read as growing in from the middle of the frame
   rather than out of the left corner, and the right one was rotated a full
   180deg, which put its heaviest flowers on the inboard side too.

   Mirroring solves both. The left cluster flips horizontally; the right one
   flips vertically only, which lands the original top-corner arrangement's
   weight along the bottom-right instead of rotating it inboard.

   `transform-origin` has to be the centre for a flip. Off-centre — the left
   cluster was hinged at 100% 100% for its sway — a mirror translates the
   element by its own width as well as reflecting it, which walks it clean off
   the canvas. The sway rotation loses its corner hinge as a result, which at
   one degree of travel is not a visible difference.

   `scale` is safe to set here: the sway keyframes compose `rotate` and
   `translate` only, so neither flip is overwritten once the drift starts.
   ========================================================================== */

.hero__flower-cluster--left {
  left: -8%;
  bottom: -9%;
  width: min(30vw, 400px);
  scale: -1 1;
  transform-origin: 50% 50%;
}

.hero__flower-cluster--right {
  right: -8%;
  bottom: -7%;
  width: min(29vw, 385px);
  scale: 1 -1;
  transform-origin: 50% 50%;
}

/* The stamp and the window drop far enough for the blooms to cross in front
   of them, as they do in the reference frame. The foliage layer already sits
   above the letters, and it takes no pointer events, so the stamp stays
   clickable through the petals covering it.

   The positions themselves are set in the guarded block below — declaring
   them unguarded here overrode the narrow-viewport layouts, which is the
   whole trap this file keeps setting: every one of these hero rules lands
   after section 38's media blocks, so anything not guarded wins at every
   width. */

/* The clusters were mirrored correctly but still sat clear of the letters:
   most of each asset's height is transparent above the flowers, so the box
   overlapped while the painted petals did not. Both grow, and both letters
   drop, until the blooms genuinely cross in front of them. */
@media (min-width: 641px) {
  .hero__flower-cluster--left {
    bottom: -6%;
    width: min(34vw, 460px);
  }

  .hero__flower-cluster--right {
    bottom: -4%;
    width: min(34vw, 450px);
  }
}

/* Guarded above the tablet breakpoint. Unguarded these sit after section
   38's `max-width: 860px` and `max-width: 640px` blocks, where both letters
   are re-anchored with `top: auto; bottom: ...` to drop below the copy — and
   a later `top` beats that, because an absolutely positioned box with both
   offsets set and its height from content resolves against `top` and drops
   the `bottom` entirely. The narrow layouts would have silently reverted. */
@media (min-width: 861px) {
  .letter--stamp    { top: 46%; left: 6%; }
}


/* ==========================================================================
   43. HERO — TABLET BAND (641-860px)
   Between the phone and desktop layouts the copy column is nearly as wide as
   the viewport, which left no room at the edges for the stamp and the window:
   both landed on top of the headline. The column narrows here and the two
   objects shrink to hug the margins beside it, rather than being dropped
   below the copy where the facts and accent lines now sit.
   ========================================================================== */

@media (min-width: 641px) and (max-width: 860px) {
  .hero__copy { max-width: 33rem; }

  .letter--stamp {
    top: 36%;
    bottom: auto;
    left: 0.5%;
    --letter-w: clamp(100px, 14vw, 124px);
  }

  /* Pulled back so neither bouquet reaches into the narrowed column. */
  .hero__flower-cluster--left  { width: min(38vw, 300px); bottom: -5%; left: -11%; }
  .hero__flower-cluster--right { width: min(38vw, 295px); bottom: -4%; right: -11%; }

  .hero__frond--left  { width: 44vw; top: -13%; left: -16%; }
  .hero__frond--right { width: 42vw; top: -15%; right: -15%; }
}


/* ==========================================================================
   44. SECTION SEAM — BOTANICAL CORNERS
   Two bouquets sitting on the join between the paper sections and the dark
   mailbox band, half in each. Both sections clip their own overflow to keep
   their foliage in bounds, so these cannot live inside either one — they sit
   in a zero-height wrapper between the two instead.
   ========================================================================== */

.section-seam {
  position: relative;
  z-index: 3;
  height: 0;
  /* No horizontal overflow: both bouquets are anchored to an edge and sized
     in vw, so neither can push the document wider than the viewport. */
  overflow: visible;
  pointer-events: none;
}

.section-seam__bloom {
  position: absolute;
  bottom: 0;
  max-width: none;
  -webkit-user-select: none;
  user-select: none;
  filter: drop-shadow(0 10px 18px rgba(18, 63, 59, 0.18));
}

/* Roughly two thirds above the seam, one third below, so each reads as
   growing out of the paper and spilling onto the dark band. */
.section-seam__bloom--left {
  left: 0;
  width: min(22vw, 300px);
  --ty: 34%;
  transform-origin: 0% 100%;
}

.section-seam__bloom--right {
  right: 0;
  width: min(21vw, 285px);
  --ty: 32%;
  transform-origin: 100% 100%;
}

/* The band the old botanical strip reserved at the foot of the definition is
   no longer needed — the seam bouquets carry that job now. */
.definition { padding-bottom: clamp(var(--space-6), 7vw, var(--space-12)); }


/* ==========================================================================
   47. SEAM CORNERS — SIZING AND CLEARANCE
   One set of values per breakpoint band, replacing the several passes this
   went through while it was being fitted. Two constraints:

     - the bouquets must not reach the last facts card's copy, so the facts
       row reserves a band at its foot and the outer columns pull in;
     - the vertical offset goes through --ty, never a bare `translate`. These
       carry data-sway, and the sway keyframes animate `translate` — a raw
       value there is silently overridden and the bouquet never moves.
   ========================================================================== */

.facts { padding-bottom: clamp(5.5rem, 9vw, 8rem); }

.section-seam__bloom--left  { left: -2%;  width: min(17vw, 250px); --ty: 46%; }
.section-seam__bloom--right { right: -2%; width: min(15vw, 216px); --ty: 44%; }

@media (min-width: 1100px) {
  .facts { padding-bottom: clamp(7rem, 10vw, 9rem); }
  /* Four columns run almost to the gutters at this width; pulling them in is
     what keeps the outer two clear of the bouquets. */
  .facts__list { padding-inline: clamp(1rem, 5vw, 4.5rem); }
}

@media (min-width: 641px) and (max-width: 1099px) {
  .facts { padding-bottom: clamp(6.5rem, 13vw, 9rem); }
  .facts__list { padding-inline: clamp(0.5rem, 4vw, 3rem); }

  .section-seam__bloom--left  { width: min(22vw, 216px); --ty: 56%; }
  .section-seam__bloom--right { width: min(19vw, 188px); --ty: 54%; }
}

@media (max-width: 640px) {
  /* One centred column here, running to both gutters, so the bouquets are
     smaller and sit almost entirely below the seam. */
  .facts { padding-bottom: clamp(5rem, 19vw, 6.75rem); }

  .section-seam__bloom--left  { width: 32vw; --ty: 62%; }
  .section-seam__bloom--right { width: 29vw; --ty: 60%; }
}


/* ==========================================================================
   48. MAILBOX MOMENTS  (reconstructed)
   The four arrival stages as a vertical pile of cards that stack on scroll:
   each is sticky, so as the column moves the cards come to rest one on top of
   the last, on a dotted rail with a gold node per card.

   NOTE — this block is a reconstruction. The original was removed in an
   earlier pass without keeping a copy, and rebuilt here against a full-page
   render of the previous build. The geometry initSectionStack measures is
   reproduced exactly:
     - .moment is `position: sticky` with a per-card `top`, and the module
       reads `getComputedStyle(lastCard).top` to work out where the pile ends;
     - the list carries `--moment-hold` as bottom padding, which the module
       writes so the finished pile survives a beat before the next section
       covers it;
     - between 641px and 900px the cards flow instead of stacking, the same
       range as the module's `staticQuery`.
   Changing any of those three without changing initSectionStack breaks the
   pile.
   ========================================================================== */

.mailbox__moments {
  position: relative;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: var(--moment-hold, 0px);
  --moment-stack-top: calc(var(--header-height) + var(--space-4));
  --moment-stack-step: 3.25rem;
}

.mailbox__moments::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  bottom: calc(var(--moment-hold, 0px) + 1.6rem);
  left: 0.32rem;
  width: 0;
  border-left: 2px dotted rgba(233, 214, 184, 0.42);
}

.moment {
  position: sticky;
  top: var(--moment-stack-top);
  margin-bottom: clamp(var(--space-4), 5vh, var(--space-8));
  background: rgba(247, 242, 232, 0.07);
  border: 1px solid rgba(233, 214, 184, 0.22);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(6, 26, 24, 0.34);
  transition: transform var(--dur-component) var(--ease-paper),
              box-shadow var(--dur-component) var(--ease-out);
}

.moment:last-child { margin-bottom: 0; }

.moment:nth-child(1) { z-index: 1; }
.moment:nth-child(2) { z-index: 2; top: calc(var(--moment-stack-top) + var(--moment-stack-step)); }
.moment:nth-child(3) { z-index: 3; top: calc(var(--moment-stack-top) + var(--moment-stack-step) * 2); }
.moment:nth-child(4) { z-index: 4; top: calc(var(--moment-stack-top) + var(--moment-stack-step) * 3); }

.moment:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(6, 26, 24, 0.42);
}

.moment::before {
  content: '';
  position: absolute;
  top: 1.55rem;
  left: calc(-1 * clamp(1.5rem, 3vw, 2.5rem) + 0.06rem);
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color-sunset-gold);
  box-shadow: 0 0 0 4px rgba(213, 162, 59, 0.16);
  z-index: 1;
}

.moment__head {
  padding: clamp(0.7rem, 1.4vw, 0.95rem) clamp(0.9rem, 1.8vw, 1.25rem);
  background: var(--color-warm-sand);
  border-bottom: 1px solid rgba(18, 63, 59, 0.12);
}

.moment__head-inner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display-family);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.2;
  color: var(--color-text-strong);
}

.moment__index {
  flex: 0 0 auto;
  padding: 0.16rem 0.42rem;
  background: var(--color-ocean-ink);
  border-radius: 4px;
  font-family: var(--font-body-family);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-warm-sand);
}

.moment__figure { overflow: hidden; background: var(--color-sea-mist); }

.moment__figure img {
  width: 100%;
  height: clamp(200px, 27vw, 330px);
  object-fit: cover;
  object-position: 50% 46%;
  display: block;
  transition: transform var(--dur-narrative) var(--ease-paper);
}

.moment:hover .moment__figure img { transform: scale(1.03); }

.moment__figure--cutout { background: var(--color-island-ivory); }

.moment__figure--cutout img {
  object-fit: contain;
  padding: var(--space-3);
}

.moment__body {
  padding: var(--space-2) clamp(0.9rem, 1.8vw, 1.25rem) calc(var(--space-2) + 0.15rem);
  font-size: var(--font-small);
  line-height: 1.6;
  color: rgba(247, 242, 232, 0.82);
}

/* 641-900px: the cards flow instead of stacking. Mirrored in
   initSectionStack's `staticQuery` — change one and change the other. */
@media (min-width: 641px) and (max-width: 900px) {
  .moment { position: static; top: auto; }
  .mailbox__moments { padding-bottom: 0; }
}

@media (max-width: 640px) {
  .mailbox__moments {
    padding-left: 1.15rem;
    --moment-stack-step: 2.5rem;
  }

  .mailbox__moments::before { left: 0.22rem; }
  .moment::before { left: -1.09rem; width: 0.5rem; height: 0.5rem; }

  .moment__head-inner { font-size: 1rem; }
  .moment__body { font-size: 1rem; }
  .moment__figure img { height: clamp(180px, 48vw, 240px); }
}

@media (prefers-reduced-motion: reduce) {
  .moment { position: static; top: auto; transition: none; }
  .moment:hover { transform: none; }
  .moment__figure img { transition: none; }
  .moment:hover .moment__figure img { transform: none; }
  .mailbox__moments { padding-bottom: 0; }
}

/* The client's own corner crops are squarer than the ones they replaced, so
   they stand taller at the same width and reached the last facts card again at
   1100px and up. Measured at 1200 and 1440. */
.section-seam__bloom--left  { --ty: 62%; }
.section-seam__bloom--right { --ty: 60%; }

@media (min-width: 1100px) {
  .facts { padding-bottom: clamp(7rem, 11vw, 9.5rem); }
}

/* The seam bouquets hang into the top of the mailbox section, where the
   eyebrow is the first thing they meet. The section's top padding now clears
   the bouquet's reach at every width — measured, since the reach is a
   percentage of the artwork's height and the padding was a percentage of the
   viewport, so the two crossed over at different points in each band.

   Only padding-top is set. padding-bottom stays at zero: the moments list
   carries it instead, via --moment-hold, and that is load-bearing for the
   pile (see section 48). */
.mailbox { padding-top: max(9rem, 12vw); }

@media (min-width: 641px) and (max-width: 1099px) {
  .mailbox { padding-top: max(10rem, 14vw); }
}

@media (max-width: 640px) {
  .mailbox { padding-top: max(7rem, 28vw); }
}


/* ==========================================================================
   49. MAILBOX MOMENTS AND HERO STAMP — CORRECTIONS
   ========================================================================== */

/* --- 1. The rail is a solid line, not a dotted one ---------------------- */

.mailbox__moments::before {
  border-left: 0;
  width: 1.5px;
  background: rgba(233, 214, 184, 0.5);
}

/* One solid node per card, no halo ring. Each node lives on its own card, so
   the dots travel and come to rest with the cards as the pile stacks. */
.moment::before {
  background: var(--color-sunset-gold);
  box-shadow: none;
  width: 0.62rem;
  height: 0.62rem;
}


/* --- 2. The cards must be opaque ---------------------------------------- */

/* These were `rgba(247, 242, 232, 0.07)` — seven per cent opaque. That is fine
   for a card sitting on the section background, but these cards stack: each one
   comes to rest over the one before it, and at that opacity the photograph
   underneath showed straight through the caption panel on top of it.

   A stacking card has to be opaque. This is a flat colour rather than a token
   because it sits between two of them — lighter than the section's ocean ink so
   the card reads as a panel, darker than the deep lagoon so it does not glow. */
.moment {
  background: #1D544E;
  box-shadow: 0 18px 40px rgba(6, 26, 24, 0.44);
}

.moment:hover { box-shadow: 0 26px 54px rgba(6, 26, 24, 0.52); }


/* --- 3. The right-hand hero stamp, per breakpoint ----------------------- */

/* .letter--stamp-right carries .letter--stamp too, so every positional rule
   written for the left stamp also lands on it — including the `left` values,
   which would drag it across the hero. Each band therefore restates `left:
   auto` alongside its own offset, and this section sits last in the file so it
   wins wherever those rules apply. Band order mirrors the left stamp's. */

@media (max-width: 1100px) {
  .letter--stamp-right { left: auto; right: 2%; top: 36%; }
}

@media (max-width: 860px) {
  .letter--stamp-right {
    left: auto;
    top: auto;
    bottom: 14%;
    right: 6%;
    --letter-w: clamp(104px, 18vw, 156px);
  }
}

@media (max-width: 640px) {
  .letter--stamp-right {
    left: auto;
    bottom: 11%;
    right: 3%;
    --letter-w: clamp(88px, 25vw, 120px);
  }
}

@media (min-width: 861px) {
  .letter--stamp-right { left: auto; top: 47%; right: 7%; }
}

@media (min-width: 641px) and (max-width: 860px) {
  .letter--stamp-right {
    left: auto;
    top: 41%;
    bottom: auto;
    right: 0.5%;
    --letter-w: clamp(94px, 13vw, 116px);
  }
}

/* --- 4. The rail dots were being clipped -------------------------------- */

/* Each dot is a `::before` on its card, sitting in the gutter to the card's
   left so it travels and stacks with it. `overflow: hidden` on the card — there
   to keep the photograph inside the rounded corners — was cutting it off at the
   card edge, so the rail showed a line and no nodes.

   The clip moves to the children instead. The head bar is the card's top edge
   and the caption its bottom, so those two carry the radius and the figure
   between them needs none; nothing then has to be clipped at the card level and
   the dot is free to sit outside it.

   `overflow: clip` with a clip margin was the other option and is wrong here:
   the margin inflates the border-radius along with the box, which would square
   off the very corners this is protecting. */
.moment {
  overflow: visible;
}

.moment__head {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.moment__body {
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}


/* ==========================================================================
   50. SEAM AND RAIL — POSITIONING PASS
   ========================================================================== */

/* --- 1. The seam bouquets straddle the join evenly ---------------------- */

/* They were hanging mostly below the seam. Half above and half below now, so
   each one reads as growing out of the paper section and spilling onto the
   dark band rather than sitting on top of it. The facts row reserves more of a
   band at its foot to match — the bouquets reach higher than they used to. */
.section-seam__bloom--left  { --ty: 50%; }
.section-seam__bloom--right { --ty: 50%; }

.facts { padding-bottom: clamp(8rem, 13vw, 11rem); }

@media (min-width: 1100px) {
  .facts { padding-bottom: clamp(9rem, 13vw, 12rem); }
}

@media (min-width: 641px) and (max-width: 1099px) {
  .facts { padding-bottom: clamp(8rem, 16vw, 11rem); }
}

@media (max-width: 640px) {
  .facts { padding-bottom: clamp(6rem, 24vw, 8.5rem); }
}


/* --- 2. The rail is thinner, gold, and spans the whole section ----------- */

/* Was 1.5px of warm sand inset well inside the moments list. Now a hairline in
   the brand gold, running the full height of the section: the offsets are
   deliberately far outside the list, and .mailbox clips its own overflow, so
   the line is trimmed to the section's top and bottom edges. That also takes
   the rail's length off --moment-hold, which used to size it and would leave
   it inverted whenever that value was large. */
.mailbox__moments::before {
  top: -200vh;
  bottom: -200vh;
  width: 1px;
  background: var(--color-sunset-gold);
  opacity: 0.55;
}


/* ==========================================================================
   51. STORIES — COMPACT HEAD, LOWERED BLOOM, PALM GROVE
   ========================================================================== */

/* The bouquet was pinned above the section and clipped, so it read as a strip
   of leaves rather than a corner piece. It starts at the section's own top
   edge now. */
/* Lifted clear of the section's top edge so the bouquet reads as entering the
   frame rather than resting on the seam. 32px is a nudge, not a computed
   value — the request did not name an amount, so this is the smallest move
   that reads as deliberate. Adjust the one number to taste. */
.stories__foliage { top: -32px; }

/* Two prints of the client palm rising out of the bottom-left corner, mostly
   below the fold of the section so they read as a grove at the edge of the
   frame rather than two objects placed on it. */
.stories__palm {
  position: absolute;
  bottom: -6%;
  max-width: none;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: var(--z-foliage-back);
  transform-origin: 50% 100%;
}

.stories__palm--far {
  left: -3%;
  width: min(13vw, 165px);
  opacity: 0.85;
  --tilt: -3deg;
}

.stories__palm--near {
  left: 2%;
  width: min(16vw, 205px);
  scale: -1 1;
  --tilt: 2deg;
}

/* The head runs wider here than the page default so the intro sits on two
   lines instead of three, which is most of what made this section feel long. */
.stories .section-head {
  max-width: 74rem;
  margin-bottom: clamp(var(--space-4), 4vw, var(--space-6));
}

.stories .section-head__intro { max-width: 70rem; }

@media (max-width: 900px) {
  .stories__palm--far  { width: 18vw; left: -5%; }
  .stories__palm--near { width: 22vw; left: 1%; }
}

@media (max-width: 640px) {
  /* One palm on a phone: two at this width crowd the first card. */
  .stories__palm--far { display: none; }
  .stories__palm--near { width: 30vw; left: -6%; bottom: -4%; }

  .stories .section-head__intro { max-width: none; }
}


/* ==========================================================================
   52. YOUNG READERS — THE RIFFLE
   The reading-ritual diagram is gone: four more numbered steps under four
   numbered benefits said the same thing twice and made the section long.
   What replaces it is the one thing in here a reader can actually do — flick
   through a handful of envelopes the way you would going through the post.
   ========================================================================== */

/* Every envelope is absolutely placed and offset from the front of the stack
   by --pos, which initReaderRiffle rewrites. One property drives the whole
   arrangement, so the stack has no per-item coordinates in the markup. */

/* The benefits carry the section's weight now, so they get a real hover. */

/* The grove was too small and too far inboard to read — the cards start close
   to the gutter at wide widths, so a palm placed inside that margin was mostly
   covered. Both move outward and grow, so they rise past the cards' left edge
   from the corner rather than being tucked behind them. */
.stories__palm--far  { left: -7%; bottom: -8%;  width: min(16vw, 200px); }
.stories__palm--near { left: -1%; bottom: -11%; width: min(20vw, 250px); }

@media (max-width: 900px) {
  .stories__palm--far  { left: -9%; width: 20vw; }
  .stories__palm--near { left: -3%; width: 25vw; }
}

@media (max-width: 640px) {
  .stories__palm--near { left: -9%; width: 34vw; bottom: -5%; }
}

/* The grove needs a margin to stand in. Above ~1900px the container is already
   narrower than the viewport and that margin exists for free — which is where
   the reference frame was captured. Between 1024px and there the container
   fills the width and the palms end up behind the first card, so this section
   insets its own content and hands the freed strip to the grove. The head and
   the cards move together, so the column stays aligned with itself. */
/* The inset that used to live here shifted the whole column right to make
   room for the grove, which pushed this section out of alignment with every
   other one. The palms are sized to the margin instead — see below. */

/* The section's bottom corner bouquet was reaching up into the AEO answer now
   that the ritual no longer sits between them. The section reserves a band at
   its foot and the bouquet drops into it. */
.young-readers { padding-bottom: clamp(5rem, 8vw, 7.5rem); }

.young-readers__foliage--corner {
  left: -9%;
  bottom: -6%;
  width: min(20vw, 240px);
}

@media (max-width: 640px) {
  .young-readers { padding-bottom: clamp(7rem, 30vw, 10rem); }
  .young-readers__foliage--corner { width: 40vw; left: -12%; bottom: -4%; }
}

/* 1000px was still fifteen pixels short: the foot collapses to one column
   below 900px but not above it, so the AEO answer runs deeper here than at
   either end of the range. */
/* The band that used to sit here kept the corner bouquet clear of the AEO
   answer. That answer has moved to the FAQ, and the foot is a centred button
   the bouquet cannot reach, so the extra height is gone. */


/* ==========================================================================
   53. SECTION ADJUSTMENTS
   ========================================================================== */

/* --- Stories: the grove must not move the content ----------------------- */

/* The container is centred and stays centred. The palms live entirely in
   whatever margin the viewport happens to leave, so they grow on a wide screen
   and shrink to a sliver on a narrow one rather than pushing the column over.
   `50vw - 50% of the container` is exactly that margin. */
.stories__palm {
  --stories-margin: max(0px, calc(50vw - var(--container-max) / 2));
  bottom: -5%;
}

.stories__palm--far {
  left: 0;
  width: clamp(70px, calc(var(--stories-margin) * 0.72), 150px);
}

.stories__palm--near {
  left: calc(var(--stories-margin) * 0.28);
  width: clamp(96px, calc(var(--stories-margin) * 0.92), 210px);
}

@media (max-width: 640px) {
  .stories__palm--far { display: none; }
  .stories__palm--near { left: -8%; width: 30vw; }
}


/* --- Mailbox: the ginger closes off the copy column --------------------- */

/* A little more air after the pile than the bare minimum, now that the
   section ends on a botanical rather than a card. */
.mailbox__moments { padding-bottom: calc(var(--moment-hold, 0px) + clamp(1.5rem, 4vw, 3rem)); }


/* --- What Arrives: centred head, collapsed cards ------------------------ */

.arrives__head { text-align: center; }

/* The eyebrow is a flex row with its rule, so centring the block is not
   enough — the row itself has to centre too. */
.arrives__head .eyebrow { justify-content: center; }

/* Two lines at desktop widths rather than three. */
.arrives__intro { max-width: 54rem; }

/* Collapsed to icon and title; the second line opens on hover or focus.
   The cards carry tabindex so a keyboard user can open them too — without it
   :focus-within can never fire on a plain <li> and the detail would be
   reachable by pointer only. The copy stays in the DOM at opacity 0 either
   way, so assistive technology reads it regardless of state. */
.arrives-card__note {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height var(--dur-component) var(--ease-out),
    margin-top var(--dur-component) var(--ease-out),
    opacity var(--dur-micro) var(--ease-out);
}

.arrives-card:hover .arrives-card__note,
.arrives-card:focus-visible .arrives-card__note,
.arrives-card:focus-within .arrives-card__note {
  max-height: 6rem;
  margin-top: 0.28rem;
  opacity: 1;
}

.arrives-card { max-width: 13rem; }

.arrives-card:focus-visible {
  outline: 2px solid var(--color-sunset-gold);
  outline-offset: 3px;
}

/* Coarse pointers have no hover to give, so the second line simply stays. */
@media (hover: none) {
  .arrives-card__note { max-height: 6rem; margin-top: 0.28rem; opacity: 1; }
  .arrives-card { max-width: 17rem; }
}


/* The foot was a two-column grid carrying the AEO panel beside the buttons.
   One button is left, and as a grid item it stretched to fill that column. */


/* ==========================================================================
   55. YOUNG READERS — RESTRUCTURED
   Layout follows the reference: a left-aligned header whose title is trailed
   by a narrow paragraph paired with a single underlined accent word, then one
   organic-cropped image with the four reasons floating around its edges. The
   reference does this in dark glass over a photograph; this is the same
   arrangement rendered in our light palette — paper cards, ink type, a gold
   index — because the section sits in the softest band on the page.
   ========================================================================== */

.young-readers__inner {
  position: relative;
  z-index: var(--z-content);
}

/* --- Header ------------------------------------------------------------- */

.young-readers__head {
  max-width: 62rem;
  text-align: left;
}



/* Narrow paragraph and accent word side by side, as in the reference. */


/* --- Stage: the image, with the reasons around it ----------------------- */

.young-readers__stage {
  position: relative;
  width: clamp(280px, 42vw, 470px);
  margin: clamp(var(--space-6), 8vw, var(--space-12)) auto 0;
}

/* An organic crop rather than a rectangle — the brief asks for curved
   transitions, and the reference masks its image to a soft blob. Eight radii
   rather than an SVG mask, so it scales and needs no extra asset. */
.young-readers__figure {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 46% 54% 52% 48% / 50% 44% 56% 50%;
  background: var(--color-sea-mist);
  box-shadow: var(--shadow-float);
}

.young-readers__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  display: block;
}

/* The four cards hang off the image's edges. The list is inert so the gaps
   between cards never swallow a pointer; the cards take it back. */
.reader-benefits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reader-benefit {
  position: absolute;
  width: clamp(158px, 15.5vw, 216px);
  padding: clamp(var(--space-2), 1.6vw, var(--space-3));
  pointer-events: auto;
  background: var(--color-paper-white);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--dur-component) var(--ease-paper),
    box-shadow var(--dur-component) var(--ease-out),
    border-color var(--dur-component) var(--ease-out);
}

.reader-benefit:hover {
  transform: translateY(-5px);
  border-color: var(--color-sunset-gold);
  box-shadow: var(--shadow-float);
}

/* Staggered down both flanks, mirroring the reference's placement. */
.reader-benefit--1 { top: -4%;  left: -30%; }
.reader-benefit--2 { top: 52%;  left: -38%; }
.reader-benefit--3 { top: 16%;  right: -34%; }
.reader-benefit--4 { bottom: -6%; right: -26%; }

/* The number sits in a disc, the way the reference badges its icons. */
.reader-benefit__index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.55rem;
  background: var(--color-island-ivory);
  border-radius: 50%;
  font-family: var(--font-display-family);
  font-size: 0.95rem;
  color: var(--color-sunset-gold);
}

.reader-benefit__title {
  font-size: 1.02rem;
  line-height: 1.30;
}

.reader-benefit__body {
  margin-top: 0.35rem;
  font-size: var(--font-label);
  line-height: 1.5;
  color: var(--color-text-muted);
}


/* --- Foot --------------------------------------------------------------- */


/* --- Below the floating-card width -------------------------------------- */

/* The reference swaps its overlay for a plain stack under the image at narrow
   widths; so does this. The cards leave the absolute layer entirely rather
   than being squeezed against the picture. */
@media (max-width: 1100px) {
  .young-readers__stage { width: min(100%, 460px); }

  .reader-benefits {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(var(--space-2), 2.5vw, var(--space-3));
    margin-top: clamp(var(--space-4), 5vw, var(--space-6));
    pointer-events: auto;
  }

  .reader-benefit {
    position: static;
    width: auto;
    inset: auto;
  }
}

@media (max-width: 560px) {
  .reader-benefits { grid-template-columns: minmax(0, 1fr); }
  .reader-benefit__body { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reader-benefit { transition: none; }
  .reader-benefit:hover { transform: none; }
}

/* The cover's ornate frame and title run from 53% of its height down, and a
   square crop of a 750x1125 jacket shows two thirds of it — so the lettering
   fell inside the circle and was sliced. Same fix as the hero stamp's
   companion: the window sits at the top of its 375px travel and `scale: k`
   trims 375*(1-1/k) in total, leaving the visible band at y 161-589. That is
   the boy and his grandfather, clear of the frame above and the title below.
   The figure clips to its blob, so the scaled overflow simply disappears. */
.young-readers__figure img {
  object-position: 50% 0%;
  scale: 1.75;
}


/* ==========================================================================
   56. YOUNG READERS — HEADER ROW, HORIZONTAL BLOB, COLLAPSING CARDS
   ========================================================================== */

/* --- Header: copy left, the one CTA on the right ------------------------ */

.young-readers__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(var(--space-3), 4vw, var(--space-6));
  max-width: none;
}

.young-readers__head-copy { flex: 1 1 34rem; }

.young-readers__subtitle {
  max-width: 46rem;
  margin-top: var(--space-3);
  font-size: var(--font-body-large);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Sits on the baseline of the copy block rather than floating mid-row. */
.young-readers__cta { flex: 0 0 auto; }


/* --- The picture: a horizontal blob, slightly off-square ---------------- */

.young-readers__stage { width: clamp(280px, 46vw, 520px); }

.young-readers__figure {
  aspect-ratio: 4 / 3;
  border-radius: 44% 56% 52% 48% / 56% 48% 52% 44%;
  rotate: -3deg;
}

/* The tilt is on the frame, so the picture inside is counter-rotated to stay
   level — otherwise the horizon in the artwork leans with it. */
.young-readers__figure img {
  rotate: 3deg;
  scale: 1.16;
  /* A landscape crop of a 750x1125 jacket already shows only its top ~560px,
     which stops short of the lettering at y 600 — so this needs a nudge for
     framing, not the heavy zoom the square crop required. */
  object-position: 50% 6%;
}


/* --- Cards: collapsed to a title, opening on hover or focus ------------- */

/* Same behaviour as the What Arrives objects, and the same caveat: the copy
   stays in the DOM at opacity 0 so assistive tech still reads it, the cards
   carry tabindex so :focus-within can fire for keyboard users, and coarse
   pointers get it open permanently because they have no hover to give. */
.reader-benefit {
  width: clamp(150px, 14.5vw, 200px);
  padding: clamp(0.7rem, 1.3vw, 1rem);
}

.reader-benefit__index {
  width: 30px;
  height: 30px;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.reader-benefit__body {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height var(--dur-component) var(--ease-out),
    margin-top var(--dur-component) var(--ease-out),
    opacity var(--dur-micro) var(--ease-out);
}

.reader-benefit:hover .reader-benefit__body,
.reader-benefit:focus-visible .reader-benefit__body,
.reader-benefit:focus-within .reader-benefit__body {
  max-height: 12rem;
  margin-top: 0.4rem;
  opacity: 1;
}

.reader-benefit:focus-visible {
  outline: 2px solid var(--color-sunset-gold);
  outline-offset: 3px;
}

/* Re-placed for the wider, shorter picture and the shorter collapsed cards. */
.reader-benefit--1 { top: -12%; left: -26%; bottom: auto; }
.reader-benefit--2 { top: 54%;  left: -34%; bottom: auto; }
.reader-benefit--3 { top: 4%;   right: -30%; bottom: auto; }
.reader-benefit--4 { top: 66%;  right: -24%; bottom: auto; }

@media (hover: none) {
  .reader-benefit__body { max-height: 12rem; margin-top: 0.4rem; opacity: 1; }
}


/* --- Foliage: the stem moves to the foot, the bouquet mirrors ----------- */

.young-readers__foliage--bird {
  top: auto;
  bottom: -4%;
  right: 4%;
  width: min(13vw, 156px);
  --tilt: -8deg;
}

/* Mirrored so it opens away from the corner rather than back into it. */
.young-readers__foliage--corner { scale: -1 1; }


@media (max-width: 1100px) {
  .young-readers__stage { width: min(100%, 500px); }
  .reader-benefit { width: auto; }

  /* Off the absolute layer, the cards are read one after another, so they
     open by default — there is nothing for hover to reveal in a stack. */
  .reader-benefit__body { max-height: 12rem; margin-top: 0.4rem; opacity: 1; }
}

@media (max-width: 640px) {
  .young-readers__cta { width: 100%; justify-content: center; }
  .young-readers__subtitle { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reader-benefit__body { transition: none; }
}

/* Anchored to the section edge like the other botanicals, rather than floating
   free in the corner. */
.young-readers__foliage--bird { right: -1%; }


/* ==========================================================================
   57. YOUNG READERS — CENTRED HEAD, CORNER FIX, LINEAR CARD REVEAL
   ========================================================================== */

/* --- 1. The bottom-left bouquet sat away from the edge ------------------
   `scale: -1 1` was mirroring about a bottom-right transform-origin, which
   reflects the box across its own right edge and therefore shoves it right by
   its full width — the gap, and the asset's straight cut edge left showing in
   the middle of the paper. Mirroring about the centre keeps the box where it
   was put, and the offset then lands the bloom against the section edge. */
.young-readers__foliage--corner {
  transform-origin: 50% 50%;
  left: -2%;
  bottom: -6%;
}

/* --- 2. Header centred, CTA back below the cards ------------------------ */

.young-readers__head {
  display: block;
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.young-readers__head .eyebrow { justify-content: center; }

.young-readers__subtitle {
  max-width: 46rem;
  margin: var(--space-3) auto 0;
}

.young-readers__foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(var(--space-6), 7vw, var(--space-9));
}


/* --- 3. A genuinely smooth reveal on both card sets ---------------------
   Both were animating `max-height` from 0 to a fixed ceiling. That ceiling has
   to be larger than the tallest body, so for every shorter one the visible
   growth finishes early and the rest of the duration runs against nothing —
   which reads as a quick pop followed by a pause, not a smooth open.

   Animating a grid track from `0fr` to `1fr` sizes the transition to the
   content itself, so every card opens at the same rate and arrives exactly
   when the copy is fully out. Linear timing, as asked: with the height now
   honest, an eased curve is what made it feel like it was catching.

   The row is the collapsing element's own track, so no wrapper is needed —
   only `min-height: 0`, without which a grid item refuses to shrink below its
   content and the track never reaches 0fr. */

.reader-benefit {
  display: grid;
  grid-template-rows: auto auto 0fr;
  transition:
    grid-template-rows var(--dur-component) linear,
    transform var(--dur-component) var(--ease-paper),
    box-shadow var(--dur-component) var(--ease-out),
    border-color var(--dur-component) var(--ease-out);
}

.reader-benefit__body {
  max-height: none;
  min-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
  transition: opacity var(--dur-component) linear;
}

.reader-benefit:hover,
.reader-benefit:focus-visible,
.reader-benefit:focus-within { grid-template-rows: auto auto 1fr; }

.reader-benefit:hover .reader-benefit__body,
.reader-benefit:focus-visible .reader-benefit__body,
.reader-benefit:focus-within .reader-benefit__body {
  max-height: none;
  margin-top: 0.4rem;
  opacity: 1;
}

/* The same treatment for the What Arrives objects. Their title and note share
   a text wrapper, so the wrapper carries the tracks. */
.arrives-card__text {
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows var(--dur-component) linear;
}

.arrives-card__note {
  max-height: none;
  min-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
  transition: opacity var(--dur-component) linear;
}

.arrives-card:hover .arrives-card__text,
.arrives-card:focus-visible .arrives-card__text,
.arrives-card:focus-within .arrives-card__text { grid-template-rows: auto 1fr; }

.arrives-card:hover .arrives-card__note,
.arrives-card:focus-visible .arrives-card__note,
.arrives-card:focus-within .arrives-card__note {
  max-height: none;
  margin-top: 0.28rem;
  opacity: 1;
}

/* Coarse pointers have no hover, so both sets stay open. */
@media (hover: none) {
  .reader-benefit { grid-template-rows: auto auto 1fr; }
  .reader-benefit__body { opacity: 1; margin-top: 0.4rem; }
  .arrives-card__text { grid-template-rows: auto 1fr; }
  .arrives-card__note { opacity: 1; margin-top: 0.28rem; }
}

/* Stacked rather than floating: nothing to reveal, so they are simply open. */
@media (max-width: 1100px) {
  .reader-benefit { grid-template-rows: auto auto 1fr; }
  .reader-benefit__body { opacity: 1; margin-top: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reader-benefit,
  .reader-benefit__body,
  .arrives-card__text,
  .arrives-card__note { transition: none; }
}


/* ==========================================================================
   58. STORIES GROVE — A LITTLE LARGER, A LITTLE MORE ALIVE
   ========================================================================== */

/* Both palms grow about a fifth. The sizing still reads from the margin the
   viewport leaves beside the centred container, so a bigger grove still cannot
   push the column off centre — only the floor and ceiling move. */
.stories__palm--far {
  width: clamp(84px, calc(var(--stories-margin) * 0.82), 178px);
}

.stories__palm--near {
  width: clamp(116px, calc(var(--stories-margin) * 1.04), 248px);
}

@media (max-width: 640px) {
  .stories__palm--near { width: 35vw; }
}

/* --- More visible sway, here only --------------------------------------
   The shared palm keyframes are deliberately near-imperceptible: they also
   drive the hero fronds and the closing palm, where anything larger would pull
   the eye off the headline. These two get their own, with roughly double the
   swing and a longer lift, so the grove reads as moving without touching
   anything else on the page.

   They compose --tilt/--tx/--ty like every other sway keyframe. A keyframe
   that set `rotate` outright would beat the resting angle declared on the
   element, and the palms would snap upright the moment they started. */

@keyframes sway-palm-grove {
  0%, 100% { rotate: calc(var(--tilt, 0deg) - 2.6deg);
             translate: var(--tx, 0px) var(--ty, 0px); }
  50%      { rotate: calc(var(--tilt, 0deg) + 3deg);
             translate: var(--tx, 0px) calc(var(--ty, 0px) - 11px); }
}

@keyframes sway-palm-grove-slow {
  0%, 100% { rotate: calc(var(--tilt, 0deg) + 2.4deg);
             translate: var(--tx, 0px) var(--ty, 0px); }
  50%      { rotate: calc(var(--tilt, 0deg) - 2.8deg);
             translate: var(--tx, 0px) calc(var(--ty, 0px) - 9px); }
}

/* The trunks are rooted, so both still pivot from the foot. */
.stories__palm--near {
  animation-name: sway-palm-grove;
  animation-duration: calc(var(--sway-slow) * 0.72);
  animation-delay: -4.2s;
}

.stories__palm--far {
  animation-name: sway-palm-grove-slow;
  animation-duration: calc(var(--sway-slow) * 0.9);
  animation-delay: -9.6s;
}


/* ==========================================================================
   59. SEAM — CLIP THE HORIZONTAL AXIS ONLY
   The seam wrapper is `overflow: visible` on purpose: the two bouquets have to
   spill vertically across the join between the paper sections and the dark
   band. But the right-hand one is offset past the viewport edge, and with
   nothing clipping the X axis that became real scrollable overflow — about
   40px of it, which surfaced as a horizontally scrollable page.

   `overflow-x: clip` with `overflow-y: visible` is the one combination that
   solves it: `clip` does not force the other axis to `auto` the way `hidden`
   would, so the vertical spill survives untouched while the horizontal
   overflow is trimmed at the viewport edge.
   ========================================================================== */

.section-seam {
  overflow-x: clip;
  overflow-y: visible;
}


/* ==========================================================================
   60. HERO BACKGROUND — PER-DEVICE ARTWORK
   Three crops of the same coastline, each composed for its own aspect rather
   than one wide frame cropped down: 16:9 for desktop, 4:3 for tablets, 9:16
   for phones. Cropping the desktop frame to a phone was losing the palms on
   one edge and the ridge on the other, which are the two things that say
   Hawai'i before a word is read.

   The tablet and phone artwork arrives far paler than the desktop frame, so
   the ivory veil that sits over it is dialled right back here — the desktop
   values on top of these would leave almost nothing but paper. The centre
   scrim stays, because the headline still has to hold over open water.
   ========================================================================== */

/* --- Tablets: 641-1024px, the 4:3 crop ---------------------------------- */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero {
    background-image:
      radial-gradient(66% 42% at 50% 40%,
        rgba(247, 242, 232, 0.74) 0%,
        rgba(247, 242, 232, 0.46) 50%,
        rgba(247, 242, 232, 0) 82%),
      linear-gradient(to bottom,
        rgba(247, 242, 232, 0.6) 0%,
        rgba(247, 242, 232, 0.06) 28%,
        rgba(247, 242, 232, 0) 58%),
      image-set(
        url('assets/tropical/hero-bg-ipad-1024.webp') 1x,
        url('assets/tropical/hero-bg-ipad-1448.webp') 2x);
    /* Three layers now, not four — the flat veil is gone. */
    background-position: 50% 50%, 50% 0%, 50% 62%;
    background-size: auto, auto, cover;
  }
}

/* --- Phones: 640px and down, the 9:16 crop ------------------------------ */
@media (max-width: 640px) {
  .hero {
    background-image:
      radial-gradient(78% 38% at 50% 36%,
        rgba(247, 242, 232, 0.72) 0%,
        rgba(247, 242, 232, 0.42) 54%,
        rgba(247, 242, 232, 0) 86%),
      linear-gradient(to bottom,
        rgba(247, 242, 232, 0.58) 0%,
        rgba(247, 242, 232, 0.05) 30%,
        rgba(247, 242, 232, 0) 62%),
      image-set(
        url('assets/tropical/hero-bg-mobile-640.webp') 1x,
        url('assets/tropical/hero-bg-mobile-941.webp') 2x);
    /* The portrait crop already frames itself: palms low left, ridge low
       right, open sky above for the copy. Centred, no offset needed. */
    background-position: 50% 50%, 50% 0%, 50% 50%;
    background-size: auto, auto, cover;
  }
}


/* ==========================================================================
   61. HERO FOLIAGE — PHONE LEGIBILITY FADE
   On a phone both frond crowns reach past the eyebrow line, and no position
   nudge can clear them without cutting the canopy to a stub. So the foliage
   layer is masked instead: opaque across the top corners, dissolved through
   the band the copy occupies, opaque again at the foot where the flower
   clusters live.

   The mask sits on the container, not the fronds. A per-frond fade was tried
   first and erased them completely: each frond's box hangs mostly above the
   viewport (top: -11% of the hero), so percentages of the *element* put the
   fade through the only part of it that is actually on screen. The container
   is inset to the hero, so its percentages track the same geometry that
   places the copy — the eyebrow sits at ~23% of the hero at every phone
   width, and the fade is fully out just before it.
   ========================================================================== */

@media (max-width: 640px) {
  .hero__foliage {
    -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 10%, transparent 21%, transparent 60%, #000 74%, #000 100%);
    mask-image: linear-gradient(to bottom,
      #000 0%, #000 10%, transparent 21%, transparent 60%, #000 74%, #000 100%);
  }
}


/* ==========================================================================
   62. HERO STAMPS — BELOW THE COPY ON TABLETS
   The same arrangement phones use, extended up through the iPad band
   (641-1024px, matching the background artwork's range): both stamps drop
   under the copy instead of flanking it. Flanking needed a narrowed column
   and pinned the stamps to slivers of margin; below the copy they can sit at
   a readable size in the open water of the portrait artwork.

   Bottom corners rather than the phone's near-centre pair: the accent line
   ("Some stories are read…") is centred and ~30rem wide, so corner placement
   keeps the stamps out of its x-range even on a short landscape tablet where
   they ride up beside it.

   Late in the file on purpose — the flanking rules for 641-860 and 861+ sit
   earlier at the same specificity, so these win throughout the band. Both
   offsets are restated per stamp because .letter--stamp-right also carries
   .letter--stamp and would otherwise inherit the left stamp's `left`.
   ========================================================================== */

@media (min-width: 641px) and (max-width: 1024px) {
  .letter--stamp {
    top: auto;
    bottom: 6%;
    left: 4%;
    --letter-w: clamp(104px, 15vw, 150px);
  }

  .letter--stamp-right {
    top: auto;
    bottom: 7.5%;
    left: auto;
    right: 4%;
    --letter-w: clamp(96px, 14vw, 140px);
  }
}


/* ==========================================================================
   63. HERO — TABLET STAMPS INBOARD, PHONE CLUSTERS INTO FRAME
   ========================================================================== */

/* --- Tablet stamps: toward the middle, a step larger --------------------
   Corners read as an afterthought at this width; the pair now sits inboard
   under the copy, closer to the phone arrangement, and grows ~15%. The
   accent line above is centred and ~30rem wide, so on short landscape
   viewports — where the stamps ride up beside the copy — a max-height guard
   spreads them back toward the corners rather than letting them cross it. */
@media (min-width: 641px) and (max-width: 1024px) {
  .letter--stamp {
    left: 20%;
    bottom: 5.5%;
    --letter-w: clamp(118px, 17vw, 172px);
  }

  /* left must be re-cleared here: the shared rule above sets it on both
     stamps, and with left and width both resolved, `right` is ignored — the
     pair stacked on one spot until this was restated. */
  .letter--stamp-right {
    left: auto;
    right: 20%;
    bottom: 7%;
    --letter-w: clamp(108px, 16vw, 160px);
  }
}

/* Inboard, the stamps share the accent line's x-range, so the only thing
   keeping them apart is vertical room — and below ~930px of viewport there
   is not enough of it. Short viewports spread the pair back to the corners,
   where the accent's centred measure cannot reach them. Portrait iPads all
   clear 930; landscape ones correctly fall back. */
@media (min-width: 641px) and (max-width: 1024px) and (max-height: 930px) {
  .letter--stamp       { left: 4%; }
  .letter--stamp-right { left: auto; right: 4%; }
}

/* Narrow AND short is the geometry with the least safe flank: the accent
   line's centred measure eats most of the width, and a short viewport closes
   the vertical gap too. The pair shrinks and sinks until it fits beside it. */
@media (min-width: 641px) and (max-width: 860px) and (max-height: 800px) {
  .letter--stamp       { bottom: 2%;   --letter-w: clamp(80px, 11vw, 96px); }
  .letter--stamp-right { bottom: 3.5%; --letter-w: clamp(74px, 10vw, 90px); }
}

/* Under ~640px of height the hero barely holds the copy; there is no size at
   which the stamps fit beside it, so the decoration yields. Both covers are
   still fully presented in the Stories section, links and all. */
@media (min-width: 641px) and (max-width: 1024px) and (max-height: 640px) {
  .letter--stamp { display: none; }
}

/* --- Phone clusters: larger, pulled into frame --------------------------
   At 46/44vw with -16% offsets, two thirds of each bouquet hung off-canvas
   and the legibility mask took part of what was left — they read as a smear
   in the corner. Bigger and barely offset, they frame the stamps instead.
   The mask still dissolves their upper reach before the accent line, so the
   growth cannot touch the copy. */
@media (max-width: 640px) {
  .hero__flower-cluster--left  { width: 56vw; left: -7%;  bottom: -3%; }
  .hero__flower-cluster--right { width: 54vw; right: -7%; bottom: -4%; }
}


/* ==========================================================================
   64. HERO — TABLET BAND, SECOND PASS
   Copy rises a touch, the stamps take the freed room and grow again, and the
   frond canopy comes further into frame. All scoped to the iPad band; the
   short-height guards below restate their own sizes so nothing here leaks
   into the cramped geometries they exist for.
   ========================================================================== */

@media (min-width: 641px) and (max-width: 1024px) {
  /* The inner column is centred; padding at its foot shifts that centre up,
     which reads as the copy lifting without touching its own rhythm. */
  .hero__inner { padding-bottom: clamp(3rem, 9vh, 6.5rem); }

  .letter--stamp       { --letter-w: clamp(148px, 21.5vw, 222px); }
  .letter--stamp-right { --letter-w: clamp(135px, 20vw, 206px); }

  /* The canopy: larger and hanging lower, so real leaf mass sits in frame
     rather than a trim of tips above the header. */
  .hero__frond--left  { width: min(48vw, 470px); top: -9%;  left: -13%; }
  .hero__frond--right { width: min(45vw, 445px); top: -11%; right: -12%; }

  /* At this hang the leaf tips reach the eyebrow on mid-height viewports
     (seen at 1024x863: fronds across "MAILED FROM HAWAI'I"), so the band
     borrows the phone's cure — a mask on the foliage container, whose
     percentages track the hero itself. The copy's vh-based lift keeps the
     eyebrow at a steady ~34% of the hero across this band, so the dissolve
     completes at 31% at every tested size; opaque again from 72% for the
     flower clusters at the foot. */
  .hero__foliage {
    -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 20%, transparent 31%, transparent 62%, #000 72%, #000 100%);
    mask-image: linear-gradient(to bottom,
      #000 0%, #000 20%, transparent 31%, transparent 62%, #000 72%, #000 100%);
  }
}

/* Short viewports keep the previous, smaller stamps at the corners — the
   growth above is exactly what would put them back into the accent line. */
@media (min-width: 641px) and (max-width: 1024px) and (max-height: 930px) {
  .letter--stamp       { --letter-w: clamp(104px, 15vw, 150px); }
  .letter--stamp-right { --letter-w: clamp(96px, 14vw, 140px); }
}

@media (min-width: 641px) and (max-width: 860px) and (max-height: 800px) {
  .letter--stamp       { --letter-w: clamp(80px, 11vw, 96px); }
  .letter--stamp-right { --letter-w: clamp(74px, 10vw, 90px); }
}


/* ==========================================================================
   65. FULL-VIEWPORT SECTION RHYTHM + SNAP DECK
   Every standard section becomes one screen tall with its content optically
   centred, and the page settles onto section edges as you scroll.

   Two deliberate choices:

   - `proximity`, never `mandatory`. Mandatory snap traps the reader inside
     any section taller than the viewport — on a short laptop or with text
     zoomed up, the bottom of a section becomes literally unreachable because
     the container keeps yanking back to the nearest edge. Proximity settles
     on edges when you land near one and otherwise leaves scrolling alone.
   - `svh`, not `vh` or `dvh`. On mobile, `dvh` changes as the URL bar hides,
     which would resize every section mid-scroll and make the snap container
     re-resolve its points under the reader's finger. `svh` is the stable
     largest-chrome value, so the deck holds still.

   Anchor smoothing is already in place (section 4: scroll-behavior plus a
   scroll-padding-top that keeps the sticky header from covering the target).
   That same scroll-padding also offsets every snap point here, so a snapped
   section starts below the header rather than under it.
   ========================================================================== */

:root {
  /* The header is sticky, so it covers the top of whatever is snapped into
     place. A section of exactly this height plus the header fills the screen. */
  --screen-fit: calc(100svh - var(--header-height));
}

html {
  scroll-snap-type: y proximity;
}

.hero,
.definition,
.facts,
.young-readers,
.quiz,
.journey,
.arrives,
.gift,
.schedule,
.reviews,
.brand-story,
.faq,
.final-cta {
  min-height: var(--screen-fit);
  scroll-snap-align: start;
}

/* Centring is applied separately: .hero is already a grid with its own
   placement, and re-declaring display there would drop it. Every section
   below has exactly one in-flow child (its .container), so there are no
   sibling margins to collapse and grid is a safe upgrade from block. */
.definition,
.facts,
.young-readers,
.quiz,
.journey,
.arrives,
.gift,
.schedule,
.reviews,
.faq,
.final-cta {
  display: grid;
  align-content: center;
}

/* The card pile is exempt by design: its extra scroll length IS the stacking
   animation, and it is pinned, so the reader still only ever sees one screen.
   It takes a snap point at its entrance; the section after it provides the
   exit. Nothing inside gets a snap point, which would otherwise jerk the
   reader out of the middle of the animation. */
.section-stack {
  scroll-snap-align: start;
}

/* brand-story has two in-flow children (copy and gallery), so it centres as a
   flex column instead — this preserves their order and any margins between
   them, which a grid's row placement would flatten. */
.brand-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}


/* ==========================================================================
   66. DECK SPACING — VIEWPORT-AWARE VERTICAL RHYTHM
   Section 65 gave every section a one-screen floor; this gives them a ceiling.
   The heights that overran were almost entirely fixed rem padding and fixed
   rem gaps, which cost the same 224px whether the screen is 1100px tall or
   680px. Every one becomes a clamp with a vh midpoint, so the rhythm keeps
   its proportions on a tall display and folds up on a short one.

   Scoped to >=641px on purpose. The phone layout carries its own tuned
   spacing from earlier work (.gift, .reviews and .young-readers all set
   padding-block inside `max-width: 640px` blocks); an unscoped rule here sits
   later in the file and would silently outrank all of them. Phones still get
   the one-screen floor and the snap points from section 65.
   ========================================================================== */

@media (min-width: 641px) {
  .definition,
  .young-readers,
  .quiz,
  .journey,
  .arrives,
  .gift,
  .schedule,
  .reviews,
  .brand-story,
  .faq,
  .final-cta {
    padding-block: clamp(1.5rem, 5vh, 7rem);
  }

  /* .facts keeps its asymmetric padding — the empty band at its foot is the
     clearance the section seam's blooms straddle, not slack to reclaim. */

  .young-readers__head  { gap: clamp(0.6rem, 1.8vh, 3rem); }
  .young-readers__stage { margin-top: clamp(1.25rem, 4vh, 6rem); }
  .young-readers__foot  { margin-top: clamp(1rem, 3vh, 4.5rem); }

  .brand-story .gallery { margin-top: clamp(1.25rem, 3.5vh, 4.5rem); }

  .faq__inner { gap: clamp(1rem, 3vh, 4rem); }

  /* This section's content is shorter than its screen-fit box, so the slack
     lands as empty bands top and bottom. Spending it here pushes the copy
     off the steps and tightens both bands. */
  .journey__head { gap: clamp(0.6rem, 1.8vh, 3rem); margin-bottom: clamp(1.5rem, 11vh, 7rem); }

  .gift__cols { gap: clamp(1.25rem, 3.5vh, 4rem); }

  .quiz__sheet { gap: clamp(0.9rem, 2.8vh, 3.2rem); }

  .arrives__head { margin-bottom: clamp(0.6rem, 1.8vh, 1.5rem); }
  .arrives__cta  { margin-top: clamp(0.9rem, 2.4vh, 2rem); }
}

/* The final CTA's gap is restated inside `max-width: 900px` upstream, where
   the two columns stack and need the larger value. Only the side-by-side
   layout above that breakpoint is compressed here. */
@media (min-width: 901px) {
  .final-cta__inner { gap: clamp(1.25rem, 3.5vh, 4rem); }
}


/* ==========================================================================
   67. DECK CONTENT — HEIGHT-AWARE SIZING
   The four sections that still overran after section 66 all share one cause:
   their internal sizing is measured in `vw`. `--photo`, the gift timeline's
   padding, the FAQ row height, the reader stage — every one grows with the
   window's WIDTH and is blind to its height, so a short wide laptop gets the
   spacious treatment intended for a large display and overflows.

   The fix throughout is `min(Xvw, Yvh)`: keep the existing width-driven value
   as the ceiling, and let height veto it when the screen is short. Tall
   displays are unchanged — the vh term only wins when it is the smaller.

   Still scoped to >=641px; phones keep their own tuned values (.gallery
   restates --photo at max-640, the gift explorer restates its padding).
   ========================================================================== */

@media (min-width: 641px) {
  /* The photo run reserves its height as padding-bottom scaled from --photo,
     so capping the token shrinks the reserved band and the prints together
     and they stay in register. */
  .gallery {
    --photo: clamp(90px, min(13.5vw, 15vh), 204px);
    --drop-unit: clamp(8px, min(1.6vw, 1.8vh), 22px);
  }

  /* The story copy's own rhythm, so the paragraphs close up as the screen
     shortens rather than the section growing past the fold. */
  .brand-story__copy > * + * { margin-top: clamp(0.5rem, 1.6vh, 1.5rem); }

  /* Eleven rows: every pixel trimmed from a row is multiplied by eleven, so
     the row height is where this section is won. */
  .faq-item__q {
    min-height: clamp(40px, 6.2vh, 64px);
    padding-block: clamp(0.25rem, 0.9vh, 0.75rem);
  }
  .faq__mark { padding-top: clamp(0.75rem, min(5vw, 3vh), 3rem); }

  /* The reader stage is a square/4:3 figure whose side is width-derived; a
     height ceiling keeps it from pushing the CTA off the screen. The image
     switches to `contain` so the cap letterboxes it instead of cropping. */
  .young-readers__stage { max-height: clamp(180px, 40vh, 460px); }
  .young-readers__figure { max-height: inherit; }
  .young-readers__figure img { max-height: inherit; object-fit: contain; }

  .gift-timeline { padding: clamp(0.75rem, min(3vw, 2.4vh), 2rem); }
  .gift-explorer {
    gap: clamp(0.75rem, min(2.5vw, 2vh), 2rem);
    padding-top: clamp(0.5rem, min(3vw, 1.8vh), 1.5rem);
    min-height: 0;
  }
  .gift-route { gap: clamp(0.75rem, min(4vw, 3vh), 3rem); }
  .gift-pledge__note { padding-top: clamp(0.5rem, min(2.5vw, 1.8vh), 1.5rem); }
}


/* ==========================================================================
   68. DECK — DESKTOP ONE-SCREEN GUARANTEE
   The compressions in 66 and 67 land every section on one screen at desktop
   widths except brand-story, which cannot: stacked, its copy alone is ~380px
   and the photo run reserves another ~270px, so no amount of spacing gets it
   under a 620px fold. It needs the two to sit side by side instead.

   Below 1100px the layouts here stack by design (schedule, journey and the
   gift columns all fold to one column), and stacked content legitimately
   needs more than one screen. Those are left alone — `proximity` snap means
   a taller section simply scrolls normally instead of trapping the reader.
   ========================================================================== */

@media (min-width: 1100px) {
  /* Copy and photo run become columns, so the section's height is the taller
     of the two rather than their sum. Overrides the flex column from 65. */
  .brand-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    column-gap: clamp(2rem, 4vw, 5rem);
  }

  /* The prints are absolutely positioned and scaled from --photo; in a column
     roughly half the page wide they need a correspondingly smaller unit, or
     they would hang past its edge. margin-top goes: it was the stack's
     separator and would now push the run out of vertical centre. */
  .brand-story .gallery {
    margin-top: 0;
    --photo: clamp(78px, min(8.5vw, 17vh), 150px);
  }

  /* The timeline card is the tallest thing in the gift section; its rail and
     explorer are both width-derived. */
  .gift-explorer__figure { max-height: clamp(120px, 22vh, 260px); }
  .gift-explorer__figure img { max-height: inherit; object-fit: contain; }

  .young-readers__stage { max-height: clamp(170px, 32vh, 460px); }

  .quiz__sheet { padding: clamp(1rem, min(3.4vw, 3vh), 3rem); }
}


/* ==========================================================================
   69. DECK — SHORT-VIEWPORT TYPE AND MEDIA SCALE
   What is left on a short laptop is not spacing any more, it is the size of
   the type itself. A 48px section title and a 132px intro paragraph cost the
   same on a 1080px-tall display as on a 680px one, because both are set from
   width. Below ~820px of height the display scale steps down one notch and
   the two remaining oversized media blocks take a vh ceiling.

   Body copy keeps a 1rem floor throughout — the scale reduction is applied
   to display type and intros, never below the readable minimum.
   ========================================================================== */

@media (min-width: 641px) and (max-height: 820px) {
  .section-head__title,
  .arrives__title,
  .young-readers__title,
  .brand-story__title,
  .faq__title {
    font-size: clamp(1.65rem, 5.4vh, 3rem);
  }

  .section-head__intro,
  .arrives__intro,
  .young-readers__subtitle {
    font-size: clamp(1rem, 2.3vh, 1.25rem);
  }

  .gift__statement { font-size: clamp(1.2rem, 3.6vh, 1.9rem); }

  /* Block-flow children, so the rhythm lives in adjacent-sibling margins
     rather than a gap. */
  .gift__main > * + * { margin-top: clamp(0.6rem, 2vh, 1.75rem); }
  .gift-timeline__head { margin-bottom: clamp(0.6rem, 2.2vh, 3rem); }

  .arrives__envelope { max-height: clamp(150px, 30vh, 260px); }
  .young-readers__subtitle { max-width: 46ch; }
}


/* ==========================================================================
   70. DECK — SMALL-DESKTOP AND TABLET BAND
   Below 1100px three layouts fold to a single column by design (schedule's
   planner, the journey steps, the gift columns). Stacking is right for the
   width, but it doubles the height, which is why this band still overran
   after 66-69. Two moves close it: the caps from 68 reach down to 900px,
   where brand-story's two columns still have room; and the stacked layouts
   get vh-aware gaps so the fold costs spacing rather than a whole screen.
   ========================================================================== */

@media (min-width: 900px) and (max-width: 1099px) {
  .brand-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(1.5rem, 3vw, 3rem);
  }

  .brand-story .gallery {
    margin-top: 0;
    --photo: clamp(70px, min(8vw, 15vh), 130px);
  }
}

@media (min-width: 641px) and (max-width: 1099px) {
  .gift-explorer__figure { max-height: clamp(110px, 20vh, 240px); }
  .gift-explorer__figure img { max-height: inherit; object-fit: contain; }

  .young-readers__stage { max-height: clamp(160px, 30vh, 440px); }

  .quiz__sheet { padding: clamp(0.9rem, min(3.4vw, 2.6vh), 2.5rem); }

  /* The stacked layouts: their gaps were set for a side-by-side arrangement,
     where the value reads as a column gutter. Once folded, the same number is
     paid vertically on every screen regardless of its height. */
  .schedule__layout { gap: clamp(0.9rem, 3vh, 3.5rem); }
  .planner { padding: clamp(0.75rem, 2.4vh, 2rem); gap: clamp(0.6rem, 2vh, 1.5rem); }
  .journey__steps { row-gap: clamp(0.75rem, 2.5vh, 3rem); }
}


/* ==========================================================================
   71. DECK REVISIONS
   Four corrections to sections 65-70:

   1. Snap removed. Smooth scrolling stays (scroll-behavior in section 4);
      only the settle-onto-edges behaviour goes.
   2. "What Is Aloha Letters?" and the four-icon row read as one section, so
      they share a single screen instead of taking one each.
   3. The gift parcel's height cap was applied to the <figure>, which also
      contains its caption — the caption was being clipped. The cap belongs on
      the image alone.
   4. brand-story returns to a stacked layout, photo run beneath the copy.
   ========================================================================== */

/* --- 1. No snapping ------------------------------------------------------ */

html { scroll-snap-type: none; }

.hero, .definition, .facts, .section-stack, .young-readers, .quiz, .journey,
.arrives, .gift, .schedule, .reviews, .brand-story, .faq, .final-cta {
  scroll-snap-align: none;
}

/* --- 2. Definition + facts share one screen ------------------------------ */

/* Two elements in the markup, one section to the reader: the heading block
   and the icon row that explains it. Splitting --screen-fit between them
   keeps that relationship on a single screen instead of forcing a scroll
   between a heading and its own supporting row. */
.definition { min-height: calc(var(--screen-fit) * 0.54); }
.facts      { min-height: calc(var(--screen-fit) * 0.46); }

/* --- 3. Gift parcel caption ---------------------------------------------- */

/* Overrides the figure caps from 68 and 70. `max-height: inherit` on the img
   inherited the figure's cap, which is why both were bounded together and the
   caption had nowhere to go. */
.gift-explorer__figure { max-height: none; }
.gift-explorer__figure img { max-height: clamp(110px, 20vh, 240px); object-fit: contain; }

/* --- 4. brand-story stacked again ---------------------------------------- */

@media (min-width: 900px) {
  .brand-story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-template-columns: none;
  }

  .brand-story .gallery {
    margin-top: clamp(1rem, 3vh, 3.5rem);
    --photo: clamp(78px, min(11vw, 15vh), 168px);
  }
}


/* ==========================================================================
   72. DECK REVISIONS — FIT
   Sizing to go with section 71: the definition/facts pair and the restacked
   brand-story both need their content compressed to hold one screen between
   them, not just a min-height that splits it.
   ========================================================================== */

@media (min-width: 641px) {
  /* Sharing one screen means each half gets roughly half the padding a
     standalone section would take. */
  .definition { padding-block: clamp(0.75rem, 2.6vh, 3.5rem); }
  .facts      { padding-bottom: clamp(1.5rem, 6vh, 11.7rem); }

  /* The icon row is the taller half; its icons and column gap are both
     width-derived, so they ignore a short screen entirely. */
  .facts__grid { gap: clamp(0.75rem, 2.4vh, 2.5rem) var(--grid-gutter); }
  .fact__icon  { height: clamp(38px, 7vh, 72px); width: auto; }

  /* Stacked, the photo run and the copy share one screen, so the run takes a
     tighter height ceiling than it needed beside the copy. */
  .brand-story .gallery { --photo: clamp(68px, min(11vw, 11.5vh), 150px); }
  .brand-story__copy > * + * { margin-top: clamp(0.4rem, 1.4vh, 1.25rem); }
}

/* Stacked, the photo run is what pushes brand-story past the fold: its
   reserved band is --photo * 1.28 plus four drop units, all width-derived.
   Both tokens take a tighter height ceiling, and the section's own padding
   comes down to match, so copy and prints hold one screen together. */
@media (min-width: 641px) {
  .brand-story { padding-block: clamp(0.75rem, 2.6vh, 5rem); }
  .brand-story .gallery {
    --photo: clamp(60px, min(11vw, 8.6vh), 150px);
    --drop-unit: clamp(6px, min(1.6vw, 1.3vh), 22px);
    margin-top: clamp(0.75rem, 2.2vh, 3rem);
  }
}


/* ==========================================================================
   73. BEHIND THE POSTMARK — ROPE GALLERY SCALE
   Sections 67-72 shrank `--photo` repeatedly to force this section onto one
   screen, ending at 8.6vh — about 78px of print on a 900px-tall display,
   small enough that the subjects stopped reading. The height was never the
   real constraint: measured, the copy, the rope and the reserved run come to
   ~785px of a 914px screen with prints at 208px.

   So the ceiling is raised and the two real limits are stated instead:
   24vh, which keeps the run inside a short screen, and 14.2vw, which is what
   actually binds — the prints sit 16% apart, so anything wider than ~1.08
   times that gap makes neighbours touch. Whichever is smaller wins.

   Last in the file on purpose: it has to outrank the caps in 67, 68, 70, 71
   and 72, all of which target `.brand-story .gallery` too.
   ========================================================================== */

/* Sections 68 and 70 laid the section out as a two-column grid and set
   `align-items: center` for it. Section 71 put the stack back with
   `display: flex; flex-direction: column` but left that alignment standing —
   and on a column flexbox it means the cross axis, so the photo run was being
   shrink-wrapped to its content instead of filling the section. That is what
   was holding the string short of the screen edges. */
.brand-story { align-items: stretch; }

.brand-story .gallery { width: 100%; }

@media (min-width: 641px) {
  /* Section 72 squeezed this to 2.6vh while it was fighting to hold one
     screen. Measured now, the copy, string and photo run come to roughly
     810px of a 914px screen, so there is room to give the section air at the
     head and foot again — 5vh a side, which still clears a 768px laptop. */
  .brand-story { padding-block: clamp(1.5rem, 5vh, 6.5rem); }

  .brand-story .gallery {
    --wire-h: clamp(64px, min(8vw, 10vh), 120px);
    --photo: clamp(90px, min(14.2vw, 24vh), 240px);
    --drop-unit: clamp(8px, min(1.5vw, 1.4vh), 20px);
    margin-top: clamp(0.75rem, 2.2vh, 3rem);
    /* Deepest print: rope dip + its thread + a 4:5 frame and caption. */
    padding-bottom: calc(var(--photo) * 1.3 + var(--drop-unit) * 3.6);
  }
}


/* ==========================================================================
   78. YOUNG READERS — FILM CARD, CURSOR-LED PLAY STAMP, EXPANDING LIGHTBOX
   ========================================================================== */

/* The blob now holds a looping film rather than a jacket. The stamp that
   stands in for the pointer is a child of the card, so it needs a stacking
   context here. */
.young-readers__figure { position: relative; }

.young-readers__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--color-sea-mist);
  /* The frame is tilted -3deg; the film counter-rotates so the horizon stays
     level, and scales just enough to cover the corners the tilt exposes —
     the same pairing the jacket used. */
  rotate: 3deg;
  scale: 1.16;
}

/* While the film is out in the lightbox the card keeps its box, so nothing
   below it moves. It just reads as an empty plate. */
.young-readers__figure.is-empty { background: var(--color-sea-mist); }
.young-readers__figure.is-empty .reader-play__mark { opacity: 0; }

/* --- The play stamp: centred at rest, pointer-led inside the card -------- */

.reader-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  border-radius: inherit;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* While the stamp is standing in for the pointer, the native arrow would
   just duplicate it — same trade as the hero letters. */
.reader-play.is-cursor-led { cursor: none; }

.reader-play:focus-visible {
  outline: 3px solid var(--color-sunset-gold);
  outline-offset: 6px;
}

.reader-play__mark {
  --reader-stamp: clamp(62px, 9vw, 92px);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--reader-stamp);
  height: var(--reader-stamp);
  margin: calc(var(--reader-stamp) / -2) 0 0 calc(var(--reader-stamp) / -2);
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(18, 63, 59, 0.32));
  translate: var(--cta-x, 0px) var(--cta-y, 0px);
  transition:
    translate 300ms var(--ease-paper),
    scale 340ms var(--ease-paper),
    opacity 220ms var(--ease-out);
}

/* Once the handoff from the middle has finished the stamp is written to the
   pointer one update per frame, so any easing on translate would read as the
   button being dragged along behind. */
.reader-play.is-tracking .reader-play__mark {
  transition: scale 340ms var(--ease-paper), opacity 220ms var(--ease-out);
}

.reader-play:hover .reader-play__mark,
.reader-play:focus-visible .reader-play__mark { scale: 1.06; }

.reader-play__tri { fill: var(--color-paper-white); }

/* --- Lightbox ----------------------------------------------------------- */

.reader-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.reader-lightbox[hidden] { display: none; }

.reader-lightbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 38, 36, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}

.reader-lightbox.is-open .reader-lightbox__scrim { opacity: 1; }

/* Position, size, radius and tilt are all written from JS, and the travel
   between the card's box and the wide one is run with explicit keyframes
   rather than a transition — a transition has to infer its start from
   whatever the element last computed, and on the first open there is no
   such value, so the frame flew in from the CSS origin instead of growing
   out of the blob. Keyframes state both ends outright.

   Moving the box rather than scaling it keeps the film undistorted and lets
   the blob unwind into a straight corner. */
.reader-lightbox__frame {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-float);
}

.reader-lightbox__frame:focus { outline: none; }

/* The film unwinds from the card's counter-rotation to level on the same
   keyframed clock as the frame around it. */
.reader-lightbox__frame .young-readers__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.reader-lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 2.4vw, 1.75rem);
  right: clamp(0.75rem, 2.4vw, 1.75rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-paper-white);
  color: var(--color-ink-black);
  cursor: pointer;
  opacity: 0;
  scale: 0.85;
  pointer-events: none;
  transition:
    opacity 260ms var(--ease-out),
    scale 260ms var(--ease-paper),
    background-color 200ms var(--ease-out);
}

/* Held back until the frame has finished opening, so it does not fly across
   the screen alongside it. */
.reader-lightbox.is-wide .reader-lightbox__close {
  opacity: 1;
  scale: 1;
  pointer-events: auto;
}

.reader-lightbox__close:hover { background: var(--color-sunset-gold); }
.reader-lightbox__close:focus-visible {
  outline: 3px solid var(--color-sunset-gold);
  outline-offset: 3px;
}

.reader-lightbox__close-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* The short-viewport cap on the stage is inherited down the chain; the film
   takes it too so it letterboxes with the frame rather than overflowing. */
@media (min-width: 641px) {
  .young-readers__video { max-height: inherit; }
}

@media (prefers-reduced-motion: reduce) {
  .reader-play__mark,
  .reader-lightbox__frame,
  .reader-lightbox__frame .young-readers__video,
  .reader-lightbox__scrim,
  .reader-lightbox__close { transition: none; }
}


/* ==========================================================================
   79. YOUNG READERS — LARGER FILM BLOB, CARDS SCATTERED AROUND IT
   ========================================================================== */

/* Scoped above the stacking breakpoint: below 1100px the cards leave the
   absolute layer for a plain grid, and none of this should reach them. */
@media (min-width: 1101px) {

  /* The film is the section's subject now, not a supporting picture, so the
     blob takes the space the four cards used to share evenly with it. The
     ceiling still clears the container: 680 plus a card's reach on each
     flank comes to roughly 1000px inside a 1480px shell.

     The height ceiling is spent as a WIDTH here rather than as `max-height`
     on the stage. Capping the height left the stage at its full width while
     the figure inside shrank to satisfy the cap — and a shrunken block sits
     at its container's left edge, so the blob drifted left of centre while
     the cards, which measure their offsets against the stage, stayed spread
     to the full width. Converting the cap through the 4:3 ratio narrows the
     stage itself, so figure and cards stay in register and the whole group
     centres as one. */
  .young-readers__stage {
    --reader-h: clamp(260px, 52vh, 540px);
    width: min(clamp(320px, 56vw, 680px), calc(var(--reader-h) * 4 / 3));
    max-height: none;
    margin-inline: auto;
  }

  /* --- Scattered, not ranked ------------------------------------------- */

  /* Pinned by hand rather than mirrored: every card sits at its own distance
     from the blob and its own height, and carries a small lean so no two
     edges line up. `rotate` is used instead of a transform so the hover lift
     below still owns `transform` outright. */
  .reader-benefit {
    rotate: var(--card-lean, 0deg);
    /* Restates the collapsing-row transition from section 66 — a bare
       redeclaration here would drop it and the body would snap open. */
    transition:
      grid-template-rows var(--dur-component) linear,
      transform var(--dur-component) var(--ease-paper),
      rotate var(--dur-component) var(--ease-paper),
      box-shadow var(--dur-component) var(--ease-out),
      border-color var(--dur-component) var(--ease-out);
  }

  /* The outermost card on each flank reaches the same 29%, so the block of
     cards is symmetric about the blob and the blob reads as centred. The
     scatter comes from the heights, widths and leans instead, which cost
     nothing in balance. */
  .reader-benefit--1 {
    --card-lean: -3.4deg;
    top: -13%;
    left: -29%;
    right: auto;
    bottom: auto;
    width: clamp(160px, 14.8vw, 208px);
  }

  .reader-benefit--2 {
    --card-lean: 2.6deg;
    top: 61%;
    left: -20%;
    right: auto;
    bottom: auto;
    width: clamp(148px, 13.4vw, 188px);
  }

  .reader-benefit--3 {
    --card-lean: 3.1deg;
    top: -2%;
    right: -21%;
    left: auto;
    bottom: auto;
    width: clamp(152px, 13.8vw, 194px);
  }

  .reader-benefit--4 {
    --card-lean: -2.2deg;
    top: 68%;
    right: -29%;
    left: auto;
    bottom: auto;
    width: clamp(162px, 15.2vw, 214px);
  }

  /* The blob grew, so the cards nearest it want a touch more separation from
     the film than a flat shadow gives. */
  .reader-benefit { box-shadow: 0 18px 44px rgba(18, 63, 59, 0.14); }
}

/* The film keeps its counter-rotation and its own crop whatever the stage
   does, so it no longer borrows a height ceiling from it. */
@media (min-width: 1101px) {
  .young-readers__figure,
  .young-readers__video { max-height: none; }
}


/* ==========================================================================
   37. SHOP / STORIES LISTING PAGE
   The listing reuses the homepage announcement bar, header, quiz, gifting,
   schedule, reviews, FAQ, closing CTA and footer as they are. What follows
   is only what this page adds: the breadcrumb, the discovery hero, the
   collection grid, and the comparison board.

   37.1 Shared additions
   37.2 Breadcrumb
   37.3 Story-discovery hero
   37.4 The collection grid
   37.5 Comparison board
   37.6 Responsive
   37.7 Reduced motion
   ========================================================================== */


/* --------------------------------------------------------------------------
   37.1 SHARED ADDITIONS
   -------------------------------------------------------------------------- */

/* The current page in the primary nav. Underlined as well as recoloured, so
   the state is not carried by colour alone. */
.site-nav__link.is-current {
  color: var(--color-action-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.section-head--tight { margin-bottom: var(--space-5); }

/* The reviews sprite: a definitions-only <svg> that must occupy no space.
   On the homepage this is an inline style; here it is a class, because this
   page carries no inline CSS of its own. */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* The homepage runs as a deck: every section takes a one-screen floor and a
   snap point, so the reader meets one idea at a time. The sections reused
   here inherit that from section 65 already; these three belong to this page
   and join the same deck, so the listing reads with the homepage's rhythm
   rather than as one long scroll.

   Each has exactly one in-flow child — its .container — so grid centring is
   safe here. The hero's decoration is all absolutely positioned and stays
   out of the flow. */
.page-shop .shop-hero,
.page-shop .stories,
.page-shop .shop-compare {
  min-height: var(--screen-fit);
  scroll-snap-align: start;
}

.page-shop .stories,
.page-shop .shop-compare {
  display: grid;
  align-content: center;
}

/* The composition centres in the banner exactly as the other decks do. The
   breadcrumb is taken out of the flow below, so it cannot push it. */
.page-shop .shop-hero {
  display: grid;
  align-content: center;
}

/* The same viewport-aware ceiling the deck takes in section 66: fixed rem
   padding costs as much on a short laptop as on a tall display, and that is
   what pushes a section past its screen. */
@media (min-width: 641px) {
  .page-shop .stories,
  .page-shop .shop-compare { padding-block: clamp(1.5rem, 5vh, 5rem); }
}


/* --------------------------------------------------------------------------
   37.2 BREADCRUMB
   Understated by design: it orients, it does not compete with the H1.
   -------------------------------------------------------------------------- */

/* The breadcrumb rides on the hero, pinned just under the header rather than
   sitting in a band of its own. Absolute, so it takes no height: the
   composition stays centred in the full banner and the trail reads as an
   overlay on it rather than as a row that pushed everything down. */
.shop-hero__crumbs {
  position: absolute;
  inset: var(--space-2) 0 auto 0;
  z-index: var(--z-content);
  pointer-events: none;
}

.breadcrumb { padding: 0; }

/* Only the link itself is clickable; the rest of the strip lets pointer
   events through to the banner. */
.shop-hero__crumbs .breadcrumb__list { pointer-events: auto; width: max-content; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--color-accent-gold);
}

.breadcrumb__item a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb__item a:hover,
.breadcrumb__item a:focus-visible { border-bottom-color: currentColor; }

.breadcrumb__item--current { color: var(--color-text-strong); font-weight: 600; }


/* --------------------------------------------------------------------------
   37.3 STORY-DISCOVERY HERO
   Copy left, a table of covers right. The covers, the envelope behind them
   and the two botanicals each sit at their own pointer depth; the copy
   column declares none, so the headline and buttons never move.
   -------------------------------------------------------------------------- */

.shop-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, var(--space-9)) 0 clamp(3rem, 6vw, var(--space-12));
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(213, 162, 59, 0.24), transparent 58%),
    radial-gradient(90% 80% at 6% 100%, rgba(31, 102, 97, 0.16), transparent 62%),
    linear-gradient(178deg, var(--color-island-ivory) 0%, var(--color-paper-white) 46%, var(--color-sea-mist) 100%);
}

.shop-hero__frond,
.shop-hero__bouquet,
.shop-hero__plumeria,
.shop-hero__envelope {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.shop-hero__frond {
  top: -8%;
  right: -4%;
  width: min(28vw, 340px);
  height: auto;
  z-index: var(--z-foliage-front);
  opacity: var(--foliage-hero);
  --tilt: 14deg;
  rotate: var(--tilt);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  filter: drop-shadow(0 18px 26px rgba(18, 63, 59, 0.18));
}

/* Sitting on the foot of the banner rather than half-buried in it, and far
   enough left that it stays clear of the copy column. Mirrored so the
   bloom opens into the page instead of off the edge of it — the flip is on
   `scale`, which the sway keyframes leave alone. */
.shop-hero__bouquet {
  scale: -1 1;
  left: 0;
  bottom: 0;
  width: min(17vw, 215px);
  height: auto;
  /* Above the wave, not behind it: the wave would otherwise cut the bottom
     of the bouquet off. Straddling the seam is the same thing the section
     bouquets do between the homepage's bands. */
  z-index: 7;
  /* Printed at full strength: it sits on empty banner, not behind copy, so
     there is nothing for it to compete with. */
  opacity: 1;
}

.shop-hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  gap: clamp(2rem, 4vw, var(--space-8));
  align-items: center;
}

.shop-hero__copy { max-width: 40rem; }

.shop-hero__title {
  /* A step down from the homepage H1. The sentence is unchanged; at this size
     it sets in two lines in the column it has here instead of three. */
  font-size: clamp(2.4rem, 3.8vw, 3.3rem);
  line-height: 1.16;
  margin: 0 0 var(--space-3);
  color: var(--color-text-strong);
}

.shop-hero__intro {
  font-size: var(--font-body-large);
  color: var(--color-text-muted);
  max-width: 38rem;
  margin: 0;
}

/* --- The layered composition --- */

.shop-hero__stage {
  position: relative;
  aspect-ratio: 5 / 4;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.shop-hero__covers {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-hero__cover {
  position: absolute;
  width: 38%;
  border-radius: var(--radius-small);
  overflow: hidden;
  background: var(--color-paper-white);
  box-shadow: var(--shadow-card);
  outline: 6px solid var(--color-paper-white);
  outline-offset: -6px;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  rotate: var(--tilt, 0deg);
  transition: rotate var(--dur-component) var(--ease-paper);
}

.shop-hero__cover img { display: block; width: 100%; height: auto; }

.shop-hero__cover--left   { --tilt: -9deg; left: 0;   top: 20%; z-index: 2; }
.shop-hero__cover--right  { --tilt: 9deg;  right: 0;  top: 18%; z-index: 2; }
.shop-hero__cover--centre {
  --tilt: -1deg;
  left: 50%;
  top: 4%;
  width: 44%;
  margin-left: -22%;
  z-index: 3;
  box-shadow: var(--shadow-float);
}

/* Half-tucked under the fan, low and left, and it lifts when the pointer is
   over the stage — the one hover in the composition. */
.shop-hero__envelope {
  left: 2%;
  bottom: -6%;
  width: 40%;
  height: auto;
  z-index: 1;
  opacity: 0.96;
  rotate: -7deg;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: translate var(--dur-component) var(--ease-paper);
}

.shop-hero__stage:hover .shop-hero__envelope { translate: 0 -10px; }

.shop-hero__plumeria {
  left: -2%;
  bottom: 4%;
  width: 22%;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 10px 16px rgba(18, 63, 59, 0.22));
}

/* The wave edge, the same curve the contact and FAQ heroes use: it gives the
   band below an edge rather than a seam. Filled in the collection's ivory,
   not paper white, because that is the section it hands over to. */
.shop-hero__wave {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: 6;
  display: block;
  inline-size: 100%;
  block-size: clamp(30px, 4vw, 54px);
  pointer-events: none;
}

.shop-hero__wave path { fill: var(--color-island-ivory); }


/* The postmark franks itself once, on load. */
.shop-hero__postmark {
  position: absolute;
  top: 2%;
  right: 4%;
  width: 22%;
  max-width: 132px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  animation: shop-frank 900ms 700ms var(--ease-paper) forwards;
}

/* The frank animation runs on the span; the ring inside it spins on its own,
   so the two never fight over one transform. */
.shop-hero__postmark {
  aspect-ratio: 1;
  filter: drop-shadow(0 6px 12px rgba(18, 63, 59, 0.24));
}

@keyframes shop-frank {
  0%   { opacity: 0; scale: 1.7; rotate: -22deg; }
  60%  { opacity: 1; scale: 0.94; rotate: 4deg; }
  100% { opacity: 1; scale: 1;    rotate: -8deg; }
}


/* --------------------------------------------------------------------------
   37.4 THE COLLECTION
   The band is the homepage .stories section as it stands there — background,
   foliage, head, three-across track and card all unchanged. The only
   addition is the page-size cap, which keeps the band to one screenful
   however long the catalogue grows.
   -------------------------------------------------------------------------- */

.shop-grid__more {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: clamp(2rem, 4vw, var(--space-8));
  text-align: center;
}

.shop-grid__more[hidden] { display: none; }

.shop-grid__more-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: 0.1rem;
  padding: 0 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--color-warm-sand);
  color: var(--color-ocean-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.shop-grid__tally {
  margin: 0;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}


/* --------------------------------------------------------------------------
   37.5 COMPARISON BOARD
   What every journey shares is printed once above the board; the columns
   carry only what differs. Both the picker and the columns are built from
   the collection above, so the board grows with the catalogue.
   -------------------------------------------------------------------------- */

.shop-compare {
  padding: clamp(2rem, 4vw, var(--space-8)) 0;
  background: var(--color-island-ivory);
}

/* The board is the section's subject, so its head gives up the air a
   standalone section head would take. */
.shop-compare .section-head { margin-bottom: var(--space-3); }
.shop-compare .section-head__intro { font-size: var(--font-body); }

/* --- The shared facts --- */

.compare-shared {
  display: grid;
  gap: 0.6rem var(--space-3);
  margin: 0 0 var(--space-3);
  padding: 0.7rem var(--space-3);
  border: 1px solid var(--color-border-default);
  border-left: 4px solid var(--color-accent-palm);
  border-radius: var(--radius-medium);
  background: var(--color-paper-white);
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--color-text-default);
}

.compare-shared__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* --- The board --- */

.compare-board {
  display: grid;
  gap: var(--space-2);
  align-items: stretch;
}

.compare-col {
  display: flex;
  flex-direction: column;
  padding: var(--space-2) var(--space-3) var(--space-3);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-large);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-paper);
}

.compare-col__head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-accent-gold);
}

.compare-col__cover {
  flex: 0 0 auto;
  width: 42px;
  height: 58px;
  border-radius: var(--radius-small);
  object-fit: cover;
  box-shadow: var(--shadow-paper);
}

.compare-col__names { flex: 1 1 auto; min-width: 0; }

.compare-col__title {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.30;
  color: var(--color-text-strong);
}

.compare-col__label {
  margin: 0.2rem 0 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-action-primary);
}

.compare-col__drop {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-pill);
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
}

.compare-col__drop:hover {
  border-color: var(--color-border-strong);
  color: var(--color-action-primary);
}

.compare-col__drop svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.compare-col__rows { margin: 0 0 var(--space-2); }

.compare-row {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border-default);
}

.compare-row dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.compare-row dd {
  margin: 0.1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-default);
}

.compare-col__cta { margin-top: auto; align-self: flex-start; }

.compare-empty {
  margin: 0;
  padding: var(--space-5);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-large);
  text-align: center;
  color: var(--color-text-muted);
}

.compare-empty[hidden] { display: none; }


/* --------------------------------------------------------------------------
   37.6 RESPONSIVE
   Authored mobile-first above; these rules widen the page rather than patch
   it. Nothing overflows horizontally at 390px.
   -------------------------------------------------------------------------- */

@media (max-width: 560px) {
  .shop-hero__frond   { width: 44vw; top: -4%; right: -10%; }
  .shop-hero__bouquet { width: 32vw; bottom: 0; left: 0; }
}

@media (min-width: 700px) {
  .compare-shared { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .compare-shared { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* One column per selected story, however many that is (capped at three by
     the picker). */
  .compare-board { grid-template-columns: repeat(var(--compare-cols, 3), minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .shop-hero__inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

/* The sticky CTA is a phone affordance; the desktop header carries the same
   ask already. */
@media (min-width: 901px) {
  .sticky-cta--shop { display: none !important; }
}

@media (max-width: 900px) {
  .sticky-cta--shop { display: block; }
}


/* --------------------------------------------------------------------------
   37.7 REDUCED MOTION
   Everything above resolves to its finished state: nothing franks, drifts
   or parallaxes.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .shop-hero__postmark {
    animation: none;
    opacity: 1;
    rotate: -8deg;
  }

  .shop-hero__envelope,
  .shop-hero__cover,
  .compare-slot,
  .compare-col__swap,
  .picker-option,
  .story-picker__card,
  .story-picker__scrim { transition: none; }

  .shop-hero__stage:hover .shop-hero__envelope { translate: 0 0; }
}

/* Cards past the first page are out of the layout entirely until the button
   below reveals them. */
.stories__track .story-card[hidden] { display: none; }
/* Viewport-aware tightening, in the same spirit as section 66: on a short
   laptop the board's fixed padding is what pushes it past its screen, so
   every band of it is expressed against vh instead of rem alone. */
@media (min-width: 641px) {
  .shop-compare .section-head { margin-bottom: clamp(0.75rem, 2vh, 1.5rem); }
  .compare-shared { padding-block: clamp(0.45rem, 1.1vh, 0.7rem); }
  .compare-col { padding: clamp(0.5rem, 1.2vh, 0.75rem) var(--space-3) clamp(0.75rem, 1.8vh, 1rem); }
  .compare-col__head { padding-bottom: clamp(0.4rem, 1vh, 0.6rem); }
  .compare-row { padding-block: clamp(0.25rem, 0.7vh, 0.4rem); }
  .compare-col__cover {
    width: clamp(34px, 4.6vh, 42px);
    height: clamp(46px, 6.4vh, 58px);
  }
}


/* --------------------------------------------------------------------------
   37.8 COMPARISON SLOTS AND THE STORY PICKER
   The board used to carry one control per story. That reads fine at three
   and stops working somewhere around a dozen, so the catalogue moved into a
   search dialog and the board kept only what it is actually showing: three
   slots, each naming its own story. The section is now the same size at
   fifty stories as at three.
   -------------------------------------------------------------------------- */

.compare-col__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
}

/* An empty slot is a card-shaped target rather than a small button, so the
   three columns keep their rhythm whether they are filled or not. */
.compare-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 180px;
  padding: var(--space-4);
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-large);
  background: none;
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: var(--font-small);
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color var(--dur-micro) var(--ease-out),
    color var(--dur-micro) var(--ease-out),
    background var(--dur-micro) var(--ease-out);
}

.compare-slot:hover {
  border-color: var(--color-action-primary);
  background: var(--color-paper-white);
  color: var(--color-action-primary);
}

.compare-slot__plus {
  position: relative;
  width: 28px;
  height: 28px;
}

.compare-slot__plus::before,
.compare-slot__plus::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 1px;
  translate: -50% -50%;
}

.compare-slot__plus::before { width: 22px; height: 2px; }
.compare-slot__plus::after  { width: 2px;  height: 22px; }

.compare-note {
  margin: var(--space-3) 0 0;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

/* --- The picker dialog --- */

.story-picker {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: var(--space-3);
}

.story-picker[hidden] { display: none; }

.story-picker__scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 39, 36, 0.58);
  opacity: 0;
  transition: opacity var(--dur-component) var(--ease-out);
}

.story-picker.is-open .story-picker__scrim { opacity: 1; }

.story-picker__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 34rem);
  max-height: min(82vh, 680px);
  padding: var(--space-4);
  border-radius: var(--radius-large);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-float);
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity var(--dur-component) var(--ease-out),
    translate var(--dur-component) var(--ease-paper);
}

.story-picker.is-open .story-picker__card { opacity: 1; translate: 0 0; }

.story-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.story-picker__title {
  margin: 0;
  font-size: var(--font-h3);
  line-height: 1.30;
  color: var(--color-text-strong);
}

.story-picker__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-pill);
  background: none;
  color: var(--color-text-strong);
  cursor: pointer;
}

.story-picker__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.story-picker__field { margin-bottom: var(--space-2); }

.story-picker__count {
  margin: 0 0 var(--space-2);
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.story-picker__list {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-picker__empty {
  margin: var(--space-3) 0 0;
  color: var(--color-text-muted);
}

.story-picker__empty[hidden] { display: none; }

/* --- One option --- */

.picker-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 56px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  background: var(--color-paper-white);
  color: var(--color-text-strong);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--dur-micro) var(--ease-out),
    background var(--dur-micro) var(--ease-out);
}

.picker-option:hover:not(:disabled) {
  border-color: var(--color-border-strong);
  background: var(--color-sea-mist);
}

.picker-option__cover {
  flex: 0 0 auto;
  width: 34px;
  height: 46px;
  border-radius: var(--radius-small);
  object-fit: cover;
  background: var(--color-sea-mist);
}

.picker-option__text {
  flex: 1 1 auto;
  min-width: 0;
}

.picker-option__title {
  display: block;
  font-size: var(--font-small);
  font-weight: 700;
  line-height: 1.30;
}

.picker-option__meta {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Already on the board: still listed, so the reader can see the whole
   catalogue at once, but not selectable twice. */
.picker-option__flag {
  flex: 0 0 auto;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.picker-option.is-current {
  border-color: var(--color-accent-gold);
  background: rgba(213, 162, 59, 0.12);
}

.picker-option.is-taken {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Label beside value rather than above it. Five stacked label/value pairs
   were most of the board's height; set on one line they read as a spec sheet
   and the section lands inside its screen. */
@media (min-width: 700px) {
  .compare-row {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0 var(--space-2);
    align-items: baseline;
  }

  .compare-row dt { line-height: 1.5; }
  .compare-row dd { margin-top: 0; }
}

/* The "already comparing" flag was setting on one line and pushing the row
   wider than the list could show. It wraps and takes a ceiling instead. */
.picker-option__flag {
  max-width: 5.5rem;
  white-space: normal;
  line-height: 1.25;
  text-align: right;
}

/* The list scrolls vertically only; nothing inside it may reach sideways. */
.story-picker__list { overflow-x: hidden; }


/* --------------------------------------------------------------------------
   37.9 COMPARISON CONTROLS — SECOND PASS
   Change became a real button, each column can be moved along the board, and
   the empty slot stopped being a dashed rectangle.
   -------------------------------------------------------------------------- */

/* Two buttons, one row, the same shape in every column — which is why the
   CTA reads "Explore story" with the title carried for assistive tech only. */
.compare-col__foot {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-2);
}

/* Change sits beside the CTA as its quieter sibling, so the pair reads as
   "go there" and "not this one" rather than as one button and one link. */
.compare-col__swap { flex: 0 0 auto; }

/* --- The empty slot --- */

/* A postcard waiting to be filled rather than a dashed rectangle: paper
   under a perforated edge, three cover-shaped cards fanned behind the mark,
   and the whole thing lifts on hover like the story cards do. */
.compare-slot {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 240px;
  padding: var(--space-4);
  border: 2px dashed var(--color-warm-sand);
  border-radius: var(--radius-large);
  background:
    repeating-linear-gradient(0deg, rgba(18, 63, 59, 0.028) 0 1px, transparent 1px 26px),
    var(--color-paper-white);
  color: var(--color-text-muted);
  font-family: inherit;
  cursor: pointer;
  transition:
    transform var(--dur-component) var(--ease-paper),
    border-color var(--dur-micro) var(--ease-out),
    box-shadow var(--dur-component) var(--ease-out);
}

.compare-slot:hover,
.compare-slot:focus-visible {
  transform: translateY(-4px);
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-card);
}

/* Three tilted cover shapes behind the mark. Pure CSS — no third cover
   exists to photograph, and a real one would imply a specific story. */
.compare-slot__stack {
  position: relative;
  width: 74px;
  height: 62px;
  margin-bottom: 0.35rem;
}

.compare-slot__stack i {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 56px;
  margin-left: -20px;
  border: 1.5px solid var(--color-sea-mist);
  border-radius: 4px;
  background: var(--color-island-ivory);
  transition: rotate var(--dur-component) var(--ease-paper);
}

.compare-slot__stack i:nth-child(1) { rotate: -13deg; translate: -16px 0; }
.compare-slot__stack i:nth-child(2) { rotate: 0deg; z-index: 2; }
.compare-slot__stack i:nth-child(3) { rotate: 13deg; translate: 16px 0; }

.compare-slot:hover .compare-slot__stack i:nth-child(1) { rotate: -20deg; }
.compare-slot:hover .compare-slot__stack i:nth-child(3) { rotate: 20deg; }

/* The plus rides on the middle card. */
.compare-slot__plus {
  position: absolute;
  top: calc(50% - 38px);
  left: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--color-sunset-gold);
  color: var(--color-ocean-ink);
  translate: -50% 0;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(18, 63, 59, 0.2);
}

.compare-slot__plus::before,
.compare-slot__plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.compare-slot__plus::before { width: 14px; height: 2px; }
.compare-slot__plus::after  { width: 2px;  height: 14px; }

.compare-slot__label {
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  line-height: 1.2;
  color: var(--color-text-strong);
}

.compare-slot__hint {
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

/* --- The picker option row, kept inside its card --- */

/* The row is a grid, not a flex line: the middle column is the only one
   allowed to grow, so a long flag can never push the row wider than the
   dialog and get clipped by the scroller. */
.picker-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.picker-option__flag {
  max-width: 5rem;
  white-space: normal;
  line-height: 1.2;
  text-align: right;
}

.picker-option__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Empty slot, second pass ---------------------------------------------
   The dashed edge was too faint to read as an edge, and the plus covered the
   fan it was meant to sit on. The cards are bigger, the plus became a wax
   seal on the corner of the top one, and the border took the ink it needed. */

.compare-slot {
  gap: 0.3rem;
  border-color: rgba(213, 162, 59, 0.55);
}

.compare-slot:hover,
.compare-slot:focus-visible { border-color: var(--color-accent-gold); }

.compare-slot__stack {
  width: 116px;
  height: 84px;
  margin-bottom: var(--space-2);
}

.compare-slot__stack i {
  width: 56px;
  height: 78px;
  margin-left: -28px;
  border-color: var(--color-warm-sand);
  box-shadow: 0 4px 12px rgba(18, 63, 59, 0.08);
}

.compare-slot__stack i:nth-child(1) { rotate: -12deg; translate: -24px 0; }
.compare-slot__stack i:nth-child(3) { rotate: 12deg;  translate: 24px 0; }

.compare-slot:hover .compare-slot__stack i:nth-child(1) { rotate: -19deg; }
.compare-slot:hover .compare-slot__stack i:nth-child(3) { rotate: 19deg; }

/* Sits on the corner of the top card, not over the middle of the fan. */
.compare-slot__plus {
  top: auto;
  bottom: 0;
  left: 50%;
  width: 38px;
  height: 38px;
  translate: -50% 30%;
}

.compare-slot__plus::before { width: 16px; height: 2.5px; }
.compare-slot__plus::after  { width: 2.5px; height: 16px; }

/* --- Empty slot, third pass ----------------------------------------------
   The plus is now inside the fan, so it can sit on the cards instead of on
   the foot of the slot, and the cards took enough contrast to read as three
   separate covers against an ivory band. */

.compare-slot__stack {
  position: relative;
  width: 132px;
  height: 92px;
  margin-bottom: var(--space-2);
}

.compare-slot__stack i {
  background: var(--color-paper-white);
  border-color: var(--color-sea-mist);
  box-shadow: 0 6px 16px rgba(18, 63, 59, 0.12);
}

/* A ruled line across each card, so an empty cover still reads as a story
   rather than as a blank rectangle. */
.compare-slot__stack i::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 12px;
  height: 20px;
  border-top: 1.5px solid var(--color-warm-sand);
  border-bottom: 1.5px solid var(--color-warm-sand);
}

.compare-slot__plus {
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: auto;
  translate: -50% -50%;
  z-index: 4;
}


/* ==========================================================================
   38. STORY DETAILS PAGE  (shop-details.html)
   --------------------------------------------------------------------------
   Everything the story page adds on top of the shared system.

   38.1  Page scope and deck opt-out
   38.2  Hero band
   38.3  Taped-print gallery
   38.4  Story panel, price and the order card
   38.5  Reused components, story-page trims
   38.6  Synopsis
   38.7  Reader fit and themes
   38.9  Story world
   38.11 Order-card controls and summary
   38.12 Mobile purchase bar
   38.14 Master form modal
   38.15 Gallery lightbox
   38.16 Responsive
   38.17 Odds and ends
   38.18 Date picker
   38.19 Two-step order flow

   38.8, 38.10 and 38.13 are gone with the things they styled (the
   read-a-sample band, the package explorer and the sample drawer). The
   numbering is left alone so the rest keep the names used elsewhere.
   ========================================================================== */

/* --------------------------------------------------------------------------
   38.1 Page scope and deck opt-out
   The homepage pins a fixed set of full-screen sections. Seven components
   reused here belong to that set; on a page this long the mixed behaviour
   reads as the page catching, so the story page clears the floor and the snap
   point on its own copies. Same override .page-shop uses.
   -------------------------------------------------------------------------- */

.page-story-details .facts,
.page-story-details .definition,
.page-story-details .arrives,
.page-story-details .journey,
.page-story-details .gift,
.page-story-details .schedule,
.page-story-details .reviews,
.page-story-details .young-readers,
.page-story-details .faq,
.page-story-details .stories,
.page-story-details .final-cta {
  min-height: 0;
  scroll-snap-align: none;
}

/* Every band on this page clips its own foliage. Without this a transparent
   bloom hanging off the right edge widens the document and the whole page
   scrolls sideways on a phone. */
.page-story-details > main > section,
.story-hero,
.story-synopsis,
.story-fit,
.story-world,
.story-config,
.story-aeo {
  position: relative;
  overflow-x: clip;
}

/* …except the five bands that pin something. An overflow value other than
   visible makes the section its own scroll container, and a sticky child
   then sticks to that box instead of to the viewport — which reads as the
   sticky simply not working. clip-path clips the foliage just as well and
   leaves the scrollport alone. */
.story-hero,
.story-synopsis,
.story-fit,
.story-world,
.story-config {
  overflow-x: visible;
  clip-path: inset(0);
}

/* Decorative layers never take the pointer and never sit above content. */
.story-hero__frond,
.story-hero__bouquet,
.story-synopsis__shadow,
.story-fit__bloom,
.story-world__frond,
.story-config__bloom {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  max-width: none;
}

.sprite-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   38.2 Hero band
   -------------------------------------------------------------------------- */

.story-hero {
  padding: calc(var(--header-height) + var(--space-1)) 0 var(--space-8);
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(221, 232, 227, 0.9), transparent 62%),
    linear-gradient(180deg, var(--color-paper-white) 0%, var(--color-island-ivory) 100%);
}

.story-hero__frond {
  top: -4%;
  right: -6%;
  width: clamp(180px, 24vw, 420px);
  rotate: 8deg;
  opacity: 0.85;
}

.story-hero__bouquet {
  bottom: -8%;
  left: -5%;
  width: clamp(150px, 20vw, 340px);
  opacity: 0.7;
}


/* The trail sits directly under the header — the band used to open with
   most of a screen of empty paper above it. */
.story-hero__crumbs {
  position: relative;
  z-index: 2;
  margin-bottom: var(--space-2);
}

.story-hero__crumbs .container { padding: 0; }

.breadcrumb--story .breadcrumb__list {
  flex-wrap: wrap;
}

.breadcrumb--story .breadcrumb__short { display: none; }

.story-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: start;
}

/* --------------------------------------------------------------------------
   38.3 Editorial gallery
   -------------------------------------------------------------------------- */

/* The gallery pins while the panel beside it scrolls, so the artwork stays
   on screen for the whole of the purchase copy. It is released by the end of
   the hero grid, which is its containing block. */
.story-gallery {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + var(--space-2));
  align-self: start;
}

.story-gallery__stage {
  position: relative;
  margin: 0 0 var(--space-3);
}

.story-gallery__frame {
  position: relative;
  height: clamp(280px, 52vh, 560px);
  aspect-ratio: 4 / 5;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-sea-mist);
  box-shadow: var(--shadow-card);
}

.story-gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--dur-component) var(--ease-out);
}

.story-gallery__frame.is-swapping img { opacity: 0; }

.story-gallery__postmark {
  position: absolute;
  z-index: 3;
  top: calc(var(--space-2) * -1);
  right: var(--space-3);
  width: clamp(56px, 7vw, 84px);
  aspect-ratio: 1;
  pointer-events: none;
}

.story-gallery__postmark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-gallery__zoom {
  position: absolute;
  z-index: 4;
  right: var(--space-2);
  bottom: var(--space-2);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border-default);
  border-radius: 50%;
  background: var(--color-paper-white);
  color: var(--color-ocean-ink);
  cursor: pointer;
  box-shadow: var(--shadow-paper);
  transition: transform var(--dur-micro) var(--ease-out);
}

.story-gallery__zoom:hover { transform: scale(1.06); }

.story-gallery__zoom svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.story-gallery__caption {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: baseline;
  justify-content: space-between;
  margin-top: var(--space-2);
}

.story-gallery__label {
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  line-height: 1.25;
  color: var(--color-text-strong);
}

.story-gallery__count {
  font-size: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.story-gallery__controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.story-gallery__rail {
  display: flex;
  gap: var(--space-2);
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 2px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.story-gallery__rail > li { flex: 0 0 auto; scroll-snap-align: start; }

.story-thumb {
  display: block;
  width: clamp(46px, 6.4vw, 66px);
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-small);
  background: var(--color-sea-mist);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease-out),
              transform var(--dur-micro) var(--ease-out);
}

.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-thumb:hover { transform: translateY(-2px); }

/* Selection carries a ring and an inset mark, not colour alone. */
.story-thumb.is-selected {
  border-color: var(--color-postmark-coral);
  box-shadow: 0 0 0 2px var(--color-paper-white) inset;
}

/* --------------------------------------------------------------------------
   38.4 Purchase panel and price summary
   -------------------------------------------------------------------------- */

.story-panel { min-width: 0; }

.story-panel__sticky {
  padding: clamp(var(--space-3), 2vw, var(--space-4));
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-card);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-card);
}

.story-panel__kicker {
  font-size: var(--font-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-action-primary);
  margin-bottom: var(--space-2);
}

.story-panel__title {
  font-family: var(--font-display-family);
  font-size: clamp(1.9rem, 2.7vw, 2.6rem);
  line-height: 1.16;
  color: var(--color-text-strong);
  margin-bottom: var(--space-2);
}

.story-panel__premise {
  color: var(--color-text-muted);
  font-size: var(--font-small);
  margin-bottom: var(--space-2);
}

.story-panel__moods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
}

.story-panel__moods li {
  padding: 4px 12px;
  border: 1px solid var(--color-warm-sand);
  border-radius: var(--radius-pill);
  background: rgba(233, 214, 184, 0.28);
  font-size: var(--font-small);
  color: var(--color-text-strong);
}

.story-panel__best {
  font-size: var(--font-small);
  color: var(--color-text-default);
  margin-bottom: var(--space-2);
}

.story-panel__best b { color: var(--color-text-strong); }

.story-panel__age {
  display: flex;
  gap: var(--space-1);
  align-items: flex-start;
  padding: var(--space-2);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-medium);
  background: var(--color-sea-mist);
  font-size: var(--font-small);
  color: var(--color-text-strong);
  margin-bottom: var(--space-3);
}

.story-panel__age-mark {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--color-sunset-gold);
}

.story-panel__facts {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-3) 0;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
}

.story-panel__facts dt {
  font-size: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.story-panel__facts dd {
  margin: 2px 0 0;
  font-weight: 600;
  color: var(--color-text-strong);
}

.story-price {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.story-price__option {
  padding: var(--space-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  background: var(--color-island-ivory);
}

.story-price__option--prepaid {
  border-color: var(--color-sunset-gold);
  background: rgba(213, 162, 59, 0.1);
}

.story-price__head {
  font-size: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.story-price__figure {
  font-family: var(--font-display-family);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--color-text-strong);
}

.story-price__figure span {
  display: block;
  font-family: var(--font-body-family);
  font-size: var(--font-small);
  font-weight: 500;
  color: var(--color-text-muted);
}

.story-price__note,
.story-price__total {
  margin-top: 6px;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

/* The instalment total is printed at the same weight as the amount due
   today, so the panel can never be read as "from $14". */
.story-price__total {
  font-weight: 700;
  color: var(--color-text-strong);
}

.story-price__reassure {
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.story-panel__actions {
  display: grid;
  gap: var(--space-2);
}

/* Sample and gift are quieter than the primary action and share one row, so
   the panel spends one line on them instead of three. */
.story-panel__minor {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  justify-content: center;
}

.story-panel__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-action-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.story-panel__link:hover { color: var(--color-action-primary); }

.story-panel__purchase-note,
.story-panel__reassure {
  margin-top: var(--space-2);
  font-size: var(--font-small);
  color: var(--color-text-muted);
  text-align: center;
}

.story-panel__reassure {
  font-family: var(--font-display-family);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text-strong);
}

/* --------------------------------------------------------------------------
   38.5 Reused components, story-page trims
   -------------------------------------------------------------------------- */

.arrives__vary {
  max-width: 62ch;
  margin: var(--space-3) auto 0;
  font-size: var(--font-small);
  color: var(--color-text-muted);
  text-align: center;
}

/* Question-and-answer blocks used by the gift band and the closing summary.
   Visible page copy, never an accordion. */
.gift__aeo,
.story-aeo__list {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
  padding: 0;
}

.gift__aeo > div,
.story-aeo__list > div {
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-border-default);
}

.gift__aeo dt,
.story-aeo__list dt {
  font-weight: 700;
  color: var(--color-text-strong);
  margin-bottom: 4px;
}

.gift__aeo dd,
.story-aeo__list dd {
  margin: 0;
  color: var(--color-text-muted);
}

.gift__emotional {
  max-width: 62ch;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.gift__scheduling {
  margin-top: var(--space-2);
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.gift__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.schedule__transparency {
  max-width: 68ch;
  margin: var(--space-5) auto 0;
  text-align: center;
  color: var(--color-text-muted);
}

.stories__track--pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stories__foot {
  margin-top: var(--space-5);
  text-align: center;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.final-cta__closing {
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  font-style: italic;
  color: var(--color-text-strong);
  margin-bottom: var(--space-3);
}

/* --------------------------------------------------------------------------
   38.6 Synopsis
   A pinned photographic plate on the left, the story on the right, and the
   emotional promise closing the band as a franked quote across both.
   -------------------------------------------------------------------------- */

.story-synopsis {
  padding: var(--space-12) 0;
  background: var(--color-paper-white);
}

.story-synopsis__shadow {
  top: 4%;
  right: -8%;
  width: clamp(240px, 34vw, 620px);
  opacity: 0.1;
  mix-blend-mode: multiply;
}

.story-synopsis__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: clamp(var(--space-4), 5vw, var(--space-9));
  align-items: start;
}

.synopsis-plate {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  margin: 0;
}

.synopsis-plate__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-sea-mist);
  box-shadow: var(--shadow-float);
}

.synopsis-plate__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.synopsis-plate__stamp {
  position: absolute;
  z-index: 2;
  top: calc(var(--space-2) * -1);
  right: var(--space-3);
  width: clamp(56px, 6vw, 82px);
  aspect-ratio: 1;
  pointer-events: none;
}

.synopsis-plate__stamp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.synopsis-plate__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--space-2);
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.synopsis-plate__folio {
  font-size: var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-action-primary);
}

.story-synopsis__title {
  font-family: var(--font-display-family);
  font-size: var(--font-h2);
  line-height: 1.16;
  color: var(--color-text-strong);
  margin-bottom: var(--space-3);
}

.story-synopsis__hook {
  max-width: 54ch;
  font-size: var(--font-body-large);
  line-height: 1.5;
  color: var(--color-text-muted);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-default);
  margin-bottom: var(--space-4);
}

.story-synopsis__body {
  max-width: 62ch;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.story-synopsis__body p + p { margin-top: var(--space-3); }

/* The opening line takes the editorial drop, so the column reads as a
   printed page rather than a block of web copy. */
.story-synopsis__body p:first-child::first-letter {
  float: left;
  margin: 8px var(--space-1) 0 0;
  font-family: var(--font-display-family);
  font-size: 3.6rem;
  line-height: 0.78;
  color: var(--color-action-primary);
}

/* The single-sentence beat is set apart, because that is the moment the
   story turns. */
.story-synopsis__beat {
  padding-left: var(--space-3);
  border-left: 2px solid var(--color-sunset-gold);
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text-strong);
}

.story-promise {
  position: relative;
  grid-column: 1 / -1;
  margin: var(--space-8) 0 0;
  padding: clamp(var(--space-4), 4vw, var(--space-6));
  border: 1px solid var(--color-warm-sand);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(233, 214, 184, 0.5), transparent 55%),
    var(--color-island-ivory);
}

.story-promise p {
  max-width: 62ch;
  margin: 0 auto;
  font-family: var(--font-display-family);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.32;
  color: var(--color-text-strong);
  text-align: center;
}

.story-promise em { color: var(--color-action-primary); }

.story-promise__shell {
  display: block;
  width: 46px;
  margin: 0 auto var(--space-2);
}

.story-promise__shell svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 4;
  stroke-linecap: round;
}

/* --------------------------------------------------------------------------
   38.7 Reader fit
   Heading, photograph and the best-for line share one column; the six
   qualities run beside them as a numbered set.
   -------------------------------------------------------------------------- */

.story-fit {
  padding: var(--space-12) 0;
  background: var(--color-island-ivory);
}

.story-fit__bloom {
  top: 6%;
  right: -4%;
  width: clamp(110px, 15vw, 260px);
  opacity: 0.8;
}

.fit-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: start;
}

.fit-intro { position: sticky; top: calc(var(--header-height) + var(--space-4)); }

.fit-intro__title {
  font-family: var(--font-display-family);
  font-size: var(--font-h2);
  line-height: 1.16;
  color: var(--color-text-strong);
  margin-bottom: var(--space-3);
}

.fit-intro__figure {
  margin: 0 0 var(--space-3);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.fit-intro__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.fit-intro__summary {
  padding-left: var(--space-3);
  border-left: 2px solid var(--color-postmark-coral);
  color: var(--color-text-default);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fit;
}

.fit-card {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-3);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-paper);
  overflow: hidden;
  transition: transform var(--dur-component) var(--ease-paper),
              box-shadow var(--dur-component) var(--ease-out),
              border-color var(--dur-component) var(--ease-out);
}

/* A quarter-turn of gold in the corner: the shell motif, small. */
.fit-card::after {
  content: '';
  position: absolute;
  top: -34px;
  right: -34px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(213, 162, 59, 0.34) 0turn, transparent 0.58turn);
  transition: scale var(--dur-component) var(--ease-paper);
}

.fit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-warm-sand);
  box-shadow: var(--shadow-card);
}

.fit-card:hover::after { scale: 1.25; }

.fit-card__index {
  display: block;
  font-family: var(--font-display-family);
  font-size: 1.05rem;
  color: var(--color-action-primary);
  margin-bottom: var(--space-1);
}

.fit-card__title {
  position: relative;
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  color: var(--color-text-strong);
  margin-bottom: 6px;
}

.fit-card__body {
  position: relative;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.fit-themes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  align-items: baseline;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-default);
}

.fit-themes__title {
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  color: var(--color-text-strong);
}

.fit-themes__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Ticket-shaped rather than pills, so the strip reads as something torn
   from the packet. */
.fit-themes__list li {
  padding: 6px 14px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-small);
  background: var(--color-paper-white);
  font-size: var(--font-small);
  color: var(--color-text-strong);
}

/* --------------------------------------------------------------------------
   38.9 Story world
   A page from a field journal: contour lines behind the whole band, a
   shell-cropped plate with a taped postcard beside it, and the four entries
   as numbered tabs rather than a stacked list.
   -------------------------------------------------------------------------- */

.story-world {
  padding: var(--space-12) 0;
  background:
    radial-gradient(90% 70% at 80% 6%, rgba(31, 102, 97, 0.6), transparent 62%),
    var(--color-ocean-ink);
  color: var(--color-text-inverse);
}

.story-world__frond {
  top: 3%;
  left: -6%;
  width: clamp(160px, 22vw, 400px);
  opacity: 0.24;
  rotate: -14deg;
}

.story-world__contours {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 62%;
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 1.2;
  opacity: 0.16;
  pointer-events: none;
}

.story-world__inner { position: relative; z-index: 1; }

.story-world__head { margin-bottom: var(--space-8); }

.story-world__stage {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: clamp(var(--space-4), 5vw, var(--space-8));
  align-items: start;
}

.world-plates {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
}

.world-plate {
  position: relative;
  margin: 0;
  padding: var(--space-3);
  border: 1px solid rgba(247, 242, 232, 0.22);
  border-radius: var(--radius-card);
  background: rgba(247, 242, 232, 0.06);
}

/* An off-centre organic crop rather than a rectangle — the shell shape,
   applied to the island itself. */
.world-plate__crop {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 46% 54% 52% 48% / 40% 44% 56% 60%;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.world-plate__crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.world-plate__rings {
  position: absolute;
  left: var(--space-4);
  bottom: calc(var(--space-8) + var(--space-1));
  width: clamp(70px, 9vw, 104px);
  height: auto;
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.5;
  pointer-events: none;
}

.world-plate__spiral {
  position: absolute;
  right: var(--space-2);
  bottom: var(--space-6);
  width: clamp(56px, 8vw, 96px);
  aspect-ratio: 1;
  pointer-events: none;
}

.world-plate__spiral svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 3;
  stroke-linecap: round;
  transition: rotate var(--dur-narrative) var(--ease-paper);
}

.world-plate.is-lit .world-plate__spiral svg { rotate: 2deg; }

.world-plate__caption {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  justify-content: space-between;
  margin-top: var(--space-3);
  font-size: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sea-mist);
}

.world-plate__coords { color: var(--color-sunset-gold); }

/* The postcard kept between the pages. */
.world-card {
  position: relative;
  width: min(74%, 320px);
  margin: var(--space-5) auto 0;
  padding: 10px 10px 0;
  border-radius: var(--radius-small);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-float);
  rotate: 3deg;
}

.world-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.world-card figcaption {
  padding: 8px 2px 10px;
  font-family: var(--font-display-family);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-muted-ink);
  text-align: center;
}

.world-card__tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 88px;
  height: 24px;
  translate: -50% 0;
  rotate: -2deg;
  background: rgba(233, 214, 184, 0.72);
  box-shadow: 0 1px 3px rgba(18, 63, 59, 0.24);
}

.world-entries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.world-entry {
  position: relative;
  padding: var(--space-5) var(--space-3) var(--space-3);
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: var(--radius-medium);
  background: rgba(247, 242, 232, 0.06);
  transition: transform var(--dur-component) var(--ease-paper),
              background-color var(--dur-component) var(--ease-out),
              border-color var(--dur-component) var(--ease-out);
}

.world-entry.is-near,
.world-entry:hover {
  transform: translateY(-4px);
  border-color: rgba(213, 162, 59, 0.5);
  background: rgba(247, 242, 232, 0.11);
}

/* A numbered tab riding the top edge, like an index card. */
.world-entry__tab {
  position: absolute;
  top: 0;
  right: var(--space-3);
  padding: 3px 10px 4px;
  border-radius: 0 0 var(--radius-small) var(--radius-small);
  background: var(--color-sunset-gold);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-ocean-ink);
}

.world-entry__index {
  font-size: var(--font-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sunset-gold);
  margin-bottom: 4px;
}

.world-entry__title {
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  color: var(--color-text-inverse);
  margin-bottom: 6px;
}

.world-entry__body {
  font-size: var(--font-small);
  color: var(--color-sea-mist);
}

.world-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}

.world-tags li {
  padding: 6px 14px;
  border: 1px solid rgba(213, 162, 59, 0.5);
  border-radius: var(--radius-pill);
  font-size: var(--font-small);
  color: var(--color-sunset-gold);
}

/* --------------------------------------------------------------------------
   38.11 Personalization and journey summary
   -------------------------------------------------------------------------- */

/* Ivory, not paper white: the band above it is the emotional "what arrives"
   section and this one is transactional. Two paper-white bands running into
   each other read as one very long section. */
.story-config {
  padding: var(--space-12) 0;
  background: var(--color-island-ivory);
}

.story-config__bloom {
  top: -6%;
  right: -6%;
  width: clamp(160px, 22vw, 380px);
  opacity: 0.55;
}

.config {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: start;
}

.config__group {
  margin: 0 0 var(--space-6);
  padding: 0;
  border: 0;
}

.config__legend {
  display: block;
  padding: 0;
  font-family: var(--font-display-family);
  font-size: var(--font-h3);
  color: var(--color-text-strong);
  margin-bottom: var(--space-2);
}

.config__lede {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.config__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-2);
}

.radio-card { display: block; cursor: pointer; }

.radio-card__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.radio-card__body {
  position: relative;
  display: block;
  min-height: 44px;
  padding: var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 28px);
  border: 2px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  background: var(--color-paper-white);
  transition: border-color var(--dur-component) var(--ease-out),
              background-color var(--dur-component) var(--ease-out);
}

.radio-card__mark {
  position: absolute;
  top: calc(var(--space-3) + 2px);
  left: var(--space-3);
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-paper-white);
}

/* Selection is carried by the border, the tint and a filled mark — never by
   colour on its own. */
.radio-card__input:checked + .radio-card__body {
  border-color: var(--color-postmark-coral);
  background: rgba(247, 222, 210, 0.5);
}

.radio-card__input:checked + .radio-card__body .radio-card__mark {
  border-color: var(--color-postmark-coral);
  background:
    radial-gradient(circle at 50% 50%, var(--color-postmark-coral) 46%, transparent 47%),
    var(--color-paper-white);
}

.radio-card__input:focus-visible + .radio-card__body {
  outline: 3px solid var(--color-sunset-gold);
  outline-offset: 2px;
}

.radio-card__title {
  display: block;
  font-weight: 700;
  color: var(--color-text-strong);
  margin-bottom: 4px;
}

.radio-card__note {
  display: block;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.field--date .field__input { max-width: 18rem; }

.field__help {
  margin-top: 6px;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.field__error {
  margin-top: 6px;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-postmark-coral);
}

.field__req {
  font-weight: 500;
  color: var(--color-text-muted);
}

.field__input[aria-invalid="true"] {
  border-color: var(--color-postmark-coral);
  box-shadow: 0 0 0 3px rgba(185, 67, 59, 0.16);
}

.field__input--area { resize: vertical; min-height: 7rem; }

.config__error {
  padding: var(--space-2);
  border-left: 3px solid var(--color-postmark-coral);
  background: rgba(247, 222, 210, 0.5);
  font-weight: 600;
  color: var(--color-postmark-coral);
}

.config__summary {
  position: sticky;
  top: calc(var(--header-height) + var(--space-3));
  padding: var(--space-4);
  border: 1px solid var(--color-warm-sand);
  border-radius: var(--radius-card);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.config__seal {
  position: absolute;
  top: calc(var(--space-3) * -1);
  right: calc(var(--space-3) * -1);
  width: 110px;
  height: auto;
  opacity: 0.22;
  pointer-events: none;
}

.config__summary-title {
  position: relative;
  font-family: var(--font-display-family);
  font-size: var(--font-h3);
  color: var(--color-text-strong);
  margin-bottom: var(--space-3);
}

.config__figures {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0 0 var(--space-3);
}

.config__figures > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-default);
}

.config__figures dt {
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.config__figures dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text-strong);
  text-align: right;
}

.config__figures .config__figure--strong dd {
  font-family: var(--font-display-family);
  font-size: 1.35rem;
  font-weight: 400;
}

.config__provisional {
  font-size: var(--font-label);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.config__status {
  margin-top: var(--space-2);
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-palm);
  text-align: center;
}

.config__status.is-error { color: var(--color-postmark-coral); }

/* --------------------------------------------------------------------------
   38.12 Mobile purchase bar
   -------------------------------------------------------------------------- */

.story-bar {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border-default);
  background: var(--color-paper-white);
  box-shadow: 0 -8px 28px rgba(18, 63, 59, 0.16);
  transform: translateY(100%);
  transition: transform var(--dur-component) var(--ease-out);
}

.story-bar.is-visible { transform: translateY(0); }

.story-bar__row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
}

.story-bar__story {
  display: block;
  font-family: var(--font-display-family);
  font-size: 1.15rem;
  color: var(--color-text-strong);
}

.story-bar__price {
  display: block;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.story-bar__panel { padding-top: var(--space-2); }

.story-bar__title {
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  color: var(--color-text-strong);
  margin-bottom: var(--space-1);
}

.story-bar__links {
  display: grid;
  gap: 2px;
  margin: 0 0 var(--space-2);
  padding: 0;
  list-style: none;
}

.story-bar__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--color-border-default);
  color: var(--color-text-strong);
  font-weight: 600;
}

.story-bar__close {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-small);
  background: var(--color-island-ivory);
  font: inherit;
  font-weight: 600;
  color: var(--color-text-strong);
  cursor: pointer;
}

/* The bar is a phone affordance only. */
@media (min-width: 901px) {
  .story-bar { display: none !important; }
}

/* --------------------------------------------------------------------------
   38.14 Master form modal
   -------------------------------------------------------------------------- */

.story-form__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(620px, calc(100% - var(--space-4)));
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: var(--space-5);
  border-radius: var(--radius-card);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-float);
  translate: -50% -50%;
  opacity: 0;
  scale: 0.98;
  transition: opacity var(--dur-component) var(--ease-out),
              scale var(--dur-component) var(--ease-paper);
}

.story-form.is-open .story-form__card { opacity: 1; scale: 1; }

.story-form__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
}

.story-form__title {
  font-family: var(--font-display-family);
  font-size: var(--font-h2);
  line-height: 1.16;
  color: var(--color-text-strong);
  margin-bottom: var(--space-1);
}

.story-form__lede {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.story-form__group {
  margin: 0 0 var(--space-3);
  padding: 0;
  border: 0;
}

.story-form__legend {
  padding: 0;
  font-weight: 700;
  color: var(--color-text-strong);
  margin-bottom: 4px;
}

.story-form__help {
  font-size: var(--font-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.story-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-2);
}

.story-form__form .field { margin-bottom: var(--space-3); }

.story-form__recap {
  display: grid;
  gap: 0;
  margin: 0 0 var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-medium);
  background: var(--color-island-ivory);
}

.story-form__recap > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  justify-content: space-between;
  padding: 6px 0;
}

.story-form__recap dt {
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.story-form__recap dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text-strong);
  text-align: right;
}

.story-form__note {
  margin-top: var(--space-2);
  font-size: var(--font-small);
  color: var(--color-text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   38.15 Gallery lightbox
   -------------------------------------------------------------------------- */

.lightbox__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1100px, calc(100% - var(--space-4)));
  max-height: 92vh;
  padding: var(--space-4);
  border-radius: var(--radius-card);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-float);
  translate: -50% -50%;
  opacity: 0;
  transition: opacity var(--dur-component) var(--ease-out);
}

.lightbox.is-open .lightbox__card { opacity: 1; }

.lightbox__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 2;
}

.lightbox__figure { margin: 0; }

.lightbox__figure img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-medium);
  background: var(--color-sea-mist);
}

.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: baseline;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  color: var(--color-text-strong);
}

.lightbox__count {
  font-family: var(--font-body-family);
  font-size: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.lightbox__controls {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-3);
}

/* --------------------------------------------------------------------------
   38.16 Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .story-hero__inner,
  .story-synopsis__inner,
  .story-world__stage,
  .fit-layout,
  .config {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Nothing pins once the columns stack — a sticky element in a
     single-column flow just sits on top of the content below it. */
  .story-gallery,
  .synopsis-plate,
  .fit-intro,
  .world-plates,
  .config__summary { position: static; }

  .story-gallery__frame { height: clamp(300px, 46vh, 520px); }

  .world-card { width: min(60%, 300px); margin-top: calc(var(--space-3) * -1); }
}

@media (max-width: 700px) {
  /* Minimum 16px body copy on a phone. */
  .story-panel__best,
  .story-panel__premise,
  .story-price__note,
  .story-price__total,
  .story-price__reassure,
  .story-panel__purchase-note,
  .story-panel__link,
  .fit-card__body,
  .world-entry__body,
  .radio-card__note,
  .field__help,
  .field__error,
  .story-bar__price {
    font-size: 1rem;
  }

  .story-hero { padding-top: calc(var(--header-height) + var(--space-1)); }

  .story-fit__bloom { display: none; }

  /* Mobile trail is "Stories / Clockwise Shell". Hiding Home leaves the
     separator that belonged to the item after it, so that one goes too. */
  .breadcrumb--story .breadcrumb__item--home { display: none; }
  .breadcrumb--story .breadcrumb__item--home + .breadcrumb__item::before { content: none; }
  .breadcrumb--story .breadcrumb__long { display: none; }
  .breadcrumb--story .breadcrumb__short { display: inline; }

  /* The hero opened with a tall empty band above the crumbs on a phone. */
  .story-hero__crumbs { margin-bottom: var(--space-2); }
  .story-hero__frond { width: clamp(140px, 34vw, 220px); top: -2%; }

  .story-gallery__frame { aspect-ratio: 3 / 4; }

  .story-thumb { width: 52px; }

  .story-panel__sticky { padding: var(--space-3); }

  .story-synopsis__body p:first-child::first-letter { font-size: 2.8rem; }

  .world-plate__spiral,
  .world-plate__rings { display: none; }

  .world-card { width: min(76%, 280px); }

  .lightbox__card { padding: var(--space-3); }
  .lightbox__figure img { max-height: 58vh; }
}

/* --------------------------------------------------------------------------
   Reduced motion — every entrance and drift resolves instantly.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .story-gallery__frame img,
  .story-gallery__zoom,
  .story-thumb,
  .fit-card,
  .fit-card::after,
  .world-entry,
  .world-plate__spiral svg,
  .radio-card__body,
  .story-bar,
  .story-form__card,
  .story-form__scrim,
  .lightbox__card,
  .lightbox__scrim {
    transition: none !important;
  }

  .story-bar { transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   37.10 REORDERING BY DRAG
   A grip in the head beside the remove button, where a handle is expected.
   It is the same control for pointer and keyboard, so neither route is
   bolted on beside the other.
   -------------------------------------------------------------------------- */

/* The two card-level controls sit as one cluster, so the head reads as
   title-plus-controls rather than as three separate things. */
.compare-col__controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: -0.4rem -0.4rem 0 0;
}

/* Quiet by default — dots on paper, no chrome. The affordance is the cursor
   and the tooltip; the ring only appears when it is wanted. */
.compare-col__grip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--color-border-strong);
  cursor: grab;
  /* The browser must not claim the gesture for scrolling before the drag
     handler sees it. */
  touch-action: none;
  transition:
    border-color var(--dur-micro) var(--ease-out),
    color var(--dur-micro) var(--ease-out),
    background var(--dur-micro) var(--ease-out);
}

.compare-col__grip svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.compare-col__grip:hover,
.compare-col__grip:focus-visible {
  border-color: var(--color-border-default);
  background: var(--color-sea-mist);
  color: var(--color-text-strong);
}

.compare-col__grip:active { cursor: grabbing; }

/* --- While a column is being dragged --- */

/* The card that is moving leaves the paper and the ones it passes slide out
   of its way. Only the neighbours transition; the dragged card follows the
   pointer directly, so a transition there would make it lag behind. */
.compare-board.is-reordering .compare-col,
.compare-board.is-reordering .compare-slot {
  transition: translate var(--dur-component) var(--ease-paper);
}

.compare-board.is-reordering .compare-col.is-dragging,
.compare-board.is-reordering .compare-slot.is-dragging {
  position: relative;
  z-index: 6;
  rotate: -1.2deg;
  box-shadow: var(--shadow-float);
  cursor: grabbing;
  transition: none;
}

.compare-board.is-reordering .compare-col.is-dragging .compare-col__grip {
  border-color: var(--color-accent-gold);
  background: var(--color-sunset-gold);
  color: var(--color-ocean-ink);
}

/* Nothing inside a card should be selectable while one is in flight. */
.compare-board.is-reordering { user-select: none; }

@media (prefers-reduced-motion: reduce) {
  .compare-board.is-reordering .compare-col,
  .compare-board.is-reordering .compare-slot { transition: none; }

  .compare-board.is-reordering .compare-col.is-dragging,
  .compare-board.is-reordering .compare-slot.is-dragging { rotate: 0deg; }
}

/* --------------------------------------------------------------------------
   38.17 At-a-glance summary band, and the last few fits
   -------------------------------------------------------------------------- */

.story-aeo {
  padding: var(--space-12) 0;
  background: var(--color-sea-mist);
}

.story-aeo__title {
  max-width: 22ch;
  font-family: var(--font-display-family);
  font-size: var(--font-h2);
  line-height: 1.16;
  color: var(--color-text-strong);
  margin-bottom: var(--space-5);
}

.story-aeo__list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  column-gap: var(--space-6);
  margin-top: 0;
}

/* The related pair rides the collection band but takes paper white, so it
   separates from the ivory FAQ above it. */
.stories--related {
  padding: var(--space-12) 0;
  background: var(--color-paper-white);
}

/* Grid children that hold long words or wide tables need an explicit floor,
   or the grid resolves to the content width and the page scrolls sideways. */
.config__form,
.story-bar__labels { min-width: 0; }

.config__actions { margin: 0; }

/* The back-to-top stamp and the mobile purchase bar both sit bottom-right on
   a phone. The stamp lifts clear of the bar while the bar is on screen. */
@media (max-width: 900px) {
  .page-story-details .to-top { bottom: calc(var(--space-12) + env(safe-area-inset-bottom, 0px)); }
}

/* WCAG 2.2 target size: the breadcrumb links on this page are the only
   controls that fell under 24px, so they take a real hit area. */
.breadcrumb--story a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-right: 2px;
}

@media (max-width: 700px) {
  .breadcrumb--story a { min-height: 44px; }
}

/* --------------------------------------------------------------------------
   38.18 DATE PICKER
   Ported from date-picker.html. The interaction design is that prototype's —
   a field that opens a panel, three views (days → months → years), sliding
   month navigation, a today dot, and Today/Clear in the footer.

   Three things changed on the way in:
     1. It is retinted to the Aloha tokens and set in Manrope. The prototype
        was neutral grey in Geist.
     2. The trigger is a real <button> and the day grid is a real grid with
        roving tabindex, so the whole thing works from the keyboard. The
        prototype used <div onclick>, which nothing but a mouse can reach.
     3. The value lives on a hidden <input>, so the surrounding form and the
        journey summary keep reading a plain field.
   -------------------------------------------------------------------------- */

.datepicker {
  position: relative;
  max-width: 20rem;
}

.datepicker__field {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border-default);
  border-radius: var(--radius-small);
  background: var(--color-paper-white);
  font: inherit;
  color: var(--color-text-default);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-micro) var(--ease-out);
}

.datepicker__field:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-paper);
}

.datepicker__field.is-open {
  border-color: var(--color-ocean-ink);
  box-shadow: 0 0 0 3px rgba(18, 63, 59, 0.1);
}

.datepicker__field[aria-invalid="true"] {
  border-color: var(--color-postmark-coral);
  box-shadow: 0 0 0 3px rgba(185, 67, 59, 0.16);
}

.datepicker__icon,
.datepicker__chevron {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
}

.datepicker__icon svg,
.datepicker__chevron svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.datepicker__chevron {
  transition: rotate var(--dur-component) var(--ease-paper);
}

.datepicker__field.is-open .datepicker__chevron { rotate: 180deg; }

.datepicker__value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--color-text-strong);
  font-weight: 600;
}

.datepicker__value.is-empty {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- panel ------------------------------------------------------------- */

.datepicker__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  width: 296px;
  max-width: calc(100vw - var(--space-4));
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  opacity: 0;
  translate: 0 -6px;
  scale: 0.985;
  transform-origin: top left;
  transition: opacity var(--dur-micro) var(--ease-out),
              translate var(--dur-component) var(--ease-paper),
              scale var(--dur-component) var(--ease-paper);
}

.datepicker__panel.is-open { opacity: 1; translate: 0; scale: 1; }

.cal__view { display: none; }
.cal__view.is-active { display: block; }

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-2) 10px;
}

.cal__nav {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--color-border-default);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out),
              border-color var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out);
}

.cal__nav:hover {
  background: var(--color-island-ivory);
  border-color: var(--color-border-strong);
  color: var(--color-text-strong);
}

.cal__nav svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cal__label {
  padding: 5px 10px;
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  font-family: var(--font-display-family);
  font-size: 1.1rem;
  color: var(--color-text-strong);
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out);
}

.cal__label:hover { background: var(--color-island-ivory); }

.cal__rule {
  height: 1px;
  margin: 0 var(--space-2);
  background: var(--color-border-default);
}

.cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 10px 12px 2px;
}

.cal__weekday {
  padding: 4px 0;
  font-size: var(--font-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
}

.cal__grid { padding: 2px 12px 12px; }

.cal__row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}

.cal__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  color: var(--color-text-default);
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out);
}

.cal__day:hover:not(:disabled) {
  background: var(--color-island-ivory);
  color: var(--color-text-strong);
}

.cal__day:disabled {
  color: var(--color-border-default);
  cursor: default;
}

.cal__day--outside { color: var(--color-border-strong); opacity: 0.55; }

.cal__day--today:not(.cal__day--selected) {
  font-weight: 700;
  color: var(--color-text-strong);
}

/* Today keeps the prototype's dot. Selection is a filled chip, so the two
   states never rely on colour alone to tell each other apart. */
.cal__day--today:not(.cal__day--selected)::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-postmark-coral);
  translate: -50% 0;
}

/* Today can fall inside the lead time. When it does it must read as
   unavailable, not as the emphasised default. */
.cal__day--today:disabled {
  font-weight: 400;
  color: var(--color-border-default);
}

.cal__day--today:disabled::after { display: none; }

.cal__day--selected {
  background: var(--color-ocean-ink);
  color: var(--color-text-inverse);
  font-weight: 700;
}

.cal__day--selected:hover:not(:disabled) {
  background: var(--color-deep-lagoon);
  color: var(--color-text-inverse);
}

.cal__cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 12px var(--space-2);
}

.cal__cell {
  padding: 10px 6px;
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  color: var(--color-text-default);
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out);
}

.cal__cell:hover {
  background: var(--color-island-ivory);
  color: var(--color-text-strong);
}

.cal__cell--current { font-weight: 700; color: var(--color-text-strong); }

.cal__cell--selected {
  background: var(--color-ocean-ink);
  color: var(--color-text-inverse);
  font-weight: 700;
}

.cal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--space-2) 12px;
  border-top: 1px solid var(--color-border-default);
}

.cal__action {
  min-height: 32px;
  padding: 4px 6px;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out);
}

.cal__action:hover { color: var(--color-text-strong); }
.cal__action--today { color: var(--color-action-primary); }

/* Month navigation slides in the direction of travel. */
@keyframes calSlideFromRight { from { opacity: 0; translate: 10px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes calSlideFromLeft  { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes calFadeUp         { from { opacity: 0; translate: 0 6px; }  to { opacity: 1; translate: 0 0; } }

.cal__grid.is-next  { animation: calSlideFromRight 180ms var(--ease-out) forwards; }
.cal__grid.is-prev  { animation: calSlideFromLeft  180ms var(--ease-out) forwards; }
.cal__cells.is-fade { animation: calFadeUp         180ms var(--ease-out) forwards; }

/* On a phone the panel is centred under the field rather than pinned to its
   left edge, so it cannot run off the side of a 390px screen. */
@media (max-width: 700px) {
  .datepicker { max-width: none; }
  .datepicker__panel { left: 50%; translate: -50% -6px; transform-origin: top center; }
  .datepicker__panel.is-open { translate: -50% 0; }
  .datepicker__value { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .datepicker__panel,
  .datepicker__chevron,
  .cal__day,
  .cal__cell,
  .cal__nav { transition: none !important; }

  .cal__grid.is-next,
  .cal__grid.is-prev,
  .cal__cells.is-fade { animation: none !important; }
}

/* ==========================================================================
   39. ABOUT / OUR STORY PAGE  (about.html)

   Everything here is scoped under .page-about or an .about-* class, so no
   rule can reach the homepage, the listing or the story details page.

   39.1  Page scope and local tokens
   39.2  Hero — the worktable
   39.3  Definition, origin story, why the mailbox
   39.4  Islands, mission, promise, values
   39.5  Disciplines and the creative process
   39.6  Creating with care, young readers, gift
   39.7  Trust grid, FAQ, at a glance
   39.8  Final scene — manuscript to mailbox
   39.9  Sticky CTA
   39.10 Responsive
   39.11 Reduced motion
   ========================================================================== */

/* --- 39.1 Page scope, desk surface and type ------------------------------- */

/* The whole page is one worktable. v1 alternated ivory / paper-white / dark
   bands, which is what made nineteen sections read as boxes in rows. Here the
   ground is continuous and objects sit ON it; only the islands, trust and
   final bands go full-bleed dark, as punctuation. */

.page-about {
  /* Prose measures. v1 used one 62ch everywhere, which is part of why every
     section looked identical. Each container now picks the one that suits it. */
  --about-measure-tight: 46ch;
  --about-measure-base: 62ch;
  --about-measure-wide: 74ch;
  /* Back-compat alias: 39.4's .about-islands__copy and 39.5's
     .about-process__close still read --about-measure directly and are out of
     scope for this task (edits here are confined to 39.1) — they migrate to
     --about-measure-base explicitly when those subsections are de-boxed. */
  --about-measure: var(--about-measure-base);

  --about-band: clamp(4rem, 9vw, var(--space-14));

  /* Ink and rules for objects sitting on the desk. */
  --desk-ink: rgba(18, 63, 59, 0.72);
  --desk-rule: rgba(18, 63, 59, 0.16);
  --desk-rule-strong: rgba(18, 63, 59, 0.32);

  /* Light comes from the top-left, matching the hero's gold wash, so every
     object on the desk casts the same way. v1's uniform --shadow-paper glow
     is what made the cards read as flat rectangles rather than paper. */
  --paper-lift-sm: 2px 3px 6px rgba(18, 63, 59, 0.10);
  --paper-lift-md: 4px 7px 16px rgba(18, 63, 59, 0.13);
  --paper-lift-lg: 8px 14px 34px rgba(18, 63, 59, 0.17);

  background-color: var(--color-island-ivory);
  background-image:
    /* Warmth pooling under the light source, anchored to the page (not the
       viewport — see note below) so it sits near the hero, matching the
       hero's own gold wash, rather than recurring in the same viewport
       corner on every scroll position of a page that runs several thousand
       pixels tall. */
    radial-gradient(120% 80% at 12% 0%, rgba(213, 162, 59, 0.10), transparent 58%),
    radial-gradient(90% 60% at 92% 30%, rgba(85, 117, 90, 0.06), transparent 60%),
    /* Paper tooth: two fine crosshatches at non-integer sizes so the pattern
       never lines up with the pixel grid and never moires. CSS only — no image
       request, resolution independent. Alphas raised from the spec's 0.018 /
       0.014 (which blend to a ~3-4/255 delta against --color-island-ivory —
       under typical screen JND, i.e. invisible) to 0.05 / 0.035 (~9-11/255),
       enough to read as grain without competing with content. */
    repeating-linear-gradient(53deg, rgba(18, 63, 59, 0.05) 0 1px, transparent 1px 3.5px),
    repeating-linear-gradient(-37deg, rgba(18, 63, 59, 0.035) 0 1px, transparent 1px 4.5px);
  /* No background-attachment: fixed. This stylesheet never uses it (grep
     confirms zero prior occurrences) and it would flip what "12% 0%" means —
     without it, background-position on this body-level background resolves
     against the full page canvas, so 0% vertical sits at the physical page
     top, next to the hero, once. With fixed it resolves against the
     viewport, so the warm corner would reappear pinned in the same screen
     position on every scroll frame for the rest of a very long page — wrong
     for a light source "matching the hero's gold wash", and a known source
     of iOS Safari repaint jank on tall pages besides. */
}

/* Bands no longer paint their own ground — the desk shows through. The three
   dark sections opt back in individually. */
.about-band {
  position: relative;
  padding-block: var(--about-band);
  overflow: hidden; /* rotated objects must not reach the viewport edge */
  background: none;
}

.about-band__inner { position: relative; z-index: var(--z-content); }

.about-art {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: var(--z-foliage-back);
}

/* --- paper objects ------------------------------------------------------- */

/* Anything on the desk that is meant to be a piece of paper. Corners are
   small and deliberately uneven — paper does not have a uniform 20px radius. */
.paper {
  position: relative;
  background: var(--color-paper-white);
  border-radius: 2px 3px 2px 4px;
  box-shadow: var(--paper-lift-md);
}

.paper--tint-a { background: #FBF7ED; }
.paper--tint-b { background: #F5EFE1; }
.paper--tint-c { background: #FDF3E4; }

/* Hairline rules replace every card border the redesign removes. */
.rule { border: 0; border-top: 1px solid var(--desk-rule); margin: 0; }

/* --- editorial type ------------------------------------------------------ */

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: 3.4em;
  line-height: 0.82;
  padding-right: 0.08em;
  margin-top: 0.06em;
  color: var(--color-postmark-coral);
}

/* Where a number is the point, it is set as one. */
.figure-number {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--color-ocean-ink);
  display: block;
}

.about-prose > p {
  max-width: var(--about-measure-base);
  font-size: var(--font-body);
  line-height: 1.75;
  color: var(--color-text-default);
}

.about-prose > p + p { margin-top: var(--space-3); }

/* --- 39.2 Hero — the worktable ------------------------------------------- */

.about-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, var(--space-8)) var(--about-band);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(213, 162, 59, 0.16), transparent 62%),
    linear-gradient(180deg, var(--color-paper-white) 0%, var(--color-island-ivory) 100%);
}

.about-hero__crumbs { position: relative; z-index: var(--z-content); }

.about-hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: clamp(2rem, 4vw, var(--space-8));
  align-items: center;
  margin-top: var(--space-4);
}

/* An absolutely-positioned sibling would otherwise paint over this: unpositioned
   in-flow content stacks below positioned descendants regardless of z-index,
   so the copy column needs its own layer to sit above the worktable's foliage. */
.about-hero__copy {
  position: relative;
  z-index: var(--z-content);
}

.about-hero__title {
  font-family: var(--font-display-family);
  font-weight: 400;          /* Instrument Serif ships one weight */
  font-size: var(--font-h1);
  line-height: 1.16;
  color: var(--color-text-strong);
  margin-block: var(--space-2) var(--space-3);
  text-wrap: balance;
}

.about-hero__lede {
  font-size: var(--font-body-large);
  line-height: 1.6;
  color: var(--color-text-default);
  max-width: 46ch;
}

.about-hero__sub {
  margin-top: var(--space-2);
  font-size: var(--font-body);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 48ch;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.about-hero__accent {
  margin-top: var(--space-4);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-style: italic;
  font-size: var(--font-h3);
  line-height: 1.30;
  color: var(--color-deep-lagoon);
}

.about-hero__trust {
  margin-top: var(--space-1);
  font-size: var(--font-small);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

/* --- the stage --- */

.about-hero__stage {
  position: relative;
  aspect-ratio: 560 / 620;
}

.about-hero__desk { display: block; width: 100%; height: auto; }

/* Every parallax layer reads --px / --py, written by initAboutHeroScene.
   The fallback keeps the composition correct with JS off. */
[data-about-layer] {
  --px: 0px;
  --py: 0px;
  transform: translate3d(var(--px), var(--py), 0);
  will-change: transform;
}

.about-desk__sheet {
  fill: var(--color-paper-white);
  stroke: rgba(18, 63, 59, 0.18);
  stroke-width: 1;
  filter: drop-shadow(0 10px 22px rgba(18, 63, 59, 0.10));
}
.about-desk__sheet--back { fill: #F3EEE2; }
.about-desk__sheet--mid  { fill: #F8F4EA; }

.about-desk__rule   { stroke: rgba(94, 104, 100, 0.42); stroke-width: 2; stroke-linecap: round; }
.about-desk__strike { stroke: var(--color-postmark-coral); stroke-width: 2; stroke-linecap: round; opacity: 0.7; }

.about-desk__card       { fill: var(--color-island-ivory); stroke: rgba(18, 63, 59, 0.2); stroke-width: 1; }
.about-desk__sketch     { stroke: var(--color-deep-lagoon); stroke-width: 2; stroke-linecap: round; fill: none; }
.about-desk__sketch-dot { fill: var(--color-sunset-gold); }

.about-desk__route {
  stroke: var(--color-postmark-coral);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;      /* fallback: fully drawn with JS off */
  fill: none;
  opacity: 0.55;
}

.about-desk__env-body  { fill: var(--color-warm-sand); }
.about-desk__env-flap  { fill: #DCC5A2; }
.about-desk__env-fold  { stroke: rgba(18, 63, 59, 0.22); stroke-width: 1.5; fill: none; }
.about-desk__letter    { fill: var(--color-paper-white); transform: translateY(0); }
.about-desk__letter rect { fill: var(--color-paper-white); stroke: rgba(18, 63, 59, 0.16); stroke-width: 1; }
.about-desk__letter-rule { stroke: rgba(94, 104, 100, 0.4); stroke-width: 2; stroke-linecap: round; }

.about-desk__stamp-paper { fill: var(--color-shell-blush); }
.about-desk__stamp-perf  { stroke: var(--color-paper-white); stroke-width: 3; stroke-dasharray: 5 5; fill: none; }
.about-desk__stamp-art   { fill: var(--color-palm); }
.about-desk__stamp-sun   { fill: var(--color-sunset-gold); }

.about-desk__postmark { stroke: var(--color-ocean-ink); stroke-width: 2; fill: none; opacity: 0; }
.about-desk__postmark circle,
.about-desk__postmark path { stroke-dasharray: 1; stroke-dashoffset: 1; }

.about-desk__pencil     { fill: var(--color-sunset-gold); }
.about-desk__pencil-tip { fill: var(--color-ocean-ink); }

.about-hero__packet {
  position: absolute;
  right: -4%;
  bottom: 6%;
  width: 46%;
  margin: 0;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  rotate: 3deg;
}
.about-hero__packet img { display: block; width: 100%; height: auto; }

.about-hero__seal {
  position: absolute;
  left: 44%;
  bottom: 18%;
  width: clamp(3.5rem, 8vw, 5.5rem);
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 6px 14px rgba(18, 63, 59, 0.22));
}

.about-hero__frond  { top: -6%; right: -4%; width: clamp(9rem, 22vw, 20rem); height: auto; opacity: var(--foliage-hero); }
.about-hero__shadow { left: -8%; top: 12%;  width: clamp(12rem, 34vw, 30rem); height: auto; opacity: var(--foliage-shadow); mix-blend-mode: multiply; }
.about-hero__ginger { left: -10%; bottom: -6%; width: clamp(6rem, 14vw, 12rem); height: auto; }
.about-hero__bloom  { right: -8%; top: -2%;   width: clamp(7rem, 18vw, 15rem); height: auto; }

/* Once-only entrance states. initAboutHeroScene adds .is-played. */
.about-hero__stage .about-desk__letter { transform: translateY(0); transition: transform var(--dur-narrative) var(--ease-paper); }
.about-hero__stage.is-played .about-desk__letter { transform: translateY(-8px); }
.about-hero__stage.is-played .about-desk__postmark { opacity: 1; }

/* --- 39.3 The franked card, the letter, the postcard fan ------------------ */

/* An index card pinned to the desk, franked like something that arrived.
   The rotation is visual only — DOM order and reading order are unaffected. */
.about-card {
  position: relative;
  max-width: 62ch;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, var(--space-6)) clamp(1.75rem, 4vw, var(--space-5));
  background: var(--color-paper-white);
  border-radius: 2px 3px 2px 4px;
  box-shadow: var(--paper-lift-lg);
  rotate: -0.6deg;
}

.about-card__stamp {
  position: absolute;
  top: -0.9rem;
  right: 1.5rem;
  width: clamp(3rem, 7vw, 4.25rem);
  height: auto;
  rotate: 4deg;
  filter: drop-shadow(1px 2px 3px rgba(18, 63, 59, 0.2));
  pointer-events: none;
}

.about-card__postmark {
  position: absolute;
  top: 0.4rem;
  right: 5.5rem;
  width: clamp(3.5rem, 8vw, 5rem);
  height: auto;
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 2.5;
  opacity: 0.36;
  rotate: -12deg;
  pointer-events: none;
}

.about-card__q {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h3);
  color: var(--color-text-strong);
  max-width: 22ch;
}

.about-card__a {
  margin-top: var(--space-2);
  font-size: var(--font-body-large);
  line-height: 1.6;
  color: var(--color-text-default);
  max-width: var(--about-measure-base);
}

.about-card__note {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--desk-rule);
  font-size: var(--font-body);
  color: var(--color-text-muted);
  max-width: var(--about-measure-base);
}

/* --- the origin letter --- */

.about-letter {
  position: relative;
  max-width: 74rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, var(--space-8));
  background: var(--color-paper-white);
  border-radius: 2px;
  box-shadow: var(--paper-lift-lg);
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
  gap: clamp(1.5rem, 4vw, var(--space-6));
  align-items: start;
}

/* The turned-up corner. Two triangles: the page's own edge, and the
   underside catching light. Pointer-events are off — this sits over the
   letter's last content (the CTA button, at the bottom-right of the body
   column) at narrow widths, and must never intercept its clicks. */
.about-letter__fold {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(315deg, var(--color-island-ivory) 50%, transparent 50%);
  box-shadow: -2px -2px 5px rgba(18, 63, 59, 0.12);
  pointer-events: none;
}

.about-letter__head { grid-column: 1; }
.about-letter__body { grid-column: 2; grid-row: 1 / span 2; }

.about-letter__body > p { max-width: var(--about-measure-wide); }

.about-note { grid-column: 1; margin-top: var(--space-4); }

.about-note__text {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-style: italic;
  font-size: var(--font-h3);
  line-height: 1.22;
  color: var(--color-deep-lagoon);
}

.about-note__underline {
  display: block;
  width: 100%;
  max-width: 15rem;
  height: 0.75rem;
  margin-top: 0.25rem;
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Carried over unchanged: the closing line inside the letter body still
   wants the same display-serif emphasis it had in the v1 box, and the
   decorative bloom art is still a direct child of #about-origin, outside
   the .about-letter object rebuilt above — neither selector was part of
   this task's markup change, so neither rule moved. */
.about-origin__close {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h3);
  line-height: 1.3;
  color: var(--color-text-strong);
}

.about-origin__bloom { left: -6%; bottom: 4%; width: clamp(6rem, 16vw, 13rem); height: auto; opacity: var(--foliage-quiet); }

/* --- why the mailbox --- */

.about-mail { background: var(--color-island-ivory); }
.about-mail__sub { margin-top: var(--space-3); }

/* Four postcards spread on the desk. Genuine overlap, not a simulated one:
   a plain 4-up grid with a gap would keep every card in its own track, so
   the rotate/translate below would only ever nudge four separated boxes —
   sloppy, not spread mail. Instead the grid runs with no gap and every
   card after the first is pulled left with a negative margin, so its box
   truly overlaps the previous card's box. DOM order stays reading order,
   and because none of these positioned siblings carries a z-index, normal
   painting order applies: each later card paints over the one before it,
   so the fan reads left-to-right exactly as the markup does. Every card
   is inside .about-band's overflow: hidden, so no rotated bounding box
   can reach the viewport edge. */
.about-fan {
  list-style: none;
  margin: var(--space-8) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.about-fan__card {
  padding: clamp(1.25rem, 3vw, var(--space-4));
  padding-top: var(--space-5);
}

/* The overlap itself. Chosen so it never exceeds the card's own padding at
   any width from 320 to 1440 — the overlap always lands on the paper
   underneath, never on that paper's text. See the CSS-quantities table in
   the task report for the padding-vs-overlap numbers this was checked
   against at 1024px and 1440px. */
.about-fan__card + .about-fan__card { margin-left: clamp(-1.25rem, -1.8vw, -0.75rem); }

/* Each card sits at its own angle and depth, so the group reads as spread
   mail rather than a row. Set here rather than with per-item style attributes. */
.about-fan__card:nth-child(1) { rotate: -2.4deg; translate: 0 0.5rem; }
.about-fan__card:nth-child(2) { rotate: 1.3deg;  translate: 0 -0.75rem; }
.about-fan__card:nth-child(3) { rotate: -0.8deg; translate: 0 0.9rem; }
.about-fan__card:nth-child(4) { rotate: 2.1deg;  translate: 0 -0.4rem; }

.about-fan__card:nth-child(even) { box-shadow: var(--paper-lift-lg); }

/* A franking corner, so each reads as postal stationery. */
.about-fan__corner {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.75rem;
  height: 2.1rem;
  border: 1.5px dashed var(--desk-rule-strong);
  border-radius: 1px;
  pointer-events: none;
}

.about-fan__card h3 {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  line-height: 1.30;
  color: var(--color-text-strong);
  margin-bottom: var(--space-1);
}

.about-fan__card p {
  font-size: var(--font-body);
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* The reusable visible-answer block, used again in sections 12 and 19. */
.about-answer {
  margin-top: calc(var(--space-8) + var(--space-5));
  max-width: 72ch;
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--color-postmark-coral);
  background: var(--color-paper-white);
  border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
}

.about-answer__q {
  font-family: var(--font-body-family);
  font-weight: 600;
  font-size: var(--font-body);
  color: var(--color-text-strong);
}

.about-answer__a { margin-top: var(--space-1); font-size: var(--font-body); line-height: 1.7; color: var(--color-text-default); }

/* --- 39.4 Islands, mission, promise, values ------------------------------ */

.about-islands {
  position: relative;
  isolation: isolate;
  color: var(--color-text-inverse);
  background: var(--color-ocean-ink);
}

.about-islands__wash { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.about-islands__wash img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }

/* The scrim is what makes the copy legible, not the image opacity alone. */
.about-islands::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 63, 59, 0.86) 0%, rgba(18, 63, 59, 0.94) 100%);
}

.about-islands > .container { z-index: var(--z-content); }

/* The drift itself comes from the existing [data-sway='shadow-slow'] rule in
   section 34 — this only places and dims it. */
.about-islands__shadow {
  right: -6%;
  top: 8%;
  width: clamp(10rem, 26vw, 24rem);
  height: auto;
  z-index: 1;
  opacity: 0.28;
}

.about-islands__copy { max-width: var(--about-measure); margin-top: var(--space-4); }
.about-islands__copy p { font-size: var(--font-body); line-height: 1.75; color: rgba(255, 253, 248, 0.86); }
.about-islands__copy p + p { margin-top: var(--space-3); }

.about-islands__highlight {
  margin-top: var(--space-6);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-style: italic;
  font-size: var(--font-h2);
  line-height: 1.15;
  color: var(--color-warm-sand);
  max-width: 20ch;
}

/* A coastline sketch drawn low in the band. Its own stacking context
   (z-index: 0) sits below .about-journal's (z-index: 1, immediately
   below), so even where the two occupy the same vertical space the
   entries always paint over the contour line, never the other way round —
   a plain relative/static ordering isn't enough here because .about-band's
   other absolutely-positioned decoration in this section (the wash, the
   scrim, the palm shadow) already forces this element into a positioned,
   explicit-z-index world. */
.about-journal__contour {
  position: absolute;
  inset-inline: 0;
  bottom: 12%;
  width: 100%;
  height: clamp(6rem, 16vw, 12rem);
  z-index: 0;
  fill: none;
  stroke: var(--color-warm-sand);
  stroke-width: 1.5;
  opacity: 0.34;
  pointer-events: none;
}

.about-journal {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: var(--space-8) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, var(--space-4));
}

/* A staircase down and to the right, each entry taped to the page. */
.about-journal__entry {
  position: relative;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(233, 214, 184, 0.44);
}

.about-journal__entry:nth-child(2) { margin-top: var(--space-4); }
.about-journal__entry:nth-child(3) { margin-top: var(--space-8); }
.about-journal__entry:nth-child(4) { margin-top: calc(var(--space-8) + var(--space-4)); }

/* Torn tape holding the entry down. Sits from -0.6rem to +0.55rem above
   the entry's own top edge — entirely inside the border-top rule and the
   gap above it, never reaching the h3 (which starts var(--space-3), 1.5rem/
   24px, below that same edge). It never sits over any text. */
.about-journal__tape {
  position: absolute;
  top: -0.6rem;
  left: 1.25rem;
  width: 3.25rem;
  height: 1.15rem;
  background: rgba(247, 242, 232, 0.34);
  border-inline: 1px dashed rgba(247, 242, 232, 0.5);
  rotate: -6deg;
  pointer-events: none;
}

.about-journal__entry h3 {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  color: var(--color-warm-sand);
  margin-bottom: var(--space-1);
}

.about-journal__entry p {
  font-size: var(--font-body);
  line-height: 1.7;
  color: rgba(255, 253, 248, 0.84);
}

/* --- mission --- */

.about-mission { background: var(--color-deep-lagoon); color: var(--color-text-inverse); text-align: center; }
.about-mission__inner { max-width: 60rem; margin-inline: auto; }

/* Gold on deep lagoon computes to 2.89:1. Warm sand clears AA on this
   band without changing .eyebrow--inverse, which is correct on the
   darker ocean-ink grounds elsewhere on the page. */
.about-mission .eyebrow { color: var(--color-warm-sand); }

.about-mission__title {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h1);
  line-height: 1.16;
  color: var(--color-paper-white);
  margin-block: var(--space-2) var(--space-3);
  text-wrap: balance;
}

.about-mission__lede { font-size: var(--font-body-large); line-height: 1.6; color: rgba(255, 253, 248, 0.92); }
.about-mission__sub  { margin-block: var(--space-3) var(--space-4); font-size: var(--font-body); line-height: 1.7; color: rgba(255, 253, 248, 0.8); }

/* --- promise --- */

.about-promise { background: var(--color-paper-white); }

/* The six promise cards became the tag rail — see §39.13/§39.15. The
   grid, card and title rules that used to live here are gone outright,
   not merely renamed; §39.10's responsive block still names them
   (.about-promise__list, .about-promise__item:nth-child(3n + 2),
   .about-promise__item p) and is out of scope for this task. */

/* --- values --- */

.about-values { background: var(--color-island-ivory); }

/* --- the scrap board ----------------------------------------------------- */

/* Five notes pinned to a board. Sizes and angles are genuinely uneven —
   five equal cards is exactly what this section is not. Rotation is visual
   only; the DOM order is the reading order. */
.about-board {
  list-style: none;
  margin: var(--space-8) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, var(--space-5));
  align-items: start;
}

.about-scrap {
  position: relative;
  padding: clamp(1.25rem, 3vw, var(--space-4));
  padding-top: var(--space-5);
}

.about-scrap:nth-child(1) { grid-column: 1 / span 5; rotate: -1.4deg; }
.about-scrap:nth-child(2) { grid-column: 6 / span 7; rotate: 0.8deg; }
.about-scrap:nth-child(3) { grid-column: 2 / span 4; rotate: 1.9deg; margin-top: var(--space-3); }
.about-scrap:nth-child(4) { grid-column: 6 / span 3; rotate: -2.2deg; }
.about-scrap:nth-child(5) { grid-column: 9 / span 4; rotate: 1.1deg; margin-top: var(--space-4); }

/* The one dark note. It is the section's anchor, so it is also the largest. */
.about-scrap--feature {
  background: var(--color-ocean-ink);
  color: var(--color-text-inverse);
  border-radius: 2px 3px 2px 4px;
  box-shadow: var(--paper-lift-lg);
  padding: clamp(1.75rem, 4vw, var(--space-6));
}

.about-scrap h3 {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h3);
  line-height: 1.16;
  color: var(--color-text-strong);
  margin-bottom: var(--space-2);
}

.about-scrap--feature h3 { color: var(--color-warm-sand); }

.about-scrap p { font-size: var(--font-body); line-height: 1.7; color: var(--color-text-muted); }
.about-scrap--feature p { color: rgba(255, 253, 248, 0.86); }

/* Three fastenings, so the board does not read as a template. */
.about-scrap__pin {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  translate: -50% 0;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #E2695C, var(--color-postmark-coral) 62%, #7E2B26);
  box-shadow: 1px 2px 4px rgba(18, 63, 59, 0.34);
}

.about-scrap__tape {
  position: absolute;
  top: -0.55rem;
  left: 1.5rem;
  width: 4rem;
  height: 1.3rem;
  background: rgba(213, 162, 59, 0.24);
  border-inline: 1px dashed rgba(213, 162, 59, 0.44);
  rotate: -5deg;
}

.about-scrap__clip {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  width: 1rem;
  height: 2.4rem;
  border: 2px solid var(--color-muted-ink);
  border-radius: 6px 6px 2px 2px;
  border-bottom-color: transparent;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   38.19 Two-step order flow
   Step one is three choices on the page. Step two is the modal, which asks
   only for the things step one could not know — name, email, phone, message —
   and restates what was already chosen with a way to correct it.
   -------------------------------------------------------------------------- */

.config__steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  margin: calc(var(--space-4) * -1) 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.config__step {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-pill);
  background: var(--color-paper-white);
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.config__step b {
  font-size: var(--font-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* The current step carries a filled marker as well as its colour. */
.config__step.is-current {
  border-color: var(--color-postmark-coral);
  background: rgba(247, 222, 210, 0.5);
  color: var(--color-text-strong);
}

.config__step.is-current b { color: var(--color-action-primary); }

.story-form__step {
  font-size: var(--font-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-action-primary);
  margin-bottom: var(--space-1);
}

.story-form__chosen {
  display: grid;
  gap: 0;
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-warm-sand);
  border-radius: var(--radius-medium);
  background: var(--color-island-ivory);
}

.story-form__chosen > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
}

.story-form__chosen > div + div { border-top: 1px solid var(--color-border-default); }

.story-form__chosen dt {
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.story-form__chosen dd {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: baseline;
  margin: 0;
  font-weight: 600;
  color: var(--color-text-strong);
  text-align: right;
}

.story-form__edit {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-action-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.story-form__edit:hover { color: var(--color-action-primary); }

/* --- 39.5 Disciplines and the creative process --------------------------- */

.about-disciplines { background: var(--color-paper-white); }

/* --- the worktable -------------------------------------------------------- */

/* Named .about-tools, not .about-desk — the hero scene already owns the
   about-desk__* namespace for its illustrated desk (about-desk__manuscript,
   __letter, __pencil, __postmark, __route, and more, ~14915-14992 above).
   .about-desk__pencil already exists there (fill: var(--color-sunset-gold)),
   and this section draws its own pencil icon for "Editing" — colliding on
   that one name would have painted this icon's stroke gold instead of the
   coral this task actually wants. The only thing that prevented it here was
   that the icon's <path>/<circle> elements carry no class of their own;
   .about-tools avoids depending on that. */

.about-tools { margin-top: var(--space-8); }

.about-tools__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.25rem, 3vw, var(--space-5));
}

.about-tools__item {
  padding-top: var(--space-3);
  border-top: 2px solid var(--color-sea-mist);
}

.about-tools__name {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  color: var(--color-text-strong);
}

.about-tools__icon {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
}

.about-tools__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-deep-lagoon);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-tools__toggle:hover .about-tools__icon svg,
.about-tools__toggle:focus-visible .about-tools__icon svg { stroke: var(--color-postmark-coral); }

/* The red-pen editorial convention — the one icon the brief names a colour
   for. Ties the base .about-tools__icon svg rule's specificity (0,1,1) and
   wins on source order, same tiebreak the rest of this stylesheet's viewport
   overrides already rely on. The hover/focus rule above is (0,3,1) and still
   wins over this on interaction, so the pencil brightens to the shared hover
   coral like every other tool — only its resting colour is distinct.
   --color-postmark-coral-hover (#98352F), not the lighter
   --color-postmark-coral, per this page's own convention for coral on a
   light ground. */
.about-tools__icon--pencil svg { stroke: var(--color-postmark-coral-hover); }

.about-tools__item p {
  padding-top: var(--space-2);
  font-size: var(--font-body);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about-disciplines__trust {
  margin-top: var(--space-6);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-style: italic;
  font-size: var(--font-h3);
  color: var(--color-deep-lagoon);
  max-width: 34ch;
}

/* --- process — the six stages as stations on the route ------------------- */

.about-process { background: var(--color-island-ivory); }

/* Six stops the page-wide route bends through. The old local timeline SVG is
   gone — one line does the whole page now. */
.about-stations {
  list-style: none;
  counter-reset: none;
  margin: var(--space-9) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, var(--space-3));
}

.about-station {
  position: relative;
  padding-top: 5.5rem;
  opacity: 1;                      /* fallback: visible with JS off */
}

/* Alternating lift, so the six stations sit on a wave rather than a rule. All
   six carry data-route-stop (about.html), so this is also the route's own
   geometry: a period-2 alternating sequence, baseline/+40px/baseline/... For
   any interior stop in a sequence like that, the two neighbours two
   positions away share the same y, so (p2.y - p0.y) collapses to 0 in
   shape()'s Catmull-Rom term (script.js, initAboutRoute) and each control
   point's y lands exactly on an endpoint's y — the curve is bounded between
   the two heights by the convex-hull property of a cubic Bézier, on every
   segment, with no overshoot. Fix round 1 of the task-7 report has the
   sampled per-segment proof. */
.about-station:nth-child(even) { margin-top: var(--space-5); }

.about-station__index {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1;
  /* Fix round 1: --color-postmark-coral at 0.42 opacity measured 1.77:1
     against the composited desk ground — nowhere near the 3:1 floor for
     large text, let alone 4.5:1. Swapped to the existing darker
     --color-postmark-coral-hover token at full opacity: 5.68:1 against the
     worst-case tinted ground, 6.52:1 against bare ivory (task-7 report has
     the arithmetic). No new colour introduced. */
  color: var(--color-postmark-coral-hover);
}

.about-station__object {
  position: absolute;
  top: 0.25rem;
  left: 2.6rem;
  width: 2.9rem;
  height: 2.9rem;
  pointer-events: none;
}

.about-station__object svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-deep-lagoon);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-station h3 {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  line-height: 1.15;
  color: var(--color-text-strong);
  margin-bottom: var(--space-1);
}

.about-station p { font-size: var(--font-small); line-height: 1.65; color: var(--color-text-muted); }

/* The staged reveal, armed only by script — with JS off nothing is hidden. */
.about-process.is-running .about-station { opacity: 0; transform: translateY(14px); }

.about-process.is-running .about-station.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-component) var(--ease-out),
              transform var(--dur-component) var(--ease-out);
}

.about-process__close {
  margin-top: var(--space-8);
  max-width: var(--about-measure);
  font-size: var(--font-body-large);
  line-height: 1.6;
  color: var(--color-text-default);
}

/* --- 39.6 Creating with care, young readers, gift ------------------------ */

/* Deliberately the plainest section on the page. No paper object, no tint,
   no shadow — the cultural-care commitments should not be dressed up. */
.about-memo { max-width: 54rem; margin-inline: auto; }

/* The global .eyebrow color (--color-postmark-coral) measures 4.172:1 against
   the desk's worst-case composited ground (~#EAE3CF, ivory + the two §39.1
   radial washes at peak strength) — below the 4.5:1 AA floor for normal
   text now that this band no longer paints its own --color-warm-sand
   background and the desk ground shows through instead.
   --color-postmark-coral-hover measures 5.680:1 against that same tinted
   ground. Precedent: .about-mission .eyebrow at the deep-lagoon band solves
   the same problem the same way, without touching the global .eyebrow or
   .eyebrow--inverse. */
.about-care .eyebrow { color: var(--color-postmark-coral-hover); }

.about-memo__intro {
  margin-top: var(--space-3);
  margin-bottom: var(--space-5);
  max-width: var(--about-measure-base);
  font-size: var(--font-body-large);
  line-height: 1.65;
  color: var(--color-text-default);
}

.about-memo__list { margin: 0; }

.about-memo__list > div {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--desk-rule);
}

.about-memo__list dt {
  font-family: var(--font-body-family);
  font-weight: 700;
  font-size: var(--font-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-deep-lagoon);
  padding-top: 0.2em;
}

.about-memo__list dd {
  margin: 0;
  max-width: var(--about-measure-base);
  font-size: var(--font-body);
  line-height: 1.75;
  color: var(--color-text-default);
}

/* --- young readers --- */

.about-young { position: relative; }
.about-young__bloom { right: -6%; top: -4%; width: clamp(8rem, 22vw, 18rem); height: auto; opacity: var(--foliage-mid); }

.about-young__grid {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  gap: clamp(1.5rem, 4vw, var(--space-8));
  align-items: center;
}

.about-young__highlight {
  margin-block: var(--space-4);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-style: italic;
  font-size: var(--font-h3);
  line-height: 1.25;
  color: var(--color-deep-lagoon);
}

.about-openletter { max-width: 22rem; margin-inline: auto; pointer-events: none; }
.about-openletter svg { display: block; width: 100%; height: auto; }

.about-openletter__sheet {
  fill: var(--color-paper-white);
  stroke: var(--desk-rule);
  stroke-width: 1.5;
  filter: drop-shadow(4px 7px 16px rgba(18, 63, 59, 0.14));
}

.about-openletter__rule { stroke: rgba(94, 104, 100, 0.36); stroke-width: 2; stroke-linecap: round; fill: none; }
.about-openletter__crease { stroke: var(--desk-rule); stroke-width: 1; fill: none; }

/* Spans both grid tracks so the four notes sit as one wide strip under the
   copy and the letter, rather than auto-placing into just the first (52fr)
   column beneath the copy and leaving the second column's row empty next
   to nothing — the brief's markup gives .about-openletter and .about-notes
   as flat siblings of .about-young__copy with no shared wrapper, and plain
   grid auto-placement (row flow) would otherwise drop the third child under
   the first column only. */
.about-notes {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

/* Margin notes, not cards: a rule down one side, no box. */
.about-notes__item {
  padding-left: var(--space-3);
  border-left: 2px solid var(--color-shell-blush);
}

.about-notes__item h3 {
  font-family: var(--font-body-family);
  font-weight: 700;
  font-size: var(--font-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* --color-postmark-coral-hover measures 5.680:1 against the desk's
     worst-case composited ground — same token, same reasoning as
     .about-care .eyebrow above. */
  color: var(--color-postmark-coral-hover);
  margin-bottom: var(--space-1);
}

.about-notes__item p { font-size: var(--font-body); line-height: 1.65; color: var(--color-text-default); }

/* --- gift --- */

.about-gift__grid {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(1.5rem, 4vw, var(--space-8));
  align-items: center;
}

.about-gift__media { margin: 0; }
.about-gift__media img { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(18, 63, 59, 0.18)); }

.about-gift__figure { margin-block: var(--space-4) var(--space-3); }

.about-gift__figure-label {
  display: block;
  margin-top: var(--space-1);
  max-width: var(--about-measure-tight);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  line-height: 1.25;
  color: var(--color-text-strong);
}

.about-gift__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Responsive rules for this subsection's own new classes live here rather
   than in §39.10 — Task 10 is rewriting that section and would clobber
   anything landed there in the meantime (same reasoning §39.13 and §39.14
   already document for the tag rail and the scrap board). None of these
   selectors are named anywhere in §39.10, so there is no specificity or
   source-order conflict with the rules already there.

   The 11rem term column itself never crushes at tablet widths (700-1024px):
   minmax(0, 11rem) only ever grants up to 176px regardless of viewport, and
   .about-memo's available width at those breakpoints is comfortably wider
   than 176px + the gap + a readable .about-memo__list dd column — the same
   two-column shape the pre-redesign .about-care__row used unchanged across
   that same range. It only needs to collapse below 700px, same as every
   other two-column list on this page. */
@media (max-width: 700px) {
  .about-memo__list > div { grid-template-columns: 1fr; gap: var(--space-1); }
  .about-notes { grid-template-columns: 1fr; }
}

/* --- 39.7 The postal form, the FAQ, the postcard back -------------------- */

/* Band ground. Not part of the brief's replacement listing for this
   subsection, but still required — .about-form's rgba wash is composited
   against it (see the report's ground derivation) and nothing else in this
   file sets it. Dropping it would leave the band transparent. Unchanged
   from the pre-redesign rule. */
.about-trust { background: var(--color-ocean-ink); color: var(--color-text-inverse); }

/* One sheet, six ticked lines, a rubber stamp. The v1 version was six dark
   cards in a grid, which said nothing about what the section is. */
.about-form {
  position: relative;
  max-width: 60rem;
  margin: var(--space-6) auto 0;
  padding: clamp(1.75rem, 4vw, var(--space-6));
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(233, 214, 184, 0.34);
  border-radius: 2px;
}

.about-form__stamp {
  position: absolute;
  top: clamp(1rem, 3vw, var(--space-4));
  right: clamp(1rem, 3vw, var(--space-4));
  padding: 0.35rem 0.8rem;
  border: 2.5px solid var(--color-soft-coral);
  border-radius: 3px;
  font-family: var(--font-body-family);
  font-weight: 700;
  font-size: var(--font-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  /* Fix round 1: --color-soft-coral fails 4.5:1 against the composited
     form ground even at full opacity (3.287:1) and cannot be rescued by
     the 0.72 opacity below (2.288:1 as originally rendered) — see the
     report's "Fix round 1" section. --color-paper-white at the same
     0.72 opacity composites to rgba(255,253,248,0.72) over the ground,
     ~5.891:1, clearing the bar while keeping the translucent worn-ink
     look the opacity is there for. --color-warm-sand was also checked
     and rejected: 6.899:1 at full opacity but only 4.410:1 at 0.72 — just
     under, and fixing it would mean raising the opacity too, which costs
     the worn effect. */
  color: var(--color-paper-white);
  opacity: 0.72;
  rotate: -9deg;
}

.about-form__list {
  list-style: none;
  margin: 0;
  padding: 0;
  /* Reserves room for .about-form__stamp above. The stamp is absolutely
     positioned at top:clamp(1rem,3vw,2rem). Its own rendered height is
     ~37.65px, not ~32px — 13px font-size at the inherited body
     line-height of 1.65 is 21.45px of line box alone (.about-form__stamp
     sets no line-height of its own), plus 0.35rem vertical padding
     (11.2px) plus the 2.5px border on both edges (5px) = 37.65px. Fix
     round 1 correction: modeling cardPadding(w)=clamp(28,0.04w,48) and
     stampTop(w)=clamp(16,0.03w,32) against rowContentTop=cardPadding+24
     and stampBottom=stampTop+37.65 shows the pre-fix overlap spans
     roughly 320-1150px — wider and deeper (worst case ~-6.7px around
     700px) than an earlier ~32px estimate suggested. This margin still
     clears at every width with this corrected height (+22px at 320,
     +19px at 660-900, +26px at 1440) without touching the stamp's own
     recipe. */
  margin-top: 1.5rem;
}

.about-form__row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: var(--space-2) var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid rgba(233, 214, 184, 0.22);
}

.about-form__row:last-child { border-bottom: 0; }

.about-form__tick {
  grid-row: 1 / span 2;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(233, 214, 184, 0.6);
  border-radius: 2px;
}

.about-form__tick svg {
  width: 70%;
  height: 70%;
  fill: none;
  stroke: var(--color-warm-sand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-form__row h3 {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  color: var(--color-warm-sand);
}

.about-form__row p { font-size: var(--font-body); line-height: 1.7; color: rgba(255, 253, 248, 0.85); }

/* --- FAQ: hairlines, no boxes -------------------------------------------- */

.about-faq { background: var(--color-paper-white); }
.about-faq__list { margin-top: var(--space-6); max-width: 62rem; }
.about-faq__list .faq-item { background: none; border: 0; border-bottom: 1px solid var(--desk-rule); border-radius: 0; }
.about-faq__more { margin-top: var(--space-5); }

/* The global .faq-item__q rule (styles.css, inside `@media (min-width: 641px)`)
   clamps min-height to clamp(40px, 6.2vh, 64px) to conserve vertical space across
   the homepage's eleven-row accordion. On a viewport between roughly 641px and
   860px tall that clamp resolves under the 44px touch-target floor. This page's
   accordion has nine rows and none of that space pressure, so restore the 44px
   floor here only. `.about-faq__list .faq-item__q` (specificity 0,2,0) beats the
   global rule's `.faq-item__q` (0,1,0) inside the same breakpoint — the global
   rule itself is untouched and the homepage accordion is unaffected. Carried
   over unchanged from the pre-redesign version of this subsection; the
   brief's replacement listing omitted it, but the brief's own prose says not
   to break it, so it stays. */
@media (min-width: 641px) {
  .about-faq__list .faq-item__q { min-height: clamp(44px, 6.2vh, 64px); }
}

/* --- the postcard back --------------------------------------------------- */

/* Band ground, same reasoning as .about-trust above: not in the brief's
   replacement listing, still required. Unchanged from the pre-redesign rule. */
.about-glance { background: var(--color-sea-mist); }

.about-postcard {
  max-width: 66rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, var(--space-6));
  background: var(--color-paper-white);
  border-radius: 2px 3px 2px 4px;
  box-shadow: var(--paper-lift-lg);
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: clamp(1.5rem, 4vw, var(--space-6));
}

/* The divider a real postcard back has. */
.about-postcard__right {
  position: relative;
  border-left: 1px solid var(--desk-rule);
  padding-left: clamp(1.5rem, 4vw, var(--space-6));
}

.about-postcard__stamp {
  width: clamp(3rem, 7vw, 4.5rem);
  height: auto;
  margin-left: auto;
  display: block;
  rotate: 3deg;
}

/* Address rules, drawn rather than written — nothing here claims an address. */
.about-postcard__lines {
  display: block;
  margin-top: var(--space-6);
  height: 7rem;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 1.55rem,
    var(--desk-rule) 1.55rem 1.6rem
  );
}

.about-postcard__heading {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h2);
  color: var(--color-text-strong);
}

.about-postcard__list { margin-top: var(--space-4); }

.about-postcard__list > div {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--desk-rule);
}

.about-postcard__list dt { font-weight: 600; font-size: var(--font-body); color: var(--color-text-strong); }
.about-postcard__list dd { margin: 0; font-size: var(--font-body); line-height: 1.65; color: var(--color-text-default); }

/* Responsive rules for this subsection's own new classes live here rather
   than in §39.10 — Task 10 is rewriting that section and would clobber
   anything landed there in the meantime (same reasoning §39.6/39.13/39.14
   already document). None of these selectors are named anywhere in
   §39.10, so there is no specificity or source-order conflict with the
   rules already there.

   .about-postcard is the one two-column layout on this page with no
   phone-width collapse rule of its own — every sibling two-column grid
   (origin, young, gift, final) collapses at 1024px inside §39.10, which
   this task cannot add to. Collapsing it here at the same 700px floor
   §39.6/39.7's own FAQ/memo rules already use keeps it from being the one
   inconsistent grid on the page. */
@media (max-width: 700px) {
  .about-postcard { grid-template-columns: 1fr; }
  .about-postcard__right {
    border-left: 0;
    border-top: 1px solid var(--desk-rule);
    padding-left: 0;
    padding-top: var(--space-4);
    margin-top: var(--space-4);
  }
  .about-postcard__stamp { margin-left: 0; }
}

/* --- 39.8 Final scene — manuscript to mailbox ---------------------------- */

.about-final {
  position: relative;
  isolation: isolate;
  color: var(--color-text-inverse);
  background:
    radial-gradient(90% 45% at 20% 0%, rgba(213, 162, 59, 0.14), transparent 60%),
    linear-gradient(180deg, var(--color-deep-lagoon) 0%, var(--color-ocean-ink) 100%);
}

.about-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: clamp(1.5rem, 4vw, var(--space-8));
  align-items: center;
}

/* Contrast audit, round 2 — narrowed after code review. The wash's alpha
   dropped from 0.28 to 0.14 and its vertical reach was tightened (70% →
   45%) so it fades out over the header rather than washing the whole band.
   That leaves two grounds, not one:

     — in the wash's reach (eyebrow, intro): gold-wash-over-deep-lagoon at
       the new alpha, rgb(56, 110, 92).
     — at or beyond the wash's reach (facts line, close line, the entire
       newsletter block): the plain gradient, whose lightest point is solid
       deep lagoon, rgb(31, 102, 97) — darker than the wash ground, so using
       it as the audit floor for that region is the conservative choice.

   .eyebrow--inverse gold fails either ground (2.54:1 / 2.89:1) — it was
   never a wash problem, so it keeps a recolour. --color-warm-sand, floated
   as the accent-preserving fix, measures 4.72:1 on plain deep lagoon but
   only 4.14:1 against the wash ground the eyebrow actually renders on
   (it sits inside the wash's reach) — short of 4.5:1, so warm-sand is not
   safe here and island-ivory (5.27:1) is used instead. The intro's original
   0.78-alpha fade also still fails at the new wash ground (4.24:1) and
   keeps its island-ivory override.

   Everything at-or-beyond the wash reach was reverted to its original
   value and re-audited against plain deep lagoon. The facts line (4.88:1)
   and the newsletter copy (5.20:1) pass unmodified and lost their
   overrides. The consent line (4.15:1), .field__label (1.74:1) and both
   .newsletter__message states (1.09:1 / 1.74:1) still fail and keep an
   override — consent moves to warm-sand (4.72:1), which is safe at this
   ground and restores the accent language the round-1 fix erased; the
   label keeps paper-white (6.60:1) for the largest margin on a small,
   load-bearing string; and the two message states get distinct passing
   tokens instead of an identical white so the color still differs between
   them — shell-blush (5.22:1) for the error state, sea-mist (5.34:1) for
   success. */
.about-final .eyebrow { color: var(--color-island-ivory); }
.about-final .section-head--inverse .section-head__intro { color: var(--color-island-ivory); }

.about-final__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

.about-final__facts { margin-top: var(--space-3); font-size: var(--font-small); letter-spacing: 0.04em; color: rgba(255, 253, 248, 0.8); }

.about-final__close {
  margin-top: var(--space-2);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-style: italic;
  font-size: var(--font-h3);
  color: var(--color-warm-sand);
}

.about-final__newsletter {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(233, 214, 184, 0.32);
}

.about-final__newsletter-title { font-family: var(--font-display-family); font-weight: 400; font-size: var(--font-h3); color: var(--color-paper-white); }
.about-final__newsletter-copy  { margin-block: var(--space-1) var(--space-3); font-size: var(--font-body); line-height: 1.7; color: rgba(255, 253, 248, 0.84); max-width: 52ch; }
.about-final__consent          { margin-top: var(--space-2); font-size: var(--font-label); color: var(--color-warm-sand); max-width: 52ch; }

/* The shared newsletter component assumes a light ground everywhere else it
   appears (index.html, shop.html and shop-details.html all seat it on warm
   sand). This band is dark, so the label and the status line need a local
   override: .field__label at ocean-ink measures 1.74:1 here, and both
   .newsletter__message states fail too (1.09:1 / 1.74:1). Distinct tokens
   keep the two message states visually different from each other. */
.about-final .field__label { color: var(--color-paper-white); }
.about-final .newsletter__message.is-error { color: var(--color-shell-blush); }
.about-final .newsletter__message.is-success { color: var(--color-sea-mist); }

.about-final__bloom-left  { left: -6%;  bottom: -4%; width: clamp(7rem, 16vw, 13rem); height: auto; opacity: var(--foliage-mid); }
.about-final__bloom-right { right: -6%; top: -4%;    width: clamp(7rem, 16vw, 13rem); height: auto; opacity: var(--foliage-mid); }

/* --- the scene --- */

.about-final__scene svg { display: block; width: 100%; height: auto; }

.about-final__page  { fill: var(--color-paper-white); stroke: rgba(18, 63, 59, 0.2); stroke-width: 1; }
.about-final__page--b { fill: #F6F1E6; }
.about-final__page--c { fill: #EFE9DC; }
.about-final__rule  { stroke: rgba(94, 104, 100, 0.42); stroke-width: 2; stroke-linecap: round; }

.about-final__route {
  stroke: var(--color-warm-sand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;      /* fallback: drawn with JS off */
  fill: none;
  opacity: 0.7;
}

.about-final__env-body { fill: var(--color-warm-sand); }
.about-final__env-flap { fill: #DCC5A2; }
.about-final__env-seal { fill: var(--color-postmark-coral); }

/* Finished by default — same contract as .about-final__route just above:
   fully visible and fully drawn (opacity: 1, dashoffset: 0) with no class
   needed, so with JS off the postmark renders. .is-armed (added only by
   initAboutFinalScene) is what hides it before the reveal; nothing here
   depends on script running. */
.about-final__mark { stroke: var(--color-paper-white); stroke-width: 2; fill: none; opacity: 1; }
.about-final__mark circle,
.about-final__mark path { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* Armed only when initAboutFinalScene adds .is-armed, so with JS off the
   scene is simply in its finished state. */
.about-final__scene.is-armed .about-final__page--a { transform: translate(6px, 6px); }
.about-final__scene.is-armed .about-final__page--b { transform: translate(3px, 3px); }
.about-final__scene.is-armed .about-final__packet  { transform: translateY(10px); opacity: 0; }
.about-final__scene.is-armed .about-final__mark    { opacity: 0; }

.about-final__scene.is-armed .about-final__page--a,
.about-final__scene.is-armed .about-final__page--b,
.about-final__scene.is-armed .about-final__packet {
  transition: transform var(--dur-narrative) var(--ease-paper), opacity var(--dur-narrative) var(--ease-paper);
}

.about-final__scene.is-armed.is-played .about-final__page--a,
.about-final__scene.is-armed.is-played .about-final__page--b { transform: none; }
.about-final__scene.is-armed.is-played .about-final__packet  { transform: none; opacity: 1; }
.about-final__scene.is-armed.is-played .about-final__mark    { opacity: 1; }

/* --- 39.9 Sticky CTA ----------------------------------------------------- */

/* The bar reserves its own height so it can never cover the last band.
   The bar's own bottom padding is max(space-2, safe-area) — a "max", not a
   sum — so past 16px of safe-area-inset-bottom the bar keeps growing 1:1
   with it. A flat reservation would under-reserve on any phone whose home
   indicator inset exceeds that: on a 34px inset device the bar renders at
   border(1) + pad-top(12) + button(52) + pad-bottom(34) = 99px, 11px taller
   than a flat 5.5rem (88px) reservation would allow for, so the bar would
   cover the newsletter block's last 11px. Carrying env(safe-area-inset-bottom)
   into the reservation itself keeps it ahead of the bar at every inset. */
.page-about .about-final { padding-bottom: calc(var(--about-band) + 5.5rem + env(safe-area-inset-bottom)); }

.sticky-cta--about { padding-bottom: max(var(--space-2), env(safe-area-inset-bottom)); }

/* The shared .sticky-cta rule only moves the bar off-screen with transform,
   so its link stays in the tab order everywhere the bar is display:block —
   including the regions where initAboutStickyCta deliberately hides it.
   visibility removes it from the tab order without touching the shared
   base rule (shop.html and contact.html use that unscoped). The visibility
   change is delayed on the way out (transition-delay equal to the slide
   duration) so the slide-out transform is still fully visible before the
   element leaves the accessibility tree; on the way in, visibility flips
   immediately so the slide-in is visible from its first frame. */
.sticky-cta--about {
  visibility: hidden;
  transition: transform var(--dur-component) var(--ease-paper), visibility 0s linear var(--dur-component);
}

.sticky-cta--about.is-visible {
  visibility: visible;
  transition: transform var(--dur-component) var(--ease-paper), visibility 0s linear;
}

/* The base .sticky-cta rule is display:none until a page variant turns it
   on below the desktop breakpoint — shop.html and contact.html each do this
   for their own modifier class. Without the matching rule here the bar
   would stay display:none at every width and initAboutStickyCta's
   .is-visible toggle would never have anything to reveal. */
@media (max-width: 900px) {
  .sticky-cta--about { display: block; }
}

@media (min-width: 901px) {
  .sticky-cta--about { display: none; }
  .page-about .about-final { padding-bottom: var(--about-band); }
}

/* --- 39.10 Responsive ------------------------------------------------------

   Task 10 rewrite. Every rule Tasks 3-9 left behind here named a class that
   no longer exists (§39.4/5/6/7's own reports call out each one on the way
   past) — the full dead-selector -> replacement table lives in the task-10
   report, not repeated here. §39.6, §39.7, §39.13, §39.14 and §39.16 already
   carry their own breakpoints for the sections they rebuilt (memo/postcard's
   grids, the tag rail, the scrap board, the process stations) — none of
   that is duplicated below; this section only covers what nothing else
   owns yet: the hero, the origin letter, the mail fan, the islands journal,
   young/gift/final, and the postcard's inner term list.

   Every override below repeats the exact selector of the base rule it
   replaces (same convention §39.13/§39.14 already use), so it ties that
   rule's specificity instead of needing to exceed it, and wins purely on
   source order — this block is physically after §39.1-39.9, where every
   base rule below lives. Per-rule specificity is called out only where a
   tie isn't obvious from the selector alone. */

@media (max-width: 1024px) {
  .about-hero__inner { grid-template-columns: 1fr; }
  .about-hero__stage { order: 2; max-width: 34rem; }
  .about-hero__copy  { order: 1; }

  /* The origin letter. Re-targeted from the dead .about-origin__grid /
     __head / __body / __quote (Task 3 rebuilt this as .about-letter /
     .about-note; those four selectors matched nothing from that commit
     on, and the letter's 34fr/66fr split held at every width down to
     320px — prose crushed to roughly a 90px strip). .about-letter__head
     and .about-note are already grid-column: 1 in §39.3's base rules, so
     stacking them needs no reset; only .about-letter__body's grid-column:
     2 / grid-row: 1 span 2 has to come back to the single track, or the
     grid opens an implicit second column for it instead of stacking.
     .about-letter (0,1,0) ties the §39.3 base rule of the same
     specificity; .about-letter__body (0,1,0) likewise. */
  .about-letter { grid-template-columns: 1fr; }
  .about-letter__body { grid-column: 1; grid-row: auto; }

  /* .about-fan and .about-journal (§39.3/§39.4 — .about-mail__list and
     .about-islands__list before Task 4's rename) had no collapse of their
     own at any width: four tracks all the way to 320px, ~30-55px text
     columns unable to break words like "correspondence". Two-up first,
     the same 1024px step every other multi-card grid on this page uses. */
  .about-fan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-journal { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* The journal's staircase (nth-child margin-top, §39.4) is tuned for a
     four-across row; at two-up it just opens uneven gaps between entries
     that no longer share a row. Re-targeted from the same job the dead
     .about-islands__item:nth-child(2/3/4) reset used to do. (0,2,0),
     ties §39.4's own nth-child rule. */
  .about-journal__entry:nth-child(2),
  .about-journal__entry:nth-child(3),
  .about-journal__entry:nth-child(4) { margin-top: 0; }

  .about-young__grid,
  .about-gift__grid,
  .about-final__grid { grid-template-columns: 1fr; }
  .about-gift__media { max-width: 24rem; }
  .about-final__scene { max-width: 26rem; }
}

@media (max-width: 700px) {
  .page-about { --about-band: clamp(2.75rem, 11vw, 4rem); }

  .about-fan { grid-template-columns: 1fr; }
  .about-journal { grid-template-columns: 1fr; }

  /* The fan's negative-margin overlap (§39.3: margin-left clamp(-1.25rem,
     -1.8vw, -0.75rem) on every card after the first) and its four
     individual rotate/translate values only read as spread mail across
     multiple tracks. Stacked to one column, the same negative margin would
     shift every card but the first left of its own track — a visible
     misalignment under the heading above it, not an overflow risk (checked:
     even unrotated the card's own width at this column stays inside the
     20px gutter and .about-band's overflow: hidden is the backstop either
     way) but no longer a compositional gain, so neutralised here. Kept at
     two-up (1024-700px) so the tablet step still reads as fanned mail.
     Both selectors below tie their §39.3 base rules (0,2,0) and win on
     source order. */
  .about-fan__card:nth-child(1),
  .about-fan__card:nth-child(2),
  .about-fan__card:nth-child(3),
  .about-fan__card:nth-child(4) { rotate: 0deg; translate: none; }
  .about-fan__card + .about-fan__card { margin-left: 0; }

  /* The journal's torn-tape accent is a 52x18px decoration already proven
     contained at every width in Task 4's report (worst case ~6.5px of
     rotated-bounding-box growth, well inside both the stacked-item gap and
     the page gutter). Flattened anyway, at no visual cost, so nothing in
     this section keeps a rotation once it reflows to a single narrow
     column. (0,1,0), ties its §39.4 base rule. */
  .about-journal__tape { rotate: 0deg; }

  /* The postcard's inner term list (§39.7's .about-postcard__list > div,
     18rem/1fr) is the live replacement for the dead .about-glance__row —
     .about-postcard already stacks its own two columns at this width
     (§39.7's own rule), but the dt/dd pair inside .about-postcard__left
     was never given a collapse of its own. Same job the old
     .about-glance__row rule used to do, re-targeted; .about-care__row
     (the other half of that dead pairing) needs no equivalent — it's dead
     too, but its job is already done by §39.6's own .about-memo__list > div
     rule. (0,1,1), ties the §39.7 base rule (a class plus a type selector). */
  .about-postcard__list > div { grid-template-columns: 1fr; gap: var(--space-1); }

  /* The origin letter's CTA. Two problems, one breakpoint: (1) the fold's
     56px triangle intrudes into the letter's own bottom-right content area
     once the padding clamp drops below that size — 0px at 1440, 4.8px at
     1024, 17.6px at 768, capping at 24px once the clamp hits its 2rem floor
     below 640px viewport width. pointer-events: none (Task 3) already
     stops it swallowing clicks; this stops it visually meeting the CTA.
     (2) .btn is white-space: nowrap sitewide and sized to its own ~265px
     content — even stacked to one column (above), .about-letter's own
     padding leaves less than that at 320px (a 280px container minus two
     32px-floor paddings is 216px), so the button can still overflow its
     own column. Both are fixed together: extra bottom padding clears the
     fold's full 56px reach regardless of the exact intrusion at a given
     width, and letting the CTA go full-width with white-space: normal
     removes the overflow rather than trying to out-guess the button's
     rendered width. .about-letter (0,1,0) is a longhand added after the
     shorthand `padding` in the §39.3 base rule, which always wins that one
     side regardless of specificity ties. .about-letter__body .btn (0,2,0)
     already outranks the global .btn (0,1,0) it overrides. */
  .about-letter { padding-bottom: calc(clamp(2rem, 5vw, 4rem) + 3.5rem); }
  .about-letter__body .btn { width: 100%; white-space: normal; }

  /* Foliage steps back so nothing sits behind reading copy on a phone. */
  .about-hero__ginger,
  .about-hero__bloom,
  .about-origin__bloom,
  .about-young__bloom,
  .about-final__bloom-left,
  .about-final__bloom-right { opacity: var(--foliage-quiet); }

  .about-hero__shadow { display: none; }

  /* Audit: .about-gift__media img carries a 40px-blur drop-shadow. The
     mobile page gutter is 20px and the image fills its full column width,
     so at this breakpoint the shadow's blur radius exceeds the gutter on
     both sides and is cut off by .about-band's overflow:hidden — not a
     scrollbar (overflow:hidden never produces one), but a soft shadow with
     a hard-edged crop at the viewport boundary. Trimmed here so the shadow
     resolves within the gutter instead of visibly truncating against it. */
  .about-gift__media img { filter: drop-shadow(0 9px 20px rgba(18, 63, 59, 0.18)); }
}

/* --- 39.11 Reduced motion ---------------------------------------------------

   Task 10 rewrite. §39.1-39.9's transitions/animations are unchanged from
   before and keep their existing resolutions below. Three items Tasks 5-9
   appended after this banner (the tag rail's sway, the disclosure's
   collapse transition, the toggle chevron's flip) had no explicit
   resolution here — each was still genuinely neutralised, by the sitewide
   `*, *::before, *::after { animation-duration: 0.01ms !important;
   transition-duration: 0.01ms !important; ... }` blanket rule (styles.css,
   "27. REDUCED-MOTION OVERRIDES") the harness's motion check already
   accepts as a valid resolution when an item isn't named here explicitly —
   but each gets its own explicit line below anyway, same as every other
   item in this list, rather than relying on the blanket rule alone. */

@media (prefers-reduced-motion: reduce) {
  .page-about [data-about-layer] { transform: none !important; }

  .about-islands__shadow { animation: none; }

  .about-hero__stage .about-desk__letter { transition: none; transform: translateY(-8px); }
  .about-hero__stage .about-desk__postmark { opacity: 1; }
  .about-desk__postmark circle,
  .about-desk__postmark path { stroke-dashoffset: 0; }
  .about-desk__route { stroke-dashoffset: 0; }

  .about-process.is-running .about-station { opacity: 1; transform: none; transition: none; }

  .about-final__scene.is-armed .about-final__page--a,
  .about-final__scene.is-armed .about-final__page--b,
  .about-final__scene.is-armed .about-final__packet { transform: none; opacity: 1; transition: none; }
  .about-final__route { stroke-dashoffset: 0; }
  .about-final__mark { opacity: 1; }
  .about-final__mark circle,
  .about-final__mark path { stroke-dashoffset: 0; }

  /* §39.13's parcel-tag sway (@keyframes aboutTagSway, 9-11.4s, per-tag
     phase). Not named here before this task — only genuinely reset by the
     sitewide blanket rule until now. */
  .about-tag { animation: none; }

  /* §39.15's disclosure contract (.about-disclosure { transition:
     grid-template-rows ... }), shared by the promise tags and the
     disciplines desk. The collapse still happens instantly via the .js
     [data-collapsed] rule — this only removes the animated glide between
     states. */
  .about-disclosure { transition: none; }

  /* §39.15's toggle chevron ( ::before / ::after transform: rotate). */
  .about-tag__sign::before,
  .about-tag__sign::after { transition: none; }

  /* The route line (§39.12's .about-route__path, and .about-desk__route /
     .about-final__route's JS-driven dashoffset reveals) is not listed here
     because there is nothing left for CSS to reset: initAboutRoute's
     sync() (script.js) checks prefersReducedMotion itself, never creates
     the reveal mask, and removes any mask attribute a prior run added, so
     the stitched path renders via its plain CSS fallback (dasharray 6 10,
     dashoffset 0) with no animation ever wired up. initAboutHeroScene's
     play() and initAboutFinalScene's finish() do the same for their own
     route/postmark strokes — dashoffset is set straight to its finished
     value and no transition is ever assigned when prefersReducedMotion is
     true. The .about-desk__route / .about-final__route / postmark
     dashoffset overrides above exist for the no-JS case, not this one, but
     hold under reduced motion regardless of which path set them. */

  /* Fix round 1 finding 2: the shared .sticky-cta component (styles.css,
     base rule, outside every prefers-reduced-motion block) always
     transitions its slide-in/out transform, so the bar slides on every
     show/hide regardless of this preference. Scoped to the about variant
     only — the same gap exists on .sticky-cta--shop and .sticky-cta--contact,
     but that global rule and those other pages are not this task's to
     change; whoever owns them can decide whether to fix it there too. */
  .sticky-cta--about { transition: none; }
}

/* --- 39.12 The route spine ----------------------------------------------- */

.about-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;             /* under every content layer */
  pointer-events: none;
  overflow: visible;
}

/* main must be the route's containing block, and must not clip it. */
.page-about main { position: relative; }

.about-route__path {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 10;   /* a stitched postal line, not a solid rule */
  opacity: 0.34;
  /* JS-off fallback: fully drawn. initAboutRoute takes over on load. */
  stroke-dashoffset: 0;
}

/* --- 39.13 The mission seal and the tag rail ----------------------------- */

.about-seal {
  display: block;
  width: clamp(3.5rem, 9vw, 7rem);
  height: auto;
  margin: var(--space-5) auto var(--space-4);
  filter: drop-shadow(2px 4px 10px rgba(18, 63, 59, 0.3));
}

.about-rail { position: relative; margin-top: var(--space-9); }

.about-rail__wire {
  position: absolute;
  inset-inline: 0;
  top: 0;
  width: 100%;
  height: 3.75rem;
  pointer-events: none;
}

.about-rail__wire-path {
  fill: none;
  stroke: var(--desk-rule-strong);
  stroke-width: 1.5;
}

.about-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, var(--space-4)) clamp(1rem, 3vw, var(--space-5));
}

/* Each tag hangs from the wire on its own string, at its own drop, and
   sways on its own phase so the group never pulses in unison. */
.about-tag {
  position: relative;
  padding-top: 3.25rem;
  transform-origin: 50% 0.4rem;
}

.about-tag:nth-child(1) { padding-top: 3.25rem; }
.about-tag:nth-child(2) { padding-top: 4.4rem; }
.about-tag:nth-child(3) { padding-top: 3.6rem; }
.about-tag:nth-child(4) { padding-top: 4.8rem; }
.about-tag:nth-child(5) { padding-top: 3.4rem; }
.about-tag:nth-child(6) { padding-top: 4.1rem; }

.about-tag__string {
  position: absolute;
  top: 0.4rem;
  left: 50%;
  width: 1px;
  height: 2.6rem;
  background: var(--desk-rule-strong);
}

.about-tag:nth-child(2) .about-tag__string,
.about-tag:nth-child(4) .about-tag__string { height: 3.7rem; }

/* The tag itself: a parcel label with a clipped top corner and a punched hole. */
.about-tag__body {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: var(--color-warm-sand);
  border-radius: 3px;
  box-shadow: var(--paper-lift-md);
  clip-path: polygon(0 12%, 50% 0, 100% 12%, 100% 100%, 0 100%);
}

.about-tag__hole {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  translate: -50% 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-island-ivory);
  box-shadow: inset 0 1px 2px rgba(18, 63, 59, 0.28);
}

.about-tag__title {
  margin-top: var(--space-2);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  line-height: 1.30;
  color: var(--color-ocean-ink);
}

.about-tag p {
  padding-top: var(--space-2);
  font-size: var(--font-body);
  line-height: 1.65;
  color: rgba(18, 63, 59, 0.86);
}

/* The sway. Slower than the homepage's rope gallery — this page is read,
   not scanned — and each tag carries its own phase via a negative delay. */
@keyframes aboutTagSway {
  0%, 100% { transform: rotate(-0.7deg); }
  50%      { transform: rotate(0.7deg); }
}

.about-tag { animation: aboutTagSway 9s var(--ease-even) infinite; }
.about-tag:nth-child(2) { animation-duration: 11s; animation-delay: -3.2s; }
.about-tag:nth-child(3) { animation-duration: 8.4s; animation-delay: -1.4s; }
.about-tag:nth-child(4) { animation-duration: 10.2s; animation-delay: -5.1s; }
.about-tag:nth-child(5) { animation-duration: 9.6s; animation-delay: -2.3s; }
.about-tag:nth-child(6) { animation-duration: 11.4s; animation-delay: -6.7s; }

/* A lifted tag stops swaying, so the copy being read never moves. Scoped
   with :has() rather than a JS-toggled class — this stylesheet already
   relies on :has() twice (the quiz stamp cards, the footer scene), so this
   is a supported pattern here, not a first use. If :has() is ever
   unsupported, the only consequence is cosmetic: an expanded tag keeps
   swaying at up to 0.7deg while its panel is open. */
.about-tag:has([aria-expanded='true']) { animation-play-state: paused; }

/* Fix round 1, finding 2: the rail shipped with no responsive collapse of
   its own — at 320-375px, three columns held a heading, a button and a
   sentence in ~90-110px each. Matches the two breakpoints the rest of
   section 39 already uses (§39.10: 1024px, 700px) so the page collapses in
   step. Kept here, next to the rules it overrides, rather than in §39.10 —
   Task 10 is rewriting that section and would clobber anything landed
   there in the meantime.

   Specificity, checked against every rule each one must win against —
   every override below repeats the exact selector of the base rule it
   replaces, so it ties that rule's specificity rather than needing to
   exceed it, and wins purely because it comes later in the same file
   (source order is the tiebreaker CSS itself uses once specificity is
   equal — the same mechanism every other viewport override in this
   stylesheet already relies on, not a new one introduced here):
     .about-rail__list                              (0,1,0) vs. base (0,1,0) — tie, wins on order
     .about-tag:nth-child(N)                         (0,2,0) vs. base (0,2,0) — tie, wins on order
     .about-tag__string                              (0,1,0) vs. base (0,1,0) — tie, wins on order
     .about-tag:nth-child(2/4) .about-tag__string     (0,3,0) vs. base (0,3,0) — tie, wins on order
   None of these need to be more specific than what they override; they
   only need to not be less specific, and to land after it. */

@media (max-width: 1024px) {
  .about-rail__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .about-rail__list { grid-template-columns: 1fr; }

  /* Flattened: a staircase of drops reads as deliberate spread across three
     columns and as random noise once the tags are stacked in one. */
  .about-tag:nth-child(1),
  .about-tag:nth-child(2),
  .about-tag:nth-child(3),
  .about-tag:nth-child(4),
  .about-tag:nth-child(5),
  .about-tag:nth-child(6) { padding-top: 2.5rem; }

  .about-tag__string,
  .about-tag:nth-child(2) .about-tag__string,
  .about-tag:nth-child(4) .about-tag__string { height: 1.75rem; }
}

/* --- 39.14 The scrap board — responsive ----------------------------------- */

/* The board's 12-column grid with per-item start/span/rotate only makes
   sense at the width it was tuned for. Kept here, next to the rules it
   overrides, rather than in §39.10 — Task 10 is rewriting that section and
   would clobber anything landed there in the meantime (the tag rail hit
   this same problem in §39.13, and its fix-round comment there explains
   the failure mode this avoids: leaving a wide `span` active against a
   narrower explicit grid forces auto-placement to open implicit columns
   instead of stacking, and the section is then clipped by .about-band's
   overflow: hidden rather than reflowing).

   Every override below repeats the exact `.about-scrap:nth-child(N)`
   selector the base rule in §39.4 uses, so it ties that rule's specificity
   (0,2,0) instead of needing to exceed it, and wins purely because it
   comes later in the file — the same source-order tiebreak every other
   viewport override in this stylesheet already relies on.

   `.about-tools__list` needs no equivalent override: its
   `repeat(auto-fit, minmax(15rem, 1fr))` track list (unchanged from the
   old .about-disciplines__list) already reflows to fewer columns as the
   container narrows, with no explicit span to invalidate. */

@media (max-width: 1024px) {
  .about-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* span 1 stays valid all the way down to the single-column 700px grid
     below, so this is the only reset the collapse needs. */
  .about-scrap:nth-child(1),
  .about-scrap:nth-child(2),
  .about-scrap:nth-child(3),
  .about-scrap:nth-child(4),
  .about-scrap:nth-child(5) { grid-column: span 1; margin-top: 0; }
}

@media (max-width: 700px) {
  .about-board { grid-template-columns: 1fr; }
}

/* --- 39.15 The disclosure contract --------------------------------------- */

/* Used by the promise tags and the disciplines desk. The panel's copy is
   always in the DOM — collapsing is a grid-row animation, not a removal —
   so assistive technology and answer engines always see it.

   grid-template-rows 0fr → 1fr animates without any height: auto hack and
   without JS measuring anything.

   The collapsed state is applied by script (html.js), so with JavaScript off
   every panel is simply open. */
.about-disclosure {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--dur-component) var(--ease-out);
}

.about-disclosure__inner { overflow: hidden; }

.js .about-disclosure[data-collapsed] { grid-template-rows: 0fr; }

/* Toggles are real buttons: 44px minimum, visible ring, no hover-only state.
   Shared by the promise tags (.about-tag__toggle) and the tools desk
   (.about-tools__toggle, renamed from .about-desk__tool in fix round 1 to
   get off the hero scene's about-desk__* namespace — this selector list is
   the only place in the stylesheet that named the old class). */
.about-tag__toggle,
.about-tools__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.about-tag__sign {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.about-tag__sign::before,
.about-tag__sign::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-micro) var(--ease-out);
}

.about-tag__sign::after { transform: rotate(90deg); }
[aria-expanded='true'] .about-tag__sign::after { transform: rotate(0deg); }

/* --- 39.16 The process stations — responsive -------------------------------

   Kept here, at the end of section 39, rather than in §39.10 — Task 10 is
   rewriting that section and would clobber anything landed there in the
   meantime (§39.14's note on the scrap board explains the same failure
   mode). §39.10's own @media (max-width: 1024px) block still carries the
   old .about-process__line / __list / __item / __num rules from before
   this task; they are dead now (those classes no longer exist in the
   markup) but are left in place rather than edited, matching how Task 6
   left .about-disciplines__item p stale in §39.10's phone-copy-size list
   rather than touch that section — the replacement for that rule lives in
   .about-tools's own subsection, same as this one for the stations. */

@media (max-width: 1024px) {
  .about-stations { grid-template-columns: 1fr; gap: var(--space-4); }
  .about-station { padding-top: 0; padding-left: 4rem; min-height: 2.75rem; }
  /* The wave collapses with the grid — one column has no row to alternate
     against, so the lift would just misalign the stations against the text
     indent below without producing a wave at all. */
  .about-station:nth-child(even) { margin-top: 0; }
  .about-station__index { top: 0; left: 0; font-size: 1.75rem; }
  .about-station__object { top: 0.1rem; left: 2.15rem; width: 1.6rem; height: 1.6rem; }
}

@media (max-width: 700px) {
  /* Minimum 16px body copy on small screens, matching the sitewide list in
     §39.10 (which still names the pre-rename .about-process__item p). */
  .about-station p { font-size: 1rem; }
}

/* ==========================================================================
   40. CONTACT / READER CARE PAGE  (contact.html)

   Appended, self-contained, and scoped to .page-contact or to the contact-*
   namespace. Nothing above this banner is edited.

   The page is deliberately quieter than the homepage. Atmosphere sits in the
   hero and the closing CTA; between the routing cards and the submit button
   the surface is warm paper and nothing else. No decorative layer is placed
   behind a form control, and every one of them is inert to the pointer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   40.1  Page scaffolding and the decorative layer contract
   -------------------------------------------------------------------------- */

.page-contact {
  --contact-measure: 62ch;
  --contact-band-y: clamp(var(--space-8), 8vw, var(--space-14));
  --contact-paper: var(--color-paper-white);
  --contact-rule: rgba(18, 63, 59, 0.12);
  --contact-quiet: rgba(18, 63, 59, 0.045);
  background: var(--color-island-ivory);
}

/* Every decorative asset on this page. Inert, unselectable, and never
   allowed to widen the page. */
.contact-art {
  position: absolute;
  z-index: var(--z-foliage-back);
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.contact-band {
  position: relative;
  padding-block: var(--contact-band-y);
  overflow: clip;
}

/* Alternating surfaces give the page a rhythm without adding ornament. */
.contact-define {
  background: var(--contact-paper);
  border-block: 1px solid var(--contact-rule);
}

/* --------------------------------------------------------------------------
   40.2  Reader Care hero

   One screen, deliberately. The hero has one job on a support page — say
   where you are and get out of the way — so it is sized against the viewport
   rather than against its contents, and the type scale is tuned down from the
   marketing pages to suit.
   -------------------------------------------------------------------------- */

.contact-hero {
  position: relative;
  display: grid;
  align-content: center;
  /* Less the header and the announcement bar above it, so "one screen" means
     one screen and not one screen plus the chrome. */
  min-height: clamp(460px, calc(100svh - var(--header-height) - 3.5rem), 720px);
  padding-block: clamp(var(--space-3), 2.5vh, var(--space-5)) clamp(var(--space-6), 7vh, var(--space-9));
  overflow: clip;
  isolation: isolate;
  /* The listing page's banner ground, unchanged: gold light at the top right,
     lagoon settling into the bottom left, and the sheet running ivory to paper
     to sea mist. The wave edge is paper-white, so it reads as an edge against
     the mist the gradient ends on. */
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(213, 162, 59, 0.24), transparent 58%),
    radial-gradient(90% 80% at 6% 100%, rgba(31, 102, 97, 0.16), transparent 62%),
    linear-gradient(178deg, var(--color-island-ivory) 0%, var(--color-paper-white) 46%, var(--color-sea-mist) 100%);
}

.contact-hero__crumbs { position: relative; z-index: var(--z-content); }
.contact-hero__crumbs .breadcrumb { padding: 0; }
.contact-hero__crumbs .container { padding-inline: 0; }

.contact-hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: center;
  margin-top: clamp(var(--space-3), 3vh, var(--space-5));
}

.contact-hero__copy { max-width: 38rem; }

.contact-hero__title {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display-family);
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text-strong);
  text-wrap: balance;
}

.contact-hero__lede {
  margin: var(--space-3) 0 0;
  max-width: 46ch;
  font-size: var(--font-body-large);
  line-height: 1.55;
  color: var(--color-text-default);
}

/* The stage is sized to the drawing rather than to the column, so the box and
   the artwork share an edge. That is what lets the seal and the bloom sit on
   the corners of the graphic instead of on the corners of an invisible box the
   letterboxed SVG only partly filled. */
.contact-hero__stage {
  position: relative;
  isolation: isolate;
  /* Width is the binding dimension and the height follows it, so a narrow
     column shrinks the whole drawing instead of squeezing its box and leaving
     the corner pieces measuring against a shape the artwork no longer fills. */
  aspect-ratio: 520 / 460;
  width: min(100%, calc(min(62svh, 36rem) * 520 / 460));
  height: auto;
  margin-inline: auto;
}

.contact-hero__bloom {
  right: 7%;
  bottom: 4%;
  z-index: var(--z-foliage-front);
  width: 18%;
  height: auto;
  opacity: 0.96;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

/* The listing page's palm, at the listing page's strength: full opacity, the
   same 14-degree tilt, the same drop shadow, and in front of the composition
   rather than washed out behind it. */
.contact-hero__frond {
  top: -8%;
  right: -4%;
  width: min(28vw, 340px);
  height: auto;
  z-index: var(--z-foliage-front);
  opacity: var(--foliage-hero);
  --tilt: 14deg;
  rotate: var(--tilt);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  filter: drop-shadow(0 18px 26px rgba(18, 63, 59, 0.18));
}

.contact-hero__bouquet {
  scale: -1 1;
  left: 0;
  bottom: 0;
  z-index: var(--z-foliage-back);
  width: min(17vw, 210px);
  height: auto;
  opacity: 1;
}

.contact-hero__seal {
  top: 9%;
  left: -2.5%;
  z-index: var(--z-foliage-front);
  width: 19%;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 10px 18px rgba(18, 63, 59, 0.2));
}

/* The wave edge, same curve and same job as the FAQ hero's: it gives the
   band below an edge rather than a seam. */
.contact-hero__wave {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: 5;
  display: block;
  inline-size: 100%;
  block-size: clamp(30px, 4vw, 54px);
  pointer-events: none;
}

.contact-hero__wave path { fill: var(--color-paper-white); }

/* --------------------------------------------------------------------------
   40.3  The desk itself, and its one-shot sequence
   -------------------------------------------------------------------------- */

.contact-desk {
  position: relative;
  z-index: var(--z-content);
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 22px 44px rgba(18, 63, 59, 0.14));
}

.contact-desk__paper { fill: var(--color-paper-white); stroke: var(--contact-rule); stroke-width: 1; }
.contact-desk__paper-fold { stroke: rgba(18, 63, 59, 0.06); stroke-width: 1; fill: none; }

.contact-desk__route {
  fill: none;
  stroke: var(--color-accent-gold);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 7 10;
}

.contact-desk__route-dot { fill: var(--color-accent-gold); }
.contact-desk__route-dot--end { fill: var(--color-postmark-coral); }

.contact-desk__stack rect {
  fill: var(--color-island-ivory);
  stroke: var(--contact-rule);
  stroke-width: 1;
}

.contact-desk__stack-top { fill: var(--color-paper-white) !important; }
.contact-desk__stack-rule { stroke: rgba(18, 63, 59, 0.2); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.contact-desk__stack-seal { fill: var(--color-postmark-coral); opacity: 0.9; }

.contact-desk__card rect { fill: var(--color-sea-mist); stroke: var(--contact-rule); stroke-width: 1; }
.contact-desk__card-tab { fill: var(--color-accent-gold) !important; stroke: none !important; }
.contact-desk__card-rule { stroke: rgba(18, 63, 59, 0.26); stroke-width: 2.2; stroke-linecap: round; fill: none; }

.contact-desk__letter rect { fill: var(--color-paper-white); stroke: var(--contact-rule); stroke-width: 1; }
.contact-desk__letter-rule { stroke: rgba(18, 63, 59, 0.2); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.contact-desk__letter-sign { stroke: var(--color-deep-lagoon); stroke-width: 2.6; stroke-linecap: round; fill: none; }

.contact-desk__envelope-body { fill: var(--color-warm-sand); stroke: rgba(18, 63, 59, 0.2); stroke-width: 1; }
.contact-desk__flap { fill: #F2E2C6; stroke: rgba(18, 63, 59, 0.2); stroke-width: 1; stroke-linejoin: round; }
.contact-desk__envelope-crease { fill: none; stroke: rgba(18, 63, 59, 0.16); stroke-width: 1.2; }

.contact-desk__postmark circle { fill: none; stroke: var(--color-postmark-coral); stroke-width: 2.2; }
.contact-desk__postmark-inner { opacity: 0.55; }
.contact-desk__postmark-wave,
.contact-desk__postmark-text {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.75;
}

.contact-desk__pencil rect { fill: var(--color-sunset-gold); }
.contact-desk__pencil-tip { fill: var(--color-ocean-ink); }
.contact-desk__pencil-band { stroke: rgba(18, 63, 59, 0.35); stroke-width: 2; fill: none; }

.contact-desk__pencil {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: rotate(24deg) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 120ms linear;
}

/* --- the sequence. Resting state first, finished state under .is-played --- */

.contact-desk__letter {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: translateY(52px);
  opacity: 0;
}

.contact-desk__postmark {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: scale(1.6) rotate(-14deg);
  opacity: 0;
}

.contact-desk__route {
  stroke-dashoffset: 0;
}

/* Comfortably longer than the path, so the line is fully hidden at rest and
   fully drawn at the end without measuring it in script. */
.js .contact-desk__route {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
}

[data-contact-hero].is-played .contact-desk__letter {
  opacity: 1;
  transform: translateY(0);
  transition: transform 760ms var(--ease-paper) 220ms, opacity 320ms var(--ease-out) 220ms;
}

[data-contact-hero].is-played .contact-desk__postmark {
  opacity: 0.9;
  transform: scale(1) rotate(-8deg);
  transition: transform 420ms var(--ease-paper) 900ms, opacity 260ms var(--ease-out) 900ms;
}

.js [data-contact-hero].is-played .contact-desk__route {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1100ms var(--ease-even) 120ms;
}

/* --------------------------------------------------------------------------
   40.4  Reader Care in three steps — the band, the shell, the progress

   The shell is the whole idea. All three steps are absolutely stacked inside
   one box whose min-height JavaScript pins to the tallest step it has shown,
   so moving between them swaps the contents in place. Nothing below the form
   ever moves, which is what the old expanding fieldsets got wrong.
   -------------------------------------------------------------------------- */

.care-band {
  padding-block: clamp(var(--space-3), 2.5vw, var(--space-5));
  background:
    linear-gradient(180deg, var(--color-paper-white), var(--color-island-ivory) 42%);
  scroll-margin-top: calc(var(--header-height) + var(--space-3));
}

.care-band__head { margin-bottom: var(--space-2); }

/* Centred the way 'Inside every arrival' is on the homepage: the block is
   centred and capped to a reading measure, and the eyebrow — a flex row with
   its own rule — is centred too, since text-align cannot do that for it. */
.care-band__head--centred {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.care-band__head--centred .eyebrow { justify-content: center; }
.care-band__head--centred .section-head__intro { margin-inline: auto; }
.care-band__head .section-head__title { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }

/* No card. The band's own ground carries the form, so the steps read as part
   of the page rather than as a panel sitting on it. */
/* A definite inline-size, not a max-width. As a grid item with auto side
   margins the form loses `stretch` and falls back to shrink-to-fit, which made
   its width track whichever fields the chosen path happened to show — 424px on
   a business inquiry, 1120px on an address change. A definite size centres the
   same way and does not care what is inside it. */
.care-form {
  position: relative;
  inline-size: min(100%, 70rem);
  margin-inline: auto;
}

.care-form[hidden] { display: none; }

/* --- Progress: a route, three stops, and a stamp that travels it --- */

/* Three equal columns put the stop centres on 1/6, 3/6 and 5/6. The track and
   the stamp are pinned to those same numbers so nothing sits beside the dot it
   is supposed to be on. --p is the 0–1 progress, written by the wizard. */
.care-progress {
  --p: 0;
  --stop-first: 16.667%;
  --stop-span: 66.666%;
  /* The track, the stamp and the dots all measure from this one value. When
     it was the padding on one side and a literal on the others, tightening
     the padding slid the line off the dots. */
  --pad-top: var(--space-1);
  position: relative;
  margin-bottom: var(--space-2);
  padding-top: var(--space-1);
}

.care-progress__track {
  position: absolute;
  inset-inline: var(--stop-first);
  top: calc(var(--pad-top) + 9px);
  height: 2px;
  background: var(--color-sea-mist);
  border-radius: 2px;
}

.care-progress__fill {
  display: block;
  height: 100%;
  background: var(--color-accent-gold);
  border-radius: 2px;
  transform: scaleX(var(--p));
  transform-origin: left center;
  transition: transform var(--dur-component) var(--ease-out);
}

.care-progress__stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.care-progress__stop {
  display: grid;
  justify-items: center;
  gap: var(--space-1);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--dur-micro) var(--ease-out);
}

.care-progress__dot {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-sea-mist);
  border-radius: 50%;
  background: var(--contact-paper);
  transition: background var(--dur-component) var(--ease-out),
              border-color var(--dur-component) var(--ease-out),
              transform var(--dur-component) var(--ease-paper);
}

.care-progress__stop.is-done { color: var(--color-text-strong); }
.care-progress__stop.is-done .care-progress__dot {
  background: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

.care-progress__stop.is-current { color: var(--color-postmark-coral); }
.care-progress__stop.is-current .care-progress__dot {
  background: var(--color-postmark-coral);
  border-color: var(--color-postmark-coral);
  transform: scale(1.18);
}

/* The stamp rides the same line the fill draws. Its left is set inline as a
   percentage, so the translate keeps it centred on the value. */
.care-progress__stamp {
  position: absolute;
  top: var(--pad-top);
  left: calc(var(--stop-first) + var(--stop-span) * var(--p));
  width: 26px;
  height: 26px;
  transform: translate(-50%, -5px);
  transition: left var(--dur-component) var(--ease-paper);
  pointer-events: none;
}

.care-progress__stamp svg { width: 100%; height: 100%; display: block; }
.care-stamp__paper { fill: var(--color-paper-white); stroke: var(--color-postmark-coral); stroke-width: 2; }
.care-stamp__mark { fill: none; stroke: var(--color-postmark-coral); stroke-width: 2; stroke-linecap: round; opacity: 0.7; }

/* --- The shell and its steps --- */

/* On a phone the steps simply flow. From 900px up the block below turns this
   into the scrolling middle of a fixed-height section. */
.care-shell {
  position: relative;
  min-height: clamp(19rem, 40svh, 27rem);
}

.care-step { display: grid; gap: var(--space-2); }
.care-step[hidden] { display: none; }

/* Without JavaScript every step stays in the flow, one after another, and
   the form is simply long. With it, only the current step is in the box. */
.js .care-step--later { display: none; }
.js .care-step--later.is-current { display: grid; }

.care-step.is-entering { animation: care-step-in 280ms var(--ease-out) both; }

@keyframes care-step-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Every step opens the same way — kicker, title, one line of why — so moving
   between them reads as the same card continuing rather than three cards. */
.care-step__head { display: grid; gap: 2px; }

.care-step__kicker {
  margin: 0;
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-postmark-coral);
}

.care-step__title {
  margin: 0;
  font-family: var(--font-display-family);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.16;
  color: var(--color-text-strong);
}

.care-step__sub {
  margin: 0;
  font-size: var(--font-small);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.care-step__title:focus-visible { outline: 3px solid var(--color-accent-gold); outline-offset: 4px; }

/* The shared footer. Back on the left, the send status in the middle, the
   forward action on the right — the same row on every step. */
.care-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--contact-rule);
}

.care-foot__go { margin-left: auto; }
.care-back { margin-right: auto; }
.care-back[hidden], .care-foot__go[hidden] { display: none; }

/* --- Step one: the sorting rack ---------------------------------------------

   Six slots in a letter sorter. Each carries a coloured filing tab, so the
   rack is scannable by colour before a word of it is read, and choosing one
   drops a wax seal on it. The cards are deliberately short — a title and a
   line of keywords — because the step has to fit a laptop screen alongside
   its heading and its Continue button.
   -------------------------------------------------------------------------- */

.care-paths {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  border: 0;
}

.care-path { display: block; }

.care-path__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.care-path__label {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px var(--space-2);
  min-height: 44px;
  padding: var(--space-2) calc(var(--space-3) + 30px) calc(var(--space-2) + 2px) var(--space-3);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tab) 9%, transparent), transparent 44%),
    var(--color-island-ivory);
  border: 1px solid var(--contact-rule);
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease-out),
              background var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-micro) var(--ease-out),
              transform var(--dur-micro) var(--ease-out);
}

/* The tab. It peeks over the top edge of the slot the way a real one does,
   and it is the only thing on the card that carries the path's colour. */
.care-path__tab {
  position: absolute;
  top: -4px;
  left: var(--space-3);
  width: 52px;
  height: 8px;
  border-radius: 4px 4px 0 0;
  background: var(--tab);
  transition: width var(--dur-component) var(--ease-paper),
              top var(--dur-micro) var(--ease-out);
}

.care-path__label:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tab) 55%, var(--contact-rule));
  box-shadow: var(--shadow-paper);
}

.care-path__label:hover .care-path__tab { top: -7px; }

.care-path__mark {
  grid-row: 1 / -1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-small);
  background: var(--contact-paper);
}

.care-path__mark .funky { width: 23px; height: 23px; }

.care-path__title {
  align-self: end;
  font-family: var(--font-display-family);
  font-size: 1.2rem;
  line-height: 1.15;
  color: var(--color-text-strong);
}

.care-path__copy {
  align-self: start;
  font-size: var(--font-small);
  line-height: 1.35;
  color: var(--color-text-muted);
}

/* --- Chosen: the slot is sealed --- */

.care-path__seal {
  position: absolute;
  top: 50%;
  right: var(--space-3);
  width: 26px;
  height: 26px;
  margin-top: -13px;
  opacity: 0;
  transform: scale(1.55) rotate(-12deg);
  transition: opacity 160ms var(--ease-out), transform 260ms var(--ease-paper);
  pointer-events: none;
}

.care-path__seal-art { width: 100%; height: 100%; display: block; }
.care-path__seal-art circle { fill: var(--color-postmark-coral); }
.care-path__seal-glyph { fill: none; stroke: var(--color-paper-white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.care-path__input:checked + .care-path__label {
  background: var(--contact-paper);
  border-color: var(--color-postmark-coral);
  box-shadow: inset 0 0 0 1px var(--color-postmark-coral), var(--shadow-paper);
}

.care-path__input:checked + .care-path__label .care-path__tab {
  width: 96px;
  top: -6px;
}

.care-path__input:checked + .care-path__label .care-path__mark {
  background: var(--color-island-ivory);
}

.care-path__input:checked + .care-path__label .care-path__seal {
  opacity: 1;
  transform: scale(1) rotate(-8deg);
}

.care-path__input:focus-visible + .care-path__label {
  outline: 3px solid var(--color-accent-gold);
  outline-offset: 3px;
}

/* One colour per slot. Nothing else on the card is tinted, so six tabs read as
   a rack rather than as six competing cards. */
.care-path--gold   { --tab: var(--color-sunset-gold); }
.care-path--coral  { --tab: var(--color-postmark-coral); }
.care-path--blush  { --tab: var(--color-soft-coral); }
.care-path--palm   { --tab: var(--color-palm); }
.care-path--sea    { --tab: var(--color-deep-lagoon); }
.care-path--sand   { --tab: var(--color-warm-sand); }

/* --- Step two: the refinement chips and the path's own questions --- */

/* The refinement holds its own space from the start. Choosing a path fills a
   slot that was already there, so step one never grows a row. */
.care-refine {
  display: grid;
  align-content: center;
  gap: var(--space-1);
  min-height: 3.5rem;
  margin: 0;
  padding: var(--space-2) var(--space-3);
  background: var(--color-island-ivory);
  border: 1px dashed var(--contact-rule);
  border-radius: var(--radius-medium);
}

.care-refine.is-quiet { border-style: solid; }

.care-refine__hint {
  margin: 0;
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.care-refine__hint[hidden] { display: none; }
.care-refine__legend[hidden] { display: none; }

.care-refine__groups { display: grid; }

.care-refine__legend {
  padding: 0;
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.care-refine__group[hidden] { display: none; }

.chip { display: inline-flex; }

.chip__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.chip__label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.05rem;
  background: var(--color-island-ivory);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-pill);
  font-size: var(--font-small);
  color: var(--color-text-strong);
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.chip__label:hover { background: var(--color-sea-mist); }

.chip__input:checked + .chip__label {
  background: var(--color-ocean-ink);
  border-color: var(--color-ocean-ink);
  color: var(--color-text-inverse);
}

.chip__input:focus-visible + .chip__label {
  outline: 3px solid var(--color-accent-gold);
  outline-offset: 2px;
}

.care-slot { display: grid; }
.care-slot > .contact-branch[hidden] { display: none; }

/* The two topics that ask nothing extra still get a step, and the step still
   says something. */
.care-slot__none {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-island-ivory);
  border: 1px dashed var(--contact-rule);
  border-radius: var(--radius-medium);
}

.care-slot__none[hidden] { display: none; }

.care-slot__none-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-small);
  background: var(--contact-paper);
}

.care-slot__none-mark .funky { width: 26px; height: 26px; }

.care-slot__none-copy {
  margin: 0;
  font-size: var(--font-body);
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* --- The dense grid --------------------------------------------------------

   Twelve columns, and each field says how many it wants. This is what lets a
   ten-field address change sit on four rows instead of ten, which is what
   lets the section be one screen tall without a scrollbar inside it.

   Below 700px every span collapses to full width — a phone has one column. */
.care-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-2) var(--space-3);
  align-items: start;
}

.care-grid > .field { align-content: start; }

.care-span-2 { grid-column: span 12; }
.care-span-3 { grid-column: span 12; }
.care-span-4 { grid-column: span 12; }
.care-span-6 { grid-column: span 12; }
.care-span-8 { grid-column: span 12; }
.care-span-12 { grid-column: span 12; }

@media (min-width: 700px) {
  .care-span-2 { grid-column: span 2; }
  .care-span-3 { grid-column: span 3; }
  .care-span-4 { grid-column: span 4; }
  .care-span-6 { grid-column: span 6; }
  .care-span-8 { grid-column: span 8; }
}

/* --- Compact metrics, this page only --------------------------------------

   The shared .field is sized for a checkout, where one form owns the screen.
   Here five to ten fields share a step with a heading, a progress row and a
   footer, so every part of a field gives up a few pixels. */
.care-form .field { gap: 0.2rem; }

.care-form .field__label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.care-form .field__input {
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
}

.care-form .field__input--select { padding-right: 2.25rem; background-position: right 0.75rem center; }

.care-form .field { position: relative; }

.care-form .field__help {
  margin-top: 2px;
  font-size: 0.7rem;
  line-height: 1.35;
}

/* The error sits in the row gap rather than reserving a line of its own. It
   still cannot shift the layout — an absolute box takes no space whether it
   is showing or not — and it gives every field back 16px, which across a
   ten-field address change is most of a row. */
.care-form .field__error {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.3;
}

.care-form .field__error[hidden] { display: none; }

.care-form .field__check { width: 20px; height: 20px; }
.care-form .field__check-label { font-size: 0.8rem; line-height: 1.35; }
.care-form .choice__label { min-height: 38px; padding: 0.35rem 0.85rem; font-size: 0.8rem; }

/* --------------------------------------------------------------------------
   40.5  Controls the shared .field component does not yet cover
   -------------------------------------------------------------------------- */

/* A select needs its own affordance. The chevron is painted as a background
   so no extra element is required, and the control keeps a native listbox. */
.field__input--select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23123F3B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}

.field__input--short { max-width: 16rem; }

/* Scoped: shop-details.html has its own textarea and its own hidden error
   slots, and neither should change because this page was added. */
.page-contact textarea.field__input { min-height: 8rem; line-height: 1.55; resize: vertical; }

/* Errors occupy their slot whether or not they are showing, so revealing a
   message never shifts the fields below it. This applies inside a .field,
   where the slot sits under a control; a standalone error under a group of
   cards has nothing to hold open and simply stays out of the flow. */
.page-contact .field .field__error[hidden] {
  display: block;
  visibility: hidden;
}

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0 var(--space-2);
}

.field__check {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  accent-color: var(--color-postmark-coral);
}

.field__check-label {
  font-size: var(--font-body);
  line-height: 1.55;
  color: var(--color-text-default);
}

.field--check .field__error { grid-column: 1 / -1; }

.field--choice {
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  border: 0;
}

.field__choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
}

.choice { display: inline-flex; }

.choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.choice__label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  background: var(--color-island-ivory);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  font-size: var(--font-body);
  color: var(--color-text-strong);
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.choice__label:hover { background: var(--color-sea-mist); }

.choice__input:checked + .choice__label {
  background: var(--color-ocean-ink);
  border-color: var(--color-ocean-ink);
  color: var(--color-text-inverse);
}

.choice__input:focus-visible + .choice__label {
  outline: 3px solid var(--color-accent-gold);
  outline-offset: 2px;
}

/* --- Progressive disclosure --- */

.contact-branch {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-2) var(--space-3);
  align-items: start;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-branch[hidden] { display: none; }

.contact-branch__note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.contact-branch__note a { color: var(--color-text-strong); }

/* The reveal itself. JS adds .is-opening for one frame so the branch grows
   rather than appearing, and removes it once the transition has run. */
.contact-branch.is-opening {
  animation: contact-branch-in 240ms var(--ease-out) both;
}

@keyframes contact-branch-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Error summary --- */

.care-form__summary {
  padding: var(--space-3) var(--space-4);
  background: rgba(185, 67, 59, 0.08);
  border: 1px solid var(--color-postmark-coral);
  border-radius: var(--radius-medium);
}

.care-form__summary[hidden] { display: none; }
.care-form__summary:focus-visible { outline: 3px solid var(--color-accent-gold); outline-offset: 3px; }

.care-form__summary-title {
  margin: 0;
  font-family: var(--font-display-family);
  font-size: var(--font-h4);
  font-weight: 400;
  color: var(--color-postmark-coral);
}

.care-form__summary-copy {
  margin: var(--space-1) 0 0;
  font-size: var(--font-small);
  color: var(--color-text-default);
}

.care-form__summary-list {
  margin: var(--space-2) 0 0;
  padding-left: 1.1rem;
  font-size: var(--font-small);
}

.care-form__summary-list a { color: var(--color-postmark-coral); font-weight: 600; }

/* --- Honeypot. Off-screen rather than display:none, so an automated filler
   still finds and fills it, but aria-hidden keeps it out of the a11y tree. --- */
.care-form__pot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Status and success --- */

.care-form__status {
  margin: 0;
  min-height: 1.4em;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-text-strong);
}

.care-form__status.is-error { color: var(--color-postmark-coral); }

.care-form [data-contact-submit][aria-disabled='true'] {
  opacity: 0.72;
  cursor: progress;
}

/* --- The confirmation modal ------------------------------------------------
   Everything structural comes from .subscribe-modal. Only the drawing inside
   the card and the row of actions below it are this page's own. */

.care-modal__flight { width: min(200px, 60%); height: auto; display: block; margin: 0 auto var(--space-3); }
.care-modal__trail { fill: none; stroke: var(--color-accent-gold); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 9; }
.care-modal__body-rect { fill: var(--color-warm-sand); stroke: rgba(18, 63, 59, 0.22); stroke-width: 1.6; }
.care-modal__flap { fill: #F2E2C6; stroke: rgba(18, 63, 59, 0.22); stroke-width: 1.6; stroke-linejoin: round; }
.care-modal__seal { fill: var(--color-postmark-coral); }

.care-modal__packet {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: translateY(10px);
  opacity: 0;
}

.care-modal.is-open .care-modal__packet {
  transform: translateY(0);
  opacity: 1;
  transition: transform 520ms var(--ease-paper) 120ms, opacity 300ms var(--ease-out) 120ms;
}

.care-modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

@media (prefers-reduced-motion: reduce) {
  .care-modal__packet { transform: none; opacity: 1; transition: none; }
}

/* --- One viewport, every step ----------------------------------------------

   From 900px up the band is exactly one screen tall and the steps scroll
   inside it. The head, the progress and the footer are fixed rows; only the
   step body flexes. That is what makes the section the same height whichever
   step is showing and whichever path was chosen — an address change has ten
   fields and a gift question has two, and the page must not care.

   Below 900px the steps flow normally: a phone has no screen to fit them to.
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
  /* One screen tall, with the whole block centred inside it. Stretching the
     step to fill the band instead left a field of empty paper between the last
     input and the footer's rule; centring puts that space above and below,
     where it reads as breathing room. The band's height is fixed either way,
     which is what keeps the section from resizing between steps. */
  .care-band {
    block-size: var(--screen-fit);
    display: grid;
    align-content: center;
    padding-block: clamp(var(--space-4), 4vh, var(--space-8));
  }

  .care-shell { min-block-size: 0; }
  .care-step { align-content: start; }
}

/* --------------------------------------------------------------------------
   40.6  What happens next — the homepage journey, borrowed
   -------------------------------------------------------------------------- */

/* Keeps the full-viewport height it has on the homepage; only the snap point
   is dropped, so the page still scrolls freely. */
.page-contact .journey {
  scroll-snap-align: none;
}

/* A screen of its own, the way the homepage gives it one. The band takes the
   full viewport height and centres inside it, so the whole route — head, four
   stops and their copy — is read without scrolling.

   The padding is measured in vh rather than vw so a short laptop screen gives
   up breathing room before it gives up the section. */
.care-journey { padding-block: clamp(var(--space-5), 6vh, var(--space-12)); }

/* --------------------------------------------------------------------------
   40.7  Closing band and the mobile sticky CTA
   -------------------------------------------------------------------------- */

/* The closing band keeps the full-viewport height it has on the homepage and
   on faqs.html — the snap point is what gets dropped, not the room. */
.page-contact .final-cta {
  scroll-snap-align: none;
}

/* A phone affordance only — the desktop header already carries the same ask,
   and the form is never more than a scroll away. */
.sticky-cta--contact {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

@media (min-width: 901px) {
  .sticky-cta--contact { display: none !important; }
}

@media (max-width: 900px) {
  .sticky-cta--contact { display: block; }
}

/* --------------------------------------------------------------------------
   40.8  Responsive
   Designed at 390px first; the columns arrive as the room does.
   -------------------------------------------------------------------------- */


/* Six paths, two columns: the step still fits a laptop screen with its
   heading and its Continue button. */
@media (min-width: 720px) {
  .care-paths { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .contact-hero__inner { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); }
}

@media (min-width: 1024px) {
  .care-paths { grid-template-columns: repeat(3, 1fr); }
}

/* Below the two-column hero the desk sits under the copy, and the botanicals
   pull in so nothing crosses the viewport edge. */
@media (max-width: 1023px) {
  .contact-hero { min-height: 0; }

  /* Stacked, the copy and the drawing share the screen rather than the drawing
     taking a full one of its own. */
  .contact-hero__stage {
    width: min(100%, calc(min(46svh, 26rem) * 520 / 460));
    margin-top: var(--space-4);
  }
  .contact-hero__frond { right: -6%; width: min(34vw, 250px); }
}

@media (max-width: 700px) {
  .page-contact { --contact-band-y: var(--space-8); }

  .care-form { padding: var(--space-3); }
  .contact-branch { padding: var(--space-3); }

  /* 16px minimum on every control, so iOS never zooms on focus. */
  .care-form .field__input { font-size: 1rem; }

  .care-foot { flex-wrap: nowrap; }
  .care-foot .btn { flex: 1 1 auto; justify-content: center; }
  .care-form__status { flex-basis: 100%; order: 3; }

  .care-progress__stop { font-size: 0.6875rem; letter-spacing: 0.06em; }

  .contact-hero__bouquet {
  scale: -1 1;
  left: 0;
  bottom: 0;
  z-index: var(--z-foliage-back);
  width: min(17vw, 210px);
  height: auto;
  opacity: 1;
}

.contact-hero__seal { width: 54px; left: 0; }
  .contact-hero__bloom { width: 84px; right: 0; }

  .care-modal__actions .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   40.9  Reduced motion
   Every sequence resolves to its finished state; nothing waits on a
   transition that will not run, and pointer depth is unbound in JS.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .contact-desk__letter {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .contact-desk__postmark {
    opacity: 0.9;
    transform: scale(1);
    transition: none;
  }

  .js .contact-desk__route {
    stroke-dasharray: 7 10;
    stroke-dashoffset: 0;
    transition: none;
  }

  .contact-desk__pencil { transform: rotate(24deg); transition: none; }

  .contact-hero__frond,
  .contact-hero__bloom { transform: none; }

  .care-step.is-entering { animation: none; }

  .care-path__label,
  .chip__label,
  .choice__label,
  .care-progress__fill,
  .care-progress__dot,
  .care-progress__stamp { transition: none; }

  .care-path__label:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   38.20 STORY PAGE — SECOND PASS
   The gallery becomes a taped print, the order moves into the hero, and the
   two editorial bands lose their boxes. Everything here supersedes the
   matching rules earlier in section 38.
   -------------------------------------------------------------------------- */

/* --- Taped print gallery ------------------------------------------------ */

.polaroid {
  position: relative;
  margin: 0 auto var(--space-3);
  padding: 12px 12px 0;
  width: fit-content;
  max-width: 100%;
  border-radius: 3px;
  background: var(--color-paper-white);
  box-shadow: var(--shadow-float);
  rotate: -1.1deg;
  transition: rotate var(--dur-component) var(--ease-paper);
}

.story-gallery:hover .polaroid { rotate: -0.3deg; }

.polaroid__tape {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 108px;
  height: 26px;
  translate: -50% 0;
  rotate: -1.6deg;
  background: rgba(233, 214, 184, 0.78);
  box-shadow: 0 1px 4px rgba(18, 63, 59, 0.18);
}

.polaroid__stamp {
  position: absolute;
  z-index: 3;
  top: -14px;
  right: -18px;
  width: clamp(54px, 6vw, 78px);
  aspect-ratio: 1;
  pointer-events: none;
}

.polaroid__stamp img { position: absolute; inset: 0; width: 100%; height: 100%; }

.polaroid__frame {
  position: relative;
  height: clamp(260px, 48vh, 500px);
  aspect-ratio: 4 / 5;
  width: auto;
  max-width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: var(--color-sea-mist);
}

.polaroid__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--dur-component) var(--ease-out);
}

.polaroid__frame.is-swapping img { opacity: 0; }

.polaroid__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--color-ocean-ink);
  cursor: pointer;
  box-shadow: var(--shadow-paper);
  transition: scale var(--dur-micro) var(--ease-out);
}

.polaroid__zoom:hover { scale: 1.07; }

.polaroid__zoom svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* The handwritten line under the print, where a caption belongs. */
.polaroid__caption {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 4px 16px;
}

.polaroid__label {
  font-family: var(--font-display-family);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.25;
  color: var(--color-text-strong);
}

.polaroid__count {
  font-size: var(--font-label);
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Rail prints get the same paper border, alternating tilt. */
.story-thumb {
  width: clamp(52px, 6.4vw, 72px);
  padding: 3px 3px 8px;
  border: 0;
  border-radius: 2px;
  background: var(--color-paper-white);
  box-shadow: var(--shadow-paper);
  transition: rotate var(--dur-micro) var(--ease-paper),
              translate var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-micro) var(--ease-out);
}

.story-gallery__rail > li:nth-child(odd) .story-thumb  { rotate: -2.5deg; }
.story-gallery__rail > li:nth-child(even) .story-thumb { rotate: 2deg; }

.story-thumb img { aspect-ratio: 1; border-radius: 1px; }

.story-thumb:hover { translate: 0 -3px; box-shadow: var(--shadow-card); }

.story-thumb.is-selected {
  rotate: 0deg;
  box-shadow: 0 0 0 2px var(--color-postmark-coral), var(--shadow-card);
}

.story-gallery__rail { padding: 8px 2px 10px; }

/* --- The order, inside the hero ----------------------------------------- */

.order-card {
  margin: var(--space-3) 0;
  padding: clamp(var(--space-3), 2vw, var(--space-4));
  border: 1px solid var(--color-warm-sand);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(233, 214, 184, 0.34), transparent 58%),
    var(--color-island-ivory);
}

.order-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.order-card__title {
  font-family: var(--font-display-family);
  font-size: var(--font-h3);
  color: var(--color-text-strong);
}

.order-card__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.order-card .config__group { margin-bottom: var(--space-3); }

.order-card .config__legend {
  font-family: var(--font-body-family);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.order-card .radio-card__body { padding: var(--space-2) var(--space-2) var(--space-2) calc(var(--space-2) + 26px); }
.order-card .radio-card__mark { top: calc(var(--space-2) + 2px); left: var(--space-2); }
.order-card .radio-card__title { font-size: var(--font-small); }
.order-card .radio-card__note { font-size: var(--font-label); }
.order-card .datepicker { max-width: none; }

.order-card__summary {
  display: grid;
  gap: 0;
  margin: var(--space-3) 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-default);
}

.order-card__summary > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: baseline;
  justify-content: space-between;
  padding: 7px 0;
}

.order-card__summary dt {
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.order-card__summary dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text-strong);
  text-align: right;
}

.order-card__figure dd {
  font-family: var(--font-display-family);
  font-size: 1.3rem;
  font-weight: 400;
}

.order-card__note {
  margin-top: var(--space-2);
  font-size: var(--font-label);
  color: var(--color-text-muted);
  text-align: center;
}

/* --- Synopsis: plate and promise travel together ------------------------ */

.synopsis-aside {
  position: sticky;
  top: calc(var(--header-height) + var(--space-3));
}

.synopsis-plate { position: static; margin-bottom: var(--space-3); }

.story-promise {
  grid-column: auto;
  margin: 0;
  padding: var(--space-3);
}

.story-promise p {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.38;
  text-align: left;
}

.story-promise__shell { margin: 0 0 var(--space-2); width: 34px; }

/* --- Reader fit: rules, not boxes --------------------------------------- */

.fit-grid { gap: 0; }

.fit-card {
  padding: var(--space-3) 0;
  border: 0;
  border-top: 1px solid var(--color-border-default);
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
  transition: none;
}

.fit-card::after { content: none; }

.fit-card:hover { transform: none; box-shadow: none; border-color: var(--color-postmark-coral); }

/* The index hangs in the margin like a folio number. */
.fit-card__index {
  position: absolute;
  top: var(--space-3);
  left: 0;
  font-family: var(--font-display-family);
  font-size: 1.35rem;
  color: var(--color-sunset-gold);
}

.fit-card__title,
.fit-card__body { padding-left: 2.6rem; }

.fit-card__title { margin-bottom: 4px; }

@media (min-width: 701px) {
  .fit-grid { column-gap: var(--space-6); }
}

/* --- Story world: a ledger, not a set of cards -------------------------- */

.world-entries { gap: 0; }

.world-entry {
  padding: var(--space-3) 0;
  border: 0;
  border-top: 1px solid rgba(213, 162, 59, 0.34);
  border-radius: 0;
  background: none;
  transition: border-color var(--dur-component) var(--ease-out);
}

.world-entry.is-near,
.world-entry:hover {
  transform: none;
  background: none;
  border-top-color: var(--color-sunset-gold);
}

.world-entry__tab {
  position: absolute;
  top: var(--space-3);
  right: auto;
  left: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  font-family: var(--font-display-family);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-sunset-gold);
}

.world-entry__index,
.world-entry__title,
.world-entry__body { padding-left: 2.6rem; }

@media (min-width: 701px) {
  .world-entries { column-gap: var(--space-6); }
}

/* The header is sticky, not fixed, so the hero never sat under it — the
   padding that used to clear it was 113px of empty paper above the trail. */
.story-hero {
  padding-top: var(--space-4);
}

@media (max-width: 700px) {
  .story-hero { padding-top: var(--space-3); }
}

/* The ginger was crossing the second column of qualities. It now sits below
   them, at the foot of the band, where nothing has to read through it. */
.story-fit__bloom {
  top: auto;
  bottom: -3%;
  right: -3%;
  width: clamp(96px, 11vw, 190px);
  opacity: 0.6;
}


/* ==========================================================================
   41. FAQ / HELP CENTER PAGE  (faqs.html)

   Appended, self-contained, and scoped to .page-faqs or to the faq-* / .faq-
   namespace. Nothing above this banner is edited.

   Two rules govern the whole section. The first: the answers are the page.
   Atmosphere lives in the hero and the closing band, and between them the
   surface is warm paper with a rule on it. No decorative layer is ever placed
   behind answer text, and every one of them is inert to the pointer.

   The second: the library is one continuous document. Nothing is ever hidden
   to "focus" a topic, so deep links, browser find and printing keep working
   whether or not the script runs. There is no search on this page; the
   audience cards and the category index do the routing.

   41.1  Page scaffolding and the decorative layer contract
   41.2  Hero — breadcrumb and copy
   41.3  Hero — the reference desk
   41.4  Library layout and the sticky category navigation
   41.5  Category bands and the accordion
   41.6  Responsive
   41.7  Reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   41.1  Page scaffolding and the decorative layer contract
   -------------------------------------------------------------------------- */

.page-faqs {
  /* 700–780px of answer, expressed in characters so it holds at any root
     size. Everything in the library measures against this. */
  --faq-measure: 68ch;
  --faq-band-y: clamp(var(--space-8), 7vw, var(--space-14));
  --faq-paper: var(--color-paper-white);
  --faq-rule: rgba(18, 63, 59, 0.12);
  --faq-rule-strong: rgba(18, 63, 59, 0.24);
  --faq-quiet: rgba(18, 63, 59, 0.045);
  --faq-tab: var(--color-warm-sand);
  /* The sticky nav and any scrolled-to answer both clear the sticky header
     by this much. One token, so they can never drift apart. */
  --faq-sticky-offset: calc(var(--header-height) + var(--space-2));
  background: var(--color-island-ivory);
}

/* Every decorative asset on this page. Inert, unselectable, and never
   allowed to widen the page. */
.faq-art {
  position: absolute;
  z-index: var(--z-foliage-back);
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* --------------------------------------------------------------------------
   41.2  Hero — breadcrumb and copy

   55/45 on desktop. The copy column comes first in the source and stays
   first on mobile, so the heading and the search field are the first two
   things anyone meets on a phone.
   -------------------------------------------------------------------------- */

.faq-hero {
  position: relative;
  padding-block: calc(var(--space-6) + var(--space-2)) var(--faq-band-y);
  overflow: clip;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(233, 214, 184, 0.5), transparent 62%),
    var(--color-island-ivory);
}

.faq-hero__crumbs { position: relative; z-index: var(--z-content); }

/* The breadcrumb component already carries its own container; this one only
   exists to place it, so it must not add a second gutter. */
.faq-hero__crumbs .container { padding-inline: 0; }

.faq-crumb__short { display: none; }

.faq-hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  gap: clamp(var(--space-6), 5vw, var(--space-9));
  align-items: center;
  margin-block-start: var(--space-5);
}

.faq-hero__title {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h1);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--color-text-strong);
  text-wrap: balance;
}

/* The hero carries one line of orientation and nothing else, so it can sit a
   step larger than body copy without crowding the heading above it. */
.faq-hero__lede {
  margin: var(--space-3) 0 0;
  max-width: 54ch;
  font-size: var(--font-body-large);
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   41.3  Hero — the reference desk

   One drawing: open notebook, indexed tabs, a letter stack, a magnifier, a
   pencil and a postmark. Everything is stroked in the page's own inks rather
   than filled, so it reads as a drawing on paper rather than a sticker.
   -------------------------------------------------------------------------- */

.faq-hero__desk {
  position: relative;
  justify-self: center;
  inline-size: min(100%, 34rem);
}

.faq-desk { display: block; inline-size: 100%; block-size: auto; }

.faq-desk__shadow { fill: rgba(18, 63, 59, 0.07); }

.faq-desk__leaf {
  fill: var(--faq-paper);
  stroke: var(--faq-rule-strong);
  stroke-width: 1.4;
}

.faq-desk__spine { stroke: var(--faq-rule-strong); stroke-width: 1.4; }

.faq-desk__rules path,
.faq-desk__ticks path,
.faq-desk__contour {
  fill: none;
  stroke: var(--faq-rule);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.faq-desk__ticks path { stroke: var(--color-accent-palm); stroke-width: 1.8; }
.faq-desk__contour { stroke: var(--color-deep-lagoon); opacity: 0.28; }

.faq-desk__tab {
  fill: var(--faq-tab);
  stroke: rgba(18, 63, 59, 0.2);
  stroke-width: 1;
}

.faq-desk__tab--2 { fill: var(--color-shell-blush); }
.faq-desk__tab--3 { fill: var(--color-sea-mist); }

.faq-desk__letter {
  fill: var(--faq-paper);
  stroke: var(--faq-rule-strong);
  stroke-width: 1.3;
}

.faq-desk__letter--front { fill: var(--color-island-ivory); }

.faq-desk__letter-flap {
  fill: none;
  stroke: var(--faq-rule-strong);
  stroke-width: 1.3;
  stroke-linejoin: round;
}

.faq-desk__lens {
  fill: rgba(221, 232, 227, 0.34);
  stroke: var(--color-deep-lagoon);
  stroke-width: 2;
}

.faq-desk__handle {
  fill: none;
  stroke: var(--color-deep-lagoon);
  stroke-width: 3.4;
  stroke-linecap: round;
}

.faq-desk__pencil-body { fill: var(--color-sunset-gold); }
.faq-desk__pencil-tip { fill: var(--color-warm-sand); }
.faq-desk__pencil-lead { fill: var(--color-ink-black); }

/* The band where the painted barrel stops and the sharpened wood begins.
   Without it the gold quad reads as a plank rather than a pencil. */
.faq-desk__pencil-collar {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 2.4;
  opacity: 0.55;
}

.faq-desk__postmark {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.55;
}

/* --- Hero motion ---------------------------------------------------------
   Six small movements, none of them under the text or the search field.
   The pointer-depth layers are driven by initFaqHeroScene, which writes
   --px / --py; with the script off they simply sit at zero. */

/* No transition here on purpose: initFaqHeroScene already eases the follow
   frame by frame, and a transition on top of it would smear the two together
   into a lag. */
.faq-hero [data-faq-layer] {
  translate: var(--px, 0px) var(--py, 0px);
}

.faq-desk__book,
.faq-desk__letters,
.faq-desk__glass,
.faq-desk__pencil { will-change: translate; }

/* The right-hand page lifts a hair, as if it had just been turned. */
.faq-hero.is-ready .faq-desk__leaf--right {
  animation: faq-page-shift 9s var(--ease-even) 0.6s infinite alternate;
  transform-origin: 236px 214px;
}

@keyframes faq-page-shift {
  from { transform: rotate(0deg); }
  to { transform: rotate(-0.5deg) translateY(-2px); }
}

/* One tab rises on entrance and stays up. */
.faq-hero.is-ready .faq-desk__tab--2 {
  animation: faq-tab-rise 700ms var(--ease-paper) 0.5s both;
}

@keyframes faq-tab-rise {
  from { transform: translateY(5px); opacity: 0.6; }
  to { transform: translateY(-3px); opacity: 1; }
}

/* The front letter shifts once, then holds. */
.faq-hero.is-ready .faq-desk__letter--front {
  animation: faq-letter-shift 800ms var(--ease-paper) 0.7s both;
}

@keyframes faq-letter-shift {
  from { transform: translate(6px, 4px); }
  to { transform: translate(0, 0); }
}

/* The postmark stamps in once. */
.faq-hero.is-ready .faq-desk__postmark {
  animation: faq-postmark-stamp 520ms var(--ease-paper) 1.05s both;
  transform-origin: 352px 150px;
}

@keyframes faq-postmark-stamp {
  from { transform: scale(1.25) rotate(-8deg); opacity: 0; }
  60% { opacity: 0.7; }
  to { transform: scale(1) rotate(-4deg); opacity: 0.55; }
}

/* The palm shadow drifts continuously and slowly, the only looping motion
   in the hero. */
.faq-hero__shadow {
  inset-block-start: -6%;
  inset-inline-start: -8%;
  inline-size: min(46vw, 34rem);
  opacity: var(--foliage-shadow);
  animation: faq-shadow-drift var(--sway-slow) var(--ease-even) infinite alternate;
}

@keyframes faq-shadow-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(18px, 10px, 0) rotate(1.4deg); }
}

.faq-hero__frond {
  inset-block-start: -10%;
  inset-inline-end: -6%;
  inline-size: min(30vw, 22rem);
  opacity: var(--foliage-hero);
}

/* Anchored into the hero's bottom-right corner, flush to both edges rather
   than floating clear of them: this is the corner bouquet, and a corner piece
   that does not meet its corner just reads as a sticker.

   Right rather than left because the copy column runs down the left and the
   desk sits right — the bouquet grows out from under the drawing instead of
   crowding the heading. It clears the wave edge below it by sitting above it
   in the stack, not by leaving a gap.

   It takes no pointer events, so filling the corner costs the column nothing.
   The 700px rule below trims it before it can reach the text. */
.faq-hero__bloom {
  inset-block-end: 0;
  inset-inline-end: 0;
  inline-size: min(22vw, 15rem);
  opacity: var(--foliage-mid);
}

/* --- Wave edge -----------------------------------------------------------
   Sits above every decorative layer so the bouquet and the frond slide under
   it, exactly as the letters do on the homepage. Its fill is the paper of the
   library below, which is the whole point: without the two grounds differing
   there is no edge for a wave to soften. */
.faq-hero__wave {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: 5;
  display: block;
  inline-size: 100%;
  block-size: clamp(30px, 4vw, 54px);
  pointer-events: none;
}

.faq-hero__wave path { fill: var(--color-paper-white); }

/* --------------------------------------------------------------------------
   41.7  Library layout and the sticky category navigation

   Two columns above 1000px: a sticky index and one answer column. There is
   no third rail. At 1280px a third column would push the measure below the
   700–780px the answers are set for, and the per-answer CTAs already do the
   job a rail would have done.
   -------------------------------------------------------------------------- */

/* Paper, not the page's ivory. The hero's wave edge needs two different
   grounds to be an edge at all, and answers on paper against an ivory hero is
   the right way round for a reference page. */
.faq-library {
  padding-block: var(--faq-band-y);
  background: var(--color-paper-white);
}

/* Two children: the index and the answer column. The help block lives inside
   the index, so it rides the same position:sticky and stays under the topics
   at every scroll position. */
.faq-library__layout {
  display: grid;
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  margin-block-start: var(--space-6);
}

.faq-nav {
  position: sticky;
  inset-block-start: var(--faq-sticky-offset);
  align-self: start;
  z-index: 3;
}

.faq-nav__title {
  margin: 0 0 var(--space-2);
  font-size: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.faq-nav__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-block-size: 44px;
  padding: 0.55rem var(--space-2);
  border-radius: var(--radius-small);
  font-size: var(--font-small);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-default);
  text-decoration: none;
  transition: background-color var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out);
}

.faq-nav__link:hover { background: var(--faq-quiet); color: var(--color-text-strong); }

/* The scrollspy state. aria-current carries the same information for
   assistive technology, and initFaqLibrary sets both together. */
.faq-nav__link.is-active,
.faq-nav__link[aria-current="true"] {
  background: var(--color-sea-mist);
  color: var(--color-text-strong);
  font-weight: 600;
}

.faq-nav__count {
  flex: none;
  min-inline-size: 1.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-small);
  background: var(--faq-quiet);
  font-size: var(--font-label);
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--color-text-muted);
}

.faq-nav__link.is-active .faq-nav__count { background: var(--color-paper-white); }

/* The only route off this page other than the closing band, and it appears on
   every breakpoint, stuck under the topics.

   A prose line and a button, not one link doing both jobs. The button is the
   shared .btn--primary, unmodified, because this is the same ask the rest of
   the site makes with it. */
/* Boxed, so the pair reads as one offer rather than a stray line with a
   button after it. Ivory on the library's paper: the quietest separation the
   palette has that is still a separation — a border alone would have been
   invisible against the index above it, and anything stronger would outrank
   the answers, which are the point of the page. */
.faq-help {
  margin-block-start: var(--space-4);
  padding: var(--space-3);
  border: 1px solid var(--faq-rule);
  border-radius: var(--radius-medium);
  background: var(--color-island-ivory);
}

.faq-help__text {
  margin: 0 0 var(--space-2);
  font-size: var(--font-small);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-strong);
}

.faq-library__col { min-inline-size: 0; }

/* --------------------------------------------------------------------------
   41.8  Category bands and the accordion

   The accordion reuses the global .faq-item component so it matches the
   homepage exactly. Only the things this page needs differently are set
   here: a wider hit area, a measured answer column, and the per-answer
   actions the homepage has no use for.
   -------------------------------------------------------------------------- */

.faq-cat { scroll-margin-block-start: var(--faq-sticky-offset); }
.faq-cat + .faq-cat { margin-block-start: var(--space-8); }

.faq-cat__head { margin-block-end: var(--space-3); }

.faq-cat__title {
  margin: 0;
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h3);
  line-height: 1.30;
  color: var(--color-text-strong);
}

.faq-cat__list { display: grid; }

/* Each answer is its own deep-link target, so it has to clear the header
   when the browser jumps to it. */
.faq-library .faq-item { scroll-margin-block-start: var(--faq-sticky-offset); }

/* Generous spacing around the questions, per the brief. The global rule
   sets the border; only the rhythm changes here. */
.faq-library .faq-item__q { padding-block: var(--space-3); }

.faq-library .faq-item__a {
  max-width: var(--faq-measure);
  padding-block-end: var(--space-3);
}

.faq-library .faq-item__a p { line-height: 1.7; }
.faq-library .faq-item__a p + p { margin-block-start: var(--space-2); }

/* The second layer of an answer: the condition, the limit, the timing. Set
   quieter than the direct answer so the first sentence still leads. */
.faq-item__note {
  font-size: var(--font-small) !important;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.faq-item__list {
  margin: var(--space-2) 0 0;
  padding-inline-start: var(--space-3);
  display: grid;
  gap: var(--space-1);
  font-size: var(--font-body);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.faq-item__list li::marker { color: var(--color-accent-gold); }

/* --------------------------------------------------------------------------
   41.11  Responsive

   Mobile first above; these are the two places the page changes shape. The
   category index becomes a horizontal scroller pinned under the header, and
   the library becomes two columns once there is room for a real index
   without squeezing the measure.
   -------------------------------------------------------------------------- */

/* Below 700px the breadcrumb uses the short label the brief asks for, and the
   corner bouquet is trimmed back — at 22vw it would climb out of the corner
   and sit under the desk drawing once the hero stacks. */
@media (max-width: 700px) {
  .faq-crumb__long { display: none; }
  .faq-crumb__short { display: inline; }

  .faq-hero__bloom {
    inline-size: min(40vw, 11rem);
    opacity: var(--foliage-quiet);
  }
}

@media (max-width: 999px) {
  /* The index rides under the sticky header as a horizontal strip. It keeps
     its 44px targets, and the active item is scrolled into view by
     initFaqLibrary so the current category is always visible. */
  .faq-nav {
    inset-block-start: var(--header-height);
    margin-inline: calc(var(--page-gutter) * -1);
    padding: var(--space-2) var(--page-gutter);
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(8px);
    border-block-end: 1px solid var(--faq-rule);
  }

  .faq-nav__title { display: none; }

  .faq-nav__list {
    display: flex;
    gap: var(--space-1);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .faq-nav__list::-webkit-scrollbar { display: none; }

  /* Ivory, not paper: the strip itself is now paper-tinted, so paper chips on
     it would read as borders floating on nothing. */
  .faq-nav__link {
    flex: none;
    border: 1px solid var(--faq-rule);
    background: var(--color-island-ivory);
    white-space: nowrap;
  }

  /* The index is pinned under the header here, and the help block is pinned
     with it. Every row it adds is a row of the phone permanently spent, so it
     collapses onto one: line left, button right at its natural width instead
     of a full-width bar. One 44px row rather than three. */
  .faq-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    margin-block-start: var(--space-2);
    padding: var(--space-2);
  }

  .faq-help__text { margin: 0; }

  .faq-help .btn--block {
    inline-size: auto;
    flex: none;
  }
}

@media (min-width: 641px) {
  /* The global .faq-item__q rule sets a min-height inside this breakpoint,
     so the library's own 44px floor has to be restated at equal or higher
     specificity to survive it. */
  .faq-library .faq-item__q { min-block-size: 56px; }
}

@media (min-width: 1000px) {
  .faq-hero__inner { grid-template-columns: 55fr 45fr; }
  .faq-library__layout { grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr); }
}

@media (min-width: 1200px) {
  /* The library is the one part of the page that is deliberately narrower
     than the site container: an answer column wider than this stops being
     readable, whatever the screen allows. */
  .faq-library__inner { max-width: 1280px; margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   41.7  Reduced motion

   Everything in the hero that loops, drifts, stamps or tracks the pointer
   stops. Nothing else on the page moves: the accordion's own panel animation
   is already gated inside faqAnimatePanel.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .faq-hero__shadow,
  .faq-hero.is-ready .faq-desk__leaf--right,
  .faq-hero.is-ready .faq-desk__tab--2,
  .faq-hero.is-ready .faq-desk__letter--front,
  .faq-hero.is-ready .faq-desk__postmark {
    animation: none !important;
  }

  .faq-hero [data-faq-layer] {
    translate: none !important;
    transition: none !important;
  }

  .faq-help .btn { transition: none !important; }
}

/* --------------------------------------------------------------------------
   38.21 STORY PAGE — THIRD PASS
   The hero becomes a reel of taped prints on the dark ground with one paper
   sheet beneath it holding the story and the order. The story world trades
   its single oval plate for a scatter of prints.
   -------------------------------------------------------------------------- */

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

.story-hero {
  padding: var(--space-4) 0 var(--space-12);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(31, 102, 97, 0.55), transparent 62%),
    var(--color-ocean-ink);
  color: var(--color-text-inverse);
}

.story-hero__frond {
  top: -2%;
  right: -4%;
  width: clamp(140px, 18vw, 320px);
  opacity: 0.3;
  rotate: 8deg;
}

.breadcrumb--inverse { color: var(--color-sea-mist); }
.breadcrumb--inverse .breadcrumb__item--current { color: var(--color-text-inverse); }
.breadcrumb--inverse .breadcrumb__item + .breadcrumb__item::before { color: var(--color-sunset-gold); }

/* --- The reel ----------------------------------------------------------- */

/* The sheet used to be pulled up over the reel, which put its corner on top
   of the prints and ate their clicks. They sit apart now. */
.story-reel {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-4);
  padding: 0 clamp(var(--space-6), 6vw, var(--space-12));
}

/* The scroller clips whatever leaves its box, and the selected print is
   scaled from its centre — so the row needs room on all four sides or the
   first and last prints lose an edge. */
.reel__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(var(--space-2), 2vw, var(--space-4));
  margin: 0;
  padding: var(--space-5) max(var(--space-4), calc(50% - 140px)) var(--space-6);
  list-style: none;
  overflow-x: auto;
  scroll-padding-inline: var(--space-6);
  scrollbar-width: none;
}

.reel__track::-webkit-scrollbar { display: none; }

.reel__slot { flex: 0 0 auto; }

/* Each print is paper first, picture second: a border, a strip of tape, a
   handwritten line under the window. */
.reel__print {
  display: block;
  width: clamp(150px, 17vw, 230px);
  padding: 10px 10px 0;
  border: 0;
  border-radius: 3px;
  background: var(--color-paper-white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  rotate: -2deg;
  transition: rotate var(--dur-component) var(--ease-paper),
              scale var(--dur-component) var(--ease-paper),
              translate var(--dur-component) var(--ease-paper),
              box-shadow var(--dur-component) var(--ease-out);
}

.reel__slot:nth-child(even) .reel__print { rotate: 2.4deg; }

.reel__print:hover { translate: 0 -6px; }

/* The selected print straightens, grows and lifts clear of its neighbours. */
.reel__print.is-selected {
  rotate: 0deg;
  scale: 1.16;
  translate: 0 -4px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  position: relative;
  z-index: 2;
}

.reel__tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 74px;
  height: 22px;
  translate: -50% 0;
  rotate: -1.4deg;
  background: rgba(233, 214, 184, 0.8);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.reel__print { position: relative; }

.reel__window {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  background: var(--color-sea-mist);
}

.reel__window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel__hand {
  display: block;
  padding: 10px 4px 12px;
  font-family: var(--font-display-family);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--color-muted-ink);
  text-align: center;
}

.reel__print.is-selected .reel__hand { color: var(--color-text-strong); }

.reel__nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 242, 232, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--color-island-ivory);
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out),
              border-color var(--dur-micro) var(--ease-out);
}

.reel__nav:hover {
  background: rgba(247, 242, 232, 0.14);
  border-color: var(--color-sunset-gold);
}

.reel__nav svg { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.reel__nav--prev { left: var(--space-2); }
.reel__nav--next { right: var(--space-2); }

.reel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  margin: 0;
}

.reel__zoom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 var(--space-2);
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font: inherit;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-sea-mist);
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out);
}

.reel__zoom:hover { color: var(--color-sunset-gold); }

.reel__zoom svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round;
}

.reel__count {
  font-size: var(--font-label);
  letter-spacing: 0.12em;
  color: var(--color-sunset-gold);
}

/* --- The sheet ---------------------------------------------------------- */

.story-sheet {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: start;
  padding: clamp(var(--space-4), 4vw, var(--space-9));
  border-radius: var(--radius-card);
  background: var(--color-paper-white);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  color: var(--color-text-default);
}

.story-sheet__order .order-card { margin: 0; }

.story-sheet .story-panel__title { font-size: clamp(2rem, 3vw, 2.9rem); }

.story-sheet .story-panel__facts {
  border-bottom: 0;
  padding-bottom: 0;
}

/* --- Synopsis and reader fit: the pinned column centres on its picture --- */

.story-synopsis__inner,
.fit-layout { align-items: center; }

.synopsis-aside { position: static; }

.fit-intro { position: static; }

.fit-intro__figure { margin-bottom: 0; }

/* --- Story world: a scatter of prints ----------------------------------- */

.world-scatter {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-3);
  row-gap: var(--space-5);
  padding-bottom: var(--space-4);
}

.world-print {
  position: relative;
  margin: 0;
  padding: 10px 10px 0;
  border-radius: 3px;
  background: var(--color-paper-white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  transition: rotate var(--dur-component) var(--ease-paper),
              translate var(--dur-component) var(--ease-paper);
}

.world-print img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.world-print figcaption {
  padding: 9px 2px 11px;
  font-family: var(--font-display-family);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-muted-ink);
  text-align: center;
}

.world-print__tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 68px;
  height: 21px;
  translate: -50% 0;
  background: rgba(233, 214, 184, 0.78);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
}

/* Pinned at three different angles, the third spanning both columns and
   pulled up between them so the group reads as a handful of prints dropped
   on the page rather than a grid. */
/* Staggered rather than stacked: the third print used to be pulled up over
   the first two and hide their captions. */
.world-print--1 { rotate: -3deg; translate: 0 var(--space-3); }
.world-print--2 { rotate: 2.6deg; translate: 0 calc(var(--space-3) * -1); }
.world-print--3 {
  grid-column: 1 / -1;
  width: min(70%, 330px);
  margin: var(--space-3) auto 0;
  rotate: -1.4deg;
}

.world-print:hover { rotate: 0deg; translate: 0 -4px; }

.world-print--1:hover { translate: 0 calc(var(--space-3) - 4px); }

/* --- Related stories: the comparison link rides with the heading -------- */

.stories__head-cta { margin-top: var(--space-3); }

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1100px) {
  .story-sheet { grid-template-columns: minmax(0, 1fr); }
  .story-synopsis__inner,
  .fit-layout { align-items: start; }
}

@media (max-width: 700px) {
  .story-reel { padding: 0 var(--space-2); margin-bottom: var(--space-3); }
  .reel__print { width: clamp(140px, 52vw, 190px); }
  .reel__nav { display: none; }
  .story-sheet { padding: var(--space-3); }
  .world-scatter { grid-template-columns: minmax(0, 1fr); }
  .world-print--3 { width: min(86%, 300px); }
  .world-print--1,
  .world-print--2 { translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reel__print,
  .world-print { transition: none !important; }
  .reel__print.is-selected { scale: 1.1; }
}

/* --------------------------------------------------------------------------
   38.22 STORY PAGE — FOURTH PASS
   Reel runs edge to edge, the story column compacts and pins, the order card
   trades stacked boxes for choice tiles, and every band from the synopsis
   down takes a one-screen floor the way the homepage deck does.
   -------------------------------------------------------------------------- */

/* --- Reel: edge to edge ------------------------------------------------- */

.story-reel { padding: 0; }

/* The inline padding used to be `50% - 140px`, which on a wide screen left
   most of a screen of empty ground before the first print. */
.reel__track {
  padding: var(--space-4) var(--space-5) var(--space-5);
  scroll-padding-inline: var(--space-5);
}

.reel__nav {
  top: 46%;
  background: rgba(18, 63, 59, 0.72);
  backdrop-filter: blur(2px);
}

.reel__nav--prev { left: var(--space-2); }
.reel__nav--next { right: var(--space-2); }

/* --- Story column: compact, and it pins ---------------------------------- */

.story-sheet { align-items: start; }

.story-sheet__story {
  position: sticky;
  top: calc(var(--header-height) + var(--space-2));
}

.story-sheet .story-panel__title { font-size: clamp(1.8rem, 2.5vw, 2.4rem); }
.story-sheet .story-panel__premise { margin-bottom: var(--space-2); }
.story-sheet .story-price { margin-bottom: var(--space-3); }
.story-sheet .story-price__option { padding: var(--space-2); }
.story-sheet .story-price__figure { font-size: 1.3rem; }

/* Four facts as a strip of marks rather than a definition list. */
.quickfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(50%, 130px), 1fr));
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
  list-style: none;
}

.quickfact { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }

.quickfact__glyph {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-sea-mist);
}

.quickfact__glyph svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--color-ocean-ink); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.quickfact__label {
  font-size: var(--font-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.quickfact__value { font-weight: 600; color: var(--color-text-strong); }

.story-panel__best { font-size: var(--font-small); margin-bottom: var(--space-2); }

.story-note-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: center;
  font-size: var(--font-label);
  color: var(--color-text-muted);
}

.story-note-row__age {
  padding: 4px 10px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: var(--color-sea-mist);
  color: var(--color-text-strong);
}

.story-note-row__pledge { font-style: italic; }

/* --- Choice tiles -------------------------------------------------------- */

.choice-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: var(--space-2);
}

.choice { display: block; cursor: pointer; }

.choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice__body {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 44px;
  padding: var(--space-3) var(--space-2);
  border: 1.5px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  background: var(--color-paper-white);
  text-align: center;
  transition: border-color var(--dur-component) var(--ease-out),
              background-color var(--dur-component) var(--ease-out),
              translate var(--dur-component) var(--ease-paper);
}

.choice__glyph {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-sea-mist);
  transition: background-color var(--dur-component) var(--ease-out);
}

.choice__glyph svg {
  width: 21px; height: 21px;
  fill: none; stroke: var(--color-ocean-ink); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.choice__title { font-weight: 700; color: var(--color-text-strong); }
.choice__note { font-size: var(--font-label); color: var(--color-text-muted); }

.choice:hover .choice__body { translate: 0 -2px; }

/* Selection is carried by the border, the tint, the filled mark and a tick —
   never by colour alone. */
.choice__input:checked + .choice__body {
  border-color: var(--color-postmark-coral);
  background: rgba(247, 222, 210, 0.55);
}

.choice__input:checked + .choice__body .choice__glyph {
  background: var(--color-postmark-coral);
}

.choice__input:checked + .choice__body .choice__glyph svg { stroke: var(--color-paper-white); }

.choice__body::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-paper-white);
}

.choice { position: relative; }

.choice__input:checked + .choice__body::after {
  border-color: var(--color-postmark-coral);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23FFFDF8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--color-postmark-coral);
}

.choice__input:focus-visible + .choice__body {
  outline: 3px solid var(--color-sunset-gold);
  outline-offset: 2px;
}

/* --- Synopsis: the stamp becomes a sticker on the photograph ------------- */

.synopsis-plate { position: relative; }

.synopsis-plate__stamp {
  top: calc(var(--space-3) * -1);
  right: calc(var(--space-3) * -1);
  width: clamp(64px, 7vw, 94px);
  filter: drop-shadow(0 6px 14px rgba(18, 63, 59, 0.3));
  rotate: -9deg;
}

/* --- Reader fit: the six become a ticked list ---------------------------- */

.fit-card__index {
  top: calc(var(--space-3) + 1px);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-postmark-coral);
  font-family: var(--font-body-family);
  font-size: 0;
  color: transparent;
}

.fit-card__index::before {
  content: '';
  width: 12px;
  height: 12px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8L12.5 5' fill='none' stroke='%23FFFDF8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fit-card { padding: var(--space-2) 0; }
.fit-card__title,
.fit-card__body { padding-left: 2.2rem; }

/* --- Story world: prints scattered, and the exhibit responds ------------- */

.story-world__stage { align-items: center; }

.world-scatter {
  position: relative;
  display: block;
  min-height: clamp(320px, 42vh, 470px);
  padding: 0;
}

.world-print {
  position: absolute;
  width: 46%;
  margin: 0;
  padding: 9px 9px 12px;
  transition: rotate var(--dur-component) var(--ease-paper),
              translate var(--dur-component) var(--ease-paper),
              opacity var(--dur-component) var(--ease-out),
              box-shadow var(--dur-component) var(--ease-out);
}

.world-print--1 { top: 0;    left: 0;   rotate: -5deg; z-index: 1; }
.world-print--2 { top: 12%;  right: 0;  rotate: 4deg;  z-index: 2; width: 44%; }
.world-print--3 { bottom: 0; left: 18%; rotate: -1.5deg; z-index: 3; width: 50%; }

.world-print.is-lifted {
  rotate: 0deg;
  translate: 0 -8px;
  z-index: 4;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.44);
}

.world-print.is-dimmed { opacity: 0.42; }

.world-entry { cursor: default; }

.world-entry:focus-visible {
  outline: 3px solid var(--color-sunset-gold);
  outline-offset: 4px;
}

.world-entry.is-active {
  border-top-color: var(--color-sunset-gold);
}

.world-entry.is-active .world-entry__tab,
.world-entry.is-active .world-entry__title { color: var(--color-sunset-gold); }

/* --- One screen per band, from the synopsis down ------------------------- */

.page-story-details .story-synopsis,
.page-story-details .story-fit,
.page-story-details .story-world,
.page-story-details .arrives,
.page-story-details .gift,
.page-story-details .schedule,
.page-story-details .reviews,
.page-story-details .faq,
.page-story-details .stories--related,
.page-story-details .final-cta {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.page-story-details .story-synopsis > *,
.page-story-details .story-fit > .container,
.page-story-details .story-world > .story-world__inner,
.page-story-details .arrives > .container,
.page-story-details .gift > .container,
.page-story-details .schedule > .container,
.page-story-details .reviews > .container,
.page-story-details .faq > .container,
.page-story-details .stories--related > .container,
.page-story-details .final-cta > .container { width: 100%; }

/* Short laptops get the content back rather than a clipped screen. */
@media (max-height: 780px) {
  .page-story-details .story-synopsis,
  .page-story-details .story-fit,
  .page-story-details .story-world,
  .page-story-details .arrives,
  .page-story-details .gift,
  .page-story-details .schedule,
  .page-story-details .reviews,
  .page-story-details .faq,
  .page-story-details .stories--related,
  .page-story-details .final-cta { min-height: 0; }
}

@media (max-width: 1100px) {
  .story-sheet__story { position: static; }

  .world-scatter { min-height: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .world-print { position: static; width: auto; }
  .world-print--3 { grid-column: 1 / -1; width: min(70%, 320px); margin: 0 auto; }

  .page-story-details .story-synopsis,
  .page-story-details .story-fit,
  .page-story-details .story-world,
  .page-story-details .arrives,
  .page-story-details .gift,
  .page-story-details .schedule,
  .page-story-details .reviews,
  .page-story-details .faq,
  .page-story-details .stories--related,
  .page-story-details .final-cta { min-height: 0; display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .choice__body,
  .world-print { transition: none !important; }
}

/* The synopsis and reader-fit bands were 29px taller than their floor, which
   clipped the foot of each photograph. Both pictures are now capped against
   the viewport rather than by aspect ratio alone. */
.synopsis-plate__frame {
  aspect-ratio: 3 / 4;
  max-height: 100% !important;
}
 
.fit-intro__figure img { max-height: min(34vh, 320px); }

@media (max-width: 1100px) {
  .synopsis-plate__frame { max-height: none; }
  .fit-intro__figure img { max-height: none; }
}

/* --------------------------------------------------------------------------
   38.23 STORY PAGE — FIFTH PASS
   -------------------------------------------------------------------------- */

/* --- Breadcrumb on the dark ground -------------------------------------- */

.breadcrumb--inverse .breadcrumb__item,
.breadcrumb--inverse .breadcrumb__item a { color: var(--color-sea-mist); }

.breadcrumb--inverse .breadcrumb__item a:hover,
.breadcrumb--inverse .breadcrumb__item a:focus-visible {
  color: var(--color-paper-white);
  border-bottom-color: currentColor;
}

.breadcrumb--inverse .breadcrumb__item--current { color: var(--color-sunset-gold); }

/* --- Reel: room for the shadow, and a real lift on hover ---------------- */

/* The scroller clips whatever leaves its box, so the padding has to clear
   both the tape above and the drop shadow below. */
.reel__track { padding: var(--space-5) var(--space-5) var(--space-8); }

.reel__print:hover,
.reel__print:focus-visible {
  scale: 1.06;
  translate: 0 -8px;
  z-index: 3;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.44);
}

.reel__print.is-selected:hover { scale: 1.22; }

.reel__print { cursor: zoom-in; }

/* --- Quick facts: one line each, glyph and text on a shared baseline ---- */

.quickfacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2) var(--space-3);
}

.quickfact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
}

.quickfact__glyph { grid-row: auto; width: 26px; height: 26px; }
.quickfact__glyph svg { width: 15px; height: 15px; }

.quickfact__label { font-size: 0.68rem; letter-spacing: 0.1em; }

.quickfact__value {
  font-size: var(--font-small);
  line-height: 1.3;
  text-wrap: balance;
}

@media (max-width: 560px) {
  .quickfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Synopsis: the plate keeps its old size, the sticker overhangs ------- */

.synopsis-plate__frame { max-height: none; }

.synopsis-plate__stamp {
  top: calc(var(--space-4) * -1);
  right: calc(var(--space-4) * -1);
  z-index: 3;
}

/* --- Reader fit: a pinned board ----------------------------------------- */

.story-fit .container { width: 100%; }

.fit-intro {
  max-width: 46ch;
  margin-bottom: var(--space-6);
}

.fit-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}

.fit-board__figure {
  grid-column: span 2;
  grid-row: span 2;
}

.fit-board__figure figure {
  position: relative;
  margin: 0;
  padding: 10px 10px 12px;
  border-radius: 3px;
  background: var(--color-paper-white);
  box-shadow: var(--shadow-card);
  rotate: -1.6deg;
}

.fit-board__figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.fit-board__tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 78px;
  height: 22px;
  translate: -50% 0;
  rotate: -2deg;
  background: rgba(233, 214, 184, 0.8);
  box-shadow: 0 1px 4px rgba(18, 63, 59, 0.16);
}

/* Each quality is a small pinned note, tilted a little differently. */
.fit-note {
  position: relative;
  padding: var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 26px);
  border-radius: var(--radius-small);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-paper);
  transition: rotate var(--dur-component) var(--ease-paper),
              translate var(--dur-component) var(--ease-paper),
              box-shadow var(--dur-component) var(--ease-out);
}

.fit-note--1 { rotate: -1.4deg; }
.fit-note--2 { rotate: 1.1deg; }
.fit-note--3 { rotate: 0.7deg; }
.fit-note--4 { rotate: -0.9deg; }
.fit-note--5 { rotate: 1.5deg; }
.fit-note--6 { rotate: -1.1deg; }

.fit-note:hover {
  rotate: 0deg;
  translate: 0 -4px;
  box-shadow: var(--shadow-card);
}

.fit-note__tick {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8L12.5 5' fill='none' stroke='%23FFFDF8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--color-postmark-coral);
}

.fit-note__title {
  font-family: var(--font-display-family);
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--color-text-strong);
  margin-bottom: 4px;
}

.fit-note__body { font-size: var(--font-small); color: var(--color-text-muted); }

/* --- Story world: one collage of prints and notes ------------------------ */

.story-world__head--centred {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-6);
}

.story-world__head--centred .eyebrow--rule { justify-content: center; }

.world-mix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}

.mix__cell--print .world-print {
  position: static;
  width: auto;
  margin: 0;
}

.mix__cell--print img { aspect-ratio: 4 / 3; }

/* Prints and notes are dealt out unevenly, so the band reads as a spread
   rather than a grid of equal tiles. */
.mix__cell--n1 { grid-column: span 1; margin-top: var(--space-5); }
.mix__cell--p1 { grid-column: span 1; }
.mix__cell--n2 { grid-column: span 1; margin-top: var(--space-8); }
.mix__cell--p2 { grid-column: span 1; margin-top: var(--space-4); }
.mix__cell--n3 { grid-column: span 1; }
.mix__cell--p3 { grid-column: span 2; margin-top: calc(var(--space-3) * -1); }
.mix__cell--n4 { grid-column: span 1; margin-top: var(--space-4); }

.mix__cell--p1 .world-print { rotate: -3.4deg; }
.mix__cell--p2 .world-print { rotate: 2.6deg; }
.mix__cell--p3 .world-print { rotate: -1.2deg; }

.mix__cell--note {
  padding: var(--space-3) var(--space-3) var(--space-3) 2.4rem;
  border: 0;
  border-top: 1px solid rgba(213, 162, 59, 0.4);
  background: none;
  transition: border-color var(--dur-component) var(--ease-out),
              translate var(--dur-component) var(--ease-paper);
}

.mix__cell--note.is-active,
.mix__cell--note:hover { border-top-color: var(--color-sunset-gold); translate: 0 -3px; }

.mix__cell--note .world-entry__tab {
  position: absolute;
  top: var(--space-3);
  left: 0;
  font-family: var(--font-display-family);
  font-size: 1.3rem;
  color: var(--color-sunset-gold);
}

.mix__cell--note { position: relative; }

.mix__cell--note .world-entry__index,
.mix__cell--note .world-entry__title,
.mix__cell--note .world-entry__body { padding-left: 0; }

.mix__cell--note .world-entry__body { font-size: var(--font-small); }

/* --- Full-screen image view --------------------------------------------- */

.lightbox__card {
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: center;
  padding: clamp(var(--space-4), 5vw, var(--space-9));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  translate: 0 0;
}

.lightbox__scrim { background: rgba(9, 32, 30, 0.94); }

.lightbox__figure {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--space-3);
  min-height: 0;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  border-radius: var(--radius-small);
  background: transparent;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-island-ivory);
  text-align: center;
}

.lightbox__count { color: var(--color-sunset-gold); }

.lightbox__close {
  top: clamp(var(--space-2), 3vw, var(--space-4));
  right: clamp(var(--space-2), 3vw, var(--space-4));
  width: 52px;
  height: 52px;
  border-color: rgba(247, 242, 232, 0.4);
  background: rgba(18, 63, 59, 0.7);
  color: var(--color-island-ivory);
}

/* The arrows sit against the edges of the screen rather than under the
   picture, so they are where a full-screen viewer expects them. */
.lightbox__controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0 clamp(var(--space-2), 3vw, var(--space-5));
  pointer-events: none;
}

.lightbox__controls .carousel-btn {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(247, 242, 232, 0.4);
  background: rgba(18, 63, 59, 0.7);
  color: var(--color-island-ivory);
}

.lightbox__controls .carousel-btn:hover { background: rgba(31, 102, 97, 0.9); }

/* --- Homepage bands keep their own rhythm ------------------------------- */

/* The floor rule was also overriding these sections' padding, which is what
   made them sit differently here than on the homepage. */
.page-story-details .gift,
.page-story-details .schedule,
.page-story-details .reviews,
.page-story-details .faq,
.page-story-details .final-cta {
  padding-top: revert-layer;
  padding-bottom: revert-layer;
}

@media (max-width: 1100px) {
  .fit-board,
  .world-mix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-board__figure { grid-column: span 2; grid-row: auto; }
  .mix__cell--p3 { grid-column: span 2; }
  .mix__cell--n1, .mix__cell--n2, .mix__cell--n3, .mix__cell--n4,
  .mix__cell--p1, .mix__cell--p2, .mix__cell--p3 { margin-top: 0; }
}

@media (max-width: 700px) {
  .fit-board,
  .world-mix { grid-template-columns: minmax(0, 1fr); }
  .fit-board__figure,
  .mix__cell--p3 { grid-column: span 1; }
  .lightbox__figure img { max-height: 62vh; }
}

@media (prefers-reduced-motion: reduce) {
  .fit-note,
  .mix__cell--note { transition: none !important; }
}

/* --------------------------------------------------------------------------
   38.24 OVERLAY BASE — restored
   These rules used to sit under the sample-drawer heading and went with it
   when that feature was removed, which left the modal and the full-screen
   viewer with no fixed positioning and no scrim at all.
   -------------------------------------------------------------------------- */

.story-form,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.story-form__scrim,
.lightbox__scrim {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-component) var(--ease-out);
}

.story-form__scrim { background: rgba(18, 63, 59, 0.6); }
.lightbox__scrim { background: rgba(9, 32, 30, 0.95); }

.story-form.is-open .story-form__scrim,
.lightbox.is-open .lightbox__scrim { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .story-form__scrim,
  .lightbox__scrim { transition: none !important; }
}

/* --------------------------------------------------------------------------
   38.25 STORY WORLD — collage sizing
   The prints were free to grow to their grid cell, which pushed the band past
   its one-screen floor and let the wide one run under the notes beside it.
   -------------------------------------------------------------------------- */

.mix__cell--print img {
  aspect-ratio: 4 / 3;
  max-height: clamp(120px, 19vh, 210px);
  width: 100%;
  object-fit: cover;
}

.mix__cell--p3 { grid-column: span 1; margin-top: var(--space-6); }

.mix__cell--p3 .world-print { rotate: 1.8deg; }

.world-mix { column-gap: var(--space-4); row-gap: var(--space-3); align-items: start; }

.mix__cell--note .world-entry__body { font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 1100px) {
  .mix__cell--print img { max-height: none; }
}

/* The print spans two rows, so its height was setting both of them and
   opening a gap between the first pair of notes and the second. */
.fit-board { align-content: start; }

.fit-board__figure img { max-height: clamp(200px, 30vh, 300px); }

@media (max-width: 1100px) {
  .fit-board__figure img { max-height: none; }
}

/* Both bands were a little past their one-screen floor: the synopsis by the
   height of its (deliberately full-size) plate, the story world by the
   stagger between its prints and notes. */
.page-story-details .story-synopsis {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.page-story-details .story-world {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.story-world__head--centred { margin-bottom: var(--space-4); }

.mix__cell--print img { max-height: clamp(110px, 16vh, 180px); }

.mix__cell--n1 { margin-top: var(--space-3); }
.mix__cell--n2 { margin-top: var(--space-5); }
.mix__cell--p2 { margin-top: var(--space-3); }
.mix__cell--p3 { margin-top: var(--space-4); }
.mix__cell--n4 { margin-top: var(--space-2); }

.mix__cell--note { padding-top: var(--space-2); padding-bottom: var(--space-2); }

/* --------------------------------------------------------------------------
   38.26 STORY PAGE — SIXTH PASS
   -------------------------------------------------------------------------- */

/* --- Hero story block: postal furniture instead of plain stacked type ---- */

.story-panel__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-panel__kicker-rule {
  width: 34px;
  height: 2px;
  background: var(--color-action-primary);
}

/* The title carries a hairline under it, the way a franked heading would. */
.story-sheet .story-panel__title { margin-bottom: var(--space-2); }

.story-sheet .story-panel__premise {
  position: relative;
  padding-left: var(--space-3);
  border-left: 2px solid var(--color-warm-sand);
  font-size: var(--font-body);
  color: var(--color-text-default);
}

/* Mood chips read as small perforated stamps. */
.story-panel__moods { gap: var(--space-2); margin-bottom: var(--space-4); }

.story-panel__moods li {
  position: relative;
  padding: 6px 14px;
  border: 0;
  border-radius: 0;
  background: var(--color-island-ivory);
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-text-strong);
  --perf: 5px;
  -webkit-mask:
    radial-gradient(var(--perf) at left, transparent 98%, #000) left / 100% 100% no-repeat,
    radial-gradient(var(--perf) at right, transparent 98%, #000) right / 100% 100% no-repeat;
  mask:
    radial-gradient(var(--perf) at left, transparent 98%, #000) left / 100% 100% no-repeat,
    radial-gradient(var(--perf) at right, transparent 98%, #000) right / 100% 100% no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  box-shadow: inset 0 0 0 1px var(--color-warm-sand);
}

/* The two prices become tickets: a perforated left edge and a franked flag
   on the one that saves money. */
.story-price__option {
  position: relative;
  padding-left: var(--space-4);
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.story-price__option::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 12px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom, var(--color-border-default) 0 5px, transparent 5px 11px);
}

.story-price__option--prepaid { border-color: var(--color-sunset-gold); }

.story-price__option--prepaid::before {
  background: repeating-linear-gradient(
    to bottom, rgba(213, 162, 59, 0.75) 0 5px, transparent 5px 11px);
}

.story-price__flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px 5px;
  border-radius: 0 var(--radius-medium) 0 var(--radius-medium);
  background: var(--color-postmark-coral);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-paper-white);
}

.story-price__head { padding-right: 5.5rem; }

/* --- House icons inside the tiles and the facts strip -------------------- */

.choice__glyph {
  width: 44px;
  height: 44px;
  background: transparent;
}

.choice__glyph .funky { width: 34px; height: 34px; }

.choice__input:checked + .choice__body .choice__glyph { background: transparent; }
.choice__input:checked + .choice__body .choice__glyph svg { stroke: none; }

.quickfact__glyph { background: transparent; width: 30px; height: 30px; }
.quickfact__glyph .funky { width: 28px; height: 28px; }

/* --- Synopsis: the pair centres in the band ------------------------------ */

.story-synopsis__inner {
  max-width: 1120px;
  margin-inline: auto;
  justify-content: center;
}

/* --- Reader fit: notes on the right, print matching their height --------- */

.fit-board {
  grid-template-columns: minmax(0, 1.05fr) repeat(2, minmax(0, 1fr));
  align-items: stretch;
  align-content: stretch;
}

.fit-board__figure {
  grid-column: 1;
  grid-row: 1 / span 3;
  height: 100%;
}

.fit-board__figure figure { height: 100%; display: flex; }

.fit-board__figure img {
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

.fit-note { display: flex; flex-direction: column; justify-content: center; }

/* --- Story world: an irregular spread, not a stack ---------------------- */

.world-mix {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-3);
  row-gap: var(--space-4);
  align-items: start;
}

.mix__cell--p1 { grid-column: 1 / span 5;  grid-row: 1; margin-top: 0; }
.mix__cell--n1 { grid-column: 6 / span 4;  grid-row: 1; margin-top: var(--space-6); }
.mix__cell--p2 { grid-column: 10 / span 3; grid-row: 1; margin-top: var(--space-3); }

.mix__cell--n2 { grid-column: 1 / span 4;  grid-row: 2; margin-top: calc(var(--space-2) * -1); }
.mix__cell--p3 { grid-column: 5 / span 5;  grid-row: 2; margin-top: var(--space-3); }
.mix__cell--n3 { grid-column: 10 / span 3; grid-row: 2; margin-top: var(--space-1); }

.mix__cell--n4 { grid-column: 3 / span 5;  grid-row: 3; margin-top: calc(var(--space-3) * -1); }

.mix__cell--p1 .world-print { rotate: -4deg; }
.mix__cell--p2 .world-print { rotate: 3.2deg; }
.mix__cell--p3 .world-print { rotate: -1.8deg; }

/* --- Related stories: the link sits beside the copy ---------------------- */

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--space-6);
  align-items: end;
}

.section-head--split .eyebrow,
.section-head--split .section-head__title,
.section-head--split .section-head__intro { grid-column: 1; }

.stories__head-cta--inline {
  grid-column: 2;
  grid-row: 2 / span 2;
  margin: 0;
  align-self: center;
}

@media (max-width: 1100px) {
  .fit-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-board__figure { grid-column: 1 / -1; grid-row: auto; height: auto; }
  .fit-board__figure img { height: auto; aspect-ratio: 5 / 4; }

  .world-mix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mix__cell--p1, .mix__cell--p2, .mix__cell--p3,
  .mix__cell--n1, .mix__cell--n2, .mix__cell--n3, .mix__cell--n4 {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .stories__head-cta--inline { grid-column: 1; grid-row: auto; margin-top: var(--space-3); }
}

@media (max-width: 700px) {
  .fit-board { grid-template-columns: minmax(0, 1fr); }
  .world-mix { grid-template-columns: minmax(0, 1fr); }
  .story-price__head { padding-right: 0; }
  .story-price__flag { position: static; display: inline-block; border-radius: var(--radius-pill); margin-bottom: 6px; }
}

/* The house icons draw a little outside their viewBox, so a tight box was
   shaving the top off the franked badges. */
.quickfact__glyph,
.choice__glyph { overflow: visible; }

.quickfact__glyph { width: 34px; height: 34px; }
.quickfact__glyph .funky { width: 32px; height: 32px; }

/* The prints in the collage were letterboxed to a thin strip. */
.mix__cell--print img { max-height: clamp(130px, 19vh, 205px); }

.world-mix { row-gap: var(--space-3); }
.mix__cell--n1 { margin-top: var(--space-5); }
.mix__cell--n4 { margin-top: calc(var(--space-4) * -1); }

/* Last 31px: the band still ran past its one-screen floor. */
.story-world__head--centred { margin-bottom: var(--space-3); }
.mix__cell--print img { max-height: clamp(120px, 17.5vh, 190px); }
.mix__cell--n1 { margin-top: var(--space-4); }

/* Centring the pair had squeezed the copy column enough to break the heading
   across three lines. */
.story-synopsis__inner {
  max-width: 1200px;
  grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
  gap: clamp(var(--space-4), 4vw, var(--space-7));
}

/* --------------------------------------------------------------------------
   38.27 STORY PAGE — SEVENTH PASS
   -------------------------------------------------------------------------- */

/* --- Required fields: a red asterisk, site-wide -------------------------- */

.field__req {
  margin-left: 2px;
  font-weight: 700;
  color: var(--color-postmark-coral);
}

/* --- Master form: the confirmation modal's dressing --------------------- */

.story-form__card {
  width: min(560px, calc(100% - var(--space-4)));
  padding: clamp(var(--space-4), 4vw, var(--space-6));
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(233, 214, 184, 0.34), transparent 60%),
    var(--color-paper-white);
}

.story-form__eyebrow { justify-content: center; margin-bottom: var(--space-2); }

.story-form__title { font-size: clamp(1.9rem, 3vw, 2.6rem); }

.story-form__lede { max-width: 46ch; margin-inline: auto; }

.story-form__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--color-sea-mist);
  font-size: 1.2rem;
}

.story-form__close:hover { background: var(--color-warm-sand); }

/* The form itself stays left-aligned — centred labels and inputs are hard to
   scan — while the head above it is centred. */
.story-form__form { text-align: left; }

.story-form__chosen { text-align: left; }

.story-form__edit {
  min-height: 32px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(247, 222, 210, 0.7);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-postmark-coral);
  text-decoration: none;
}

.story-form__edit:hover {
  background: var(--color-postmark-coral);
  color: var(--color-paper-white);
}

/* --- Order receipt: three lines and two figures ------------------------- */

.receipt {
  margin: var(--space-3) 0;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border-strong);
}

.receipt__line {
  display: flex;
  flex-wrap: wrap;
  gap: 2px var(--space-2);
  align-items: baseline;
  justify-content: space-between;
  padding: 5px 0;
}

.receipt__label {
  font-size: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.receipt__value {
  font-weight: 600;
  color: var(--color-text-strong);
  text-align: right;
}

.receipt__totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-default);
}

.receipt__total { display: grid; gap: 2px; }

.receipt__total strong {
  font-family: var(--font-display-family);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-strong);
}

.receipt__total--muted strong { font-size: 1.2rem; color: var(--color-text-muted); }

.receipt__note {
  margin-top: var(--space-2);
  font-size: var(--font-label);
  color: var(--color-text-muted);
}

/* --- Mood chips: the homepage stamp pill -------------------------------- */

.story-panel__moods.definition__meta { margin: 0 0 var(--space-4); padding: 0; list-style: none; }

.story-panel__moods.definition__meta li { display: inline-flex; }

.story-panel__moods.definition__meta li:nth-child(1) span {
  --pill-fill: var(--color-ocean-ink);
  --pill-ink: var(--color-paper-white);
  --pill-hole: var(--color-sunset-gold);
  --pill-tilt: -3deg;
}

.story-panel__moods.definition__meta li:nth-child(2) span {
  --pill-fill: var(--color-shell-blush);
  --pill-tilt: 2deg;
}

.story-panel__moods.definition__meta li:nth-child(3) span {
  --pill-fill: var(--color-warm-sand);
  --pill-tilt: -1.5deg;
}

/* --- Price tickets: the flag sits in the corner properly ---------------- */

.story-price__option {
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
}

.story-price__option::before {
  top: var(--space-2);
  bottom: var(--space-2);
  left: 14px;
  width: 0;
  border-left: 2px dashed var(--color-border-default);
  background: none;
}

.story-price__option--prepaid::before { border-left-color: rgba(213, 162, 59, 0.8); }

.story-price__flag {
  top: -1px;
  right: -1px;
  padding: 5px 12px 6px;
  border-radius: 0 var(--radius-medium) 0 12px;
}

.story-price__head { padding-right: 6rem; }

/* --- Quick-fact icons: the house marks, uncropped ----------------------- */

.quickfact { grid-template-columns: 1fr; row-gap: 4px; }

.quickfact__glyph {
  width: 38px;
  height: 38px;
  place-items: start center;
  justify-self: start;
}

.quickfact__glyph .funky { width: 34px; height: 34px; overflow: visible; }

/* --- Synopsis: a larger plate, a larger sticker ------------------------- */

.synopsis-plate__frame { aspect-ratio: 4 / 5; }

.synopsis-plate__stamp {
  width: clamp(84px, 8vw, 118px);
  top: calc(var(--space-5) * -1);
  right: calc(var(--space-5) * -1);
}

/* --- Reader fit: centred head, print between the two sets of notes ------ */

.fit-intro--centred {
  max-width: 52ch;
  margin-inline: auto;
  text-align: center;
}

.fit-intro--centred .eyebrow--rule { justify-content: center; }

.fit-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.fit-board__figure {
  grid-column: 1 / -1;
  grid-row: auto;
  height: auto;
}

.fit-board__figure figure {
  display: block;
  transition: rotate var(--dur-component) var(--ease-paper),
              translate var(--dur-component) var(--ease-paper),
              box-shadow var(--dur-component) var(--ease-out);
}

.fit-board__figure figure:hover {
  rotate: 0deg;
  translate: 0 -5px;
  box-shadow: var(--shadow-float);
}

.fit-board__figure img {
  height: auto;
  aspect-ratio: 21 / 7;
  max-height: clamp(150px, 22vh, 240px);
  object-fit: cover;
}

@media (max-width: 1100px) {
  .fit-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-board__figure img { aspect-ratio: 16 / 7; max-height: none; }
}

@media (max-width: 700px) {
  .fit-board { grid-template-columns: minmax(0, 1fr); }
  .receipt__totals { grid-template-columns: minmax(0, 1fr); }
  .story-price__head { padding-right: 0; }
}

/* Final trims for the seventh pass. */

/* The confirmation modal's close control is a disc, like the newsletter one. */
.story-form__close { border-radius: 50%; }

/* The franked badges were still losing their top edge to a fixed-height box. */
.quickfact__glyph { height: auto; min-height: 34px; place-items: center start; }

/* The print now sits between two rows of notes, so its tape was landing on
   the row above. It hangs off the left corner instead. */
.fit-board__tape {
  top: -9px;
  left: 12%;
  width: 66px;
  rotate: -6deg;
}

.fit-board__figure img { aspect-ratio: 21 / 8; }

/* A little more room between the ticket's stub and its copy. */
.story-price__option { padding-left: var(--space-6); }
.story-price__option::before { left: 18px; }

/* --------------------------------------------------------------------------
   38.28 STORY PAGE — EIGHTH PASS
   -------------------------------------------------------------------------- */

/* --- Mood pills: the pill only, no box around it ------------------------ */

.story-panel__moods.definition__meta li {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-mask: none;
  mask: none;
}

/* --- Price tickets: no stub rule --------------------------------------- */

.story-price__option { padding-left: var(--space-3); }
.story-price__option::before { content: none; }

/* --- Quick-fact icons: lighter outline so the mark reads ---------------- */

.quickfact__glyph .funky .funky__ink { stroke-width: 1.4; }
.quickfact__glyph .funky { width: 30px; height: 30px; }

/* --- The receipt: one aligned column pair ------------------------------- */

.receipt__line {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: var(--space-2);
  align-items: baseline;
  padding: 7px 0;
}

.receipt__line + .receipt__line { border-top: 1px solid rgba(18, 63, 59, 0.08); }

.receipt__label { text-align: left; }

.receipt__value { font-size: var(--font-small); text-align: right; }

.receipt__totals {
  align-items: end;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
}

.receipt__total { gap: 4px; }
.receipt__total:last-child { text-align: right; }
.receipt__total strong { font-size: 1.6rem; line-height: 1; }
.receipt__total--muted strong { font-size: 1.35rem; }

.receipt__note { text-align: center; }

/* --- Synopsis: the reference layout ------------------------------------- */

.story-synopsis__inner {
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: center;
}

.synopsis-plate__frame {
  aspect-ratio: 3 / 4;
  max-height: min(66vh, 620px);
  margin-inline: auto;
  border-radius: var(--radius-medium);
}

/* The sticker straddles the top edge of the print, towards its right. */
.synopsis-plate__stamp {
  top: clamp(-56px, -4vw, -40px);
  right: 8%;
  width: clamp(78px, 7.4vw, 112px);
  rotate: 0deg;
}

.story-synopsis__title { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
.story-synopsis__body { font-size: 1rem; line-height: 1.7; }
.story-synopsis__body p:first-child::first-letter { font-size: 3rem; margin-top: 4px; }
.story-synopsis__beat { font-size: 1.1rem; }

/* --- Reader fit: three notes, the print, three notes -------------------- */

.fit-board {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: stretch;
}

.fit-board > li:nth-child(1) { grid-column: 1; grid-row: 1; }
.fit-board > li:nth-child(2) { grid-column: 1; grid-row: 2; }
.fit-board > li:nth-child(3) { grid-column: 1; grid-row: 3; }
.fit-board__figure          { grid-column: 2; grid-row: 1 / span 3; }
.fit-board > li:nth-child(5) { grid-column: 3; grid-row: 1; }
.fit-board > li:nth-child(6) { grid-column: 3; grid-row: 2; }
.fit-board > li:nth-child(7) { grid-column: 3; grid-row: 3; }

.fit-board__figure figure { height: 100%; }

.fit-board__figure img {
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

.fit-board__tape { left: 50%; rotate: -3deg; }

/* --- Related stories: the link sits on the container edge ---------------- */

.stories__head-cta--inline { justify-self: end; }
.section-head--split { column-gap: var(--space-4); }

/* --- Master form: left-aligned head, a cleaner chosen ticket ------------- */

.story-form__card { text-align: left; }
.story-form__head { margin-bottom: var(--space-4); }
.story-form__eyebrow { justify-content: flex-start; }
.story-form__lede { max-width: none; margin: 0; }

.chosen {
  display: grid;
  gap: 0;
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-warm-sand);
  border-radius: var(--radius-medium);
  background: var(--color-island-ivory);
}

.chosen__row {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr) auto;
  gap: var(--space-2);
  align-items: center;
  padding: 9px 0;
}

.chosen__row + .chosen__row { border-top: 1px solid rgba(18, 63, 59, 0.1); }

.chosen__label {
  font-size: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.chosen__value {
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-text-strong);
}

/* The message placeholder is body copy, not a label. */
.field__input--area::placeholder {
  font-family: var(--font-body-family);
  font-size: var(--font-small);
  letter-spacing: 0;
  color: var(--color-text-muted);
}

/* --- Order confirmation -------------------------------------------------- */

.story-done { position: fixed; inset: 0; z-index: 130; }

.story-done__scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 63, 59, 0.62);
  opacity: 0;
  transition: opacity var(--dur-component) var(--ease-out);
}

.story-done.is-open .story-done__scrim { opacity: 1; }

.story-done__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100% - var(--space-4)));
  max-height: min(88vh, 820px);
  overflow-y: auto;
  padding: clamp(var(--space-4), 4vw, var(--space-6));
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(233, 214, 184, 0.36), transparent 60%),
    var(--color-paper-white);
  box-shadow: var(--shadow-float);
  text-align: center;
  translate: -50% -50%;
  opacity: 0;
  scale: 0.98;
  transition: opacity var(--dur-component) var(--ease-out),
              scale var(--dur-component) var(--ease-paper);
}

.story-done.is-open .story-done__card { opacity: 1; scale: 1; }

.story-done__eyebrow { justify-content: center; margin-bottom: var(--space-1); }

.story-done__title {
  font-family: var(--font-display-family);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--color-text-strong);
  margin-bottom: var(--space-2);
}

.story-done__body {
  max-width: 44ch;
  margin: 0 auto var(--space-3);
  color: var(--color-text-muted);
}

.story-done__recap {
  display: grid;
  gap: 0;
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-medium);
  background: var(--color-island-ivory);
  text-align: left;
}

.story-done__recap > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  justify-content: space-between;
  padding: 6px 0;
}

.story-done__recap > div + div { border-top: 1px solid rgba(18, 63, 59, 0.1); }

.story-done__recap dt {
  font-size: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.story-done__recap dd { margin: 0; font-weight: 600; color: var(--color-text-strong); }

/* The confirmation mark, in sequence: the envelope draws itself, the letter
   drops into it, the seal is stamped on with a shockwave, and the frank
   flicks out. One pass, no loop. */
.done-mark {
  display: block;
  width: min(210px, 62%);
  margin: 0 auto var(--space-3);
  overflow: visible;
}

.done-mark__body,
.done-mark__flap,
.done-mark__fold {
  fill: none;
  stroke: var(--color-ocean-ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.done-mark__body { fill: var(--color-island-ivory); fill-opacity: 0; }

.done-mark__page {
  fill: var(--color-paper-white);
  stroke: var(--color-ocean-ink);
  stroke-width: 3.4;
  stroke-linejoin: round;
}

.done-mark__lines {
  fill: none;
  stroke: var(--color-warm-sand);
  stroke-width: 3.4;
  stroke-linecap: round;
}

.done-mark__disc { fill: var(--color-postmark-coral); }

.done-mark__ring {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 3;
  opacity: 0;
}

.done-mark__tick {
  fill: none;
  stroke: var(--color-paper-white);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.done-mark__rays path {
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 4;
  stroke-linecap: round;
}

/* Resting state: nothing drawn, nothing stamped. */
.story-done .done-mark__body,
.story-done .done-mark__fold,
.story-done .done-mark__flap,
.story-done .done-mark__lines,
.story-done .done-mark__tick {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.story-done .done-mark__letter { opacity: 0; translate: 0 -26px; }
.story-done .done-mark__page { opacity: 0; }
.story-done .done-mark__seal { opacity: 0; scale: 1.7; transform-origin: 100px 96px; }
.story-done .done-mark__rays { opacity: 0; scale: 0.55; transform-origin: 100px 96px; }

/* --- the sequence --- */

.story-done.is-played .done-mark__body {
  animation: drawStroke 460ms var(--ease-out) 80ms forwards,
             fillIn 300ms var(--ease-out) 460ms forwards;
}

.story-done.is-played .done-mark__fold {
  animation: drawStroke 320ms var(--ease-out) 300ms forwards;
}

.story-done.is-played .done-mark__flap {
  animation: drawStroke 380ms var(--ease-out) 380ms forwards;
}

/* The page drops in behind the envelope body, so it reads as being tucked
   into it rather than laid on top. */
.story-done.is-played .done-mark__letter {
  animation: letterDrop 460ms var(--ease-paper) 640ms forwards;
}

.story-done.is-played .done-mark__page {
  animation: fadeIn 200ms var(--ease-out) 640ms forwards;
}

.story-done.is-played .done-mark__lines {
  animation: drawStroke 320ms var(--ease-out) 820ms forwards;
}

.story-done.is-played .done-mark__seal {
  animation: sealStamp 420ms cubic-bezier(0.22, 1.35, 0.36, 1) 1040ms forwards;
}

.story-done.is-played .done-mark__ring {
  animation: sealShock 520ms var(--ease-out) 1220ms forwards;
}

.story-done.is-played .done-mark__tick {
  animation: drawStroke 300ms var(--ease-out) 1300ms forwards;
}

.story-done.is-played .done-mark__rays {
  animation: frankFlick 520ms var(--ease-out) 1420ms forwards;
}

@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes fillIn     { to { fill-opacity: 1; } }
@keyframes fadeIn     { to { opacity: 1; } }

@keyframes letterDrop {
  from { opacity: 0; translate: 0 -26px; }
  60%  { opacity: 1; translate: 0 4px; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes sealStamp {
  from { opacity: 0; scale: 1.7; rotate: -14deg; }
  55%  { opacity: 1; scale: 0.93; rotate: 3deg; }
  to   { opacity: 1; scale: 1; rotate: 0deg; }
}

@keyframes sealShock {
  from { opacity: 0.55; scale: 1; }
  to   { opacity: 0; scale: 1.9; }
}

@keyframes frankFlick {
  from { opacity: 0; scale: 0.55; }
  55%  { opacity: 1; scale: 1.12; }
  to   { opacity: 0.7; scale: 1; }
}

@media (max-width: 1100px) {
  .fit-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-board > li { grid-column: auto !important; grid-row: auto !important; }
  .fit-board__figure { grid-column: 1 / -1 !important; }
  .fit-board__figure img { height: auto; aspect-ratio: 16 / 7; }
  .stories__head-cta--inline { justify-self: start; }
}

@media (max-width: 700px) {
  .fit-board { grid-template-columns: minmax(0, 1fr); }
  .chosen__row { grid-template-columns: minmax(0, 1fr) auto; }
  .chosen__label { grid-column: 1 / -1; }
  .receipt__line { grid-template-columns: minmax(0, 1fr); }
  .receipt__value { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .story-done__card,
  .story-done__scrim { transition: none !important; }

  .story-done .done-mark__body,
  .story-done .done-mark__fold,
  .story-done .done-mark__flap,
  .story-done .done-mark__lines,
  .story-done .done-mark__tick,
  .story-done .done-mark__letter,
  .story-done .done-mark__page,
  .story-done .done-mark__seal,
  .story-done .done-mark__rays {
    animation: none !important;
    opacity: 1;
    scale: 1;
    rotate: 0deg;
    translate: 0 0;
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }

  /* The shockwave has nothing to say when it cannot expand. */
  .story-done .done-mark__ring { opacity: 0; }
}

/* --------------------------------------------------------------------------
   38.29 STORY PAGE — NINTH-PASS TRIMS
   -------------------------------------------------------------------------- */

/* Both figures and the schedule note read down the same left edge. */
.receipt__total,
.receipt__total:last-child { text-align: left; }

.receipt__note { text-align: left; }

/* The split head is a full-width row, so the link can reach the container's
   right edge — it was being held in by the section head's own measure. */
.section-head--split {
  max-width: none;
  width: 100%;
}

.stories__head-cta--inline { justify-self: end; margin-right: 0; }

/* The rays now belong to the envelope, so they grow from its centre rather
   than from the seal. */
.story-done .done-mark__rays { transform-origin: 100px 82px; }

/* `.stories .section-head` caps its measure at 74rem, which held the
   comparison link 140px short of the cards below it. */
.page-story-details .stories--related .section-head--split {
  max-width: none;
  width: 100%;
}

/* --------------------------------------------------------------------------
   38.30 SYNOPSIS — FILLING ITS SCREEN
   The band held its one-screen floor but its content only came to 599px, so
   it opened with 150px of dead paper above and below. The plate is now sized
   from the viewport rather than from its column, and the band's own padding
   is tighter, so the content fills the screen it is given.
   -------------------------------------------------------------------------- */

.page-story-details .story-synopsis {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.story-synopsis__inner {
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: center;
}

.synopsis-plate__frame {
  height: min(calc(100svh - 190px), 700px);
  max-height: none;
  width: auto;
  max-width: 100%;
  aspect-ratio: 3 / 4;
}

/* Short viewports get their padding back and the picture sized by its column
   again, so nothing is squeezed. */
@media (max-height: 780px), (max-width: 1100px) {
  .synopsis-plate__frame {
    height: auto;
    max-height: min(58vh, 520px);
  }
}

/* An id-level `section#synopsis { padding: 80px 0 }` was hand-patched into the
   middle of the hero block (styles.css ~1326) and outranks every class rule
   here, which is where the 80px bands came from. Left in place; overridden at
   a higher specificity, scoped to this page only. */
.page-story-details section#synopsis {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

/* Tall screens were still leaving 178px above and below. */
.synopsis-plate__frame { height: min(calc(100svh - 170px), 790px); }

@media (max-height: 780px), (max-width: 1100px) {
  .page-story-details section#synopsis {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }
  .synopsis-plate__frame { height: auto; max-height: min(58vh, 520px); }
}

/* The floor and "no dead space" pull against each other: content is 834px in
   a 900px band, so centring it always leaves a margin. The band is sized by
   its content instead — still comfortably inside one screen at every height
   tested, with nothing left over above or below. */
.page-story-details .story-synopsis {
  display: block;
  min-height: 0;
}

.synopsis-plate__frame { height: min(calc(100svh - 210px), 690px); }

/* With the band tightened, the sticker's overhang was being clipped by the
   section. The two are balanced: the overhang is a little shorter and the
   top padding a little taller than it. */
.page-story-details section#synopsis { padding-top: var(--space-6); }

.synopsis-plate__stamp { top: clamp(-42px, -3vw, -30px); }

@media (max-width: 1100px) {
  .page-story-details section#synopsis { padding-top: var(--space-5); }
  .synopsis-plate__stamp { top: clamp(-32px, -5vw, -22px); }
}

/* --------------------------------------------------------------------------
   38.31 SYNOPSIS — CENTRED GROUP, SHORTER COPY
   -------------------------------------------------------------------------- */

/* The pair sits centred in the band, both columns on the same middle line. */
.story-synopsis__inner {
  max-width: 1140px;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.story-synopsis__copy { align-self: center; }

/* The copy is a paragraph shorter, so the plate comes down with it. */
.synopsis-plate__frame { height: min(calc(100svh - 250px), 610px); }

@media (max-height: 780px), (max-width: 1100px) {
  .synopsis-plate__frame { height: auto; max-height: min(54vh, 480px); }
}

/* A little more air above the band, so the sticker is not the first thing
   touching the section edge. */
.page-story-details section#synopsis { padding-top: var(--space-8); }

@media (max-width: 1100px) {
  .page-story-details section#synopsis { padding-top: var(--space-6); }
}

/* More air again above the band. */
.page-story-details section#synopsis { padding-top: 100px; }

@media (max-width: 1100px) {
  .page-story-details section#synopsis { padding-top: var(--space-8); }
}

/* The hero closes on the same wave the contact hero uses, so the dark bands
   across the site meet the paper below them the same way. */
.story-hero__wave {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: 5;
  display: block;
  inline-size: 100%;
  block-size: clamp(30px, 4vw, 54px);
  pointer-events: none;
}

.story-hero__wave path { fill: var(--color-paper-white); }

/* The sheet must clear the crest, or the wave cuts across its foot. */
.story-hero { padding-bottom: clamp(var(--space-8), 7vw, var(--space-12)); }


/* --------------------------------------------------------------------------
   37.11 THE COLLECTION'S PALMS, MIRRORED
   The homepage stands its grove in the bottom-left corner. Here it moves to
   the bottom-right: the hero above hands over on its own bouquet at the
   left, and two groves down the same edge read as one long smudge.

   Only the side changes. Widths, heights and sway timings stay with the
   homepage rules so the pair still reads as the same grove.
   -------------------------------------------------------------------------- */

/* `left` is released in the same rule that sets `right`: the homepage sets
   left on these classes at several breakpoints, and a separate release rule
   was being swallowed by a stray brace further up the file, which pinned the
   far palm back to the left edge.

   The values mirror the homepage's *effective* ones — the grove is sized and
   placed from `--stories-margin`, the space the centred container leaves
   beside itself, so it grows on a wide screen and shrinks to a sliver on a
   narrow one rather than pushing the column over.

   The lean and the mirror swap with the corner too: a grove at the right
   edge leans the other way, and the near palm no longer needs flipping to
   face into the page. */
.page-shop .stories__palm--far {
  left: auto;
  right: 0;
  scale: -1 1;
  --tilt: 3deg;
}

.page-shop .stories__palm--near {
  left: auto;
  right: calc(var(--stories-margin) * 0.28);
  scale: 1 1;
  --tilt: -2deg;
}

/* One palm on a phone, as on the homepage, and it sits a little off the
   edge so the trunk is not flush with it. */
@media (max-width: 640px) {
  .page-shop .stories__palm--near { left: auto; right: -8%; }
}

/* --------------------------------------------------------------------------
   37.12 THE QUIZ BACKGROUND, MIRRORED
   The band's colour is a vertical gradient — symmetrical, so flipping it
   would change nothing. What actually reads as its background is the pair of
   radial washes behind the sheet: gold falling from the top-left, coral
   rising from the bottom-right. Those swap sides here.

   The sheet on top of them is unchanged; only the light behind it moves.
   -------------------------------------------------------------------------- */

.page-shop .quiz::before {
  left: auto;
  right: -14vw;
}

.page-shop .quiz::after {
  right: auto;
  left: -16vw;
}

/* ==========================================================================
   42. PRIVACY POLICY PAGE  (privacy-policy.html)

   Appended, self-contained, and scoped to .page-privacy or to the privacy-*
   namespace. Nothing above this banner is edited.

   A legal page has one job the marketing pages do not: it must stay readable
   for three thousand words. So the atmosphere is spent entirely in the hero
   and the closing band, and the body between them is warm paper, one measure
   of prose, and a rail that says where you are. No decorative layer sits
   behind body copy anywhere on this page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   42.1  Page scaffolding and the decorative layer contract
   -------------------------------------------------------------------------- */

.page-privacy {
  --privacy-band-y: clamp(var(--space-8), 7vw, var(--space-12));
  --privacy-paper: var(--color-paper-white);
  --privacy-rule: rgba(18, 63, 59, 0.12);
  --privacy-rule-soft: rgba(18, 63, 59, 0.08);
  --privacy-quiet: rgba(18, 63, 59, 0.04);
  /* One number, so the sticky rail, the scroll-margin on every heading and
     the hero all agree about how much room the header takes. */
  --privacy-stick: calc(var(--header-height) + var(--space-3));
  background: var(--color-island-ivory);
}

/* Every decorative asset on this page. Inert, unselectable, and never allowed
   to widen the page. */
.privacy-art {
  position: absolute;
  z-index: var(--z-foliage-back);
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* The sticky header would otherwise land on top of whatever was jumped to —
   from the contents rail, from an at-a-glance card, or from a shared link. */
.page-privacy [id] { scroll-margin-top: calc(var(--header-height) + var(--space-4)); }

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

   Same ground as the Reader Care and FAQ heroes, sized shorter: a policy
   page should hand the reader to the text quickly, so this is not asked to
   fill a screen.
   -------------------------------------------------------------------------- */

.privacy-hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(400px, calc(100svh - var(--header-height) - 8rem), 620px);
  padding-block: clamp(var(--space-3), 2.5vh, var(--space-5)) clamp(var(--space-6), 6vh, var(--space-9));
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 84% 6%, rgba(213, 162, 59, 0.22), transparent 58%),
    radial-gradient(90% 80% at 4% 100%, rgba(31, 102, 97, 0.15), transparent 62%),
    linear-gradient(178deg, var(--color-island-ivory) 0%, var(--color-paper-white) 48%, var(--color-sea-mist) 100%);
}

.privacy-hero__crumbs { position: relative; z-index: var(--z-content); }
.privacy-hero__crumbs .breadcrumb { padding: 0; }
.privacy-hero__crumbs .container { padding-inline: 0; }

/* The short crumb is the mobile one; below 700px the two swap. */
.privacy-crumb__short { display: none; }

.privacy-hero__frond {
  top: -6%;
  right: -6%;
  width: clamp(200px, 20vw, 340px);
  opacity: var(--foliage-hero);
  transform: scaleX(-1);
}

.privacy-hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: center;
  margin-top: clamp(var(--space-3), 3vh, var(--space-5));
}

.privacy-hero__copy { max-width: 40rem; }

.privacy-hero__title {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--color-text-strong);
  text-wrap: balance;
}

/* The one machine-readable date on the page, set as a stamp rather than a
   line of small print so a reader can find the version they are on. */
.privacy-hero__stamp {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-1);
  margin: var(--space-4) 0 0;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(213, 162, 59, 0.5);
  border-radius: var(--radius-pill);
  background: rgba(213, 162, 59, 0.1);
  font-size: var(--font-small);
  color: var(--color-text-strong);
}

.privacy-hero__stamp-label {
  font-size: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.privacy-hero__stamp time { font-weight: 600; }

/* The wave edge, same curve and same job as the Reader Care and FAQ heroes:
   it gives the band below an edge rather than a seam. Its fill is the ground
   of the ledger body it hands off to. */
.privacy-hero__wave {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: 5;
  display: block;
  inline-size: 100%;
  block-size: clamp(30px, 4vw, 54px);
  pointer-events: none;
}

.privacy-hero__wave path { fill: var(--color-island-ivory); }

/* --------------------------------------------------------------------------
   42.3  The ledger drawing

   Flat planes on the same palette as the Reader Care desk and the FAQ
   reference desk, so the three pages read as one hand. It carries no
   scripted scene: there is nothing on a policy page worth animating, and a
   static drawing costs no main-thread work while three thousand words paint.
   -------------------------------------------------------------------------- */

.privacy-hero__ledger {
  position: relative;
  z-index: var(--z-content);
  justify-self: center;
  width: min(100%, 34rem);
}

.privacy-ledger {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(18, 63, 59, 0.14));
}

.privacy-ledger__paper {
  fill: var(--color-paper-white);
  stroke: rgba(18, 63, 59, 0.16);
  stroke-width: 1.4;
}

.privacy-ledger__paper-fold {
  fill: none;
  stroke: rgba(18, 63, 59, 0.07);
  stroke-width: 1.2;
}

.privacy-ledger__mail rect {
  fill: var(--color-island-ivory);
  stroke: rgba(18, 63, 59, 0.3);
  stroke-width: 1.6;
}

.privacy-ledger__mail-top rect { fill: var(--color-paper-white); }

.privacy-ledger__mail-flap {
  fill: none;
  stroke: rgba(18, 63, 59, 0.3);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-ledger__mail-seal {
  fill: var(--color-postmark-coral);
  opacity: 0.85;
}

.privacy-ledger__pages {
  fill: var(--color-island-ivory);
  stroke: rgba(18, 63, 59, 0.22);
  stroke-width: 1.4;
}

.privacy-ledger__cover {
  fill: var(--color-deep-lagoon);
  stroke: var(--color-ocean-ink);
  stroke-width: 1.6;
}

.privacy-ledger__spine {
  fill: var(--color-ocean-ink);
  stroke: none;
}

.privacy-ledger__cover-rule {
  fill: none;
  stroke: rgba(247, 242, 232, 0.42);
  stroke-width: 2;
  stroke-linecap: round;
}

.privacy-ledger__seal {
  fill: var(--color-sunset-gold);
  stroke: rgba(18, 63, 59, 0.24);
  stroke-width: 1.2;
}

.privacy-ledger__seal-glyph {
  fill: var(--color-ocean-ink);
  opacity: 0.72;
}

.privacy-ledger__key circle {
  fill: none;
  stroke: var(--color-palm);
  stroke-width: 3.2;
}

.privacy-ledger__key-eye {
  fill: var(--color-island-ivory);
  stroke-width: 2.2;
}

.privacy-ledger__key-shaft {
  fill: none;
  stroke: var(--color-palm);
  stroke-width: 3.2;
  stroke-linecap: round;
}

.privacy-ledger__postmark {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 1.4;
  opacity: 0.26;
}

/* --------------------------------------------------------------------------
   42.5  The ledger body — contents rail beside the sections
   -------------------------------------------------------------------------- */

.privacy-body {
  position: relative;
  padding-block: var(--privacy-band-y);
  background: var(--color-island-ivory);
}

.privacy-body__inner {
  display: grid;
  grid-template-columns: minmax(15rem, 17rem) minmax(0, 1fr);
  gap: clamp(var(--space-5), 5vw, var(--space-9));
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: var(--privacy-stick);
  /* Fourteen rows fit a laptop; on anything shorter the rail scrolls inside
     itself rather than being clipped by the viewport. */
  max-height: calc(100svh - var(--privacy-stick) - var(--space-4));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-3);
  border: 1px solid var(--privacy-rule);
  border-radius: var(--radius-card);
  background: var(--privacy-paper);
  box-shadow: var(--shadow-paper);
}

/* Above the collapse breakpoint the rail is a plain heading over a plain
   list. initPrivacyToc takes the <summary> out of the tab order there, the
   same way initFooterGroups does for the footer columns. */
.privacy-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  cursor: pointer;
  list-style: none;
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.privacy-toc__summary::-webkit-details-marker { display: none; }

.privacy-toc__chevron {
  display: none;
  width: 0.75rem;
  color: var(--color-text-muted);
  transition: transform var(--dur-micro) var(--ease-out);
}

.privacy-toc__chevron svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-toc__list {
  display: grid;
  gap: 0.15rem;
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.privacy-toc__link {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.42rem 0.5rem;
  border-radius: var(--radius-small);
  border-left: 2px solid transparent;
  font-size: var(--font-small);
  line-height: 1.35;
  color: var(--color-text-muted);
  text-decoration: none;
  transition:
    color var(--dur-micro) var(--ease-out),
    background-color var(--dur-micro) var(--ease-out),
    border-color var(--dur-micro) var(--ease-out);
}

.privacy-toc__num {
  font-variant-numeric: tabular-nums;
  font-size: var(--font-label);
  font-weight: 700;
  color: var(--color-accent-gold);
}

.privacy-toc__link:hover {
  color: var(--color-text-strong);
  background: var(--privacy-quiet);
}

.privacy-toc__link.is-current {
  color: var(--color-text-strong);
  background: var(--privacy-quiet);
  border-left-color: var(--color-action-primary);
  font-weight: 600;
}

.privacy-toc__link.is-current .privacy-toc__num { color: var(--color-action-primary); }

/* --------------------------------------------------------------------------
   42.6  The sections themselves
   -------------------------------------------------------------------------- */

/* The prose runs the full width of its column. An optical measure was tried
   here and cut: beside a rail this narrow it left a second, ragged margin on
   the right and the page read as though it had failed to load. */
.privacy-sections {
  display: grid;
  gap: clamp(var(--space-6), 5vw, var(--space-9));
}

.privacy-section {
  padding-bottom: clamp(var(--space-4), 3vw, var(--space-6));
  border-bottom: 1px solid var(--privacy-rule-soft);
}

.privacy-section:last-child { border-bottom: 0; padding-bottom: 0; }

.privacy-section__title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--color-text-strong);
  text-wrap: balance;
}

/* The number is a stamp beside the heading rather than part of the sentence,
   so a screen reader hears the heading and nothing else — the numeral is
   aria-hidden in the markup. */
.privacy-section__num {
  display: grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding-inline: 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--color-sea-mist);
  font-family: var(--font-body-family);
  font-size: var(--font-label);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-strong);
  transform: translateY(-0.15em);
}

.privacy-section__sub {
  margin: var(--space-4) 0 var(--space-2);
  font-family: var(--font-body-family);
  font-size: var(--font-h4);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-strong);
}

.privacy-prose > p {
  margin: 0 0 var(--space-3);
  font-size: var(--font-body);
  line-height: 1.75;
  color: var(--color-text-default);
}

.privacy-prose > p:last-child { margin-bottom: 0; }

.privacy-prose a {
  color: var(--color-action-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.privacy-prose a:hover { color: var(--color-action-primary-hover); }

.privacy-list {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  padding-left: 1.25rem;
}

.privacy-list li {
  font-size: var(--font-body);
  line-height: 1.7;
  color: var(--color-text-default);
}

.privacy-list li::marker { color: var(--color-accent-gold); }

.privacy-list strong { color: var(--color-text-strong); }

/* An aside inside the prose: quieter than a paragraph, on its own ground so
   it cannot be mistaken for part of the argument above it. */
.privacy-prose > .privacy-note {
  margin: var(--space-3) 0 0;
  padding: var(--space-3);
  border-left: 3px solid var(--color-sea-mist);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--privacy-quiet);
  font-size: var(--font-small);
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* The one claim on this page the rest of it leans on. It is set apart on
   purpose, and tools/check-privacy.js fails if the sentence disappears. */
.privacy-prose > .privacy-note--strong {
  border-left-color: var(--color-action-primary);
  background: rgba(185, 67, 59, 0.06);
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--color-text-strong);
}

/* --------------------------------------------------------------------------
   42.7  The CPRA category table
   -------------------------------------------------------------------------- */

.privacy-table__scroll {
  margin: var(--space-3) 0;
  overflow-x: auto;
  border: 1px solid var(--privacy-rule);
  border-radius: var(--radius-medium);
  background: var(--privacy-paper);
  -webkit-overflow-scrolling: touch;
}

.privacy-table__scroll:focus-visible {
  outline: 2px solid var(--color-action-primary);
  outline-offset: 2px;
}

.privacy-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: var(--font-small);
  line-height: 1.55;
}

.privacy-table caption {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--privacy-rule);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: left;
  color: var(--color-text-muted);
}

.privacy-table th,
.privacy-table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--privacy-rule-soft);
  text-align: left;
  vertical-align: top;
}

.privacy-table thead th {
  background: var(--color-sea-mist);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.privacy-table tbody th {
  font-weight: 600;
  color: var(--color-text-strong);
}

.privacy-table tbody td { color: var(--color-text-muted); }

.privacy-table tbody tr:last-child th,
.privacy-table tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   42.9  Responsive

   Three moves: the glance row halves, the rail becomes a disclosure above
   the prose, and the hero stacks. The at-a-glance row is gone, so what is
   left is the rail and the hero.
   -------------------------------------------------------------------------- */

@media (min-width: 1000px) {
  .privacy-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

@media (max-width: 1100px) {
  .privacy-body__inner { grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  /* The rail stops being a rail. It becomes a closed disclosure sitting above
     the prose — the element handles its own toggle, and initPrivacyToc only
     switches the default and restores the summary to the tab order. */
  .privacy-body__inner { grid-template-columns: minmax(0, 1fr); }

  .privacy-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: var(--space-2) var(--space-3);
  }

  .privacy-toc__chevron { display: block; }

  .privacy-toc__disclosure[open] .privacy-toc__chevron { transform: rotate(180deg); }

  .privacy-toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: var(--space-1);
  }
}

@media (max-width: 700px) {
  .privacy-hero { min-height: 0; }
  .privacy-hero__title { font-size: clamp(2.2rem, 9vw, 2.9rem); }
  .privacy-hero__ledger { width: min(100%, 26rem); }

  .privacy-crumb__long { display: none; }
  .privacy-crumb__short { display: inline; }

  .privacy-toc__list { grid-template-columns: minmax(0, 1fr); }

  .privacy-section__title {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .privacy-section__num { justify-self: start; transform: none; }

  .privacy-table { min-width: 34rem; }
}

@media (max-width: 480px) {
  .privacy-hero__frond { width: 44vw; opacity: 0.55; }
}

/* --------------------------------------------------------------------------
   42.10  Reduced motion

   The sways and reveals are already handled by the global rules. What is
   left is this page's own transitions on the contents rail. They resolve
   instantly rather than being removed, so the states still read.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .privacy-toc__link,
  .privacy-toc__chevron {
    transition-duration: 1ms;
  }
}

/* ==========================================================================
   43. TERMS & CONDITIONS PAGE  (terms-conditions.html)

   Appended, self-contained, and scoped to .page-terms or to the terms-*
   namespace. Nothing above this banner is edited.

   The sibling of section 42, and deliberately so. The two legal pages are
   read for the same reason and should behave the same way, so this section
   mirrors the privacy page's structure token for token: the same measure,
   the same band rhythm, the same rail, the same collapse breakpoints. What
   differs is only what the page itself is — the hero drawing, and the
   Pending marker three clauses carry until their policies are approved.
   ========================================================================== */

/* --------------------------------------------------------------------------
   43.1  Page scaffolding and the decorative layer contract
   -------------------------------------------------------------------------- */

.page-terms {
  /* No measure cap. The privacy page holds its prose to 68ch; this one was
     asked to run the full width of its column instead, so the clause text
     is bounded by the container and the rail rather than by a character
     count. The two legal pages differ here on purpose. */
  --terms-band-y: clamp(var(--space-8), 7vw, var(--space-12));
  --terms-paper: var(--color-paper-white);
  --terms-rule: rgba(18, 63, 59, 0.12);
  --terms-rule-soft: rgba(18, 63, 59, 0.08);
  --terms-quiet: rgba(18, 63, 59, 0.04);
  /* One number, so the sticky rail, the scroll-margin on every heading and
     the hero all agree about how much room the header takes. */
  --terms-stick: calc(var(--header-height) + var(--space-3));
  background: var(--color-island-ivory);
}

/* Every decorative asset on this page. Inert, unselectable, and never allowed
   to widen the page. */
.terms-art {
  position: absolute;
  z-index: var(--z-foliage-back);
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* The sticky header would otherwise land on top of whatever was jumped to —
   from the contents rail, from a short-version card, or from a shared link. */
.page-terms [id] { scroll-margin-top: calc(var(--header-height) + var(--space-4)); }

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

.terms-hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(400px, calc(100svh - var(--header-height) - 8rem), 620px);
  padding-block: clamp(var(--space-3), 2.5vh, var(--space-5)) clamp(var(--space-6), 6vh, var(--space-9));
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 84% 6%, rgba(213, 162, 59, 0.22), transparent 58%),
    radial-gradient(90% 80% at 4% 100%, rgba(31, 102, 97, 0.15), transparent 62%),
    linear-gradient(178deg, var(--color-island-ivory) 0%, var(--color-paper-white) 48%, var(--color-sea-mist) 100%);
}

.terms-hero__crumbs { position: relative; z-index: var(--z-content); }
.terms-hero__crumbs .breadcrumb { padding: 0; }
.terms-hero__crumbs .container { padding-inline: 0; }

/* The short crumb is the mobile one; below 700px the two swap. */
.terms-crumb__short { display: none; }

.terms-hero__frond {
  top: -6%;
  right: -6%;
  width: clamp(200px, 20vw, 340px);
  opacity: var(--foliage-hero);
  transform: scaleX(-1);
}

/* The wave edge, the same curve and the same job as the Reader Care and FAQ
   heroes': it gives the band below an edge rather than a seam. The fill is
   island ivory, because the band it meets is the document body — the paper
   white the contact hero uses would draw a pale stripe here. */
.terms-hero__wave {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: 5;
  display: block;
  inline-size: 100%;
  block-size: clamp(30px, 4vw, 54px);
  pointer-events: none;
}

.terms-hero__wave path { fill: var(--color-island-ivory); }

.terms-hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: center;
  margin-top: clamp(var(--space-3), 3vh, var(--space-5));
}

.terms-hero__copy { max-width: 40rem; }

.terms-hero__title {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--color-text-strong);
  text-wrap: balance;
}

/* The one machine-readable date on the page, set as a stamp rather than a
   line of small print so a reader can find the version they are on. */
.terms-hero__stamp {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-1);
  margin: var(--space-4) 0 0;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(213, 162, 59, 0.5);
  border-radius: var(--radius-pill);
  background: rgba(213, 162, 59, 0.1);
  font-size: var(--font-small);
  color: var(--color-text-strong);
}

.terms-hero__stamp-label {
  font-size: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.terms-hero__stamp time { font-weight: 600; }

/* --------------------------------------------------------------------------
   43.3  The agreement drawing

   Flat planes on the same palette as the Reader Care desk, the FAQ reference
   desk and the privacy ledger, so the pages read as one hand. Static, for the
   same reason the ledger is: there is nothing on a terms page worth
   animating, and a still drawing costs no main-thread work while four
   thousand words paint.
   -------------------------------------------------------------------------- */

.terms-hero__agreement {
  position: relative;
  z-index: var(--z-content);
  justify-self: center;
  width: min(100%, 34rem);
}

.terms-agreement {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(18, 63, 59, 0.14));
}

.terms-agreement__desk {
  fill: var(--color-paper-white);
  stroke: rgba(18, 63, 59, 0.16);
  stroke-width: 1.4;
}

.terms-agreement__desk-fold {
  fill: none;
  stroke: rgba(18, 63, 59, 0.07);
  stroke-width: 1.2;
}

.terms-agreement__mail rect {
  fill: var(--color-island-ivory);
  stroke: rgba(18, 63, 59, 0.3);
  stroke-width: 1.6;
}

.terms-agreement__mail-top rect { fill: var(--color-paper-white); }

.terms-agreement__mail-flap {
  fill: none;
  stroke: rgba(18, 63, 59, 0.3);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.terms-agreement__mail-seal {
  fill: var(--color-postmark-coral);
  opacity: 0.85;
}

/* Two sheets, the back one offset, so the agreement reads as a document
   rather than a single card. */
.terms-agreement__sheet-back {
  fill: var(--color-island-ivory);
  stroke: rgba(18, 63, 59, 0.18);
  stroke-width: 1.4;
}

.terms-agreement__sheet-front {
  fill: var(--color-paper-white);
  stroke: rgba(18, 63, 59, 0.22);
  stroke-width: 1.6;
}

.terms-agreement__head-rule {
  fill: none;
  stroke: var(--color-deep-lagoon);
  stroke-width: 4;
  stroke-linecap: round;
}

/* The numbered blocks are the page's own device, drawn small: a gold chip
   and the ruled lines that follow it. */
.terms-agreement__clause-num {
  fill: var(--color-sunset-gold);
  opacity: 0.85;
}

.terms-agreement__rule {
  fill: none;
  stroke: rgba(18, 63, 59, 0.2);
  stroke-width: 2.6;
  stroke-linecap: round;
}

.terms-agreement__seal {
  fill: var(--color-postmark-coral);
  stroke: rgba(18, 63, 59, 0.22);
  stroke-width: 1.2;
  opacity: 0.9;
}

.terms-agreement__seal-glyph {
  fill: var(--color-island-ivory);
  opacity: 0.86;
}

.terms-agreement__pen-body,
.terms-agreement__pen-cap {
  fill: none;
  stroke: var(--color-palm);
  stroke-width: 7;
  stroke-linecap: round;
}

.terms-agreement__pen-cap { stroke: var(--color-ocean-ink); }

.terms-agreement__pen-nib {
  fill: var(--color-ocean-ink);
  stroke: none;
}

.terms-agreement__postmark {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 1.4;
  opacity: 0.26;
}

/* --------------------------------------------------------------------------
   43.5  The document body — contents rail beside the clauses
   -------------------------------------------------------------------------- */

.terms-body {
  position: relative;
  padding-block: var(--terms-band-y);
  background: var(--color-island-ivory);
}

.terms-body__inner {
  display: grid;
  grid-template-columns: minmax(15rem, 17rem) minmax(0, 1fr);
  gap: clamp(var(--space-5), 5vw, var(--space-9));
  align-items: start;
}

.terms-toc {
  position: sticky;
  top: var(--terms-stick);
  /* Nineteen rows is five more than the privacy rail carries, so on a short
     viewport this scrolls inside itself rather than being clipped. */
  max-height: calc(100svh - var(--terms-stick) - var(--space-4));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-3);
  border: 1px solid var(--terms-rule);
  border-radius: var(--radius-card);
  background: var(--terms-paper);
  box-shadow: var(--shadow-paper);
}

/* Above the collapse breakpoint the rail is a plain heading over a plain
   list. initTermsToc takes the <summary> out of the tab order there, the
   same way initPrivacyToc and initFooterGroups do. */
.terms-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  cursor: pointer;
  list-style: none;
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.terms-toc__summary::-webkit-details-marker { display: none; }

/* The label carries the summary's type on its own, so that the chevron — which
   only exists below 900px — is never what a rule has to be written around. */
.terms-toc__summary-label { display: inline-block; }

.terms-toc__chevron {
  display: none;
  width: 0.75rem;
  color: var(--color-text-muted);
  transition: transform var(--dur-micro) var(--ease-out);
}

.terms-toc__chevron svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.terms-toc__list {
  display: grid;
  gap: 0.15rem;
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
}

.terms-toc__link {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.42rem 0.5rem;
  border-radius: var(--radius-small);
  border-left: 2px solid transparent;
  font-size: var(--font-small);
  line-height: 1.35;
  color: var(--color-text-muted);
  text-decoration: none;
  transition:
    color var(--dur-micro) var(--ease-out),
    background-color var(--dur-micro) var(--ease-out),
    border-color var(--dur-micro) var(--ease-out);
}

.terms-toc__num {
  font-variant-numeric: tabular-nums;
  font-size: var(--font-label);
  font-weight: 700;
  color: var(--color-accent-gold);
}

.terms-toc__link:hover {
  color: var(--color-text-strong);
  background: var(--terms-quiet);
}

.terms-toc__link.is-current {
  color: var(--color-text-strong);
  background: var(--terms-quiet);
  border-left-color: var(--color-action-primary);
  font-weight: 600;
}

.terms-toc__link.is-current .terms-toc__num { color: var(--color-action-primary); }

/* --------------------------------------------------------------------------
   43.6  The clauses themselves
   -------------------------------------------------------------------------- */

.terms-sections {
  display: grid;
  gap: clamp(var(--space-6), 5vw, var(--space-9));
}

.terms-section {
  padding-bottom: clamp(var(--space-4), 3vw, var(--space-6));
  border-bottom: 1px solid var(--terms-rule-soft);
}

.terms-section:last-child { border-bottom: 0; padding-bottom: 0; }

.terms-section__title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--color-text-strong);
  text-wrap: balance;
}

/* The number is a stamp beside the heading rather than part of the sentence,
   so a screen reader hears the heading and nothing else — the numeral is
   aria-hidden in the markup. */
.terms-section__num {
  display: grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding-inline: 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--color-sea-mist);
  font-family: var(--font-body-family);
  font-size: var(--font-label);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-strong);
  transform: translateY(-0.15em);
}

.terms-section__sub {
  margin: var(--space-4) 0 var(--space-2);
  font-family: var(--font-body-family);
  font-size: var(--font-h4);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-strong);
}

.terms-prose > p {
  margin: 0 0 var(--space-3);
  font-size: var(--font-body);
  line-height: 1.75;
  color: var(--color-text-default);
}

.terms-prose > p:last-child { margin-bottom: 0; }

.terms-prose a {
  color: var(--color-action-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.terms-prose a:hover { color: var(--color-action-primary-hover); }

.terms-list {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  padding-left: 1.25rem;
}

.terms-list li {
  font-size: var(--font-body);
  line-height: 1.7;
  color: var(--color-text-default);
}

.terms-list li::marker { color: var(--color-accent-gold); }

.terms-list strong { color: var(--color-text-strong); }

/* An aside inside the prose: quieter than a paragraph, on its own ground so
   it cannot be mistaken for part of the clause above it. This is where the
   "in plain words" restatements live. */
.terms-prose > .terms-note {
  margin: var(--space-3) 0 0;
  padding: var(--space-3);
  border-left: 3px solid var(--color-sea-mist);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--terms-quiet);
  font-size: var(--font-small);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.terms-prose > .terms-note strong { color: var(--color-text-strong); }

/* The no-auto-renewal sentence, and the others the rest of the page leans
   on. Set apart on purpose. */
.terms-prose > .terms-note--strong {
  border-left-color: var(--color-action-primary);
  background: rgba(185, 67, 59, 0.06);
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--color-text-strong);
}


/* --------------------------------------------------------------------------
   43.7  Responsive

   Two moves: the rail narrows and then becomes a disclosure above the prose,
   and the hero stacks.
   -------------------------------------------------------------------------- */

@media (min-width: 1000px) {
  .terms-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

@media (max-width: 1100px) {
  .terms-body__inner { grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  /* The rail stops being a rail. It becomes a closed disclosure sitting above
     the prose — the element handles its own toggle, and initTermsToc only
     switches the default and restores the summary to the tab order. */
  .terms-body__inner { grid-template-columns: minmax(0, 1fr); }

  .terms-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: var(--space-2) var(--space-3);
  }

  .terms-toc__chevron { display: block; }

  .terms-toc__disclosure[open] .terms-toc__chevron { transform: rotate(180deg); }

  .terms-toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: var(--space-1);
  }
}

@media (max-width: 700px) {
  .terms-hero { min-height: 0; }
  .terms-hero__title { font-size: clamp(2.2rem, 9vw, 2.9rem); }
  .terms-hero__agreement { width: min(100%, 26rem); }

  .terms-crumb__long { display: none; }
  .terms-crumb__short { display: inline; }

  .terms-toc__list { grid-template-columns: minmax(0, 1fr); }

  .terms-section__title {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .terms-section__num { justify-self: start; transform: none; }
}

@media (max-width: 480px) {
  .terms-hero__frond { width: 44vw; opacity: 0.55; }
}

/* --------------------------------------------------------------------------
   43.8  Reduced motion

   The sways and reveals are already handled by the global rules. What is left
   is this page's own two transitions, both on the rail. They resolve
   instantly rather than being removed, so the states still read.

   initTermsToc's rail auto-scroll reads the same preference and jumps
   instead of animating; see the function.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .terms-toc__link,
  .terms-toc__chevron {
    transition-duration: 1ms;
  }
}

/* ==========================================================================
   44. ABOUT HERO — CONTACT PARITY  (about.html)

   about.html's hero is contact.html's Reader Care hero (§40.2/§40.3) with
   About's own copy and namespace. The paint and layout half of that clone
   is missing from this stylesheet — the markup carries .about-hero__desk,
   .about-desk__paper / __stack / __card / __envelope-* / __postmark-* /
   __pencil-*, .about-hero__plumeria, .about-hero__bouquet and
   .about-hero__wave, and none of them had a rule, so the scene fell through
   to SVG's own defaults and the wave and botanicals rendered unpositioned.

   This section supplies them, mirroring §40.2/§40.3 value for value:
   contact's hero ground, contact's one-screen box, contact's stage geometry
   (bound to the 520x460 viewBox so the corner pieces measure against the
   artwork and not against an invisible letterboxed box), contact's four
   botanical placements, and contact's wave edge.

   Per this project's rule, nothing above is edited: every selector here
   repeats the exact selector of the §39.2 rule it supersedes, so it ties on
   specificity and wins on source order.

   Two deliberate departures from §40.2/§40.3, both forced by what already
   exists on this page:
     - the wave fills --color-island-ivory, not --color-paper-white,
       because .page-about's ground is ivory where contact's next band is
       paper;
     - the finished state is keyed on .about-hero__stage.is-played, not on
       [data-about-hero].is-played, because initAboutHeroScene has always
       added .is-played to the stage. The route and postmark dash values
       stay on the pathLength="1" contract that same function drives inline,
       rather than contact's .js-gated 700-unit fallback (there is no `js`
       class on this site, so contact's route never animates; About's does).
   -------------------------------------------------------------------------- */

/* --- 44.1 The hero box and its ground ------------------------------------ */

.about-hero {
  position: relative;
  display: grid;
  align-content: center;
  /* Less the header and the announcement bar, so "one screen" is one screen
     and not one screen plus the chrome. */
  min-height: clamp(460px, calc(100svh - var(--header-height) - 3.5rem), 720px);
  padding-block: clamp(var(--space-3), 2.5vh, var(--space-5)) clamp(var(--space-6), 7vh, var(--space-9));
  overflow: clip;
  isolation: isolate;
  /* Contact's ground, unchanged: gold light at the top right, lagoon
     settling into the bottom left, ivory to paper to sea mist down the
     sheet. The ivory wave then reads as an edge against the mist. */
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(213, 162, 59, 0.24), transparent 58%),
    radial-gradient(90% 80% at 6% 100%, rgba(31, 102, 97, 0.16), transparent 62%),
    linear-gradient(178deg, var(--color-island-ivory) 0%, var(--color-paper-white) 46%, var(--color-sea-mist) 100%);
}

.about-hero__crumbs { position: relative; z-index: var(--z-content); }
.about-hero__crumbs .breadcrumb { padding: 0; }
.about-hero__crumbs .container { padding-inline: 0; }

.about-hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-4), 4vw, var(--space-8));
  align-items: center;
  margin-top: clamp(var(--space-3), 3vh, var(--space-5));
}

.about-hero__copy {
  position: relative;
  z-index: var(--z-content);
  max-width: 38rem;
}

.about-hero__title {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display-family);
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text-strong);
  text-wrap: balance;
}

.about-hero__lede {
  margin: var(--space-3) 0 0;
  max-width: 46ch;
  font-size: var(--font-body-large);
  line-height: 1.55;
  color: var(--color-text-default);
}

/* --- 44.2 The stage ------------------------------------------------------ */

/* Sized to the drawing rather than to the column, so the box and the artwork
   share an edge — that is what lets the seal, the plumeria and the bouquet
   sit on the corners of the graphic instead of on the corners of an
   invisible box the letterboxed SVG only partly filled. */
.about-hero__stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 520 / 460;
  width: min(100%, calc(min(62svh, 36rem) * 520 / 460));
  height: auto;
  max-width: none;
  margin-inline: auto;
}

.about-hero__desk {
  position: relative;
  z-index: var(--z-content);
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 22px 44px rgba(18, 63, 59, 0.14));
}

/* --- 44.3 The desk itself ------------------------------------------------ */

.about-desk__paper { fill: var(--color-paper-white); stroke: var(--desk-rule); stroke-width: 1; }
.about-desk__paper-fold { stroke: rgba(18, 63, 59, 0.06); stroke-width: 1; fill: none; }

/* Contact's route reads as one drawn line, not a stitched one: its dasharray
   is longer than the path, so the "dash" is the whole line and the reveal is
   the offset. About reaches the same end state by a different route, because
   initAboutHeroScene writes dashoffset inline (1 then 0) and inline always
   beats a rule — so the path carries pathLength="1" and the dasharray is 1,
   which makes those two inline values mean "hidden" and "fully drawn".
   Without JS the .js rest state never applies and the line is simply
   drawn. */
.about-desk__route {
  fill: none;
  stroke: var(--color-accent-gold);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 1;
}

.js .about-desk__route { stroke-dashoffset: 1; }

.about-desk__route-dot { fill: var(--color-accent-gold); }
.about-desk__route-dot--end { fill: var(--color-postmark-coral); }

.about-desk__stack rect {
  fill: var(--color-island-ivory);
  stroke: var(--desk-rule);
  stroke-width: 1;
}
.about-desk__stack-top { fill: var(--color-paper-white) !important; }
.about-desk__stack-rule { stroke: rgba(18, 63, 59, 0.2); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.about-desk__stack-seal { fill: var(--color-postmark-coral); opacity: 0.9; }

/* The bare .about-desk__card rule in §39.2 belonged to the pre-clone scene,
   where the class sat on a single <rect>. Here it is a <g>, so the fill has
   to reach the rect inside it. */
.about-desk__card { fill: none; stroke: none; }
.about-desk__card rect { fill: var(--color-sea-mist); stroke: var(--desk-rule); stroke-width: 1; }
.about-desk__card-tab { fill: var(--color-accent-gold) !important; stroke: none !important; }
.about-desk__card-rule { stroke: rgba(18, 63, 59, 0.26); stroke-width: 2.2; stroke-linecap: round; fill: none; }

.about-desk__letter rect { fill: var(--color-paper-white); stroke: var(--desk-rule); stroke-width: 1; }
.about-desk__letter-rule { stroke: rgba(18, 63, 59, 0.2); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.about-desk__letter-sign { stroke: var(--color-deep-lagoon); stroke-width: 2.6; stroke-linecap: round; fill: none; }

.about-desk__envelope-body { fill: var(--color-warm-sand); stroke: rgba(18, 63, 59, 0.2); stroke-width: 1; }
.about-desk__flap { fill: #F2E2C6; stroke: rgba(18, 63, 59, 0.2); stroke-width: 1; stroke-linejoin: round; }
.about-desk__envelope-crease { fill: none; stroke: rgba(18, 63, 59, 0.16); stroke-width: 1.2; }

.about-desk__postmark { fill: none; stroke: var(--color-postmark-coral); stroke-width: 2.2; }
.about-desk__postmark circle { fill: none; stroke: var(--color-postmark-coral); stroke-width: 2.2; }
.about-desk__postmark-inner { opacity: 0.55; }
.about-desk__postmark-wave,
.about-desk__postmark-text {
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.75;
}

.about-desk__pencil rect { fill: var(--color-sunset-gold); }
.about-desk__pencil-tip { fill: var(--color-ocean-ink); }
.about-desk__pencil-band { stroke: rgba(18, 63, 59, 0.35); stroke-width: 2; fill: none; }

/* The markup's rotate() transform attribute and the pointer parallax
   [data-about-layer] writes are one property, so they combine in one rule. */
.about-desk__pencil {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: rotate(24deg) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 120ms linear;
}

/* --- 44.4 The one-shot entrance ------------------------------------------ */

.about-desk__letter {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: translateY(52px);
  opacity: 0;
}

.about-desk__postmark {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: scale(1.6) rotate(-14deg);
  opacity: 0;
}

/* pathLength="1" on every postmark circle/path is what lets play() stroke
   each one in from dashoffset 1. */
.about-desk__postmark circle,
.about-desk__postmark path { stroke-dasharray: 1; stroke-dashoffset: 1; }

.about-hero__stage.is-played .about-desk__letter {
  opacity: 1;
  transform: translateY(0);
  transition: transform 760ms var(--ease-paper) 220ms, opacity 320ms var(--ease-out) 220ms;
}

.about-hero__stage.is-played .about-desk__postmark {
  opacity: 0.9;
  transform: scale(1) rotate(-8deg);
  transition: transform 420ms var(--ease-paper) 900ms, opacity 260ms var(--ease-out) 900ms;
}

/* --- 44.5 The botanicals -------------------------------------------------- */

/* The frond and the bouquet are positioned against the hero; the plumeria
   and the seal against the stage, so they land on the artwork's corners. */

.about-hero__frond {
  top: -8%;
  right: -4%;
  width: min(28vw, 340px);
  height: auto;
  z-index: var(--z-foliage-front);
  opacity: var(--foliage-hero);
  --tilt: 14deg;
  rotate: var(--tilt);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  filter: drop-shadow(0 18px 26px rgba(18, 63, 59, 0.18));
}

/* Mirrored so the bloom opens into the page, and behind the content layer —
   which is why it can stand in the hero's bottom-left corner without ever
   painting over the copy column that shares it. */
.about-hero__bouquet {
  scale: -1 1;
  left: 0;
  bottom: 0;
  z-index: var(--z-foliage-back);
  width: min(17vw, 210px);
  height: auto;
  opacity: 1;
}

.about-hero__plumeria {
  position: absolute;
  right: 7%;
  bottom: 4%;
  z-index: var(--z-foliage-front);
  width: 18%;
  height: auto;
  opacity: 0.96;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

/* bottom/right reset because §39.2's own .about-hero__seal anchored the
   opposite corners; leaving them set would over-constrain the box. */
.about-hero__seal {
  position: absolute;
  top: 9%;
  left: -2.5%;
  right: auto;
  bottom: auto;
  z-index: var(--z-foliage-front);
  width: 19%;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 10px 18px rgba(18, 63, 59, 0.2));
}

/* --- 44.6 The wave edge --------------------------------------------------- */

/* The same curve contact-hero__wave and faq-hero__wave close on: it gives the
   band below an edge rather than a seam. */
.about-hero__wave {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: 5;
  display: block;
  inline-size: 100%;
  block-size: clamp(30px, 4vw, 54px);
  pointer-events: none;
}

.about-hero__wave path { fill: var(--color-island-ivory); }

/* --- 44.7 Responsive ------------------------------------------------------ */

@media (min-width: 1024px) {
  .about-hero__inner { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); }
}

/* Below the two-column hero the desk sits under the copy, and the botanicals
   pull in so nothing crosses the viewport edge. */
@media (max-width: 1023px) {
  .about-hero { min-height: 0; }

  .about-hero__stage {
    order: 2;
    width: min(100%, calc(min(46svh, 26rem) * 520 / 460));
    max-width: none;
    margin-top: var(--space-4);
  }
  .about-hero__copy { order: 1; }

  .about-hero__frond { right: -6%; width: min(34vw, 250px); }
}

@media (max-width: 700px) {
  .about-hero__seal { width: 54px; left: 0; }
  .about-hero__plumeria { width: 84px; right: 0; }
  .about-hero__bouquet { width: min(30vw, 150px); }
}

/* --- 44.8 Reduced motion --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .about-desk__letter {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-desk__postmark {
    opacity: 0.9;
    transform: scale(1);
    transition: none;
  }

  .about-desk__postmark circle,
  .about-desk__postmark path { stroke-dashoffset: 0; }

  .js .about-desk__route { stroke-dasharray: 1; stroke-dashoffset: 0; transition: none; }

  /* §39.11's `.page-about [data-about-layer] { transform: none !important }`
     would otherwise drop the pencil's rotation along with its parallax, and
     the markup's rotate() attribute cannot win against a CSS transform. */
  .page-about .about-desk__pencil { transform: rotate(24deg) !important; transition: none; }

  .about-hero__frond,
  .about-hero__plumeria { transform: none; }
}

/* ==========================================================================
   45. ABOUT — WHERE THE STORY BEGAN  (about.html #about-origin)

   The merged origin section. It carries no boxed object: the former letter
   sheet and franked card are out of the markup, so §39.3's .about-letter /
   .about-card / .about-card__* / .about-note* rules are orphaned and match
   nothing — they are left in place for the cleanup pass rather than edited
   here, per this project's append-only rule.

   Ground: contact.html's 'Start with the right path' band (§40.6
   .care-band), value for value — a short paper-white to island-ivory wash
   that ends on the page's own ivory, so the band reads as part of the page
   rather than as a panel on it. That is also why the hero's wave above is
   re-filled paper-white in §45.1: the wave is the top edge of this band, so
   it has to be the colour this band starts on, exactly as contact's does.
   -------------------------------------------------------------------------- */

/* --- 45.1 The seam with the hero ----------------------------------------- */

/* Supersedes §44.6. When the hero met an ivory band this was ivory; the band
   below it now opens on paper-white, and a wave in the old colour would read
   as a stripe between the two rather than as an edge. */
.about-hero__wave path { fill: var(--color-paper-white); }

/* --- 45.2 The band ------------------------------------------------------- */

.about-story {
  background: linear-gradient(180deg, var(--color-paper-white), var(--color-island-ivory) 42%);
}

/* Left-aligned, not centred: the prose below it is a left-hand column, and a
   centred caption over a left-aligned column reads as two unrelated blocks.
   The measure is capped so the heading breaks where the prose does. */
.about-origin__head {
  max-width: 46rem;
  margin-bottom: clamp(var(--space-3), 3vw, var(--space-5));
}

/* --- 45.3 The margin note beside the prose -------------------------------- */

/* The same 34/66 split the letter used, kept because the note is a margin
   note — it only reads as one while it is narrower than, and beside, the
   text it annotates. */
.about-origin__layout {
  display: grid;
  grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
  gap: clamp(1.5rem, 4vw, var(--space-6));
  align-items: start;
}

.about-origin__aside { position: relative; }

.about-origin__note {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-style: italic;
  font-size: var(--font-h3);
  line-height: 1.22;
  color: var(--color-deep-lagoon);
}

.about-origin__note-rule {
  display: block;
  width: 100%;
  max-width: 15rem;
  height: 0.75rem;
  margin-top: 0.25rem;
  fill: none;
  stroke: var(--color-sunset-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* --- 45.4 The prose ------------------------------------------------------- */

.about-origin__prose > p { max-width: var(--about-measure-wide); }

/* The closing line of the origin half, and the cadence line that ends the
   folded-in card copy. The first is display serif, the way it has always
   been; the second is quiet, and hangs on a hairline rule instead of on the
   card edge it used to sit under — the one piece of structure the card's
   removal would otherwise have taken with it. */
/* Both are scoped through the prose wrapper rather than named on their own:
   .about-prose > p (§39.1) is (0,1,1) and would otherwise beat a bare class
   on font-size, which is what left the closing line setting at body size in
   the old letter too. */
.about-origin__prose > .about-origin__close {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h3);
  line-height: 1.3;
  color: var(--color-text-strong);
}

.about-origin__prose > .about-origin__cadence {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--desk-rule);
  font-size: var(--font-body);
  color: var(--color-text-muted);
  max-width: var(--about-measure-base);
}

/* --- 45.5 Responsive ------------------------------------------------------ */

/* Stacked, the note leads the prose it annotates rather than sitting in a
   margin there is no room for. */
@media (max-width: 900px) {
  .about-origin__layout { grid-template-columns: 1fr; }
  .about-origin__note-rule { max-width: 12rem; }
}

/* ==========================================================================
   46. ABOUT — ORIGIN PHOTOS, THE WAITING LINE, THE MISSION ART, THE TAG RAIL

   Four repairs, all to sections whose rules are missing from this stylesheet
   rather than wrong in it: .about-wait (the four reasons under "Why the
   mailbox?") and .about-mission__glow / __stem had no rule at all, so the
   first rendered as unstyled paragraphs and the second painted two
   full-resolution botanicals across the band; and .about-rail__row had none
   either, which left both washing lines drawing at the same y because the
   only positioned ancestor their wires could resolve against was .about-rail
   itself.

   Appended, not edited in place, per this project's rule.
   -------------------------------------------------------------------------- */

/* --- 46.1 The two photographs in the origin margin ------------------------ */

/* Prints dropped on the desk, not framed objects: no border, no panel, a
   soft cast and a slight rotation each, opposite ways. They overlap a little
   so they read as two things put down one after the other. */
.about-origin__photo {
  position: relative;
  margin: clamp(var(--space-4), 4vw, var(--space-6)) 0 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 10px 18px 34px rgba(18, 63, 59, 0.16);
}

.about-origin__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-origin__photo--a { rotate: -1.6deg; }

.about-origin__photo--b {
  rotate: 1.4deg;
  margin-top: calc(var(--space-4) * -1);
  margin-left: clamp(1rem, 4vw, 2.5rem);
  z-index: 1;
}

/* --- 46.2 Why the mailbox: the intro column and the waiting line ---------- */

.about-mail__layout {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(2rem, 5vw, var(--space-8));
  align-items: start;
  margin-top: clamp(var(--space-4), 4vw, var(--space-6));
}

.about-mail__aside { max-width: 34rem; }
.about-mail__sub { margin-top: 0; }

.about-mail__photo {
  margin: clamp(var(--space-4), 4vw, var(--space-5)) 0 0;
  border-radius: 3px;
  overflow: hidden;
  rotate: -1.2deg;
  box-shadow: 10px 18px 34px rgba(18, 63, 59, 0.16);
}

.about-mail__photo img { display: block; width: 100%; height: auto; }

.about-wait {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.about-wait__item {
  position: relative;
  padding-left: clamp(var(--space-4), 4vw, var(--space-6));
}

/* The thread — the stitched postal line this page already uses for
   .about-desk__route and .about-route__path. It is drawn per item rather
   than once down the whole list, so it runs mark-to-mark and stops at the
   last one instead of trailing past it: each segment starts under its own
   ring and reaches into the next item's margin as far as that ring's top.
   The three offsets below therefore repeat the three gap values above
   exactly — change one and change its partner. */
.about-wait__item::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 1.6rem;
  border-left: 2px dashed var(--desk-rule-strong);
}

.about-wait__item:nth-child(1)::before { bottom: calc(0.35rem - clamp(1.75rem, 4vw, 2.5rem)); }
.about-wait__item:nth-child(2)::before { bottom: calc(0.35rem - clamp(2.5rem, 5.5vw, 3.5rem)); }
.about-wait__item:nth-child(3)::before { bottom: calc(0.35rem - clamp(3.25rem, 7vw, 4.75rem)); }
.about-wait__item:last-child::before { content: none; }

/* Each stop sits further from the one before it than the last gap did. The
   growing distance is the argument the section is making, not a spacing
   accident. */
.about-wait__item + .about-wait__item { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.about-wait__item:nth-child(3) { margin-top: clamp(2.5rem, 5.5vw, 3.5rem); }
.about-wait__item:nth-child(4) { margin-top: clamp(3.25rem, 7vw, 4.75rem); }

/* A postmark ring on the thread. It stands in for a numeral without printing
   one: the point is that something was marked as arrived, not which arrival
   it was. It fills on hover and on keyboard focus within the item. */
.about-wait__mark {
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--color-paper-white);
  border: 2px solid var(--color-postmark-coral-hover);
  box-shadow: 0 0 0 5px rgba(247, 242, 232, 0.9);
  pointer-events: none;
  transition: background-color 260ms var(--ease-out), scale 260ms var(--ease-paper);
}

.about-wait__item:hover .about-wait__mark,
.about-wait__item:focus-within .about-wait__mark {
  background: var(--color-postmark-coral-hover);
  scale: 1.18;
}

.about-wait__item h3 {
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  line-height: 1.15;
  color: var(--color-text-strong);
  margin-bottom: var(--space-1);
}

/* --color-text-default, not --color-text-muted: this list sits on the bare
   ground with no paper under it, and muted's contrast there is a fraction
   over the AA floor. */
.about-wait__item p {
  font-size: var(--font-body);
  line-height: 1.7;
  color: var(--color-text-default);
  max-width: 46ch;
}

/* --- 46.3 The mission band's artwork -------------------------------------- */

/* All three pieces were rendering at their intrinsic size — a 2192px halo and
   two ~800px stems — which put a botanical across the middle of the heading.
   Sized and pinned to the band's edges here, behind the copy. */
.about-mission { position: relative; isolation: isolate; }
.about-mission__inner { position: relative; z-index: var(--z-content); }

/* A wash of light behind the statement, not a shape on top of it. */
.about-mission__glow {
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: min(130%, 78rem);
  height: auto;
  /* Blurred hard, because the asset is a drawn halo with edges: unblurred it
     reads as a shape sitting behind the type rather than as light on the
     band. One static filter on one element, composited once. */
  opacity: 0.11;
  filter: blur(26px);
  mix-blend-mode: soft-light;
  z-index: var(--z-foliage-back);
}

/* Two stems standing in the bottom corners, leaning out of frame the way the
   hero's frond does. Anchored to the bottom so their cut edge is always off
   the band rather than floating inside it. */
.about-mission__stem {
  bottom: -2.25rem;
  width: clamp(5.5rem, 12vw, 11rem);
  height: auto;
  opacity: 0.92;
  z-index: var(--z-foliage-back);
  filter: drop-shadow(0 14px 24px rgba(6, 32, 30, 0.35));
}

.about-mission__stem--left  { left: clamp(-1.5rem, -1vw, 0rem); rotate: -9deg; transform-origin: 50% 100%; }
.about-mission__stem--right { right: clamp(-1.5rem, -1vw, 0rem); rotate: 9deg; scale: -1 1; transform-origin: 50% 100%; }

/* --- 46.4 The tag rail ---------------------------------------------------- */

/* Each row owns its own wire. Without this the wires were absolutely
   positioned against .about-rail and both drew at the same y, crossing at the
   top of the section while the second row's tags hung from nothing. */
.about-rail__row { position: relative; }

.about-rail__row + .about-rail__row { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

.about-rail__wire {
  top: 0;
  height: 2.5rem;
  z-index: 0;
  overflow: visible;
}

.about-rail__wire-path {
  stroke: var(--desk-rule-strong);
  stroke-width: 1.25;
  stroke-linecap: round;
}

.about-rail__list {
  position: relative;
  z-index: 1;
  align-items: start;
  gap: 0 clamp(1rem, 3vw, var(--space-5));
}

/* One drop per tag, declared once and read by both the padding that creates
   it and the string that spans it — so a string can never be a different
   length from the gap it is supposed to bridge. --wire is where the wire
   crosses this column; the string starts a hair above it so it reads as
   looped over the line rather than butted against it. */
.about-tag {
  --drop: 3.4rem;
  --wire: 0.6rem;
  position: relative;
  padding-top: var(--drop);
  transform-origin: 50% var(--wire);
}

.about-tag:nth-child(1) { --drop: 3.6rem; }
.about-tag:nth-child(2) { --drop: 4.9rem; }
.about-tag:nth-child(3) { --drop: 3.2rem; }

.about-tag__string {
  top: calc(var(--wire) - 2px);
  left: 50%;
  width: 1px;
  height: calc(var(--drop) - var(--wire) + 2px);
  background: var(--desk-rule-strong);
}

/* The knot where the string meets the wire. */
.about-tag__string::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -40%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-accent-gold);
  box-shadow: 0 1px 2px rgba(18, 63, 59, 0.35);
}

/* Narrower than the column so the tag reads as a parcel label hanging from a
   point rather than as a panel filling a grid cell, and pointed at the top so
   the hole and the string line up on the same axis. */
.about-tag__body {
  max-width: 16.5rem;
  margin-inline: auto;
  padding: calc(var(--space-4) + 0.5rem) var(--space-3) var(--space-4);
  background: var(--color-warm-sand);
  border-radius: 4px;
  box-shadow: 8px 14px 26px rgba(18, 63, 59, 0.16);
  clip-path: polygon(50% 0, 100% 1.15rem, 100% 100%, 0 100%, 0 1.15rem);
  transition: box-shadow 260ms var(--ease-out);
}

/* A hovered tag catches a little more light. The lift itself is left to the
   sway — moving a swinging object on hover fights its own animation. */
.about-tag:hover .about-tag__body,
.about-tag:focus-within .about-tag__body {
  box-shadow: 10px 20px 34px rgba(18, 63, 59, 0.24);
}

.about-tag__hole {
  top: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-island-ivory);
  box-shadow: inset 0 1px 2px rgba(18, 63, 59, 0.35);
}

/* The sway. A pendulum about the knot, each tag on its own period and phase
   so the six never pulse together. Small on purpose — this page is read. */
@keyframes aboutTagSway {
  0%, 100% { transform: rotate(var(--sway-a, -0.85deg)); }
  50%      { transform: rotate(var(--sway-b, 0.85deg)); }
}

.about-tag {
  animation: aboutTagSway 9s var(--ease-even) infinite;
  will-change: transform;
}

.about-tag:nth-child(1) { --sway-a: -0.9deg;  --sway-b: 0.7deg;  animation-duration: 9.4s;  animation-delay: -0.8s; }
.about-tag:nth-child(2) { --sway-a: -0.65deg; --sway-b: 0.95deg; animation-duration: 11.2s; animation-delay: -3.4s; }
.about-tag:nth-child(3) { --sway-a: -1deg;    --sway-b: 0.6deg;  animation-duration: 8.6s;  animation-delay: -5.9s; }

/* An opened tag stops moving, so copy being read never drifts. */
.about-tag:has([aria-expanded='true']) { animation-play-state: paused; }

/* The reveal helper sets transform: none on .is-revealed, which the sway
   animation would win anyway; the entrance here is the fade alone. */
.about-tag[data-reveal] { transform: none; }

/* --- 46.5 Responsive ------------------------------------------------------ */

@media (max-width: 1023px) {
  .about-mail__layout { grid-template-columns: 1fr; }
  .about-mail__photo { max-width: 30rem; }
}

@media (max-width: 900px) {
  .about-origin__photo--b { margin-left: 0; }
}

@media (max-width: 767px) {
  .about-rail__list { grid-template-columns: 1fr; gap: 0; }
  .about-tag { --drop: 2.6rem; }
  .about-tag:nth-child(1),
  .about-tag:nth-child(2),
  .about-tag:nth-child(3) { --drop: 2.6rem; }
  .about-tag + .about-tag { margin-top: var(--space-3); }
  .about-tag__body { max-width: 26rem; }

  /* Stacked, the tags no longer sit side by side under one line, so a wire
     spanning the row would cross empty space between them. The wire goes and
     each tag keeps its own string and knot, which is what carries the hanging
     read at this width. */
  .about-rail__wire { display: none; }
  .about-tag { --wire: 0.35rem; }
}

/* --- 46.6 Reduced motion --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .about-tag { animation: none; transform: none; }
  .about-wait__mark { transition: none; }
}

/* ==========================================================================
   47. ABOUT — ONE SCREEN PER SECTION

   Five sections asked to fit a single viewport, plus the repairs that made
   that possible. Three of them were tall because rules for their markup are
   missing from this stylesheet, not because they were spaced generously:
   .about-scrap__sprig, .about-scrap--photo, .about-openletter__cover,
   .about-young__visual and .about-notes__mark had no rule at all, so a
   500px botanical, a 750px book cover and four 32px SVG marks were all
   painting at their intrinsic size.

   Appended, not edited in place, per this project's rule. Every selector
   repeats the exact selector it supersedes so it ties on specificity and
   wins on source order.
   -------------------------------------------------------------------------- */

/* --- 47.1 Where the story began ------------------------------------------ */

.about-story { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }

.about-origin__head { margin-bottom: clamp(var(--space-2), 2vw, var(--space-4)); }

.about-origin__layout { gap: clamp(1.5rem, 3.5vw, var(--space-6)); }

/* The second print is now an inset overlapping the first rather than a
   second full-width photograph under it — the pair reads the same and the
   column is roughly 250px shorter for it. */
.about-origin__photo { margin-top: clamp(var(--space-3), 3vw, var(--space-4)); }

.about-origin__photo--b {
  width: 62%;
  margin-top: -18%;
  margin-left: auto;
  margin-right: -4%;
}

.about-origin__prose > p { max-width: 62ch; }

/* --- 47.2 Why the mailbox ------------------------------------------------- */

.about-mail { padding-block: clamp(2rem, 3.4vw, 3rem); }
/* Wider, not narrower: at the default measure this sits on three lines and
   costs the section more height than the extra width does. */
.about-mail .section-head__intro { max-width: 68ch; }

.about-mail__layout {
  gap: clamp(1.5rem, 3.5vw, var(--space-6));
  margin-top: var(--space-3);
}

.about-mail .section-head__intro { margin-top: var(--space-2); }
.about-mail__photo { margin-top: var(--space-3); max-width: 24rem; }

/* The gaps still grow — that is the section's whole argument — but from a
   tighter base, so four stops fit the screen with the intro beside them. */
.about-wait__item + .about-wait__item { margin-top: clamp(0.9rem, 2vw, 1.3rem); }
.about-wait__item:nth-child(3) { margin-top: clamp(1.3rem, 2.8vw, 1.9rem); }
.about-wait__item:nth-child(4) { margin-top: clamp(1.8rem, 3.8vw, 2.6rem); }

.about-wait__item:nth-child(1)::before { bottom: calc(0.35rem - clamp(0.9rem, 2vw, 1.3rem)); }
.about-wait__item:nth-child(2)::before { bottom: calc(0.35rem - clamp(1.3rem, 2.8vw, 1.9rem)); }
.about-wait__item:nth-child(3)::before { bottom: calc(0.35rem - clamp(1.8rem, 3.8vw, 2.6rem)); }

.about-wait__item h3 { margin-bottom: 0.15rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.about-wait__item p { line-height: 1.55; max-width: 42ch; }

/* --- 47.3 What every journey should deliver: one rope, six tags ----------- */

.about-promise { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }

.about-rail { margin-top: clamp(var(--space-4), 4vw, var(--space-6)); }

/* The rope and the list share one box, which is what makes the geometry
   below exact rather than approximate. */
.about-rail__hang { position: relative; }

.about-rail__wire {
  position: absolute;
  inset-inline: 0;
  top: 0;
  width: 100%;
  height: 3rem;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.about-rail__wire-path {
  fill: none;
  stroke: var(--desk-rule-strong);
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* The rope is tied off rather than running out of frame. */
.about-rail__peg {
  position: absolute;
  top: 0.3rem;                      /* the curve's y at its two ends */
  width: 0.5rem;
  height: 0.5rem;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--color-deep-lagoon);
  opacity: 0.55;
  z-index: 1;
}

.about-rail__peg--start { left: 0; }
.about-rail__peg--end   { left: 100%; }

.about-rail__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 clamp(0.5rem, 1.2vw, 1rem);
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Every tag hangs on the same length of string; where it lands is decided by
   where the rope is above it, so the six tops follow the sag instead of
   sitting on a straight line the rope does not match.

   --wire is the curve's height at that column's centre, read off the same
   cubic the markup draws (M0 6 C 300 34, 900 34, 1200 6) at t = (i+0.5)/6 and
   scaled by this box's 3rem height. Change the path and these six change
   with it. */
.about-tag {
  --hang: 2.5rem;
  --drop: calc(var(--wire) + var(--hang));
  position: relative;
  padding-top: var(--drop);
  transform-origin: 50% var(--wire);
}

.about-tag:nth-child(1) { --wire: 0.62rem; }
.about-tag:nth-child(2) { --wire: 1.09rem; }
.about-tag:nth-child(3) { --wire: 1.32rem; }
.about-tag:nth-child(4) { --wire: 1.32rem; }
.about-tag:nth-child(5) { --wire: 1.09rem; }
.about-tag:nth-child(6) { --wire: 0.62rem; }

.about-tag__string {
  position: absolute;
  top: calc(var(--wire) - 2px);
  left: 50%;
  width: 1px;
  height: calc(var(--hang) + 2px);
  background: var(--desk-rule-strong);
}

.about-tag__body {
  max-width: none;
  padding: calc(var(--space-3) + 0.4rem) var(--space-2) var(--space-3);
  clip-path: polygon(50% 0, 100% 0.95rem, 100% 100%, 0 100%, 0 0.95rem);
}

.about-tag__hole { top: 0.6rem; width: 0.42rem; height: 0.42rem; }

.about-tag__title {
  margin-top: var(--space-1);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.25;
}

.about-tag p { font-size: 0.9rem; line-height: 1.55; padding-top: var(--space-1); }

/* A wider swing than before, and no two tags on the same period, so the rope
   reads as carrying weight rather than as a decorative line. */
@keyframes aboutTagSway {
  0%, 100% { transform: rotate(var(--sway-a, -2deg)); }
  50%      { transform: rotate(var(--sway-b, 2deg)); }
}

.about-tag:nth-child(1) { --sway-a: -2.2deg; --sway-b: 1.6deg;  animation-duration: 6.6s; animation-delay: -0.7s; }
.about-tag:nth-child(2) { --sway-a: -1.6deg; --sway-b: 2.2deg;  animation-duration: 8.1s; animation-delay: -2.9s; }
.about-tag:nth-child(3) { --sway-a: -2.4deg; --sway-b: 1.4deg;  animation-duration: 7.2s; animation-delay: -4.6s; }
.about-tag:nth-child(4) { --sway-a: -1.4deg; --sway-b: 2.4deg;  animation-duration: 8.8s; animation-delay: -1.9s; }
.about-tag:nth-child(5) { --sway-a: -2deg;   --sway-b: 1.8deg;  animation-duration: 6.9s; animation-delay: -5.4s; }
.about-tag:nth-child(6) { --sway-a: -1.8deg; --sway-b: 2.1deg;  animation-duration: 7.7s; animation-delay: -3.5s; }

/* --- 47.4 What guides the work -------------------------------------------- */

.about-values { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }

.about-board {
  gap: clamp(0.75rem, 1.8vw, 1.5rem) clamp(0.75rem, 1.8vw, 1.5rem);
  margin-top: clamp(var(--space-3), 3vw, var(--space-5));
}

.about-scrap {
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1rem, 2vw, 1.35rem);
  transition:
    translate 320ms var(--ease-paper),
    rotate 320ms var(--ease-paper),
    box-shadow 320ms var(--ease-out);
}

.about-scrap h3 { margin-bottom: 0.3rem; font-size: var(--font-h4); }
.about-scrap p { font-size: 0.94rem; line-height: 1.6; }

/* Rows tightened: the five notes keep their asymmetry, but nothing hangs an
   extra row's worth of empty board under itself any more. */
.about-scrap:nth-child(3) { margin-top: var(--space-2); }
.about-scrap:nth-child(5) { margin-top: var(--space-3); }

/* The pressed sprig had no rule, so a 500px botanical was setting this note's
   height on its own. It is a corner ornament: small, tucked past the note's
   own edge, and behind nothing that has to be read. */
.about-scrap__sprig {
  position: absolute;
  right: -0.9rem;
  bottom: -0.9rem;
  width: clamp(3.25rem, 7vw, 4.75rem);
  height: auto;
  rotate: -12deg;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(2px 4px 8px rgba(18, 63, 59, 0.18));
}

/* Picked up off the board a little. The rotation resolves toward straight, so
   a hovered note reads as the one being looked at. */
.about-scrap:hover,
.about-scrap:focus-visible,
.about-scrap:focus-within {
  translate: 0 -6px;
  rotate: 0deg;
  box-shadow: 12px 22px 40px rgba(18, 63, 59, 0.2);
  z-index: 2;
}

.about-scrap:focus-visible { outline: 2px solid var(--color-postmark-coral); outline-offset: 3px; }

/* --- 47.5 Stories to open together ---------------------------------------- */

.about-young { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }

.about-young__grid {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  gap: clamp(1.5rem, 4vw, var(--space-7));
  align-items: center;
}

.about-young__copy > * + * { margin-top: var(--space-3); }
.about-young__copy .about-prose > p { max-width: 48ch; }

/* --- the letter and the cover --- */

/* Both had no rule. The cover is a 750x1125 photograph and was rendering at
   full size beneath the letter instead of tucked into it. */
.about-young__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: var(--space-3);
}

.about-openletter {
  position: relative;
  max-width: 20rem;
  width: 100%;
  margin-inline: auto;
  rotate: -2deg;
  filter: drop-shadow(8px 16px 30px rgba(18, 63, 59, 0.18));
  transition: rotate 420ms var(--ease-paper);
}

.about-openletter__cover {
  position: absolute;
  right: 4%;
  bottom: -14%;
  width: 36%;
  height: auto;
  border-radius: 3px;
  rotate: 5deg;
  box-shadow: 6px 12px 24px rgba(18, 63, 59, 0.3);
  /* Slides a little further out of the letter when the section is engaged
     with, which is the whole gesture: a page coming out of an envelope. */
  transition: translate 480ms var(--ease-paper), rotate 480ms var(--ease-paper);
}

.about-young__visual:hover .about-openletter { rotate: -0.5deg; }
.about-young__visual:hover .about-openletter__cover { translate: 6% -6%; rotate: 2deg; }

/* --- the four audience marks --- */

.about-notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, var(--space-4));
  margin: clamp(var(--space-3), 3vw, var(--space-5)) 0 0;
  padding: 0;
  list-style: none;
}

.about-notes__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  border-radius: 4px;
  transition: translate 300ms var(--ease-paper), background-color 300ms var(--ease-out);
}

.about-notes__item:hover,
.about-notes__item:focus-within { translate: 0 -4px; background: rgba(255, 253, 248, 0.55); }

/* The marks were unsized SVG, which is why four 32px glyphs were painting as
   four black discs the width of their column. */
.about-notes__mark {
  display: block;
  width: clamp(2.4rem, 5vw, 3rem);
  height: auto;
}

.about-notes__mark svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: var(--color-postmark-coral);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 300ms var(--ease-out), scale 300ms var(--ease-paper);
}

.about-notes__item:hover .about-notes__mark svg,
.about-notes__item:focus-within .about-notes__mark svg {
  stroke: var(--color-deep-lagoon);
  scale: 1.08;
}

.about-notes__mark circle { stroke: var(--desk-rule-strong); stroke-width: 1.2; }
.about-notes__glyph { stroke: var(--color-postmark-coral); }

.about-notes__item h3 {
  margin: 0;
  font-family: var(--font-display-family);
  font-weight: 400;
  font-size: var(--font-h4);
  line-height: 1.2;
  color: var(--color-text-strong);
}

/* --- 47.6 Responsive ------------------------------------------------------ */

/* Six across needs the room for it. Below that the rope carries three and
   then one, and the per-column --wire values are replaced with a flat pair,
   since the curve is redrawn to nothing at these widths. */
@media (max-width: 1023px) {
  .about-rail__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(1.5rem, 4vw, 2.5rem); }
  .about-tag:nth-child(1), .about-tag:nth-child(6) { --wire: 0.9rem; }
  .about-tag:nth-child(2), .about-tag:nth-child(5) { --wire: 1.2rem; }
  .about-tag:nth-child(3), .about-tag:nth-child(4) { --wire: 1.32rem; }

  .about-young__grid { grid-template-columns: 1fr; }
  .about-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .about-rail__list { grid-template-columns: 1fr; row-gap: var(--space-3); }
  .about-tag { --wire: 0.35rem; --hang: 1.8rem; }
  .about-tag:nth-child(1), .about-tag:nth-child(2), .about-tag:nth-child(3),
  .about-tag:nth-child(4), .about-tag:nth-child(5), .about-tag:nth-child(6) { --wire: 0.35rem; }
  .about-tag__body { max-width: 26rem; margin-inline: auto; }

  .about-rail__wire,
  .about-rail__peg { display: none; }
}

/* --- 47.7 Reduced motion --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .about-scrap,
  .about-notes__item,
  .about-notes__mark svg,
  .about-openletter,
  .about-openletter__cover { transition: none; }
}

/* ==========================================================================
   48. ABOUT — BAND GROUND, BOARD DENSITY, STICKER ICONS

   Three follow-ups: "Why the mailbox?" takes the homepage young-reader
   band's ground; the values board and the young-reader section are pulled
   into one screen each; and the four audience marks become the site's own
   sticker icons.
   -------------------------------------------------------------------------- */

/* --- 48.1 Why the mailbox: the homepage's ground -------------------------- */

/* index.html's "Stories to open together" band (.young-readers, §26), value
   for value: blush light in the top-left, sand in the bottom-right, paper
   white underneath. Supersedes §46/§47's transparent band. */
.about-mail {
  background:
    radial-gradient(70% 55% at 12% 8%, rgba(247, 222, 210, 0.85) 0%, transparent 62%),
    radial-gradient(60% 50% at 92% 88%, rgba(233, 214, 184, 0.7) 0%, transparent 60%),
    var(--color-paper-white);
}

/* --- 48.2 What guides the work: one screen -------------------------------- */

.about-values { padding-block: clamp(2rem, 3.4vw, 3rem); }

.about-board {
  gap: clamp(0.6rem, 1.4vw, 1.15rem);
  margin-top: clamp(var(--space-2), 2.4vw, var(--space-4));
}

.about-scrap { padding: clamp(0.85rem, 1.6vw, 1.15rem) clamp(0.9rem, 1.7vw, 1.2rem); }

/* The taped notes carry a strip of tape across their top edge, so their
   heading needs to clear it. */
.about-scrap--feature,
.about-scrap--tape { padding-top: clamp(1.15rem, 2.1vw, 1.5rem); }

.about-scrap h3 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.2;
}

.about-scrap p {
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 52ch;
}

.about-scrap:nth-child(3) { margin-top: var(--space-1); }
.about-scrap:nth-child(5) { margin-top: var(--space-2); }

.about-scrap__sprig { width: clamp(2.75rem, 5.5vw, 3.75rem); right: -0.7rem; bottom: -0.7rem; }

/* --- 48.3 Stories to open together: one screen ---------------------------- */

.about-young { padding-block: clamp(2rem, 3.4vw, 3rem); }

.about-young__grid {
  gap: clamp(1.25rem, 3vw, var(--space-6));
  align-items: center;
}

.about-young__copy > * + * { margin-top: var(--space-2); }
.about-young__copy .about-prose > p { max-width: 46ch; line-height: 1.6; }
.about-young__highlight { margin-top: var(--space-3); }

.about-young__visual { padding-block: 0; }
.about-openletter { max-width: 17rem; }

.about-notes { margin-top: clamp(var(--space-2), 2.4vw, var(--space-4)); }

.about-notes__item {
  gap: var(--space-1);
  padding: var(--space-2) var(--space-2) var(--space-3);
}

.about-notes__item h3 { font-size: 0.84rem; letter-spacing: 0.07em; }

/* --- 48.4 The audience stickers ------------------------------------------- */

/* §2's sticker system does the drawing — the ink, the gloss, the paper rim,
   the crooked rest angle, the drift, and the peel-straight on hover, which
   .funky-host on each item switches on. All that is needed here is a box.
   §47.5's .about-notes__mark rules are orphaned by the rename in the markup
   and match nothing now; they are left for the cleanup pass. */
.about-notes__sticker {
  display: block;
  width: clamp(3.4rem, 5vw, 4.25rem);
  height: clamp(3.4rem, 5vw, 4.25rem);
}

/* The item's own lift stays, and the sticker peels straight with it, so the
   two gestures read as one. */
.about-notes__item:hover .funky,
.about-notes__item:focus-within .funky { rotate: 0deg; }

/* --- 48.5 Responsive ------------------------------------------------------ */

@media (max-width: 1023px) {
  .about-scrap p { font-size: 0.9rem; }
}

/* --- 48.6 Reduced motion --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .about-notes__item .funky { animation: none; transition: none; }
}

/* ==========================================================================
   49. ABOUT — THE PHOTOGRAPH, THE GALLERY LINE, TWO MORE SCREENS

   Four follow-ups: the mailbox photograph fills its column instead of
   leaving a well of empty ground under it; the promise rail is restyled as
   the homepage's pegged-print gallery (§17 .gallery); the values board and
   the young-reader section lose another band of height; and the letter
   composition grows and gains its seal.
   -------------------------------------------------------------------------- */

/* --- 49.1 Why the mailbox: the photograph fills the column ---------------- */

/* The aside is a two-row grid — copy, then everything left over — so the
   print takes the full height the waiting line sets beside it rather than
   stopping at its own aspect ratio and leaving the rest of the column bare. */
.about-mail__layout { align-items: stretch; }

.about-mail__aside {
  display: grid;
  grid-template-rows: auto 1fr;
  max-width: none;
}

.about-mail__sub { max-width: 48ch; }

.about-mail__photo {
  max-width: none;
  min-height: 0;      /* a grid item's default min-height: auto would floor
                         this at the image's own height and re-open the gap */
  margin-top: var(--space-3);
}

.about-mail__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 49.2 The promise rail, as the homepage's gallery line ---------------- */

/* §17's "Behind the postmark" gallery is the reference: a coral hairline
   sagging edge to edge, a knot of thread over it rather than a pin, and a
   white print hanging on its own thread below. The tags keep their grid and
   their disclosure — only the rope, the knot, the thread and the frame
   change — so the geometry contract from §47.3 still holds. */

.about-rail__wire { height: 4.5rem; }

.about-rail__wire-path {
  stroke: var(--color-postmark-coral);
  stroke-width: 1.3;
  opacity: 0.85;
}

.about-rail__peg {
  top: 0.23rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--color-paper-white);
  border: 1.4px solid var(--color-postmark-coral);
  opacity: 1;
}

/* The rope now sags hard enough to read as slack, so these six move with it:
   the curve is M0 4 C 300 52, 900 52, 1200 4 sampled at t = (i+0.5)/6 and
   scaled by the 4.5rem box above. Recompute both together or neither. */
.about-tag:nth-child(1) { --wire: 1.125rem; }
.about-tag:nth-child(2) { --wire: 2.325rem; }
.about-tag:nth-child(3) { --wire: 2.925rem; }
.about-tag:nth-child(4) { --wire: 2.925rem; }
.about-tag:nth-child(5) { --wire: 2.325rem; }
.about-tag:nth-child(6) { --wire: 1.125rem; }

.about-tag { --hang: 2.2rem; }

.about-tag__string { background: var(--color-postmark-coral); opacity: 0.8; }

/* The knot, not a pin: it stays put on the rope while the print swings. */
.about-tag__string::before {
  width: 0.62rem;
  height: 0.62rem;
  translate: -50% -50%;
  background: var(--color-paper-white);
  border: 1.4px solid var(--color-postmark-coral);
  box-shadow: none;
}

/* A print, not a parcel tag: white board, an even margin, the gallery's own
   two-part shadow, and no clipped corner or punched hole. */
.about-tag__body {
  padding: 0.7rem 0.7rem 0.9rem;
  background: var(--color-paper-white);
  border-radius: 3px;
  clip-path: none;
  box-shadow:
    0 12px 28px rgba(18, 63, 59, 0.16),
    0 1px 2px rgba(18, 63, 59, 0.10);
}

.about-tag__hole { display: none; }

/* The title sits in the frame the way a gallery caption sits under a print:
   centred, on its own line, with the toggle's sign beneath it. */
.about-tag__title { margin-top: 0; }

.about-tag__toggle {
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-block: 0.35rem;
}

.about-tag p { text-align: center; }

/* Hover steadies the print so it can be read, exactly as the gallery does. */
.about-tag:hover { z-index: 5; }
.about-tag:hover { animation-play-state: paused; }

.about-tag:hover .about-tag__body,
.about-tag:focus-within .about-tag__body {
  box-shadow: 0 20px 44px rgba(18, 63, 59, 0.22);
}

/* --- 49.3 What guides the work: tighter still ----------------------------- */

.about-values { padding-block: clamp(1.75rem, 3vw, 2.6rem); }
.about-values .section-head__title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.about-values .section-head { margin-bottom: 0; }

.about-board { gap: clamp(0.5rem, 1.2vw, 0.95rem); }

.about-scrap p { font-size: 0.86rem; line-height: 1.48; }

/* --- 49.4 Stories to open together: a bigger object ----------------------- */

.about-young { padding-block: clamp(1.75rem, 3vw, 2.6rem); }
.about-young .section-head__title { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.about-young__grid { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); }

.about-openletter { max-width: min(24rem, 100%); }

.about-openletter__cover {
  right: 0;
  bottom: -16%;
  width: 46%;
}

/* The seal closes the composition at the opposite corner from the cover, so
   the object reads top-left to bottom-right rather than sitting lopsided. */
.about-openletter__seal {
  position: absolute;
  left: 7%;
  top: -4%;
  width: 20%;
  height: auto;
  rotate: -8deg;
  filter: drop-shadow(3px 6px 12px rgba(18, 63, 59, 0.28));
  transition: rotate 480ms var(--ease-paper), translate 480ms var(--ease-paper);
}

.about-young__visual:hover .about-openletter__seal { rotate: -2deg; translate: -4% -6%; }

/* --- 49.5 The stickers' outline ------------------------------------------- */

/* A hair finer than .funky--lg's 1.8: at this size the icons were reading as
   outline drawings rather than as the filled stickers they are. */
.about-notes__sticker .funky__ink { stroke-width: 1.35; }

/* --- 49.6 Responsive ------------------------------------------------------ */

@media (max-width: 1023px) {
  .about-mail__aside { grid-template-rows: auto auto; }
  .about-mail__photo { max-width: 30rem; }
  .about-mail__photo img { height: auto; }

  /* Three across: the rope is redrawn flat at this width, so every column
     meets it at the same height. */
  .about-tag:nth-child(1), .about-tag:nth-child(2), .about-tag:nth-child(3),
  .about-tag:nth-child(4), .about-tag:nth-child(5), .about-tag:nth-child(6) { --wire: 1.4rem; }
}

@media (max-width: 767px) {
  .about-tag:nth-child(1), .about-tag:nth-child(2), .about-tag:nth-child(3),
  .about-tag:nth-child(4), .about-tag:nth-child(5), .about-tag:nth-child(6) { --wire: 0.35rem; }
}

/* ==========================================================================
   50. ABOUT — THE PHOTOGRAPH'S HEIGHT, AND THE ROPE EDGE TO EDGE

   Two changes. "Why the mailbox?" loses its intro paragraph, so the print
   takes the whole left column and is matched to the waiting line beside it.
   And the promise rope leaves the frame instead of stopping at the gutter,
   with the tags back to the sand envelopes they were before the gallery
   restyle.
   -------------------------------------------------------------------------- */

/* --- 50.1 The photograph, matched to the column beside it ---------------- */

/* One row now, not two: the figure is the whole column and stretches to
   whatever the waiting line measures. */
.about-mail__aside { grid-template-rows: 1fr; }

.about-mail__photo {
  margin-top: 0;
  height: 100%;
}

/* --- 50.2 The rope, edge to edge ------------------------------------------ */

/* Out of the container and across the viewport. `50% - 50vw` is exactly the
   margin the centred container leaves, so this reaches both screen edges
   without ever adding to the page's scroll width — the same full-bleed idiom
   §39.13 used for the two rows this replaced. */
.about-rail__row { position: relative; }

.about-rail__wire {
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 4.5rem;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.about-rail__wire-path {
  fill: none;
  stroke: var(--desk-rule-strong);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 1;
}

/* The rope no longer ends anywhere on screen, so there is nothing to tie it
   off against. */
.about-rail__peg { display: none; }

/* JS-off fallback only. initAboutRailLine overwrites every one of these from
   the rendered path, which is the only way to stay exact once the rope and
   the columns stop sharing a box. These six are the curve
   (M-40 6 C 280 54, 920 54, 1240 6) sampled at a 1440px-wide viewport. */
.about-tag:nth-child(1) { --wire: 1.55rem; }
.about-tag:nth-child(2) { --wire: 2.35rem; }
.about-tag:nth-child(3) { --wire: 2.75rem; }
.about-tag:nth-child(4) { --wire: 2.75rem; }
.about-tag:nth-child(5) { --wire: 2.35rem; }
.about-tag:nth-child(6) { --wire: 1.55rem; }

.about-tag { --hang: 2.2rem; }

.about-tag__string { background: var(--desk-rule-strong); opacity: 1; }

/* --- 50.3 The tags, back to envelopes ------------------------------------ */

/* The sand card returns, and its top is now a flap rather than a clipped
   corner: the same warm sand as .about-desk__envelope-body, with the paler
   .about-desk__flap paint above it, so a promise reads as something that
   arrived rather than as a print pegged to a line. */
.about-tag__string::before {
  width: 0.45rem;
  height: 0.45rem;
  translate: -50% -40%;
  background: var(--color-accent-gold);
  border: 0;
  box-shadow: 0 1px 2px rgba(18, 63, 59, 0.35);
}

.about-tag__body {
  position: relative;
  overflow: hidden;
  padding: 2.15rem var(--space-2) var(--space-3);
  background: var(--color-warm-sand);
  border-radius: 4px;
  clip-path: none;
  box-shadow: 8px 14px 26px rgba(18, 63, 59, 0.16);
}

/* The flap. Its point is on the same axis as the string above it, so the
   envelope reads as hanging from its own seam. */
.about-tag__body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1.85rem;
  background: #F2E2C6;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

/* The seam the flap folds along. */
.about-tag__body::after {
  content: '';
  position: absolute;
  inset: 1.85rem 0 auto 0;
  height: 1px;
  background: rgba(18, 63, 59, 0.12);
  pointer-events: none;
}

.about-tag__title { margin-top: 0; }

.about-tag__toggle {
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-block: 0.2rem;
}

.about-tag p { text-align: center; }

.about-tag:hover .about-tag__body,
.about-tag:focus-within .about-tag__body {
  box-shadow: 10px 20px 34px rgba(18, 63, 59, 0.24);
}

/* --- 50.4 Responsive ------------------------------------------------------ */

@media (max-width: 1023px) {
  .about-mail__aside { grid-template-rows: auto; }
  .about-mail__photo { height: auto; }
}

/* Below this the six wrap onto more than one row, so there is no single line
   for them all to hang from. The rope and the strings go, the envelopes stay,
   and initAboutRailLine leaves --wire alone for any tag that falls outside
   the rope's band. */
@media (max-width: 1023px) {
  .about-rail__wire,
  .about-tag__string { display: none; }

  .about-tag:nth-child(1), .about-tag:nth-child(2), .about-tag:nth-child(3),
  .about-tag:nth-child(4), .about-tag:nth-child(5), .about-tag:nth-child(6) { --wire: 0.35rem; }

  .about-tag { --hang: 0.6rem; }
  .about-rail__list { row-gap: clamp(1rem, 3vw, 1.75rem); }
}

/* ==========================================================================
   51. ABOUT — THE WAITING LINE, FULL MEASURE

   The four stops were capped at 42ch (§47.2) while their column is wider
   than that, which left a band of empty ground down the right of the
   section. The cap goes and the headings come up a step.
   -------------------------------------------------------------------------- */

.about-wait__item p {
  max-width: none;
  line-height: 1.6;
}

.about-wait__item h3 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.2rem, 1.65vw, 1.45rem);
  line-height: 1.2;
}

/* ==========================================================================
   52. ABOUT — WHY THE MAILBOX, ON ONE SCREEN

   The wider measure (§51) already took a line off each stop; this takes the
   rest of the height out of the band's padding, the head, and the growing
   gaps — which still grow, only from a tighter base.
   -------------------------------------------------------------------------- */

.about-mail { padding-block: clamp(1.6rem, 2.4vw, 2.15rem); }

.about-mail .section-head__title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.about-mail .section-head__intro { margin-top: var(--space-1); }

.about-mail__layout { margin-top: var(--space-2); }

.about-wait__item + .about-wait__item { margin-top: clamp(0.75rem, 1.4vw, 1rem); }
.about-wait__item:nth-child(3) { margin-top: clamp(1rem, 2vw, 1.4rem); }
.about-wait__item:nth-child(4) { margin-top: clamp(1.4rem, 2.8vw, 1.95rem); }

.about-wait__item:nth-child(1)::before { bottom: calc(0.35rem - clamp(0.75rem, 1.4vw, 1rem)); }
.about-wait__item:nth-child(2)::before { bottom: calc(0.35rem - clamp(1rem, 2vw, 1.4rem)); }
.about-wait__item:nth-child(3)::before { bottom: calc(0.35rem - clamp(1.4rem, 2.8vw, 1.95rem)); }

.about-wait__item h3 {
  margin-bottom: 0.15rem;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}

.about-wait__item p { line-height: 1.55; }

/* ==========================================================================
   53. ABOUT — WHY THE MAILBOX HOLDS THE SCREEN

   Compacting the section (§52) made it shorter than the viewport, which is
   the opposite of the ask: scrolled to, it should be the only thing on
   screen. So it is sized against the viewport rather than against its
   contents — one screen less the sticky header — and its contents are
   centred in whatever is left instead of sitting at the top with the next
   band showing beneath them.

   min-height, not height: on a short viewport, or with the text reflowed,
   the section grows rather than clipping.
   -------------------------------------------------------------------------- */

.about-mail {
  display: grid;
  align-content: center;
  min-height: calc(100svh - var(--header-height));
  scroll-margin-top: var(--header-height);
}

/* The photograph now has a whole screen to match rather than a list four
   stops tall, so it is capped: past this it stops being a photograph beside
   the copy and becomes the section. */
.about-mail__photo { max-height: 30rem; }
.about-mail__photo img { object-position: center; }

/* Height-aware, not just width-aware: on a short screen the band's own
   padding is what pushes the section past one viewport, so it takes the
   smaller of a width- and a height-derived value — the same technique §17's
   gallery uses to keep its prints on one screen. The photograph is capped
   the same way. */
.about-mail { padding-block: clamp(1rem, min(2.4vw, 2.6svh), 2.15rem); }
.about-mail__photo { max-height: min(38rem, 56svh); }

/* A laptop screen is the case this section has to survive: 768px of window
   leaves under 600px once the browser chrome and the sticky header are out,
   and four stops of reading copy do not fit that at the desktop scale. The
   type steps down and the gaps close by a third, so the section still holds
   exactly one screen instead of spilling its last stop onto the next. The
   gaps still grow — the ratio between them is unchanged. */
@media (min-width: 1024px) and (max-height: 820px) {
  .about-mail .section-head__title { font-size: clamp(1.55rem, 2.3vw, 1.95rem); }
  .about-mail .section-head__intro { font-size: var(--font-body); line-height: 1.5; }

  .about-wait__item h3 { font-size: 1.06rem; }
  .about-wait__item p { font-size: 0.92rem; line-height: 1.5; }

  .about-wait__item + .about-wait__item { margin-top: 0.7rem; }
  .about-wait__item:nth-child(3) { margin-top: 0.95rem; }
  .about-wait__item:nth-child(4) { margin-top: 1.3rem; }

  .about-wait__item:nth-child(1)::before { bottom: -0.35rem; }
  .about-wait__item:nth-child(2)::before { bottom: -0.6rem; }
  .about-wait__item:nth-child(3)::before { bottom: -0.95rem; }
}

/* ==========================================================================
   54. ABOUT — THREE MORE SECTIONS HOLD THE SCREEN

   The same contract §53 gave "Why the mailbox?": each section is sized
   against the viewport rather than against its contents, and its contents
   are centred in what is left, so scrolling to one puts that section — and
   nothing else — on screen.

   min-height, not height: on a short screen, or with the copy reflowed, a
   section grows rather than clipping. The short-screen blocks at the end
   are what stop that happening in the first place.
   -------------------------------------------------------------------------- */

.about-promise,
.about-values,
.about-young {
  display: grid;
  align-content: center;
  min-height: calc(100svh - var(--header-height));
  scroll-margin-top: var(--header-height);
}

/* --- 54.1 What every journey should deliver ------------------------------- */

/* The rope has a whole screen now, so the drop and the envelopes grow into
   it — taking the smaller of a width- and a height-derived value, so a short
   screen gets the compact version rather than an overflowing one. */
.about-promise { padding-block: clamp(1rem, min(2.4vw, 2.6svh), 2.4rem); }

.about-rail { margin-top: clamp(var(--space-3), min(4vw, 5svh), var(--space-7)); }

.about-rail__wire { height: clamp(3.5rem, min(5vw, 7svh), 5.5rem); }

.about-tag { --hang: clamp(1.6rem, min(2.6vw, 3.4svh), 3rem); }

.about-tag__body { padding: 2.15rem var(--space-2) clamp(var(--space-3), 2.2svh, var(--space-4)); }

/* --- 54.2 What guides the work -------------------------------------------- */

.about-values { padding-block: clamp(1rem, min(2.4vw, 2.6svh), 2.6rem); }

.about-board {
  gap: clamp(0.5rem, min(1.2vw, 1.6svh), 1.4rem);
  margin-top: clamp(var(--space-2), min(2.4vw, 3svh), var(--space-5));
}

.about-scrap { padding: clamp(0.85rem, min(1.6vw, 2.1svh), 1.5rem) clamp(0.9rem, 1.7vw, 1.4rem); }

/* --- 54.3 Stories to open together ---------------------------------------- */

.about-young { padding-block: clamp(1rem, min(2.4vw, 2.6svh), 2.6rem); }

.about-young__grid { gap: clamp(1rem, min(3vw, 4svh), var(--space-7)); }

.about-openletter { max-width: min(24rem, 46svh); }

.about-notes { margin-top: clamp(var(--space-2), min(2.4vw, 3svh), var(--space-5)); }

.about-notes__item { padding: clamp(var(--space-1), 1.4svh, var(--space-3)) var(--space-2); }

.about-notes__sticker {
  width: clamp(2.9rem, min(4.6vw, 6svh), 4.25rem);
  height: clamp(2.9rem, min(4.6vw, 6svh), 4.25rem);
}

/* --- 54.4 Short screens ---------------------------------------------------- */

/* A laptop leaves under 600px once the browser chrome and the sticky header
   are out. Same treatment as §53: the type steps down rather than the
   section spilling onto the next one. */
@media (min-width: 1024px) and (max-height: 820px) {
  .about-promise .section-head__title,
  .about-values .section-head__title,
  .about-young .section-head__title { font-size: clamp(1.55rem, 2.3vw, 1.95rem); }

  .about-scrap h3 { font-size: 1rem; }
  .about-scrap p { font-size: 0.84rem; line-height: 1.45; }

  .about-young__copy .about-prose > p { font-size: var(--font-body); line-height: 1.55; }
  .about-young__highlight { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
  .about-notes__item h3 { font-size: 0.78rem; }
}

/* The rail is the shortest of the four by some way, so on a tall screen it
   was centring with a band of empty ground under the envelopes. The rope
   drop and the wire's own box take more of the height when there is height
   to take — still bounded by the svh term, so a laptop gets the compact
   version unchanged. --wire is read from the rendered box by
   initAboutRailLine, so the strings follow without a second set of numbers. */
.about-rail { margin-top: clamp(var(--space-3), min(4vw, 6svh), var(--space-8)); }
.about-rail__wire { height: clamp(3.5rem, min(5vw, 9svh), 7rem); }
.about-tag { --hang: clamp(1.6rem, min(2.6vw, 5svh), 4.5rem); }

/* ==========================================================================
   55. ABOUT — FILLING THE SCREEN WITHOUT GROWING THE TYPE

   §54 sized four sections against the viewport; three of them then centred a
   short block in a tall box, which put the slack in two dead bands above and
   below rather than into the composition. This spends that slack on the
   drawn objects and the space between them — the rope's drop, the envelope's
   body, the board's gaps, the letter — all on min(vw, svh) so a short screen
   keeps the compact version. No type scale changes.
   -------------------------------------------------------------------------- */

/* --- 55.1 The rail ------------------------------------------------------- */

/* The rope hangs from higher and drops further, and the envelopes are given a
   floor to fill, so the run from the heading to the last envelope covers the
   screen instead of clustering under the title. */
.about-rail { margin-top: clamp(var(--space-3), min(18vw, 22svh), 14rem); }
.about-rail__wire { height: clamp(3.5rem, min(16vw, 20svh), 12rem); }
.about-tag { --hang: clamp(1.6rem, min(10vw, 12svh), 8.5rem); }

.about-tag__body {
  min-height: clamp(6rem, min(24vw, 26svh), 18rem);
  padding-bottom: clamp(var(--space-3), 4svh, var(--space-6));
}

/* --- 55.2 The board ------------------------------------------------------ */

.about-board {
  gap: clamp(0.5rem, min(5vw, 4.4svh), 3.25rem);
  margin-top: clamp(var(--space-2), min(9vw, 8svh), var(--space-9));
}

.about-scrap { padding: clamp(0.85rem, min(6vw, 5.2svh), 3.6rem) clamp(0.9rem, 1.9vw, 1.75rem); }

/* The two offset notes drop further on a tall screen, which is what gives the
   board its second row of height without a sixth note. */
.about-scrap:nth-child(3) { margin-top: clamp(0.25rem, 4svh, 3rem); }
.about-scrap:nth-child(5) { margin-top: clamp(0.5rem, 6svh, 4.5rem); }

/* --- 55.3 The young-reader section --------------------------------------- */

.about-young__grid { gap: clamp(1rem, min(8vw, 7svh), var(--space-9)); }

.about-openletter { max-width: min(38rem, 62svh); }

.about-notes { margin-top: clamp(var(--space-2), min(9vw, 7.5svh), var(--space-9)); }

.about-notes__item { padding: clamp(var(--space-1), 4svh, var(--space-7)) var(--space-2); }

/* --- 55.4 The waiting line, on a tall screen ------------------------------ */

/* The four stops set the height of "Why the mailbox?" — the photograph beside
   them can only stretch to whatever they measure — so the growing gaps grow
   further when there is height for it. The ratio between the three is
   unchanged, and the connectors move with them; change one and change its
   partner. */
.about-wait__item + .about-wait__item { margin-top: clamp(0.75rem, min(2vw, 2.6svh), 2.25rem); }
.about-wait__item:nth-child(3) { margin-top: clamp(1rem, min(2.8vw, 3.6svh), 3rem); }
.about-wait__item:nth-child(4) { margin-top: clamp(1.4rem, min(3.8vw, 5svh), 4.25rem); }

.about-wait__item:nth-child(1)::before { bottom: calc(0.35rem - clamp(0.75rem, min(2vw, 2.6svh), 2.25rem)); }
.about-wait__item:nth-child(2)::before { bottom: calc(0.35rem - clamp(1rem, min(2.8vw, 3.6svh), 3rem)); }
.about-wait__item:nth-child(3)::before { bottom: calc(0.35rem - clamp(1.4rem, min(3.8vw, 5svh), 4.25rem)); }

/* A laptop has no height to spend on those gaps: the §53 block already
   trims the type there, and the growth above would put the section back
   over one screen. Held at the compact values instead. */
@media (min-width: 1024px) and (max-height: 820px) {
  .about-wait__item + .about-wait__item { margin-top: 0.7rem; }
  .about-wait__item:nth-child(3) { margin-top: 0.95rem; }
  .about-wait__item:nth-child(4) { margin-top: 1.3rem; }

  .about-wait__item:nth-child(1)::before { bottom: -0.35rem; }
  .about-wait__item:nth-child(2)::before { bottom: -0.6rem; }
  .about-wait__item:nth-child(3)::before { bottom: -0.95rem; }
}

/* The photograph is the tallest thing in that column on a laptop — taller
   than the four stops beside it — so it is what pushes the section past one
   screen there, not the copy. Capped to the height the stops actually
   measure. */
@media (min-width: 1024px) and (max-height: 760px) {
  .about-mail__photo { max-height: min(26rem, 44svh); }
}

/* ==========================================================================
   56. ABOUT — THE ENVELOPES OPEN, THE AUDIENCE RULES GO

   The envelopes were drawn with a seam ruled across the flap and given a
   floor tall enough to fill the screen on their own, which made six large
   empty panels. They are small again by default and grow when opened, and
   the space the section needs comes from the rope above them instead. The
   four audience marks lose the rules they were sitting against.
   -------------------------------------------------------------------------- */

/* --- 56.1 The envelopes --------------------------------------------------- */

/* The ruled seam under the flap goes. The flap's own edge already reads as
   the fold; the line over it read as an outline drawn on the card. */
.about-tag__body::after { content: none; }

/* Closed, an envelope is just deep enough to hold its label. Opening it is
   what gives it height — which is the point of a closed envelope. */
.about-tag__body {
  min-height: clamp(4.25rem, min(7vw, 9svh), 6rem);
  padding-bottom: clamp(var(--space-2), 1.6svh, var(--space-3));
  transition:
    box-shadow 300ms var(--ease-out),
    min-height 380ms var(--ease-paper);
}

/* Hovering opens one, the same as clicking it — the panel is never removed
   from the DOM, only collapsed, so this is the same state the toggle sets.
   Pointer only: :hover on a touch device sticks after the tap, and the tap
   has already fired the toggle. */
@media (hover: hover) and (pointer: fine) {
  .js .about-tag:hover .about-disclosure[data-collapsed],
  .js .about-tag:focus-within .about-disclosure[data-collapsed] { grid-template-rows: 1fr; }

  .about-tag:hover .about-tag__body,
  .about-tag:focus-within .about-tag__body { min-height: clamp(6rem, min(11vw, 14svh), 9rem); }
}

/* An opened envelope keeps its lift whether it was opened by pointer or by
   keyboard, and stops swaying so the sentence inside can be read. */
.about-tag:has([aria-expanded='true']) .about-tag__body {
  min-height: clamp(6rem, min(11vw, 14svh), 9rem);
  box-shadow: 10px 20px 34px rgba(18, 63, 59, 0.24);
}

/* Room between them, now that they are not tall enough to space themselves. */
.about-rail__list { gap: 0 clamp(0.9rem, 2vw, 1.75rem); }

/* The height the envelopes gave back comes off the rope's drop, so the
   section still fills its screen without six empty panels doing it. */
.about-rail { margin-top: clamp(var(--space-3), min(18vw, 20svh), 13rem); }
.about-rail__wire { height: clamp(3.5rem, min(16vw, 19svh), 11rem); }
.about-tag { --hang: clamp(1.6rem, min(10vw, 11svh), 7rem); }

/* --- 56.2 The audience marks --------------------------------------------- */

/* §39.18 gave each note a rule down its left edge, from when they were
   margin notes in a column. They are a centred row of stickers now, and the
   rules read as four boxes drawn behind them. */
.about-notes__item {
  padding-left: var(--space-2);
  border-left: 0;
}

/* --- 56.3 The drop, restated ---------------------------------------------- */

/* §46.4 set --drop per tag, from when the six hung at fixed offsets from a
   straight wire. §47.3 replaced that with --drop: calc(--wire + --hang) on
   .about-tag — but at (0,1,0) against the older rules' (0,2,0), so the first
   three tags kept their fixed 3.6/4.9/3.2rem and stopped tracking the rope
   entirely: their strings spanned wire → wire + hang while their envelopes
   sat wherever the old value put them. Restated here at matching specificity
   so all six read the same calc. */
.about-tag:nth-child(1),
.about-tag:nth-child(2),
.about-tag:nth-child(3),
.about-tag:nth-child(4),
.about-tag:nth-child(5),
.about-tag:nth-child(6) { --drop: calc(var(--wire) + var(--hang)); }

/* Same story one property along: §39.13's .about-tag:nth-child(N) rules set
   padding-top in rem directly — the pre-rope layout — and outrank §47.3's
   .about-tag { padding-top: var(--drop) } at (0,2,0) against (0,1,0). So the
   envelopes hung at 3.25/4.4/3.6rem no matter what the rope did above them,
   while the strings drawn beside them spanned the real drop. Restated. */
.about-tag:nth-child(1),
.about-tag:nth-child(2),
.about-tag:nth-child(3),
.about-tag:nth-child(4),
.about-tag:nth-child(5),
.about-tag:nth-child(6) { padding-top: var(--drop); }

/* And the third of the same family: §39.13 gave the second and fourth tags a
   fixed 3.7rem string, from the two-row layout where those two hung lower.
   At (0,3,0) it outranks every later rule, so those two strings stopped 70px
   short of their own envelope. All six now measure the drop they actually
   hang by. */
.about-tag:nth-child(1) .about-tag__string,
.about-tag:nth-child(2) .about-tag__string,
.about-tag:nth-child(3) .about-tag__string,
.about-tag:nth-child(4) .about-tag__string,
.about-tag:nth-child(5) .about-tag__string,
.about-tag:nth-child(6) .about-tag__string { height: calc(var(--drop) - var(--wire) + 2px); }

/* ==========================================================================
   57. ABOUT — THE RAIL STOPS MOVING WHEN AN ENVELOPE OPENS

   Hovering an envelope opened it, which made that tag taller, which made the
   rail taller, which made the section's centred content block re-centre —
   so the heading, the rope and all six envelopes jumped every time the
   pointer crossed one. The section is a fixed height (§54), so the only
   thing that can absorb an opening envelope is the rail itself.

   The three measurements the rail is built from are named here, once, and
   the box that holds the envelopes is given the exact height the closed
   state needs. An opening envelope then grows into the section's own slack
   instead of pushing its neighbours around — nothing above or beside it
   moves at all.
   -------------------------------------------------------------------------- */

.about-rail {
  --rail-wire-h: clamp(3.25rem, min(14vw, 20svh), 11rem);
  --tag-hang: clamp(1.5rem, min(8vw, 11svh), 6.5rem);
  --tag-closed: clamp(4.25rem, min(7vw, 10svh), 6.5rem);

  /* Close under the copy: the rope is the section's subject, not a second
     block beneath a heading, so the gap over it is a heading's worth of
     space and no more. */
  margin-top: clamp(var(--space-2), min(4vw, 5svh), 3rem);
}

.about-rail__wire { height: var(--rail-wire-h); }
.about-tag { --hang: var(--tag-hang); }
.about-tag__body { min-height: var(--tag-closed); }

/* The rope's lowest point is 39/60ths down its own viewBox — the curve in
   the markup is M0 4 C 300 52, 900 52, 1200 4 — so the deepest column hangs
   from 0.65 of the wire box. That plus one string and one closed envelope is
   exactly what the rail needs when nothing is open. */
.about-rail__hang {
  height: calc(var(--rail-wire-h) * 0.65 + var(--tag-hang) + var(--tag-closed));
}

/* The list is taken out of flow so a growing tag cannot report a taller box
   to the rail above it. It still lays out over exactly the same area, so
   initAboutRailLine measures what it always did. */
.about-rail__list {
  position: absolute;
  inset: 0 0 auto 0;
}

/* The rail carries a tail of empty space under it so the centred block sits
   high in the screen rather than in the middle of it: the section centres
   the content box it is given, so space added below the rope lifts the whole
   composition — heading, line and envelopes together — by half of it. It is
   also the room an opening envelope grows into. */
.about-rail { margin-bottom: clamp(2rem, min(9vw, 13svh), 7.5rem); }

/* ==========================================================================
   58. ABOUT — TABLET AND PHONE

   Everything above this point was tuned at a desktop width, and four
   sections needed the pass: the mailbox photograph, the promise rail, the
   values board and the young-reader section.

   Two things run through all four. First, the one-screen contract (§53/§54)
   is released below 1024px — a section sized to `100svh` with its contents
   centred is a desktop idea; on a phone the same content is two or three
   screens tall and the centring only buys dead bands. Second, none of these
   rules read `--wire`. initAboutRailLine writes that property inline from
   the rendered rope, and an inline custom property outranks any stylesheet
   rule — so at these widths, where the SVG rope is hidden and the value can
   only be stale, every consumer of it (`--drop`, the string's top and
   height, the sway origin) is restated against a plain `--rope-y` instead.

   Appended, not edited in place, per this project's rule. Every selector
   either repeats or exceeds the specificity of the rule it supersedes.
   -------------------------------------------------------------------------- */

/* --- 58.1 The one-screen contract, released ------------------------------- */

@media (max-width: 1023px) {
  .about-mail,
  .about-promise,
  .about-values,
  .about-young {
    display: block;
    min-height: 0;
  }
}

/* --- 58.1b Where the story began: both prints inside the gutter ----------- */

/* §47.1 hangs the second print 4% past its own column — deliberate on a
   desktop, where that column is the narrow margin beside the prose and 4% of
   it is a few pixels of overlap. Stacked, the column is the whole container,
   so the same 4% put the print's right edge past the page gutter and, at
   768px, one pixel past the viewport. The rotations go with it: they cost
   another 8px a side at this width, which is the difference between a print
   dropped on the desk and one hanging off it.

   900, not 1023 like the rest of this section: that is where §45 collapses
   .about-origin__layout to one column, and it is the collapse that turns a
   margin overlap into a gutter overflow. Above it the two-column layout is
   intact and the prints are still in their narrow margin, where the overlap
   is what it was designed to be. */
@media (max-width: 900px) {
  .about-origin__photo--b { margin-right: 0; }

  .about-origin__photo--a,
  .about-origin__photo--b { rotate: 0deg; }
}

/* --- 58.2 Why the mailbox: the photograph takes the full measure ---------- */

/* Stacked, the print is no longer a column beside the waiting line — it is
   the band's opening image, so it runs the container's full width rather
   than sitting at 30rem with ground either side of it. The height caps from
   §49.6/§53/§55.4 all go with it; a crop keeps a full-width landscape from
   eating the screen on its own. */
@media (max-width: 1023px) {
  .about-mail__layout {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3.5vw, 2rem);
    margin-top: var(--space-3);
  }

  .about-mail__aside { max-width: none; }

  .about-mail__photo {
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    margin-top: 0;
    margin-inline: 0;
  }

  .about-mail__photo img {
    width: 100%;
    height: auto;
    max-height: clamp(14rem, 42vw, 22rem);
    object-fit: cover;
    object-position: center;
  }

  .about-mail { padding-block: clamp(2.5rem, 7vw, 4rem); }
}

@media (max-width: 767px) {
  .about-mail__photo img { max-height: clamp(12rem, 56vw, 18rem); }
}

/* --- 58.3 What every journey should deliver: a line per row --------------- */

/* The homepage's "Behind the postmark" gallery (§17) is the reference, and
   what it keeps on a phone is the idea rather than the picture: a line, a
   knot on it, and prints hanging on threads of unequal length under it.
   That is what is rebuilt here.

   One SVG rope cannot serve six tags once they wrap, so each ROW gets a rope
   of its own, drawn by the tag that starts it and stretched across the whole
   row: `right: calc(-200% - 2 * gap)` reaches exactly two more columns and
   two more gaps. One element per row, so there is nothing to join and no
   seam to break — which is what the per-tag segments this replaced could
   never avoid, since a straight segment is all a single column can draw.

   The sag is the box's own bottom border bent by a corner radius: 50% of the
   width horizontally, 100% of the height vertically, on both bottom corners,
   which makes the bottom edge one half-ellipse — pinned at the row's two
   ends and deepest in the middle, the same shape as the desktop rope's
   cubic. Because it is an ellipse and not a bezier, where the rope sits over
   each column is exact rather than sampled: for a column centred at x, that
   is `--rope-h * sqrt(1 - ((x - W/2) / (W/2))^2)`. Three columns give
   0.745 / 1 / 0.745; two give 0.866 twice; one gives 1. Those are the
   numbers below — change the radius and they all change with it.

   §57 took the list out of flow and gave .about-rail__hang the exact height
   of one closed row; both are undone here, since more than one row now has
   to be measured and a phone has no fixed screen height to protect. */
@media (max-width: 1023px) {
  .about-rail {
    --rail-col-gap: clamp(0.75rem, 2.2vw, 1.5rem);
    --rope-h: clamp(1.25rem, 3.5vw, 2.25rem);
    --hang-base: clamp(1.35rem, 3.6vw, 2.4rem);
    margin-top: clamp(var(--space-3), 4.5vw, var(--space-6));
    margin-bottom: 0;
  }

  .about-promise { padding-block: clamp(2.5rem, 7vw, 4rem); }

  /* Back in flow, and tall enough for however many rows there are. */
  .about-rail__hang { height: auto; }

  .about-rail__list {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--rail-col-gap);
    row-gap: clamp(1.75rem, 5vw, 3rem);
  }

  /* The rope. Hidden on every tag but the one that starts a row, which draws
     the whole row's line — see this block's header for the geometry. */
  .about-tag::before {
    content: '';
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: var(--rope-h);
    border-bottom: 1px solid var(--desk-rule-strong);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    pointer-events: none;
  }

  .about-tag:nth-child(3n + 1)::before {
    display: block;
    right: calc(-200% - 2 * var(--rail-col-gap));
  }

  /* §46.4's `.about-tag + .about-tag { margin-top: var(--space-3) }` is from
     the single-column stack this replaced. In a grid it lands on every tag
     but the first, so the first row alone sat 24px high and its rope with
     it — the row-gap does this job now. */
  .about-rail__list .about-tag + .about-tag { margin-top: 0; }

  /* --rope-y, not --wire: see this section's header. It is where this
     column's centre meets the sag above it, so the string starts on the rope
     rather than near it — the same contract §47.3's --wire holds on desktop,
     solved in closed form instead of sampled by JS. */
  .about-rail__list .about-tag {
    --rope-y: calc(var(--rope-h) * 0.745);
    --hang: calc(var(--hang-base) * var(--hang-k, 1));
    --drop: calc(var(--rope-y) + var(--hang));
    transform-origin: 50% var(--rope-y);
  }

  /* The middle column of three sits at the bottom of the sag. */
  .about-rail__list .about-tag:nth-child(3n + 2) { --rope-y: var(--rope-h); }

  /* Unequal threads, as on the gallery line — six tags hanging at the same
     depth read as a table with a rule over it. */
  .about-rail__list .about-tag:nth-child(1) { --hang-k: 1; }
  .about-rail__list .about-tag:nth-child(2) { --hang-k: 1.45; }
  .about-rail__list .about-tag:nth-child(3) { --hang-k: 1.15; }
  .about-rail__list .about-tag:nth-child(4) { --hang-k: 1.35; }
  .about-rail__list .about-tag:nth-child(5) { --hang-k: 1; }
  .about-rail__list .about-tag:nth-child(6) { --hang-k: 1.5; }

  /* §50.4 hides the strings at this width, from when there was one rope and
     nothing under it to hang from. There is a rope per row now. */
  .about-rail__list .about-tag .about-tag__string {
    display: block;
    top: calc(var(--rope-y) - 1px);
    height: calc(var(--hang) + 1px);
  }

  /* The envelope, at a size six of them can hold on a tablet: a shallower
     flap, and a body just deep enough for its label until it is opened. */
  .about-tag__body {
    min-height: clamp(3.6rem, 9vw, 5rem);
    padding: 1.6rem var(--space-2) var(--space-2);
  }

  .about-tag__body::before { height: 1.5rem; }

  .about-tag__title { font-size: clamp(0.9rem, 1.9vw, 1.05rem); }
  .about-tag p { font-size: 0.85rem; line-height: 1.5; }

  .about-tag:has([aria-expanded='true']) .about-tag__body {
    min-height: clamp(5rem, 13vw, 7rem);
  }

  /* --- the sway comes off the tag ----------------------------------------
     On desktop the rope is its own SVG and only the tags rotate under it.
     Here the rope is drawn by the tag that starts the row, so §39.13's sway
     was swinging the line along with the envelope — the rope rose and fell
     instead of hanging.

     So the tag stops moving and its two children move instead: the string
     about the knot at its own top, the envelope about the same point, which
     is --hang above its top edge. Same rotation, same origin, same result
     on screen — the rope is simply no longer inside the thing that turns.

     --sway-a/--sway-b are custom properties and inherit, so both children
     read the per-tag angles §47.3 already sets. The duration and delay do
     not inherit — they are declarations on .about-tag — so they are mirrored
     into --sway-dur/--sway-lag below, matching §47.3's six pairs. */
  .about-rail__list .about-tag {
    animation: none;
    transform: none;
  }

  .about-rail__list .about-tag__string,
  .about-rail__list .about-tag__body {
    animation: aboutTagSway var(--sway-dur, 9s) var(--ease-even) var(--sway-lag, 0s) infinite;
  }

  .about-rail__list .about-tag__string { transform-origin: 50% 0; }
  .about-rail__list .about-tag__body { transform-origin: 50% calc(var(--hang) * -1); }

  .about-rail__list .about-tag:nth-child(1) { --sway-dur: 6.6s; --sway-lag: -0.7s; }
  .about-rail__list .about-tag:nth-child(2) { --sway-dur: 8.1s; --sway-lag: -2.9s; }
  .about-rail__list .about-tag:nth-child(3) { --sway-dur: 7.2s; --sway-lag: -4.6s; }
  .about-rail__list .about-tag:nth-child(4) { --sway-dur: 8.8s; --sway-lag: -1.9s; }
  .about-rail__list .about-tag:nth-child(5) { --sway-dur: 6.9s; --sway-lag: -5.4s; }
  .about-rail__list .about-tag:nth-child(6) { --sway-dur: 7.7s; --sway-lag: -3.5s; }

  /* §47.3/§49.2 pause the sway on the tag when one is opened or pointed at;
     the same has to be said of the children now that they are what moves. */
  .about-rail__list .about-tag:hover .about-tag__string,
  .about-rail__list .about-tag:hover .about-tag__body,
  .about-rail__list .about-tag:focus-within .about-tag__string,
  .about-rail__list .about-tag:focus-within .about-tag__body,
  .about-rail__list .about-tag:has([aria-expanded='true']) .about-tag__string,
  .about-rail__list .about-tag:has([aria-expanded='true']) .about-tag__body {
    animation-play-state: paused;
  }
}

/* The sitewide blanket (§27) already neutralises these, but the pair is
   named here for the same reason every other moving thing on this page is:
   so a later narrowing of that blanket cannot quietly restart them. */
@media (prefers-reduced-motion: reduce) {
  .about-rail__list .about-tag__string,
  .about-rail__list .about-tag__body { animation: none; transform: none; }
}

/* Two across on a phone. Which tag starts a row changes with the column
   count, so both the rope and the depth it hangs at are restated — 3n was
   correct for three and would draw a rope from the middle of a row here. */
@media (max-width: 767px) {
  .about-rail__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(1.5rem, 6vw, 2.25rem);
  }

  .about-tag:nth-child(3n + 1)::before { display: none; }

  .about-tag:nth-child(odd)::before {
    display: block;
    right: calc(-100% - var(--rail-col-gap));
  }

  /* Two columns are symmetric about the sag, so both meet it at the same
     depth; the unequal threads below are what keeps the row from reading as
     a table. */
  .about-rail__list .about-tag,
  .about-rail__list .about-tag:nth-child(3n + 2) { --rope-y: calc(var(--rope-h) * 0.866); }

  .about-tag__body { padding: 1.45rem 0.7rem var(--space-2); }
  .about-tag__body::before { height: 1.35rem; }
}

/* Two envelopes hold down to roughly a 340px window — under that the longer
   labels break to four lines apiece, so the rope carries one at a time and
   every tag is both the start and the end of its own row. */
@media (max-width: 340px) {
  .about-rail__list {
    grid-template-columns: 1fr;
    row-gap: clamp(1.25rem, 5vw, 1.75rem);
  }

  .about-tag:nth-child(odd)::before,
  .about-tag:nth-child(even)::before { display: block; right: 0; }

  /* One column, so its centre is the bottom of the sag. */
  .about-rail__list .about-tag,
  .about-rail__list .about-tag:nth-child(3n + 2) { --rope-y: var(--rope-h); }

  .about-tag__body { max-width: 22rem; margin-inline: auto; }
}

/* --- 58.4 What guides the work: room outside, less inside ---------------- */

/* The band ran up against its neighbours once the one-screen padding was
   released, while §55.2 was still spending up to 5vw on the space between
   the notes and dropping two of them a further 4svh. Swapped: the air goes
   outside the board, not between five notes that read as one board.

   1024, not 1023 like the rest of this section: the board's own collapse to
   two columns is `@media (max-width: 1024px)` (§39.14), and a landing iPad
   in landscape is exactly 1024. Matching that breakpoint is what stops the
   two-column board from getting the twelve-column spacing at one width. */
@media (max-width: 1024px) {
  .about-values { padding-block: clamp(2.75rem, 7.5vw, 4.5rem); }

  /* Wide enough that the rotations clear each other. Each note is turned
     1-2deg, which throws its corners several pixels past its own box; the
     first pass here tightened the gap to 0.6rem and the corners of a
     stacked pair met. This is the floor that keeps five turned notes
     reading as five separate pieces of paper. */
  .about-board {
    gap: clamp(1.1rem, 2.6vw, 1.75rem);
    margin-top: clamp(var(--space-3), 3.5vw, var(--space-5));
  }

  .about-scrap { padding: clamp(0.9rem, 2.4vw, 1.3rem) clamp(0.9rem, 2.2vw, 1.25rem); }

  /* The vertical stagger is a twelve-column idea. On a two- or one-column
     board it is just a gap that does not match the others. */
  .about-scrap:nth-child(3),
  .about-scrap:nth-child(5) { margin-top: 0; }
}

/* --- 58.5 Stories to open together: copy and audience only --------------- */

/* The letter, the seal and the story cover are dropped at these widths on
   the client's instruction. The whole composition is decorative — the object
   is aria-hidden and carries no copy — so hiding it removes nothing a reader
   or an answer engine can see, and the section becomes the heading, the
   paragraph, the CTA and the four audience stickers.

   display: none on the wrapper, not on .about-openletter: the wrapper is the
   grid item, and leaving an empty one behind would still take a row and the
   grid's gap with it. */
@media (max-width: 1023px) {
  .about-young { padding-block: clamp(2.75rem, 7.5vw, 4.5rem); }

  .about-young__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 4vw, 2.25rem);
    align-items: start;
  }

  .about-young__visual { display: none; }

  /* §48.3 caps the paragraph at 46ch — a measure for a column that had a
     letter beside it. There is no second column here, so the cap only left a
     band of empty ground down the right of the copy. The container's own
     gutter is the measure now. */
  .about-young__copy .about-prose > p { max-width: none; }

  .about-notes {
    order: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.5rem, 2vw, 1.25rem);
    margin-top: clamp(var(--space-3), 3.5vw, var(--space-5));
  }

  .about-notes__item { padding: var(--space-2) var(--space-1); }

  /* The one piece of art the band keeps. Pulled back so it stays a corner
     ornament rather than the thing that replaced the letter. */
  .about-young__bloom { width: clamp(6rem, 18vw, 11rem); right: -8%; }
}

@media (max-width: 560px) {
  .about-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   59. SHOP — TABLET AND PHONE

   Three sections of shop.html: the collection listing, the comparison board,
   and the journey planner. The listing carries a real layout bug at phone
   width; the other two are desktop compositions that needed a phone shape.

   Appended, not edited in place, per this project's rule.
   -------------------------------------------------------------------------- */

/* --- 59.1 Choose your island world: the container could not shrink -------- */

/* §37.1 makes these two sections `display: grid` so their single .container
   can be centred in a one-screen band. That turns .container into a grid
   item, and a grid item's automatic minimum size is its content's min-content
   width — it cannot be narrower than that, whatever the column is.
                                                                              
   Below 641px the listing track becomes a nowrap flex row (§34's carousel
   rules), whose min-content width is the sum of six cards. So at a 390px
   viewport .container was resolving to 753px: the heading, the intro and the
   rail were all laid out at that width and then clipped by the section's own
   `overflow: hidden`. Nothing overflowed the page, which is why it never
   showed up as a scrollbar — the section just rendered with its right half
   cut off.

   min-width: 0 opts the item out of that minimum, which is what lets the
   scroll container inside it do its job. The listing then behaves exactly as
   the homepage's does, since every carousel rule it uses is class-based and
   already applies here. The comparison board needs the same opt-out for the
   same reason once 59.2 turns it into a rail. */
.page-shop .stories > .container,
.page-shop .shop-compare > .container { min-width: 0; }

/* --- 59.2 Compare the worlds: one card at a time ------------------------- */

/* Above 900px the board is a table read across: one column per story, rows
   levelled against each other by initShopCompare's equalise(). Below it the
   levelling is switched off in JS and each column is a card of its own — but
   they were stacked, which put three full-height cards end to end and made
   the section 1830px tall on a phone.

   They become a rail instead, the same gesture the story listing above uses:
   one card held at 78% of the container so a slice of the next is always
   visible, snapping as it scrolls. Same breakpoint as the board's own
   collapse, so there is never a width where the columns are neither levelled
   nor swipeable. */
@media (max-width: 899px) {
  .compare-board {
    display: flex;
    gap: var(--space-3);
    padding-bottom: var(--space-2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .compare-board::-webkit-scrollbar { display: none; }

  /* A slot is the empty state of a column and rides in the rail with them. */
  .compare-col,
  .compare-slot {
    flex: 0 0 78%;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* The board is the only thing on the row now, so it keeps the shadow it
     would otherwise have clipped against the scroller's edge. */
  .compare-board { padding-inline: 2px; margin-inline: -2px; }

}

/* One card and a thumb's worth of the next: at 390px, 78% leaves 76px of the
   following card, which is more than the cue needs and less than the card
   needs. */
@media (max-width: 560px) {
  .compare-col,
  .compare-slot { flex-basis: 86%; }

  /* The head is cover + title + two 44px controls on one line. That is a
     desktop column's measure; at this card width it left the title about
     120px, and the story name broke over four lines with the genre label
     under it over four more. The controls take a row of their own above,
     pushed right, and the cover and the name then have the card's full
     width. Nothing is removed: the grip still reorders by drag and by arrow
     key. Above 560px the card is wide enough to keep all three inline. */
  .compare-col__head { flex-wrap: wrap; }

  .compare-col__controls {
    order: -1;
    flex: 0 0 100%;
    justify-content: flex-end;
    margin: -0.4rem -0.4rem -0.4rem 0;
  }

  /* flex-basis 0, not auto: with the head wrapping, an auto basis is the
     title's max-content width, which is wider than what is left beside the
     cover — so the name wrapped onto a third row and left the cover sitting
     alone on the second. */
  .compare-col__names { flex: 1 1 0; }
}

/* --- 59.3 The complete journey: the planner on a phone ------------------- */

/* Three separate desktop compositions inside one box, each of which needed a
   phone shape rather than a smaller version of itself. */

/* --- the receipt on a tablet ---------------------------------------------
   §35's two-column receipt starts at 900px, not 640 — its comment says
   "phone-width", but the block it sits in is `max-width: 900px`, so an iPad
   got the phone grid inside a 660px band. Two things went wrong with that.

   `flex: none` sized the list to its own max-content and left it huddled in
   the top-left of the dark band with the right half of it empty. And the
   fourth figure spans both columns — correct on a phone, where its hidden
   twin ("Save $19 by prepaying") is wider than half the band — which left
   "Per letter" alone in a half cell with a hole beside it.

   At this width the band is wide enough that the twin fits a half column, so
   the span comes off and the four figures sit as an even 2x2 filling the
   band. The phone block below still takes over at 640. */
@media (min-width: 641px) and (max-width: 900px) {
  .planner__figures {
    flex: 1 1 100%;
    gap: var(--space-3) clamp(var(--space-3), 4vw, var(--space-5));
  }

  .planner__figure--save { grid-column: auto; }
}

@media (max-width: 640px) {

  /* --- the receipt ------------------------------------------------------
     §35's phone block put the four figures in two columns, and the fourth
     one ("Saving", whose hidden twin reads "Save $19 by prepaying") has to
     span both — so the third figure sat alone in a half-width cell with a
     hole beside it. Four rows of label-and-amount instead: it is a receipt,
     and a receipt is a list. */
  /* flex, not just display: §35 left this at `flex: none`, which sized the
     list to its own max-content — 205px inside a 300px band — so the amounts
     stopped short of the band's right padding instead of ruling off against
     it. */
  .planner__figures {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: stretch;
  }

  .planner__figure {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: var(--space-2);
    justify-items: stretch;
    padding-block: 0.55rem;
  }

  .planner__figure + .planner__figure { border-top: 1px solid rgba(247, 242, 232, 0.16); }

  /* The amount sits at the right edge of its row; its hidden twin shares the
     same cell, so the column is still as wide as the longer of the two plans
     and nothing shifts when the plan changes. */
  .planner__figure dd { justify-self: end; }
  .planner__value { justify-items: end; }

  /* The span was the two-column layout's fix and has nothing to span now. */
  .planner__figure--save { grid-column: auto; }

  .planner__summary { text-align: left; }

  /* The seal hangs over the band's top-right corner, which is empty ground
     on the desktop composition and, now that the figures are rows ruled to
     the band's right edge, sits squarely on the first amount. §35 already
     drops it at 560; the receipt needs the same clearance the moment it
     becomes a list. */
  .planner__seal { display: none; }

  /* --- the plan toggle --------------------------------------------------
     Two tabs side by side stop fitting before the receipt does: at 600px
     "Subscription plan" broke over two lines and its flag over two more,
     inside a track the selected tab then overflowed. One tab per row
     instead — full-width targets, title left, flag right, both the same
     height whatever the copy does. §35's own 560px block stacks the title
     over the flag; this supersedes it at matching specificity. */
  .planner__choice {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    border-radius: var(--radius-large);
  }

  .planner-tab {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-2);
    padding: 0.6rem 0.9rem;
    text-align: left;
  }
}

@media (max-width: 560px) {

  /* --- the timeline's three marks --------------------------------------
     Left, centre and right under a twelve-cell strip is a desktop reading:
     at this width each of the three wrapped onto two lines at a different
     height and the row read as six ragged fragments. Stacked, each mark is
     one line — the milestone on the left, when it lands on the right. */
  .timeline__marks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .timeline__mark {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: var(--space-2);
  }

  .timeline__mark,
  .timeline__mark--mid,
  .timeline__mark--end { text-align: left; }

  .timeline__mark em { text-align: right; }
}

/* ==========================================================================
   60. STORY DETAILS — TABLET AND PHONE

   Five sections of shop-details.html. One of them is a cascade bug shared by
   every homepage band this page reuses; the rest are desktop compositions
   that needed a tablet and phone shape.

   Appended, not edited in place, per this project's rule.
   -------------------------------------------------------------------------- */

/* --- 60.1 The reused bands get their vertical rhythm back ---------------- */

/* §38's "Homepage bands keep their own rhythm" block sets

     .page-story-details .gift, ... { padding-top: revert-layer; }

   meaning "give these back whatever they would have had". It does not do
   that. `revert-layer` in an unlayered rule — and this stylesheet declares no
   @layer at all — rolls the declaration back past the entire author origin to
   the user-agent's, which for a section element is 0. So on this page the
   complete journey, the questions, the gift band, the reviews and the final
   CTA all ran with zero block padding and butted straight into each other,
   while the same components on shop.html carry 45-64px.

   The values below are the ones those sections resolve to elsewhere: §66's
   viewport-aware deck rhythm above 640px, and each component's own phone
   padding below it. Scoped to 1100px, which is where §38 already releases
   this page's one-screen deck — above it the desktop rule is deliberate and
   is left alone. */
@media (min-width: 641px) and (max-width: 1100px) {
  .page-story-details .gift,
  .page-story-details .schedule,
  .page-story-details .reviews,
  .page-story-details .faq,
  .page-story-details .final-cta { padding-block: clamp(1.5rem, 5vh, 7rem); }
}

@media (max-width: 640px) {
  .page-story-details .schedule { padding-block: clamp(var(--space-6), 6vw, var(--space-9)); }
  .page-story-details .gift { padding-block: clamp(var(--space-6), 12vw, var(--space-9)); }
  .page-story-details .faq { padding-block: clamp(var(--space-8), 9vw, var(--space-12)); }
  .page-story-details .reviews { padding-block: 1.875rem; }
  .page-story-details .final-cta { padding-block: clamp(var(--space-9), 10vw, var(--space-12)); }
}

/* --- 60.2 The story awaits: the plate on top ----------------------------- */

/* The synopsis is a 40/60 pair with the plate pinned beside the copy. It kept
   both columns all the way down to 390px, where the copy was reading at about
   28 characters a line beside a 130px-wide photograph. Stacked: the plate
   first, at a landscape crop that works as a banner rather than as a column,
   then the copy at the container's full measure. */
@media (max-width: 1023px) {
  .story-synopsis__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 2rem);
    max-width: none;
    align-items: start;
  }

  /* Nothing to pin against in a single column. */
  .synopsis-aside,
  .synopsis-plate { position: static; }

  /* The container's measure, at every width in this range. The 30rem cap this
     started with left a tablet with a 480px plate centred in a 707px column,
     which read as an inset picture rather than as the band's opening image —
     a phone got the full width only because 100% was the smaller term. */
  .synopsis-plate {
    width: 100%;
    margin: 0 auto;
  }

  /* height, not max-height: §38.31 caps the frame with `max-height: 100%
     !important` against a column that no longer exists, and the fixed svh
     heights it carries are a two-column measurement. A ratio and the column's
     width are all it needs here. */
  .synopsis-plate__frame {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* --- 60.3 Is this their story?: the photograph goes --------------------- */

/* Dropped at these widths on the client's instruction. In two columns it took
   a full row to itself and split the six notes three and three; in one column
   it sat in the middle of them. The notes are the section's content and they
   read as a set without it. */
@media (max-width: 1023px) {
  .fit-board__figure { display: none; }

  .fit-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .fit-board { grid-template-columns: minmax(0, 1fr); }
}

/* --- 60.4 Inside the envelopes: the scatter becomes a column ------------- */

/* Five cards scattered around an envelope is a desktop composition — it needs
   room on all four sides of the stage. §34 already replaces it with a column
   under the envelope at 640px; that column is the right answer for a tablet
   too, where the scatter was pushing cards to the band's edges with the
   envelope marooned in the middle.

   The cards then take the full measure rather than the 13rem (§30.4) the
   scattered version needs to keep them off each other. */
@media (max-width: 1023px) {
  .arrives__scene {
    display: block;
    min-height: 0;
  }

  .arrives__envelope {
    width: min(190px, 42vw);
    margin: 0 auto var(--space-4);
  }

  .arrives__cards {
    position: static;
    display: grid;
    gap: 0.7rem;
    width: 100%;
  }

  .arrives-card {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
  }

  /* The deal-in still plays: each card waits just below where it lands and
     rises when the envelope opens. Only the scatter's offsets are dropped. */
  .arrives__scene.is-armed .arrives-card { transform: translateY(16px) scale(0.96); }
  .arrives__scene.is-armed.is-open .arrives-card { transform: none; }
}

/* --- 60.5 The configurator's continue button --------------------------- */

/* "Continue to Recipient Details" is a two-line button on a 390px screen.
   The tail is hidden visually rather than removed, so the button still
   announces where it goes — the accessible name is unchanged. initStoryConfig
   wraps it in this span; see script.js. */
@media (max-width: 640px) {
  .config__cta-tail {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* --- 60.6 The story awaits: the copy takes the column too ---------------- */

/* §38.30 caps the body at a reading measure sized for the 60% column it used
   to sit in. Stacked, that column is the container, and the cap left the
   paragraphs 100px short of the plate above them on a tablet — a phone only
   escaped it because 350px is under the cap to begin with. */
@media (max-width: 1023px) {
  .story-synopsis__body { max-width: none; }
}

/* --- 60.7 Another world may be waiting: the link comes back left --------- */

/* §38.29 pins the comparison link to the split head's right edge — correct
   while the head is two columns with the copy on the left and the link
   opposite it. §38.19 collapses that head to one column at 1100px but the
   pin is declared later in the file and unmediated, so it kept applying: the
   link ended up alone against the right gutter, under copy that starts at the
   left one. There is no second column to sit opposite any more, so it lines
   up with everything above it. */
@media (max-width: 1100px) {
  .stories__head-cta--inline { justify-self: start; }
}

/* ==========================================================================
   61. FAQ / HELP CENTER — TABLET AND PHONE
   -------------------------------------------------------------------------- */

/* --- 61.1 The topic strip could not shrink, so the page scrolled sideways -- */

/* §41.6 turns the index into a horizontal strip below 1000px: the list is a
   nowrap flex row with `overflow-x: auto`, meant to scroll inside the column
   while the page stays put. It never could. .faq-nav is a grid item of
   .faq-library__layout, and a grid item's automatic minimum size is its
   content's min-content width — nine nowrap chips, 2079px of them. So the nav
   resolved to 2140px, the layout's column with it, and the whole document
   scrolled sideways: 2140px of scroll width on a 768px tablet, 2119px on a
   390px phone, with the answers laid out at that width and running off the
   right of the screen.

   min-inline-size: 0 opts the item out of that minimum, which is the whole of
   what the strip needed to work as designed. */
@media (max-width: 999px) {
  .faq-nav { min-inline-size: 0; }
}

/* --- 61.2 The hero: the desk stops taking the screen --------------------- */

/* One column below 1000px, and the drawing was still sized for the two-column
   hero: min(100%, 34rem) came to 544px on a tablet, about 500px tall, under a
   5vw gap and over the band's full padding — 989px for a heading, one line of
   orientation and a decorative desk. It is an illustration, not the content,
   so it is capped and the air around it comes in with it. */
@media (max-width: 999px) {
  .faq-hero { padding-block: var(--space-5) var(--space-6); }

  .faq-hero__inner {
    gap: clamp(var(--space-3), 4vw, var(--space-5));
    margin-block-start: var(--space-3);
  }

  .faq-hero__desk { inline-size: min(100%, 22rem); }
}

/* --- 61.3 The pinned strip, one row shorter ----------------------------- */

/* §41.6 collapses the help block onto one row here, for the right reason: it
   is pinned with the topics, so every row it adds is a row of the screen
   permanently spent. At 390px it still took three — the line wrapped to two
   and the button sat under it — which put the strip at 182px, a fifth of the
   phone. Trimmed to the one row that block was written for. */
@media (max-width: 999px) {
  .faq-nav { padding-block: var(--space-1); }

  .faq-help {
    margin-block-start: var(--space-1);
    padding: var(--space-1) var(--space-2);
  }

  .faq-help__text {
    font-size: var(--font-small);
    line-height: 1.25;
  }

  .faq-help .btn--block {
    min-block-size: 40px;
    padding-inline: var(--space-2);
    font-size: var(--font-small);
  }
}

/* --- 61.4 Anchors clear the strip, not just the header ------------------- */

/* §41.4 gives every category and every answer a scroll-margin of the sticky
   offset — correct while the index is a sidebar and the only thing overhead
   is the site header. As a pinned strip the index is overhead too, so a jump
   to a category put its heading behind the chips. initFaqLibrary measures the
   strip and publishes --faq-nav-h; the fallback is the old value, which is
   what a no-JS reader gets. */
@media (max-width: 999px) {
  .faq-library .faq-cat,
  .faq-library .faq-item {
    scroll-margin-block-start: calc(var(--faq-sticky-offset) + var(--faq-nav-h, 0px) + var(--space-2));
  }
}

/* --- 61.5 The help block, at the foot of the answers --------------------- */

/* initFaqLibrary moves this out of the pinned strip and onto the end of the
   answer column below 1000px — see script.js for why. It stops being a row
   squeezed into overhead chrome and becomes what it reads as there: the last
   thing on the page, for the reader who got to the bottom without finding
   their answer.

   Scoped to the relocated block, not to .faq-help, so the compact row §61.3
   tunes is still correct for a reader with no JavaScript, who keeps it in the
   strip where the markup puts it. */
@media (max-width: 999px) {
  .faq-library__col > .faq-help {
    display: grid;
    /* justify-content as well as justify-items: §41.6 sets space-between for
       the flex row this was, and it survives the switch to grid — with one
       track that resolves to start, so the items centred inside a column
       parked against the left edge. */
    justify-content: center;
    justify-items: center;
    gap: var(--space-3);
    margin-block-start: var(--space-7);
    padding: var(--space-5) var(--space-4);
    text-align: center;
  }

  .faq-library__col > .faq-help .faq-help__text {
    margin: 0;
    font-size: var(--font-body-large);
    line-height: 1.3;
  }

  .faq-library__col > .faq-help .btn--block {
    inline-size: min(20rem, 100%);
    min-block-size: 48px;
    padding-inline: var(--space-4);
    font-size: var(--font-body);
    flex: none;
  }
}

/* A tablet has the width to put the two halves on one line, so the card is a
   line of prose with its answer beside it rather than a stacked pair — half
   the height for the same offer. The question sits against the card's left
   edge and the button against its right, which is the shape the same block
   already has in the desktop sidebar's own row. */
@media (min-width: 641px) and (max-width: 999px) {
  .faq-library__col > .faq-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2) var(--space-4);
    padding: var(--space-4);
    text-align: start;
  }

  /* The base card at this breakpoint centres its contents; both halves are
     restated here rather than relying on the flex line alone, so a wrap at
     the narrow end of the range still reads left-aligned instead of
     re-centring. */
  .faq-library__col > .faq-help .faq-help__text {
    justify-self: start;
    text-align: start;
  }

  .faq-library__col > .faq-help .btn--block {
    inline-size: auto;
    margin-inline-start: auto;
  }
}

/* A phone is paying for this card in a column it has to scroll past, so the
   frame comes in close around the two things inside it. */
@media (max-width: 640px) {
  .faq-library__col > .faq-help {
    gap: var(--space-2);
    margin-block-start: var(--space-6);
    padding: var(--space-3);
  }

  .faq-library__col > .faq-help .faq-help__text { font-size: var(--font-body); }

  .faq-library__col > .faq-help .btn--block { min-block-size: 44px; }
}

/* ==========================================================================
   62. PRIVACY POLICY — TABLET AND PHONE
   -------------------------------------------------------------------------- */

/* --- 62.1 The CPRA table was setting the width of the whole policy -------- */

/* §42.7 puts the table in a `.privacy-table__scroll` with `overflow-x: auto`
   and gives the table itself a 34rem floor below 700px, so it scrolls inside
   its own box instead of squeezing to nothing. It could not. A scroll
   container's min-content width is still its content's, and .privacy-section
   is a grid item of .privacy-sections, whose automatic minimum size is that
   min-content — 546px.

   Grid columns are shared, so that one table set the width of the column
   every one of the fourteen sections sits in: at 390px the whole policy laid
   out at 546px and the page scrolled sideways. Both ends of that are closed
   here — an explicit minmax(0, 1fr) track and min-inline-size: 0 on the item
   — so the table scrolls in its own box, which is what it was built to do. */
.privacy-sections { grid-template-columns: minmax(0, 1fr); }

.privacy-section { min-inline-size: 0; }

/* --- 62.2 The hero: the ledger stops taking the screen ------------------- */

/* One column below 1000px, and the drawing kept the width it has beside the
   copy: min(100%, 34rem) came to 544px on a tablet, which put the band at
   850px for a heading, a date chip and an illustration. §42.9 already caps it
   at 26rem below 700px; this is the tablet half of the same thought, and the
   air between the two halves comes in with it. */
@media (max-width: 999px) {
  .privacy-hero {
    min-height: 0;
    padding-block: clamp(var(--space-3), 2vh, var(--space-4)) clamp(var(--space-5), 4vh, var(--space-7));
  }

  .privacy-hero__inner {
    gap: clamp(var(--space-3), 3vw, var(--space-5));
    margin-top: var(--space-3);
  }

  .privacy-hero__ledger { width: min(100%, 22rem); }
}

/* --- 62.3 The CPRA table, at a width its rows can live in ---------------- */

/* Four columns in 34rem is 544px for Category / Collected / Why / Disclosed
   to. Every cell broke to five or six lines and the scroll box came to
   1824px on a phone — taller than two screens, for sixteen rows.

   46rem is the point past which widening stops buying much: it takes the box
   to 1175px, a third of the height, for about a screen and a half of
   horizontal scroll in a region that is already labelled, focusable and
   scrollable by keyboard. Above 700px the table still fits its column with no
   scroll at all, so this is scoped to where it does not. */
@media (max-width: 700px) {
  .privacy-table { min-width: 46rem; }
}

/* --- 62.4 The contents stay reachable ------------------------------------ */

/* §42.9 takes the rail off `position: sticky` below 900px and drops it above
   the prose as a closed disclosure. That is the right shape — a 14-item index
   has no business pinned open on a phone — but static means the only way back
   to it from section 12 is to scroll 19,000px. Closed, it is one 55px bar, so
   it pins as that: the route to every section, from anywhere in the policy.

   initPrivacyToc already closes the list when a link is chosen, so it is
   never a menu left hanging over the section it just sent you to. */
@media (max-width: 900px) {
  /* Inside the container, keeping §42.5's card — the pinned bar is the same
     object the desktop rail is, not a band of chrome across the screen. It
     stays opaque rather than frosted for that reason: prose passes down both
     sides of an inset card, so anything showing through it as well would read
     as a mistake rather than as a layer. */
  .privacy-toc {
    position: sticky;
    top: calc(var(--header-height) + var(--space-2));
    z-index: 3;
    background: var(--privacy-paper);
  }

  /* The open list scrolls inside the pinned bar rather than growing past the
     bottom of the screen — fourteen items in two columns is taller than the
     room under a header on a short phone. */
  .privacy-toc__disclosure[open] .privacy-toc__list {
    max-height: calc(100svh - var(--header-height) - 8rem);
    overflow-y: auto;
  }

  /* Every anchor on the page has to clear the bar as well as the header.
     --privacy-toc-h is measured by initPrivacyToc; without it the fallback is
     §42's original value, which is what a no-JS reader gets — and a no-JS
     reader has an open, static list, so it is the correct value for them. */
  .page-privacy [id] {
    scroll-margin-top: calc(var(--header-height) + var(--privacy-toc-h, 0px) + var(--space-3));
  }
}

/* ==========================================================================
   63. TERMS & CONDITIONS — TABLET AND PHONE

   The same page architecture as the privacy policy, so the same two things
   were wrong with it. §62's comments carry the reasoning; only the numbers
   differ, and they differ because this page has nineteen clauses rather than
   fourteen sections. There is no CPRA table here, so §62.1 and §62.3 have no
   counterpart.
   -------------------------------------------------------------------------- */

/* --- 63.1 The hero: the agreement stops taking the screen ---------------- */

/* One column below 1000px, with the drawing still at the width it has beside
   the copy — min(100%, 34rem), 544px on a tablet — which put the band at
   896px for a heading, a date chip and an illustration. §43 caps it at 26rem
   below 700; this is the tablet half of the same thought. */
@media (max-width: 999px) {
  .terms-hero {
    min-height: 0;
    padding-block: clamp(var(--space-3), 2vh, var(--space-4)) clamp(var(--space-5), 4vh, var(--space-7));
  }

  .terms-hero__inner {
    gap: clamp(var(--space-3), 3vw, var(--space-5));
    margin-top: var(--space-3);
  }

  .terms-hero__agreement { width: min(100%, 22rem); }
}

/* --- 63.2 The contents stay reachable ----------------------------------- */

/* §43 takes the rail off `position: sticky` below 900px and drops it above
   the clauses as a closed disclosure. Static means the only way back to it
   from clause 16 is to scroll 16,000px. Closed it is one 55px bar, so it pins
   as that — inside the container, keeping §43's card, opaque rather than
   frosted for the reason §62.4 gives.

   initTermsToc already closes the list when a clause is chosen, so it is
   never a menu left hanging over the clause it just sent you to. */
@media (max-width: 900px) {
  .terms-toc {
    position: sticky;
    top: calc(var(--header-height) + var(--space-2));
    z-index: 3;
    background: var(--terms-paper);
  }

  /* Nineteen clauses in two columns is taller than the room under a header on
     a short phone, so the open list scrolls inside the pinned bar rather than
     growing past the bottom of the screen. */
  .terms-toc__disclosure[open] .terms-toc__list {
    max-height: calc(100svh - var(--header-height) - 8rem);
    overflow-y: auto;
  }

  .page-terms [id] {
    scroll-margin-top: calc(var(--header-height) + var(--terms-toc-h, 0px) + var(--space-3));
  }
}

/* ==========================================================================
   64. CONTACT / READER CARE — TABLET AND PHONE

   Section 40 designed the page against two screens: a phone at 390px and a
   laptop. Everything between them was left to the twelve-column grid and to
   one `min-width: 900px` block, and both of those turn out to be wrong on a
   tablet. Nothing above this banner is edited; every rule here is scoped to
   .page-contact or to a care- or contact- class.
   -------------------------------------------------------------------------- */

/* --- 64.1 Grid items that would not shrink ---------------------------------

   .care-grid and .contact-branch are twelve-column grids of minmax(0, 1fr),
   so the *tracks* can shrink to nothing. The *items* could not: a grid item's
   automatic minimum size is its min-content width, and a text input's
   min-content width is its default `size` — around 175px. A care-span-2 track
   is 137px at 1024px and 100px at 768px, so the Country field simply refused
   to fit its track and overflowed to the right, sliding under State and ZIP
   and then off the page, where .contact-band's `overflow: clip` swallowed it.
   Measured: at 1024x1366 the Country input's right edge sat at 1044px against
   a form ending at 983px, so the control was both unreadable and untappable.

   min-inline-size: 0 opts the items out of that minimum. It is applied at
   every width, not just on tablets — the same overflow was measurable at
   1180px landscape, 37px past the form's right edge. */
.page-contact .care-grid > *,
.page-contact .contact-branch > * {
  min-inline-size: 0;
}

/* The same minimum applies one level down. .field is itself a grid, so its
   control is a grid item too and refuses to shrink below the input's default
   `size` for exactly the same reason — freeing the .field only moved the
   overflow from the field to the input inside it. The explicit width is what
   makes the control track its column rather than its size attribute; it was
   never stated because until now every column was wider than 175px. */
.page-contact .care-grid .field > *,
.page-contact .contact-branch .field > * {
  min-inline-size: 0;
}

.page-contact .care-grid .field__input,
.page-contact .contact-branch .field__input {
  inline-size: 100%;
  min-inline-size: 0;
}

/* --- 64.2 Two fields to a row on a tablet ----------------------------------

   With 64.1 in place nothing overflows, but a three-column row at 768px gives
   each field about 220px and a care-span-2 about 100px — legal and unusable.
   Between the phone's single column and the laptop's twelve, a tablet gets
   two: every span narrower than half becomes half, and the eight-column spans
   go full width. The address branch reflows from four cramped rows to five
   comfortable ones, still half the phone's ten.

   The second query carries the same budget up to 1200px while the viewport is
   portrait, because a 12.9-inch iPad held upright is 1024px wide and would
   otherwise take the desktop grid: legal after 64.1, but with Country at
   137px beside three fields three times its width. A tablet is a tablet in
   either orientation; only the room it has changes. */
@media (min-width: 701px) and (max-width: 1023px),
       (min-width: 701px) and (max-width: 1199px) and (orientation: portrait) {
  .page-contact .care-span-2,
  .page-contact .care-span-3,
  .page-contact .care-span-4 { grid-column: span 6; }
  .page-contact .care-span-8 { grid-column: span 12; }
}

/* --- 64.3 The one screen the band is allowed to hold -----------------------

   §40.5 gives .care-band a fixed `block-size: var(--screen-fit)` from 900px
   up, so the section is exactly one screen whichever step is showing. The
   band also clips, and .care-shell does not scroll, so the rule is only safe
   while the tallest step is shorter than the screen it is pinned to. On a
   laptop it always is. On a tablet it is not:

     1024 x 768  landscape — 782px of content in a 679px band. The footer's
                             bottom edge fell at 730px, so Back and Continue
                             were clipped away and the form could not be
                             completed at all.
     1180 x 820  landscape — 56px clipped, footer again below the fold.
      912 x 1368 portrait  — the opposite failure: 805px of content centred in
                             a 1279px band, 474px of empty paper.
     1024 x 1366 portrait  — about 500px of empty paper.

   So the rule is re-gated rather than removed. One screen is a landscape idea
   — it needs a viewport wider than it is tall and with enough height that the
   tallest step fits — and 760px is the smallest height the three-step form has
   ever measured under. Everywhere else the band sizes to its contents, which
   is what the phone already did and what a portrait tablet reads as. */
@media (min-width: 900px) {
  .page-contact .care-band {
    display: block;
    block-size: auto;
    padding-block: clamp(var(--space-5), 5vh, var(--space-9));
  }
}

/* min-block-size, not block-size. A definite height is the whole point of the
   rule — the section must not resize as the reader moves between a two-field
   gift question and a ten-field address change — but a definite height with a
   clipping parent and no inner scroll means anything that outgrows it is not
   scrolled to, it is destroyed. The error summary is what outgrows it: at
   1024x768 a failed submit on the address path added 51px and took the Back
   and Continue buttons off the bottom of the band with it. A minimum holds
   every ordinary step to exactly one screen and lets the one case that cannot
   fit push the band open instead of losing its footer. */
@media (min-width: 900px) and (orientation: landscape) and (min-height: 760px) {
  .page-contact .care-band {
    display: grid;
    align-content: center;
    block-size: auto;
    min-block-size: var(--screen-fit);
    padding-block: clamp(var(--space-4), 4vh, var(--space-8));
  }
}

/* --- 64.4 The shell's static floor ----------------------------------------

   .care-shell carries min-height: clamp(19rem, 40svh, 27rem) so the box does
   not collapse before a step has been measured. The wizard pins the real
   min-height to the tallest step it has shown, so once the page is running
   the static floor only ever holds a hole open under a short step — 250px of
   it under the two-field gift question at 768px. The floor is worth keeping
   on a phone, where the no-JS fallback stacks all three steps and the value
   is small anyway; below the desktop layout it goes. */
@media (max-width: 1023px) {
  .page-contact .care-shell { min-height: 0; }
}

/* --- 64.5 The phone's doubled gutter ---------------------------------------

   §40.8 pads .care-form and .contact-branch by var(--space-3) below 700px.
   Neither element draws anything — no background, no border, no shadow — so
   the padding is not a card's inset, and because a branch sits inside the
   form the two nest: 24px four times over, 96px out of a 350px column, and
   the fields rendered 254px wide. The page-gutter already holds the form off
   the screen edge. */
@media (max-width: 700px) {
  .page-contact .care-form,
  .page-contact .contact-branch { padding: 0; }
}

/* --- 64.5b The footer row on a phone ---------------------------------------

   §40.8 makes the footer `flex-wrap: nowrap` below 700px and gives both
   buttons `flex: 1 1 auto`, so Back and the forward action share one row. The
   forward action carries the longest label on the page and it changes with
   the path — "Send to Reader Care", "Ask Reader Care" — so the row runs out
   of width: at 360px the pair reached 6px past the form and at 390px, 13px.
   Letting the buttons shrink instead only moved the failure inside the
   button, where the label was clipped by its own edge.

   The pair stays on one row, so the row is given the width back instead. Back
   holds its natural size and the forward action takes what is left, with its
   side padding cut to the phone's gutter and its label free to wrap. `.btn`
   sets `white-space: nowrap` for the marketing buttons, where a two-line
   label would look like a mistake; here it is the release valve that keeps a
   label from ever being clipped by its own edge, whatever the path names the
   action.

   The row wraps rather than holding `nowrap`, and that is what puts the two
   buttons beside each other. §40.8 gives the status message `flex-basis:
   100%`, and on a `nowrap` row a 100% basis is a third item competing for the
   same line — it squeezed the forward action down to its longest word and
   left it three lines tall. Wrapping sends the status to a line of its own,
   which is where `order: 3` always meant it to go, and leaves the whole row
   to the two buttons. They can only be pushed apart by content wider than
   their own minimums, and at 320px those minimums come to 167px of 280. */
@media (max-width: 700px) {
  .page-contact .care-foot {
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-2);
  }

  .page-contact .care-back {
    flex: 0 0 auto;
    order: 1;
    margin-right: 0;
    padding-inline: var(--space-2);
  }

  /* flex-basis 0, not auto. A flex line breaks on the item's hypothetical
     size, and with `auto` that is the label's max-content width — 235px for
     "Send Business Inquiry" against the 200px left beside Back at 320px, so
     three of the seven paths pushed the button onto a row of its own. From a
     basis of 0 the button always joins the line and then grows into whatever
     Back left behind, and the min-content floor is what stops it being given
     less room than its longest word. */
  .page-contact .care-foot__go {
    flex: 1 1 0;
    order: 2;
    margin-left: 0;
    min-inline-size: min-content;
    padding-inline: var(--space-2);
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  /* The status holds a line open whether or not it is saying anything, and on
     its own line that is a visible gap under the buttons. Collapsing it while
     empty keeps the element — and so the live region — in place. */
  .page-contact .care-form__status:empty { min-height: 0; }
}

/* --- 64.6 The sorting rack at 390px ----------------------------------------

   The slot reserves var(--space-3) + 30px on its right for the wax seal that
   drops on it when chosen. At 302px of card that left 224px for the title and
   the keyword line, and five of the six slots wrapped to three lines. The
   seal is decoration, not content, so on a phone it shrinks and moves in, and
   the reserved strip shrinks with it. */
@media (max-width: 700px) {
  .page-contact .care-path__label {
    padding-right: calc(var(--space-2) + 22px);
    padding-left: var(--space-2);
  }

  .page-contact .care-path__tab { left: var(--space-2); }

  .page-contact .care-path__seal {
    right: var(--space-2);
    width: 20px;
    height: 20px;
    margin-top: -10px;
  }

  .page-contact .care-path__label { grid-template-columns: 34px minmax(0, 1fr); }
  .page-contact .care-path__mark { width: 34px; height: 34px; }
  .page-contact .care-path__mark .funky { width: 20px; height: 20px; }
  .page-contact .care-path__title { font-size: 1.1rem; }
}

/* --- 64.7 The hero, stacked ------------------------------------------------

   Below 1024px the copy and the drawing stack. The copy keeps its 38rem cap,
   which at 768px is 608px of an available 707 — a dead strip down the right
   of the band — and the gap between the two halves is measured in vw, which
   on a tablet is generous in the one direction the stacked hero cannot spare.
   Centring the block and measuring the gap against the viewport's height puts
   the drawing back under its own heading. */
@media (min-width: 701px) and (max-width: 1023px) {
  .page-contact .contact-hero__inner {
    gap: clamp(var(--space-3), 2.5vh, var(--space-5));
    justify-items: center;
    text-align: center;
  }

  .page-contact .contact-hero__copy { max-width: 34rem; }
  .page-contact .contact-hero__lede { margin-inline: auto; }
  .page-contact .care-band__head--centred .eyebrow,
  .page-contact .contact-hero__eyebrow { justify-content: center; }

  .page-contact .contact-hero__stage {
    margin-top: var(--space-2);
    width: min(100%, calc(min(42svh, 24rem) * 520 / 460));
  }
}

/* --- 64.8 The closing band, stacked ----------------------------------------

   .final-cta__envelope is capped and centred with margin-inline: auto, but
   when the closing band stacks the art lands against the left of its column
   rather than the middle of the band — the cap applies to the <figure> while
   the drawing inside it is laid out from the column's start. Scoped to this
   page: the same band appears on five others that have not been measured at
   these widths. */
@media (max-width: 1100px) {
  .page-contact .final-cta__envelope {
    margin-inline: auto;
    display: block;
  }

  .page-contact .final-cta__envelope svg { margin-inline: auto; }
}

/* --- 64.9 The narrowest phone ---------------------------------------------

   At 360px the three progress labels — TOPIC, DETAILS, YOU — are already at
   0.6875rem with the letter-spacing wound back, and the middle one is the
   only one at risk. The stamp loses a couple of pixels so it cannot ride over
   the DETAILS dot on the way past. */
@media (max-width: 380px) {
  .page-contact .care-progress__stop { font-size: 0.625rem; letter-spacing: 0.04em; }
  .page-contact .care-progress__stamp { width: 22px; height: 22px; }
  .page-contact .care-slot__none { padding: var(--space-3); gap: var(--space-2); }
}

/* ==========================================================================
   64. HEADER — THE MARK, AND THE DRAWER UNDER IT

   Two global corrections at tablet and phone widths.
   -------------------------------------------------------------------------- */

/* --- 64.1 A larger mark ------------------------------------------------- */

/* §5's clamp(56px, 5vw, 74px) only ever resolves to its own floor below a
   1480px screen — 5vw is 38px on a tablet — so every width from 640 to 1479
   shows the same 56px mark, and §34 takes it to 46px on a phone. Both are a
   step smaller than the header around them can carry.

   Bounded at 1080px, which is where §34 collapses the nav to the menu button:
   the range this covers is exactly the range that shows the drawer, so the
   mark is the same size whether the menu is shut or open. Above it the
   desktop header and its clamp are untouched.

   initHeader publishes the header's measured height as --header-height, so
   every sticky offset and scroll-margin derived from it follows the taller
   mark without a second set of numbers. */
@media (min-width: 641px) and (max-width: 1080px) {
  .brand__logo { height: 68px; }
}

@media (max-width: 640px) {
  .brand__logo { height: 56px; }
}

/* --- 64.2 The drawer clears the header it opens under ------------------- */

/* The drawer's top padding was calc(--header-height + space), which assumes
   the header starts at the top of the viewport. It does not: the announcement
   bar above it is in flow, so at the top of a page the header sits 65-82px
   down, and the first menu item was 33px behind it on a tablet and 66px on a
   phone. The larger mark above would have added to that.

   initMobileNavigation measures the header's real bottom edge at open and
   publishes it as --header-offset. The fallback is the old constant, which is
   what a no-JS reader gets — and with no JS the drawer never opens, so it is
   only ever a starting value. */
.mobile-menu__inner {
  padding-top: calc(var(--header-offset, var(--header-height)) + var(--space-4));
}

@media (max-width: 640px) {
  .mobile-menu__inner {
    padding-top: calc(var(--header-offset, var(--header-height)) + var(--space-3));
  }
}

/* --- 64.3 The announcement bar on a phone -------------------------------- */

/* Two lines of uppercase label wrapped to four on a 390px screen and took
   82px off the top of every page before the header even started. Each page
   leads with the promise that matters to it, so the first line stays and the
   second goes, with the dot that separated the pair — a separator with one
   thing left to separate.

   By position, not by modifier. The first pass here hid .announcement__item
   --wide, on the assumption it always marks the second, restating line. It
   does on the four story pages; on faqs, contact, privacy and terms BOTH
   items carry it, so that rule emptied the bar completely and left 42px of
   ink with nothing in it. `~` takes whatever follows the first item, however
   either one is classed. */
@media (max-width: 640px) {
  .announcement__item ~ .announcement__item,
  .announcement__sep { display: none; }
}

/* --- 64.4 The bar stays visible behind the open menu --------------------- */

/* The drawer is fixed at z-index 70 and the header sits above it at 90, so
   the menu opens under a header that stays put. The announcement bar was at
   60, which put it under the drawer instead — at the top of a page the bar
   was on screen, the header was drawn over the drawer directly beneath it,
   and the strip the header was sitting on vanished.

   It joins the header's layer. Nothing else changes: the bar is in flow, so
   once the reader has scrolled past it there is nothing on screen to paint,
   and the drawer opens under the header exactly as it does now.
   initMobileNavigation measures the header's real bottom edge either way, so
   the menu items clear whichever of the two is the lowest thing on screen. */
.announcement { z-index: 90; }
