/* Stray Charm storefront */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #FCFAF5;
  --paper: #F8F3E7;
  --ink: #25283D;
  --mint: #BADCC8;
  --terra: #CC7058;
  --terra-text: #A9472F;
  --muted: #555869;
  --line: #E4DCCB;
  --mint-soft: #E6F1EA;

  /* Contextual tokens: themed game pages override these. */
  --c-bg: var(--page);
  --c-surface: var(--paper);
  --c-ink: var(--ink);
  --c-muted: var(--muted);
  --c-accent: var(--terra-text);
  --c-line: var(--line);
  --c-button: var(--ink);
  --c-button-ink: var(--page);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 200ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background-color: var(--page);
  /* faint print grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .16 0 0 0 0 .24 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.nowrap { white-space: nowrap; }
.small { font-size: .9rem; color: var(--c-muted); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; color: var(--c-ink); max-width: 34ch; }
.eyebrow { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--c-accent); font-size: 1.2rem; margin-bottom: .35em; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--page); padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { flex: none; }

/* ---------- Header & footer ---------- */
.site-header { position: relative; z-index: 10; padding-top: env(safe-area-inset-top); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-weight: 650; font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -.02em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(4px, 2.4vw, 32px); }
.site-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--mint); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--terra); }
.nav-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--terra); color: #fff; font-family: var(--sans); font-size: .78rem; font-weight: 700; }
.nav-count { background: #B2533A; }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: clamp(36px, 5vw, 56px) 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 24px 40px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 8px; justify-items: start; }
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-line { margin: 0; color: var(--muted); }
.footer-contact { margin: 0; }
.footer-brand .social { margin: 4px 0 0; }
.footer-col { display: flex; flex-direction: column; }
.footer-title { font: 700 .78rem/1 var(--mono, monospace); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-base p { margin: 0; }
.made-by { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 1.05rem; margin: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 0; font-size: .92rem; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 2px solid transparent;
  font: 600 1.05rem/1.1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--c-button); color: var(--c-button-ink); }
.btn-primary:hover { box-shadow: 0 6px 18px -8px rgba(37, 40, 61, .55); }
.btn-large { min-height: 58px; padding: 0 30px; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; border-radius: 12px; }
.btn-outline { background: transparent; color: var(--c-ink); border-color: currentColor; }
.btn-outline:hover { background: color-mix(in srgb, var(--c-ink) 6%, transparent); }
.btn-saved { background: var(--mint-soft); color: var(--ink); border-color: #7FB596; }
.btn-saved .heart path { fill: var(--terra); stroke: var(--terra); }
.heart path { fill: none; transition: fill var(--t-fast) var(--ease); }
.btn-quiet { background: transparent; color: var(--c-ink); border-color: var(--c-line); font-weight: 500; }
.btn-quiet:hover { border-color: currentColor; }
.btn-small { min-height: 44px; padding: 0 14px; font-size: .95rem; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow span[aria-hidden] { margin-left: .35em; }

/* ---------- Wishlist control ---------- */
.wish { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 18px 0 8px; }
.wish-form { margin: 0; }
.stamp {
  display: inline-flex; align-items: baseline; gap: 6px; margin: 0;
  padding: 4px 12px; border: 1.5px dashed var(--c-accent); border-radius: 8px; color: var(--c-accent);
  transform: rotate(-2deg); transform-origin: left center; background: color-mix(in srgb, var(--c-bg) 70%, transparent);
}
.stamp-num { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stamp-label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.stamp.is-stale { opacity: .65; }
.stamp.bump { animation: stamp-bump 420ms var(--ease); }
@keyframes stamp-bump { 0% { transform: rotate(-2deg) scale(1); } 40% { transform: rotate(-4deg) scale(1.12); } 100% { transform: rotate(-2deg) scale(1); } }
.wish-note, .wish-error { flex-basis: 100%; margin: 0; font-size: .95rem; color: var(--c-muted); }
.wish-error { color: #9B2C1A; font-weight: 600; }
.wish-unavailable { margin: 0; font-weight: 600; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); font-size: .85rem; font-weight: 600; margin: 0 0 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }
.section { padding-block: clamp(48px, 8vw, 104px); }
.frame { display: block; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 22px 44px -30px rgba(37, 40, 61, .55); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home hero (layered scene) ----------
   All scene coordinates are % of .scene-box (1000 × 720 units). The hills layer sits at x −40 %, y 44 %,
   width 165 %, so a point (u, v) of the hills art maps to X = −40 + 1.65u, Y = 44 + 0.533v. The path
   centreline measured on the art (bin: path trace) gives the ground line the talisman and prints use:
   X 26→Y 79.3 · 34→79.9 · 42.5→80.7 · 50.8→81.8 · 59→82.2 · 67→81.1 · 75.5→78.4 · 84→71.6. */
.hero { background: var(--page); overflow: hidden; }
.hero-grid { display: grid; gap: 0 24px; align-items: center; padding-block: clamp(20px, 3vw, 36px) 0; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy h1 { font-size: clamp(2.8rem, 5.6vw, 5.3rem); max-width: 9.6ch; margin-bottom: .28em; }
.hero-copy .lede { font-size: clamp(1.15rem, 1.5vw, 1.4rem); max-width: 22ch; margin-bottom: 1.4em; }

.scene { position: relative; z-index: 1; pointer-events: none; user-select: none; min-width: 0; }
.scene-box { position: relative; aspect-ratio: 1000 / 720; width: 150%; margin-left: -7%; }
.scene-box .layer { position: absolute; left: var(--x); top: var(--y); width: var(--w); }
.scene-box .layer img { display: block; width: 100%; height: auto; }
.cloud-a { --x: 44%; --y: 2%; --w: 30%; z-index: 0; }
.cloud-b { --x: 77%; --y: 13%; --w: 18%; z-index: 0; opacity: .8; }
/* Ruins on the far crest: hill top at art u 82.5 % (v 6.7 %) → X 96, Y 47.6; base sunk 1 % behind the hill. */
.ruins { --x: 93%; --y: 44.9%; --w: 6%; z-index: 1; opacity: .9; }
@media (max-width: 899px) { .ruins { display: none; } }
.arch { --x: 4%; --y: 22%; --w: 34%; z-index: 1; }
.ivy { --x: 32.5%; --y: 22.5%; --w: 6%; z-index: 2; }
.hills { --x: -40%; --y: 44%; --w: 165%; z-index: 2; }
.daisies { --x: 5%; --y: 83%; --w: 20%; z-index: 6; }
.bells { --x: 83%; --y: 58%; --w: 8.5%; z-index: 6; }
/* Talisman: 13 % wide, 21.9 % tall; feet on the bottom edge. Final feet at X 48, Y 81.4 (+0.6 sink). */
.actor { --x: 41.5%; --y: 59.7%; --w: 13%; z-index: 5; pointer-events: auto; cursor: pointer; }
/* Prints lie on the path behind the final position: X 31 / 36.5 / 42, slightly alternating left/right foot. */
.print { --w: 3.6%; z-index: 3; }
.print img { transform: rotate(var(--r)); opacity: .85; }
.print-1 { --x: 29.2%; --y: 78.4%; --r: 3deg; }
.print-2 { --x: 34.7%; --y: 79.5%; --r: 4deg; }
.print-3 { --x: 40.2%; --y: 79.6%; --r: 5deg; }
@media (min-width: 900px) {
  .hero { min-height: min(84vh, 820px); display: grid; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 39fr) minmax(0, 61fr); padding-block: 8px 0; }
  .scene-box { width: 122%; margin-left: -6%; }
}
@media (max-width: 899px) {
  .hero-copy { padding-top: 4px; }
  .scene { margin-top: 4px; }
}
.scene-box .arch { filter: drop-shadow(0 10px 10px rgba(37, 40, 61, .12)); }
/* Lamp glow inside the arch (the arch art already contains the lamp at ~61 % / 52 %). */
.lamp-glow { position: absolute; left: 61%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 120, .62) 0%, rgba(255, 186, 110, .25) 38%, transparent 70%); mix-blend-mode: screen; opacity: .7; pointer-events: none; }
.actor-move, .actor-lean, .actor-hop { display: block; position: relative; }
.actor-lean { transform-origin: 50% 100%; transition: transform 700ms cubic-bezier(.3, .7, .3, 1); }
.actor .pose { display: block; width: 100%; height: auto; opacity: 0; }
.actor .pose + .pose { position: absolute; left: 0; bottom: 0; }
.actor[data-pose="walk"] .pose-walk, .actor[data-pose="contact"] .pose-contact, .actor[data-pose="listen"] .pose-listen { opacity: 1; }
.actor:not([data-pose]) .pose-listen { opacity: 1; }
.actor-shadow { position: absolute; left: 14%; right: 14%; bottom: -3%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 40, 61, .28), transparent); }
.sway { display: block; transform-origin: 50% 100%; }
.ivy .sway { transform-origin: 60% 0; }

@media (prefers-reduced-motion: no-preference) {
  .scene:not(.is-done) .print img { opacity: 0; }
  .scene.is-playing .print img { animation: print-in 300ms var(--ease) both; }
  .scene.is-playing .print-1 img { animation-delay: 380ms; }
  .scene.is-playing .print-2 img { animation-delay: 930ms; }
  .scene.is-playing .print-3 img { animation-delay: 1480ms; }
  /* Start at the arch door (feet X 31): translate in actor widths / heights. */
  .scene:not(.is-done) .actor-move { transform: translate(-130.8%, -7.8%); }
  .scene.is-playing .actor-move { animation: talisman-walk 1650ms linear 300ms both; }
  .scene:not(.is-done):not(.is-playing) .lamp-glow { opacity: 0; }
  .scene.is-playing .lamp-glow { animation: lamp-warm 1600ms ease-out both; }
  .scene.is-listening .actor-lean { transform: rotate(-4deg) translateX(-3%); }
  .scene.is-listening .bells .sway { animation: sway 1.8s ease-in-out 1; }
  .scene.is-listening .ivy .sway { animation: sway 2.2s ease-in-out 1; }
  .actor.is-hop .actor-hop { animation: hop 520ms cubic-bezier(.3, .7, .3, 1); }
  .cloud img, .ruins img { transition: transform 600ms cubic-bezier(.2, .7, .3, 1); }
}
@keyframes print-in { from { opacity: 0; transform: rotate(var(--r)) scale(.6); } to { opacity: .85; transform: rotate(var(--r)) scale(1); } }
/* Two steps: each step = lift (walk pose, forward + up) then plant (contact pose). Linear x keeps feet on the path. */
@keyframes talisman-walk {
  0% { transform: translate(-130.8%, -7.8%); }
  16% { transform: translate(-109%, -14%); }
  33% { transform: translate(-87.2%, -5.2%); }
  50% { transform: translate(-65.4%, -9.5%); }
  66% { transform: translate(-43.6%, -2.6%); }
  83% { transform: translate(-21.8%, -5%); }
  100% { transform: none; }
}
@keyframes lamp-warm { 0% { opacity: 0; } 55% { opacity: 1; } 100% { opacity: .7; } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(3deg); } 70% { transform: rotate(-1.2deg); } }
@keyframes hop { 0% { transform: none; } 40% { transform: translateY(-14%) rotate(-3deg); } 70% { transform: translateY(0) scaleY(.94); } 100% { transform: none; } }

