/* ============================================================
   home.css — index.html
   The frontispiece of the volume.
   ============================================================ */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.2em);
  filter: blur(2px);
  transition:
    opacity 900ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 900ms var(--ease-out) var(--reveal-delay, 0ms),
    filter 900ms var(--ease-out) var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed,
.hero[data-reveal] {  /* hero reveals on its own animation chain below */
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ============================================================
   HERO — the title page
   ============================================================ */

.hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
  min-height: min(86vh, 820px);
  display: flex;
  flex-direction: column;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex: 1;
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
  .hero__copy { order: 2; }
  .hero__cabinet { order: 1; }
}

.hero__copy { position: relative; }

.hero__volume {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--display);
  font-variation-settings: 'opsz' 14, 'wght' 500, 'SOFT' 80;
  font-size: 0.78rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0; animation: ink-rise 900ms var(--ease-out) 100ms forwards;
}
.hero__volume::before,
.hero__volume::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
@media (max-width: 980px) {
  .hero__volume::after { display: none; }
  .hero__volume::before { display: none; }
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  line-height: 0.95;
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 30, 'WONK' 1;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin: 0 0 1.8rem;
  max-width: 14ch;
}
@media (max-width: 980px) { .hero__title { margin-left: auto; margin-right: auto; } }

.hero__title .l1,
.hero__title .l2 {
  display: block;
  opacity: 0;
  animation: ink-rise 1100ms var(--ease-out) forwards;
}
.hero__title .l1 { animation-delay: 250ms; }
.hero__title .l2 {
  animation-delay: 450ms;
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'wght' 350, 'SOFT' 80, 'WONK' 1;
  color: var(--oxblood);
}

.hero__lede {
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 0 2rem;
  opacity: 0; animation: ink-rise 1100ms var(--ease-out) 700ms forwards;
}
@media (max-width: 980px) { .hero__lede { margin-left: auto; margin-right: auto; } }

.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  opacity: 0; animation: ink-rise 1100ms var(--ease-out) 900ms forwards;
}
@media (max-width: 980px) { .hero__cta-wrap { align-items: center; } }

.hero__reassurance {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--display);
  font-variation-settings: 'opsz' 14, 'wght' 440;
  font-size: 0.75rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero__reassurance svg { width: 14px; height: 14px; color: var(--gold); }

.hero__scroll {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-family: var(--display);
  font-variation-settings: 'opsz' 14, 'wght' 440;
  font-size: 0.72rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.32em;
  opacity: 0; animation: ink-rise 1100ms var(--ease-out) 1400ms forwards;
}
.hero__scroll svg { width: 14px; height: 18px; animation: scroll-pulse 2.6s ease-in-out infinite; }
@media (max-width: 980px) { .hero__scroll { display: none; } }

@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ============================================================
   THE CABINET — three rotating exhibition plates
   ============================================================ */

.hero__cabinet {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  padding: 1.5rem 0.5rem 2rem;
  opacity: 0; animation: cabinet-arrive 1400ms var(--ease-out) 350ms forwards;
}
@media (max-width: 980px) { .hero__cabinet { max-width: 460px; margin: 0 auto; gap: 0.9rem; } }
@media (max-width: 520px) {
  .hero__cabinet { grid-template-columns: 1fr 1fr; max-width: 320px; }
  .cabinet__card--3 { display: none; }
}

@keyframes cabinet-arrive {
  from { opacity: 0; transform: translateY(2em); }
  to   { opacity: 1; transform: none; }
}

.cabinet__rail {
  position: absolute;
  left: 1rem; right: 1rem;
  bottom: 0.2rem;
  height: 6px;
  background:
    linear-gradient(to bottom, var(--paper-edge), var(--paper-deep) 50%, var(--paper-deep)),
    linear-gradient(to bottom, transparent, rgba(28,19,11,0.18));
  border-radius: 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -1px 0 rgba(28,19,11,0.18) inset,
    0 4px 10px -4px rgba(28,19,11,0.25);
}

.cabinet__card {
  position: relative;
  transform-origin: bottom center;
}
.cabinet__card--1 { transform: rotate(-2.4deg) translateY(8px); }
.cabinet__card--2 { transform: rotate(0.4deg);   z-index: 2; transform-origin: bottom center; }
.cabinet__card--3 { transform: rotate(2.8deg) translateY(14px); }

