:root {
 --ivory:#fff4de; --white:#fff; --ink:#25253d; --cream:#fff8eb; --sand:#fce4ec;
 --sakura:#fce4ec; --lavender:#c9b6e4; --sky:#a8d8ea; --sunset:#ffb49a; --matcha:#d3e8d0;
 --accent:#563c76; --focus:#563c76; --muted:#4d465e; --border:#e0cfe4;
 --serif:Georgia,"Times New Roman",serif; --sans:"Segoe UI",Arial,sans-serif;
 --display:clamp(3.5rem,8vw,8.2rem); --title:clamp(2.45rem,5.2vw,5.2rem);
}
h1,h2,h3 { letter-spacing:-.05em; font-weight:500; }
h1 em { font-style:italic; }
.announcement { background:var(--ink); color:#fff; padding:.5rem; }
.announcement span { margin-left:.75rem; letter-spacing:.08em; }
.header,.bottom-nav { background:var(--ivory); }
.header { background:color-mix(in srgb,var(--ivory) 88%,transparent); backdrop-filter:blur(14px); }
.wordmark { font-family:var(--sans); }
.nav-actions { gap:clamp(.05rem,1vw,.75rem); }
.anime-hero { position:relative; display:grid; grid-template-columns:1fr; min-height:clamp(34rem,77svh,52rem); isolation:isolate; overflow:hidden; }
.anime-hero::after { content:""; z-index:-1; position:absolute; inset:0; background:linear-gradient(90deg,#fff4deee,#fff4de78 48%,transparent 85%); pointer-events:none; }
.anime-scene { position:absolute; z-index:-2; width:100%; height:100%; inset:0; object-fit:cover; }
.hero-copy { position:relative; z-index:1; max-width:56rem; padding-right:1rem; }
.hero-copy .eyebrow { color:#563c76; }
.anime-hero .button { background:#25253d; color:#fff; border-color:#25253d; }
.scroll-cue { display:inline-flex; align-items:center; gap:.45rem; min-height:44px; margin-top:1.1rem; font-size:var(--small); }
.hero-mascot { position:absolute; right:3%; bottom:4%; z-index:3; width:clamp(6rem,12vw,12rem); pointer-events:none; }
#hero-product { position:absolute; right:10%; top:50%; transform:translateY(-50%) rotate(3deg); z-index:2; width:clamp(15rem,29vw,27rem); padding:.6rem; border:1px solid #fff; border-radius:1.6rem; background:#fff4def5; color:#25253d; box-shadow:0 1rem 3rem #45233640; }
#hero-product img { width:100%; border-radius:1.05rem; }
#hero-product figcaption { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.25rem .65rem; padding:.5rem .45rem .15rem; font-size:.875rem; }
#hero-product figcaption span { font-weight:700; }
#hero-product figcaption a { text-decoration:underline; text-underline-offset:.2em; }
.tint { background:#eee4f6; }
.world-grid,#personalities { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--gap); }
.world-card { min-width:0; background:var(--white); overflow:hidden; border:1px solid var(--border); border-radius:1.1rem; }
.world-card img { width:100%; aspect-ratio:1.65; object-fit:cover; }
.world-copy { padding:clamp(.85rem,2vw,1.45rem); }
.world-copy p { margin:.5rem 0; }
.world-sakura-romance { background:#fce4ec; color:#25253d; }
.world-blue-ocean { background:#dbf1fa; color:#25253d; }
.world-midnight-tokyo { background:#e8dff5; color:#25253d; }
.world-golden-sunset { background:#ffdfcd; color:#25253d; }
.world-enchanted-forest { background:#e1eedc; color:#25253d; }
.world-dreamy-lavender { background:#eee4fb; color:#25253d; }
.world-card p { color:#4d465e; }
#showcase { background:#e7dbf5; color:#25253d; }
#showcase img { width:100%; max-height:25rem; object-fit:cover; }
#showcase p { color:#4d465e; }
.art { background:var(--sakura) url("../images/fragrance-worlds/sakura-romance.webp") center/cover; }
.art[data-tone="1"] { background:var(--sky) url("../images/fragrance-worlds/blue-ocean.webp") center/cover; }
.art[data-tone="2"] { background:var(--lavender) url("../images/fragrance-worlds/midnight-tokyo.webp") center/cover; }
.art[data-tone="3"] { background:var(--sunset) url("../images/fragrance-worlds/golden-sunset.webp") center/cover; }
.art[data-tone="4"] { background:var(--matcha) url("../images/fragrance-worlds/enchanted-forest.webp") center/cover; }
.art span { background:#fff4de; color:#25253d; border-radius:.6rem; padding:.55rem; margin:.35rem; font-size:clamp(1rem,2vw,1.9rem); }
.art img { max-width:86%; inset:7%; }
.quiz-intro { display:flex; align-items:center; gap:.6rem; }
.quiz-intro img,#wish-mascot { width:4.25rem; }
.anime-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; }
.answer-card { display:block; min-width:0; padding:.35rem; border:1px solid var(--border); border-radius:.55rem; font-size:var(--small); cursor:pointer; }
.answer-card img { width:100%; aspect-ratio:1.65; object-fit:cover; margin-bottom:.28rem; }
.answer-card:has(input:checked) { outline:2px solid var(--accent); }
.quiz-result img { width:5rem; }
.final { color:#fff; background:linear-gradient(#25253d9c,#25253edc),url("../images/fragrance-worlds/midnight-tokyo.webp") center/cover; }
.final p,.final em { color:#fce4ec; }
.final .button { background:#fce4ec;color:#25253d; }
footer { background:#25253d;color:#fff; }
footer p { color:#eee4f6; }
@media(max-width:850px){.world-grid,#personalities{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:720px){
 .anime-hero { min-height:38rem; align-items:end; }
 .anime-hero::after { background:linear-gradient(0deg,#fff4def8,#fff4dec4 52%,#fff4de15 95%); }
 .anime-scene { object-position:65% center; }
 .hero-copy { padding-top:clamp(13.5rem,58vw,23rem); }
 .hero-mascot { right:8%; bottom:auto; top:7rem; max-width:24%; }
 #hero-product { right:auto; left:50%; top:1rem; transform:translateX(-50%) rotate(2deg); width:clamp(10.5rem,42vw,19rem); }
 #hero-product figcaption { font-size:.75rem; }
 .anime-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:350px){.nav-actions .icon{width:2.3rem;min-width:2.3rem;} .world-copy{padding:.7rem;}}
