/* Paseo y Pista — landing page (prelaunch preview)
   Palette and type carried over from the v0.3 forest-and-cream booklet. */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --forest: #214D42;
  --forest-deep: #183A31;
  --cream: #FFF8EC;
  --paper: #FFFDF8;
  --terracotta: #B64C35;
  --terracotta-dark: #9A3D29;
  --ochre: #EFC65B;
  --ink: #24352E;
  --ink-soft: #4A5A52;
  --line: #D9CFBD;
  --error: #A3301B;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 14px;
  --section-y: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.08; margin: 0; color: var(--forest); font-variation-settings: "opsz" 72, "SOFT" 30; }
p { margin: 0; }
a { color: var(--forest); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 236, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(33, 77, 66, 0.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 650 1.35rem/1.1 var(--serif); letter-spacing: 0.01em;
  color: var(--forest); text-decoration: none;
}
.brand-mark { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand-lockup { width: 240px; height: auto; flex: none; }
.footer-brand .brand-lockup { width: 270px; background: var(--cream); padding: 14px 18px; border-radius: 8px; }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 0.95rem; color: var(--ink); text-decoration: none; border-radius: 8px;
}
.nav a:hover { color: var(--terracotta); }

@media (max-width: 559px) {
  html { scroll-padding-top: 112px; }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 6px; }
  .header-inner nav { width: 100%; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-lockup { width: 218px; }
  .nav { gap: 14px; }
  .nav a { padding: 0; min-height: 36px; font-size: 0.9rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--cream); }
.btn-block { width: 100%; }

/* ---------- Shared type ---------- */
.eyebrow, .kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px;
}
.kicker-light { color: var(--ochre); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 18ch; }
.section-note { margin-top: 14px; max-width: 52ch; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 var(--section-y); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 4.8vw, 4.2rem); letter-spacing: -0.025em; }
.h1-place { color: var(--terracotta); font-style: italic; font-weight: 600; }
.lede { margin-top: 20px; font-size: 1.15rem; max-width: 36ch; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  font-weight: 700; color: var(--forest);
  background: rgba(239, 198, 91, 0.28); padding: 8px 14px; border-radius: 999px;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); flex: none; }

.hero-scene { margin: 0; justify-self: center; width: 100%; max-width: 620px; }
.hero-scene img { width: 100%; }
.hero-scene figcaption { margin-top: 22px; text-align: center; font: italic 1.25rem/1.4 var(--serif); color: var(--forest); }

@media (max-width: 559px) {
  .cta-row .btn { width: 100%; }
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 40px; }
}

/* ---------- Purpose ---------- */
.places { padding: 0 0 var(--section-y); }
.places-heading { display: grid; gap: 22px; align-items: end; margin-bottom: 28px; }
.places-heading p:not(.kicker) { max-width: 42ch; color: var(--ink-soft); }
.place-photos { display: grid; gap: 24px; }
.place-photos figure { margin: 0; }
.place-photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.place-photos figcaption { padding-top: 12px; font-size: 0.95rem; font-weight: 700; color: var(--forest); }
@media (min-width: 760px) {
  .places-heading { grid-template-columns: 1fr 1fr; gap: 64px; }
  .place-photos { grid-template-columns: 1.2fr 1fr; }
  .place-photos img { height: 310px; }
}

