/* ==========================================================================
   HISTÓRIAS DA BÍBLIA PARA COLORIR
   Direction: The page is the object
   Typeface: Bricolage Grotesque
   Palette: Low-chroma bone paper & rich book ink with olive accent
   ========================================================================== */

:root {
  /* Dealt palette proportions: Low-chroma bone ground & dark ink */
  --bg: #f5f5f3;
  --surface: #ecebe6;
  --surface-muted: #e2e1db;
  --surface-ticket: #edece7;
  --ink: #141311;
  --muted: #3d3b36;
  --accent: #1e5c2b;
  --accent-hover: #164620;
  --accent-ink: #ffffff;
  --brass: #9a4c06;
  --card-ground: #ffffff;
  --dark-ground: #141311;
  --dark-ink: #f5f5f3;

  /* Typography scale - All body copy strictly >= 16px */
  --font-family: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --step-small: 14px;
  --step-body: 16px;
  --step-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --step-head: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
  --step-display: clamp(3.25rem, 4.8vw, 4.75rem);

  /* Geometry & rhythm */
  --margin: clamp(1.25rem, 3.5vw, 3rem);
  --gutter: clamp(1.25rem, 2.5vw, 2.25rem);
  --section-gap: clamp(4.5rem, 8vw, 7.5rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

section[id] {
  scroll-margin-top: 5rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--step-body);
  line-height: 1.55;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent);
  color: var(--accent-ink);
}

h1, h2, h3, p, figure, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Typography styles */
h1, h2, h3 {
  font-family: var(--font-family);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--ink);
}

.display-title {
  font-size: var(--step-display);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-title {
  font-size: var(--step-head);
  line-height: 1.1;
}

.body-lead {
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink);
  max-width: 48ch;
}

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

.small-note {
  font-size: var(--step-small);
  line-height: 1.45;
  color: var(--muted);
}

/* Top site header */
.site-header {
  padding-inline: var(--margin);
  padding-block: 1.25rem;
  background-color: var(--bg);
  border-bottom: 2px solid var(--surface);
}

.site-header-inner {
  max-width: 1360px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-wordmark {
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink);
  padding-block: 0.25rem;
  transition: color var(--t-hover) ease;
}

.nav-link:hover {
  color: var(--accent);
}

.button-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding-inline: 1.75rem;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-size: var(--step-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}

.button-action:hover {
  background-color: var(--accent-hover);
}

.button-action:active {
  transform: scale(0.98);
}

/* Main Container */
.page-wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--margin);
}

/* ==========================================================================
   1. HERO SECTION (Striped card beside the product object)
   ========================================================================== */
.hero-section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gutter);
  align-items: center;
}

.hero-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-motif-band {
  display: flex;
  gap: 6px;
  height: 8px;
  width: 100%;
  margin-bottom: 0.5rem;
}

.motif-block {
  flex: 1;
  height: 100%;
  background-color: var(--accent);
  border-radius: 4px;
}

.motif-block:nth-child(2n) {
  background-color: var(--brass);
}

.motif-block:nth-child(3n) {
  background-color: var(--ink);
}

.hero-card h1, .display-title {
  font-size: var(--step-display);
  line-height: 1.02;
}

.hero-lead {
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step-body);
  color: var(--ink);
  font-weight: 500;
}

.hero-media-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-presentation-figure {
  width: 100%;
  max-width: 520px;
  background-color: var(--surface-muted);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform 600ms var(--ease-out);
}

.book-presentation-figure:hover {
  transform: translateY(-4px);
}

.book-cover-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* ==========================================================================
   2. INTRO SECTION (Title, note, facts row)
   ========================================================================== */
.intro-section {
  padding-block: var(--section-gap);
  background-color: var(--bg);
}

.intro-split-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.intro-title {
  font-size: var(--step-head);
  line-height: 1.08;
  max-width: 24ch;
}

.intro-note-paragraph {
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--ink);
  max-width: 44ch;
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  background-color: var(--surface);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-md);
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fact-big-text {
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.fact-sub-text {
  font-size: var(--step-body);
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   3. ONE LIVE THING: Interactive Biblical Coloring Easel
   ========================================================================== */
.live-coloring-section {
  padding-block: var(--section-gap);
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  margin-block: 1rem;
}

.live-coloring-inner {
  padding-inline: var(--margin);
}

.live-header-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  max-width: 58ch;
}

.easel-workspace {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--gutter);
  background-color: var(--card-ground);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-md);
  align-items: start;
}

