@charset "UTF-8";

:root {
  --ink: #f5f1eb;
  --muted: #aeb4c5;
  --deep: #070910;
  --panel: #101522;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #8ee7ff;
  --lavender: #bda8ff;
  --rose: #ffb5bd;
  --warm: #ffd7c2;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--deep);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(104, 115, 255, .09), transparent 30rem),
    radial-gradient(circle at 88% 32%, rgba(255, 126, 162, .06), transparent 35rem),
    var(--deep);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

::selection { color: #080a11; background: var(--blue); }

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .46;
  pointer-events: none;
}

.site-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 34%, rgba(72, 153, 178, .12), transparent 28rem),
    radial-gradient(circle at 18% 72%, rgba(129, 100, 194, .09), transparent 34rem),
    linear-gradient(145deg, #06100f 0%, #071217 48%, #090b14 100%);
}

.site-background::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -22%;
  background:
    radial-gradient(ellipse at 68% 38%, rgba(104, 203, 224, .18) 0 4%, transparent 26%),
    radial-gradient(ellipse at 51% 64%, rgba(102, 87, 181, .14) 0 3%, transparent 28%),
    conic-gradient(from 205deg at 61% 47%, transparent 0 20%, rgba(102, 191, 211, .09) 25%, transparent 34% 57%, rgba(163, 130, 218, .08) 63%, transparent 72%);
  filter: blur(52px);
  opacity: .8;
  transform: rotate(-7deg) scale(1.05);
  transform-origin: 60% 48%;
  will-change: transform;
  animation: ambientDrift 22s ease-in-out infinite alternate;
}

.site-background::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 8, 10, .12), rgba(3, 7, 11, .5)),
    radial-gradient(ellipse at center, transparent 0 38%, rgba(2, 7, 10, .15) 66%, rgba(2, 6, 9, .62) 100%);
}

.cursor-glow {
  position: fixed;
  z-index: 2;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 231, 255, .08), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.music-toggle {
  position: fixed;
  z-index: 90;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .65rem .9rem;
  border: 1px solid rgba(142, 231, 255, .2);
  border-radius: 999px;
  color: #dffbff;
  background: rgba(7, 15, 19, .72);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .28), inset 0 0 24px rgba(142, 231, 255, .04);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-.6rem);
  transition: opacity .45s ease, transform .45s var(--ease), border-color .25s ease, background .25s ease;
}

body.has-opened .music-toggle { opacity: 1; pointer-events: auto; transform: translateY(0); }
.music-toggle:hover { border-color: rgba(142, 231, 255, .48); background: rgba(10, 25, 30, .84); }
.music-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.music-toggle__text { font-size: .7rem; letter-spacing: .08em; white-space: nowrap; }
.music-toggle__icon { display: inline-flex; align-items: center; gap: 2px; width: 1rem; height: 1rem; }
.music-toggle__icon i { display: block; width: 2px; height: 30%; border-radius: 1px; background: var(--blue); transform-origin: center; }
.music-toggle.is-playing .music-toggle__icon i { animation: musicBar .8s ease-in-out infinite alternate; }
.music-toggle.is-playing .music-toggle__icon i:nth-child(2) { animation-delay: -.35s; }
.music-toggle.is-playing .music-toggle__icon i:nth-child(3) { animation-delay: -.6s; }

@keyframes musicBar {
  from { height: 28%; opacity: .55; }
  to { height: 92%; opacity: 1; }
}

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, .04);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lavender), var(--blue), var(--rose));
  box-shadow: 0 0 16px rgba(142, 231, 255, .8);
}

