/* Vellune: editorial luxury. Sharp edges, hairline rules, one serif, colour only where the perfume is. */
:root {
  --bg: #0a0a0c;
  --bg2: #111114;
  --ink: #ebe6dc;
  --muted: #8f8a80;
  --faint: #5e5a53;
  --line: rgba(235, 230, 220, .13);
  --gold: #c9a96e;
  --accent: #8f74ff;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --sans: "Jost", "Futura", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: min(1320px, calc(100% - 2 * clamp(20px, 4vw, 56px)));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.02; letter-spacing: -.02em; }
h1 { font-size: clamp(48px, 7vw, 112px); }
h2 { font-size: clamp(36px, 4.6vw, 68px); }

/* Section index: "01 — The scent constellation" with a rule */
.index { display: flex; align-items: baseline; gap: 14px; margin: 0 0 28px; font: 400 13px var(--sans); letter-spacing: .02em; color: var(--muted); }
.index b { font: italic 400 20px var(--serif); color: var(--ink); letter-spacing: 0; }
.index::after { content: ""; flex: 1; height: 1px; background: var(--line); transform: translateY(-4px); }
.section-head { width: var(--wrap); margin: 0 auto 64px; display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: 24px 80px; align-items: end; }
.section-head .index { grid-column: 1 / -1; margin: 0; }
.section-head .sub { margin: 0; }
.sub, .lede { color: var(--muted); font-size: 16px; max-width: 460px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 22px clamp(20px, 4vw, 56px); transition: background .5s, padding .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 10, 12, .86); backdrop-filter: blur(10px); padding-block: 14px; border-color: var(--line); }
.brand { justify-self: center; grid-column: 2; display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 21px var(--serif); letter-spacing: .34em; padding-left: .34em; }
.brand .emblem { width: 20px; height: 20px; object-fit: contain; }
.nav-links { grid-column: 1; grid-row: 1; display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-links a { text-decoration: none; font-size: 13px; color: var(--muted); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }
.bag-btn { grid-column: 3; justify-self: end; background: none; border: 0; padding: 4px 0; cursor: pointer; font: 400 13px var(--sans); color: var(--ink); display: flex; gap: 6px; }
.bag-btn::before { content: "Bag"; }
.bag-btn svg { display: none; }
.bag-count::before { content: "("; }
.bag-count::after { content: ")"; }
.bag-count { color: var(--muted); transition: color .3s; }
.bag-count.has { color: var(--gold); }
.bag-count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { opacity: .2; } }

