/* =========================================================
   Lepopotani — brand tokens
   ========================================================= */
:root {
  --ink: #121417;
  --ink-2: #1b1e23;
  --ink-3: #262a31;
  --cream: #f5efe4;
  --paper: #fbf8f2;
  --ochre: #e8a33d;
  --ochre-2: #f3c06e;
  --rust: #c8552f;
  --indigo: #263a6e;
  --teal: #2f7d74;
  --text: #1d1f22;
  --muted: #6c6860;
  --line: #e3dccf;

  /* hero scene */
  --far: #6b4c6e;
  --far-2: #573f5f;
  --mid-pole: #1d1a24;
  --near: #23252b;
  --near-roof: #17181c;
  --near-line: #2e3138;
  --near-door: #2b2e35;
  --road: #17181b;

  --radius: 18px;
  --wrap: 1180px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --sign: "Bungee", "Bricolage Grotesque", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { --wrap: 780px; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head p:last-child { color: var(--muted); }
.lead { font-size: 1.2rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.eyebrow {
  font-family: var(--sign);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 6px; background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 9px); }
.eyebrow--light { color: var(--ochre); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--ochre-2); outline-offset: 3px; }
.btn--ochre { background: var(--ochre); color: var(--ink); box-shadow: 0 6px 0 -1px #a96f1b; }
.btn--ochre:hover { box-shadow: 0 8px 0 -1px #a96f1b; }
.btn--ghost { border-color: rgba(245,239,228,.5); color: var(--cream); }
.btn--ghost:hover { background: rgba(245,239,228,.1); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px max(16px, calc((100% - var(--wrap)) / 2));
  color: var(--cream);
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { background: rgba(18,20,23,.92); backdrop-filter: blur(10px); padding-block: 12px; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark svg { width: 34px; height: 34px; }
.brand__word { font-family: var(--sign); font-size: 1.15rem; letter-spacing: .02em; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-weight: 500; opacity: .85; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--ochre); transition: right .25s ease; }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { right: 0; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--cream); margin: 6px 0; transition: transform .25s; }

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 64px 12px auto 12px; flex-direction: column; gap: 0;
    background: var(--ink-2); border-radius: var(--radius); padding: 8px;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s ease;
  }
  .nav__links a { padding: 14px 16px; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.is-open { background: var(--ink); }
  .nav__toggle { display: block; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav > .btn { display: none; }
}

/* =========================================================
   Hero — parallax township at dusk
   ========================================================= */
.hero {
  position: relative; height: 100svh; min-height: 680px; max-height: 1000px;
  overflow: hidden; background: var(--ink); color: var(--cream); isolation: isolate;
}
.hero__sky {
  position: absolute; inset: -10% 0 0 0; z-index: -5;
  background: linear-gradient(180deg, #1c2448 0%, #3d3566 30%, #8a4f6a 52%, #d9774a 70%, #f2b25a 84%, #f7d79a 100%);
}
.sun {
  position: absolute; left: 62%; top: 52%; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, #ffe7b0 0%, #ffc56a 45%, rgba(255,197,106,0) 70%);
  filter: blur(1px);
}
.layer { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; will-change: transform; }
.layer--far { height: 62%; z-index: -4; }
.layer--mid { height: 52%; z-index: -3; }
.layer--near { height: 58%; z-index: -2; bottom: -2px; }
.hero::after { /* soft dusk vignette for text legibility */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,20,23,.55) 0%, rgba(18,20,23,0) 55%), linear-gradient(180deg, rgba(18,20,23,.35), rgba(18,20,23,0) 30%);
}
.svg-sign { font-family: var(--sign); font-size: 34px; fill: var(--ochre); letter-spacing: 3px; }
.hero__content {
  position: relative; width: min(var(--wrap), 100% - 32px); margin-inline: auto;
  padding-top: clamp(120px, 18vh, 190px);
}
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); font-weight: 800; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; color: var(--ochre-2); }
.hero__lede { max-width: 520px; font-size: 1.12rem; opacity: .92; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* small living details */
.apollo__lamps rect { animation: flicker 6s infinite; }
.apollo__lamps rect:nth-child(3) { animation-delay: 2.3s; }
.bulbs circle { animation: twinkle 3s ease-in-out infinite; }
.bulbs circle:nth-child(2n) { animation-delay: 1.5s; }
.win--lit { animation: twinkle 9s ease-in-out infinite; }
.win--lit:nth-of-type(3n) { animation-delay: 4s; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 94% { opacity: .4; } 96% { opacity: .9; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

@media (max-width: 700px) {
  .hero { min-height: 640px; }
  .layer--near { height: 36%; }
  .layer--mid { height: 40%; }
  .layer--far { height: 50%; }
  .sun { left: 58%; top: 62%; width: 110px; height: 110px; }
  .hero__content { padding-top: 110px; }
}

/* =========================================================
   Ticker — multilingual greetings
   ========================================================= */
.ticker { background: var(--ochre); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); }
.ticker__track { display: flex; width: max-content; gap: 28px; padding: 14px 0; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--sign); font-size: 1.05rem; white-space: nowrap; }
.ticker i { font-style: normal; color: var(--rust); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   Intro
   ========================================================= */
.intro__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.stats { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats li { border-top: 3px solid var(--ink); padding-top: 12px; }
.stats strong { display: block; font-family: var(--display); font-size: 1.12rem; }
.stats span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) {
  .intro__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* =========================================================
   Facility — dark section with shweshwe pattern
   ========================================================= */
.facility { background: var(--ink); color: var(--cream); overflow: hidden; }
.facility .section__head p:last-child { color: rgba(245,239,228,.65); }
.pattern-bg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--indigo); opacity: .55; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 85% 0%, #000 0%, transparent 60%); mask-image: radial-gradient(ellipse at 85% 0%, #000 0%, transparent 60%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.card {
  background: var(--ink-2); border: 1px solid #2a2e35; border-radius: var(--radius); padding: 28px;
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--ochre); }
.card__icon { width: 52px; height: 52px; color: var(--ochre); margin-bottom: 18px; }
.card p { color: rgba(245,239,228,.72); margin: 0; }
.card--quiet { background: transparent; border-style: dashed; display: flex; align-items: center; }
.card__quote { font-family: var(--display); font-size: 1.15rem; color: var(--cream) !important; line-height: 1.4; }
.steam path, .steam { animation: steam 3s ease-in-out infinite; }
@keyframes steam { 0%, 100% { opacity: .3; transform: translateY(1px); } 50% { opacity: 1; transform: translateY(-2px); } }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* =========================================================
   Your day — timeline + scroll-driven road
   ========================================================= */