main, .welcome { position: relative; z-index: 3; }
main { transition: opacity .8s ease; }
body.is-locked main { opacity: 0; pointer-events: none; }
.section { position: relative; padding: clamp(6rem, 12vw, 11rem) 0; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.wrap--narrow { width: min(820px, calc(100% - 3rem)); }

.eyebrow, .chapter {
  margin: 0 0 1.5rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.chapter { color: #8994ae; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-weight: 400; }
em { color: inherit; font-style: normal; }

.reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.in-view { opacity: 1; transform: none; }

.welcome {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
  background:
    linear-gradient(rgba(4, 9, 10, .74), rgba(4, 8, 10, .91)),
    radial-gradient(circle at 50% 35%, rgba(58, 103, 121, .36), transparent 38%);
  backdrop-filter: blur(2px);
  transition: opacity .8s ease, visibility .8s ease;
}
.welcome[hidden] { display: none; }

.welcome::before,
.welcome::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.welcome::before { width: 38rem; height: 38rem; }
.welcome::after { width: 52rem; height: 52rem; }
.welcome.is-closing { opacity: 0; visibility: hidden; }

.welcome__halo {
  position: absolute;
  width: min(80vw, 38rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 231, 255, .12), transparent 68%);
  animation: breathe 4s ease-in-out infinite;
}

.welcome__inner { position: relative; z-index: 2; max-width: 680px; text-align: center; }
.welcome h1 { margin: 1.4rem 0; font-size: clamp(2.65rem, 7vw, 5.2rem); line-height: 1.18; letter-spacing: -.05em; }
.welcome h1 em { color: transparent; background: linear-gradient(90deg, #fff, var(--blue) 52%, var(--lavender)); background-clip: text; -webkit-background-clip: text; }
.welcome__copy { margin: 0 auto 2.3rem; color: var(--muted); font-size: clamp(.95rem, 2vw, 1.08rem); line-height: 2; }
.welcome__hint { margin: 1.2rem 0 0; color: #72798d; font-size: .72rem; letter-spacing: .12em; }

.sealed-heart {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  margin: 0 auto;
  border: 1px solid rgba(142, 231, 255, .3);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(142, 231, 255, .09), 0 0 28px rgba(142, 231, 255, .08);
}

.sealed-heart span { color: var(--blue); font-family: serif; font-size: 2rem; animation: heartBeat 2.2s ease-in-out infinite; }
.sealed-heart i { position: absolute; inset: -.5rem; border: 1px dashed rgba(189, 168, 255, .2); border-radius: 50%; animation: spin 15s linear infinite; }

.primary-button, .hug-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-width: 15rem;
  padding: 1rem 1.3rem 1rem 1.7rem;
  color: #0a0d15;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(105deg, #fff8ef, #bdefff);
  box-shadow: 0 14px 45px rgba(142, 231, 255, .12);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}

.primary-button:hover, .hug-button:hover { transform: translateY(-3px); box-shadow: 0 18px 55px rgba(142, 231, 255, .22); }
.primary-button b { font-size: 1.25rem; font-weight: 300; transition: transform .3s ease; }
.primary-button:hover b { transform: translateX(.35rem); }

.hero { min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(3rem, 8vw, 9rem); }
.hero__copy { position: relative; z-index: 2; }
.hero h2 { margin: 0; font-size: clamp(3rem, 6.8vw, 6.6rem); line-height: 1.08; letter-spacing: -.065em; }
.hero h2 em { color: transparent; background: linear-gradient(90deg, #fff, var(--blue) 55%, var(--lavender)); background-clip: text; -webkit-background-clip: text; }
.hero__lead { margin: 2.2rem 0 0; color: var(--muted); font-size: clamp(.95rem, 1.5vw, 1.08rem); line-height: 2; }
.days-since { display: flex; align-items: center; gap: 1.25rem; width: fit-content; margin: 2.4rem 0 0; padding: .9rem 1.25rem .9rem 0; border-right: 1px solid rgba(142, 231, 255, .18); }
.days-since strong { color: transparent; background: linear-gradient(135deg, #fff, var(--blue) 48%, var(--lavender)); background-clip: text; -webkit-background-clip: text; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(3.3rem, 6vw, 5.6rem); font-weight: 400; line-height: .82; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.days-since span { color: #8994a8; font-size: .7rem; line-height: 1.8; letter-spacing: .12em; }
.hero__date { margin: 1.35rem 0 0; color: #757d92; font-size: .7rem; letter-spacing: .12em; }

.hero__glow { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero__glow--one { top: 10%; right: -18rem; width: 42rem; height: 42rem; background: radial-gradient(circle, rgba(142, 231, 255, .13), transparent 67%); }
.hero__glow--two { left: -22rem; bottom: -25rem; width: 50rem; height: 50rem; background: radial-gradient(circle, rgba(189, 168, 255, .09), transparent 66%); }

.hero__orbit {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --orbit-glow-x: 50%;
  --orbit-glow-y: 50%;
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  max-width: 420px;
  outline: none;
  cursor: grab;
  perspective: 850px;
}
.hero__orbit:active { cursor: grabbing; }
.hero__orbit:focus-visible { border-radius: 50%; outline: 1px solid rgba(142, 231, 255, .7); outline-offset: .5rem; }
.hero__orbit::after { content: ""; position: absolute; z-index: 8; inset: 30%; border: 1px solid rgba(142, 231, 255, .65); border-radius: 50%; opacity: 0; pointer-events: none; }
.hero__orbit.is-blooming::after { animation: heroOrbitRipple .9s var(--ease); }
.hero-orbit__scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
  will-change: transform;
  pointer-events: none;
}
.hero-orbit__scene::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle at var(--orbit-glow-x) var(--orbit-glow-y), rgba(185, 241, 255, .22), rgba(110, 191, 218, .06) 18%, transparent 48%); opacity: .35; transform: translateZ(35px); transition: opacity .3s ease; }
.hero__orbit.is-active .hero-orbit__scene::before { opacity: .9; }
.orbit { --orbit-depth: -35px; position: absolute; inset: 7%; border: 1px solid rgba(142, 231, 255, .17); border-radius: 50%; transform-style: preserve-3d; animation: orbitSpin3d 22s linear infinite; }
.orbit--inner { --orbit-depth: 20px; inset: 23%; border-style: dashed; animation-duration: 15s; animation-direction: reverse; }
.orbit i { position: absolute; width: .45rem; height: .45rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px var(--blue); transform: translateZ(16px); }
.orbit i:nth-child(1) { top: 8%; left: 27%; }
.orbit i:nth-child(2) { right: 5%; top: 48%; background: var(--lavender); }
.orbit i:nth-child(3) { left: 17%; bottom: 8%; background: var(--rose); }
.hero-orbit__dust { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero-orbit__dust span { --dust-z: 50px; --dust-x: .4rem; --dust-y: -.5rem; position: absolute; width: .28rem; height: .28rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px currentColor; animation: heroDustFloat 3.8s ease-in-out infinite; }
.hero-orbit__dust span:nth-child(1) { left: 19%; top: 31%; --dust-z: 95px; --dust-x: .65rem; color: var(--blue); }
.hero-orbit__dust span:nth-child(2) { right: 18%; top: 28%; --dust-z: 25px; --dust-y: .6rem; color: var(--lavender); animation-delay: -.7s; }
.hero-orbit__dust span:nth-child(3) { left: 28%; bottom: 27%; --dust-z: 70px; --dust-x: -.55rem; color: var(--rose); animation-delay: -1.4s; }
.hero-orbit__dust span:nth-child(4) { right: 27%; bottom: 22%; --dust-z: -15px; --dust-y: -.7rem; color: var(--blue); animation-delay: -2.1s; }
.hero-orbit__dust span:nth-child(5) { left: 47%; top: 18%; --dust-z: 120px; --dust-x: -.4rem; color: #fff; animation-delay: -2.8s; }
.hero-orbit__dust span:nth-child(6) { right: 10%; top: 52%; --dust-z: 55px; --dust-y: .45rem; color: var(--rose); animation-delay: -3.3s; }
.heart-core { display: grid; place-items: center; width: 10rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(142, 231, 255, .16), transparent 68%); transform: translateZ(70px); transform-style: preserve-3d; transition: filter .3s ease; }
.heart-core span { color: transparent; font-family: serif; font-size: 8rem; line-height: 1; -webkit-text-stroke: 1px rgba(214, 244, 255, .9); filter: drop-shadow(0 0 20px rgba(142, 231, 255, .65)); transform: translateZ(18px) scale(1); transition: transform .3s var(--ease), filter .3s ease; }
.hero__orbit.is-active .heart-core span { filter: drop-shadow(0 0 32px rgba(142, 231, 255, .95)); transform: translateZ(24px) scale(1.055); }
.hero__orbit.is-blooming .heart-core span { animation: heroHeartBloom .85s var(--ease); }
.hero__orbit p { position: absolute; bottom: 5%; margin: 0; color: #8992a5; font-family: "Noto Serif SC", "Songti SC", serif; font-size: .82rem; line-height: 1.9; text-align: center; text-shadow: 0 4px 18px rgba(0,0,0,.75); transform: translateZ(52px); }

.scroll-cue { position: absolute; left: 50%; bottom: 2rem; display: flex; flex-direction: column; align-items: center; gap: .7rem; color: #697186; font-size: .65rem; letter-spacing: .18em; transform: translateX(-50%); }
.scroll-cue i { display: block; width: 1px; height: 2.6rem; background: linear-gradient(var(--blue), transparent); animation: scrollLine 1.8s ease-in-out infinite; }

.statement { min-height: 100svh; display: grid; place-items: center; }
.statement__title { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.35; letter-spacing: -.055em; }
.statement__title em { color: var(--blue); }
.statement__aside { max-width: 28rem; margin: 3rem 0 0 auto; color: var(--muted); font-family: "Noto Serif SC", "Songti SC", serif; line-height: 2; }

.unspoken {
  overflow: clip;
  border-top: 1px solid rgba(142, 231, 255, .08);
  border-bottom: 1px solid rgba(189, 168, 255, .08);
  background: linear-gradient(90deg, rgba(3, 10, 12, .96), rgba(9, 11, 18, .88)), radial-gradient(circle at 78% 48%, rgba(142, 231, 255, .08), transparent 34rem);
}
.unspoken::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; background: repeating-linear-gradient(180deg, transparent 0 4px, rgba(255, 255, 255, .018) 4px 5px); }
.unspoken__grid { position: relative; width: min(820px, calc(100% - 3rem)); }
.unspoken__copy h2 { margin: 0 0 2.4rem; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.32; letter-spacing: -.045em; }
.unspoken__copy h2 em { color: transparent; background: linear-gradient(90deg, #c5f4f0, var(--blue), #9d94bf); -webkit-background-clip: text; background-clip: text; }
.unspoken__copy > p:not(.chapter) { max-width: 39rem; margin: 0 0 1.6rem; color: #a5adb8; font-family: "Noto Serif SC", "Songti SC", serif; line-height: 2; }
.unspoken__copy blockquote { position: relative; max-width: 37rem; margin: 2.3rem 0; padding: 1.1rem 0 1.1rem 1.6rem; color: #d9e8e8; border-left: 1px solid rgba(142, 231, 255, .55); font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.8; }
.unspoken__copy .unspoken__last { margin-top: 2.7rem; color: #c9b9ce; font-size: clamp(1.15rem, 2vw, 1.55rem); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.04em; }
.memory-instruction {
  flex: 0 0 auto;
  display: grid;
  gap: .35rem;
  min-width: 16rem;
  padding: 1rem 1.15rem 1rem 1.3rem;
  border: 1px solid rgba(142, 231, 255, .2);
  border-left: 3px solid var(--blue);
  border-radius: .85rem;
  background: linear-gradient(110deg, rgba(142, 231, 255, .1), rgba(189, 168, 255, .035));
  box-shadow: 0 0 32px rgba(75, 163, 187, .07);
}
.memory-instruction span { color: var(--blue); font-size: .62rem; font-weight: 600; letter-spacing: .2em; }
.memory-instruction strong { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1rem; font-weight: 400; }
.memory-instruction small { color: #a1a9ba; font-size: .72rem; }

.memory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.memory-card { position: relative; min-height: 22rem; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.2rem; background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); cursor: pointer; transition: border-color .4s ease, transform .4s var(--ease), background .4s ease; }
.memory-card::after { content: ""; position: absolute; right: -5rem; bottom: -6rem; width: 14rem; height: 14rem; border-radius: 50%; background: radial-gradient(circle, rgba(142,231,255,.11), transparent 68%); transition: transform .6s ease; }
.memory-card:hover { transform: translateY(-5px); border-color: rgba(142, 231, 255, .35); }
.memory-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.memory-card:hover::after { transform: scale(1.25); }
.memory-card__front, .memory-card__back { position: absolute; inset: 0; padding: 2rem; transition: opacity .55s var(--ease), transform .55s var(--ease); }
.memory-card__front { display: flex; flex-direction: column; }
.memory-card__front > span { color: #70788c; font-size: .72rem; letter-spacing: .18em; }
.memory-card__front > i { margin: auto; color: var(--blue); font-family: serif; font-size: 4rem; font-style: normal; filter: drop-shadow(0 0 18px rgba(142,231,255,.4)); }
.memory-card__front h3 { max-width: 19rem; margin: 0 0 .8rem; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.45; }
.memory-card__front p { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem; width: fit-content; min-width: 8.4rem; margin: 0; padding: .65rem .8rem; color: #d9f8ff; border: 1px solid rgba(142, 231, 255, .25); border-radius: 999px; background: rgba(142, 231, 255, .08); font-size: .7rem; letter-spacing: .12em; }
.memory-card__front p b { font-weight: 500; }
.memory-card__front p span { color: var(--blue); font-size: 1rem; transition: transform .3s ease; }
.memory-card:hover .memory-card__front p span { transform: translateX(.25rem); }
.memory-card__back { display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(1.5rem); background: linear-gradient(145deg, rgba(20, 30, 47, .98), rgba(16, 20, 32, .98)); }
.memory-card__back p { margin: 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 2; }
.memory-card__back span { margin-top: 2rem; color: var(--blue); font-size: .77rem; line-height: 1.8; }
.memory-card.is-open .memory-card__front { opacity: 0; transform: translateY(-1.5rem); }
.memory-card.is-open .memory-card__back { opacity: 1; transform: none; }

.signal { overflow: hidden; }
.signal::before { content: ""; position: absolute; inset: 12% 0; background: linear-gradient(90deg, transparent, rgba(77, 117, 157, .08), transparent); transform: skewY(-4deg); }
.signal__grid { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.signal__copy h2 { margin: 0; font-size: clamp(2.6rem, 4.8vw, 4.7rem); line-height: 1.3; letter-spacing: -.05em; }
.signal__copy h2 em { color: var(--blue); }
.signal__copy > p:not(.chapter) { margin: 2rem 0; color: var(--muted); line-height: 2; }
.signal__copy blockquote { margin: 2.8rem 0 0; padding-left: 1.3rem; color: #dcecf2; border-left: 1px solid var(--blue); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.1rem; line-height: 1.8; }
.signal__screen { margin: 0; overflow: hidden; border: 1px solid rgba(142, 231, 255, .22); border-radius: 1.25rem; background: #0a0f19; box-shadow: 0 35px 90px rgba(0,0,0,.35), 0 0 60px rgba(86, 167, 194, .08); }
.signal__topbar { display: flex; align-items: center; gap: .45rem; height: 3rem; padding: 0 1rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.signal__topbar span { width: .45rem; height: .45rem; border-radius: 50%; background: #ff7f8c; }
.signal__topbar span:nth-child(2) { background: #ffd08b; }
.signal__topbar span:nth-child(3) { background: #86e7be; }
.signal__topbar p { flex: 1; margin: 0 0 0 .6rem; color: #697388; font: 500 .58rem/1 monospace; letter-spacing: .11em; }
.universe-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 23rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(71, 148, 177, .14), transparent 28%),
    radial-gradient(circle at 28% 20%, rgba(133, 101, 191, .1), transparent 26%),
    #04080d;
  cursor: crosshair;
  isolation: isolate;
  transition: box-shadow .6s ease, background .6s ease;
}
.universe-shell::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(142, 231, 255, .12), transparent 18%);
  opacity: 0;
  transition: opacity .35s ease;
}
.universe-shell::after { content: ""; position: absolute; z-index: 3; inset: 0; pointer-events: none; box-shadow: inset 0 0 85px rgba(1, 6, 14, .74); }
.universe-shell:hover::before, .universe-shell.is-awake::before { opacity: 1; }
.universe-shell:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; }
.universe-shell.is-lit { box-shadow: inset 0 0 80px rgba(142, 231, 255, .09), 0 0 70px rgba(90, 178, 201, .1); }
#loveUniverse { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; }
.universe-orbit { position: absolute; z-index: 2; left: 50%; top: 50%; border: 1px solid rgba(142, 231, 255, .11); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) rotate(-14deg); }
.universe-orbit--one { width: 56%; aspect-ratio: 1.75; animation: orbitFloat 9s ease-in-out infinite alternate; }
.universe-orbit--two { width: 43%; aspect-ratio: 1.25; border-color: rgba(189, 168, 255, .1); transform: translate(-50%, -50%) rotate(68deg); animation: orbitFloatTwo 11s ease-in-out infinite alternate; }
.universe-copy { position: absolute; z-index: 4; left: 1.35rem; top: 1.2rem; max-width: 16rem; pointer-events: none; }
.universe-copy span { display: inline-flex; padding: .42rem .65rem; color: var(--blue); border: 1px solid rgba(142, 231, 255, .19); border-radius: 999px; background: rgba(3, 9, 14, .52); font-size: .58rem; font-weight: 600; letter-spacing: .16em; backdrop-filter: blur(8px); }
.universe-copy p { margin: .65rem 0 0; color: #c9d5de; font-family: "Noto Serif SC", "Songti SC", serif; font-size: .78rem; line-height: 1.65; text-shadow: 0 1px 12px #000; }
.universe-action { position: absolute; z-index: 5; left: 50%; bottom: 1.2rem; display: inline-flex; align-items: center; gap: .65rem; padding: .72rem 1.05rem; color: #eefcff; border: 1px solid rgba(142, 231, 255, .35); border-radius: 999px; background: rgba(8, 20, 29, .78); box-shadow: 0 0 28px rgba(142, 231, 255, .14); cursor: pointer; transform: translateX(-50%); backdrop-filter: blur(10px); transition: border-color .3s ease, background .3s ease, transform .3s var(--ease); }
.universe-action:hover { border-color: rgba(142, 231, 255, .72); background: rgba(15, 39, 52, .9); transform: translateX(-50%) translateY(-2px); }
.universe-action span { color: var(--blue); }
.universe-action b { font-size: .72rem; font-weight: 500; letter-spacing: .12em; white-space: nowrap; }
.signal__screen figcaption { display: flex; justify-content: space-between; padding: .85rem 1rem; color: #697388; font-size: .62rem; letter-spacing: .08em; }
.signal__screen figcaption span { color: #7ee7ba; }
.signal__screen figcaption b { font-weight: 400; text-align: right; }

.whole-you { min-height: 100svh; display: grid; place-items: center; }
.whole-you__title { margin: 0 0 4rem; font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1.35; letter-spacing: -.05em; }
.whole-you__title em { color: var(--blue); }
.truths { border-top: 1px solid var(--line); }
.truth { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.truth span { color: #737c90; font-size: .82rem; }
.truth b { font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 400; }

.letter { padding-top: 9rem; background: radial-gradient(circle at 50% 50%, rgba(255, 190, 170, .06), transparent 35rem); }
.paper { position: relative; padding: clamp(2.2rem, 6vw, 5.5rem); color: #332f31; border-radius: .4rem; background: #eee8df; box-shadow: 0 40px 100px rgba(0,0,0,.38); transform: rotate(-.35deg); }
.paper::before { content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(45,39,41,.07) 32px); }
.paper__pin { position: absolute; top: 0; right: 2rem; padding: .7rem 1rem; color: #eee8df; background: #333849; font: 600 .58rem/1 monospace; letter-spacing: .14em; }
.paper__dear { position: relative; margin: 0 0 2.2rem; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.35rem; }
.paper__body { position: relative; }
.paper__body p { margin: 0 0 1.5rem; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1rem, 1.8vw, 1.16rem); line-height: 2.15; }
.paper__body .paper__emphasis { margin: 3rem 0; color: #222b3b; font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.75; }
.paper__sign { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; margin-top: 3rem; }
.paper__sign span { color: #77706e; font-size: .75rem; }
.paper__sign strong { color: #2c3445; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.4rem; font-weight: 400; }

.promise h2 { margin: 0 0 3.5rem; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.35; letter-spacing: -.05em; }
.promise-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.promise-list li { display: grid; grid-template-columns: 3rem 1fr 2rem; align-items: center; gap: 1rem; padding: 1.5rem .5rem; border-bottom: 1px solid var(--line); }
.promise-list span { color: #667086; font-size: .68rem; letter-spacing: .15em; }
.promise-list p { margin: 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(1rem, 2vw, 1.25rem); }
.promise-list i { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; color: var(--blue); border: 1px solid rgba(142,231,255,.3); border-radius: 50%; font-size: .68rem; font-style: normal; }

.ending { min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.ending__light { position: absolute; width: min(90vw, 52rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(142,231,255,.12), rgba(189,168,255,.04) 35%, transparent 67%); animation: breathe 4s ease-in-out infinite; }
.ending__content { position: relative; }
.ending h2 { margin: 0; font-size: clamp(3.1rem, 7vw, 6.5rem); line-height: 1.2; letter-spacing: -.06em; }
.ending__content > p:not(.eyebrow, .ending__signature) { margin: 2rem 0 2.5rem; color: var(--muted); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.1rem; }
.hug-button { gap: 3rem; }
.hug-button i { color: #202536; font-family: serif; font-size: 1.4rem; font-style: normal; }
.hug-response { min-height: 2rem; margin: 1.5rem 0 0; color: var(--blue); font-family: "Noto Serif SC", "Songti SC", serif; }
.ending__signature { margin: 4rem 0 0; color: #5f687b; font-size: .63rem; letter-spacing: .25em; }

.burst-heart { position: fixed; z-index: 200; left: var(--x); top: var(--y); color: var(--color); font-family: serif; font-size: var(--size); pointer-events: none; animation: burst 1.45s var(--ease) forwards; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.07); opacity: .72; } }
@keyframes heartBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(.98); } 45% { transform: scale(1.05); } }
@keyframes orbitSpin3d { from { transform: translateZ(var(--orbit-depth)) rotateZ(0deg); } to { transform: translateZ(var(--orbit-depth)) rotateZ(360deg); } }
@keyframes heroDustFloat {
  0%, 100% { opacity: .28; transform: translate3d(0, 0, var(--dust-z)) scale(.72); }
  50% { opacity: .95; transform: translate3d(var(--dust-x), var(--dust-y), var(--dust-z)) scale(1.2); }
}
@keyframes heroHeartBloom {
  0%, 100% { transform: translateZ(24px) scale(1.055); }
  38% { transform: translateZ(42px) scale(1.18); }
  62% { transform: translateZ(28px) scale(.99); }
}
@keyframes heroOrbitRipple {
  0% { opacity: .75; transform: scale(.58); }
  100% { opacity: 0; transform: scale(2.65); }
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 45% { transform: scaleY(1); transform-origin: top; opacity: 1; } 55% { transform: scaleY(1); transform-origin: bottom; opacity: 1; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }
@keyframes burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--turn)) scale(1.25); } }
@keyframes ambientDrift {
  from { transform: rotate(-7deg) scale(1.05) translate3d(-1%, .5%, 0); }
  to { transform: rotate(-3deg) scale(1.12) translate3d(1.5%, -1%, 0); }
}
@keyframes orbitFloat {
  from { transform: translate(-50%, -50%) rotate(-14deg) scale(.96); opacity: .55; }
  to { transform: translate(-50%, -50%) rotate(-5deg) scale(1.05); opacity: .9; }
}
@keyframes orbitFloatTwo {
  from { transform: translate(-50%, -50%) rotate(62deg) scale(1.04); opacity: .45; }
  to { transform: translate(-50%, -50%) rotate(74deg) scale(.94); opacity: .8; }
}

@media (max-width: 850px) {
  .hero__grid, .signal__grid { grid-template-columns: 1fr; }
  .hero__orbit { width: min(88vw, 340px); margin: 1rem auto 0; }
  .hero__copy { padding-top: 3rem; }
  .hero h2 { font-size: clamp(3rem, 13vw, 5rem); }
  .memory-grid { grid-template-columns: 1fr; }
  .memory-card { min-height: 20rem; }
  .signal__screen { order: -1; }
  .signal__copy { max-width: 40rem; }
}

@media (max-width: 600px) {
  .site-background::before {
    inset: -35%;
    filter: blur(42px);
    opacity: .65;
  }
  .site-background::after {
    background:
      linear-gradient(180deg, rgba(4, 9, 9, .42), rgba(4, 8, 10, .74)),
      radial-gradient(circle at 50% 48%, rgba(4, 8, 10, .08), rgba(4, 8, 10, .7) 76%);
  }
  .section { padding: 6rem 0; }
  .wrap, .wrap--narrow { width: min(100% - 2rem, 1180px); }
  .welcome { padding: 1.5rem; }
  .welcome h1 { font-size: 2.15rem; line-height: 1.24; }
  .welcome__copy { font-size: .9rem; }
  .welcome::before { width: 27rem; height: 27rem; }
  .welcome::after { width: 37rem; height: 37rem; }
  .primary-button { min-width: 14rem; }
  .hero { min-height: auto; padding-top: 7.5rem; padding-bottom: 8rem; }
  .hero__grid { gap: 3rem; }
  .hero__copy { width: 100%; max-width: calc(100vw - 2rem); min-width: 0; }
  .hero h2 { font-size: clamp(2rem, 10vw, 3rem); line-height: 1.16; }
  .hero__lead { width: 100%; max-width: calc(100vw - 2rem); overflow-wrap: anywhere; word-break: break-all; }
  .days-since { gap: .9rem; margin-top: 2rem; padding-right: .9rem; }
  .days-since strong { font-size: 3.55rem; }
  .days-since span { font-size: .62rem; }
  .hero__date { max-width: 19rem; line-height: 1.8; }
  .hero__orbit { width: 78vw; }
  .scroll-cue { display: none; }
  .statement { min-height: 90svh; }
  .statement__title { font-size: 2.75rem; }
  .statement__aside { max-width: 17rem; margin-top: 2.5rem; font-size: .88rem; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 2rem; line-height: 1.32; overflow-wrap: anywhere; }
  .memory-instruction { width: 100%; min-width: 0; margin-top: 1.4rem; }
  .memory-card, .memory-card__front, .memory-card__back { padding: 1.4rem; }
  .memory-card__front h3 { font-size: 1.65rem; }
  .signal__grid { gap: 2.5rem; }
  .signal__screen { border-radius: .8rem; }
  .signal__topbar { height: 2.4rem; }
  .universe-shell { min-height: 22rem; aspect-ratio: 1 / 1.02; }
  .universe-copy { left: 1rem; top: 1rem; max-width: 13.5rem; }
  .universe-copy p { font-size: .7rem; }
  .universe-action { bottom: 1rem; }
  .signal__screen figcaption { font-size: .55rem; }
  .truth { grid-template-columns: 1fr; gap: .7rem; }
  .paper { padding: 3.4rem 1.45rem 2.4rem; }
  .paper__body p { font-size: 1rem; line-height: 2; }
  .promise-list li { grid-template-columns: 2.2rem 1fr 1.6rem; }
  .ending h2 { font-size: 3.25rem; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