/* BUTTONS: quiet rectangles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 0; font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s; }
.btn-gold { background: var(--ink); color: var(--bg); }
.btn-gold:hover { background: transparent; color: var(--ink); }
.btn-gold:disabled { background: transparent; color: var(--faint); border-color: var(--line); cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn.wide { width: 100%; }
.icon-btn { background: none; border: 0; cursor: pointer; font: 300 28px/1 var(--sans); color: var(--muted); }
.icon-btn:hover { color: var(--ink); }
.text-link { background: none; border: 0; padding: 0 0 3px; border-bottom: 1px solid var(--ink); font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -2; background: #0d0d14; }
.hero-bg img { width: 100%; height: 112%; object-fit: cover; opacity: .82; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 12, .9) 0%, rgba(10, 10, 12, .5) 46%, rgba(10, 10, 12, .1) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.hero-inner { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 40px; padding: 140px 0 72px; }
.hero-copy h1 { max-width: 9ch; }
.hero-copy .lede { margin: 30px 0 40px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-bottle { position: relative; justify-self: end; width: min(400px, 100%); aspect-ratio: 4 / 5; }
.hero-bottle img { width: 100%; height: 100%; object-fit: contain; animation: float 9s ease-in-out infinite; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6)); }
.halo { display: none; }
.hero-bottle::after { content: "N° 1 — Minuit, eau de parfum 50 ml"; position: absolute; right: -6px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; white-space: nowrap; font: 400 11px var(--sans); letter-spacing: .12em; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }
.scroll-cue { position: absolute; bottom: 0; left: 50%; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: var(--ink); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-24px); } to { transform: translateY(64px); } }

/* CONSTELLATION */
.constellation { position: relative; padding: 160px 0 140px; background: radial-gradient(ellipse 60% 50% at 40% 60%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%), var(--bg); transition: background 1.4s var(--ease); }
.const-tabs { width: var(--wrap); margin: 0 auto 28px; display: flex; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; }
.const-tab { --c: var(--gold); position: relative; display: flex; align-items: center; gap: 12px; padding: 0 0 10px; border: 0; background: none; cursor: pointer; font: 400 clamp(20px, 2vw, 26px) var(--serif); color: var(--faint); transition: color .4s var(--ease); }
.const-tab i { width: 14px; height: 1px; background: var(--c); }
.const-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.const-tab:hover { color: var(--muted); }
.const-tab[aria-selected="true"] { color: var(--ink); }
.const-tab[aria-selected="true"]::after { transform: none; }
.const-stage { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.55fr 1fr; border: 1px solid var(--line); }
.const-sky { position: relative; overflow: hidden; min-height: 460px; border-right: 1px solid var(--line); background: #050508; }
.const-sky::before { content: ""; position: absolute; inset: -24px; background: url("assets/night-sky-1600.webp") center / cover no-repeat; opacity: .85; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .8s var(--ease); }
.const-svg { position: relative; }
.const-svg { width: 100%; height: 100%; display: block; }
.const-svg .link { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .8; }
.const-svg .note { cursor: pointer; outline: none; }
.const-svg .note .orb { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 55%, transparent)); transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease), filter .5s var(--ease); }
.const-svg .note:hover .orb, .const-svg .note:focus .orb, .const-svg .note.active .orb { transform: scale(1.14); filter: drop-shadow(0 0 16px var(--accent)); }
.const-svg .label { font: italic 400 15px var(--serif); fill: var(--ink); pointer-events: none; }
.const-svg .tier { font: 400 9.5px var(--sans); fill: var(--muted); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.const-tip { position: absolute; left: 24px; bottom: 24px; max-width: 420px; display: flex; gap: 14px; align-items: center; padding: 12px 18px 12px 12px; background: rgba(10, 10, 12, .92); border: 1px solid var(--line); font-size: 14px; color: var(--muted); opacity: 0; transform: translateY(6px); transition: all .4s var(--ease); pointer-events: none; }
.const-tip.show { opacity: 1; transform: none; }
.const-tip strong { color: var(--ink); font: italic 400 17px var(--serif); }
.const-tip img { flex: none; width: 64px; height: 64px; object-fit: contain; }
.const-legend { position: absolute; top: 18px; left: 24px; right: 24px; margin: 0; font: italic 400 14px var(--serif); color: var(--muted); }
.const-card { position: relative; padding: 36px 36px 32px; display: flex; flex-direction: column; }
.const-card .bottle { height: 220px; margin: 0 auto 14px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); }
.const-card h3 { font-size: 40px; }
.const-card .tagline { font: italic 400 17px var(--serif); color: var(--muted); margin: 4px 0 16px; }
.const-card .story { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.tiers { display: grid; margin: 0 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.tiers li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tiers span { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tiers i { display: inline-flex; align-items: center; gap: 6px; font-style: normal; }
.tiers i img { width: 26px; height: 26px; object-fit: contain; }
.tiers b { font: 400 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }
.card-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-buy .price { font: 400 26px var(--serif); }
.swap-in { animation: swapIn .8s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* COLLECTION: a hairline grid, not cards */
.collection { padding: 140px 0; }
.grid { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product { --c: var(--gold); position: relative; padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .5s var(--ease); }
.product:hover { background: var(--bg2); }
.product .shot { aspect-ratio: 4 / 5; display: grid; place-items: center; margin-bottom: 22px; overflow: hidden; cursor: pointer; }
.product .shot img { width: 88%; filter: drop-shadow(0 26px 28px rgba(0, 0, 0, .65)); transition: transform 1.2s var(--ease); }
.product:hover .shot img { transform: scale(1.04); }
.product h3 { font-size: 28px; }
.product .tagline { display: flex; align-items: center; gap: 10px; font: italic 400 15px var(--serif); color: var(--muted); margin: 2px 0 18px; }
.product .tagline::before { content: ""; width: 18px; height: 1px; background: var(--c); }
.sizes { display: flex; gap: 18px; margin: 0 0 20px; }
.sizes button { padding: 0 0 4px; border: 0; border-bottom: 1px solid transparent; background: none; font: 400 13px var(--sans); color: var(--faint); cursor: pointer; transition: color .3s, border-color .3s; }
.sizes button:hover { color: var(--muted); }
.sizes button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.buy-row { display: flex; align-items: baseline; justify-content: space-between; }
.buy-row .price { font: 400 22px var(--serif); }
.add { padding: 0 0 3px; border: 0; border-bottom: 1px solid var(--ink); background: none; font: 500 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .3s, border-color .3s; }
.add:hover { color: var(--gold); border-color: var(--gold); }

/* ATELIER */
.atelier { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; border-block: 1px solid var(--line); overflow: hidden; }
.atelier-media { position: relative; overflow: hidden; background: #1a130c; }
.atelier-media img { width: 100%; height: 115%; object-fit: cover; }
.atelier-copy { padding: clamp(56px, 8vw, 128px) clamp(24px, 6vw, 104px); align-self: center; }
.atelier-copy > p:not(.index) { color: var(--muted); max-width: 470px; margin: 30px 0 48px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.stats div { padding: 18px 18px 0 0; }
.stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font: 400 48px/1 var(--serif); }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

/* QUIZ */
.quiz { position: relative; padding: 150px 0; overflow: hidden; isolation: isolate; }
.smoke { position: absolute; inset: 0; z-index: -1; background: url("assets/smoke-1600.webp") center / cover no-repeat; opacity: .28; animation: drift 34s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translateX(-3%); } }
.quiz-box { width: min(880px, calc(100% - 40px)); margin: 0 auto; border: 1px solid var(--line); padding: clamp(26px, 4vw, 52px); background: rgba(10, 10, 12, .82); backdrop-filter: blur(6px); min-height: 400px; }
.quiz-progress { display: flex; gap: 4px; margin-bottom: 30px; }
.quiz-progress span { flex: 1; height: 1px; background: var(--line); }
.quiz-progress span.on { background: var(--ink); }
.quiz-box > .eyebrow { margin: 0 0 10px; font: italic 400 16px var(--serif); color: var(--muted); }
.quiz-q { font: 400 clamp(28px, 3.2vw, 40px)/1.15 var(--serif); margin: 0 0 30px; }
.quiz-opts { display: grid; border-top: 1px solid var(--line); }
.quiz-opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; text-align: left; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; font: 400 18px var(--serif); transition: padding .4s var(--ease), color .3s; }
.quiz-opt::after { content: "→"; grid-row: 1 / span 2; grid-column: 2; font-family: var(--sans); color: var(--faint); transition: color .3s, transform .4s var(--ease); }
.quiz-opt:hover { padding-left: 14px; }
.quiz-opt:hover::after { color: var(--ink); transform: translateX(4px); }
.quiz-opt small { grid-column: 1; color: var(--muted); font: 400 13px var(--sans); }
.quiz-result { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.quiz-result img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); }
.quiz-result .eyebrow { margin: 0; font: italic 400 16px var(--serif); color: var(--muted); }
.quiz-result h3 { font-size: 52px; margin: 2px 0 10px; }
.quiz-result p { color: var(--muted); }
.quiz-result .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* DISCOVERY */
.discovery { padding: 140px 0 160px; background: var(--bg2); border-top: 1px solid var(--line); }
.disc-wrap { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.disc-options { display: grid; border-right: 1px solid var(--line); }
.disc-opt { --c: var(--gold); position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 24px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; transition: background .4s var(--ease); }
.disc-opt:last-child { border-bottom: 0; }
.disc-opt:hover { background: rgba(255, 255, 255, .02); }
.disc-opt img { width: 54px; height: 64px; object-fit: contain; }
.disc-opt b { display: block; font: 400 22px var(--serif); }
.disc-opt small { color: var(--muted); font: italic 400 14px var(--serif); }
.disc-opt .n { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font: 500 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.disc-opt[aria-pressed="true"] { background: rgba(255, 255, 255, .03); }
.disc-case { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.disc-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; flex: 1; }
.slot { --c: var(--line); position: relative; border-radius: 999px 999px 0 0; border: 1px solid var(--line); min-height: 210px; display: grid; place-items: end center; padding-bottom: 14px; overflow: hidden; }
.slot.filled { border-color: color-mix(in srgb, var(--c) 70%, transparent); background: linear-gradient(0deg, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); animation: pour .8s var(--ease); }
@keyframes pour { from { opacity: .3; } }
.slot img { position: absolute; inset: 10px; width: calc(100% - 20px); height: 74%; object-fit: contain; }
.slot span { position: relative; font: italic 400 14px var(--serif); color: var(--muted); }
.slot button { position: absolute; top: 14px; right: 50%; transform: translateX(50%); border: 0; background: none; cursor: pointer; font: 300 18px var(--sans); color: var(--muted); }
.disc-price { margin: 0; color: var(--muted); font-size: 14px; }
.disc-price span { font: 400 30px var(--serif); color: var(--ink); margin-right: 8px; }

/* FOOTER */
.footer { width: var(--wrap); margin: 0 auto; padding: 90px 0 44px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font: 400 clamp(40px, 7vw, 96px)/1 var(--serif); letter-spacing: .2em; }
.footer-brand .emblem { width: .62em; height: .62em; object-fit: contain; }
.footer-brand p { flex-basis: 100%; margin: 6px 0 0; color: var(--muted); letter-spacing: 0; font: italic 400 18px var(--serif); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--ink); }
.concept { grid-column: 1 / -1; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.concept strong { color: var(--muted); font-weight: 500; }

/* BAG */
.bag-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .6); }
.bag { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(440px, 100%); background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .6s var(--ease); }
.bag.open { transform: none; }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.bag-head h3 { font-size: 28px; }
.ship { padding: 16px 28px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ship p { margin: 0 0 10px; }
.ship-bar { height: 1px; background: var(--line); }
.ship-bar span { display: block; height: 1px; width: 0; background: var(--gold); transition: width .8s var(--ease); }
.bag-items { list-style: none; margin: 0; padding: 0 28px; overflow: auto; flex: 1; }
.bag-items .empty { color: var(--muted); text-align: center; padding: 70px 0; font: italic 400 18px var(--serif); }
.bag-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-item img { width: 56px; height: 70px; object-fit: contain; }
.bag-item b { font: 400 19px var(--serif); display: block; }
.bag-item small { color: var(--muted); font-size: 12px; }
.qty { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 13px; }
.qty button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 16px; padding: 0; }
.qty button:hover { color: var(--ink); }
.bag-item .line-price { font: 400 18px var(--serif); }
.bag-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.subtotal strong { font: 400 24px var(--serif); color: var(--ink); }
.note { text-align: center; color: var(--faint); font-size: 12px; margin: 12px 0 0; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; translate: -50% 16px; padding: 14px 22px; background: var(--ink); color: var(--bg); font-size: 13px; opacity: 0; pointer-events: none; transition: all .5s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }

/* REVEAL */
.reveal { opacity: 0; translate: 0 22px; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease); }
.reveal.in { opacity: 1; translate: none; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .const-stage { grid-template-columns: 1fr; }
  .const-sky { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .brand { grid-column: 1; justify-self: start; padding-left: 0; }
}
@media (max-width: 800px) {
  .hero { align-items: center; }
  .hero-inner { grid-template-columns: 1fr; padding: 110px 0 70px; gap: 10px; }
  .hero-bottle { width: min(280px, 72vw); justify-self: center; order: -1; }
  .hero-bottle::after { display: none; }
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 10%, rgba(10, 10, 12, .55) 60%, rgba(10, 10, 12, .3)); }
  .section-head { grid-template-columns: 1fr; margin-bottom: 44px; }
  .const-sky { min-height: 0; aspect-ratio: 1 / 1; }
  .const-svg .label { font-size: 23px; }
  .const-svg .tier { font-size: 13px; }
  .const-tip { left: 12px; right: 12px; bottom: 12px; font-size: 13px; }
  .const-legend { left: 14px; right: 14px; top: 12px; font-size: 13px; }
  .const-card { padding: 28px 22px; }
  .atelier { grid-template-columns: 1fr; }
  .atelier-media { height: 70vw; }
  .quiz-result { grid-template-columns: 1fr; text-align: center; }
  .quiz-result img { width: 150px; margin: 0 auto; }
  .quiz-result .row { justify-content: center; }
  .disc-wrap { grid-template-columns: 1fr; }
  .disc-options { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer { grid-template-columns: 1fr; }
  .constellation, .collection, .quiz, .discovery { padding-block: 100px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .stats dt { font-size: 36px; }
  .stats div + div { padding-left: 12px; }
  .const-card h3 { font-size: 34px; }
  .quiz-result h3 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}
