/* ==========================================================
   Pack Cadeau — bright ivory, champagne gold & soft blush
   Always light (no dark mode), by design.
   ========================================================== */

:root {
  --bg: #fffcf7;
  --bg-2: #f8f1e7;
  --surface: #ffffff;
  --ink: #2a221b;
  --ink-2: #4a3f35;
  --muted: #7a6e62;
  --line: #efe5d8;
  --gold: #a87d3c;
  --gold-2: #c9a467;
  --gold-soft: #fbf1df;
  --blush: #fbe9ea;
  --blush-2: #f6d9dc;
  --on-ink: #fffcf7;
  --gold-grad: linear-gradient(135deg, #f0d9a8, #d4ad6a 48%, #bf9150);
  --gold-ink: #3a2a12;
  --ok: #2f7a55;
  --ok-soft: #e4f3ea;
  --sale: #d0453a;
  --shadow-sm: 0 1px 2px rgb(120 90 50 / 6%), 0 2px 8px rgb(120 90 50 / 5%);
  --shadow: 0 2px 6px rgb(120 90 50 / 5%), 0 14px 34px -10px rgb(120 90 50 / 18%);
  --shadow-lg: 0 4px 10px rgb(120 90 50 / 6%), 0 30px 60px -18px rgb(120 90 50 / 30%);
  --r: 20px;
  --r-lg: 28px;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tone-mix: 100%;
  color-scheme: light;
}

/* Soft colour tones (collections, product tiles) */
.tone-tech      { --t1: #e7edf8; --t2: #cfdbf0; }
.tone-cuisine   { --t1: #f8ece0; --t2: #eed7c0; }
.tone-beaute    { --t1: #f9e7ea; --t2: #efcfd7; }
.tone-bijoux    { --t1: #f7efdc; --t2: #ead9b4; }
.tone-deco      { --t1: #f4ece0; --t2: #e5d3bb; }
.tone-bien-etre { --t1: #e6f0e7; --t2: #cfe2d3; }
.tone-sport     { --t1: #e2f0ee; --t2: #c9e1dd; }
.tone-voyage    { --t1: #e5ebf3; --t2: #d0dbe9; }
.tone-jeux      { --t1: #eee8f6; --t2: #dad0ee; }
.tone-bureau    { --t1: #eeebe6; --t2: #dcd6cc; }
.tone-enfants   { --t1: #fbefd8; --t2: #f3dcae; }
.tone-none      { --t1: #f3eee6; --t2: #e7dfd2; }

.pc-media, .col, .float-media, .phead.tone-tech, .phead[class*='tone-'] {
  background:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, #fff 55%, transparent) 0, transparent 55%),
    linear-gradient(150deg,
      color-mix(in srgb, var(--t1, #f3eee6) var(--tone-mix), var(--surface)),
      color-mix(in srgb, var(--t2, #e7dfd2) var(--tone-mix), var(--surface)));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 .4em; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sec { padding-block: clamp(56px, 8vw, 96px) 0; }
.sec-tight { padding-top: 28px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.kicker svg { width: 16px; height: 16px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  --bgc: var(--gold-grad); --fg: var(--gold-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bgc); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 700 .95rem/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-gold {
  --fg: var(--gold-ink);
  background: var(--gold-grad);
  box-shadow: 0 8px 24px -10px rgb(160 122 63 / 70%), inset 0 1px 0 rgb(255 255 255 / 45%);
}
.btn-gold:hover { box-shadow: 0 14px 32px -10px rgb(160 122 63 / 80%), inset 0 1px 0 rgb(255 255 255 / 45%); }
.btn-ghost { --bgc: var(--surface); --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold); box-shadow: none; }
.btn[hidden] { display: none; }
.round {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.round:hover { background: var(--gold-soft); color: var(--gold); border-color: var(--gold-2); }
.round:disabled { opacity: .35; cursor: default; background: var(--surface); color: var(--ink); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--gold); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* ---------- Strip & header ---------- */
.strip { background: linear-gradient(90deg, var(--blush), var(--gold-soft) 50%, var(--blush)); color: var(--ink-2); font-size: .84rem; border-bottom: 1px solid var(--line); }
.strip-in { display: flex; align-items: center; justify-content: center; gap: 6px 10px; flex-wrap: wrap; min-height: 40px; padding-block: 8px; text-align: center; }
.strip b { color: var(--ink); font-weight: 700; }
.strip a { color: var(--gold); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.strip a svg { width: 15px; height: 15px; }
.strip-count { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #fff; color: var(--gold); box-shadow: var(--shadow-sm); font-weight: 700; font-variant-numeric: tabular-nums; }

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgb(0 0 0 / 30%); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { color: var(--gold); display: grid; }
.logo-word { font-family: var(--serif); font-size: 1.65rem; line-height: 1; letter-spacing: -.01em; }
.logo-word em { color: var(--gold); }
.hdr-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.hdr-nav a { position: relative; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; padding-block: 6px; }
.hdr-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr-nav a:hover::after { transform: scaleX(1); }
.hdr-nav-cta { display: none !important; }
.hdr-cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; }
.burger svg:last-child { display: none; }
.burger[aria-expanded='true'] svg:first-child { display: none; }
.burger[aria-expanded='true'] svg:last-child { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(40px, 7vw, 90px) clamp(24px, 4vw, 40px); }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgb(201 164 103 / 26%), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-8%, 6%) scale(1.08); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .32em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--gold); width: 18px; height: 18px; }

.hero-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 540px; justify-self: center; --mx: 0; --my: 0; }
.hero-ring { position: absolute; inset: 12%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.hero-ring::before { content: ''; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--gold) 30%, transparent); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float {
  position: absolute; z-index: 2; width: 44%; padding: 10px; border-radius: 26px;
  background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  animation: bob 6s ease-in-out infinite;
}
.float.f1 { left: 2%; top: 6%; rotate: -7deg; translate: calc(var(--mx) * -14px) calc(var(--my) * -14px); }
.float.f2 { right: 0; top: 30%; width: 40%; rotate: 6deg; animation-delay: -2s; translate: calc(var(--mx) * 20px) calc(var(--my) * 18px); }
.float.f3 { left: 16%; bottom: 2%; width: 38%; rotate: -2deg; animation-delay: -4s; translate: calc(var(--mx) * -8px) calc(var(--my) * 22px); }
@keyframes bob { 50% { transform: translateY(-12px); } }
.float-media { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; overflow: hidden; }
.float-media span { font-size: clamp(3rem, 7vw, 5.2rem); filter: drop-shadow(0 12px 14px rgb(0 0 0 / 18%)); }
.float-media img { width: 100%; height: 100%; object-fit: cover; }
.float-info { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 6px 2px; font-size: .78rem; color: var(--muted); }
.float-info span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.float-info b { color: var(--ink); font-size: .92rem; white-space: nowrap; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); padding-bottom: 4px; border-bottom: 1.5px solid var(--gold); }
.more svg { width: 18px; transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.pc {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--r); padding: 8px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.pc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.pc-media { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pc-emoji { font-size: clamp(3.4rem, 6vw, 4.6rem); filter: drop-shadow(0 14px 16px rgb(0 0 0 / 16%)); transition: transform .6s var(--ease); }
.pc:hover .pc-media img { transform: scale(1.06); }
.pc:hover .pc-emoji { transform: scale(1.12) rotate(-4deg); }
.pc-badges { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.bdg { padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .01em; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.bdg-dark { background: var(--gold-grad); color: var(--gold-ink); }
.bdg-ok { background: var(--ok-soft); color: var(--ok); }
.bdg-sale { background: var(--sale); color: #fff; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 14px 10px 8px; }
.pc-meta { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin: 0 0 6px; }
.pc-star { color: var(--gold); font-weight: 700; }
.pc-title { font-size: .98rem; font-weight: 600; line-height: 1.38; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.pc-title a { text-decoration: none; }
.pc-title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--r); }
.pc-ship { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 0 0 14px; }
.pc-ship svg { width: 16px; height: 16px; }
.pc-ship.is-fast { color: var(--ok); font-weight: 600; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.pc-price { margin: 0; font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.pc-price s { font-size: .82rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.pc-cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: .8rem; font-weight: 700; white-space: nowrap; transition: background .3s, color .3s; }
.pc-cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.pc:hover .pc-cta { background: var(--gold-grad); color: var(--gold-ink); }
.pc:hover .pc-cta svg { transform: translateX(3px); }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * 22px) / 4)); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding: 6px 4px 26px; margin-inline: -4px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Quiz ---------- */
.sec-quiz { position: relative; }
.quiz-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.quiz-intro { position: sticky; top: 110px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink-2); }
.ticks li::before { content: '✓'; display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: .8rem; font-weight: 800; }
.quiz {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 3.4vw, 36px); box-shadow: var(--shadow); scroll-margin-top: 120px;
}
.quiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.quiz-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.quiz-bar span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--gold-grad); transition: width .5s var(--ease); }
.quiz-count { font-size: .82rem; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.quiz-q { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; padding: 0; margin-bottom: 4px; }
.quiz-q small { font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.quiz-hint { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tiles-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile-in {
  position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 32px 12px 14px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: .93rem;
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.tile-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--surface); font-size: 1.3rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.tile-txt { line-height: 1.25; }
.tile-check { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); transition: all .2s; }
.tile:hover .tile-in { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); transform: translateY(-2px); }
.tile:hover .tile-ico { transform: scale(1.08) rotate(-4deg); }
.tile input:checked + .tile-in { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent); }
.tile input:checked + .tile-in .tile-check { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tile input:focus-visible + .tile-in { outline: 2px solid var(--gold); outline-offset: 2px; }
.tile input:disabled + .tile-in { opacity: .4; cursor: not-allowed; transform: none; }
.quiz-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.quiz-nav [data-prev] { margin-right: auto; }
.quiz.is-loading [data-submit] { pointer-events: none; opacity: .85; }
.quiz.is-loading [data-submit] svg { animation: spin 1s linear infinite; }

.js .quiz.is-stepper .step { display: none; }
.js .quiz.is-stepper .step.active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* ---------- Collections ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.col {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 20px;
  border-radius: var(--r); text-decoration: none; color: var(--ink); overflow: hidden; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.col:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.col-emoji { position: absolute; right: 16px; top: 14px; font-size: 3.2rem; filter: drop-shadow(0 10px 12px rgb(0 0 0 / 15%)); transition: transform .6s var(--ease); }
.col:hover .col-emoji { transform: scale(1.15) rotate(8deg); }
.col-txt strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.05; margin-bottom: 6px; }
.col-txt span { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.col-txt svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.col:hover .col-txt svg { transform: translateX(4px); }

/* ---------- How it works ---------- */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how li { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.how-n { display: block; font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.how p { color: var(--muted); margin: 0; }

/* ---------- Band ---------- */
.band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); color: var(--ink);
  background: linear-gradient(120deg, var(--blush) 0%, var(--gold-soft) 55%, #fdf6ea 100%); border: 1px solid var(--line);
}
.band::before { content: ''; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(255 255 255 / 85%), transparent); pointer-events: none; }
.band > * { position: relative; }
.band h2 { margin-bottom: 8px; }
.band p { color: var(--muted); margin: 0; }

/* ---------- Page head ---------- */
.phead { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.phead-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.phead h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: .2em; }
.phead .lead { margin: 0; }
.phead-emoji { flex: none; display: grid; place-items: center; width: clamp(96px, 14vw, 160px); aspect-ratio: 1; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-lg); font-size: clamp(3rem, 6vw, 4.6rem); }
.back { display: flex; width: max-content; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 22px; }
.back svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.back:hover { color: var(--ink); }
.back:hover svg { transform: translateX(-3px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.tags span { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar-count { margin: 0; color: var(--muted); }
.toolbar-count b { color: var(--ink); }
.toolbar-ctrls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--line); transition: background .25s; }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.switch input:checked + .switch-ui { background: var(--ok); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--gold); outline-offset: 2px; }
.select select {
  appearance: none; min-height: 42px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a07a3f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
  color: var(--ink); font: 600 .9rem var(--sans);
}
.pc.is-hidden { display: none; }
.empty-filter { text-align: center; color: var(--muted); padding: 24px; }

.empty { text-align: center; padding: 56px 16px; }
.empty > span { font-size: 3.6rem; display: block; margin-bottom: 12px; }
.empty p { color: var(--muted); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.4em; }
.prose li { margin-bottom: .5em; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 24px 0 8px; }
.facts > div { padding: 20px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.facts span { color: var(--gold); display: block; margin-bottom: 10px; }
.facts b { font-size: 1.15rem; display: block; }
.facts p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.ftr { margin-top: clamp(64px, 9vw, 110px); background: linear-gradient(180deg, var(--bg-2), #f5ebdd); color: var(--muted); padding-top: 56px; font-size: .92rem; border-top: 1px solid var(--line); }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.ftr .logo { color: var(--ink); }
.ftr-brand p { margin-top: 16px; max-width: 34ch; }
.ftr h4 { margin: 4px 0 14px; color: var(--gold); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.ftr-grid a:not(.logo) { display: block; text-decoration: none; padding: 4px 0; color: var(--ink-2); transition: color .2s; }
.ftr-grid a:not(.logo):hover { color: var(--gold); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 22px 30px; border-top: 1px solid #eadccb; font-size: .8rem; color: var(--muted); }
.ftr-bottom p { margin: 0; max-width: 90ch; }
.ftr-demo { color: var(--gold); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 32px); translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 14px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg);
  transition: opacity .3s, translate .3s var(--ease);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .pc[data-reveal].is-in { transition: opacity .8s var(--ease) var(--d, 0ms), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.js .pc[data-reveal].is-in:hover { transform: translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .carousel-track { grid-auto-columns: minmax(240px, calc((100% - 2 * 22px) / 3)); }
}

@media (max-width: 960px) {
  .burger { display: grid; }
  .hdr-cta { margin-left: auto; }
  .hdr-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgb(0 0 0 / 35%);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .hdr.is-open .hdr-nav { opacity: 1; visibility: visible; transform: none; }
  .hdr-nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .hdr-nav a::after { display: none; }
  .hdr-nav-cta { display: inline-flex !important; align-items: center; gap: 8px; color: var(--gold) !important; border-bottom: 0 !important; }
  .hdr-nav-cta svg { width: 18px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; }
  .quiz-wrap { grid-template-columns: 1fr; }
  .quiz-intro { position: static; }
  .how { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hdr-in { min-height: 64px; gap: 12px; }
  .hdr-cta { display: none; }
  .burger { margin-left: auto; }
  .logo-word { font-size: 1.45rem; }
  .strip { font-size: .78rem; }
  .strip-msg { display: none; }
  .strip-in { flex-wrap: nowrap; white-space: nowrap; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-art { max-width: 340px; }
  .float { padding: 7px; border-radius: 18px; }
  .float-media { border-radius: 13px; }
  .float-info { font-size: .7rem; padding-top: 7px; }
  .float-info b { font-size: .8rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc { padding: 6px; border-radius: 16px; }
  .pc-media { border-radius: 11px; }
  .pc-body { padding: 10px 6px 4px; }
  .pc-title { font-size: .86rem; }
  .pc-meta, .pc-ship { font-size: .72rem; }
  .pc-ship { margin-bottom: 10px; }
  .pc-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
  .pc-price { font-size: 1.05rem; }
  .pc-cta { justify-content: center; padding: 9px 10px; }
  .bdg { font-size: .64rem; padding: 4px 8px; }
  .pc-badges { left: 6px; top: 6px; right: 6px; gap: 4px; }
  .carousel-track { grid-auto-columns: 72%; gap: 12px; }
  .carousel-nav { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile-in { padding: 10px 26px 10px 10px; gap: 10px; font-size: .86rem; }
  .tile-check { width: 16px; height: 16px; top: 7px; right: 7px; }
  .tile-ico { width: 34px; height: 34px; font-size: 1.1rem; border-radius: 10px; }
  .quiz-nav .btn { flex: 1; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .col { min-height: 140px; padding: 14px; }
  .col-emoji { font-size: 2.4rem; right: 12px; top: 10px; }
  .col-txt strong { font-size: 1.3rem; }
  .phead-in { align-items: flex-start; }
  .phead-emoji { width: 76px; font-size: 2.4rem; }
  .toolbar { align-items: stretch; }
  .toolbar-ctrls { width: 100%; justify-content: space-between; }
  .band { flex-direction: column; align-items: stretch; text-align: left; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