/* ---------- Evidence tapes: printed paper tape with torn edges (CSS only, seamless) ---------- */
:root { --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  --tape-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .18 0 0 0 0 .1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tape-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='100' preserveAspectRatio='none' viewBox='0 0 240 100'%3E%3Cpath d='M0 4 L9 2 L17 5 L26 1 L35 4 L44 2 L52 6 L61 2 L70 4 L79 1 L88 5 L97 3 L106 6 L115 2 L124 4 L133 1 L142 5 L151 2 L160 4 L169 1 L178 5 L187 3 L196 6 L205 2 L214 4 L223 1 L232 5 L240 4 L240 96 L231 98 L222 95 L213 99 L204 96 L195 98 L186 94 L177 98 L168 96 L159 99 L150 95 L141 97 L132 94 L123 98 L114 96 L105 99 L96 95 L87 97 L78 94 L69 98 L60 96 L51 99 L42 95 L33 97 L24 94 L15 98 L6 96 L0 97 Z' fill='%23000'/%3E%3C/svg%3E"); }
.tape-band { position: relative; overflow: hidden; padding: 30px 0; }
.tape-mask { display: block; filter: drop-shadow(0 6px 6px rgba(37, 40, 61, .22)); }
.tape { position: relative; height: 56px; margin: 0 -3%; display: flex; align-items: center; overflow: hidden; transform: rotate(-1deg);
  background-color: var(--tape-bg); color: var(--tape-ink);
  background-image:
    repeating-linear-gradient(90deg, var(--tape-line) 0 14px, transparent 14px 22px),
    repeating-linear-gradient(90deg, var(--tape-line) 0 14px, transparent 14px 22px),
    linear-gradient(to bottom, rgba(255, 255, 255, .28), transparent 35%, transparent 65%, rgba(0, 0, 0, .14)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px),
    var(--tape-grain);
  background-size: 100% 1.5px, 100% 1.5px, auto, auto, 180px 180px;
  background-position: 0 9px, 0 calc(100% - 9px), 0 0, 0 0, 0 0;
  background-repeat: repeat-x, repeat-x, no-repeat, repeat, repeat;
  -webkit-mask: var(--tape-edge) repeat-x 0 0 / 240px 100%; mask: var(--tape-edge) repeat-x 0 0 / 240px 100%; }
.tape-band--two .tape { transform: rotate(.9deg); }
.tape-text { margin: 0; display: flex; white-space: nowrap; font: 800 13.5px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; padding-left: 1.4em;
  text-shadow: 0 0 1px color-mix(in srgb, var(--tape-ink) 45%, transparent); opacity: .93; }
.tape-text span { flex: none; }
.tape-text span + span::before { content: "✦"; margin: 0 1.7em; color: var(--tape-mark); letter-spacing: 0; }
.tape--ochre { --tape-bg: #E9BE79; --tape-ink: #2B2A3A; --tape-line: rgba(43, 42, 58, .5); --tape-mark: #A9472F; }
.tape--ink { --tape-bg: #2C2B42; --tape-ink: #F6E7C8; --tape-line: rgba(246, 231, 200, .45); --tape-mark: #E9BE79; }
.tape--mint { --tape-bg: #BADCC8; --tape-ink: #1F3129; --tape-line: rgba(31, 49, 41, .45); --tape-mark: #A9472F; }
.tape--rust { --tape-bg: #B2533A; --tape-ink: #FFF3E6; --tape-line: rgba(255, 243, 230, .5); --tape-mark: #F6D9A8; }
@media (max-width: 719px) { .tape { height: 44px; background-position: 0 7px, 0 calc(100% - 7px), 0 0, 0 0, 0 0; } .tape-text { font-size: 11.5px; letter-spacing: .18em; } .tape-band { padding: 22px 0; } }
@media (prefers-reduced-motion: no-preference) {
  .tape-band[data-reveal]:not(.is-in) .tape-mask { clip-path: inset(-30px 100% -30px 0); }
  .tape-band.is-in .tape-mask { animation: tape-pull 900ms cubic-bezier(.2, .8, .3, 1) both; }
  .tape-band.is-in .tape { animation: tape-settle 480ms cubic-bezier(.3, .7, .3, 1) 700ms both; }
  .tape-band--two.is-in .tape { animation-name: tape-settle-two; }
}
@keyframes tape-pull { from { clip-path: inset(-30px 100% -30px 0); } to { clip-path: inset(-30px 0 -30px 0); } }
@keyframes tape-settle { from { transform: rotate(-2.2deg) translateY(-4px); } to { transform: rotate(-1deg); } }
@keyframes tape-settle-two { from { transform: rotate(2deg) translateY(-4px); } to { transform: rotate(.9deg); } }

/* ---------- Featured case ---------- */
.featured { padding-block: clamp(32px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.featured-grid { display: grid; gap: 32px 64px; align-items: center; }
.featured-media { position: relative; padding: 14px 14px 0 0; }
.featured-media::before { content: ""; position: absolute; inset: 0 0 -14px 14px; background: var(--paper); border-radius: 6px; box-shadow: 0 1px 0 var(--line); }
.featured-photo { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: #1B2736;
  box-shadow: 0 24px 40px -26px rgba(37, 40, 61, .7); transform: rotate(-1deg); transition: transform 240ms var(--ease); }
.featured-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured-photo:hover { transform: rotate(-.4deg) translateY(-3px); }
.case-stamp { position: absolute; right: -6px; bottom: -22px; z-index: 2; font: 700 clamp(.85rem, 1.4vw, 1.05rem)/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: #9B2C1A; border: 2px solid currentColor; border-radius: 4px; padding: 8px 12px; background: rgba(252, 250, 245, .9); transform: rotate(-4deg); }
.featured-copy h2 { font-size: clamp(3rem, 6.4vw, 5.4rem); line-height: .95; margin-bottom: .12em; letter-spacing: -.02em; }
.featured-copy h2 a { text-decoration: none; }
.featured-copy h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.featured-tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--terra-text); margin-bottom: .6em; }
.featured-hook { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 34ch; }
.featured-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 16px; margin-top: 20px; }
.featured-actions .wish { margin: 0; }
.featured-note { font-size: .95rem; color: var(--muted); margin-top: 6px; }
.facts { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.facts li { display: flex; flex-direction: column; font-weight: 600; }
.facts span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; font-family: var(--mono); }
@media (min-width: 900px) { .featured-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
@media (prefers-reduced-motion: no-preference) {
  .featured[data-reveal]:not(.is-in) .featured-photo { transform: rotate(-3.5deg) translateY(10px); }
  .featured.is-in .featured-photo { transition: transform 320ms cubic-bezier(.3, .7, .3, 1); }
  .featured[data-reveal]:not(.is-in) .case-stamp { opacity: 0; transform: rotate(-4deg) scale(1.35); }
  .featured.is-in .case-stamp { animation: stamp-in 260ms cubic-bezier(.4, 1.6, .5, 1) 330ms both; }
}
@keyframes stamp-in { from { opacity: 0; transform: rotate(-4deg) scale(1.35); } to { opacity: 1; transform: rotate(-4deg) scale(1); } }

/* ---------- How it plays (case material on a table) ---------- */
.how { background: #1B2736; color: #EEF3F7; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); --c-muted: #B4C3D1; }
.how-head { max-width: 640px; margin-bottom: clamp(24px, 4vw, 48px); }
.how-head h2 { color: #F4F7FA; }
.how-head .lede { color: #CFDBE6; max-width: 46ch; }
.how-table { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.how-item { display: grid; grid-template-columns: 30% 1fr; gap: 16px; align-items: center; }
.how-object img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .35)); }
.how-num { margin: 0; font: 700 .8rem/1 var(--mono); letter-spacing: .2em; color: #E7B66A; }
.how-text h3 { color: #F4F7FA; font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 6px 0 4px; }
.how-text p:last-child { color: #CFDBE6; margin: 0; }
@media (min-width: 760px) {
  .how-table { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 32px; border-radius: 10px;
    background: linear-gradient(180deg, #24344A, #1F2E41); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 50px -36px rgba(0, 0, 0, .8); }
  .how-item { grid-template-columns: 1fr; align-items: start; }
  .how-object { display: block; max-width: 240px; }
  .how-item-1 .how-object { transform: rotate(-3deg); }
  .how-item-2 .how-object { transform: rotate(2deg); }
  .how-item-3 .how-object { transform: rotate(-1.5deg); }
  .how-item-2 .how-object img { transition: transform 220ms var(--ease); }
  .how-item-2:hover .how-object img { transform: rotate(-4deg) translateX(-4px); }
}
@media (prefers-reduced-motion: no-preference) {
  .how[data-reveal]:not(.is-in) .how-object img { opacity: 0; transform: translateY(-18px) rotate(-5deg); }
  .how.is-in .how-object img { animation: settle 520ms cubic-bezier(.3, .7, .3, 1) both; }
  .how.is-in .how-item-2 .how-object img { animation-delay: 140ms; }
  .how.is-in .how-item-3 .how-object img { animation-delay: 280ms; }
}
@keyframes settle { from { opacity: 0; transform: translateY(-18px) rotate(-5deg); } to { opacity: 1; transform: none; } }

/* ---------- From the studio ---------- */
.studio { padding-block: clamp(56px, 8vw, 104px); background: var(--paper); }
.studio-grid { display: grid; gap: 28px 64px; align-items: center; }
.studio-copy p:first-of-type { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.3; }
.studio-art { position: relative; padding-top: 40px; }
.studio-print { display: block; background: #FFFDF8; padding: 12px 12px 34px; border-radius: 3px; transform: rotate(1.5deg); box-shadow: 0 22px 36px -24px rgba(37, 40, 61, .55); }
.studio-print img { display: block; width: 100%; height: auto; }
.studio-lamp { position: absolute; top: -18px; right: 8%; width: 24%; z-index: 2; transform-origin: 50% 0; }
.studio-lamp img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .studio-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
@media (prefers-reduced-motion: no-preference) {
  .studio.is-in .studio-lamp { animation: lamp-swing 1500ms cubic-bezier(.3, .7, .3, 1) both; }
}
@keyframes lamp-swing { 0% { transform: rotate(-6deg); } 45% { transform: rotate(3deg); } 75% { transform: rotate(-1deg); } 100% { transform: none; } }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(48px, 7vw, 96px); }
.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: 56px; padding: 12px 0; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--terra-text); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 16px; color: var(--muted); max-width: 65ch; }

/* ---------- Follow ---------- */
.follow { padding-block: clamp(40px, 6vw, 80px); background: var(--paper); }
.follow-grid { display: grid; gap: 16px 48px; align-items: center; justify-items: start; }
.follow-art { width: min(300px, 64vw); }
.follow-art img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .follow[data-reveal]:not(.is-in) .follow-art { transform: rotate(-4deg); }
  .follow.is-in .follow-art { transition: transform 900ms cubic-bezier(.3, .7, .3, 1); }
}
.social { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social .btn { gap: 8px; }
@media (min-width: 760px) { .follow-grid { grid-template-columns: auto 1fr; } }

/* ---------- Cards ---------- */
.page-head { padding-top: clamp(24px, 4vw, 56px); padding-bottom: 16px; }
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card {
  --c-bg: var(--t-bg); --c-surface: var(--t-surface); --c-ink: var(--t-ink); --c-muted: var(--t-muted);
  --c-accent: var(--t-accent); --c-line: var(--t-line); --c-button: var(--t-button); --c-button-ink: var(--t-button-ink);
  background: var(--c-bg); color: var(--c-ink); border-radius: 16px; overflow: hidden; border: 1px solid var(--c-line);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(37, 40, 61, .45); }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--c-surface); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 20px 22px 22px; }
.card-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .15em; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-desc { margin: 10px 0 0; }
.card-actions { margin: 16px 0 0; }
.card .wish { margin-top: 10px; }
.card-media { aspect-ratio: 3 / 2; }
@media (min-width: 760px) {
  .cards-single { grid-template-columns: 1fr; }
  .cards-single .card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
  .cards-single .card-media { aspect-ratio: auto; min-height: 100%; }
  .cards-single .card-body { padding: clamp(24px, 3vw, 40px); align-self: center; }
}
.card-tagline { font-family: var(--serif); font-style: italic; color: var(--c-accent); margin-bottom: .2em; }
.card-meta { color: var(--c-muted); font-size: .95rem; margin-bottom: 0; }
.empty { padding: 32px 0; color: var(--muted); }

/* ---------- Game page (themed) ---------- */
.page-game main {
  --c-bg: var(--t-bg); --c-surface: var(--t-surface); --c-ink: var(--t-ink); --c-muted: var(--t-muted);
  --c-accent: var(--t-accent); --c-line: var(--t-line); --c-button: var(--t-button); --c-button-ink: var(--t-button-ink);
  background: var(--c-bg); color: var(--c-ink); padding-bottom: 48px;
}
.page-game main :focus-visible { outline-color: var(--c-accent); }
.page-game .site-footer { margin-top: 0; }
.page-game .breadcrumbs { padding-top: 10px; padding-bottom: 6px; }
.preview-bar { background: #FFF1C2; color: #3A2F00; text-align: center; padding: 10px 16px; font-weight: 600; }
.game-hero { position: relative; background: var(--t-hero-bg); color: var(--t-hero-ink); }
.game-hero-copy { position: relative; z-index: 2; padding-top: 28px; padding-bottom: 28px; }
.game-hero-copy h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: .25em; }
.game-hero-copy .lede { color: inherit; max-width: 38ch; }
.game-hero .eyebrow { color: var(--t-accent); }
.game-hero-art { position: relative; }
.game-hero-art img { display: block; width: 100%; height: auto; }
.status-note { font-size: .98rem; opacity: .9; margin: 4px 0 0; }
.concept-tag { position: absolute; right: 12px; bottom: 12px; background: rgba(14, 22, 32, .78); color: #F4F7FA; font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 6px; text-transform: uppercase; }
.concept-tag.inline { position: static; display: inline-block; margin-left: 6px; }
@media (min-width: 900px) {
  .game-hero.has-art { min-height: clamp(560px, 58vw, 780px); display: flex; align-items: flex-end; }
  .game-hero.has-art .game-hero-art { position: absolute; inset: 0; }
  .game-hero.has-art .game-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
  .game-hero.has-art .game-hero-art::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--t-hero-bg) 94%, transparent) 0%, color-mix(in srgb, var(--t-hero-bg) 80%, transparent) 34%, transparent 62%),
                linear-gradient(0deg, color-mix(in srgb, var(--t-hero-bg) 70%, transparent) 0%, transparent 40%);
  }
  .game-hero.has-art .game-hero-copy { padding-bottom: clamp(40px, 6vw, 88px); }
  .game-hero.has-art .game-hero-copy > * { max-width: 560px; }
}
.game-body { display: grid; gap: 8px; padding-top: 40px; max-width: 980px; }
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin: 0 0 24px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.fact-list div { padding: 14px 4px; }
.fact-list dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--c-muted); font-weight: 600; }
.fact-list dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.2em; }
.game-section, .box-list, .gallery, .get-it { margin-top: 28px; }
.box-list ul { columns: 2 260px; padding-left: 1.2em; margin: 0; }
.box-list li { margin-bottom: 6px; break-inside: avoid; }
.gallery-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; border-radius: 10px; background: var(--c-surface); }
.gallery figcaption { font-size: .92rem; color: var(--c-muted); margin-top: 8px; }
.get-it { background: var(--c-surface); border-radius: 14px; padding: 22px 24px 8px; max-width: 68ch; }

/* ---------- Wishlist page ---------- */
.wish-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 860px; }
.wish-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.wish-item.is-removing { opacity: 0; transform: translateX(12px); }
.wish-thumb { display: block; width: 96px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--mint-soft); }
.wish-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wish-item h2 { font-size: 1.3rem; margin: 0 0 4px; }
.wish-item h2 a { text-decoration: none; }
.wish-item h2 a:hover { text-decoration: underline; }
.wish-status { margin: 0; color: var(--muted); font-size: .96rem; }
.wish-remove { margin: 0; }
@media (max-width: 560px) {
  .wish-item { grid-template-columns: 72px 1fr; }
  .wish-thumb { width: 72px; }
  .wish-remove { grid-column: 1 / -1; }
  .wish-remove .btn { width: 100%; }
}
.wish-privacy { margin-top: 28px; max-width: 860px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.wish-privacy p { margin: 0; }
.empty-state { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 16px 0; }
.empty-art { width: min(280px, 60vw); height: auto; }
.empty-art.small { width: 160px; }
.notice { background: var(--mint-soft); border-radius: 10px; padding: 10px 14px; display: inline-block; }

/* ---------- About / legal ---------- */
.about-grid { display: grid; gap: 32px; align-items: start; }
.about-art { position: relative; max-width: 420px; }
.about-mascot { position: absolute; right: -6%; bottom: -4%; width: 38%; }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: 6px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.legal { padding-top: 24px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.draft-box { border: 2px dashed #B98A00; background: #FFF8DF; border-radius: 12px; padding: 14px 18px; margin: 0 0 24px; font-size: .96rem; }
.draft-box ul { margin: 6px 0 0; }
.table-scroll { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; }
.table-scroll th, .table-scroll td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table-scroll thead th { background: var(--paper); }
.table-scroll tbody th { font-weight: 600; }
.legal .prose, .legal { max-width: 900px; }
.inline-form { margin: 0 0 16px; }
.not-found { padding-top: 48px; }

/* ---------- Mobile menu ---------- */
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--page); color: var(--ink); font: 600 1rem var(--sans); cursor: pointer; }
@media (max-width: 719px) {
  .header-inner { min-height: 68px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.35rem; }
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(37, 40, 61, .5); z-index: 20; }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 52px; font-size: 1.25rem; border-bottom: 1px solid var(--line); padding: 0 4px; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--terra-text); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header nav, .site-footer nav, .scene, .wish { display: none; }
}

