:root { color-scheme: dark; --night: #0a1529; --dusk: #15254a; --snow: #f3eee4; --frost: #aeb9d3; --lamp: #f3b65f; --ink: #2e251d; --thread: #ffffff38; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--snow); background: radial-gradient(70vw 70vh at 78% 34vh, #f3b65f1c, transparent 70%), linear-gradient(var(--night), var(--dusk) 90vh, var(--night) 200vh) var(--night); font-family: Manrope, sans-serif; }
/* Snowfall moves one tile per cycle, so the loop has no visible seam. */
body::before { content: ''; position: fixed; z-index: -1; inset: -340px 0 0; pointer-events: none; opacity: .55; background-image: radial-gradient(2px 2px at 40px 70px, #fff, transparent), radial-gradient(1.5px 1.5px at 190px 30px, #fff, transparent), radial-gradient(2.5px 2.5px at 280px 210px, #fffb, transparent), radial-gradient(1.5px 1.5px at 110px 260px, #fff, transparent), radial-gradient(2px 2px at 230px 130px, #fffa, transparent); background-size: 340px 340px; animation: snowfall 26s linear infinite; }
@keyframes snowfall { to { transform: translateY(340px); } }
a { color: inherit; }
header, main, footer { max-width: 1200px; margin: auto; padding-inline: 40px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 28px 'Cormorant Garamond', serif; }
.brand img { border-radius: 10px; }
nav { display: flex; gap: 16px; }
nav button { background: transparent; border: 0; color: var(--frost); font: inherit; font-size: 14px; min-height: 44px; cursor: pointer; padding: 4px; }
nav button[aria-pressed="true"] { color: var(--snow); text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lamp); outline-offset: 5px; }
h1, h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(56px, 6.2vw, 92px); line-height: .94; letter-spacing: -.025em; margin: 0 0 30px; }
/* Handwriting is reserved for wishes: the headline word and every wish below. */
h1 em { display: block; font: 400 1.02em/1 'Marck Script', cursive; letter-spacing: 0; color: var(--lamp); margin-top: .06em; }
h2 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -.015em; margin: 0; }
p { line-height: 1.7; color: var(--frost); font-size: 17px; margin: 0; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 500px; align-items: center; gap: 40px; min-height: calc(100svh - 92px); padding-block: 16px 96px; }
.hero-copy > p { max-width: 470px; }
.platforms { margin-top: 34px; }
.browser-action { display: inline-flex; justify-content: center; align-items: center; min-height: 58px; padding: 15px 30px; background: var(--snow); color: var(--ink); text-decoration: none; border-radius: 29px; font-size: 16px; font-weight: 600; box-shadow: 0 10px 34px #f3b65f38; transition: background .2s, transform .2s; }
.browser-action:hover { background: #fff; transform: translateY(-2px); }
.stores { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.stores > :is(a, span) { display: flex; align-items: center; gap: 10px; padding: 11px 17px; border: 1px solid var(--thread); border-radius: 24px; color: var(--frost); font-size: 14px; }
.stores > a { text-decoration: none; background: #f9edda14; }
.stores > a:hover { background: #f9edda26; border-color: var(--frost); }
.stores > a:focus-visible { outline: 2px solid var(--frost); outline-offset: 4px; }
.stores small { font-size: 11px; opacity: .8; }
.hero-copy > .quiet { font-size: 13px; margin-top: 22px; }

.hero-tree { position: relative; margin: 0; justify-self: center; height: clamp(480px, 78svh, 780px); aspect-ratio: 917 / 1716; }
.scene { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-tree .scene { border-radius: 999px 999px 26px 26px; outline: 1px solid #f3b65f66; outline-offset: 10px; box-shadow: 0 40px 90px #0009; }
.bauble { position: absolute; width: 15%; translate: -50% 0; filter: drop-shadow(0 4px 5px #0007); }
.bauble img { display: block; width: 100%; height: auto; transform-origin: 50% 0; animation: sway 5.4s ease-in-out infinite alternate; }
.bauble:nth-of-type(even) img { animation-duration: 6.6s; animation-delay: -2s; }
@keyframes sway { from { rotate: -3deg; } to { rotate: 3deg; } }
.came-true::after { content: '✓'; position: absolute; right: -8%; bottom: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(#fbe6a6, #cf9a3e); color: var(--ink); font: 700 13px Manrope, sans-serif; box-shadow: 0 2px 6px #0007; }
.hero-tree .bauble { animation: hang .8s cubic-bezier(.2, 1.3, .4, 1) both; }
.hero-tree .bauble:nth-of-type(1) { animation-delay: .3s; }.hero-tree .bauble:nth-of-type(2) { animation-delay: .5s; }.hero-tree .bauble:nth-of-type(3) { animation-delay: .7s; }
.hero-tree .bauble:nth-of-type(4) { animation-delay: .9s; }.hero-tree .bauble:nth-of-type(5) { animation-delay: 1.1s; }.hero-tree .bauble:nth-of-type(6) { animation-delay: 1.3s; }
@keyframes hang { from { opacity: 0; transform: translateY(-18px) scale(.7); } }
.bauble-sleep { top: 36.5%; left: 53%; width: 11%; }.bauble-wonders { top: 42%; left: 44%; width: 17%; }.bauble-travel { top: 50%; left: 61%; }
.bauble-pet { top: 53%; left: 37%; }.bauble-family { top: 63%; left: 47%; }.bauble-home { top: 65%; left: 68%; width: 13%; }

.wish { position: absolute; translate: 0 -50%; margin: 0; padding: 6px 17px 9px; border: 1px solid var(--thread); border-radius: 24px; background: #0a1529c4; backdrop-filter: blur(10px); color: var(--snow); font: 400 23px/1.1 'Marck Script', cursive; white-space: nowrap; box-shadow: 0 8px 24px #0006; animation: appear .7s 1.7s both; }
.wish::after { content: ''; position: absolute; top: 50%; width: 26px; height: 1px; background: #fffa; }
.wish-left::after { left: 100%; }.wish-right::after { right: 100%; }
.wish small { font: 600 11px Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--lamp); margin-left: 6px; }
.wish-wonders { top: 48%; right: 71%; }.wish-travel { top: 55.5%; left: 75%; animation-delay: 2s; }.wish-family { top: 69%; right: 68%; animation-delay: 2.3s; }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } }

.chapter { padding-block: 72px; }
.chapter-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-bottom: 52px; }
.chapter-intro p { max-width: 460px; }
/* The arcade breaks out of the text column to show every scene side by side. */
.arcade { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; width: min(100vw - 48px, 1640px); margin-inline: calc((100% - min(100vw - 48px, 1640px)) / 2); }
.arcade figure { margin: 0; transition: transform .3s; }
.arcade figure:hover { transform: translateY(-8px); }
.arcade img { display: block; width: 100%; height: auto; border-radius: 999px 999px 12px 12px; }
.arcade figcaption { margin-top: 14px; text-align: center; font: 500 19px/1.15 'Cormorant Garamond', serif; text-wrap: balance; }

/* Each wish hangs as a cream paper tag: the ornament art carries a baked cream fringe that only disappears on cream. */
.garland { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--thread); }
.garland li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 30px; padding: 30px 12px 22px; border-radius: 16px; background: radial-gradient(circle at 50% 14px, var(--night) 4px, transparent 5px) var(--snow); color: var(--ink); text-align: center; box-shadow: 0 18px 40px #0008; transform-origin: 50% -30px; animation: sway 6.2s ease-in-out infinite alternate; animation-delay: -1s; }
.garland li::before { content: ''; position: absolute; bottom: calc(100% - 14px); left: 50%; width: 1px; height: 44px; background: var(--thread); }
.garland li:nth-child(2) { margin-top: 86px; transform-origin: 50% -86px; animation-delay: -3.4s; }.garland li:nth-child(2)::before { height: 100px; }
.garland li:nth-child(3) { margin-top: 50px; transform-origin: 50% -50px; animation-delay: -5s; }.garland li:nth-child(3)::before { height: 64px; }
.garland li:nth-child(4) { margin-top: 104px; transform-origin: 50% -104px; animation-delay: -2.2s; }.garland li:nth-child(4)::before { height: 118px; }
.garland li:nth-child(5) { margin-top: 38px; transform-origin: 50% -38px; animation-delay: -4.3s; }.garland li:nth-child(5)::before { height: 52px; }
.garland li:nth-child(6) { margin-top: 76px; transform-origin: 50% -76px; animation-delay: -.4s; }.garland li:nth-child(6)::before { height: 90px; }
.garland img { width: auto; height: 96px; }
.garland span { font: 400 23px/1.12 'Marck Script', cursive; text-wrap: balance; }
.garland small { font: 700 11px Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8f621c; }
.garland .came-true::after { top: 104px; right: auto; bottom: auto; left: calc(50% + 20px); }

.share { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.share h2 { margin-bottom: 24px; }
.share p { max-width: 460px; }
.card { position: relative; order: -1; justify-self: center; margin: 0; width: min(100%, 300px); aspect-ratio: 917 / 1716; rotate: -3deg; border: 10px solid var(--snow); border-radius: 6px; box-shadow: 0 34px 70px #000a; }
.card .bauble-explore { top: 38%; left: 51%; }.card .bauble-cozy { top: 50%; left: 40%; }.card .bauble-sea { top: 56%; left: 62%; }.card .bauble-mountains { top: 66%; left: 47%; }

.closing { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 96px 120px; }
.closing img { filter: drop-shadow(0 0 22px #f3b65fcc); animation: glow 3.4s ease-in-out infinite alternate; }
@keyframes glow { to { filter: drop-shadow(0 0 44px #f3b65f); transform: scale(1.06); } }
.closing h2 { font-size: clamp(46px, 6vw, 84px); margin: 26px 0 20px; }
.closing p { max-width: 460px; margin-bottom: 34px; }

footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--thread); padding-block: 28px; font-size: 13px; color: var(--frost); }
footer > div { display: flex; gap: 20px; }
@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr) 380px; }
  .arcade { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .hero-tree { height: auto; width: 100%; }
  .wish { max-width: 7.4em; border-radius: 18px; font-size: 21px; white-space: normal; text-align: center; }
  .wish small { display: block; margin: 4px 0 0; }
  .garland { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .garland li:nth-child(n) { margin-top: 0; rotate: -1.5deg; animation: none; }.garland li:nth-child(even) { rotate: 1.2deg; }
  .garland li:nth-child(n)::before { content: none; }
}
@media (max-width: 760px) {
  header, main, footer { padding-inline: 24px; }
  .brand { font-size: 23px; gap: 8px; }.brand img { width: 32px; height: 32px; }
  nav { gap: 8px; }nav button { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 44px; min-height: 0; padding-block: 20px 40px; }
  h1 { font-size: 56px; margin-bottom: 22px; }
  .hero-copy > p { font-size: 16px; }
  .platforms, .hero-copy > .quiet { max-width: 420px; }
  .browser-action { width: 100%; }.stores { justify-content: center; }.stores > :is(a, span) { gap: 6px; padding: 11px 12px; font-size: 13px; }.hero-copy > .quiet { text-align: center; }
  .hero-tree { width: min(100%, 310px); }
  .wish { padding: 5px 12px 7px; font-size: 18px; max-width: 34vw; }
  .wish::after { width: 14px; }.wish small { font-size: 9px; }
  .wish-wonders { right: 70%; }.wish-travel { left: 73%; }.wish-family { top: 70%; }
  .came-true::after { width: 18px; height: 18px; font-size: 11px; }
  .chapter { padding-block: 48px; }
  .chapter-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .arcade { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; width: auto; margin-inline: -24px; padding-inline: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; }
  .arcade figure { scroll-snap-align: start; }
  .garland { grid-template-columns: 1fr 1fr; gap: 14px; }
  .share { grid-template-columns: 1fr; gap: 44px; }
  .card { order: 0; width: min(78%, 280px); }
  .closing { padding-block: 64px 72px; }
  footer { flex-direction: column; gap: 16px; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) { header, main, footer { padding-inline: 18px; }h1 { font-size: 48px; }.brand { font-size: 20px; }nav { gap: 4px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