.cabinet__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--paper-deep);
  padding: 0.45rem;
  box-shadow:
    inset 0 0 0 1px var(--gold-soft),
    inset 0 0 0 2px var(--paper-deep),
    inset 0 0 0 3px var(--gold-soft),
    0 1px 0 rgba(255,255,255,0.5),
    0 1px 2px rgba(28,19,11,0.06),
    0 14px 28px -16px rgba(28,19,11,0.45),
    0 30px 50px -28px rgba(28,19,11,0.3);
}

.cabinet__plate {
  --p1: #6b4226; --p2: #c8a368; --p3: #1c130b;
  position: relative;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.14), transparent 60%),
    radial-gradient(ellipse at 50% 100%, var(--p3), transparent 65%),
    linear-gradient(180deg, var(--p1) 0%, var(--p2) 100%);
  transition: opacity 360ms var(--ease), background 800ms var(--ease);
}
.cabinet__plate::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(0,0,0,0.18) 80%, rgba(0,0,0,0.32) 100%),
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.10), transparent 40%);
  mix-blend-mode: multiply;
}
.cabinet__plate::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.2px) 0 0 / 3px 3px,
    radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1.2px) 1.5px 1.5px / 5px 5px;
  mix-blend-mode: overlay;
}

.cabinet__card.is-turning .cabinet__plate {
  opacity: 0.55;
  filter: blur(2px);
}

.cabinet__corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.cabinet__corner--tl { top: 0;    left: 0;    border-right: 0; border-bottom: 0; }
.cabinet__corner--tr { top: 0;    right: 0;   border-left: 0;  border-bottom: 0; }
.cabinet__corner--bl { bottom: 0; left: 0;    border-right: 0; border-top: 0; }
.cabinet__corner--br { bottom: 0; right: 0;   border-left: 0;  border-top: 0; }

.cabinet__caption {
  margin-top: 0.7rem;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'opsz' 14, 'wght' 440;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: opacity 360ms var(--ease);
  min-height: 1.5em;
}
.cabinet__card.is-turning .cabinet__caption { opacity: 0; }

.cabinet__stamp {
  position: absolute;
  bottom: -2.4rem; right: 0.5rem;
  width: 60px; height: 60px;
  color: var(--oxblood);
  opacity: 0.55;
  transform: rotate(-12deg);
}
@media (max-width: 520px) { .cabinet__stamp { display: none; } }

/* ============================================================
   HOW IT WORKS — proper 2-column timeline with iconography
   ============================================================ */

.contents {
  max-width: 880px;
  margin: 4rem auto 0;
  padding: 0 var(--gutter);
}

.contents__title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-variation-settings: 'opsz' 100, 'wght' 380, 'SOFT' 50;
  text-align: center;
  margin: 0.4rem 0 0.7rem;
  letter-spacing: -0.01em;
}
.contents__deck {
  text-align: center;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 auto 3rem;
  max-width: 48ch;
}

.steps {
  list-style: none;
  margin: 0; padding: 0;
  position: relative;
}
.steps::before {
  /* vertical spine */
  content: '';
  position: absolute;
  left: 2.6rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--rule), transparent);
}

.steps__item {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 1.4rem 0 1.4rem 0;
  position: relative;
}

.steps__num {
  font-family: var(--display);
  font-variation-settings: 'opsz' 60, 'wght' 400;
  font-size: 1.55rem;
  color: var(--gold);
  text-align: center;
  background: var(--paper);
  padding: 0.5rem 0;
  z-index: 1;
  position: relative;
}
.steps__num::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.4rem;
}

.steps__icon {
  display: none;
}
@media (min-width: 720px) {
  .steps__item { grid-template-columns: 5.2rem 4.2rem 1fr; gap: 1.4rem; }
  .steps__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem; height: 4.2rem;
    color: var(--oxblood);
    background: var(--paper-deep);
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    padding: 0.7rem;
    transition: transform 360ms var(--ease-out), border-color 360ms var(--ease);
  }
  .steps__icon svg { width: 100%; height: 100%; }
  .steps__item:hover .steps__icon { transform: rotate(-6deg) scale(1.05); border-color: var(--gold); }
}

.steps__body { padding-top: 0.4rem; }

.steps__heading {
  font-family: var(--display);
  font-variation-settings: 'opsz' 30, 'wght' 460;
  font-size: 1.18rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
  letter-spacing: -0.005em;
}

.steps__note {
  font-style: italic;
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
  max-width: 50ch;
}

/* ============================================================
   ERAS — the museum gallery
   ============================================================ */