.purpose { padding: 0 0 var(--section-y); }
.purpose-grid { display: grid; gap: 28px; }
.purpose h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.purpose-copy { display: grid; gap: 18px; border-top: 2px solid var(--ochre); padding-top: 22px; }
.purpose-copy p { max-width: 55ch; }
.purpose-note { color: var(--ink-soft); font-size: 0.95rem; }
.moments { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
.moments li { padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--ochre); border-radius: 0 0 14px 14px; }
.moments li:nth-child(2), .moments li:nth-child(3) { border-top-color: var(--terracotta); }
.moment-label { display: block; color: var(--forest); font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; }
.moments h3 { font-size: clamp(1.5rem, 2.3vw, 1.85rem); }
.moments p { margin-top: 14px; max-width: 45ch; }
.moment-example { border-top: 1px solid var(--line); padding-top: 14px; font-size: 0.95rem; color: var(--ink-soft); }
.moment-example strong { color: var(--forest); }
.reading-sources { margin-top: 18px; max-width: 80ch; font-size: 0.9rem; color: var(--ink-soft); }
.reading-sources summary { cursor: pointer; padding-block: 8px; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.reading-sources p { margin-top: 8px; }
.moments-note { margin-top: 22px; color: var(--ink-soft); max-width: 70ch; }
@media (min-width: 760px) { .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 880px) {
  .purpose-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
}

/* ---------- Steps ---------- */
.steps { padding: var(--section-y) 0; background: var(--paper); border-block: 1px solid rgba(33, 77, 66, 0.08); }
.step-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 44px; }
.step { position: relative; }
.step img { width: min(260px, 72%); margin-bottom: 18px; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--forest); color: var(--cream); font: 700 1rem var(--sans); margin-bottom: 12px;
}
.step h3 { font-size: 1.6rem; }
.step p { margin-top: 10px; max-width: 34ch; }
@media (min-width: 760px) {
  .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .step img { width: 100%; max-width: 280px; height: 200px; object-fit: contain; object-position: left bottom; }
}

/* ---------- Adventure ---------- */
.adventure { background: var(--forest); color: var(--cream); padding: var(--section-y) 0; overflow: hidden; }
.adventure-grid { display: grid; gap: 36px; align-items: center; }
.adventure h2 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.subtitle { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ochre); }
.teaser { margin-top: 22px; font-size: 1.2rem; max-width: 34ch; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 248, 236, 0.25); }
.facts li {
  padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(255, 248, 236, 0.25);
  font-weight: 700; font-size: 1rem;
}
.facts strong { font-family: var(--serif); font-size: 1.5rem; color: var(--ochre); margin-right: 4px; font-weight: 650; }
.adventure-art img { width: 100%; max-width: 620px; margin-inline: auto; }
.adventure-art .edition-cover { width: min(76%, 330px); border-radius: 4px 9px 9px 4px; box-shadow: 10px 10px 0 #E9E3D5, 0 20px 40px rgba(0, 0, 0, 0.25); }
.edition-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 18px; color: var(--cream); font-weight: 700; text-underline-offset: 5px; }
.adventure :focus-visible { outline-color: var(--ochre); }
@media (min-width: 880px) {
  .adventure-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
}

/* ---------- Inside the booklet ---------- */
.inside { padding: var(--section-y) 0; }
.gallery {
  list-style: none; margin: 40px calc(var(--gutter) * -1) 0; padding: 8px var(--gutter) 20px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.gallery li { scroll-snap-align: center; }
.page-thumb {
  display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in;
  text-align: left; color: inherit; font: inherit; border-radius: 10px;
}
.page-thumb img {
  border-radius: 6px; background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 12px 28px rgba(24, 58, 49, 0.16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.page-thumb:hover img { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 18px 36px rgba(24, 58, 49, 0.22); }
.thumb-cap { display: block; margin-top: 14px; font-weight: 700; font-size: 0.95rem; color: var(--forest); }
.gallery-hint { font-size: 0.92rem; color: var(--ink-soft); }
@media (min-width: 760px) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 32px; }
  .gallery-hint { display: none; }
}

/* ---------- The wider collection ---------- */
.collection { padding: 0 0 var(--section-y); }
.collection-grid { display: grid; gap: 36px; }
.collection h2 { max-width: 19ch; }
.collection h2 + p { margin-top: 20px; max-width: 48ch; }
.edition-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.edition-list li { display: flex; gap: 20px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.edition-number { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--cream); font: 650 1.35rem var(--serif); }
.edition-number-next { background: transparent; color: var(--forest); border: 1px dashed var(--forest); }
.edition-state { display: block; font-size: 0.8rem; font-weight: 700; color: var(--terracotta); margin-bottom: 8px; }
.edition-list h3 { font-size: 1.45rem; }
.edition-list p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 880px) {
  .collection-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
}

