/* Clickaboo storefront
   Layout: Milk paper ground, Midnight ink, Coral for actions only; pastel tiles carry the product renders.
   Brand tokens from brand/palette/clickaboo-tokens.css. One deliberate light theme (brand look), so every color is set explicitly. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-soft.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  color-scheme: light;
  --midnight: #262D5C;
  --coral: #F0675A;
  --coral-ink: #C8443A; /* coral dark enough for small text on Milk */
  --milk: #FFF8F1;
  --paper: #FFFFFF;
  --butter: #F8D36B;
  --mint: #A6D8C8;
  --blush: #F7C5CD;
  --sky: #C8DEF4;
  --lilac: #CBBDE6;
  --slate: #5B6285;
  --cloud: #E9E7F0;
  --line: #E7E1DA;
  --tint-butter: #FDF0C8;
  --tint-mint: #E1F2EC;
  --tint-blush: #FCE8EB;
  --tint-sky: #E6F0FA;
  --tint-lilac: #EEE8F7;
  --tint-cloud: #F2EFEA;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);

  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --shadow: 0 18px 40px -22px rgba(38, 45, 92, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--milk); color: var(--midnight);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--milk); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-variation-settings: "opsz" 72; font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; margin: 0; text-wrap: balance; color: var(--midnight); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; font-variation-settings: "opsz" 24; }
p { margin: 0; }
.prose p + p { margin-top: 1em; }
.lede { font-size: var(--step-1); color: var(--slate); line-height: 1.5; max-width: 38ch; }
.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); }
.muted { color: var(--slate); }
.small { font-size: var(--step--1); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--midnight); color: var(--milk); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); color: var(--milk); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1rem/1 var(--body); padding: 17px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: var(--midnight); box-shadow: 0 6px 0 -1px #D9534A; }
.btn-primary:hover { color: var(--midnight); background: #F37B6F; }
.btn-dark { background: var(--midnight); color: var(--milk); }
.btn-dark:hover { color: var(--milk); background: #323A72; }
.btn-ghost { border-color: var(--midnight); color: var(--midnight); background: transparent; }
.btn-ghost:hover { background: var(--midnight); color: var(--milk); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---- announcement + header ---- */
.announce { background: var(--midnight); color: var(--milk); font-size: var(--step--1); text-align: center; padding-block: 9px; }
.announce .wrap { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.announce a { color: var(--butter); font-weight: 700; }
.announce a:hover { color: var(--milk); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 248, 241, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--tint-blush); color: var(--midnight); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.bag-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--midnight); color: var(--milk); border: 0; border-radius: 999px; padding: 12px 18px; font: 700 .95rem/1 var(--body); cursor: pointer; }
.bag-btn svg { width: 18px; height: 18px; }
.bag-count { background: var(--coral); color: var(--midnight); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.menu-btn { display: none; background: none; border: 2px solid var(--midnight); border-radius: 999px; width: 46px; height: 46px; cursor: pointer; color: var(--midnight); }
.menu-btn svg { width: 20px; height: 20px; margin: auto; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--milk); padding: 12px var(--gutter-r) 20px var(--gutter-l); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .bag-btn .bag-label { display: none; }
}

/* ---- hero ---- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-block: 18px 22px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lede { max-width: 32ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: var(--step--1); color: var(--slate); display: flex; gap: 8px; align-items: center; }
.hero-note::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--tint-mint); flex: none; }
.stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.stage .disc { position: absolute; inset: 4% 2% 2% 4%; border-radius: 50%; background: var(--butter) url("../img/brand/peeking-eyes-butter.svg") center / 300px; }
.stage img { position: absolute; width: 44%; filter: drop-shadow(0 22px 26px rgba(38,45,92,.25)); }
.stage .s-case { left: 12%; top: 9%; transform: rotate(-9deg); z-index: 2; }
.stage .s-toy { right: 9%; top: 15%; transform: rotate(10deg); z-index: 3; animation: peek 6s ease-in-out 1s infinite; }
.stage .tag { position: absolute; z-index: 4; background: var(--paper); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.stage .tag b { color: var(--coral-ink); }
.stage .tag-1 { left: 0; bottom: 18%; }
.stage .tag-2 { right: 0; bottom: 6%; }
@keyframes peek { 0%, 70%, 100% { transform: rotate(10deg) translateY(0); } 80% { transform: rotate(12deg) translateY(-14px); } 90% { transform: rotate(9deg) translateY(-4px); } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .stage { max-width: 440px; } }

/* ---- proof strip ---- */
.strip { background: var(--midnight); color: var(--milk); }
.strip ul { list-style: none; margin: 0; padding-block: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; }
.strip li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.strip li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--butter); flex: none; }
@media (max-width: 900px) { .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .strip ul { grid-template-columns: 1fr; } }

