/* =========================================================
   糖宝宝的成长手记 · Style
   Plain CSS, no build step. Warm paper, soft stars, slow days.
   ========================================================= */

:root {
  --cream: #fff8ee;
  --cream-2: #fdf1e2;
  --cream-3: #fbf4e7;
  --ink: #3c332c;
  --ink-soft: #5f5348;
  --muted: #7a6a5c;
  --peach: #ffb49c;
  --peach-deep: #ef8f72;
  --butter: #ffd98a;
  --butter-soft: #fff0c9;
  --sage: #afcbb5;
  --sage-soft: #eef5ec;
  --sky: #a9d4e5;
  --sky-soft: #e8f4f8;
  --lilac: #c9bde6;
  --lilac-soft: #f0ecf8;
  --blush-soft: #ffe9e3;
  --night: #353154;
  --night-2: #2a2645;
  --white: #fffdf8;
  --line: rgba(60, 51, 44, 0.12);
  --line-strong: rgba(60, 51, 44, 0.22);
  --shadow-sm: 0 10px 30px -18px rgba(77, 56, 39, 0.45);
  --shadow-md: 0 26px 60px -34px rgba(77, 56, 39, 0.5);
  --shadow-lg: 0 40px 90px -46px rgba(77, 56, 39, 0.55);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --max: 1180px;
  --font: "LXGW WenKai", "LXGW WenKai Screen", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

main section[id] {
  scroll-margin-top: 104px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--peach);
  color: var(--ink);
}

:focus-visible {
  outline: 2.5px solid var(--peach-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--cream-2);
}

::-webkit-scrollbar-thumb {
  background: #e4c9ac;
  border: 3px solid var(--cream-2);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--peach);
}

/* ---------- Utilities ---------- */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stat-strip .reveal:nth-child(2),
.numbers .reveal:nth-child(2),
.gallery > .reveal:nth-child(2),
.wishes .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.stat-strip .reveal:nth-child(3),
.numbers .reveal:nth-child(3),
.gallery > .reveal:nth-child(3),
.wishes .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.stat-strip .reveal:nth-child(4),
.numbers .reveal:nth-child(4),
.gallery > .reveal:nth-child(4),
.wishes .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.gallery > .reveal:nth-child(5),
.wishes .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.gallery > .reveal:nth-child(6),
.wishes .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

.gallery > .reveal:nth-child(7) {
  transition-delay: 0.48s;
}

.deco {
  position: absolute;
  z-index: 1;
  color: var(--butter);
  font-size: 1.9rem;
  line-height: 1;
  opacity: 0.65;
  pointer-events: none;
  animation: twinkle 4.5s ease-in-out infinite;
}

.deco--hero-1 {
  top: 17%;
  left: 4%;
  color: var(--peach);
}

.deco--hero-2 {
  top: 13%;
  right: 6%;
  color: var(--sage);
  font-size: 1.4rem;
  animation-delay: 1.2s;
}

.deco--hero-3 {
  bottom: 15%;
  left: 48%;
  color: var(--lilac);
  font-size: 1.1rem;
  animation-delay: 2.1s;
}

.deco--section-1 {
  top: 9%;
  right: 4%;
  color: var(--peach);
  animation-delay: 0.8s;
}

.deco--letters {
  top: 12%;
  left: 5%;
  color: var(--sage);
  animation-delay: 1.6s;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: 20px;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), 100%);
  padding: 9px 12px 9px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