/* ---------- Our family story ---------- */
.story { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.story-grid { display: grid; gap: 28px; }
.story h2 { max-width: 17ch; }
.story-copy { display: grid; gap: 20px; border-left: 3px solid var(--ochre); padding-left: 24px; }
.story-copy p { max-width: 51ch; }
.story-signoff { font: italic 1.4rem/1.4 var(--serif); color: var(--forest); }
@media (min-width: 880px) { .story-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

/* ---------- FAQ ---------- */
.faq { padding: var(--section-y) 0; background: var(--paper); border-top: 1px solid rgba(33, 77, 66, 0.08); }
.faq-grid { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; font-weight: 700; font-size: 1.1rem; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px;
  border-right: 2.5px solid var(--terracotta); border-bottom: 2.5px solid var(--terracotta);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 20px; max-width: 58ch; }
@media (min-width: 880px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
}

/* ---------- Signup ---------- */
.signup { background: var(--forest); color: var(--cream); padding: var(--section-y) 0; }
.signup-grid { display: grid; gap: 36px; align-items: center; }
.signup h2 { color: var(--cream); }
.signup-copy p { margin-top: 16px; font-size: 1.15rem; }
.signup-art { width: min(240px, 60%); margin-bottom: 20px; }
.signup-form {
  background: var(--cream); color: var(--ink); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}
.preview-banner {
  background: #FBEBC0; border: 1px dashed #A27A12; color: #4B3A08;
  padding: 12px 14px; border-radius: 10px; font-size: 0.95rem;
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--forest); }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 10px;
  border: 2px solid #9AA7A0; background: #fff; color: var(--ink); font: 1.05rem var(--sans);
}
.field input:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 1px; border-color: var(--forest); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-weight: 700; font-size: 0.95rem; }
.form-privacy { font-size: 0.9rem; color: var(--ink-soft); }
.form-privacy a { color: var(--forest); }