.eras {
  max-width: var(--max);
  margin: 5rem auto 0;
  padding: 0 var(--gutter);
}
.eras__head {
  text-align: center;
  max-width: 50ch;
  margin: 0 auto 3rem;
}
.eras__title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-variation-settings: 'opsz' 100, 'wght' 380, 'SOFT' 50;
  margin: 0.4rem 0 0.7rem;
  letter-spacing: -0.01em;
}
.eras__deck {
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
}

.plates {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.4rem) clamp(1.25rem, 2vw, 2rem);
}
@media (max-width: 1024px) { .plates { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .plates { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.25rem; } }
@media (max-width: 440px)  { .plates { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }

.plate {
  --p1: #6b4226;
  --p2: #c8a368;
  --p3: #1c130b;
  position: relative;
}

.plate__frame {
  aspect-ratio: 3 / 4;
  position: relative;
  background: var(--paper-deep);
  padding: 0.6rem;
  box-shadow:
    inset 0 0 0 1px var(--gold-soft),
    inset 0 0 0 2px var(--paper-deep),
    inset 0 0 0 3px var(--gold-soft),
    0 1px 0 rgba(255,255,255,0.5),
    0 1px 2px rgba(28,19,11,0.06),
    0 8px 20px -12px rgba(28,19,11,0.18);
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease);
  cursor: pointer;
}
.plate__frame:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow:
    inset 0 0 0 1px var(--gold),
    inset 0 0 0 2px var(--paper-deep),
    inset 0 0 0 3px var(--gold),
    0 1px 0 rgba(255,255,255,0.5),
    0 1px 2px rgba(28,19,11,0.06),
    0 26px 40px -16px rgba(28,19,11,0.32),
    0 0 0 6px rgba(168, 122, 58, 0.08);
}

.plate__canvas {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(ellipse at 50% 100%, var(--p3), transparent 65%),
    linear-gradient(180deg, var(--p1) 0%, var(--p2) 100%);
  transition: transform 800ms var(--ease);
}
.plate__frame:hover .plate__canvas { transform: scale(1.04); }

.plate__canvas::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(0,0,0,0.18) 80%, rgba(0,0,0,0.32) 100%),
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.08), transparent 40%);
  mix-blend-mode: multiply;
}
.plate__canvas::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.2px) 0 0 / 3px 3px,
    radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1.2px) 1.5px 1.5px / 5px 5px;
  mix-blend-mode: overlay;
}

.plate__num {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  font-family: var(--display);
  font-variation-settings: 'opsz' 14, 'wght' 500;
  font-size: 0.7rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  background: rgba(28,19,11,0.55);
  padding: 0.18em 0.6em;
  backdrop-filter: blur(2px);
}

.plate__caption {
  margin-top: 0.9rem;
  text-align: center;
  transition: transform 360ms var(--ease-out);
}
.plate__frame:hover + .plate__caption,
.plate:hover .plate__caption { transform: translateY(-2px); }