body.is-scrolled .nav {
  background: rgba(255, 248, 238, 0.84);
  border-color: var(--line);
  box-shadow: 0 14px 40px -28px rgba(77, 56, 39, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  z-index: 2;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--butter-soft);
  border: 1px solid var(--line);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.brand:hover .brand__mark {
  transform: rotate(18deg) scale(1.05);
}

.brand__mark svg {
  width: 27px;
  height: 27px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.nav__link.is-active {
  color: var(--ink);
  background: rgba(255, 217, 138, 0.42);
}

.nav__link--cta {
  margin-left: 6px;
  padding: 9px 19px;
  color: var(--cream);
  background: var(--ink);
  border: 1.5px solid var(--ink);
}

.nav__link--cta:hover {
  background: var(--peach-deep);
  border-color: var(--peach-deep);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.nav-toggle__bars {
  display: grid;
  gap: 6px;
  width: 19px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 16px 30px -18px rgba(60, 51, 44, 0.8);
}

.btn--primary:hover {
  background: var(--peach-deep);
  color: var(--ink);
  box-shadow: 0 20px 34px -18px rgba(239, 143, 114, 0.8);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: var(--white);
}

.btn__icon {
  width: 19px;
  height: 19px;
  transition: transform 0.25s ease;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn--light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn--light:hover {
  background: var(--butter);
  border-color: var(--butter);
}

.btn--outline-light {
  color: var(--cream);
  border-color: rgba(255, 248, 238, 0.42);
}

.btn--outline-light:hover {
  border-color: var(--butter);
  color: var(--butter);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 148px 0 108px;
  overflow: clip;
  background:
    radial-gradient(850px 560px at 86% 16%, rgba(255, 217, 138, 0.34), transparent 68%),
    radial-gradient(760px 540px at 2% 88%, rgba(255, 180, 156, 0.22), transparent 70%),
    radial-gradient(640px 440px at 60% 112%, rgba(175, 203, 181, 0.18), transparent 70%),
    var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  top: 11%;
  right: -9vw;
  width: 44vw;
  height: 44vw;
  max-width: 660px;
  max-height: 660px;
  border: 1px dashed rgba(60, 51, 44, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(36px, 5vw, 82px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.eyebrow__spark {
  color: var(--peach-deep);
  font-size: 0.82rem;
  animation: twinkle 3.6s ease-in-out infinite;
}

.hero__title {
  margin-top: 28px;
  font-size: clamp(3.3rem, 6.4vw, 5.7rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.hero__name {
  position: relative;
  display: inline-block;
  padding: 0 0.04em;
  color: var(--ink);
  background-image: linear-gradient(
    transparent 64%,
    rgba(255, 217, 138, 0.82) 64%,
    rgba(255, 217, 138, 0.82) 94%,
    transparent 94%
  );
}

.hero__name::after {
  content: "✦";
  position: absolute;
  top: -0.2em;
  right: -0.32em;
  color: var(--peach-deep);
  font-size: 0.24em;
  animation: twinkle 3.4s ease-in-out infinite;
}

.hero__lead {
  max-width: 35em;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 2.1;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 38px;
  padding: 17px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.45);
}

.live__block {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 0 14px;
}

.live__label {
  grid-column: 1 / -1;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.live__value {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.live__value small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.live__clock {
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 24px;
  border-left: 1px dashed var(--line-strong);
}

.chip {
  padding: 4px 11px;
  border: 1px solid rgba(60, 51, 44, 0.09);
  border-radius: 999px;
  background: var(--butter-soft);
  font-size: 0.74rem;
  line-height: 1.7;
  white-space: nowrap;
}

.chip:nth-child(2) {
  background: var(--sage-soft);
}

.chip:nth-child(3) {
  background: var(--blush-soft);
}

/* Hero art */
.hero__art {
  position: relative;
  z-index: 2;
}

.hero__stage {
  position: relative;
  height: clamp(430px, 43vw, 545px);
}

.photo-card {
  position: absolute;
  padding: 9px 9px 0;
  border: 1px solid rgba(60, 51, 44, 0.14);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.photo-card:hover {
  transform: translateY(-5px) rotate(0deg) scale(1.01);
}

.photo-card--main {
  top: 0;
  right: 4px;
  z-index: 3;
  width: min(76%, 358px);
  transform: rotate(2.4deg);
}

.photo-card--small {
  bottom: 8px;
  left: 0;
  z-index: 2;
  width: min(45%, 214px);
  transform: rotate(-6.5deg);
}

.photo-card__inner {
  overflow: hidden;
  border-radius: 11px;
  background: var(--cream-2);
}

.photo-card__inner svg {
  width: 100%;
  height: auto;
}

.photo-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 6px 12px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.photo-card__date {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.floaty {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.floaty--star {
  top: -14px;
  left: 2%;
  width: 44px;
  animation: float 6s ease-in-out infinite;
}

.floaty--cloud {
  top: 2%;
  right: -2%;
  width: 84px;
  opacity: 0.9;
  animation: float 8s ease-in-out infinite reverse;
}

.sticker {
  position: absolute;
  right: 0;
  bottom: 38px;
  z-index: 4;
  width: 112px;
  filter: drop-shadow(0 14px 22px rgba(77, 56, 39, 0.2));
  transform: rotate(7deg);
  animation: float 7s ease-in-out infinite;
}

.magic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 8px auto 0;
  padding: 9px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.magic-btn span {
  color: var(--peach-deep);
  animation: twinkle 2.6s ease-in-out infinite;
}

.magic-btn:hover {
  background: var(--butter-soft);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  transform: translateX(-50%);
}

.scroll-cue__line {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--line-strong), transparent);
  animation: scrollHint 2.4s ease-in-out infinite;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 3;
  margin-top: 6px;
  padding: 15px 0;
  overflow: hidden;
  border-top: 1.5px solid rgba(60, 51, 44, 0.16);
  border-bottom: 1.5px solid rgba(60, 51, 44, 0.16);
  background: var(--peach);
  transform: rotate(-1.1deg) scale(1.02);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.marquee__group i {
  color: rgba(60, 51, 44, 0.45);
  font-style: normal;
  font-size: 0.78rem;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(82px, 10vw, 134px) 0;
  overflow: clip;
}

.section--tint {
  border-block: 1px solid rgba(60, 51, 44, 0.07);
  background:
    radial-gradient(700px 420px at 12% 10%, rgba(175, 203, 181, 0.16), transparent 70%),
    linear-gradient(180deg, #fbf4e7, #f8f1e4);
}

.section--band {
  background: var(--butter-soft);
}

.section--band::before,
.section--band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  opacity: 0.45;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(60, 51, 44, 0.24) 0 1px,
    transparent 1px 22px
  );
}

.section--band::before {
  top: 0;
}

.section--band::after {
  bottom: 0;
}

.section--wishes {
  background:
    radial-gradient(600px 400px at 92% 18%, rgba(255, 180, 156, 0.16), transparent 70%),
    var(--cream);
}

.section__head {
  max-width: 660px;
  margin-bottom: clamp(40px, 5.5vw, 64px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  margin-top: 20px;
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.015em;
}

.section__sub {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.95;
}

.section__lead {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.07rem;
  line-height: 2.1;
}

.section__text {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 2.05;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.pull-quote {
  position: relative;
  margin-top: 32px;
  padding: 24px 26px 24px 32px;
  border-radius: 6px 26px 8px 24px;
  background: var(--blush-soft);
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.9;
  box-shadow: inset 3px 0 0 var(--peach);
}

.pull-quote::after {
  content: "✦";
  position: absolute;
  top: 14px;
  right: 18px;
  color: var(--peach-deep);
  font-size: 0.9rem;
  opacity: 0.7;
}

.id-card {
  position: relative;
  padding: 30px 30px 26px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), transparent 42%),
    var(--white);
  box-shadow: 14px 16px 0 rgba(255, 217, 138, 0.66);
  transform: rotate(-2deg);
}

.id-card__tape {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 116px;
  height: 30px;
  border: 1px solid rgba(60, 51, 44, 0.08);
  background: rgba(255, 228, 168, 0.78);
  transform: translateX(-50%) rotate(-3deg);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.id-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.id-card__label {
  padding-top: 6px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.id-card__stamp {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1.5px dashed var(--peach-deep);
  border-radius: 50%;
  color: var(--peach-deep);
  font-family: var(--font-serif);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  transform: rotate(9deg);
}

.id-card__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.id-card__avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  background: var(--butter-soft);
  transform: rotate(3deg);
}

.id-card__avatar svg {
  width: 58px;
  height: 58px;
}

.id-card__name {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.id-card__en {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
}

.id-card__facts {
  display: grid;
  margin-top: 22px;
  border-top: 1px dashed var(--line-strong);
}

.id-card__facts > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.id-card__facts dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
}

.id-card__facts dd {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.id-card__footer {
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-align: center;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(52px, 7vw, 80px);
  padding-top: clamp(34px, 4vw, 46px);
  border-top: 1px dashed var(--line-strong);
}

.stat {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.stat:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.stat__icon {
  width: 25px;
  height: 25px;
  margin-bottom: 11px;
  color: var(--peach-deep);
}

.stat strong {
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.4;
}

.stat > span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 2px;
  background-image: linear-gradient(
    to bottom,
    rgba(60, 51, 44, 0.26) 0 9px,
    transparent 9px 18px
  );
  background-size: 2px 18px;
  transform: translateX(-50%);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  margin-bottom: 26px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  display: grid;
  grid-row: 1;
  grid-column: 2;
  place-items: center;
  justify-self: center;
  width: 58px;
  height: 58px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 5px 0 rgba(60, 51, 44, 0.12);
  z-index: 1;
}

.timeline__dot svg {
  width: 24px;
  height: 24px;
}

.timeline__dot--peach {
  background: var(--peach);
}

.timeline__dot--butter {
  background: var(--butter);
}

.timeline__dot--sage {
  background: var(--sage);
}

.timeline__dot--sky {
  background: var(--sky);
}

.timeline__dot--lilac {
  background: var(--lilac);
}

.timeline__card {
  position: relative;
  grid-row: 1;
  grid-column: 3;
  padding: 22px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.timeline__item:nth-child(odd) .timeline__card {
  grid-column: 1;
}

.timeline__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.timeline__card::after {
  content: "";
  position: absolute;
  top: 27px;
  width: 31px;
  border-top: 1.5px dashed rgba(60, 51, 44, 0.24);
}

.timeline__item:nth-child(odd) .timeline__card::after {
  right: -32px;
}

.timeline__item:nth-child(even) .timeline__card::after {
  left: -32px;
}

.timeline__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.date-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tag {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

.timeline__card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.55;
}

.timeline__card p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.95;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.gallery__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.gallery__card:nth-child(1) {
  grid-column: span 7;
}

.gallery__card:nth-child(2) {
  grid-column: span 5;
}

.gallery__card:nth-child(3),
.gallery__card:nth-child(4),
.gallery__card:nth-child(5) {
  grid-column: span 4;
}

.gallery__card:nth-child(6) {
  grid-column: span 6;
}

.gallery__note {
  grid-column: span 6;
}

.gallery__card:hover {
  border-color: rgba(60, 51, 44, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.gallery__art {
  position: relative;
  flex: 1;
  min-height: 240px;
  overflow: hidden;
  background: var(--cream-2);
}

.gallery__card--wide .gallery__art {
  min-height: 348px;
}

.gallery__card--narrow .gallery__art {
  min-height: 300px;
}

.gallery__card:nth-child(6) .gallery__art {
  min-height: 285px;
}

.gallery__art svg,
.gallery__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery__art img {
  object-fit: cover;
}

.gallery__card:hover .gallery__art svg,
.gallery__card:hover .gallery__art img {
  transform: scale(1.055);
}

.gallery__body {
  display: flex;
  flex-shrink: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px 16px;
}

.gallery__title {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.5;
}

.gallery__date {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.gallery__note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 32px;
  border: 1.5px dashed rgba(60, 51, 44, 0.24);
  border-radius: var(--radius-md);
  background:
    radial-gradient(300px 200px at 50% 0%, rgba(255, 217, 138, 0.28), transparent 80%),
    rgba(255, 255, 255, 0.4);
  text-align: center;
}

.gallery__note-star {
  color: var(--peach-deep);
  font-size: 1.5rem;
  animation: twinkle 3.4s ease-in-out infinite;
}

.gallery__note p {
  margin-top: 13px;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.85;
}

.gallery__note-en {
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

/* ---------- Numbers ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.number-card {
  display: grid;
  justify-items: start;
  padding: 26px 24px 24px;
  border: 1px solid rgba(60, 51, 44, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 40px -34px rgba(77, 56, 39, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.number-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.number-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--butter-soft);
  color: var(--ink);
}

.number-card:nth-child(2) .number-card__icon {
  background: var(--blush-soft);
}

.number-card:nth-child(3) .number-card__icon {
  background: var(--sage-soft);
}

.number-card:nth-child(4) .number-card__icon {
  background: var(--sky-soft);
}

.number-card__icon svg {
  width: 22px;
  height: 22px;
}

.number-card__label {
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.number-card__value {
  margin-top: 1px;
  font-size: clamp(2.3rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.number-card__value small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.number-card__note {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.numbers__foot {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ---------- Letters ---------- */
.letters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.letter {
  position: relative;
  padding: clamp(30px, 4vw, 46px) clamp(26px, 3.6vw, 44px) 64px;
  border: 1px solid rgba(60, 51, 44, 0.14);
  border-radius: 5px 26px 7px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 26%),
    var(--white);
  box-shadow: var(--shadow-md);
  font-size: 0.98rem;
  line-height: 2.15;
  transform: rotate(-1.2deg);
  transition: transform 0.4s ease;
}

.letter:nth-child(2) {
  transform: rotate(1.4deg);
}

.letter:hover {
  transform: rotate(0deg) translateY(-4px);
}

.letter__tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 100px;
  height: 28px;
  border: 1px solid rgba(60, 51, 44, 0.07);
  background: rgba(255, 228, 168, 0.72);
  transform: translateX(-50%) rotate(-2deg);
}

.letter:nth-child(2) .letter__tape {
  background: rgba(201, 189, 230, 0.52);
  transform: translateX(-50%) rotate(2deg);
}

.letter__salutation {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.8;
}

.letter p + p {
  margin-top: 15px;
}

.letter p {
  color: var(--ink-soft);
}

.letter .letter__salutation {
  color: var(--ink);
}

.letter__sign {
  margin-top: 24px !important;
  color: var(--ink) !important;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
}

.letter__date {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-align: right;
}

.letter__flower {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 46px;
  opacity: 0.8;
}

/* ---------- Wishes ---------- */
.wishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wish {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 136px;
  padding: 28px 24px;
  border: 1px solid rgba(60, 51, 44, 0.08);
  border-radius: 7px 24px 8px 20px;
  background: var(--butter-soft);
  box-shadow: 0 20px 40px -30px rgba(77, 56, 39, 0.55);
  transform: rotate(-1.1deg);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.wish:nth-child(2n) {
  background: var(--blush-soft);
  transform: rotate(1.2deg);
}

.wish:nth-child(3n) {
  background: var(--sage-soft);
  transform: rotate(-0.6deg);
}

.wish:nth-child(4n) {
  background: var(--lilac-soft);
  transform: rotate(0.8deg);
}

.wish:hover {
  box-shadow: var(--shadow-md);
  transform: rotate(0deg) translateY(-5px);
}

.wish::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 26px;
  width: 58px;
  height: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(60, 51, 44, 0.06);
  transform: rotate(-3deg);
}

.wish__check {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 6px;
  border: 1.5px solid rgba(60, 51, 44, 0.35);
  border-radius: 50%;
}

.wish__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid transparent;
  border-bottom: 1.5px solid transparent;
  transform: rotate(-45deg);
  transition:
    border-color 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}

.wish:hover .wish__check::after {
  border-color: var(--peach-deep);
  opacity: 1;
}

.wish p {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.85;
}

.wishes__foot {
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: clamp(90px, 11vw, 130px) 0 34px;
  overflow: clip;
  background:
    radial-gradient(760px 460px at 50% -10%, rgba(201, 189, 230, 0.2), transparent 70%),
    linear-gradient(180deg, var(--night), var(--night-2));
  color: var(--cream);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 244, 214, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 12%, rgba(255, 244, 214, 0.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 43% 34%, rgba(255, 244, 214, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 16%, rgba(255, 244, 214, 0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 30%, rgba(255, 244, 214, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 11%, rgba(255, 244, 214, 0.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 56%, rgba(255, 244, 214, 0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 62%, rgba(255, 244, 214, 0.45) 50%, transparent 51%);
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer__stars {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 40px);
  margin-bottom: 18px;
  color: var(--butter);
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer__stars span:nth-child(2n) {
  color: var(--lilac);
  font-size: 1rem;
  animation: twinkle 4s ease-in-out infinite;
}

.footer__moon {
  width: 72px;
  margin: 0 auto 20px;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(255, 217, 138, 0.35));
}

.footer__title {
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.footer__name {
  color: var(--butter);
}

.footer__sub {
  margin-top: 16px;
  color: rgba(255, 248, 238, 0.68);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-top: 64px;
}

.footer__links a {
  color: rgba(255, 248, 238, 0.7);
  font-size: 0.82rem;
  transition: color 0.25s ease;
}

.footer__links a:hover {
  color: var(--butter);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 248, 238, 0.12);
  color: rgba(255, 248, 238, 0.46);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ---------- Sparkle particles ---------- */
.star-particle {
  position: fixed;
  z-index: 1000;
  margin: 0;
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
  animation: burst var(--d, 850ms) cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  will-change: transform, opacity;
}

/* ---------- Animations ---------- */
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) rotate(8deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollHint {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.55);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

@keyframes burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, -120px)))
      scale(1.08) rotate(var(--r, 0deg));
  }
}

/* ---------- 404 ---------- */
.notfound-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 32px;
  background:
    radial-gradient(700px 500px at 80% 10%, rgba(255, 217, 138, 0.35), transparent 70%),
    radial-gradient(600px 500px at 10% 90%, rgba(255, 180, 156, 0.22), transparent 70%),
    var(--cream);
}

.notfound {
  max-width: 500px;
  text-align: center;
}

.notfound__star {
  width: 112px;
  margin: 0 auto 22px;
  animation: float 6s ease-in-out infinite;
}

.notfound__code {
  color: var(--peach-deep);
  font-family: var(--font-serif);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.notfound h1 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
}

.notfound p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 2;
}

.notfound .btn {
  margin-top: 28px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1060px) {
  .nav__link {
    padding: 9px 12px;
  }

  .hero__grid {
    gap: 40px;
  }

  .hero__stage {
    height: clamp(420px, 46vw, 500px);
  }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    padding: 8px 10px 8px 16px;
    background: rgba(255, 248, 238, 0.86);
    border-color: var(--line);
    box-shadow: 0 14px 40px -30px rgba(77, 56, 39, 0.5);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .nav__menu {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 248, 238, 0.97);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  body.menu-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    justify-content: center;
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .nav__link--cta {
    margin: 4px 0 0;
  }

  .hero {
    min-height: auto;
    padding-top: 136px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero__art {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .hero__stage {
    height: 520px;
  }

  .hero__lead {
    max-width: 37em;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .id-card {
    width: min(100%, 520px);
    margin-inline: auto;
    transform: rotate(-1.4deg);
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .letters {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 660px;
    margin-inline: auto;
  }

  .wishes {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__card:nth-child(1),
  .gallery__card:nth-child(2) {
    grid-column: span 6;
  }

  .gallery__card:nth-child(6) {
    grid-column: span 6;
  }

  .gallery__note {
    grid-column: span 6;
    min-height: 260px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 800px) {
  .timeline {
    max-width: 640px;
  }

  .timeline::before {
    left: 28px;
    transform: none;
  }

  .timeline__item {
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    margin-bottom: 22px;
  }

  .timeline__dot {
    grid-column: 1;
    width: 52px;
    height: 52px;
  }

  .timeline__item:nth-child(odd) .timeline__card,
  .timeline__card {
    grid-column: 2;
  }

  .timeline__card {
    padding: 20px 22px 22px;
  }

  .timeline__card::after {
    display: none;
  }

  .gallery__card:nth-child(3),
  .gallery__card:nth-child(4),
  .gallery__card:nth-child(5) {
    grid-column: span 6;
  }

  .gallery__card:nth-child(5) {
    grid-column: span 12;
  }

  .gallery__card:nth-child(5) .gallery__art {
    min-height: 300px;
  }

  .gallery__card:nth-child(6),
  .gallery__note {
    grid-column: span 12;
  }

  .gallery__note {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .site-header {
    top: 10px;
    padding-inline: 12px;
  }

  .brand__text {
    font-size: 0.92rem;
  }

  .hero {
    padding: 122px 0 76px;
  }

  .hero__title {
    margin-top: 24px;
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

  .hero__lead {
    font-size: 0.96rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero__live {
    display: grid;
    gap: 16px;
    padding: 16px 18px;
  }

  .hero__chips {
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px dashed var(--line-strong);
    border-left: 0;
  }

  .hero__stage {
    height: 410px;
  }

  .photo-card--main {
    width: 78%;
  }

  .photo-card--small {
    width: 46%;
  }

  .photo-card figcaption {
    padding: 8px 4px 10px;
    font-size: 0.68rem;
  }

  .photo-card__date {
    display: none;
  }

  .sticker {
    width: 88px;
    bottom: 42px;
  }

  .floaty--cloud {
    width: 64px;
  }

  .floaty--star {
    width: 34px;
  }

  .marquee {
    padding: 13px 0;
  }

  .marquee__group {
    gap: 26px;
    padding-right: 26px;
    font-size: 0.78rem;
  }

  .section {
    padding: 68px 0;
  }

  .section__title {
    font-size: clamp(1.95rem, 8.4vw, 2.5rem);
  }

  .stat-strip {
    gap: 12px;
  }

  .stat {
    padding: 17px;
  }

  .stat strong {
    font-size: 1.2rem;
  }

  .id-card {
    padding: 26px 22px 24px;
    box-shadow: 9px 11px 0 rgba(255, 217, 138, 0.66);
  }

  .id-card__facts > div {
    grid-template-columns: 78px 1fr;
    gap: 10px;
  }

  .gallery {
    gap: 16px;
  }

  .gallery__card:nth-child(n) {
    grid-column: span 12;
  }

  .gallery__art,
  .gallery__card--wide .gallery__art,
  .gallery__card--narrow .gallery__art,
  .gallery__card:nth-child(6) .gallery__art {
    min-height: 250px;
  }

  .gallery__note {
    grid-column: span 12;
    min-height: 210px;
  }

  .numbers {
    gap: 12px;
  }

  .number-card {
    padding: 21px 18px;
  }

  .number-card__value {
    font-size: 2.1rem;
  }

  .number-card__note {
    font-size: 0.73rem;
  }

  .letters {
    gap: 30px;
  }

  .letter {
    transform: none;
    padding-bottom: 58px;
  }

  .letter:nth-child(2) {
    transform: none;
  }

  .wishes {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wish {
    min-height: auto;
    transform: none;
  }

  .wish:nth-child(n) {
    transform: none;
  }

  .footer__actions .btn {
    width: auto;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand__text {
    font-size: 0.82rem;
  }

  .hero__title {
    font-size: 2.85rem;
  }

  .hero__stage {
    height: 370px;
  }

  .sticker {
    width: 78px;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .number-card {
    padding: 18px 16px;
  }

  .number-card__value {
    font-size: 1.9rem;
  }

  .gallery__art,
  .gallery__card--wide .gallery__art,
  .gallery__card--narrow .gallery__art,
  .gallery__card:nth-child(6) .gallery__art {
    min-height: 220px;
  }

  .id-card__profile {
    gap: 12px;
  }

  .id-card__name {
    font-size: 1.8rem;
  }

  .id-card__avatar {
    width: 62px;
    height: 62px;
  }

  .id-card__avatar svg {
    width: 50px;
    height: 50px;
  }

  .footer__stars {
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .stat-strip,
  .numbers {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 820px) and (min-width: 941px) {
  .scroll-cue {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .magic-btn {
    display: none;
  }

  .marquee__track {
    animation: none;
  }

  .gallery__card:hover,
  .photo-card:hover,
  .letter:hover,
  .wish:hover,
  .stat:hover,
  .number-card:hover,
  .timeline__card:hover {
    transform: none;
  }
}