.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { cursor: progress; opacity: 0.9; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 700; }
.form-status:focus { outline: none; }
.form-status[data-kind="preview"] { background: #FBEBC0; color: #4B3A08; border: 1px dashed #A27A12; font-weight: 400; }
.form-status[data-kind="error"] { background: #F8E1DA; color: var(--error); border: 1px solid #E3B4A7; }
.form-status[data-kind="success"] { background: #DDEBE4; color: var(--forest); border: 1px solid #A9C7B9; }

@media (min-width: 880px) {
  .signup-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--cream); padding: 40px 0 48px; }
.footer-inner { display: grid; gap: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font: 650 1.35rem/1.1 var(--serif); letter-spacing: 0.01em; }
.footer-brand .brand-mark { background: var(--cream); border-radius: 10px; }
.motto { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ochre); }
.footer-links a { color: var(--cream); }
.footer-links:empty { display: none; }
.photo-credits { margin-top: 20px; max-width: 80ch; font-size: 0.85rem; }
.photo-credits summary { cursor: pointer; padding-block: 10px; }
.photo-credits p { padding-top: 8px; }
.photo-credits a { color: var(--cream); text-underline-offset: 3px; }

/* ---------- Page viewer ---------- */
.viewer {
  border: 0; padding: 0; margin: auto; background: transparent;
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
}
.viewer::backdrop { background: rgba(20, 38, 32, 0.95); }
.viewer-inner { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 12px 16px; gap: 12px; }
.viewer-figure { margin: 0; height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 10px; }
.viewer-figure img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.viewer-figure figcaption { color: var(--cream); font-weight: 700; text-align: center; }
.viewer-controls { display: flex; align-items: center; gap: 16px; color: var(--cream); }
.viewer-count { min-width: 3.5em; text-align: center; font-variant-numeric: tabular-nums; }
.icon-btn {
  width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 2px solid rgba(255, 248, 236, 0.5); background: rgba(255, 248, 236, 0.08); color: var(--cream); cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 248, 236, 0.2); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.viewer-close { position: absolute; top: 8px; right: 12px; }
.viewer :focus-visible { outline-color: var(--ochre); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .page-thumb:hover img { transform: none; }
  .spinner { animation: none; border-top-color: rgba(255,255,255,.45); }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Sales mode (off until config.purchase is set) ---------- */
[hidden] { display: none !important; }
.buy-box { margin-top: 28px; display: grid; gap: 10px; justify-items: start; }
.buy-price { font-family: var(--serif); font-size: 2rem; color: var(--ochre); font-weight: 650; }
.buy-unit { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--cream); }
.buy-note { font-size: 0.9rem; color: var(--cream); opacity: 0.85; }

/* Edition launch hero and language navigation */
.hero { padding-top:clamp(34px,5vw,68px); overflow:hidden; }
.hero h1 { font-size:clamp(2.6rem,4.3vw,3.9rem); max-width:13ch; }
.hero .lede { max-width:37ch; font-size:1.1rem; }
.hero-details { display:flex; flex-wrap:wrap; list-style:none; padding:0; gap:8px 18px; margin:22px 0 0; font-size:.9rem; color:var(--forest); }
.hero-details li { border-bottom:2px solid var(--ochre); padding-bottom:4px; }
.hero-product { width:100%; min-height:530px; position:relative; margin:0; padding-bottom:35px; }
.hero-location { position:absolute; top:34px; left:0; width:84%; height:365px; object-fit:cover; border-radius:160px 160px 20px 20px; }
.hero-book { position:absolute; width:75%; max-width:390px; right:-3%; top:35px; }
.hero-book img { width:100%; border-radius:inherit; }
.hero-seal { position:absolute; top:8px; right:0; width:100px; height:100px; border-radius:50%; background:var(--ochre); color:var(--forest); display:flex; align-items:center; justify-content:center; gap:7px; transform:rotate(9deg); box-shadow:0 0 0 6px var(--cream); }
.hero-seal strong { font:650 2.7rem var(--serif); }
.hero-seal span { font-size:.8rem; font-weight:700; line-height:1.2; }
.hero-product figcaption { position:absolute; left:0; bottom:5px; font:italic 1.1rem var(--serif); color:var(--forest); }
.hero-product figcaption span { display:block; font:700 .75rem var(--sans); letter-spacing:.16em; margin-bottom:8px; color:var(--terracotta); }
.render-note { display: block; margin-top: 8px; font: .75rem/1.4 var(--sans); color: var(--ink-soft); }
.language-switch { display:flex; align-items:center; margin-left:12px; gap:2px; }
.language-switch a { padding:0 5px; font-size:.85rem; font-weight:700; }
.language-switch a[aria-current] { text-decoration:underline; text-underline-offset:5px; color:var(--terracotta); }
.included { margin-top:16px; max-width:40ch; font-size:1rem; }
@media(min-width:880px) { .hero-grid { grid-template-columns:1.05fr 1fr; gap:56px; } }
@media(max-width:879px) { .hero-product { max-width:540px; margin:auto; } }
@media(max-width:559px) {
 .nav { gap:12px; flex-wrap:wrap; }
 .nav a { font-size:.82rem; }
 .header-inner { position:relative; }
 .language-switch { position:absolute; right:var(--gutter); top:10px; margin:0; }
 .language-switch a { padding:0 2px; }
 .hero-product { min-height:440px; }
 .hero-location { height:300px; }
 .hero-book { width:77%; top:45px; right:-2%; }
 .hero-seal { width:82px; height:82px; }
 .hero-seal strong { font-size:2.2rem; }
 .hero-seal span { font-size:.7rem; }
}
@media(max-width:360px) { .nav { gap:10px; } .hero-product { min-height:395px; } .hero-location { height:265px; } }

.pack { padding: var(--section-y) 0; background: var(--cream); }
.pack-grid { display: grid; gap: 36px; margin-top: 36px; align-items: center; }
.pack-picture { margin: 0; padding: clamp(12px, 2vw, 28px); background: #F5ECD9; border-radius: 22px; }
.pack-picture img { width: 100%; }
.pack-picture figcaption { max-width: 55ch; margin: 10px auto 0; font-size: .8rem; line-height: 1.45; color: var(--ink-soft); text-align: center; }
.pack-contents { margin: 0; padding-left: 1.25rem; }
.pack-contents li { padding: 6px 0; }
.pack-contents li::marker { color: var(--terracotta); }
.pack-notes { margin-top: 20px; border-left: 2px solid var(--ochre); padding-left: 20px; }
.pack-notes .section-note { font-size: .93rem; margin-top: 12px; }
.pack-notes .section-note:first-child { margin-top: 0; }
.pack-details { display: grid; gap: 24px; margin-top: 44px; }
.pack-detail { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.pack-detail h3 { font-size: 1.65rem; margin-bottom: 14px; }
.pack-detail p:not(.kicker) { font-size: .96rem; }
.pack-detail .kicker { font-size: .72rem; margin-bottom: 12px; }
.pack-detail-art { position: relative; }
.adult-card-preview, .passport-preview { width: 150px; box-shadow: 0 5px 12px #183a3120; }
.adult-card-preview { transform: rotate(-3deg); }
.keepsake-art { padding-bottom: 28px; }
.passport-preview { transform: rotate(-4deg); }
.sticker-preview { position: absolute; width: 92px; right: -16px; bottom: 0; transform: rotate(12deg); filter: drop-shadow(0 4px 5px #183a3120); }
.keepsake-note { margin-top: 12px; color: var(--ink-soft); }
@media (min-width: 880px) { .pack-grid { grid-template-columns: 1.35fr 1fr; gap: 44px; } }
@media (min-width: 1000px) { .pack-details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) {
  .pack-detail { grid-template-columns: 108px minmax(0, 1fr); gap: 22px; padding: 20px 16px; }
  .adult-card-preview, .passport-preview { width: 105px; }
  .sticker-preview { width: 70px; right: -8px; }
  .pack-detail h3 { font-size: 1.4rem; }
}
@media (max-width: 359px) {
  .brand-lockup { width: 195px; }
  .pack-detail { grid-template-columns: 1fr; }
  .pack-detail-art { width: 138px; margin: 0 auto; }
  .adult-card-preview, .passport-preview { width: 125px; }
}

/* ---------- Section rhythm ----------
   One background system for the whole page: cream is the base, sand marks every
   other section, forest is reserved for the two key moments (the booklet and the
   signup). Sections alternate cream / sand with no hairline borders, so a change
   of background is always deliberate and visible.
   Order: hero C · places S · purpose C · steps S · adventure F · pack C ·
          inside S · collection C · story S · faq C · signup F · footer F-deep */
:root { --sand: #F6ECDA; }
.hero, .purpose, .pack, .collection, .faq { background: var(--cream); }
.places, .steps, .inside, .story { background: var(--sand); }
.adventure, .signup { background: var(--forest); }
.site-footer { background: var(--forest-deep); }
.hero, .places, .purpose, .steps, .adventure, .pack, .inside,
.collection, .story, .faq, .signup { border: 0; }
/* Terracotta labels need the darker shade to stay above 4.5:1 on sand. */
.places .kicker, .steps .kicker, .inside .kicker, .story .kicker,
.places .eyebrow, .steps .eyebrow, .inside .eyebrow, .story .eyebrow { color: var(--terracotta-dark); }
/* Every section now starts on its own background, so each needs its own top space. */
.places, .purpose, .collection { padding-top: var(--section-y); }

/* Footer: domain and "made in Madrid" line */
.footer-domain a { color: var(--ochre); font-weight: 700; text-decoration: none; }
.footer-domain a:hover { text-decoration: underline; }
.footer-made { font-size: 0.95rem; opacity: 0.9; }

/* ---------- Legal pages (/legal/) ---------- */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin-top: 36px; margin-bottom: 10px; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; }
.legal-updated { color: var(--ink-soft); font-size: 0.95rem; }
