@charset "UTF-8";

/* Local variable font keeps Chinese clear without a third-party request. */
@font-face {
  font-family: "Romance Sans";
  src: url("../assets/fonts/romance-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #edf0fc;
  --text: #3c3156;
  --muted: #756382;
  --faint: #84718f;
  --purple: #9470c2;
  --purple-deep: #76539f;
  --pink: #c487af;
  --blue: #79a3df;
  --gold: #9265b7;
  --line: #b39ac62e;
  --glass: #ffffff61;
  --glass-border: #ffffffd6;
  --shadow: 0 22px 65px #6756951a, 0 3px 10px #7b679e0a;
  --sans: "Romance Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); font-size: 17px; line-height: 1.85; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body:has(dialog[open]) { overflow: hidden; }
::selection { color: #382650; background: #c6a7e76b; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button[hidden], [hidden] { display: none !important; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #9471d2; outline-offset: 5px; }
img { display: block; height: 100%; width: 100%; object-fit: cover; }
svg { display: block; }
fieldset { margin: 0; }
.icon { height: 22px; width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.section-shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; position: relative; }
.content-section { padding-top: 130px; padding-bottom: 35px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; background: #fff; color: var(--purple-deep); padding: 12px 20px; border-radius: 18px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

/* Shared, gentle transitions between the three static pages. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-dissolve-out .35s ease both; }
::view-transition-new(root) { animation: page-dissolve-in .65s cubic-bezier(.22,1,.36,1) both; }
body { transition: opacity .22s ease; }
body.is-leaving { opacity: 0; }
@keyframes page-dissolve-out { to { opacity: 0; filter: blur(3px); } }
@keyframes page-dissolve-in { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  body { transition: none; }
}
.desktop-nav a[aria-current="page"] { color: var(--purple-deep); }
.desktop-nav a[aria-current="page"]:after { transform: scale(1); }
.mobile-nav a[aria-current="page"] { color: var(--purple-deep); font-weight: 650; }

/* Color lives behind the glass, without opaque dark panels. */
.nebula { position: fixed; z-index: -2; inset: -15%; pointer-events: none; background: radial-gradient(ellipse at 78% 12%, #c9b4f3 0%, #d9c8f240 26%, transparent 48%), radial-gradient(ellipse at 93% 49%, #c8ddfa 0%, #bfd4f04d 24%, transparent 52%), radial-gradient(ellipse at 8% 43%, #f2d6e9 0%, #f2d6e942 28%, transparent 55%), radial-gradient(ellipse at 35% 93%, #d9d1f8 0%, transparent 46%), linear-gradient(145deg, #f7f7fd, #eef0fc 54%, #f8eff8); animation: atmosphere-drift 24s ease-in-out infinite alternate; }
#starfield { position: fixed; inset: 0; height: 100%; width: 100%; pointer-events: none; z-index: -1; mix-blend-mode: soft-light; opacity: .65; }
.liquid-highlight { position: relative; isolation: isolate; }
.liquid-highlight:after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 25%) var(--my, 15%), #fff6, transparent 78%); opacity: .65; z-index: -1; }

/* A floating optical-glass navigation capsule. */
.site-header { width: min(1320px, calc(100% - 64px)); min-height: 78px; padding: 13px 24px; margin: 25px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 26px; position: relative; z-index: 15; border-radius: 100px; border: 1px solid var(--glass-border); background: linear-gradient(125deg, #ffffffe0, #ffffff65 50%, #ffffff9c); box-shadow: 0 8px 35px #78649b12, inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff55; backdrop-filter: blur(28px) saturate(1.35); -webkit-backdrop-filter: blur(28px) saturate(1.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 29px; font-weight: 600; line-height: 1; letter-spacing: -1px; white-space: nowrap; }
.brand-dot { color: #a17bcd; }
.brand-star { color: #9878bd; height: 28px; width: 28px; stroke-width: 1; }
.desktop-nav { display: flex; gap: 32px; align-items: center; color: #766785; font-size: 16px; font-weight: 500; }
.desktop-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; transition: color .4s, background .4s; padding: 8px 4px; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--purple-deep); }
.desktop-nav a:after { content: ""; position: absolute; left: calc(50% - 3px); bottom: 0; height: 5px; width: 5px; border-radius: 50%; background: #aa88d0; transform: scale(0); transition: transform .5s var(--ease); }
.desktop-nav a.active:after { transform: scale(1); }
.music-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 45px; border: 1px solid #fff; border-radius: 28px; padding: 9px 16px; background: #ffffff6b; box-shadow: inset 0 1px 4px #fff9, 0 4px 14px #8874a00b; font-size: 13px; color: #746184; transition: background .4s, box-shadow .4s; }
.music-toggle:hover { background: #ffffffb8; box-shadow: 0 5px 18px #8560b413; }
.music-icon { height: 17px; width: 17px; }
.equalizer { display: flex; align-items: center; gap: 3px; height: 17px; }
.equalizer i { display: block; width: 2px; height: 6px; border-radius: 2px; background: #ab83cb; }
.equalizer i:nth-child(2) { height: 14px; }
.equalizer i:nth-child(3) { height: 9px; }
.equalizer i:nth-child(4) { height: 12px; }
.music-toggle[aria-pressed="true"] .equalizer i { animation: equalize .8s ease-in-out infinite alternate; }
.music-toggle[aria-pressed="true"] .equalizer i:nth-child(2) { animation-delay: -.25s; }
.music-toggle[aria-pressed="true"] .equalizer i:nth-child(3) { animation-delay: -.5s; }
.music-toggle[aria-pressed="true"] { color: var(--purple-deep); }
.icon-button { border: 1px solid #ffffffd9; background: #ffffff65; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 23px; box-shadow: inset 0 1px 0 #fff8; transition: background .4s, transform .5s var(--ease); }
.icon-button:hover { background: #ffffffc9; transform: translateY(-2px); }
.menu-toggle.icon-button, .mobile-nav { display: none; }

/* A clear next chapter at the end of the homepage. */
.page-next-section { margin-bottom: 48px; }
.page-next-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; width: min(100%, 560px); margin-inline: auto; padding: 20px 24px; border: 1px solid var(--glass-border); border-radius: 22px; background: linear-gradient(125deg, #ffffffb0, #ffffff50 70%, #ffffff8c); box-shadow: 0 10px 30px #6756950d, inset 0 1px 0 #fff; backdrop-filter: blur(26px) saturate(1.2); -webkit-backdrop-filter: blur(26px) saturate(1.2); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.page-next-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px #80659918, inset 0 1px 0 #fff; }
.page-next-index { grid-column: 1; color: #8d73a3; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.page-next-copy { grid-column: 1; }
.page-next-copy h2 { margin: 0; font-size: 22px; font-weight: 550; line-height: 1.55; letter-spacing: 0; }
.page-next-copy p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.page-next-arrow { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; color: var(--purple-deep); border: 1px solid #ffffffe8; border-radius: 50%; background: #ffffff8c; box-shadow: inset 0 1px 0 #fff, 0 7px 20px #8e73a512; transition: transform .6s var(--ease), background .6s; }
.page-next-arrow .icon { width: 22px; height: 22px; }
.page-next-card:hover .page-next-arrow { transform: translateX(5px); background: #ffffffd9; }

/* Open hero with a transparent, genuinely modelled WebGL scene. */
.hero { min-height: 720px; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 8px; padding-top: 42px; padding-bottom: 83px; }
.hero-copy { position: relative; z-index: 3; padding-block: 16px 20px; }
.hero h1 { font-size: clamp(54px, 5.3vw, 82px); font-weight: 650; line-height: 1.36; letter-spacing: -.055em; margin: 0; position: relative; }
.gold-text { color: #9b71c0; background: linear-gradient(110deg, #7662c0, #b57bbb 75%, #b78cc6); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.title-spark { display: inline-block; width: 30px; height: 30px; color: #ad7bbd; position: relative; top: -45px; left: 8px; stroke-width: 1; }
.hero-english { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.5; color: #a07caa; margin: 20px 0 23px; letter-spacing: -.3px; }
.hero-description { color: #756382; font-size: 16px; line-height: 2.05; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 33px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 53px; padding: 14px 25px; border: 1px solid transparent; border-radius: 50px; font-size: 14px; font-weight: 550; letter-spacing: .2px; transition: transform .6s var(--ease), background .4s, box-shadow .6s; white-space: nowrap; }
.button:hover { transform: translateY(-4px); }
.button .icon { height: 20px; width: 20px; }
.button-gold { color: #fff; background: linear-gradient(125deg, #ab88dc, #9270cc 65%, #a27ecf); border-color: #cbb2ed; box-shadow: 0 8px 24px #a083cb38, inset 0 1px 0 #e0ccffcf, inset 0 -1px 3px #7450a12e; }
.button-gold:hover { background: linear-gradient(125deg, #b592e8, #9b79d3 70%); box-shadow: 0 13px 34px #9c77c943, inset 0 1px 0 #ead9ff; }
.button-outline { color: #806291; border-color: #ffffffe6; background: linear-gradient(125deg, #ffffffab, #ffffff36); box-shadow: 0 7px 24px #947ba416, inset 0 1px 0 #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.button-outline:hover { background: #ffffffbc; box-shadow: 0 12px 28px #947ba422; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border: 0; padding: 6px 0; color: #846b99; background: transparent; font-size: 14px; font-weight: 500; transition: color .4s; }
.text-link span { font-size: 21px; color: #9c77b6; }
.text-link:hover { color: #614580; }
.hero-names { display: flex; align-items: center; gap: 15px; color: #665077; font-size: 19px; font-weight: 550; margin: 36px 0 10px; letter-spacing: 2px; }
.hero-names em { color: #b795c5; font-family: var(--serif); font-weight: 400; font-style: italic; }
.hero-names .names-cross { font-family: var(--serif); font-size: 19px; color: #b795c5; font-weight: 400; }
.hero-names .names-note { font-size: 12px; font-weight: 400; letter-spacing: 1px; color: #8c759b; }
.hero-origin { display: flex; align-items: center; gap: 13px; font-size: 13px; color: #887295; flex-wrap: wrap; margin-top: 25px; }
.hero-names + .hero-origin { margin-top: 8px; }
.hero-origin > span { display: inline-flex; align-items: center; gap: 8px; }
.origin-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #9c8ccd; box-shadow: 0 0 9px #ac91ce55; }
.origin-dot.pink { background: #d8a2bd; }
.origin-orbit { color: #ad92c3; font-size: 18px; }
.hero-origin .origin-note { color: #8c759b; font-size: 12px; letter-spacing: 1px; padding-left: 8px; }
.hero-universe { position: relative; width: 100%; max-width: 680px; aspect-ratio: 1; min-width: 0; isolation: isolate; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero-universe:active { cursor: grabbing; }
.hero-universe:before { content: ""; position: absolute; inset: 10%; z-index: -1; border-radius: 50%; background: radial-gradient(circle at 65% 35%, #f5cbe8a1, #bdadf629 55%, transparent 70%); filter: blur(35px); animation: halo-breathe 10s ease-in-out infinite; }
#planet-canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; outline: none; }
.scene-orbit-labels { position: absolute; inset: 0; pointer-events: none; }
.orbital-name { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 39px; padding: 7px 16px; border: 1px solid #ffffffdf; border-radius: 40px; background: linear-gradient(120deg, #ffffffbb, #ffffff3d); color: #735c8a; font-size: 16px; font-weight: 550; letter-spacing: 2px; box-shadow: 0 4px 18px #85729318, inset 0 1px 0 #fff9; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); will-change: transform; }
.orbital-name-partner { color: #a76d91; }
.scene-caption { position: absolute; bottom: 16px; width: 100%; left: 0; display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; color: #7c6589; font-size: 12px; letter-spacing: 1px; pointer-events: none; }
.scene-caption > .icon { width: 12px; height: 12px; }
.scene-status-dot { display: block; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: #a080c4; box-shadow: 0 0 10px #b99cdb60; }
.scene-fallback { position: absolute; inset: 7%; display: grid; place-items: center; color: #9171af; text-align: center; background: radial-gradient(circle at 60% 30%, #e0c5f0b0, #d1dcf744 70%, transparent); border-radius: 50%; font-size: 18px; }
.scene-fallback:before { content: ""; width: 56%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #d2b6e4 45%, #a095c7 82%); box-shadow: inset -20px -15px 40px #8979a34a, 0 25px 60px #b193c02b; }
.scene-fallback > * { position: absolute; bottom: 15%; }
.webgl-ready .scene-fallback { display: none; }
.scroll-hint { position: absolute; bottom: 27px; left: 0; display: flex; align-items: center; gap: 13px; color: #947c9e; font-size: 12px; }
.scroll-line { width: 29px; height: 1px; background: #b59dc6; }
.scroll-hint > span:last-child { animation: nudge 3.5s ease-in-out infinite; }
.hero-date { position: absolute; bottom: 28px; right: 0; font-size: 10px; color: #9b80ac; letter-spacing: 2.4px; }
.is-ready .hero-copy { animation: hero-in 1.6s var(--ease) both; }
.is-ready .hero-universe { animation: scene-in 2.2s var(--ease) both; }

/* One long translucent time capsule. */
.together { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 32px 42px 22px; border: 1px solid #ffffffe8; border-radius: 30px; background: linear-gradient(125deg, #ffffffb3, #ffffff40 55%, #ffffffa3); box-shadow: var(--shadow), inset 0 2px 0 #ffffffa6, inset 0 -2px 0 #ffffff6b; backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); }
.section-index { color: #9474aa; font-size: 11px; font-weight: 550; letter-spacing: 2px; }
.together h2 { font-size: 24px; line-height: 1.6; font-weight: 580; letter-spacing: -.5px; margin: 8px 0 5px; }
.together-intro > p { font-size: 13px; color: #887394; margin: 0; }
.counter { display: flex; align-items: center; gap: 25px; }
.counter-days { display: flex; align-items: flex-end; gap: 14px; }
.digits { display: flex; gap: 7px; }
.digits > span { display: grid; place-items: center; position: relative; width: 57px; height: 76px; border-radius: 11px; border: 1px solid #ffffffeb; background: linear-gradient(145deg, #ffffff9c 49.5%, #f9f7ff65 50%); box-shadow: inset 0 1px 0 #fff, 0 6px 17px #9d85b10a; color: #9b77bb; font-size: 50px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; overflow: hidden; }
.digits > span:after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: #b7a5cc14; }
.digits > span.flip { animation: digit-flip .8s var(--ease); }
.counter-unit { font-size: 10px; color: #9478a6; line-height: 1.8; padding-bottom: 5px; letter-spacing: 1px; }
.counter-divider { height: 35px; width: 1px; background: linear-gradient(transparent, #b7a1c752, transparent); }
.counter-sub { display: flex; align-items: flex-start; gap: 12px; padding-top: 10px; font-variant-numeric: tabular-nums; }
.counter-sub > div { display: flex; flex-direction: column; align-items: center; min-width: 30px; gap: 5px; }
.counter-sub strong { font-size: 27px; font-weight: 450; line-height: 1.3; color: #8c70a1; }
.counter-sub > span { padding-top: 0; color: #b6a0c2; font-size: 23px; line-height: 1.3; }
.counter-sub div > span { color: #967aa5; font-size: 12px; }
.together-foot { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid #ffffff8a; display: flex; justify-content: center; align-items: center; gap: 12px; color: #9476a4; font-size: 12px; }
.together-foot .icon { height: 14px; width: 14px; color: #cc9cb9; }
.tiny-star { padding-inline: 9px; color: #b99bc9; }

/* A calmer reading rhythm connects the sections. */
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 29px; }
.section-side { font-size: 13px; color: #967aa3; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 53px; }
.section-english { margin: 0 0 13px; font-family: var(--serif); font-size: 33px; font-weight: 400; font-style: italic; line-height: 1.4; letter-spacing: -.7px; color: #a784b7; }
.section-heading h2 { font-size: 32px; line-height: 1.55; letter-spacing: -1px; font-weight: 550; margin: 0; }
.section-heading > p { color: #887191; font-size: 15px; line-height: 1.9; margin: 0; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 47px; }
.timeline-track { position: absolute; left: 0; right: 0; top: 63px; height: 1px; background: #bca7cf38; overflow: hidden; }
.timeline-track > span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #b79bdd, #d2a7c7, #94b6dd); transform: scaleX(0); transform-origin: left; transition: transform 2.6s var(--ease); }
.timeline.is-visible .timeline-track > span { transform: scaleX(1); }
.timeline-item { position: relative; min-width: 0; }
.timeline-date { display: flex; align-items: flex-start; gap: 12px; height: 45px; font-size: 28px; line-height: 1.3; font-weight: 450; letter-spacing: .7px; color: #a580b8; }
.timeline-date > span { color: #c7b4d1; font-size: 21px; padding-top: 3px; }
.quiet-date { font-size: 16px; padding-top: 4px; color: #967aa3; }
.timeline-node { position: relative; display: grid; place-items: center; width: 29px; height: 36px; font-family: var(--serif); color: #ad86c7; font-size: 28px; line-height: 1; margin-bottom: 24px; background: radial-gradient(ellipse, #f0edf9 45%, transparent 72%); }
.featured .timeline-node { color: #c38eb5; text-shadow: 0 0 20px #d7accc5c; }
.moment-type { font-size: 10px; letter-spacing: 1.8px; font-weight: 500; color: #9c7ead; }
.timeline-item h3 { color: #795a8d; font-size: 22px; font-weight: 550; line-height: 1.7; margin: 10px 0 15px; letter-spacing: -.4px; }
.timeline-item > p { margin: 0; color: #826d8e; font-size: 15px; line-height: 2; max-width: 350px; }
.moment-note { display: block; font-size: 12px; line-height: 1.9; color: #957aa4; padding-top: 17px; margin-top: 23px; border-top: 1px solid #b8a1cc24; }
.featured h3 { color: #a96e9c; }
.timeline-after { margin: 48px 0 0; font-size: 15px; text-align: center; color: #957aa4; }
.timeline-after span { margin-left: 13px; color: #a177aa; }

/* A scrapbook interlude: the first bouquet, the daily spark, and the ordinary her. */
.little-things { padding-top: 98px; padding-bottom: 12px; }
.little-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 36px; }
.little-heading .section-english { font-size: 31px; }
.little-heading h2 { margin: 0; font-size: 34px; font-weight: 550; line-height: 1.6; letter-spacing: -1px; }
.little-heading > p { margin: 0; color: #887191; font-size: 14px; line-height: 1.95; text-align: right; }
.little-board { display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; gap: 23px; }
.flower-note { position: relative; min-width: 0; margin: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ffffffe8; border-radius: 29px; background: linear-gradient(145deg, #fffafce6, #f5eaf7c9 58%, #f7e7eee6); box-shadow: var(--shadow), inset 0 1px 0 #fff; isolation: isolate; }
.flower-note:before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -22%; top: -26%; border-radius: 50%; background: radial-gradient(circle, #f0c6d489, transparent 68%); filter: blur(20px); }
.flower-note-photo { position: relative; aspect-ratio: 1.55; margin: 14px 14px 0; overflow: hidden; border: 1px solid #ffffffeb; border-radius: 20px; background: #e4cfd7; box-shadow: 0 13px 28px #916f8221, inset 0 0 0 1px #fff4; }
.flower-note-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, #ffffff1f, transparent 55%); pointer-events: none; }
.flower-note-photo img { transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.86) brightness(1.03); }
.flower-note:hover .flower-note-photo img { transform: scale(1.035); filter: saturate(.98) brightness(1.03); }
.flower-note-copy { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; gap: 13px; padding: 23px 29px 27px; }
.little-kicker { display: block; color: #987aa6; font-size: 10px; font-weight: 550; letter-spacing: 1.6px; line-height: 1.7; }
.flower-note blockquote { margin: 0; color: #7c5c8c; font-size: clamp(18px, 1.55vw, 21px); font-weight: 500; line-height: 2.05; letter-spacing: .1px; }
.flower-note-caption { margin: auto 0 0; padding-top: 13px; border-top: 1px solid #c1a8d02b; color: #92769b; font-size: 12px; line-height: 1.8; }
.pressed-flower { position: absolute; right: 20px; bottom: 17px; width: 63px; height: auto; color: #c7a5c1; opacity: .43; transform: rotate(9deg); pointer-events: none; }
.little-notes { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.little-note { position: relative; display: flex; align-items: flex-start; gap: 17px; min-width: 0; padding: 21px 23px; overflow: hidden; border: 1px solid #ffffffe8; border-radius: 23px; background: linear-gradient(135deg, #ffffffad, #ffffff38 66%, #ffffff8f); box-shadow: 0 13px 32px #6d5a9012, inset 0 1px 0 #fff; backdrop-filter: blur(19px); -webkit-backdrop-filter: blur(19px); }
.little-note:after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; right: -18%; bottom: -34%; border-radius: 50%; background: radial-gradient(circle, #d7c4ed55, transparent 70%); pointer-events: none; }
.little-icon { flex: 0 0 auto; width: 27px; height: 27px; margin-top: 3px; color: #a17bb8; stroke-width: 1.15; }
.little-note h3 { margin: 3px 0 5px; color: #7d5b8e; font-size: 18px; font-weight: 580; line-height: 1.6; letter-spacing: -.2px; }
.little-note p { margin: 0; color: #806b8d; font-size: 13.5px; line-height: 1.95; }
.spark-note { background: linear-gradient(135deg, #fff7f0d1, #ffffff42 60%, #f7e1e4b3); }
.spark-note .little-icon { color: #c47e87; animation: spark-flicker 3.4s ease-in-out infinite; transform-origin: 50% 92%; }
.spark-note .little-kicker { color: #b98996; }
.spark-count { display: flex; align-items: baseline; gap: 5px; margin: 1px 0 3px !important; color: #a88593 !important; font-size: 11px !important; line-height: 1.2 !important; letter-spacing: .5px; }
.spark-count strong { color: #ad6f8b; font-size: 45px; font-weight: 450; line-height: .95; letter-spacing: -2px; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px #eac1cc6b; }
.spark-count span:last-child { color: #9e7d8e; font-size: 12px; }
.little-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.little-tags span { padding: 3px 8px; border: 1px solid #ffffffe8; border-radius: 99px; background: #ffffff5c; color: #9b7aa9; font-size: 10px; line-height: 1.6; letter-spacing: .8px; }


/* Floating photographs with glass edges and a restrained optical highlight. */
.memories { padding-top: 120px; }
.memories .section-heading { margin-bottom: 35px; }
.album-controls { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.album-controls .button { min-height: 45px; padding: 10px 19px; font-size: 13px; gap: 10px; }
.album-controls > span { font-size: 12px; color: #92769f; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 24px; perspective: 1400px; }
.photo-card { margin: 0; min-width: 0; }
.photo-card:nth-child(even) { padding-top: 38px; }
.photo-button { position: relative; display: block; width: 100%; text-align: left; border: 0; padding: 0; background: transparent; border-radius: 24px; isolation: isolate; transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .85s var(--ease); transform-style: preserve-3d; }
.photo-button:hover { transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-9px); }
.photo-frame { display: block; position: relative; height: 310px; overflow: hidden; border: 6px solid #ffffffb8; border-radius: 24px; background: #dcd1e8; box-shadow: 0 20px 36px #8c72a21a, 0 5px 12px #ad8eb70b, inset 0 1px 0 #fff; transition: box-shadow .8s var(--ease); }
.photo-card:nth-child(4n + 2) .photo-frame, .photo-card:nth-child(4n + 3) .photo-frame { height: 245px; }
.photo-frame img { border-radius: 17px; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.8) brightness(1.07); }
.photo-frame:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, #ffffff1f 0%, transparent 50%, #f6edf21c); border-radius: inherit; }
.photo-button:hover .photo-frame { box-shadow: 0 30px 45px #8c72a229, 0 8px 20px #a491bb18; }
.photo-button:hover img { transform: scale(1.055); filter: saturate(1) brightness(1.05); }
.photo-zoom { position: absolute; z-index: 2; right: 13px; bottom: 13px; width: 34px; height: 34px; border: 1px solid #fff8; border-radius: 50%; display: grid; place-items: center; background: #ffffff60; color: #615070; font-size: 20px; backdrop-filter: blur(12px); opacity: 0; transform: translateY(5px); transition: opacity .5s, transform .6s var(--ease); }
.photo-button:hover .photo-zoom, .photo-button:focus-visible .photo-zoom { opacity: 1; transform: translateY(0); }
.photo-spark { pointer-events: none; position: absolute; right: -8px; top: 22%; z-index: 3; color: #b584c3; font-size: 30px; text-shadow: 0 0 20px #e4c7f2; opacity: 0; transform: scale(.4) rotate(25deg); transition: opacity .6s, transform 1s var(--ease); }
.photo-button:hover .photo-spark { opacity: 1; transform: scale(1) rotate(0); }
.photo-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 8px 0; color: #8e719e; }
.photo-meta span:first-child { font-size: 14px; font-weight: 500; }
.photo-meta span:last-child { color: #9d80af; font-size: 12px; }
.album-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 31px; padding-block: 20px; border-bottom: 1px solid #b8a1cc26; font-size: 13px; color: #91739f; }
.album-foot > span { display: inline-flex; align-items: center; gap: 9px; }
.album-foot > span:last-child > span { font-size: 19px; color: #a884be; }
.small-dot { width: 4px; height: 4px; display: inline-block; border-radius: 50%; background: #b28bca; }

/* Only their two constellations: a suspended optical keepsake. */
.universe-section { padding-top: 120px; }
.astro-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; padding-block: 18px; }
.astro-visual { min-width: 0; perspective: 1400px; }
.duo-constellation { position: relative; width: 100%; aspect-ratio: 1.07; min-height: 420px; border: 1px solid #ffffffe8; border-radius: 42px; background: linear-gradient(140deg, #ffffff8c, #ffffff35 55%, #ffffff9c); box-shadow: var(--shadow), inset 0 1px 0 #fff; backdrop-filter: blur(25px) saturate(1.3); -webkit-backdrop-filter: blur(25px) saturate(1.3); transform-style: preserve-3d; overflow: hidden; }
.duo-constellation:before { content: ""; position: absolute; width: 65%; aspect-ratio: 1; top: -30%; right: -13%; border-radius: 50%; background: radial-gradient(circle, #e9c8ea8c, transparent 70%); filter: blur(20px); }
.duo-constellation:after { content: ""; position: absolute; width: 75%; aspect-ratio: 1; bottom: -40%; left: -20%; border-radius: 50%; background: radial-gradient(circle, #bdd5ed6b, transparent 70%); filter: blur(25px); pointer-events: none; }
.duo-orbit { position: absolute; width: 78%; aspect-ratio: 1; left: 11%; top: 10%; border: 1px solid #d2bad771; border-radius: 50%; transform: rotateX(59deg) rotateZ(-24deg); box-shadow: 0 0 0 17px #ffffff24, inset 0 0 0 17px #ffffff24; }
.duo-orbit:after { content: ""; position: absolute; inset: -20px; border: 1px dashed #c6abd36b; border-radius: 50%; }
.duo-bridge { position: absolute; inset: 0; height: 100%; width: 100%; fill: none; stroke: #ba97cd; stroke-width: 1.2; stroke-dasharray: 3 7; opacity: .7; }
.sign-orb { position: absolute; top: 26%; width: 130px; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #ffffffe6; background: radial-gradient(circle at 30% 20%, #fffffffa, #d3cef275 50%, #aeb0da69 100%); box-shadow: 0 16px 34px #9487bc22, inset 0 2px 7px #ffffffed, inset 0 -6px 15px #9d91bc19; color: #9f86bc; backdrop-filter: blur(12px); transform: translateZ(25px); animation: sign-float 7.5s ease-in-out infinite; }
.sign-orb-self { left: 12%; top: 41%; }
.sign-orb-partner { right: 12%; top: 22%; background: radial-gradient(circle at 30% 20%, #fff9fcfa, #e7cce375 50%, #c9abce75 100%); color: #b18baa; animation-delay: -3.1s; }
.sign-orb > b, .sign-orb > span:first-child, .sign-orb .sign-symbol { font-family: Georgia, "Segoe UI Symbol", serif; font-size: 53px; line-height: 1.2; font-weight: 400; }
.sign-orb .sign-name, .sign-orb > strong { font-size: 14px; font-weight: 500; letter-spacing: 1px; }
.sign-name { position: relative; z-index: 1; }
.sign-person { display: block; font-size: 12px; color: #846692; line-height: 1.7; }
.sign-orb[aria-pressed="true"] { outline: 2px solid #ba9bd04d; outline-offset: 6px; }
.sign-orb:focus-visible { outline-color: #a179c5; }
.duo-center-star { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #c3a3d0; font-size: 27px; line-height: 1; text-shadow: 0 0 25px #cfb1ea; }
.duo-caption { position: absolute; left: 20px; right: 20px; bottom: 29px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; color: #a983b1; letter-spacing: .3px; }
.astro-copy .section-english { font-size: 30px; }
.astro-copy h2 { font-size: 38px; font-weight: 550; line-height: 1.65; letter-spacing: -1px; margin: 18px 0 22px; }
.astro-intro { font-size: 16px; color: #88708f; line-height: 2; }
.sign-pair { display: flex; align-items: center; gap: 23px; margin: 29px 0 22px; padding-top: 24px; border-top: 1px solid #b9a2c52b; }
.sign-pair > span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.sign-pair b { font-family: Georgia, "Segoe UI Symbol", serif; font-size: 31px; font-weight: 400; color: #a085b5; }
.sign-pair strong { color: #8e689e; font-size: 16px; font-weight: 550; }
.sign-pair small { grid-column: 1 / -1; color: #9475a4; font-size: 13px; margin-top: 4px; }
.sign-pair > .icon { width: 18px; height: 18px; color: #c6a4cf; stroke-width: 1; }
.pair-reading { color: #88708f; font-size: 15px; line-height: 2.1; margin: 0; }
.astro-note { color: #947aa2; font-size: 12px; line-height: 1.9; margin: 20px 0 0; }
.chart-reading { text-align: center; color: #967ba4; font-size: 13px; line-height: 1.9; margin-top: 19px; }

/* A translucent letter floating just above the page. */
.letter-section { padding-top: 110px; }
.letter-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding-block: 20px 60px; }
.letter-copy .section-english { font-size: 34px; }
.letter-copy h2 { font-size: 34px; font-weight: 550; letter-spacing: -.8px; line-height: 1.7; margin: 17px 0 19px; }
.letter-copy > p:not(.section-english) { font-size: 16px; line-height: 2; color: #8a7196; }
.letter-copy > .button { margin-top: 25px; }
.envelope { position: relative; display: block; max-width: 440px; width: 100%; aspect-ratio: 1.43; background: none; padding: 0; border: 0; margin: 50px auto 0; isolation: isolate; transform: perspective(1100px) rotateY(-10deg) rotateX(9deg) rotateZ(-7deg); transition: transform 1.1s var(--ease); filter: drop-shadow(0 27px 22px #9477b227); }
.envelope:hover { transform: perspective(1100px) rotateY(4deg) rotateX(-2deg) rotateZ(-3deg) translateY(-10px); }
.envelope-back { position: absolute; inset: 0; border-radius: 12px; border: 1px solid #fff; background: linear-gradient(150deg, #d6c7ebaf, #e3d4f5b3); box-shadow: inset 0 2px 0 #fff8; backdrop-filter: blur(18px); }
.letter-peek { position: absolute; inset: -34px 26px 29px; text-align: left; padding: 25px 26px; font-family: var(--serif); font-size: 26px; color: #a287b0; border-radius: 9px; border: 1px solid #ffffffeb; background: linear-gradient(135deg, #ffffffec, #fff9fbd1); transform: rotate(2deg); transition: transform 1.1s var(--ease); box-shadow: 0 3px 10px #a592bb0c; }
.letter-peek > span { font-family: var(--sans); display: block; font-size: 15px; color: #967fa2; line-height: 2; margin-top: 15px; }
.envelope:hover .letter-peek { transform: rotate(2deg) translateY(-15px); }
.envelope-front { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(135deg, #e7daf0f0, #cfbde3ea); clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); border: 1px solid #ffffffcf; }
.envelope-front:after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, #faf3ff9c, #d7c5e6a3); clip-path: polygon(0 100%, 50% 43%, 100% 100%); }
.envelope-flap { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(155deg, #f3e9fbf5, #d0bce4e8); clip-path: polygon(0 0, 100% 0, 50% 53%); filter: drop-shadow(0 2px 2px #a791bb33); }
.wax-seal { position: absolute; left: calc(50% - 27px); top: calc(51% - 27px); width: 54px; height: 54px; border-radius: 46% 45% 47% 43%; border: 3px double #f2d7ecb8; background: radial-gradient(circle at 30% 25%, #ecc3d9, #cda6cb 68%, #b792b9); display: grid; place-items: center; color: #fff5fc; box-shadow: inset 0 2px 4px #f9e5f0b0, 0 4px 8px #a286b72e; transform: rotate(-8deg); }
.wax-seal .icon { width: 22px; height: 22px; stroke-width: 1.3; }
.envelope-label { position: absolute; bottom: 25px; left: 0; width: 100%; text-align: center; color: #9476a4; font-size: 11px; letter-spacing: 3px; }
.closing { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 115px 112px; margin-top: 20px; border-top: 1px solid #c2aed329; }
.closing > .icon { height: 32px; width: 32px; margin-inline: auto; color: #ba9bca; stroke-width: 1; }
.closing > p { font-size: 34px; font-weight: 500; letter-spacing: -1px; line-height: 1.8; color: #9f79af; margin: 27px 0 24px; }
.closing > span { color: #9d80ad; font-size: 11px; letter-spacing: 2.5px; }
.back-top { position: absolute; right: 0; bottom: 26px; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #fff; background: #ffffff5c; color: #9876aa; border-radius: 50%; transition: transform .6s var(--ease); }
.back-top:hover { transform: translateY(-5px); }
.site-footer { min-height: 110px; padding-block: 28px; border-top: 1px solid #c2aed32e; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #9477a1; font-size: 12px; }
.site-footer .brand { font-size: 26px; color: #9570a7; }
.site-footer > span:last-child { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; }
.site-footer .icon { height: 12px; width: 12px; color: #c29fba; }

/* Dialogs ease open with the same frosted optical material. */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 15px); color: #8e6f9c; border: 1px solid #fffffff0; border-radius: 20px; background: #fffcfff0; backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); box-shadow: 0 12px 35px #9983ae2b; max-width: min(600px, calc(100% - 40px)); width: max-content; font-size: 14px; line-height: 1.9; padding: 13px 25px; opacity: 0; visibility: hidden; z-index: 100; transition: opacity .55s, transform .7s var(--ease), visibility .55s; text-align: center; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
dialog { color: var(--text); }
dialog::backdrop { background: #9c86b957; backdrop-filter: blur(23px) saturate(.9); -webkit-backdrop-filter: blur(23px) saturate(.9); }
dialog[open] { animation: dialog-in .75s var(--ease); }
dialog[open].is-closing { opacity: 0; transform: translateY(10px); filter: blur(4px); animation: none; transition: opacity .28s ease, transform .28s ease, filter .28s ease; }
dialog[open].is-closing::backdrop { opacity: 0; transition: opacity .28s ease; }
.lightbox { width: min(1320px, calc(100% - 48px)); height: calc(100dvh - 48px); max-width: none; max-height: none; padding: 75px 90px 70px; border: 1px solid #ffffffed; border-radius: 30px; background: linear-gradient(130deg, #ffffffdf, #f0e7faf5 60%, #e9effbed); box-shadow: 0 35px 100px #78629040, inset 0 1px 0 #fff; overflow: hidden; }
.lightbox-top { position: absolute; top: 20px; left: 30px; right: 25px; display: flex; align-items: center; justify-content: space-between; }
.lightbox-top > span { color: #9777aa; font-size: 13px; letter-spacing: 2px; }
.lightbox figure { height: 100%; max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 19px; }
.lightbox figure img { width: auto; height: auto; max-width: 100%; max-height: calc(100% - 55px); min-height: 0; object-fit: contain; border-radius: 13px; box-shadow: 0 15px 50px #9a7eae28; }
.lightbox figcaption { font-size: 15px; color: #96759f; text-align: center; }
.lightbox-prev, .lightbox-next { position: absolute; top: calc(50% - 23px); z-index: 2; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-hint { position: absolute; bottom: 15px; left: 0; width: 100%; text-align: center; color: #9c7caf; font-size: 12px; letter-spacing: .4px; }
.panel-dialog { position: fixed; width: min(660px, calc(100% - 40px)); max-height: calc(100dvh - 48px); padding: 45px 48px 32px; border: 1px solid #fff; border-radius: 28px; background: linear-gradient(145deg, #ffffffed, #f4eafaf0); box-shadow: 0 30px 100px #8b6f9e3d, inset 0 1px 0 #fff; backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); scrollbar-width: thin; scrollbar-color: #cdb4df transparent; }
.dialog-close { position: absolute; top: 17px; right: 17px; width: 37px; height: 37px; color: #9d7aac; }
.dialog-close .icon { width: 19px; height: 19px; }
.panel-dialog h2 { font-size: 28px; font-weight: 550; line-height: 1.6; margin: 24px 0; color: #8c659f; }
.letter-dialog { padding: 48px 50px 32px; }
.letter-dialog > .section-index { color: #a581b3; font-size: 11px; }
.letter-body { white-space: pre-wrap; font-size: 16px; line-height: 2.15; color: #83688d; }
.letter-signature { text-align: right; color: #9c73a5; font-size: 15px; margin-block: 28px; line-height: 2; }
.letter-signature > span { font-size: 12px; color: #9a7aa6; }
.letter-dialog textarea { display: block; width: 100%; min-height: 300px; resize: vertical; color: #83638e; border: 1px solid #d9c4e582; border-radius: 13px; background: #ffffff91; padding: 17px; font-size: 15px; line-height: 2; }
.letter-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 19px; margin-bottom: 13px; border-top: 1px solid #cebadb4a; }
.letter-actions .text-link { font-size: 14px; }
.letter-actions .button { min-height: 45px; padding: 10px 19px; font-size: 14px; }
.form-note { color: #9a7baa; font-size: 12px; line-height: 1.9; margin: 0; }
.noscript-note { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 99; padding: 13px 20px; color: #8f6a9c; background: #ffffffed; font-size: 14px; text-align: center; }

/* Meaningful small copy stays readable against the translucent light canvas. */
.hero-origin, .hero-origin .origin-note, .hero-names .names-note,
.together-intro > p, .together-foot, .section-side, .section-heading > p,
.timeline-item > p, .moment-note, .album-controls > span, .photo-meta,
.photo-meta span:last-child, .album-foot, .astro-intro, .pair-reading,
.astro-note, .chart-reading, .letter-copy > p:not(.section-english),
.letter-body, .letter-signature > span, .form-note, .site-footer,
.lightbox figcaption, .lightbox-hint, .sign-person { color: #756382; }
.section-index { color: #7c6589; font-size: 12px; }
.section-english { color: #9b74ae; }

/* Outer wrappers reveal softly; inner photographs own the pointer tilt. */
.motion-enabled .reveal { opacity: 0; transform: translateY(24px); filter: blur(4px); transition: opacity 1.3s var(--ease), transform 1.5s var(--ease), filter 1.3s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.motion-enabled .reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.motion-enabled .envelope.reveal { transform: perspective(1100px) translateY(24px) rotateY(-10deg) rotateX(9deg) rotateZ(-7deg); }
.motion-enabled .envelope.reveal.is-visible { transform: perspective(1100px) rotateY(-10deg) rotateX(9deg) rotateZ(-7deg); }
.motion-enabled .envelope.reveal.is-visible:hover { transform: perspective(1100px) rotateY(4deg) rotateX(-2deg) rotateZ(-3deg) translateY(-10px); }
@starting-style { dialog[open] { opacity: 0; transform: translateY(25px) scale(.98); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes scene-in { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes atmosphere-drift { to { transform: translate3d(-2%, 2%, 0) scale(1.06); } }
@keyframes halo-breathe { 50% { opacity: .65; transform: scale(1.08); } }
@keyframes equalize { to { transform: scaleY(.35); } }
@keyframes nudge { 50% { transform: translateY(5px); } }
@keyframes digit-flip { from { transform: perspective(300px) rotateX(-48deg); opacity: .5; } to { transform: perspective(300px) rotateX(0); opacity: 1; } }
@keyframes spark-flicker { 0%, 100% { transform: scale(1) rotate(-2deg); opacity: .88; } 42% { transform: scale(1.08) rotate(2deg); opacity: 1; } 68% { transform: scale(.97) rotate(-1deg); opacity: .8; } }
@keyframes keepsake-float { 50% { transform: translateY(-9px) rotateY(2deg); } }
@keyframes sign-float { 50% { transform: translateY(-8px) translateZ(25px); } }

/* Tablet: preserve space and reading sizes rather than shrinking the page. */
@media (min-width: 1600px) {
  .hero { min-height: 790px; }
  .hero h1 { font-size: 86px; }
}
@media (max-width: 1200px) {
  .section-shell { width: calc(100% - 80px); }
  .site-header { width: calc(100% - 48px); padding-inline: 22px; }
  .desktop-nav { gap: 24px; font-size: 16px; }
  .hero { min-height: 665px; }
  .hero h1 { font-size: 64px; }
  .hero-english { font-size: 23px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 20px; }
  .hero-actions > .text-link { font-size: 13px; }
  .hero-actions .button { padding-inline: 20px; font-size: 13px; }
  .hero-origin .origin-note { width: 100%; padding-left: 12px; }
  .together { padding-inline: 30px; gap: 22px; }
  .together h2 { font-size: 22px; }
  .counter { gap: 19px; }
  .digits > span { width: 49px; height: 69px; font-size: 44px; }
  .counter-days { gap: 10px; }
  .counter-sub { gap: 9px; }
  .counter-sub strong { font-size: 24px; }
  .counter-sub > div { min-width: 26px; }
  .timeline { gap: 31px; }
  .timeline-item h3 { font-size: 21px; }
  .photo-grid { gap: 19px; }
  .photo-frame { height: 285px; }
  .photo-card:nth-child(4n + 2) .photo-frame, .photo-card:nth-child(4n + 3) .photo-frame { height: 225px; }
  .astro-layout { gap: 58px; }
  .duo-constellation { min-height: 385px; }
  .sign-orb { width: 115px; height: 115px; }
  .astro-copy h2 { font-size: 35px; }
  .letter-layout { gap: 70px; }
}
@media (max-width: 960px) {
  .section-shell { width: calc(100% - 64px); }
  .site-header { padding: 12px 18px; min-height: 72px; gap: 18px; }
  .brand { font-size: 25px; gap: 9px; }
  .brand-star { width: 24px; height: 24px; }
  .desktop-nav { gap: 18px; font-size: 15px; }
  .music-toggle { padding-inline: 12px; min-height: 40px; gap: 8px; }
  .music-label { display: none; }
  .hero { min-height: 620px; grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 55px; }
  .hero-english { font-size: 21px; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { font-size: 12px; min-height: 48px; padding-inline: 16px; gap: 12px; }
  .hero-actions > .text-link { font-size: 12px; gap: 7px; }
  .hero-names { font-size: 17px; margin-top: 29px; }
  .hero-origin { font-size: 12px; gap: 10px; }
  .orbital-name { font-size: 14px; min-height: 34px; padding: 6px 12px; letter-spacing: 1px; }
  .scene-caption { bottom: 0; font-size: 12px; }
  .title-spark { width: 24px; height: 24px; top: -32px; left: 4px; }
  .hero-date { font-size: 10px; letter-spacing: 1.8px; }
  .together { grid-template-columns: 1fr; text-align: center; padding: 28px 30px 20px; gap: 23px; }
  .together h2 { font-size: 25px; }
  .counter { justify-content: center; }
  .digits > span { width: 52px; height: 72px; font-size: 47px; }
  .counter-unit { font-size: 11px; }
  .counter-sub strong { font-size: 26px; }
  .content-section { padding-top: 100px; }
  .section-english { font-size: 30px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading > p { font-size: 14px; }
  .section-side { font-size: 12px; }
  .timeline { gap: 25px; }
  .timeline-date { font-size: 24px; }
  .quiet-date { font-size: 15px; }
  .timeline-item h3 { font-size: 19px; }
  .timeline-item > p { font-size: 14px; }
  .moment-type { font-size: 9px; letter-spacing: 1.2px; }
  .photo-grid { gap: 16px; }
  .photo-frame { height: 235px; border-width: 5px; border-radius: 20px; }
  .photo-card:nth-child(4n + 2) .photo-frame, .photo-card:nth-child(4n + 3) .photo-frame { height: 190px; }
  .photo-frame img { border-radius: 14px; }
  .photo-meta { padding-inline: 4px; }
  .photo-meta span:first-child { font-size: 13px; }
  .photo-meta span:last-child { font-size: 12px; }
  .album-controls .button { font-size: 12px; padding-inline: 15px; }
  .album-controls > span { font-size: 12px; }
  .album-foot { font-size: 12px; }
  .astro-layout { gap: 36px; }
  .duo-constellation { border-radius: 32px; min-height: 350px; }
  .sign-orb { width: 100px; height: 100px; }
  .sign-orb-self { left: 10%; }
  .sign-orb-partner { right: 10%; }
  .sign-orb > b, .sign-orb > span:first-child, .sign-orb .sign-symbol { font-size: 43px; }
  .sign-orb .sign-name, .sign-orb > strong { font-size: 13px; }
  .duo-caption { font-size: 16px; bottom: 24px; }
  .astro-copy .section-english { font-size: 26px; }
  .astro-copy h2 { font-size: 30px; }
  .astro-intro { font-size: 14px; }
  .sign-pair { gap: 16px; }
  .sign-pair strong { font-size: 14px; }
  .sign-pair small { font-size: 12px; }
  .pair-reading { font-size: 14px; }
  .letter-layout { gap: 50px; }
  .letter-copy .section-english { font-size: 29px; }
  .letter-copy h2 { font-size: 29px; }
  .letter-copy > p:not(.section-english) { font-size: 14px; }
  .letter-peek { inset: -27px 18px 20px; padding: 20px; font-size: 23px; }
  .letter-peek > span { font-size: 13px; }
  .wax-seal { width: 46px; height: 46px; left: calc(50% - 23px); top: calc(51% - 23px); }
  .envelope-label { bottom: 20px; font-size: 10px; }
  .site-footer { font-size: 11px; gap: 14px; }
}

/* Mobile: generous typography, vertical storytelling, two-column memories. */
@media (max-width: 700px) {
  html { scroll-padding-top: 35px; }
  body { font-size: 16px; }
  .section-shell { width: calc(100% - 40px); }
  .site-header { width: calc(100% - 28px); margin-top: 14px; min-height: 68px; padding: 10px 16px; gap: 12px; }
  .brand { font-size: 25px; gap: 8px; }
  .brand-star { width: 22px; height: 22px; }
  .desktop-nav { display: none; }
  .music-toggle { margin-left: auto; padding-inline: 10px; min-height: 38px; gap: 7px; }
  .music-label { display: block; font-size: 12px; }
  .music-icon { height: 15px; width: 15px; }
  .equalizer { height: 13px; gap: 2px; }
  .equalizer i:nth-child(2) { height: 11px; }
  .equalizer i:nth-child(4) { height: 9px; }
  .menu-toggle.icon-button { display: flex; flex-direction: column; gap: 5px; width: 28px; height: 36px; border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; }
  .menu-toggle span { width: 19px; height: 1px; background: #9982a6; transition: transform .5s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 94px; left: 20px; right: 20px; z-index: 14; border: 1px solid #fff; border-radius: 24px; padding: 15px 23px; background: #ffffffd6; box-shadow: 0 15px 45px #a38ab630; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: dialog-in .6s var(--ease); }
  .mobile-nav a { padding: 12px 4px; color: #856392; font-size: 16px; border-bottom: 1px solid #ccb7dc26; }
  .mobile-nav a:last-child { border: 0; }
  .page-next-section { margin-bottom: 40px; }
  .page-next-card { gap: 6px 12px; padding: 18px; border-radius: 20px; }
  .page-next-index { font-size: 10px; }
  .page-next-copy h2 { font-size: 20px; }
  .page-next-copy p { font-size: 13px; }
  .page-next-arrow { width: 40px; height: 40px; }
  .page-next-arrow .icon { width: 20px; height: 20px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; text-align: center; min-height: 0; gap: 0; padding-top: 39px; padding-bottom: 65px; }
  .hero-copy { display: contents; }
  .hero h1 { order: 0; font-size: clamp(44px, 12vw, 65px); font-weight: 650; line-height: 1.4; letter-spacing: -.055em; }
  .title-spark { height: 24px; width: 24px; top: -28px; left: 2px; margin-right: -13px; }
  .hero-english { order: 1; font-size: 22px; margin: 18px 0 22px; }
  .hero-description { order: 2; font-size: 15px; line-height: 2; }
  .hero-actions { order: 4; justify-content: center; gap: 21px; margin-top: 24px; flex-wrap: nowrap; }
  .hero-actions .button { min-height: 48px; padding: 12px 18px; font-size: 13px; gap: 12px; }
  .hero-actions .button .icon { height: 18px; width: 18px; }
  .hero-actions > .text-link { font-size: 13px; gap: 8px; }
  .hero-names { order: 5; justify-content: center; font-size: 18px; letter-spacing: 2px; margin: 28px 0 8px; }
  .hero-origin { order: 6; justify-content: center; font-size: 12px; gap: 12px; margin-top: 25px; }
  .hero-origin .origin-note { width: 100%; justify-content: center; padding: 0; font-size: 12px; margin-top: -2px; }
  .hero-universe { order: 3; align-self: center; width: 100%; max-width: 480px; margin: 6px 0 0; }
  .scene-caption { font-size: 12px; bottom: 0; letter-spacing: .3px; }
  .orbital-name { font-size: 14px; min-height: 35px; padding: 6px 12px; letter-spacing: 1px; }
  .scroll-hint { left: 0; bottom: 17px; font-size: 11px; gap: 7px; }
  .scroll-line { width: 17px; }
  .hero-date { bottom: 20px; font-size: 9px; letter-spacing: .9px; }
  .together { border-radius: 26px; padding: 25px 18px 18px; gap: 24px; }
  .section-index { font-size: 12px; letter-spacing: 1.2px; }
  .together h2 { font-size: 23px; letter-spacing: -.7px; margin: 8px 0 6px; }
  .together-intro > p { font-size: 12px; }
  .counter { gap: 13px; }
  .counter-days { gap: 8px; }
  .digits { gap: 5px; }
  .digits > span { width: 39px; height: 57px; font-size: 36px; border-radius: 8px; }
  .counter-unit { font-size: 9px; letter-spacing: .5px; line-height: 1.7; padding-bottom: 3px; max-width: 25px; }
  .counter-divider { height: 31px; }
  .counter-sub { gap: 7px; padding-top: 4px; }
  .counter-sub > div { min-width: 22px; gap: 3px; }
  .counter-sub strong { font-size: 22px; }
  .counter-sub > span { font-size: 18px; }
  .counter-sub div > span { font-size: 11px; }
  .together-foot { gap: 7px; font-size: 12px; padding-top: 15px; line-height: 1.8; flex-wrap: wrap; }
  .together-foot .icon { height: 12px; width: 12px; }
  .tiny-star { padding-inline: 3px; }
  .content-section { padding-top: 82px; padding-bottom: 12px; }
  .section-top { gap: 12px; margin-bottom: 24px; }
  .section-side { font-size: 12px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-english { font-size: 30px; margin-bottom: 11px; }
  .section-heading h2 { font-size: 28px; line-height: 1.65; font-weight: 550; letter-spacing: -.6px; }
  .section-heading > p { margin-top: 19px; font-size: 14px; }
  .timeline { display: block; padding-left: 31px; margin-top: 34px; }
  .timeline-track { left: 8px; top: 14px; bottom: 0; right: auto; width: 1px; height: calc(100% - 35px); }
  .timeline-track > span { height: 100%; width: 100%; transform: scaleY(0); transform-origin: top; transition-duration: 3.2s; }
  .timeline.is-visible .timeline-track > span { transform: scaleY(1); }
  .timeline-item { position: relative; padding-bottom: 39px; }
  .timeline-item:last-child { padding-bottom: 0; }
  .timeline-date { font-size: 27px; height: 46px; gap: 9px; }
  .quiet-date { font-size: 16px; padding-top: 4px; }
  .timeline-node { position: absolute; left: -36px; top: 0; margin: 0; height: 31px; width: 26px; font-size: 26px; }
  .moment-type { font-size: 10px; letter-spacing: 1.5px; }
  .timeline-item h3 { font-size: 23px; margin: 8px 0 11px; line-height: 1.65; }
  .timeline-item > p { font-size: 15px; line-height: 2; max-width: none; }
  .moment-note { font-size: 12px; margin-top: 17px; padding-top: 13px; }
  .timeline-after { font-size: 14px; line-height: 2; margin: 33px 0 0; }
  .timeline-after span { display: block; margin-left: 0; }
  .memories .section-heading { margin-bottom: 27px; }
  .album-controls { flex-direction: row; align-items: center; justify-content: space-between; gap: 9px; margin-top: 25px; }
  .album-controls .button { font-size: 12px; min-height: 40px; padding: 9px 13px; gap: 8px; }
  .album-controls .button .icon { width: 16px; height: 16px; }
  .album-controls > span { font-size: 12px; text-align: right; max-width: 120px; line-height: 1.7; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .photo-frame { height: 240px; border-width: 5px; border-radius: 21px; }
  .photo-frame img { border-radius: 15px; }
  .photo-card:nth-child(4n + 2) .photo-frame, .photo-card:nth-child(4n + 3) .photo-frame { height: 190px; }
  .photo-card:nth-child(even) { padding-top: 28px; }
  .photo-meta { padding: 12px 4px 0; gap: 5px; }
  .photo-meta span:first-child { font-size: 13px; }
  .photo-meta span:last-child { font-size: 12px; }
  .photo-zoom { opacity: .85; transform: none; height: 27px; width: 27px; right: 10px; bottom: 10px; font-size: 17px; }
  .album-foot { font-size: 12px; gap: 12px; align-items: flex-start; margin-top: 25px; padding-block: 17px; }
  .album-foot > span { gap: 6px; }
  .album-foot > span:last-child { text-align: right; max-width: 125px; }
  .astro-layout { display: flex; flex-direction: column; gap: 34px; padding-top: 0; }
  .astro-copy { order: -1; width: 100%; }
  .astro-copy .section-english { font-size: 29px; }
  .astro-copy h2 { font-size: 31px; line-height: 1.65; letter-spacing: -.8px; margin: 16px 0 19px; }
  .astro-intro { font-size: 14px; }
  .sign-pair { gap: 21px; padding-top: 23px; margin: 24px 0 18px; }
  .sign-pair strong { font-size: 16px; }
  .sign-pair small { font-size: 13px; }
  .sign-pair b { font-size: 30px; }
  .sign-pair > .icon { margin-inline: 4px; }
  .pair-reading { font-size: 15px; line-height: 2; }
  .astro-note { font-size: 12px; }
  .astro-visual { width: 100%; max-width: 480px; }
  .duo-constellation { aspect-ratio: 1.1; min-height: 340px; border-radius: 30px; }
  .sign-orb { width: 113px; height: 113px; }
  .sign-orb-self { left: 12%; top: 42%; }
  .sign-orb-partner { right: 12%; top: 19%; }
  .sign-orb > b, .sign-orb > span:first-child, .sign-orb .sign-symbol { font-size: 48px; }
  .sign-orb .sign-name, .sign-orb > strong { font-size: 14px; }
  .duo-caption { bottom: 23px; font-size: 17px; }
  .chart-reading { font-size: 12px; }
  .letter-layout { display: flex; flex-direction: column; align-items: stretch; gap: 64px; padding-top: 0; padding-bottom: 52px; }
  .letter-copy .section-english { font-size: 31px; }
  .letter-copy h2 { font-size: 29px; line-height: 1.75; margin-block: 16px; }
  .letter-copy > p:not(.section-english) { font-size: 15px; line-height: 2; }
  .letter-copy > .button { margin-top: 22px; font-size: 14px; min-height: 48px; }
  .envelope { width: 86%; max-width: 380px; margin-top: 12px; }
  .letter-peek { padding: 20px; inset: -31px 21px 22px; font-size: 24px; }
  .letter-peek > span { font-size: 13px; margin-top: 12px; }
  .envelope-label { font-size: 10px; bottom: 20px; letter-spacing: 2px; }
  .wax-seal { height: 49px; width: 49px; left: calc(50% - 24.5px); top: calc(51% - 24.5px); }
  .closing { padding-block: 80px 100px; margin-top: 22px; }
  .closing > .icon { width: 28px; height: 28px; }
  .closing > p { font-size: 27px; line-height: 1.9; letter-spacing: -.5px; margin: 24px 0; }
  .closing > span { font-size: 10px; letter-spacing: 1.7px; }
  .back-top { width: 34px; height: 34px; bottom: 18px; font-size: 16px; }
  .site-footer { min-height: 145px; flex-wrap: wrap; gap: 17px; padding-block: 28px; font-size: 12px; }
  .site-footer .brand { font-size: 24px; }
  .site-footer > span:nth-child(2) { order: 3; width: 100%; font-size: 12px; }
  .site-footer > span:last-child { font-size: 10px; gap: 7px; }
  .toast { padding: 13px 20px; font-size: 13px; border-radius: 18px; bottom: 22px; }
  .lightbox { width: calc(100% - 20px); height: calc(100dvh - 20px); padding: 75px 15px 80px; border-radius: 24px; }
  .lightbox-top { top: 16px; left: 20px; right: 16px; }
  .lightbox-top > span { font-size: 12px; }
  .lightbox figure { gap: 17px; }
  .lightbox figure img { border-radius: 10px; max-height: calc(100% - 50px); }
  .lightbox figcaption { font-size: 13px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; width: 39px; height: 39px; }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
  .lightbox-hint { font-size: 10px; bottom: 20px; padding-inline: 60px; pointer-events: none; line-height: 1.6; }
  .panel-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 25px; padding: 42px 25px 27px; }
  .dialog-close { top: 14px; right: 14px; width: 35px; height: 35px; }
  .panel-dialog h2 { font-size: 25px; margin-top: 27px; }
  .letter-dialog > .section-index { font-size: 10px; }
  .letter-body { font-size: 15px; line-height: 2.1; }
  .letter-signature { font-size: 14px; line-height: 2; }
  .letter-signature > span { font-size: 12px; }
  .letter-actions { gap: 12px; }
  .letter-actions .text-link { font-size: 13px; }
  .letter-actions .button { font-size: 13px; padding-inline: 15px; }
  .form-note { font-size: 12px; }
}
@media (max-width: 370px) {
  .section-shell { width: calc(100% - 32px); }
  .site-header { width: calc(100% - 20px); gap: 9px; padding-inline: 12px; }
  .brand { font-size: 22px; gap: 7px; }
  .brand-star { width: 20px; height: 20px; }
  .music-toggle { padding-inline: 8px; gap: 6px; }
  .music-label { font-size: 11px; }
  .hero h1 { font-size: 43px; }
  .hero-english { font-size: 20px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 14px; font-size: 12px; gap: 9px; }
  .hero-actions > .text-link { font-size: 12px; gap: 7px; }
  .hero-date { font-size: 8px; letter-spacing: .4px; }
  .scroll-hint { font-size: 10px; }
  .together { padding-inline: 12px; }
  .together h2 { font-size: 22px; }
  .counter { gap: 10px; }
  .digits > span { width: 33px; height: 51px; font-size: 32px; }
  .counter-sub { gap: 5px; }
  .counter-sub strong { font-size: 20px; }
  .counter-sub > div { min-width: 21px; }
  .counter-unit { font-size: 8px; max-width: 20px; }
  .together-foot { font-size: 12px; gap: 6px; }
  .section-side { font-size: 12px; }
  .section-english { font-size: 27px; }
  .section-heading h2 { font-size: 26px; }
  .photo-frame { height: 215px; }
  .photo-card:nth-child(4n + 2) .photo-frame, .photo-card:nth-child(4n + 3) .photo-frame { height: 170px; }
  .photo-grid { gap: 20px 12px; }
  .photo-meta span:first-child { font-size: 12px; }
  .photo-meta span:last-child { font-size: 12px; }
  .album-controls .button { font-size: 12px; padding-inline: 10px; }
  .album-controls > span { font-size: 12px; max-width: 100px; }
  .album-foot { font-size: 12px; }
  .sign-pair { gap: 14px; }
  .sign-pair > span { column-gap: 8px; }
  .sign-pair strong { font-size: 15px; }
  .sign-pair small { font-size: 12px; }
  .duo-constellation { min-height: 300px; }
  .sign-orb { width: 100px; height: 100px; }
  .sign-orb-self { left: 9%; }
  .sign-orb-partner { right: 9%; }
  .duo-caption { font-size: 15px; }
  .closing > p { font-size: 24px; }
  .letter-copy h2 { font-size: 27px; }
  .letter-peek { padding: 16px; font-size: 21px; }
  .letter-peek > span { font-size: 12px; }
}

/* The scrapbook interlude keeps its paper proportions while the page narrows. */
@media (max-width: 1200px) {
  .little-things { padding-top: 86px; }
  .little-heading h2 { font-size: 31px; }
  .little-heading .section-english { font-size: 29px; }
  .little-note { padding: 19px 20px; }
  .flower-note-copy { padding: 21px 24px 25px; }
}
@media (max-width: 960px) {
  .little-things { padding-top: 78px; }
  .little-heading { display: block; margin-bottom: 29px; }
  .little-heading > p { margin-top: 15px; text-align: left; }
  .little-board { grid-template-columns: 1fr; gap: 18px; }
  .little-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 13px; }
  .little-note { flex-direction: column; gap: 9px; padding: 18px; }
  .little-icon { width: 24px; height: 24px; margin-top: 0; }
  .little-note h3 { font-size: 17px; }
  .little-note p { font-size: 13px; }
  .flower-note-photo { aspect-ratio: 2; }
  .flower-note blockquote { font-size: 19px; }
  .pressed-flower { width: 54px; opacity: .34; }
}
@media (max-width: 700px) {
  .little-things { padding-top: 62px; padding-bottom: 0; }
  .little-heading { margin-bottom: 24px; }
  .little-heading .section-english { font-size: 28px; }
  .little-heading h2 { font-size: 27px; line-height: 1.65; }
  .little-heading > p { margin-top: 13px; font-size: 13px; line-height: 1.9; }
  .little-board { gap: 14px; }
  .flower-note { border-radius: 25px; }
  .flower-note-photo { aspect-ratio: 1.4; margin: 10px 10px 0; border-radius: 17px; }
  .flower-note-copy { padding: 20px 19px 23px; gap: 11px; }
  .little-kicker { font-size: 9.5px; letter-spacing: 1.2px; }
  .flower-note blockquote { font-size: 17px; line-height: 2.05; }
  .flower-note-caption { padding-top: 11px; font-size: 11.5px; }
  .pressed-flower { width: 47px; right: 11px; bottom: 10px; opacity: .3; }
  .little-notes { grid-template-columns: 1fr; gap: 11px; }
  .little-note { flex-direction: row; gap: 13px; padding: 18px 17px; border-radius: 21px; }
  .little-icon { width: 23px; height: 23px; margin-top: 3px; }
  .little-note h3 { margin-top: 2px; font-size: 17px; }
  .little-note p { font-size: 13px; line-height: 1.95; }
  .spark-count strong { font-size: 38px; }
}
@media (max-width: 370px) {
  .little-heading h2 { font-size: 25px; }
  .flower-note blockquote { font-size: 16px; }
  .little-note { padding: 16px 14px; gap: 11px; }
  .little-note p { font-size: 12.5px; }
  .spark-count strong { font-size: 34px; }
}

/* Reduced motion covers ambient, pointer and scroll-driven effects. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .motion-enabled .reveal { opacity: 1; transform: none; filter: none; }
  .motion-enabled .envelope.reveal { transform: rotateZ(-5deg); }
  .timeline-track > span { transform: scaleX(1); }
  .photo-button, .photo-button:hover { transform: none; }
  .button:hover, .icon-button:hover { transform: none; }
}
