/* MotionCred.com · ink-and-paper holiday storefront */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/source-sans-3.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f7f1e5;
  --card: #fffcf6;
  --tint: #efe6d6;
  --ink: #1c1a17;
  --muted: #4f4a42;
  --rule: #cfc5b3;
  --on-night: #f7f1e5;
  --on-night-muted: #d9d1c3;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(60, 40, 20, .35), 0 2px 6px rgba(60, 40, 20, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;

  /* Christmas (default) */
  --night: #0f2e27;
  --night-2: #163e34;
  --accent: #b03a1c;
  --accent-ink: #8a2c12;
  --glow: #f08a62;
  --ribbon: #b3202c;
  --snow-a: #fff6e8;
  --snow-b: #e2c07a;
  --btn: #b3202c;
  --btn-ink: #ffffff;
}

html[data-theme="hanukkah"] { --night:#0d1e45; --night-2:#16306a; --accent:#1f4fb8; --accent-ink:#173c8c; --glow:#9cc2ff; --ribbon:#2f66d9; --snow-a:#f2f6ff; --snow-b:#c9d3e6; --btn:#1f4fb8; --btn-ink:#fff; }
html[data-theme="kwanzaa"]  { --night:#141712; --night-2:#22301d; --accent:#a3262a; --accent-ink:#7e1d20; --glow:#6ccb86; --ribbon:#1f7a3a; --snow-a:#e4573d; --snow-b:#2e9d52; --btn:#1f6e37; --btn-ink:#fff; }
html[data-theme="solstice"] { --night:#111a35; --night-2:#1e2b55; --accent:#8c5a12; --accent-ink:#6e450b; --glow:#f3c969; --ribbon:#d49a2a; --snow-a:#fff2cc; --snow-b:#f3c969; --btn:#8c5a12; --btn-ink:#fff; }
html[data-theme="newyear"]  { --night:#131318; --night-2:#24242e; --accent:#8a6a12; --accent-ink:#6a510c; --glow:#e8cf85; --ribbon:#d4af37; --snow-a:#f5e6b8; --snow-b:#ffffff; --btn:#d4af37; --btn-ink:#1c1a17; }
html[data-theme="bodhi"]    { --night:#2a1d0e; --night-2:#3e2b15; --accent:#a04e0b; --accent-ink:#7c3c08; --glow:#f2b45c; --ribbon:#e09a2b; --snow-a:#fce3b0; --snow-b:#f7f1e5; --btn:#a04e0b; --btn-ink:#fff; }
html[data-theme="festivus"] { --night:#23262b; --night-2:#353a42; --accent:#4f5866; --accent-ink:#3f4650; --glow:#c7ced8; --ribbon:#b8bec6; --snow-a:#e8ecf1; --snow-b:#9aa3af; --btn:#3f4650; --btn-ink:#fff; }
html[data-theme="valentine"] { --night:#3a0d1c; --night-2:#561528; --accent:#b0243f; --accent-ink:#8c1c32; --glow:#ff9db5; --ribbon:#d6284a; --snow-a:#ffc2d1; --snow-b:#e0314f; --btn:#c2223f; --btn-ink:#fff; }
html[data-theme="halloween"] { --night:#1a1024; --night-2:#2a1a3a; --accent:#b4530f; --accent-ink:#8a3e08; --glow:#ff9a3c; --ribbon:#e8741c; --snow-a:#ff9a3c; --snow-b:#a36bd9; --btn:#c25a0e; --btn-ink:#fff; }
html[data-theme="everyday"] { --night:#0e2a2a; --night-2:#16403f; --accent:#1d6b57; --accent-ink:#165445; --glow:#8fe0bf; --ribbon:#2f9e7d; --snow-a:#e3f6ee; --snow-b:#8fe0bf; --btn:#1d6b57; --btn-ink:#fff; }
html[data-theme="backtoschool"], html[data-theme="newterm"] { --night:#14213d; --night-2:#1f3160; --accent:#9a5b00; --accent-ink:#7a4800; --glow:#ffc94d; --ribbon:#f2b01e; --snow-a:#ffe7a3; --snow-b:#9fb6ff; --btn:#f2b01e; --btn-ink:#14213d; }
html[data-theme="general"]  { --night:#102a3d; --night-2:#1b3f5a; --accent:#1f5f80; --accent-ink:#174a64; --glow:#a8d8f0; --ribbon:#8fc3e0; --snow-a:#ffffff; --snow-b:#cfe6f3; --btn:#1f5f80; --btn-ink:#fff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.65 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .45em; font-variation-settings: "opsz" 120; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h3 { font-size: 1.45rem; letter-spacing: -.01em; line-height: 1.15; font-variation-settings: "opsz" 36; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 44px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.eyebrow { font: 700 .8rem/1.5 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 2px; margin: -2px .7rem 0 0; background: currentColor; }
.eyebrow-dark { color: var(--glow); }
.fine { font-size: .95rem; color: var(--muted); }
.fine-dark { color: var(--on-night-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; font: 700 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--btn); color: var(--btn-ink); box-shadow: 0 10px 26px -12px var(--btn); }
.btn-primary:hover { color: var(--btn-ink); box-shadow: 0 16px 30px -12px var(--btn); }
.btn-large { min-height: 58px; font-size: 1.1rem; padding: .8em 1.7em; }
.btn-small { min-height: 40px; padding: .5em 1.1em; font-size: .95rem; }
.btn-price { padding-left: .7em; border-left: 1px solid currentColor; opacity: .95; }
.btn-ghost { color: var(--on-night); border-color: rgba(247, 241, 229, .45); }
.btn-ghost:hover { color: var(--on-night); border-color: var(--on-night); }
.btn-ghost-ink { color: var(--ink); border-color: var(--ink); }
.btn-ghost-ink:hover { color: var(--ink); background: var(--tint); }
.buy-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.8rem 0 1.1rem; }

/* Promo bar */
.promo { background: var(--night-2); color: var(--on-night); font-size: .92rem; text-align: center; }
.promo p { margin: 0; padding: .55rem 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .7rem; }
.promo a { color: var(--on-night); font-weight: 700; }
.promo-greet { font-family: var(--display); font-style: italic; color: var(--glow); }
.promo-dot { color: var(--glow); }
@media (max-width: 620px) { .promo [data-promo], .promo [data-promo] + .promo-dot { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(12px); color: var(--on-night); border-bottom: 1px solid rgba(247, 241, 229, .08); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; font: 500 1.45rem/1 var(--display); letter-spacing: -.02em; }
.brand:hover { color: var(--on-night); }
.brand em { color: var(--glow); }
.brand-mark { width: 28px; height: 28px; color: var(--on-night); }
.brand-mark .bm-screen { fill: var(--glow); }
.brand-mark .bm-key { fill: var(--night); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--on-night-muted); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--on-night); }
.theme-form { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--on-night-muted); }
.theme-form select { appearance: none; background: var(--night-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f7f1e5' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center / 11px; color: var(--on-night); border: 1px solid rgba(247, 241, 229, .25); border-radius: 999px; padding: .45em 2.1em .45em .9em; font: 600 .9rem var(--body); min-height: 38px; cursor: pointer; }
@media (max-width: 1100px) { .nav { display: none; } .theme-form { margin-left: auto; } }
@media (max-width: 620px) { .theme-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .header-buy { display: none; } .brand { font-size: 1.25rem; } }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--on-night); background: radial-gradient(120% 90% at 75% 40%, var(--night-2) 0%, var(--night) 55%, color-mix(in srgb, var(--night) 70%, #000) 100%); overflow: hidden; padding: clamp(36px, 7vh, 80px) 0 clamp(70px, 10vh, 110px); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: min(78vh, 760px); }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 350; margin-bottom: .35em; }
.hero h1 em { color: var(--glow); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--on-night-muted); max-width: 34em; }
.hero .fine { color: var(--on-night-muted); }
.hero-stage { position: relative; height: min(72vh, 680px); min-height: 420px; display: grid; place-items: center; touch-action: pan-y; cursor: grab; }
.hero-stage.dragging { cursor: grabbing; }
.poster { position: relative; width: 150px; height: 300px; transition: opacity .6s; }
.webgl-ready .poster { opacity: 0; }
.poster-band { position: absolute; left: 22px; right: 22px; top: -70px; bottom: -70px; border-radius: 30px; background: linear-gradient(90deg, #22262d, #3b414b, #22262d); }
.poster-body { position: absolute; inset: 0; border-radius: 56px; background: linear-gradient(160deg, #5b6370, #2c313a 45%, #1a1d23); padding: 22px 26px 64px; box-shadow: 0 30px 60px -20px #000; }
.poster-body img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.poster-key { position: absolute; left: 50%; bottom: 20px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; border: 3px solid #4a5260; }
.stage-controls { position: absolute; bottom: 0; left: 0; right: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { background: rgba(247, 241, 229, .1); color: var(--on-night); border: 1px solid rgba(247, 241, 229, .3); border-radius: 999px; padding: .5em 1em; font: 600 .9rem var(--body); min-height: 40px; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.chip:hover, .chip[aria-pressed="true"] { background: rgba(247, 241, 229, .2); border-color: var(--glow); }
.stage-hint { position: absolute; top: 4px; right: 0; font-size: .82rem; color: var(--on-night-muted); opacity: .8; margin: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(247, 241, 229, .45); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--glow); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero-stage { height: 62vh; min-height: 380px; }
  .stage-hint { display: none; }
  .scroll-cue { display: none; }
}

/* Facts */
.facts { background: var(--card); border-bottom: 1px solid var(--rule); }
.facts-row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 26px; padding-bottom: 26px; }
.facts li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 6px 10px; border-left: 1px solid var(--rule); }
.facts li:first-child { border-left: 0; }
.facts strong { font: italic 400 clamp(2rem, 3.6vw, 2.9rem)/1 var(--display); color: var(--accent); }
.facts span { font-size: .92rem; color: var(--muted); }
@media (max-width: 720px) { .facts-row { grid-template-columns: repeat(3, 1fr); row-gap: 18px; } .facts li:nth-child(4) { border-left: 0; } }

/* Chapters */
.chapter { padding: clamp(70px, 11vw, 140px) 0; }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.chapter-left .chapter-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter-copy p { color: var(--muted); max-width: 32em; }
.chapter-copy-center { text-align: center; max-width: 760px; margin: 0 auto 10px; }
.chapter-copy-center p { margin-left: auto; margin-right: auto; }

.chapter-art { margin: 0; }
.art { width: 100%; height: auto; }
@media (max-width: 900px) {
  .chapter-grid, .chapter-left .chapter-grid { grid-template-columns: 1fr; }
  .chapter-left .chapter-art { order: 2; }
}

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--rule); margin-top: 30px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; display: flex; width: max-content; margin: 0; padding: 18px 0; gap: 0; animation: marquee 70s linear infinite; }
.marquee-track li { font: italic 400 clamp(1.4rem, 2.6vw, 2rem)/1 var(--display); padding: 0 .9em; white-space: nowrap; color: var(--ink); }
.marquee-track li::after { content: "✦"; font-style: normal; font-size: .55em; color: var(--accent); margin-left: 1.6em; vertical-align: middle; }
html[data-occasion="valentine"] .marquee-track li::after { content: "♥"; }
html[data-occasion="halloween"] .marquee-track li::after { content: "✶"; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Faces */
.faces { background: var(--tint); padding: clamp(70px, 10vw, 120px) 0; }
.faces-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.faces-copy p { color: var(--muted); max-width: 30em; }
.face-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.face-tabs button { font: 600 .98rem var(--body); padding: .6em 1.2em; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.face-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.face-stage { display: grid; place-items: center; }
.mini-watch { position: relative; width: 170px; display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 30px 30px rgba(40, 30, 20, .25)); transform: rotate(-8deg); }
.mini-strap { width: 124px; height: 90px; background: linear-gradient(90deg, #22262d, #3b414b, #22262d); }
.mini-strap-top { border-radius: 20px 20px 0 0; }
.mini-strap-bottom { border-radius: 0 0 20px 20px; }
.mini-body { position: relative; width: 170px; height: 340px; margin: -16px 0; border-radius: 62px; background: linear-gradient(160deg, #5b6370, #2c313a 45%, #1a1d23); padding: 24px 28px 76px; z-index: 1; }
.mini-body img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; transition: opacity .25s, transform .35s var(--ease); }
.mini-body img.swap { opacity: 0; transform: scale(.96); }
.mini-key { position: absolute; left: 50%; bottom: 24px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; border: 3px solid #4a5260; background: #1b1f26; }
@media (max-width: 820px) { .faces-grid { grid-template-columns: 1fr; } }

/* Charging scrub */
.charge { background: var(--night); color: var(--on-night); padding-bottom: clamp(60px, 9vw, 120px); }
.charge h2 em { color: var(--glow); }
.charge-scroll { height: 260vh; position: relative; }
.charge-sticky { position: sticky; top: var(--header-h); min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.charge-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.charge-steps { list-style: none; padding: 0; margin: 1.4rem 0; counter-reset: step; }
.charge-steps li { position: relative; padding: .8rem 0 .8rem 3.2rem; color: var(--on-night-muted); border-top: 1px solid rgba(247, 241, 229, .12); transition: color .3s; }
.charge-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: .75rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font: italic 1.1rem var(--display); border: 1.5px solid rgba(247, 241, 229, .3); transition: background .3s, color .3s, border-color .3s; }
.charge-steps li strong { color: var(--on-night); }
.charge-steps li.active { color: var(--on-night); }
.charge-steps li.active::before { background: var(--glow); color: var(--night); border-color: var(--glow); }
.charge { --p: 0; --p1: clamp(0, calc(var(--p) * 3), 1); --p2: clamp(0, calc(var(--p) * 3 - 1), 1); --p3: clamp(0, calc(var(--p) * 3 - 2), 1); }
.usb-svg { width: 100%; height: auto; overflow: visible; }
.usb-strap-right { transform: translate(calc(var(--p1) * 60px), calc(var(--p1) * -110px)) rotate(calc(var(--p1) * -14deg)); transform-origin: 380px 180px; opacity: calc(1 - var(--p1)); }
.usb-watch { transform: translateX(calc(var(--p2) * 126px)); }
.usb-batt-fill { fill: var(--glow); transform: scaleX(var(--p3)); transform-origin: 152px 180px; }
.usb-spark { stroke: var(--glow); opacity: var(--p3); }
.usb-readout { text-align: center; font: italic 1.3rem var(--display); color: var(--glow); margin-top: 10px; }
.charge-art { margin-top: 10px; }
.charge-art .art { border-radius: var(--radius); }
.no-scrub .charge-scroll { height: auto; }
.no-scrub .charge-sticky { position: static; min-height: 0; padding: 80px 0 20px; }
@media (max-width: 900px) { .charge-grid { grid-template-columns: 1fr; gap: 10px; } .charge-sticky { align-items: flex-start; padding-top: 30px; } }

/* Bento */
.bento { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.card .card-big { font: italic 400 3.2rem/1 var(--display); color: var(--accent); margin: 0; display: flex; align-items: baseline; gap: 10px; }
.card .card-big small { font: 600 1rem var(--body); color: var(--muted); font-style: normal; }
.card-steps { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.ring { width: 64%; margin: 0 auto 26px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: var(--tint); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 314.2; stroke-dashoffset: 314.2; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.in .ring-fg { stroke-dashoffset: 24; }
.ecg { width: 100%; height: 70px; margin-bottom: 14px; }
.ecg path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 620; stroke-dashoffset: 620; }
.in .ecg path { animation: ecg 2.6s linear .2s infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 620; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -620; } }
.sleep-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-bottom: 8px; }
.sleep-bars span { flex: 1; border-radius: 6px 6px 2px 2px; transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); }
.in .sleep-bars span { transform: scaleY(1); }
.sleep-bars span:nth-child(2) { transition-delay: .08s; } .sleep-bars span:nth-child(3) { transition-delay: .16s; } .sleep-bars span:nth-child(4) { transition-delay: .24s; }
.sleep-bars span:nth-child(5) { transition-delay: .32s; } .sleep-bars span:nth-child(6) { transition-delay: .4s; } .sleep-bars span:nth-child(7) { transition-delay: .48s; }
.s-light { height: 45%; background: var(--rule); } .s-deep { height: 95%; background: var(--ink); } .s-rem { height: 70%; background: var(--accent); }
.days { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.days li { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font: italic 1.05rem var(--display); color: var(--muted); background: var(--tint); transition: background .4s, color .4s; }
.in .days li { background: var(--accent); color: #fff; }
.days li:nth-child(n) { transition-delay: calc(var(--i, 0) * 90ms); }
.card-water { background: linear-gradient(170deg, var(--card) 60%, color-mix(in srgb, var(--glow) 18%, var(--card))); }
.alert-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.alert-list li { background: var(--tint); border-radius: 12px; padding: 9px 14px; font-size: .95rem; transform: translateX(-12px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.in .alert-list li { transform: none; opacity: 1; }
.alert-list li:nth-child(2) { transition-delay: .12s; } .alert-list li:nth-child(3) { transition-delay: .24s; } .alert-list li:nth-child(4) { transition-delay: .36s; }
@media (max-width: 960px) { .bento-grid { grid-template-columns: 1fr 1fr; } .card-steps { grid-row: auto; } }
@media (max-width: 640px) { .bento-grid { grid-template-columns: 1fr; } .card { padding: 24px; } }

/* eFit */
.efit { padding: clamp(70px, 10vw, 130px) 0; }
.efit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.flow { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: repeating-linear-gradient(var(--accent) 0 8px, transparent 8px 16px); background-size: 2px 16px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 0 16px; } }
.flow li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; background: var(--card); border-radius: 16px; padding: 12px 16px 12px 0; box-shadow: var(--shadow); position: relative; }
.flow-dot { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: italic 1.2rem var(--display); margin-left: -1px; }
.flow small { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .efit-grid { grid-template-columns: 1fr; } }

/* Fit check */
.fit-check { padding: clamp(70px, 10vw, 120px) 0; }
.fit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.fit-form fieldset { border: 0; border-bottom: 1px solid var(--rule); padding: 0 0 18px; margin: 0 0 18px; }
.fit-form legend { font: 400 1.3rem/1.25 var(--display); margin-bottom: 12px; padding: 0; }
.fit-form label { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; font-weight: 600; cursor: pointer; min-height: 44px; }
.fit-form input[type="radio"] { width: 22px; height: 22px; accent-color: var(--accent); }
.fit-result { font: 400 1.2rem/1.45 var(--display); padding: 18px 20px; border-radius: 16px; background: var(--tint); }
.fit-result.good { background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.fit-result .btn { margin-top: 12px; font-family: var(--body); }
@media (max-width: 900px) { .fit-grid { grid-template-columns: 1fr; } }

/* Gift card */
.giftcard { padding: clamp(70px, 10vw, 120px) 0; background: var(--tint); }
.gc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 50px; align-items: center; }
.gc-copy > p { color: var(--muted); }
.gc-form { display: grid; gap: 14px; margin-top: 1.2rem; }
.gc-form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.gc-form input, .gc-form textarea { font: 400 1.05rem var(--body); padding: .7em .9em; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--card); color: var(--ink); width: 100%; resize: vertical; }
.gc-form input:focus, .gc-form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.gc-form .btn { justify-self: start; margin-top: 6px; }
.gc-card { background: var(--paper); border-radius: 8px; padding: 34px 38px 30px; box-shadow: 0 40px 60px -30px rgba(60, 40, 20, .45), 0 0 0 1px var(--rule); transform: rotate(1.5deg); text-align: center; }
html[data-occasion="valentine"] .gc-card, html[data-occasion="halloween"] .gc-card { box-shadow: 0 40px 60px -30px rgba(60, 40, 20, .45), 0 0 0 1px var(--rule), inset 0 0 0 7px var(--paper), inset 0 0 0 8px color-mix(in srgb, var(--accent) 45%, transparent); }
.gc-card img { width: 78%; margin: -10px auto 4px; mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.gc-hello { font: italic 400 2.3rem/1.1 var(--display); color: var(--accent); margin: 0 0 .4em; overflow-wrap: anywhere; }
.gc-note { font: 400 1.25rem/1.45 var(--display); max-width: 26em; margin: 0 auto 1em; overflow-wrap: anywhere; }
.gc-from { font-weight: 700; margin-bottom: 1.4em; overflow-wrap: anywhere; }
.gc-brand { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; border-top: 1px solid var(--rule); padding-top: 14px; }
@media (max-width: 900px) { .gc-grid { grid-template-columns: 1fr; } .gc-card { transform: none; padding: 26px 20px; } }

/* Specs */
.specs { padding: clamp(70px, 10vw, 120px) 0; }
.specs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 50px; align-items: start; }
.specs-diagram { width: 78%; margin-top: 20px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec-table th { width: 32%; font: italic 400 1.15rem var(--display); color: var(--accent-ink); padding-right: 16px; }
@media (max-width: 900px) { .specs-grid { grid-template-columns: 1fr; } .specs-diagram { width: 100%; max-width: 460px; } }

/* FAQ */
.faq { padding: clamp(70px, 10vw, 120px) 0; background: var(--card); }
.faq-wrap { max-width: 900px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; list-style: none; font: 400 1.35rem/1.3 var(--display); padding: 22px 48px 22px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 2rem/1 var(--display); color: var(--accent); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 20px; max-width: 46em; }

/* Finale */
.finale { padding: clamp(70px, 10vw, 130px) 0; }
.finale-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.finale-price { font: italic 400 4rem/1 var(--display); color: var(--accent); margin: .2em 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.finale-price small { font: 600 1rem var(--body); font-style: normal; color: var(--muted); }
.trust { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; color: var(--muted); }
.trust li::before { content: "✦"; color: var(--accent); margin-right: .7em; }
@media (max-width: 900px) { .finale-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 60px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.site-footer a { color: var(--on-night); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; align-content: start; }
.site-footer .fine { grid-column: 1 / -1; color: var(--on-night-muted); border-top: 1px solid rgba(247, 241, 229, .12); padding-top: 20px; font-size: .88rem; }
.brand-footer { font-size: 1.8rem; color: var(--on-night); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sticky buy bar (phones) */
.buy-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--night); color: var(--on-night); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transform: translateY(150%); transition: transform .4s var(--ease); }
.buy-bar.show { transform: none; }
@media (max-width: 760px) { .buy-bar { display: flex; } }

/* Guides (blog) */
.nav-blog { margin-left: auto; }
@media (max-width: 1100px) { .nav-blog { display: flex; gap: 18px; } }
@media (max-width: 620px) { .nav-blog a:nth-child(n+3) { display: none; } }
.post-hero { background: var(--night); color: var(--on-night); padding: clamp(40px, 7vw, 90px) 0; }
.post-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.post-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 350; margin-bottom: .4em; }
.post-hero h1 em { color: var(--glow); }
.crumbs { font-size: .92rem; margin-bottom: 1.2rem; color: var(--on-night-muted); }
.crumbs a { color: var(--on-night-muted); }
.crumbs a:hover { color: var(--on-night); }
.post-meta { color: var(--on-night-muted); font-size: .95rem; margin: 0; }
.post-art { margin: 0; }
.post-art img { width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 900px) { .post-hero-grid { grid-template-columns: 1fr; } }

.post-body { max-width: 800px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(50px, 7vw, 90px); }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.post-answer { font-size: 1.2rem; line-height: 1.6; background: var(--card); border-left: 4px solid var(--accent); padding: 22px 26px; border-radius: 0 16px 16px 0; box-shadow: var(--shadow); }
.takeaways { background: var(--tint); border-radius: var(--radius); padding: 24px 28px 8px; margin: 30px 0; }
.takeaways h2 { font-size: 1.4rem; margin: 0 0 .6em; }
.table-scroll { overflow-x: auto; margin: 1.2em 0 1.6em; }
.compare { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font: 700 .78rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); border-bottom: 2px solid var(--ink); }
.compare tbody th { font: italic 400 1.08rem/1.3 var(--display); color: var(--accent-ink); }
.prose .flow { padding-left: 0; }
.flow-prose li { padding-right: 16px; }
.post-figure { margin: 1.6em 0; }
.post-figure img { width: 100%; height: auto; border-radius: var(--radius); }

.product-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin: 36px 0; }
.product-card img { width: 100%; height: auto; border-radius: 14px; }
.product-card .eyebrow { margin-bottom: .5rem; }
.product-card p { color: var(--muted); font-size: 1.02rem; }
.product-card .product-card-name { font: 400 1.5rem/1.2 var(--display); color: var(--ink); margin-bottom: .4em; }
.product-card-name span { font-style: italic; color: var(--accent); margin-left: .25em; }
.product-card .product-card-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
@media (max-width: 640px) { .product-card { grid-template-columns: 1fr; } .product-card img { max-width: 260px; } }

.post-faq { margin-top: 3em; border-top: 2px solid var(--ink); padding-top: 1.4em; }
.post-faq h2 { margin-top: 0; }

.related { background: var(--card); padding: clamp(50px, 7vw, 90px) 0; border-top: 1px solid var(--rule); }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.post-list a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-list a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.post-list strong { font: 400 1.22rem/1.25 var(--display); }
.post-list span { color: var(--muted); font-size: 1rem; }

.guide-index { padding: clamp(50px, 7vw, 90px) 0; }
.guide-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.guide-cards a { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease); }
.guide-cards a:hover { transform: translateY(-4px); color: var(--ink); }
.guide-cards img { width: 100%; height: auto; }
.guide-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.guide-card-body strong { font: 400 1.4rem/1.2 var(--display); }
.guide-card-body > span { color: var(--muted); }
.guide-card-body small { color: var(--muted); font-size: .88rem; margin-top: auto; }

/* Scroll reveals (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-art { transform: translateY(26px) scale(.985); clip-path: inset(0 0 12% 0); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), clip-path 1.4s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .js .reveal, .js .reveal-art { opacity: 1; transform: none; clip-path: none; }
}

/* Print: only the gift card */
.print-sheet { display: none; }
@media print {
  body.printing > *:not(.print-sheet) { display: none !important; }
  body.printing .print-sheet { display: block; }
  .print-sheet .gc-card { transform: none; box-shadow: none; border: 1px solid #cfc5b3; max-width: 6.5in; margin: .5in auto; }
  @page { margin: .4in; }
}