/* Primary emphasis for the main call to action on game pages */
.wish-large .btn-outline { background: var(--c-button); color: var(--c-button-ink); border-color: var(--c-button); }
.wish-large .btn-outline:hover { background: var(--c-button); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55); }
.game-section, .box-list, .gallery, .get-it { margin-top: 12px; }

/* Closed-preview holding page */
.soon { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding-block: 48px; }
.soon h1 { margin: 6px 0 0; }
.soon .lede { margin-inline: auto; max-width: 30ch; }
.soon-mascot { width: 140px; height: auto; margin-top: 12px; }

/* Very narrow phones: keep brand and menu button apart */
@media (max-width: 360px) {
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 30px; height: 30px; }
  .menu-btn { padding: 0 10px; }
  .menu-btn > span:not(.nav-count) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Interaction polish: buttons, links, focus ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform 180ms var(--ease), box-shadow 220ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left center; transition: transform 240ms var(--ease); z-index: -1; }
.btn-primary { box-shadow: 0 1px 0 rgba(37, 40, 61, .25), 0 6px 0 -3px rgba(37, 40, 61, .18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 2px 0 rgba(37, 40, 61, .2), 0 14px 22px -12px rgba(37, 40, 61, .6); }
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: scaleX(1); }
.btn:active { transform: translateY(1px) scale(.985); box-shadow: none; transition-duration: 90ms; }
.btn-outline { background-image: linear-gradient(90deg, color-mix(in srgb, currentColor 10%, transparent), color-mix(in srgb, currentColor 10%, transparent)); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 260ms var(--ease), transform 180ms var(--ease), box-shadow 220ms var(--ease), color 200ms, border-color 200ms; }
.btn-outline:hover, .btn-outline:focus-visible { background-size: 100% 100%; transform: translateY(-2px); box-shadow: 0 12px 20px -14px rgba(37, 40, 61, .55); }
.btn-saved:hover { transform: translateY(-2px); }
.btn-saved .heart { transition: transform 240ms cubic-bezier(.3, 1.6, .5, 1); }
.btn-saved:hover .heart { transform: scale(1.18); }
.btn-arrow span[aria-hidden] { display: inline-block; transition: transform 220ms cubic-bezier(.3, 1.4, .5, 1); }
.btn-arrow:hover span[aria-hidden], .btn-arrow:focus-visible span[aria-hidden] { transform: translateX(6px); }
.btn-large { min-height: 62px; padding: 0 32px; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; box-shadow: 0 0 0 7px rgba(204, 112, 88, .18); }
.link-arrow { position: relative; text-decoration: none; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 1.4em; bottom: 8px; height: 2px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform 260ms var(--ease); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }
.link-arrow span[aria-hidden] { transition: transform 220ms cubic-bezier(.3, 1.4, .5, 1); }
.link-arrow:hover span[aria-hidden] { transform: translateX(5px); }
.site-nav a { position: relative; transition: color 180ms var(--ease); }
@media (hover: hover) { .site-nav a:hover { color: var(--terra-text); } }
.social .btn:hover .icon { transform: rotate(-8deg) scale(1.1); }
.social .icon { transition: transform 220ms cubic-bezier(.3, 1.4, .5, 1); }
/* Section titles get a short hand-drawn underline when the section first appears */
.how-head h2, .studio-copy h2, .faq h2, .follow h2 { position: relative; display: inline-block; }
.how-head h2::after, .studio-copy h2::after, .faq h2::after, .follow h2::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 64px; height: 4px; border-radius: 3px; background: var(--terra); }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal]:not(.is-in) h2::after { transform: scaleX(0); }
  [data-reveal].is-in h2::after { transform-origin: left; animation: underline-draw 600ms cubic-bezier(.3, .7, .3, 1) 200ms both; }
  .how-item .how-object img { transition: transform 260ms cubic-bezier(.3, 1.3, .5, 1); }
  .how.is-in .how-item:hover .how-object img { transform: translateY(-6px) rotate(-3deg); }
  .studio-art:hover .studio-lamp { animation: lamp-swing 1400ms cubic-bezier(.3, .7, .3, 1) both; }
}
@keyframes underline-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after, .btn-arrow span[aria-hidden] { transition: none !important; } }