.plate__era {
  font-family: var(--display);
  font-variation-settings: 'opsz' 30, 'wght' 460;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  display: block;
  letter-spacing: 0.01em;
}
.plate__locale {
  display: block;
  font-size: 0.74rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ============================================================
   SAFETY — three illuminated pillars
   ============================================================ */

.safety {
  max-width: var(--max);
  margin: 5rem auto 0;
  padding: 0 var(--gutter);
}
.safety__head {
  text-align: center;
  max-width: 50ch;
  margin: 0 auto 3rem;
}
.safety__title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-variation-settings: 'opsz' 100, 'wght' 380, 'SOFT' 50;
  margin: 0.4rem 0 0.7rem;
  letter-spacing: -0.01em;
}
.safety__deck {
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.pillar {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--rule-soft);
  position: relative;
  transition: transform 360ms var(--ease-out);
}
.pillar:hover { transform: translateY(-3px); }
.pillar::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.pillar__icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.4rem;
  color: var(--oxblood);
  opacity: 0.85;
  transition: transform 500ms var(--ease-out), opacity 360ms var(--ease);
}
.pillar:hover .pillar__icon { transform: scale(1.08) rotate(-3deg); opacity: 1; }
.pillar__title {
  font-family: var(--display);
  font-variation-settings: 'opsz' 30, 'wght' 480;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 0.7rem;
}
.pillar__body {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   End CTA — envoi
   ============================================================ */

.envoi {
  max-width: 640px;
  margin: 6rem auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}
.envoi__quote {
  font-family: var(--display);
  font-variation-settings: 'opsz' 100, 'wght' 360, 'SOFT' 80;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 2rem;
}
.envoi__quote::before { content: '"'; color: var(--gold); margin-right: 0.05em; }
.envoi__quote::after  { content: '"'; color: var(--gold); margin-left: 0.05em; }
.envoi .cta { margin-top: 0.5rem; }

/* ============================================================
   STORYBOOK OVERLAY — updates layered on top of existing sections
   for the "children's-book gift" tonal shift.
   ============================================================ */

/* ---------- Brand mark in header ---------- */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-mark {
  width: 22px; height: 22px;
  color: var(--terra);
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-header .brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
}
.site-header .brand::before,
.site-header .brand::after { content: none; }  /* remove old dots */

/* ---------- Hero: floating stars + crown ---------- */
.hero { position: relative; overflow: visible; }
.floater {
  position: absolute;
  color: var(--gold);
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}
.floater svg { width: 100%; height: 100%; }

.floater--star-1 {
  top: 12%;
  left: 6%;
  width: 26px;
  color: var(--gold-light);
  animation: bob 5.4s ease-in-out infinite;
}
.floater--star-2 {
  top: 62%;
  right: 7%;
  width: 18px;
  color: var(--berry);
  animation: bob 6.2s ease-in-out infinite -1.5s;
}
.floater--crown {
  bottom: 8%;
  left: 12%;
  width: 42px;
  color: var(--terra);
  opacity: 0.72;
  animation: bob-tilt 7s ease-in-out infinite -2s;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-8px) rotate(6deg); }
}
@keyframes bob-tilt {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-6px) rotate(4deg); }
}
@media (max-width: 980px) {
  .floater--crown { display: none; }
  .floater--star-1 { top: 4%; left: 4%; }
  .floater--star-2 { top: 8%; right: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  .floater { animation: none; }
}

/* ---------- Hero volume line — softer, friendlier ---------- */
.hero__volume {
  color: var(--muted);
  font-style: italic;
  font-variation-settings: 'opsz' 30, 'wght' 440;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  font-variant-caps: normal;
  gap: 0.5rem;
}
.hero__volume::before,
.hero__volume::after { display: none; }
.hero__volume-badge {
  font-family: var(--display);
  font-variation-settings: 'opsz' 14, 'wght' 520, 'SOFT' 100;
  font-size: 0.7rem;
  font-style: normal;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.2em;
  color: var(--terra);
  background: var(--paper-deep);
  padding: 0.28em 0.7em;
  border-radius: 12px;
  border: 1px solid var(--terra);
  border-color: color-mix(in oklab, var(--terra) 50%, transparent);
}

/* ---------- Hero title — soft-caps italic on line 2 ---------- */
.hero__title .l2 {
  color: var(--terra);
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 100, 'WONK' 1;
}

/* ---------- GIFT BANNER (right below hero) ---------- */
.gift-banner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.gift-banner__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--sage-soft) 55%, var(--paper)),
    color-mix(in oklab, var(--gold-soft) 45%, var(--paper)));
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--sage) 25%, transparent);
  box-shadow: 0 8px 24px -14px rgba(74,42,26,0.20);
}
.gift-banner__icon {
  width: 34px; height: 34px;
  color: var(--terra);
  flex-shrink: 0;
}
.gift-banner p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
}
.gift-banner strong {
  color: var(--terra);
  font-weight: 600;
  font-style: normal;
  font-family: var(--display);
  font-variation-settings: 'opsz' 30, 'wght' 520;
}
.gift-banner a {
  color: var(--terra-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-style: normal;
  margin-left: 0.3em;
}
.gift-banner a:hover { color: var(--terra-warm); }
@media (max-width: 640px) {
  .gift-banner__inner { flex-direction: column; text-align: center; padding: 1.2rem; }
}

/* ---------- Contents title — italic accent on "magic" ---------- */
.contents__title em {
  font-style: italic;
  color: var(--terra);
  font-variation-settings: 'opsz' 100, 'wght' 380, 'SOFT' 100, 'WONK' 1;
}

/* ---------- Coloured accent per step ---------- */
.steps__item--accent-terra  .steps__icon { color: var(--terra);  background: color-mix(in oklab, var(--terra) 12%, var(--paper)); border-color: color-mix(in oklab, var(--terra) 32%, transparent); }
.steps__item--accent-sage   .steps__icon { color: var(--sage);   background: color-mix(in oklab, var(--sage)  15%, var(--paper)); border-color: color-mix(in oklab, var(--sage)  32%, transparent); }
.steps__item--accent-azure  .steps__icon { color: var(--azure);  background: color-mix(in oklab, var(--azure) 12%, var(--paper)); border-color: color-mix(in oklab, var(--azure) 32%, transparent); }
.steps__item--accent-berry  .steps__icon { color: var(--berry);  background: color-mix(in oklab, var(--berry) 12%, var(--paper)); border-color: color-mix(in oklab, var(--berry) 32%, transparent); }
.steps__item--accent-gold   .steps__icon { color: var(--gold);   background: color-mix(in oklab, var(--gold)  15%, var(--paper)); border-color: color-mix(in oklab, var(--gold)  40%, transparent); }

.steps__item--accent-terra .steps__num { color: var(--terra); }
.steps__item--accent-sage  .steps__num { color: var(--sage); }
.steps__item--accent-azure .steps__num { color: var(--azure); }
.steps__item--accent-berry .steps__num { color: var(--berry); }
.steps__item--accent-gold  .steps__num { color: var(--gold); }

/* Step numeral — softer, hand-drawn feel with the WONK axis */
.steps__num {
  font-variation-settings: 'opsz' 60, 'wght' 480, 'WONK' 1, 'SOFT' 100;
  font-style: italic;
  font-size: 1.8rem;
}

.steps__item:hover .steps__icon { transform: rotate(-8deg) scale(1.1); }

/* ---------- Eras title — italic on "them" ---------- */
.eras__title em {
  font-style: italic;
  color: var(--terra);
  font-variation-settings: 'opsz' 100, 'wght' 380, 'SOFT' 100, 'WONK' 1;
}

/* ---------- Plate hover: softer wobble ---------- */
.plate__frame:hover {
  animation: gentle-wobble 500ms ease-in-out;
}
@keyframes gentle-wobble {
  0%   { transform: translateY(0) rotate(0); }
  25%  { transform: translateY(-6px) rotate(-1.2deg); }
  75%  { transform: translateY(-6px) rotate(1deg); }
  100% { transform: translateY(-6px) rotate(-0.4deg); }
}

/* ---------- GIFT SECTION (between eras and safety) ---------- */
.gift {
  margin: 6rem auto 0;
  padding: 3rem var(--gutter);
  max-width: 1140px;
}
.gift__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 15% 30%, color-mix(in oklab, var(--sage-soft) 40%, transparent), transparent 55%),
    radial-gradient(circle at 85% 70%, color-mix(in oklab, var(--berry-soft) 30%, transparent), transparent 55%),
    var(--paper-deep);
  border-radius: 24px;
  border: 1px solid color-mix(in oklab, var(--gold) 20%, transparent);
  position: relative;
  overflow: hidden;
}
.gift__grid::before {
  /* stitched-border effect */
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed color-mix(in oklab, var(--gold) 45%, transparent);
  border-radius: 16px;
  pointer-events: none;
}
@media (max-width: 820px) {
  .gift__grid { grid-template-columns: 1fr; text-align: center; }
  .gift__illus { max-width: 220px; margin: 0 auto; }
  .gift__points li { justify-content: center; }
}