.canvas-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-sm);
  user-select: none;
}

.coloring-canvas-svg {
  width: 100%;
  max-width: 580px;
  height: auto;
  cursor: crosshair;
}

.colorable {
  fill: #ffffff;
  stroke: #141311;
  stroke-width: 3.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: fill var(--t-hover) ease;
  cursor: pointer;
}

.colorable:hover {
  opacity: 0.85;
}

.easel-palette-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: var(--surface-muted);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
}

.palette-instruction {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--ink);
}

.crayon-swatches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.crayon-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.4rem;
  background-color: var(--card-ground);
  border-radius: var(--radius-sm);
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink);
  transition: transform var(--t-press) var(--ease-out);
}

.crayon-button:active {
  transform: scale(0.95);
}

.crayon-button.is-active {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.swatch-pip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--surface-muted);
}

.easel-actions-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: 1.25rem;
  background-color: var(--surface);
  color: var(--ink);
  font-size: var(--step-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color var(--t-hover) ease;
}

.button-secondary:hover {
  background-color: var(--surface-muted);
}

/* ==========================================================================
   4. SHOWCASE SECTION (Output slips along the edge)
   ========================================================================== */
.showcase-section {
  padding-block: var(--section-gap);
}

.showcase-header {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gutter);
  align-items: end;
  margin-bottom: 2.5rem;
}

.showcase-single-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.page-sample-card--featured {
  max-width: 520px;
  width: 100%;
  background-color: var(--surface);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 4px 24px rgba(20, 19, 17, 0.05);
}

.page-sample-card--featured .sample-image-container {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--surface-muted);
}

.page-sample-card--featured .sample-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}

.page-sample-card--featured:hover .sample-image-container img {
  transform: scale(1.02);
}

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

.page-sample-card {
  background-color: var(--surface);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 300ms var(--ease-out);
}

.page-sample-card:hover {
  transform: translateY(-5px);
}

.sample-image-container {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.sample-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}

.page-sample-card:hover .sample-image-container img {
  transform: scale(1.04);
}

.sample-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sample-card-title {
  font-size: var(--step-lead);
  font-weight: 600;
  color: var(--ink);
}

