/* Shared base for the 3 hero mock-ups. Tokens copied from the live shop (D:/Santa Video/src/styles/app.css, cozy
   layer: cream paper, sealing-wax red, pine, warm gold; Fraunces + DM Sans). Light and warm only.
   4/8-pt spacing tokens · canonical durations + easings · fluid headings · tabular numbers · reduced motion once. */
@font-face { font-family: 'Fraunces'; font-weight: 400 700; font-display: swap; src: url(/fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Fraunces'; font-weight: 400 700; font-display: swap; src: url(/fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: 'DM Sans'; font-weight: 400 700; font-display: swap; src: url(/fonts/dmsans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'DM Sans'; font-weight: 400 700; font-display: swap; src: url(/fonts/dmsans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: 'Great Vibes'; font-display: swap; src: url(/fonts/greatvibes.woff2) format('woff2'); }
/* the capital I / Î of Great Vibes reads as a J («Joana»): those two letters from Pinyon Script (OFL, /fonts/OFL-PinyonScript.txt) */
@font-face { font-family: 'Great Vibes'; font-display: swap; src: url(/fonts/pinyon-capital-i.woff2) format('woff2'); unicode-range: U+0049, U+00CE; size-adjust: 110%; }
/* /bg/ and /el/ names on the book plates (15 Nov 2026), the fonts the BG / EL films write with: Great Vibes' own Cyrillic; Greek (Great Vibes has
   none) from EB Garamond Italic 500 (OFL, /fonts/OFL-EBGaramond.txt). Loaded only when a page shows those letters (unicode-range). */
@font-face { font-family: 'Great Vibes'; font-display: swap; src: url(/fonts/greatvibes-cyrillic.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Great Vibes'; font-display: swap; src: url(/fonts/ebgaramond-italic-greek.woff2) format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; size-adjust: 88%; }

:root {
  color-scheme: only light; /* «only»: Chrome / Samsung «darken websites» leave the warm page and its flags alone (a forced dark mode turned the French blue and the German black into near-white, 15 Nov 2026) */
  --snow: #FCF6EC; --frost: #F6ECDE; --card: #FFFDF9; --line: #EADCCB; --line-2: #DAC6B1;
  --ink: #2B1D14; --ink-2: #4A372A; --muted: #6E5949;
  --wax: #A8152B; --wax-hi: #C42039; --wax-dark: #7E0E1F; --wax-wash: #FBE9EA;
  --pine: #1F5139; --pine-hi: #2A6A4B; --pine-wash: #E6EFE8;
  --brand-red: #A9172E; --brand-green: #21523D; /* Magic Chapter logo, sampled 7 Nov 2026: --wax / --pine were already within a shade of them, so the accents stay */
  --gold: #B98A33; --gold-hi: #E9C27A; --gold-wash: #FAF0DD; --gold-ink: #85601C;
  --honey: #F2B640; --honey-hi: #F7C860; --honey-ink: #2A1904;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --d-tap: 100ms; --d-hover: 180ms; --d-panel: 320ms; --d-page: 500ms; --d-hero: 800ms;
  --e-std: cubic-bezier(0.2, 0, 0, 1); --e-dec: cubic-bezier(0, 0, 0, 1); --e-acc: cubic-bezier(0.3, 0, 1, 1);
  --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1); --e-spring-soft: cubic-bezier(0.34, 1.20, 0.64, 1);
  --f-display: 'Fraunces', Georgia, serif;
  --f-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-script: 'Great Vibes', cursive;
  --t-xs: 12px; --t-sm: 14px; --t-md: 16px; --t-lg: 18px;
  --t-h1: clamp(32px, 3.6vw + 18px, 60px);
  --t-h2: clamp(24px, 2.2vw + 14px, 40px);
  --t-h3: clamp(20px, 0.8vw + 16px, 24px);
  --shadow-1: 0 1px 2px rgba(74, 45, 20, .06), 0 4px 16px rgba(74, 45, 20, .06);
  --shadow-2: 0 2px 4px rgba(74, 45, 20, .08), 0 16px 40px rgba(74, 45, 20, .14);
  --shadow-3: 0 4px 8px rgba(74, 45, 20, .10), 0 32px 64px rgba(74, 45, 20, .18);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-feature-settings: "kern" 1, "liga" 1, "calt" 1; font-optical-sizing: auto; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 var(--t-md)/1.5 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
img, video { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
a { color: var(--wax); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--wax); outline-offset: 2px; border-radius: var(--r-sm); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* layout primitives */
.center { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .center { padding-inline: var(--s-8); } }
.stack { display: flex; flex-direction: column; gap: var(--gap, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--s-2)); }

/* header (same as the live shop) */
.top { position: sticky; top: 0; z-index: 20; background: rgba(252, 246, 236, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; color: var(--ink); font: 600 22px/1 var(--f-display); letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 32px; }
.top-nav { display: flex; align-items: center; gap: var(--s-2); }
.top-link { display: none; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: var(--t-sm); padding: var(--s-2) var(--s-3); }
@media (min-width: 900px) { .top-link { display: inline-block; } }
.lights { height: 12px; background:
  radial-gradient(circle at 12px 6px, #E9C27A 3px, transparent 3.5px) 0 0 / 48px 12px,
  radial-gradient(circle at 36px 6px, #C42039 3px, transparent 3.5px) 0 0 / 48px 12px,
  radial-gradient(circle at 24px 6px, #2A6A4B 3px, transparent 3.5px) 24px 0 / 48px 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: var(--s-3) var(--s-6); border: 0; border-radius: var(--r-pill); font: 700 var(--t-md)/1.1 var(--f-ui); text-decoration: none; cursor: pointer;
  transition: transform var(--d-hover) var(--e-spring-soft), background-color var(--d-hover) var(--e-std), box-shadow var(--d-hover) var(--e-std); }
.btn:active { transform: scale(.98); transition-duration: var(--d-tap); }
.btn-wax { background: var(--wax); color: #fff; box-shadow: 0 8px 20px rgba(168, 21, 43, .28); }
.btn-wax:hover { background: var(--wax-hi); transform: translateY(-1px); }
.btn-honey { background: var(--honey); color: var(--honey-ink); box-shadow: 0 8px 20px rgba(217, 154, 34, .32); }
.btn-honey:hover { background: var(--honey-hi); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-sm { min-height: 40px; padding: var(--s-2) var(--s-4); font-size: var(--t-sm); }
.btn-xl { min-height: 56px; padding-inline: var(--s-8); font-size: var(--t-lg); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* film modal (plays the live sample film with sound) */
.film-dlg { width: min(960px, 100vw - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: #000; box-shadow: var(--shadow-3); }
.film-dlg::backdrop { background: rgba(43, 29, 20, .72); }
.film-dlg video { width: 100%; aspect-ratio: 16/9; }
.film-dlg .x { position: absolute; top: var(--s-2); right: var(--s-2); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.film-dlg figcaption { background: var(--card); color: var(--muted); font-size: var(--t-sm); padding: var(--s-3) var(--s-4); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