/* ---- moments ---- */
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.moment { background: var(--paper); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); }
.moment .where { font-family: var(--display); font-size: var(--step-2); font-weight: 700; }
.moment .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.moment .icon svg { width: 28px; height: 28px; }
@media (max-width: 800px) { .moments { grid-template-columns: 1fr; } }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.step-art { aspect-ratio: 5 / 4; position: relative; display: grid; place-items: center; overflow: hidden; }
.step-art img { position: absolute; width: 40%; filter: drop-shadow(0 14px 16px rgba(38,45,92,.22)); }
.step-body { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.step-body h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--midnight); color: var(--milk); font: 700 .9rem/1 var(--body); margin-right: 10px; vertical-align: 3px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---- pocket explainer ---- */
.pocket { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pocket.stack { grid-template-columns: 1fr; max-width: 980px; }
.pocket-figure { background: var(--paper); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); overflow-x: auto; }
.pocket-figure svg { width: 100%; min-width: 560px; height: auto; display: block; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23262D5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 860px) { .pocket { grid-template-columns: 1fr; } }

/* ---- product cards ---- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--midnight); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--midnight); }
.card-media { aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden; }
.card-media img { position: absolute; top: 9%; left: 50%; translate: -50% 0; height: 82%; width: auto; max-width: none; filter: drop-shadow(0 12px 14px rgba(38,45,92,.2)); transition: transform .3s ease; }
.card:hover .card-media img { transform: rotate(-3deg) scale(1.03); }
.card-media .pair { height: 72%; top: 14%; translate: none; }
.card-media .pair-a { left: 8%; transform: rotate(-7deg); }
.card-media .pair-b { left: auto; right: 8%; transform: rotate(7deg); }
.card:hover .card-media .pair-a { transform: rotate(-9deg); }
.card:hover .card-media .pair-b { transform: rotate(9deg) translateY(-6px); }
.card-body { padding: 16px 18px 20px; display: grid; gap: 4px; align-content: start; }
.card-title { font-family: var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: var(--step--1); color: var(--slate); }
.price { font-weight: 700; color: var(--midnight); font-variant-numeric: tabular-nums; }
.was { text-decoration: line-through; color: var(--slate); font-weight: 500; margin-left: 6px; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--midnight); border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 700; box-shadow: 0 4px 10px -6px rgba(38,45,92,.4); z-index: 2; }
.badge.soon { background: var(--midnight); color: var(--milk); }
.bg-butter { background: var(--tint-butter); } .bg-mint { background: var(--tint-mint); } .bg-blush { background: var(--tint-blush); }
.bg-sky { background: var(--tint-sky); } .bg-lilac { background: var(--tint-lilac); } .bg-cloud { background: var(--tint-cloud); }
.bg-midnight { background: var(--midnight); }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 260px); gap: 20px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* ---- prints ---- */
.prints { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 14px; }
.print { text-decoration: none; display: grid; gap: 8px; justify-items: center; text-align: center; font-weight: 600; font-size: var(--step--1); color: var(--midnight); }
.print img { width: 100%; max-width: 150px; transition: transform .2s ease; filter: drop-shadow(0 10px 12px rgba(38,45,92,.18)); }
.print:hover img { transform: translateY(-4px) rotate(-2deg); }
@media (max-width: 900px) { .prints { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .prints { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- feature pairs ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-media { border-radius: var(--radius); aspect-ratio: 1 / 1; position: relative; overflow: hidden; display: grid; place-items: center; }
.split-media img { position: absolute; width: 38%; filter: drop-shadow(0 18px 18px rgba(38,45,92,.22)); }
.split-body { display: grid; gap: 16px; align-content: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.benefit .num { font-family: var(--display); font-size: var(--step-3); font-weight: 700; color: var(--coral); line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* ---- promise / safety band ---- */
.band { border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.band.dark { background: var(--midnight); color: var(--milk); }
.band.dark h2, .band.dark h3 { color: var(--milk); }
.band.dark .muted { color: #C9CCE0; }
.band.dark .eyebrow { color: var(--butter); }
.band.coral { background: var(--coral); }
.band.coral .eyebrow { color: var(--midnight); }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.promise-list .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.promise-list .dot svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* ---- forms ---- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--step--1); }
.input, select.input, textarea.input { width: 100%; font: 500 1rem/1.4 var(--body); color: var(--midnight); background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.input:focus { outline: none; border-color: var(--midnight); box-shadow: 0 0 0 4px var(--tint-sky); }
textarea.input { min-height: 140px; resize: vertical; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 220px; min-width: 0; border-radius: 999px; padding-inline: 22px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); color: var(--slate); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--midnight); flex: none; }
.form-msg { font-weight: 600; font-size: var(--step--1); }
.form-msg.ok { color: #2E7D5B; }
.form-msg.err { color: var(--coral-ink); }
.band .input { border-color: transparent; }

/* ---- product page ---- */
.crumbs { font-size: var(--step--1); color: var(--slate); padding-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-block: 24px clamp(48px, 6vw, 80px); align-items: start; }
.gallery { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 14px; }
.gallery-main { border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative; overflow: hidden; }
.gallery-main img { position: absolute; top: 7%; left: 50%; translate: -50% 0; height: 86%; width: auto; max-width: none; filter: drop-shadow(0 18px 20px rgba(38,45,92,.22)); }
.gallery-main .badge { top: 18px; left: 18px; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumb { border: 2px solid transparent; border-radius: 14px; aspect-ratio: 1 / 1; padding: 8px; cursor: pointer; display: grid; place-items: center; background: var(--paper); }
.thumb { position: relative; overflow: hidden; }
.thumb img { position: absolute; top: 8%; left: 50%; translate: -50% 0; height: 84%; width: auto; max-width: none; }
.thumb[aria-pressed="true"] { border-color: var(--midnight); }
.thumb span { font-size: .72rem; font-weight: 700; text-align: center; }
.buybox { display: grid; gap: 22px; }
.buybox h1 { font-size: var(--step-3); }
.buy-price { font-size: var(--step-2); font-weight: 700; font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.buy-price small { font-size: var(--step--1); font-weight: 600; color: var(--slate); }
.prelaunch { background: var(--tint-butter); border-radius: var(--radius-sm); padding: 14px 16px; font-size: var(--step--1); display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.prelaunch svg { width: 22px; height: 22px; }
.opt { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend, .opt > label { font-weight: 700; font-size: var(--step--1); padding: 0; margin-bottom: 10px; }
.opt legend span, .opt > label span { font-weight: 500; color: var(--slate); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); cursor: pointer; background-size: 220%; background-position: center 40%; padding: 0; }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--midnight); }
.toy-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.toy-pick { border: 2px solid var(--line); background: var(--paper); border-radius: 14px; padding: 8px 6px 10px; cursor: pointer; display: grid; gap: 6px; justify-items: center; font: 600 .74rem/1.2 var(--body); color: var(--midnight); text-align: center; }
.toy-pick img { height: 64px; width: auto; max-width: none; }
.toy-pick[aria-checked="true"] { border-color: var(--midnight); background: var(--tint-sky); }
.qty-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 52px; border: 0; background: none; font: 700 1.2rem/1 var(--body); cursor: pointer; color: var(--midnight); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty-row .btn { flex: 1 1 200px; }
.assure { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: .8rem; font-weight: 600; text-align: center; }
.assure li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; display: grid; gap: 6px; justify-items: center; }
.assure svg { width: 22px; height: 22px; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; font-weight: 500; }
details.acc[open] summary::after { content: "–"; }
details.acc .acc-body { padding-bottom: 20px; color: var(--slate); }
details.acc .acc-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.spec { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.spec th, .spec td { text-align: left; padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec th { font-weight: 600; color: var(--midnight); width: 45%; padding-right: 12px; }
.spec td { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .gallery { position: static; } }

/* ---- shop ---- */
.shop-head { padding-block: clamp(36px, 5vw, 64px) 12px; display: grid; gap: 14px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-block: 18px 28px; }
.chip { border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 10px 16px; font: 700 .9rem/1 var(--body); cursor: pointer; color: var(--midnight); }
.chip[aria-pressed="true"] { background: var(--midnight); color: var(--milk); border-color: var(--midnight); }
.group-title { margin: 36px 0 18px; font-size: var(--step-2); }

/* ---- page hero (inner pages) ---- */
.page-hero { padding-block: clamp(44px, 6vw, 84px) clamp(28px, 4vw, 48px); }
.page-hero .wrap { display: grid; gap: 16px; max-width: 860px; margin-inline: auto; }
.page-hero.center .wrap { text-align: center; justify-items: center; }
.doc { max-width: 760px; margin-inline: auto; padding-bottom: clamp(56px, 8vw, 104px); }
.doc h2 { font-size: var(--step-2); margin: 44px 0 14px; }
.doc h3 { margin: 28px 0 10px; }
.doc p, .doc li { color: #3A4170; }
.doc p + p { margin-top: 1em; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; }
.doc .updated { color: var(--slate); font-size: var(--step--1); }
.doc table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.callout { border-radius: var(--radius-sm); padding: 18px 20px; background: var(--tint-butter); margin-block: 20px; }
.callout.mint { background: var(--tint-mint); }
.placeholder { background: #FFF1B8; border-bottom: 1px dashed #B8902A; padding: 0 3px; border-radius: 3px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.status.todo { background: var(--tint-butter); }
.status.doing { background: var(--tint-sky); }
.status.done { background: var(--tint-mint); }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.timeline li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; margin-top: 6px; margin-left: 5px; background: var(--paper); border: 3px solid var(--midnight); }
.timeline li.done::before { background: var(--midnight); }
.timeline li::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .when { font-size: var(--step--1); font-weight: 700; color: var(--coral-ink); }

.faq-group { margin-top: 36px; }
.faq-group h2 { font-size: var(--step-2); margin-bottom: 8px; }
.faq-nav { display: flex; gap: 8px; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- cart drawer ---- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(38, 45, 92, .45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--milk); z-index: 90; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; display: grid; grid-template-rows: auto 1fr auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); box-shadow: -20px 0 40px -20px rgba(38,45,92,.4); }
.drawer.open { transform: none; visibility: visible; transition: transform .25s ease; }
.drawer.open + .drawer-scrim, .drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: var(--step-1); }
.icon-btn { background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--midnight); }
.icon-btn:hover { background: var(--tint-blush); }
.icon-btn svg { width: 22px; height: 22px; }
.drawer-body { overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.line-item .li-img { width: 76px; height: 92px; border-radius: 12px; position: relative; overflow: hidden; }
.line-item .li-img img { position: absolute; top: 9%; left: 50%; translate: -50% 0; height: 82%; width: auto; max-width: none; }
.line-item .li-name { font-weight: 700; }
.line-item .li-opts { font-size: .8rem; color: var(--slate); }
.line-item .li-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.line-item .li-actions .qty button { height: 34px; width: 34px; font-size: 1rem; }
.link-btn { background: none; border: 0; padding: 0; font: 600 .8rem/1 var(--body); color: var(--slate); text-decoration: underline; cursor: pointer; }
.totals { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 48px 12px; display: grid; gap: 14px; justify-items: center; color: var(--slate); }
.empty img { width: 90px; }

/* ---- checkout / reserve ---- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 104px); align-items: start; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.summary .row.total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

/* ---- toast ---- */
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translate(-50%, 140%); background: var(--midnight); color: var(--milk); border-radius: 999px; padding: 14px 22px; font-weight: 600; z-index: 95; transition: transform .25s ease; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---- footer ---- */
.footer { background: var(--midnight); color: #D7D9E8; margin-top: 0; }
.footer a { color: #E9EAF3; text-decoration: none; }
.footer a:hover { color: var(--butter); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 64px 40px; }
.footer h2 { color: var(--milk); font-size: var(--step-2); }
.footer h3 { color: var(--milk); font: 700 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer .inline-form { margin-top: 16px; }
.footer .inline-form .input { border-color: transparent; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--step--1); align-items: center; }
.footer-bottom img { height: 26px; width: auto; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
.benefits.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .benefits.three { grid-template-columns: 1fr; } }
.bg-box { background: #E9E8EF; }

/* ---- snap demo: the toy pops off, flips, and a little hand takes it ---- */
.snap { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: center; }
.snap-disc { position: absolute; inset: 4% 2% 2% 4%; border-radius: 50%; background: var(--butter) url("../img/brand/peeking-eyes-butter.svg") center / 300px; }
.snap-rig { position: absolute; left: 28%; top: 6%; width: 45%; aspect-ratio: 900 / 1731; transform: rotate(-8deg); }
.snap-rig img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.snap-carrier { position: absolute; inset: 0; perspective: 1300px; }
.snap-toy { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50% -4px; }
.snap-toy img { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.snap-toy .snap-back { transform: translateZ(-8px) rotateY(180deg); }
.snap-shadow { position: absolute; left: 10%; right: 10%; top: 5.5%; bottom: 7%; border-radius: 14% / 7%; background: rgba(38, 45, 92, .55); filter: blur(14px); opacity: 0; }
.snap-rig .snap-hand { inset: auto; left: 76%; top: 33%; width: 300%; height: auto; transform: translateX(130%); filter: drop-shadow(0 8px 10px rgba(38,45,92,.18)); }
.snap-ring { position: absolute; left: 50%; top: 50%; width: 110%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--coral); transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; }
.snap .tag { position: absolute; z-index: 4; background: var(--paper); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .95rem; box-shadow: var(--shadow); display: flex; gap: 6px; align-items: center; opacity: 0; transform: translateY(8px) scale(.96); white-space: nowrap; }
.snap .tag b { color: var(--coral-ink); }
.snap .tag-off { left: 0; top: 18%; }
.snap .tag-boo { right: 2%; top: 10%; }
.snap .tag-on { left: 2%; bottom: 14%; }
.snap-pause { position: absolute; right: 4%; bottom: 4%; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--midnight); box-shadow: 0 4px 12px -6px rgba(38,45,92,.5); cursor: pointer; display: grid; place-items: center; }
.snap-pause svg { width: 18px; height: 18px; }
.snap-pause .i-play { display: none; }
.snap-pause[aria-pressed="true"] .i-play { display: block; }
.snap-pause[aria-pressed="true"] .i-pause { display: none; }
/* Before the script runs, and for reduced motion: a calm still with the toy lifted and turned. */
.snap:not(.is-live) .snap-toy { transform: translate(22%, -4%) rotate(8deg) translateZ(30px); }
.snap:not(.is-live) .snap-shadow { opacity: .45; transform: translate(26%, 2%) rotate(8deg); }
.snap:not(.is-live) .tag-off { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .snap-pause { display: none; } }
@media (max-width: 860px) { .snap { max-width: 440px; } }

/* ---- hover life ---- */
.flip-media { perspective: 1000px; }
.flip-media .flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.flip-media .flip img { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-media .flip .flip-back { transform: rotateY(180deg) !important; }
.card:hover .flip-media .flip, .card:focus-visible .flip-media .flip { transform: rotateY(180deg); }
.card:hover .flip-media img { transform: none; }
.flip-media .hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.85); border-radius: 999px; padding: 5px 10px; transition: opacity .3s ease; }
.card:hover .flip-media .hint { opacity: 0; }

.lift { position: absolute; inset: 0; display: grid; place-items: center; }
.lift .lift-rig { position: relative; height: 84%; aspect-ratio: 900 / 1731; }
.lift .lift-rig img { position: absolute; inset: 0; width: 100% !important; height: 100%; max-width: none; filter: none; transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .6s ease; }
.step:hover .lift-on, .step:focus-within .lift-on { transform: translate(34%, -8%) rotate(12deg) scale(1.04); filter: drop-shadow(0 18px 18px rgba(38,45,92,.3)); }
.step:hover .lift-tilt, .step:focus-within .lift-tilt { transform: rotate(-6deg) translateY(-4%); }
.step:hover .lift-wiggle, .step:focus-within .lift-wiggle { animation: wiggle .9s ease; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg) translateY(-3%); } 55% { transform: rotate(5deg) translateY(-2%); } 80% { transform: rotate(-2deg); } }
.step { transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.split-media img.photo { position: static; width: 88%; height: auto; filter: none; }
.demo-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .demo-wrap { grid-template-columns: 1fr; } }
.lift .lift-rig img { filter: drop-shadow(0 12px 14px rgba(38,45,92,.22)); }
.lift .lift-rig img.lift-on { filter: none; }
.snap-rig .snap-base { filter: drop-shadow(0 16px 18px rgba(38,45,92,.25)); }