.sample-card-desc {
  font-size: var(--step-body);
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   5. FEATURES SECTION (Capabilities as a menu with dotted leaders)
   ========================================================================== */
.features-section {
  padding-block: var(--section-gap);
  display: flex;
  justify-content: center;
}

.menu-sheet-card {
  width: 100%;
  max-width: 820px;
  background-color: var(--surface);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.menu-sheet-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-category-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-category-title {
  font-size: var(--step-lead);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.menu-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.menu-item-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-item-top {
  display: flex;
  align-items: baseline;
  width: 100%;
  gap: 0.75rem;
}

.menu-item-name {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.menu-item-leader {
  flex: 1;
  border-bottom: 3px dotted var(--muted);
  transform: translateY(-3px);
}

.menu-item-badge {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.menu-item-description {
  font-size: var(--step-body);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.45;
}

/* ==========================================================================
   6. PHOTO BANNER FIGURE
   ========================================================================== */
.photo-banner-figure {
  background-color: var(--surface);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
}

.photo-banner-img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.photo-banner-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
}

/* ==========================================================================
   7. HOW IT WORKS SECTION (Step row of moments)
   ========================================================================== */
.how-section {
  padding-block: var(--section-gap);
}

.how-header-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.step-card {
  background-color: var(--surface);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-tag-pill {
  display: inline-block;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--accent);
}

.step-title {
  font-size: var(--step-lead);
  font-weight: 600;
  color: var(--ink);
}

.step-description {
  font-size: var(--step-body);
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   8. PRICING SECTION (The Ticket with Stub & Notches)
   ========================================================================== */
.pricing-section {
  padding-block: var(--section-gap);
  display: flex;
  justify-content: center;
}

.ticket-wrapper {
  width: 100%;
  max-width: 900px;
  background-color: var(--surface-ticket);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 7fr 4fr;
  position: relative;
  overflow: hidden;
}

.ticket-main {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.ticket-main-title {
  font-size: var(--step-head);
  line-height: 1.1;
  color: var(--ink);
}

.ticket-includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ticket-include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--step-body);
  color: var(--ink);
  line-height: 1.4;
}

.ticket-check-mark {
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  padding-top: 3px;
}

.ticket-divider-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-notch-top, .ticket-notch-bottom {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: var(--bg);
  border-radius: 50%;
  z-index: 2;
}

.ticket-notch-top {
  top: -16px;
  right: -16px;
}

.ticket-notch-bottom {
  bottom: -16px;
  right: -16px;
}

.ticket-perforation {
  width: 0;
  height: 100%;
  border-right: 4px dotted var(--surface-muted);
}

.ticket-stub {
  background-color: var(--surface-muted);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
}

.ticket-price-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.ticket-price-old {
  font-size: var(--step-body);
  color: var(--ink);
  font-weight: 500;
}

.ticket-price-old del {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  color: var(--muted);
}

.ticket-price-value {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.ticket-price-condition {
  font-size: var(--step-body);
  color: var(--muted);
}

.ticket-button-action {
  width: 100%;
  min-height: 3.25rem;
}

/* ==========================================================================
   9. FAQ SECTION (Tabbed Index Cards)
   ========================================================================== */
.faq-section {
  padding-block: var(--section-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-header-box {
  text-align: center;
  margin-bottom: 2.75rem;
  max-width: 36ch;
}

.faq-cards-stack {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card-item {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  transition: background-color var(--t-hover) ease;
}

.faq-card-item:hover {
  background-color: var(--surface-muted);
}

.faq-card-question-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.faq-card-indicator {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform var(--t-ui) var(--ease-out);
}

.faq-card-item.is-open .faq-card-indicator {
  transform: rotate(45deg);
}

.faq-card-answer {
  display: none;
  padding-top: 1rem;
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--muted);
  max-width: 65ch;
}

.faq-card-item.is-open .faq-card-answer {
  display: block;
}

/* ==========================================================================
   10. CTA SECTION (The Reply Card)
   ========================================================================== */
.cta-section {
  padding-block: var(--section-gap);
  background-color: var(--dark-ground);
  color: var(--dark-ink);
  border-radius: var(--radius-lg);
  margin-block: 1rem;
}

.cta-inner {
  padding-inline: var(--margin);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
}

.cta-pitch-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-pitch-col h2 {
  color: var(--dark-ink);
  font-size: var(--step-head);
  line-height: 1.08;
}

.cta-pitch-col p {
  color: #cfcac2;
  font-size: var(--step-lead);
  line-height: 1.45;
  max-width: 44ch;
}

.cta-card-col {
  display: flex;
  justify-content: center;
}

.reply-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--bg);
  color: var(--ink);
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reply-card-title {
  font-size: var(--step-lead);
  font-weight: 600;
}

.reply-card-subtext {
  font-size: var(--step-body);
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   11. FOOTER SECTION (The Back of the Card)
   ========================================================================== */
.footer-section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  background-color: var(--bg);
  border-top: 2px solid var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--gutter);
  margin-bottom: 2.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-title {
  font-size: var(--step-head);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.footer-brand-desc {
  font-size: var(--step-body);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.5;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-checkout-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.footer-kiwify-label {
  font-size: var(--step-body);
  color: var(--muted);
}

.footer-guarantee-note {
  font-size: var(--step-body);
  color: var(--accent);
  font-weight: 600;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 2px solid var(--surface);
  font-size: var(--step-small);
  color: var(--muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   MOTION LAYER (Taste-skill Step 9)
   Transform and opacity only, with reduced-motion fallback.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-card {
    animation: taste-rise 750ms var(--ease-out) both;
  }

  .book-presentation-figure {
    animation: taste-rise 850ms 150ms var(--ease-out) both;
  }

  .book-cover-image {
    animation: book-subtle-drift 8s ease-in-out infinite alternate;
  }

  .fact-item:nth-child(1) { animation: taste-rise 600ms 200ms var(--ease-out) both; }
  .fact-item:nth-child(2) { animation: taste-rise 600ms 280ms var(--ease-out) both; }
  .fact-item:nth-child(3) { animation: taste-rise 600ms 360ms var(--ease-out) both; }
  .fact-item:nth-child(4) { animation: taste-rise 600ms 440ms var(--ease-out) both; }

  .page-sample-card:nth-child(1) { animation: taste-rise 600ms 100ms var(--ease-out) both; }
  .page-sample-card:nth-child(2) { animation: taste-rise 600ms 180ms var(--ease-out) both; }
  .page-sample-card:nth-child(3) { animation: taste-rise 600ms 260ms var(--ease-out) both; }
  .page-sample-card:nth-child(4) { animation: taste-rise 600ms 340ms var(--ease-out) both; }

  .step-card:nth-child(1) { animation: taste-rise 600ms 100ms var(--ease-out) both; }
  .step-card:nth-child(2) { animation: taste-rise 600ms 200ms var(--ease-out) both; }
  .step-card:nth-child(3) { animation: taste-rise 600ms 300ms var(--ease-out) both; }

  .menu-sheet-card {
    animation: taste-rise 750ms 150ms var(--ease-out) both;
  }

  .menu-item-row:nth-child(1) { animation: taste-rise 600ms 150ms var(--ease-out) both; }
  .menu-item-row:nth-child(2) { animation: taste-rise 600ms 250ms var(--ease-out) both; }
  .menu-item-row:nth-child(3) { animation: taste-rise 600ms 350ms var(--ease-out) both; }

  .ticket-wrapper {
    animation: taste-rise 800ms 150ms var(--ease-out) both;
  }

  .faq-card-item:nth-child(1) { animation: taste-rise 500ms 100ms var(--ease-out) both; }
  .faq-card-item:nth-child(2) { animation: taste-rise 500ms 180ms var(--ease-out) both; }
  .faq-card-item:nth-child(3) { animation: taste-rise 500ms 260ms var(--ease-out) both; }
  .faq-card-item:nth-child(4) { animation: taste-rise 500ms 340ms var(--ease-out) both; }
  .faq-card-item:nth-child(5) { animation: taste-rise 500ms 420ms var(--ease-out) both; }

  @keyframes taste-rise {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes book-subtle-drift {
    from {
      transform: translateY(0) scale(1);
    }
    to {
      transform: translateY(-6px) scale(1.01);
    }
  }
}

/* ==========================================================================
   Responsive / Phone Viewport (390px - 768px)
   ========================================================================== */
@media (max-width: 860px) {
  :root {
    --margin: 1.25rem;
  }

  .page-wrap {
    padding-inline: 1.25rem;
  }

  .site-header {
    padding-inline: 1.25rem;
  }

  .header-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-card h1, .display-title {
    font-size: clamp(2.2rem, 5.5vw, 2.75rem);
    line-height: 1.05;
  }

  .hero-media-wrap {
    order: -1;
  }

  .intro-split-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .facts-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .easel-workspace {
    grid-template-columns: 1fr;
  }

  .showcase-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showcase-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-item-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .menu-item-leader {
    display: none;
  }

  .photo-banner-figure {
    grid-template-columns: 1fr;
  }

  .how-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .how-steps-grid {
    grid-template-columns: 1fr;
  }

  .ticket-wrapper {
    grid-template-columns: 1fr;
  }

  .ticket-notch-top, .ticket-notch-bottom {
    display: none;
  }

  .ticket-perforation {
    width: 100%;
    height: 0;
    border-right: none;
    border-bottom: 4px dotted var(--surface-muted);
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-checkout-badge {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-card h1, .display-title {
    font-size: 1.75rem; /* ~28px - wraps cleanly in exactly 2 lines on 350px width */
    line-height: 1.08;
  }

  .section-title {
    font-size: 1.35rem;
    line-height: 1.1;
  }

  .showcase-gallery-grid {
    grid-template-columns: 1fr;
  }

  .facts-row {
    grid-template-columns: 1fr;
  }

  .ticket-includes-grid {
    grid-template-columns: 1fr;
  }

  .ticket-price-value {
    font-size: 2rem;
    letter-spacing: -0.02em;
  }

  .hero-card {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY: High Contrast Support
   ========================================================================== */
@media (prefers-contrast: more) {
  :root {
    --ink: #000000;
    --muted: #111111;
    --accent: #0f4019;
  }

  .button-action,
  .button-secondary,
  .ticket-wrapper,
  .page-sample-card--featured,
  .faq-card-item {
    border: 2px solid #000000;
  }
}
