/* Yukimi — site. Cinematic and painted: big artwork, few words, warm Christmas light. */
:root {
  --bg: #0b0a18;
  --bg-2: #120f24;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f6f4fb;
  --muted: #b3b1c9;
  --soft: #8582a3;
  --accent: #ff5a4e;
  --accent-2: #ffb547;
  --gold: #ffd38a;
  --green: #3fd08b;
  --radius: 22px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- type: a painterly serif for display, the system font for reading ---------- */
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; }
h3 { font-family: var(--round); font-weight: 700; margin: 0; font-size: 1.15rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 8.4vw, 7rem); line-height: 0.95; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.025em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 46ch; margin: 0; }
.eyebrow { font: 600 0.78rem/1 var(--round); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }
.section-head.center p { margin-inline: auto; max-width: 54ch; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--panel-2);
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--b); color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: transform 160ms var(--ease-out), background-color 150ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary {
  border: 0; color: #2a0d06;
  background: linear-gradient(120deg, #ff6a52, #ffb547);
  box-shadow: 0 12px 34px -10px rgba(255, 110, 70, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-glass { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.btn-big { height: 58px; padding: 0 30px; font-size: 1.06rem; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 0.9rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --b: rgba(255, 255, 255, 0.14); }
  .btn-glass:hover { background: rgba(255, 255, 255, 0.2); }
  .btn-primary:hover { box-shadow: 0 16px 44px -8px rgba(255, 140, 70, 1), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
}

/* ---------- nav: floats over the painting, turns to glass once you scroll ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 10, 24, 0.72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.2rem var(--round); letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.95rem; transition: color 150ms ease; }
.nav-links a:hover { color: #fff; }
.nav .spacer { flex: 1; }
.lang { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; border-radius: 999px; height: 34px; padding: 0 12px; font: 600 0.8rem system-ui; cursor: pointer; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 120px 0 clamp(70px, 12vh, 130px); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; background: #0b0a18 url("../img/hero.jpg") center 42% / cover; transform-origin: 60% 40%; animation: drift 40s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 22, 0.55) 0%, rgba(8, 8, 22, 0) 26%, rgba(8, 8, 22, 0) 42%, rgba(8, 8, 22, 0.55) 70%, var(--bg) 100%),
              radial-gradient(70% 50% at 50% 100%, rgba(8, 8, 22, 0.6), transparent 70%); }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1%, 1%); } }
.hero-copy { position: relative; text-align: center; display: grid; justify-items: center; gap: 22px; }
.hero-copy::before { content: ""; position: absolute; inset: -12% -6% -18%; z-index: -1; pointer-events: none; background: radial-gradient(48% 50% at 50% 55%, rgba(6, 6, 20, 0.55), transparent 75%); }
.hero h1 { text-shadow: 0 4px 40px rgba(0, 0, 20, 0.55); }
.hero .lead { color: rgba(255, 255, 255, 0.86); text-shadow: 0 2px 16px rgba(0, 0, 20, 0.6); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; font: 600 0.8rem var(--round); letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill .kanji { color: var(--gold); letter-spacing: 0.15em; text-transform: none; font-size: 0.95rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.meta { color: rgba(255, 255, 255, 0.62); font-size: 0.88rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 40px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 600px) { .scroll-cue { display: none; } .hero .btn-big { width: 100%; } .cta { width: 100%; } }

/* ---------- sections ---------- */
section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 35%, var(--bg)); }

/* the demo Mac */
.live { padding-top: clamp(40px, 6vw, 80px); }
.mac { position: relative; width: min(1060px, 100%); margin-inline: auto; }
.mac-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden;
  background: #111 url("../img/hero.jpg") center / cover;
  box-shadow: 0 0 0 10px #1b1d24, 0 0 0 11px #2b2e38, 0 60px 140px -30px rgba(0, 0, 0, 0.85), 0 0 160px -20px rgba(255, 160, 90, 0.35);
}
.mac-base { height: 18px; width: 112%; margin: 0 -6%; background: linear-gradient(#2b2e38, #15161c); border-radius: 0 0 22px 22px; position: relative; }
.mac-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 6px; transform: translateX(-50%); background: #0d0e12; border-radius: 0 0 8px 8px; }
.menubar { position: absolute; inset: 0 0 auto; height: 4.2%; background: rgba(20, 20, 35, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; gap: 1.6%; padding-left: 2%; font: 600 clamp(6px, 1vw, 11px) system-ui; color: rgba(255, 255, 255, 0.85); }
.menubar span:first-child { font-weight: 800; }
.window { position: absolute; left: 22%; top: 24%; width: 46%; height: 46%; border-radius: 10px; background: rgba(250, 250, 253, 0.96); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); padding: 3.2% 3.6%; }
.window .lights { display: flex; gap: 5px; margin-bottom: 6%; }
.window .lights i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.window .lights i:nth-child(2) { background: #febc2e; }
.window .lights i:nth-child(3) { background: #28c840; }
.window .line { height: 7px; border-radius: 4px; background: #e3e5ee; margin-bottom: 9px; }
.window .line.t { width: 46%; height: 11px; background: #cfd2e2; margin-bottom: 14px; }
.window2 { left: 60%; top: 52%; width: 30%; height: 30%; background: rgba(36, 38, 56, 0.94); }
.window2 .line { background: rgba(255, 255, 255, 0.12); }
.dock { position: absolute; left: 50%; bottom: 1.6%; transform: translateX(-50%); width: 62%; height: 9%; border-radius: 14px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: space-evenly; padding: 0 1.4%; }
.dock i { width: 9%; aspect-ratio: 1; border-radius: 22%; background: linear-gradient(135deg, var(--a, #6e8bff), var(--b2, #3c4bd6)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
#snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; }
.sprite { position: absolute; pointer-events: none; }
.village { position: absolute; left: 19%; bottom: 10.6%; width: 62%; height: 7%; pointer-events: none; }
.village img { position: absolute; bottom: 0; height: 100%; width: auto; }
.train { position: absolute; bottom: 0; height: 52%; display: flex; align-items: flex-end; gap: 2px; animation: train 22s linear infinite; }
.train img { position: static; height: 100%; transform: scaleX(-1); }
@keyframes train { from { left: -20%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } to { left: 100%; opacity: 0; } }
.hint { position: absolute; right: 2%; top: 6%; font: 600 clamp(7px, 1vw, 12px) system-ui; color: rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.3); padding: 5px 10px; border-radius: 99px; backdrop-filter: blur(8px); }
.xmas-tree { position: absolute; left: 6%; bottom: 10.6%; height: 30%; pointer-events: none; filter: drop-shadow(0 0 18px rgba(255, 200, 90, 0.35)); }
.gifts { position: absolute; left: 13.5%; bottom: 10.6%; height: 5%; display: flex; gap: 2px; align-items: flex-end; pointer-events: none; }
.gifts img { height: 100%; }
.gifts img:nth-child(2) { height: 75%; }
.snowman { position: absolute; right: 7%; bottom: 10.6%; height: 12%; pointer-events: none; }
.sleigh { position: absolute; top: 13%; left: -30%; height: 7%; display: flex; align-items: flex-end; gap: 1%; transform: scaleX(-1); pointer-events: none; animation: sleigh 16s linear infinite; filter: drop-shadow(0 0 10px rgba(255, 220, 150, 0.4)); }
.sleigh img { height: 100%; }
.sleigh img.s { height: 110%; }
@keyframes sleigh { 0% { left: 110%; top: 16%; } 55% { left: -35%; top: 9%; } 100% { left: -35%; top: 9%; } }
.strip { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--soft); font-size: 0.9rem; padding-top: 34px; }
.strip span::before { content: "✦ "; color: var(--gold); }

/* ---------- Christmas ---------- */
.xmas-section { background: radial-gradient(60% 55% at 50% 38%, rgba(255, 120, 70, 0.16), transparent 70%), linear-gradient(180deg, var(--bg), #1a0d16 42%, #0c1714 100%); overflow: hidden; }
.xmas-scene { position: relative; height: 300px; margin: 0 auto 50px; max-width: 760px; }
.xmas-glow { position: absolute; left: 50%; bottom: 20px; width: 560px; max-width: 100%; height: 280px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 190, 100, 0.38), transparent); }
.xs-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(#f4f6ff, #c9d2f0); box-shadow: 0 -6px 30px rgba(255, 255, 255, 0.12); }
.xs-tree { position: absolute; left: 50%; bottom: 30px; height: 270px; transform: translateX(-50%); filter: drop-shadow(0 0 30px rgba(255, 200, 90, 0.4)); }
.xs-tree2 { position: absolute; left: 14%; bottom: 30px; height: 150px; opacity: 0.95; }
.xs-snowman { position: absolute; right: 16%; bottom: 30px; height: 120px; }
.xs-gifts { position: absolute; left: 50%; bottom: 26px; transform: translateX(-10%); display: flex; gap: 4px; align-items: flex-end; }
.xs-gifts img { height: 46px; }
.xs-gifts img:nth-child(2) { height: 34px; }
.xs-gifts img:nth-child(4) { height: 40px; }
.xmas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.card p { color: var(--muted); margin: 10px 0 0; }
.xcard { background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)); }
.xcard .xi { font-size: 1.8rem; line-height: 1; margin-bottom: 14px; }
@media (max-width: 900px) { .xmas-grid { grid-template-columns: 1fr; } .xs-tree2 { display: none; } .xmas-scene { height: 240px; } .xs-tree { height: 220px; } }

/* ---------- universes: one big painted stage ---------- */
.universes-section { background: linear-gradient(180deg, #0c1714, var(--bg) 30%); }
.showcase { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #0d0c1c;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.showcase .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1100ms ease, transform 7s linear; }
.showcase .layer.on { opacity: 1; transform: scale(1); }
.showcase::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(6, 6, 18, 0.78)); }
.sc-cap { position: absolute; left: clamp(20px, 4vw, 44px); right: 20px; bottom: clamp(22px, 4vw, 44px); z-index: 1; display: grid; gap: 6px; max-width: 560px; transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.sc-cap.out { opacity: 0; transform: translateY(6px); }
.sc-cap b { font: 600 clamp(1.7rem, 3.6vw, 2.8rem)/1.05 var(--serif); letter-spacing: -0.02em; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); }
.sc-cap span { color: rgba(255, 255, 255, 0.82); font-size: clamp(0.95rem, 1.4vw, 1.1rem); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.sc-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: rgba(255, 255, 255, 0.12); }
.sc-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.thumbs { display: flex; gap: 12px; overflow-x: auto; padding: 18px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 auto; width: 150px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; position: relative; padding: 0; border: 0; cursor: pointer; scroll-snap-align: start;
  background: #111; outline: 2px solid transparent; outline-offset: 2px; opacity: 0.6; transition: opacity 200ms ease, outline-color 200ms ease, transform 160ms var(--ease-out); }
.thumb:active { transform: scale(0.97); }
.thumb.on { opacity: 1; outline-color: rgba(255, 255, 255, 0.9); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7)); }
.thumb .n { position: absolute; left: 10px; right: 8px; bottom: 7px; z-index: 1; font: 600 0.78rem/1.2 system-ui; color: #fff; text-align: left; }
.thumb .d { display: none; }
@media (hover: hover) and (pointer: fine) { .thumb:hover { opacity: 0.95; } }
.more-unis { margin-top: 22px; color: var(--muted); text-align: center; }
@media (max-width: 700px) { .showcase { aspect-ratio: 4 / 5; border-radius: 22px; } .thumb { width: 120px; } }

/* ---------- little world, features ---------- */
.world { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stage { height: 150px; display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin: -8px -8px 20px; border-radius: 14px;
  background: radial-gradient(70% 90% at 50% 100%, rgba(255, 170, 90, 0.22), transparent 70%), linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)); position: relative; }
.stage::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 14px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.stage img { position: relative; z-index: 1; margin-bottom: 15px; }
.pets img { height: 66px; }
.pets img:nth-child(2) { height: 58px; }
.plants img { height: 120px; }
.plants img:nth-child(2) { height: 90px; }
.houses img { height: 64px; }
.houses img.small { height: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { font-size: 0.8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 14px; }
@media (max-width: 900px) { .world { grid-template-columns: 1fr; } .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- final: back to a painting ---------- */
.final { text-align: center; padding: clamp(120px, 16vw, 200px) 0; overflow: hidden; isolation: isolate; }
.final-art { position: absolute; inset: 0; z-index: -1; background: url("../img/neige.jpg") center / cover; }
.final-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 10, 24, 0.35) 30%, rgba(11, 10, 24, 0.45) 70%, var(--bg) 100%); }
.final .wrap { position: relative; display: grid; gap: 26px; justify-items: center; }
.final h2 { max-width: 16ch; text-shadow: 0 4px 30px rgba(0, 0, 20, 0.6); }
.final-icon { width: 96px; height: 96px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.5)); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--soft); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .spacer { flex: 1; }

/* ---------- simple pages (download, thanks, legal) ---------- */
.page { padding: 130px 0 100px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page h2 { font-size: 1.6rem; margin: 40px 0 10px; }
.page p, .page li { color: #d8d6e8; }
.page table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.95rem; }
.page th, .page td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page th { color: var(--muted); font-weight: 600; }
.page-art { position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; background: url("../img/hero.jpg") center 40% / cover; opacity: 0.5;
  mask-image: linear-gradient(#000 20%, transparent); -webkit-mask-image: linear-gradient(#000 20%, transparent); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; margin: 26px 0; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 0.95rem var(--round); color: #2a0d06; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }
.keybox { font: 500 0.95rem ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--panel-2); border: 1px dashed var(--line); padding: 12px 14px; border-radius: 10px; color: var(--muted); }
.note { color: var(--soft); font-size: 0.9rem; }

/* ---------- string lights & page snow ---------- */
#page-snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }
.garland { position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none; z-index: 2; }
.hero > .garland { top: 64px; }
.garland svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.garland .wire { fill: none; stroke: #2b3a2f; stroke-width: 2; }
.bulb { position: absolute; width: 11px; height: 16px; border-radius: 50% 50% 45% 45%; transform: translate(-50%, 0) rotate(var(--rot, 0deg)); transform-origin: 50% 0;
  background: var(--c); box-shadow: 0 0 12px 3px var(--c), 0 0 26px 6px color-mix(in srgb, var(--c) 45%, transparent); animation: twinkle var(--d, 3s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
.bulb::before { content: ""; position: absolute; left: 50%; top: -5px; width: 7px; height: 6px; transform: translateX(-50%); background: #3a4a3e; border-radius: 2px; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; filter: saturate(0.7); } }
.garland-section { top: -6px; }

/* ---------- entrances (once, on scroll) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 60ms; } .reveal.d2 { transition-delay: 110ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 300ms ease; }
  .hero-art { animation: none; }
  .scroll-cue span { animation: none; }
  .train { animation: none; left: 30%; }
  .bulb { animation: none; }
  .sleigh { animation: none; left: 60%; top: 10%; }
  .showcase .layer { transition: opacity 400ms ease; transform: none; }
}