.gift__illus {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.gift__illus svg { width: 100%; height: 100%; }

.gift__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-variation-settings: 'opsz' 100, 'wght' 400, 'SOFT' 50;
  line-height: 1.08;
  margin: 0.4rem 0 1rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.gift__title em {
  font-style: italic;
  color: var(--terra);
  font-variation-settings: 'opsz' 100, 'wght' 400, 'SOFT' 100, 'WONK' 1;
}
.gift__deck {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 0 0 1.6rem;
  max-width: 44ch;
}
.gift__points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}
.gift__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.4rem 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}
.gift__points li span {
  color: var(--terra);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* Soft variant of the CTA — for the second-place ask */
.cta--soft {
  --cta-bg: var(--sage);
  --cta-bg-hover: color-mix(in oklab, var(--sage) 82%, black);
}

/* ---------- SAFETY: soften ---------- */
.safety__title { font-variation-settings: 'opsz' 100, 'wght' 400, 'SOFT' 60; }
.pillars .pillar__icon { color: var(--terra); }
.pillars .pillar:nth-child(1) .pillar__icon { color: var(--sage); }
.pillars .pillar:nth-child(2) .pillar__icon { color: var(--azure); }
.pillars .pillar:nth-child(3) .pillar__icon { color: var(--berry); }