.day { background: var(--cream); padding-bottom: 0; overflow: hidden; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; top: 8px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ochre); border: 3px solid var(--ink); }
.timeline li::after { content: ""; position: absolute; top: 15px; left: 22px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); }
.timeline li:last-child::after { display: none; }
.timeline time { font-family: var(--sign); font-size: .9rem; color: var(--rust); }
.timeline h3 { margin: 6px 0 8px; }
.timeline p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 6px; }
  .timeline li { padding: 0 0 18px 36px; }
  .timeline li::before { top: 4px; }
  .timeline li::after { top: 26px; left: 7px; right: auto; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
}
.road { position: relative; margin-top: clamp(40px, 6vw, 80px); height: 230px; }
.road__township { position: absolute; left: -40px; right: -40px; bottom: 70px; width: calc(100% + 80px); height: 160px; will-change: transform; }
.road__surface {
  position: absolute; inset: auto 0 0 0; height: 74px; background: var(--road);
  border-top: 10px solid transparent;
  border-image: repeating-linear-gradient(90deg, #f2ede4 0 30px, #1b1d20 30px 60px) 10;
}
.road__surface::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 4px; background: repeating-linear-gradient(90deg, var(--ochre) 0 40px, transparent 40px 70px); opacity: .7; }
.road__car { position: absolute; bottom: 28px; left: 0; width: 210px; color: var(--rust); --glass: #2b3a54; will-change: transform; transform: translateX(-210px); }
.road__car svg { width: 100%; height: auto; overflow: visible; }
.road__shine { position: absolute; inset: 10% 10% 30% 10%; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%); mix-blend-mode: soft-light; animation: shine 3.2s ease-in-out infinite; -webkit-mask: linear-gradient(#000, #000); }
@keyframes shine { 0% { transform: translateX(-60%); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateX(60%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .road__car { transform: translateX(40vw); } }

/* =========================================================
   Pricing — hand-painted signboard
   ========================================================= */
.pricing { background: var(--paper); }
.board {
  background: var(--ink); color: var(--cream); border-radius: 22px; padding: clamp(20px, 4vw, 44px);
  border: 6px solid var(--ink); box-shadow: 0 0 0 4px var(--ochre), 0 30px 60px -30px rgba(0,0,0,.5);
  position: relative;
}
.board::before, .board::after { /* bolts */
  content: ""; position: absolute; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: #3a3e45; box-shadow: inset 0 0 0 2px #24272c;
}
.board::before { left: 14px; } .board::after { right: 14px; }
.board__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.board__title { font-family: var(--sign); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ochre); }
.board__title span { color: var(--cream); font-family: var(--display); font-weight: 400; font-style: italic; margin-left: 6px; }
.size-toggle { display: inline-flex; background: var(--ink-3); border-radius: 999px; padding: 4px; }
.size-toggle button { border: 0; background: transparent; color: var(--cream); padding: 9px 16px; border-radius: 999px; font: 600 .92rem var(--body); cursor: pointer; }
.size-toggle button[aria-checked="true"] { background: var(--cream); color: var(--ink); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; border-bottom: 2px dashed #3a3e45; margin-bottom: 26px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 2px solid #3a3e45; background: transparent; color: var(--cream); padding: 9px 16px; border-radius: 10px; font: 600 .92rem var(--body); cursor: pointer; margin-bottom: 10px; }
.tabs button:hover { border-color: var(--ochre); }
.tabs button[aria-selected="true"] { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.board__intro { color: rgba(245,239,228,.7); font-style: italic; }
.board__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); column-gap: 48px; }
.board__body .board__intro { grid-column: 1 / -1; }
.board__body.flip { animation: flip .45s ease; }
@keyframes flip { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.board__group { margin-bottom: 18px; }
.board__group h4 { font-family: var(--sign); font-weight: 400; color: var(--ochre-2); font-size: .95rem; letter-spacing: .04em; margin: 8px 0 10px; }
.board__group ul { list-style: none; margin: 0; padding: 0; }
.board__group li { padding: 10px 0; border-bottom: 1px solid #2a2e35; }
.row { display: flex; align-items: baseline; gap: 10px; }
.row__name { font-weight: 700; }
.row__dots { flex: 1; border-bottom: 2px dotted #4a4f57; transform: translateY(-4px); min-width: 20px; }
.row__price { font-family: var(--sign); color: var(--ochre); white-space: nowrap; }
.row__price small, .pkg__price small { font-family: var(--body); font-size: .75rem; color: rgba(245,239,228,.6); }
.row__desc { margin: 2px 0 0; font-size: .88rem; color: rgba(245,239,228,.6); }
.board__note { margin: 18px 0 0; font-size: .82rem; color: rgba(245,239,228,.55); }
@media (max-width: 520px) { .board__body { grid-template-columns: 1fr; } .row { flex-wrap: wrap; } .row__dots { display: none; } .row__price { margin-left: auto; } }

.packages__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 70px 0 22px; font-weight: 800; }
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pkg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; }
.pkg h4 { font-size: 1.4rem; margin-bottom: 4px; }
.pkg__blurb { color: var(--muted); font-size: .94rem; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.pkg li { padding: 6px 0 6px 24px; position: relative; font-size: .95rem; }
.pkg li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 6px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.pkg__price { font-family: var(--sign); font-size: 1.7rem; }
.pkg__price small { color: var(--muted); }
.pkg__save { color: var(--teal); font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.pkg .btn { margin-top: 12px; align-self: flex-start; }
.pkg--feature { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pkg--feature .pkg__blurb { color: rgba(245,239,228,.7); }
.pkg--feature li::before { border-color: var(--ochre); }
.pkg--feature .pkg__price { color: var(--ochre); }
.pkg__tag { position: absolute; top: -12px; right: 18px; background: var(--rust); color: #fff; font: 700 .74rem var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 6px; transform: rotate(2deg); }
@media (max-width: 1060px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .packages { grid-template-columns: 1fr; } }

/* =========================================================
   Café
   ========================================================= */
.cafe { background: var(--cream); }
.cafe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.cafe__art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); transform: rotate(-2deg); }
.svg-chalk { font-family: var(--sign); font-size: 22px; fill: var(--ochre); }
.svg-chalk--sm { font-family: var(--body); font-size: 15px; fill: #cfc7b8; }
.menu { list-style: none; padding: 0; margin: 24px 0; }
.menu li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px dashed #cbbfa9; }
.menu span { font-weight: 700; font-family: var(--display); font-size: 1.1rem; }
.menu small { color: var(--muted); }
@media (max-width: 820px) { .cafe__grid { grid-template-columns: 1fr; } .cafe__art { max-width: 440px; } }

/* =========================================================
   How / rollout
   ========================================================= */
.how { background: var(--indigo); color: var(--cream); }
.how .section__head p:last-child { color: rgba(245,239,228,.75); }
.kerb-strip { position: absolute; top: 0; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, #f2ede4 0 40px, var(--ink) 40px 80px); }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.phase { border: 2px solid rgba(245,239,228,.2); border-radius: var(--radius); padding: 28px; }
.phase__no { font-family: var(--sign); font-size: 2.6rem; color: var(--ochre); display: block; line-height: 1; margin-bottom: 14px; }
.phase p { color: rgba(245,239,228,.75); }
.pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(245,239,228,.4); }
.pill--live { background: var(--ochre); color: var(--ink); border-color: var(--ochre); }
.pill--live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 7px; animation: twinkle 1.6s infinite; }
@media (max-width: 820px) { .phases { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--paper); }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-family: var(--display); font-size: 1.2rem; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--rust); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-right: 40px; }

/* =========================================================
   Book
   ========================================================= */
.book { background: var(--ink); color: var(--cream); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.book p { color: rgba(245,239,228,.75); }
.book__cta { margin: 8px 0 22px; }
.book__alt { font-size: .95rem; }
.book .form .btn--line { color: var(--cream); }
.faq details a { color: var(--rust); font-weight: 600; }
.contact { list-style: none; padding: 0; margin: 28px 0 0; }
.contact li { padding: 12px 0; border-top: 1px solid #2a2e35; display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.contact span { font-family: var(--sign); font-size: .8rem; color: var(--ochre); padding-top: 3px; }
.form { background: var(--ink-2); border: 1px solid #2a2e35; border-radius: 22px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input:not([type="checkbox"]), .form select {
  font: 400 1rem var(--body); color: var(--cream); background: var(--ink); border: 1.5px solid #34383f; border-radius: 12px; padding: 13px 14px; width: 100%;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--ochre); }
.form input::placeholder { color: #6f6b64; }
.form input[type="date"] { color-scheme: dark; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form .check input { width: 20px; height: 20px; accent-color: var(--ochre); }
.form .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 820px) { .book__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Footer — beadwork strip
   ========================================================= */
.footer { background: #0c0d0f; color: var(--cream); padding-bottom: 36px; }
.footer__beads {
  height: 18px; margin-bottom: 44px;
  background:
    linear-gradient(135deg, var(--ochre) 25%, transparent 25%) 0 0 / 36px 18px,
    linear-gradient(225deg, var(--ochre) 25%, transparent 25%) 0 0 / 36px 18px,
    repeating-linear-gradient(90deg, var(--rust) 0 18px, var(--indigo) 18px 36px, var(--teal) 36px 54px, var(--cream) 54px 72px);
}
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: start; }
.brand--footer .brand__word { font-size: 1.6rem; color: var(--ochre); }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer nav a { text-decoration: none; opacity: .8; }
.footer nav a:hover { opacity: 1; color: var(--ochre); }
.footer .muted { color: rgba(245,239,228,.55); }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Reveal + reduced motion
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .timeline .reveal:nth-child(2), .phases .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .timeline .reveal:nth-child(3), .phases .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .timeline .reveal:nth-child(4) { transition-delay: .24s; }
.cards .reveal:nth-child(5), .timeline .reveal:nth-child(5) { transition-delay: .32s; }
.cards .reveal:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
