:root {
  --ink: #f8efef;
  --muted: #cbb9bf;
  --wine-950: #090408;
  --wine-900: #130810;
  --wine-850: #1a0a16;
  --wine-800: #260d1d;
  --wine-700: #461329;
  --rose: #a94063;
  --rose-bright: #e989a7;
  --blush: #f2c5ce;
  --pearl: #fff7f2;
  --gold: #d8ad73;
  --gold-light: #f2d8aa;
  --line: rgba(242, 216, 170, 0.24);
  --glass: rgba(31, 12, 26, 0.62);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  --serif: "Songti SC", "STSong", "SimSun", "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --section-width: min(1180px, calc(100% - 48px));
  --header-height: 74px;
  --mouse-x: 50vw;
  --mouse-y: 40vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--wine-950);
  scrollbar-color: var(--rose) var(--wine-950);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(131, 31, 69, 0.2), transparent 24rem),
    radial-gradient(circle at 88% 48%, rgba(118, 31, 66, 0.16), transparent 28rem),
    linear-gradient(180deg, #0a0408 0%, #150812 34%, #0b0509 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.page-locked {
  height: 100vh;
  overflow: hidden;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25vw - 1px), rgba(255, 255, 255, 0.025) 25vw),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 100% 7px;
  content: "";
  pointer-events: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

::selection {
  color: #1c0813;
  background: var(--gold-light);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 999px;
  color: var(--wine-950);
  background: var(--pearl);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient-canvas,
.celebration-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient-canvas {
  z-index: 0;
  opacity: 0.72;
}

.celebration-canvas {
  z-index: 1001;
}

.cursor-glow {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  transform: translate(calc(var(--mouse-x) - 50%), calc(var(--mouse-y) - 50%));
  background: radial-gradient(circle, rgba(226, 110, 148, 0.08), transparent 68%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.opening {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 44%, rgba(111, 27, 61, 0.45), transparent 25rem),
    linear-gradient(145deg, #070306 0%, #1b0816 52%, #080407 100%);
  transition: opacity 1.1s ease, visibility 1.1s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.opening::before,
.opening::after {
  position: absolute;
  border: 1px solid rgba(240, 203, 157, 0.18);
  border-radius: 50%;
  content: "";
}

.opening::before {
  width: min(74vw, 900px);
  aspect-ratio: 1;
  animation: slow-spin 34s linear infinite;
}

.opening::after {
  width: min(48vw, 600px);
  aspect-ratio: 1;
  border-color: rgba(232, 137, 167, 0.14);
  animation: slow-spin 24s linear infinite reverse;
}

.opening.is-opened {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}

.opening__aurora {
  position: absolute;
  width: 48rem;
  height: 16rem;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.25;
  mix-blend-mode: screen;
  animation: aurora-drift 9s ease-in-out infinite alternate;
}

.opening__aurora--one {
  top: 12%;
  left: -16rem;
  rotate: -24deg;
  background: #9e2b62;
}

.opening__aurora--two {
  right: -20rem;
  bottom: 10%;
  rotate: 20deg;
  background: #d1947e;
  animation-delay: -4s;
}

.opening__orbit {
  position: absolute;
  border-radius: 50%;
  border-top: 1px solid rgba(242, 216, 170, 0.52);
  border-right: 1px solid transparent;
  pointer-events: none;
}

.opening__orbit::before {
  position: absolute;
  top: 7%;
  right: 16%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 18px var(--gold-light);
  content: "";
}

.opening__orbit--outer {
  width: min(88vw, 1040px);
  aspect-ratio: 1;
  animation: slow-spin 18s linear infinite;
}

.opening__orbit--inner {
  width: min(62vw, 720px);
  aspect-ratio: 1;
  animation: slow-spin 13s linear infinite reverse;
}

.opening__content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  padding: 48px 20px;
  text-align: center;
}

.opening__eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.opening__heart {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  rotate: -45deg;
  animation: heartbeat 2.2s ease-in-out infinite;
}

.opening__heart span,
.opening__heart span::before,
.opening__heart span::after {
  position: absolute;
  display: block;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #f4b5c7, #a62f5a);
  box-shadow: 0 0 30px rgba(235, 119, 156, 0.55);
  content: "";
}

.opening__heart span {
  top: 20px;
  left: 14px;
}

.opening__heart span::before {
  top: -14px;
  border-radius: 50% 50% 0 0;
}

.opening__heart span::after {
  left: 14px;
  border-radius: 0 50% 50% 0;
}

.opening h1 {
  margin: 0;
  color: var(--pearl);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-shadow: 0 0 40px rgba(255, 219, 210, 0.18);
}

.opening__subtitle {
  margin: 20px 0 8px;
  color: var(--blush);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.2em;
}

.opening__hint {
  margin: 0 0 34px;
  color: rgba(255, 244, 239, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.opening__footnote {
  position: absolute;
  z-index: 2;
  bottom: max(22px, env(safe-area-inset-bottom));
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.gold-button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  padding: 13px 26px;
  border: 1px solid rgba(244, 214, 169, 0.7);
  border-radius: 999px;
  color: #2a0b18;
  background: linear-gradient(135deg, #f7dfb8, #d5a46b 55%, #f5d8a4);
  box-shadow: 0 12px 36px rgba(213, 164, 107, 0.22), inset 0 1px rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gold-button::before {
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 28%;
  rotate: 18deg;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(7px);
  content: "";
  transition: left 0.7s ease;
}

.gold-button:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 44px rgba(213, 164, 107, 0.3), inset 0 1px rgba(255, 255, 255, 0.8);
}

.gold-button:hover::before {
  left: 115%;
}

.gold-button i {
  font-style: normal;
  animation: twinkle 1.8s ease-in-out infinite;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 4, 8, 0.68);
  backdrop-filter: blur(18px) saturate(130%);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.is-entered .site-header {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  place-items: center;
  font-family: "Times New Roman", serif;
  font-size: 1.1rem;
  font-style: italic;
}

.brand i {
  color: var(--rose-bright);
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  color: rgba(255, 244, 239, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.site-nav a::after {
  position: absolute;
  right: 50%;
  bottom: -8px;
  left: 50%;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transition: right 0.25s ease, left 0.25s ease;
}

.site-nav a:hover {
  color: var(--pearl);
}

.site-nav a:hover::after {
  right: 0;
  left: 0;
}

.music-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blush);
  background: rgba(80, 23, 48, 0.2);
  cursor: pointer;
}

.music-toggle__bars {
  display: flex;
  height: 14px;
  align-items: end;
  gap: 2px;
}

.music-toggle__bars i {
  width: 2px;
  height: 6px;
  border-radius: 1px;
  background: var(--gold-light);
}

.music-toggle[aria-pressed="true"] .music-toggle__bars i {
  animation: sound-bars 0.8s ease-in-out infinite alternate;
}

.music-toggle[aria-pressed="true"] .music-toggle__bars i:nth-child(2) {
  animation-delay: -0.25s;
}

.music-toggle[aria-pressed="true"] .music-toggle__bars i:nth-child(3) {
  animation-delay: -0.5s;
}

.music-toggle__label {
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

main {
  position: relative;
  z-index: 3;
  overflow-x: clip;
}

.section {
  position: relative;
  width: var(--section-width);
  margin: 0 auto;
  padding: clamp(92px, 11vw, 160px) 0;
  scroll-margin-top: var(--header-height);
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.75fr);
  align-content: center;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  overflow: hidden;
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 88px;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.2;
}

.hero__glow--left {
  top: 18%;
  left: -20rem;
  background: var(--rose);
}

.hero__glow--right {
  right: -18rem;
  bottom: 10%;
  background: #a37457;
}

.hero__content {
  position: relative;
}

.hero__content::before {
  position: absolute;
  top: -38px;
  left: -42px;
  width: 92px;
  height: 70px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  content: "";
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.06;
}

.hero__title span,
.hero__title em {
  display: block;
}

.hero__title em,
.section-heading h2 em,
.family-copy h2 em {
  color: transparent;
  background: linear-gradient(110deg, var(--pearl), var(--gold-light) 46%, var(--rose-bright));
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero__lead {
  max-width: 630px;
  margin: 32px 0 28px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  line-height: 2;
}

.hero__signature {
  display: flex;
  align-items: end;
  gap: 14px;
}

.hero__signature span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.hero__signature strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 390px);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.hero__visual::before {
  position: absolute;
  z-index: -1;
  inset: -24px;
  border: 1px solid rgba(242, 216, 170, 0.18);
  border-radius: 48% 48% 12px 12px;
  content: "";
  transform: translateZ(-10px) rotate(2deg);
}

.hero-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 4 / 5.3;
  border: 1px solid rgba(255, 237, 214, 0.26);
  border-radius: 48% 48% 16px 16px;
  background: linear-gradient(145deg, rgba(143, 43, 79, 0.2), rgba(24, 8, 19, 0.92));
  box-shadow: var(--shadow), inset 0 0 60px rgba(232, 137, 167, 0.08);
  transform: translateZ(18px);
}

.hero-photo__halo {
  position: absolute;
  z-index: 0;
  top: 12%;
  left: 50%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 216, 170, 0.35);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 70px rgba(227, 151, 124, 0.15), inset 0 0 40px rgba(227, 151, 124, 0.08);
  animation: halo-breathe 4s ease-in-out infinite;
}

.hero-photo__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.hero-photo__note span {
  color: var(--gold-light);
  font-family: "Times New Roman", serif;
  font-size: 0.82rem;
  font-style: italic;
}

.love-metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-card {
  position: relative;
  padding: 26px clamp(18px, 3vw, 40px);
  text-align: center;
}

.metric-card + .metric-card {
  border-left: 1px solid var(--line);
}

.metric-card--featured {
  background: linear-gradient(180deg, rgba(173, 57, 96, 0.1), transparent);
}

.metric-card__icon {
  position: absolute;
  top: 15px;
  left: 18px;
  color: rgba(242, 216, 170, 0.38);
  font-family: "Times New Roman", serif;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.metric-card strong {
  display: block;
  color: var(--gold-light);
  font-family: "Times New Roman", var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.metric-card p {
  margin: 8px 0 2px;
  color: var(--pearl);
  font-family: var(--serif);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.metric-card small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
}

.scroll-cue i {
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.scroll-cue i::after {
  display: block;
  width: 1px;
  height: 14px;
  background: var(--gold-light);
  content: "";
  animation: scroll-line 1.8s ease-in-out infinite;
}

.story-section::before,
.gallery-section::before {
  position: absolute;
  z-index: -1;
  top: 3%;
  left: 50%;
  width: 100vw;
  height: 94%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(60, 16, 39, 0.15), rgba(8, 3, 7, 0));
  content: "";
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 68px;
  text-align: center;
}

.section-heading h2,
.family-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.18;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 2;
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: 1.4fr 0.7fr;
  align-items: end;
  gap: 60px;
  text-align: left;
}

.section-heading--split > p:last-child {
  margin: 0 0 8px;
}

.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 50%;
  width: 1px;
  background: linear-gradient(var(--gold-light), rgba(232, 137, 167, 0.42), transparent);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item__dot {
  position: absolute;
  z-index: 2;
  top: 38px;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid var(--wine-900);
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--gold-light);
  box-shadow: 0 0 0 1px var(--gold), 0 0 22px rgba(242, 216, 170, 0.65);
}

.timeline-item__index {
  position: absolute;
  top: 22px;
  color: rgba(242, 216, 170, 0.16);
  font-family: "Times New Roman", serif;
  font-size: 4.6rem;
  font-style: italic;
  line-height: 1;
}

.timeline-item__card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(242, 216, 170, 0.12);
  background: linear-gradient(145deg, rgba(51, 16, 37, 0.55), rgba(15, 6, 13, 0.58));
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.timeline-item__card:hover {
  border-color: rgba(242, 216, 170, 0.35);
  transform: translateY(-3px);
}

.timeline-item:nth-child(odd) .timeline-item__card {
  grid-column: 1;
  margin-right: 54px;
}

.timeline-item:nth-child(even) .timeline-item__card {
  grid-column: 2;
  margin-left: 54px;
}

.timeline-item:nth-child(odd) .timeline-item__index {
  right: -28px;
}

.timeline-item:nth-child(even) .timeline-item__index {
  left: -25px;
}

.timeline-item time {
  color: var(--gold-light);
  font-family: "Times New Roman", serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.timeline-item h3 {
  margin: 11px 0 12px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.9;
}

.journeys-section {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.journeys-section__backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 28%, rgba(159, 47, 89, 0.22), transparent 23rem),
    linear-gradient(135deg, rgba(42, 11, 31, 0.7), rgba(9, 4, 8, 0.2));
}

.journeys-section__backdrop span {
  position: absolute;
  right: -3vw;
  bottom: 1%;
  color: rgba(255, 255, 255, 0.025);
  font-family: "Times New Roman", serif;
  font-size: clamp(5rem, 14vw, 14rem);
  font-style: italic;
  white-space: nowrap;
}

.journey-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: -34px 0 28px;
}

.journey-controls span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.round-button {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(68, 19, 45, 0.32);
  cursor: pointer;
  place-items: center;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.round-button:hover {
  border-color: var(--gold);
  background: rgba(125, 40, 75, 0.4);
  transform: scale(1.08);
}

.journey-track {
  display: grid;
  grid-auto-columns: minmax(310px, 38vw);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  padding: 8px max(0px, calc((100vw - 1180px) / 2)) 30px 0;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.journey-card {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(242, 216, 170, 0.16);
  border-radius: 6px;
  scroll-snap-align: start;
  background:
    linear-gradient(180deg, transparent 5%, rgba(7, 3, 6, 0.42) 45%, rgba(7, 3, 6, 0.96) 100%),
    radial-gradient(circle at var(--card-x, 70%) 18%, var(--card-color, rgba(180, 64, 99, 0.54)), transparent 35%),
    linear-gradient(140deg, #52152f, #150812 70%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(36px);
  transition: border-color 0.35s ease, transform 0.8s ease, opacity 0.8s ease;
}

.journey-card:nth-child(2n) {
  --card-color: rgba(195, 133, 92, 0.42);
  --card-x: 32%;
}

.journey-card:nth-child(3n) {
  --card-color: rgba(105, 72, 145, 0.42);
  --card-x: 78%;
}

.journey-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.journey-card:hover {
  border-color: rgba(242, 216, 170, 0.42);
  transform: translateY(-6px);
}

.journey-card::before,
.journey-card::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.journey-card::before {
  top: 54px;
  right: 48px;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(255, 235, 204, 0.25);
  box-shadow: 0 0 60px rgba(255, 208, 174, 0.1);
}

.journey-card::after {
  top: 87px;
  right: 82px;
  width: 76px;
  height: 76px;
  background: radial-gradient(circle at 38% 34%, rgba(255, 235, 220, 0.55), rgba(213, 104, 132, 0.16) 55%, transparent 70%);
  filter: blur(1px);
}

.journey-card__route {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Times New Roman", serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
}

.journey-card__route::before {
  width: 28px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.journey-card__number {
  position: absolute;
  top: 94px;
  left: 30px;
  color: rgba(255, 255, 255, 0.12);
  font-family: "Times New Roman", serif;
  font-size: 6rem;
  font-style: italic;
  line-height: 1;
}

.journey-card__body {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 32px;
}

.journey-card__subtitle {
  margin: 0 0 6px;
  color: var(--rose-bright);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.journey-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1.25;
}

.journey-card__summary {
  margin: 0;
  color: rgba(255, 247, 242, 0.72);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.8;
}

.journey-card details {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-card summary {
  padding: 15px 0 0;
  color: var(--gold-light);
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  list-style: none;
}

.journey-card summary::-webkit-details-marker {
  display: none;
}

.journey-card summary::after {
  float: right;
  content: "+";
  font-size: 1rem;
}

.journey-card details[open] summary::after {
  content: "−";
}

.journey-card details p {
  margin: 13px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.8rem;
  line-height: 1.85;
}

.family-section {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(180deg, rgba(62, 17, 43, 0.22), rgba(10, 4, 8, 0.18));
  background-size: 25% 100%, 100% 100%;
  overflow: hidden;
}

.family-section__ribbon {
  position: absolute;
  top: 40px;
  left: 50%;
  color: rgba(242, 216, 170, 0.1);
  font-family: "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 6.6rem);
  letter-spacing: 0.2em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.family-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.family-visual {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 3, 7, 0.4);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.family-visual::before,
.family-visual::after {
  position: absolute;
  width: 62px;
  height: 62px;
  content: "";
  pointer-events: none;
}

.family-visual::before {
  top: -10px;
  left: -10px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.family-visual::after {
  right: -10px;
  bottom: -10px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.family-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, rgba(165, 53, 92, 0.22), rgba(20, 7, 16, 0.9));
  transform: translateZ(10px);
}

.family-visual__date {
  position: absolute;
  right: -18px;
  bottom: 52px;
  padding: 8px 17px;
  color: #35101f;
  background: var(--gold-light);
  font-family: "Times New Roman", serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.family-copy .section-kicker {
  margin-bottom: 22px;
}

.family-copy > p:not(.section-kicker) {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 2;
}

.family-copy blockquote {
  position: relative;
  margin: 30px 0;
  padding: 20px 30px;
  border-left: 1px solid var(--gold);
  color: var(--blush);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.8;
}

.family-copy blockquote::before {
  position: absolute;
  top: -28px;
  left: 12px;
  color: rgba(242, 216, 170, 0.14);
  font-family: "Times New Roman", serif;
  font-size: 5rem;
  content: "“";
}

.family-copy__future {
  color: var(--gold-light) !important;
}

.promises-section {
  width: var(--section-width);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.promise-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(242, 216, 170, 0.13);
  background: linear-gradient(145deg, rgba(61, 17, 42, 0.48), rgba(14, 5, 12, 0.62));
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease, border-color 0.25s ease;
}

.promise-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.promise-card:hover {
  border-color: rgba(242, 216, 170, 0.4);
}

.promise-card::after {
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(232, 137, 167, 0.2);
  border-radius: 50%;
  content: "";
  transition: transform 0.5s ease;
}

.promise-card:hover::after {
  transform: scale(1.35);
}

.promise-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  place-items: center;
  font-family: "Times New Roman", serif;
  font-size: 0.68rem;
  font-style: italic;
}

.promise-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.promise-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.85;
}

.gallery-section {
  width: var(--section-width);
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.photo-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  min-height: 320px;
  margin: 0;
  border: 1px solid rgba(242, 216, 170, 0.15);
  background: #180914;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.75s ease, transform 0.75s ease, border-color 0.3s ease;
}

.photo-card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.photo-card:nth-child(5n + 1),
.photo-card:nth-child(5n + 4) {
  grid-column: span 5;
}

.photo-card:nth-child(5n + 2),
.photo-card:nth-child(5n + 5) {
  grid-column: span 3;
}

.photo-card:hover {
  z-index: 2;
  border-color: rgba(242, 216, 170, 0.48);
  transform: translateY(-7px) scale(1.01);
}

.photo-card[data-ratio="portrait"] {
  min-height: 430px;
}

.photo-card[data-ratio="landscape"] {
  min-height: 290px;
}

.photo-card img,
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease, filter 0.5s ease;
}

.photo-card:hover img {
  transform: scale(1.055);
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  padding: 28px;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 72% 24%, rgba(239, 175, 172, 0.24), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(143, 43, 79, 0.28), transparent 30%),
    linear-gradient(145deg, #45132d, #1a0916 62%, #0b0509);
}

.photo-placeholder::before {
  width: 104px;
  height: 104px;
  margin: 0 auto 20px;
  border: 1px solid rgba(242, 216, 170, 0.33);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(232, 137, 167, 0.1), inset 0 0 40px rgba(232, 137, 167, 0.06);
  content: "♡";
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 100px;
}

.photo-placeholder::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  content: "";
}

.photo-placeholder strong {
  color: var(--pearl);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.photo-placeholder span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.photo-card figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 22px 18px;
  color: rgba(255, 247, 242, 0.86);
  background: linear-gradient(transparent, rgba(6, 2, 5, 0.88));
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.hero-photo .photo-placeholder,
.family-photo .photo-placeholder {
  position: absolute;
}

.hero-photo .photo-placeholder::after,
.family-photo .photo-placeholder::after {
  border-color: rgba(242, 216, 170, 0.11);
}

.finale {
  width: 100%;
  min-height: 100svh;
  padding-right: max(24px, calc((100vw - 900px) / 2));
  padding-left: max(24px, calc((100vw - 900px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(131, 36, 73, 0.35), transparent 33rem),
    linear-gradient(180deg, rgba(10, 4, 8, 0), rgba(37, 9, 28, 0.55));
}

.finale__light {
  position: absolute;
  width: 36rem;
  height: 12rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  animation: aurora-drift 8s ease-in-out infinite alternate;
}

.finale__light--one {
  top: 12%;
  left: -18rem;
  background: var(--rose);
}

.finale__light--two {
  right: -18rem;
  bottom: 18%;
  background: #d6a76d;
  animation-delay: -3s;
}

.love-letter {
  position: relative;
  padding: clamp(36px, 7vw, 80px);
  border: 1px solid rgba(242, 216, 170, 0.25);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 40%),
    rgba(18, 7, 15, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.love-letter::before,
.love-letter::after {
  position: absolute;
  width: 74px;
  height: 74px;
  content: "";
}

.love-letter::before {
  top: 14px;
  left: 14px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.love-letter::after {
  right: 14px;
  bottom: 14px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.love-letter__stamp {
  position: absolute;
  top: 28px;
  right: 28px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(232, 137, 167, 0.38);
  color: rgba(242, 197, 206, 0.65);
  font-family: "Times New Roman", serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  transform: rotate(3deg);
}

.love-letter h2 {
  margin: 4px 0 32px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 400;
}

.love-letter__body {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 2.15;
}

.love-letter__body p {
  margin: 0 0 24px;
}

.love-letter__body p:first-child::first-letter {
  float: left;
  margin: 8px 10px 0 0;
  color: var(--gold-light);
  font-size: 3.8rem;
  line-height: 0.72;
}

.love-letter__signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 42px;
  color: var(--gold-light);
  font-family: var(--serif);
}

.love-letter__signature span {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.love-letter__signature strong {
  margin-top: 8px;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.wish {
  padding: 64px 0 0;
  text-align: center;
}

.wish > p:first-child {
  margin: 0 0 26px;
  color: var(--blush);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.wish__message {
  min-height: 36px;
  margin: 24px auto 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.wish__message.is-visible {
  opacity: 1;
}

.page-footer {
  position: relative;
  z-index: 3;
  padding: 36px 24px max(38px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  background: #080306;
}

.page-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 8px;
  color: var(--gold-light);
  font-family: "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.page-footer i {
  color: var(--rose-bright);
  font-style: normal;
}

.page-footer small {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--serif);
  font-size: 0.68rem;
}

.noscript-message {
  position: fixed;
  z-index: 1200;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px;
  border-radius: 8px;
  color: #24100f;
  background: var(--gold-light);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal--delay {
  transition-delay: 0.14s;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@keyframes aurora-drift {
  from { transform: translate3d(-4%, -6%, 0) scale(0.92); }
  to { transform: translate3d(7%, 8%, 0) scale(1.08); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(0.9); }
  12% { transform: scale(1.08); }
  25% { transform: scale(0.94); }
  38% { transform: scale(1.04); }
  56% { transform: scale(0.9); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; transform: scale(0.75) rotate(0); }
  50% { opacity: 1; transform: scale(1.18) rotate(90deg); }
}

@keyframes halo-breathe {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(0.96); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

@keyframes scroll-line {
  0% { transform: translateY(-16px); }
  100% { transform: translateY(32px); }
}

@keyframes sound-bars {
  from { height: 4px; }
  to { height: 14px; }
}

@media (max-width: 980px) {
  :root {
    --section-width: min(100% - 36px, 820px);
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 42px;
  }

  .hero__title {
    font-size: clamp(2.7rem, 5.5vw, 4.6rem);
  }

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

  .photo-card,
  .photo-card:nth-child(n) {
    grid-column: span 6;
  }

  .family-grid {
    gap: 54px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
    --section-width: calc(100% - 32px);
  }

  body {
    font-size: 15px;
  }

  .cursor-glow {
    display: none;
  }

  .opening__content {
    padding-top: 26px;
  }

  .opening h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
    letter-spacing: 0.08em;
  }

  .opening::before {
    width: 118vw;
  }

  .opening::after {
    width: 82vw;
  }

  .opening__orbit--outer {
    width: 130vw;
  }

  .opening__orbit--inner {
    width: 92vw;
  }

  .site-header {
    padding: 0 15px;
  }

  .brand {
    font-size: 0.78rem;
  }

  .brand__mark {
    width: 31px;
    height: 31px;
  }

  .music-toggle__label {
    display: none;
  }

  .music-toggle {
    padding: 8px 11px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: calc(var(--header-height) + 96px);
    text-align: center;
  }

  .hero__content::before {
    display: none;
  }

  .hero__lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero__signature {
    justify-content: center;
  }

  .hero__visual {
    width: min(76vw, 350px);
    margin: 72px auto 52px;
  }

  .love-metrics {
    grid-template-columns: 1fr;
  }

  .metric-card + .metric-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .section-heading--split {
    display: block;
    margin-bottom: 48px;
    text-align: left;
  }

  .section-heading > p:last-child,
  .section-heading--split > p:last-child {
    margin: 20px 0 0;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    display: block;
    padding-left: 36px;
  }

  .timeline-item__dot {
    top: 34px;
    left: 10px;
  }

  .timeline-item:nth-child(n) .timeline-item__card {
    margin: 0;
  }

  .timeline-item:nth-child(n) .timeline-item__index {
    top: 20px;
    right: 10px;
    left: auto;
  }

  .timeline-item__card {
    padding: 25px;
  }

  .journeys-section,
  .family-section,
  .finale {
    padding-right: 16px;
    padding-left: 16px;
  }

  .journey-controls {
    justify-content: space-between;
    margin-top: -16px;
  }

  .journey-controls span {
    order: -1;
    margin-right: auto;
  }

  .journey-track {
    grid-auto-columns: min(84vw, 360px);
  }

  .journey-card {
    min-height: 500px;
  }

  .family-grid {
    grid-template-columns: 1fr;
  }

  .family-visual {
    width: min(82vw, 430px);
    margin: 0 auto;
  }

  .family-copy {
    text-align: left;
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }

  .promise-card {
    min-height: 0;
  }

  .photo-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .photo-card,
  .photo-card:nth-child(n) {
    grid-column: span 1;
    min-height: 250px;
  }

  .photo-card:nth-child(3n + 1) {
    grid-column: span 2;
    min-height: 320px;
  }

  .photo-card[data-ratio="portrait"] {
    min-height: 330px;
  }

  .photo-placeholder {
    padding: 14px;
  }

  .photo-placeholder::before {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    font-size: 1.6rem;
    line-height: 70px;
  }

  .photo-placeholder strong {
    font-size: 0.85rem;
  }

  .photo-card figcaption {
    padding: 34px 14px 13px;
    font-size: 0.7rem;
  }

  .love-letter__stamp {
    position: static;
    display: inline-block;
    margin-bottom: 24px;
  }
}

@media (max-width: 430px) {
  .opening__eyebrow,
  .section-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .opening__subtitle {
    letter-spacing: 0.12em;
  }

  .gold-button {
    min-height: 50px;
    padding: 12px 20px;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }

  .hero__title {
    font-size: clamp(2.2rem, 10.5vw, 2.75rem);
  }

  .hero__lead {
    line-height: 1.9;
  }

  .metric-card {
    padding: 23px 14px;
  }

  .section-heading h2,
  .family-copy h2 {
    font-size: 2.15rem;
  }

  .journey-card__body {
    padding: 25px;
  }

  .journey-card h3 {
    font-size: 1.8rem;
  }

  .family-visual__date {
    right: -12px;
  }

  .promise-card {
    padding: 28px;
  }

  .love-letter {
    padding: 32px 24px;
  }

  .love-letter::before,
  .love-letter::after {
    width: 45px;
    height: 45px;
  }

  .love-letter__body {
    line-height: 2;
  }

  .love-letter__signature strong {
    font-size: 1.25rem;
  }
}

@media (hover: none) {
  .gold-button:hover,
  .journey-card:hover,
  .photo-card:hover {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ambient-canvas,
  .celebration-canvas,
  .cursor-glow {
    display: none;
  }

  .reveal,
  .timeline-item,
  .journey-card,
  .promise-card,
  .photo-card {
    opacity: 1;
    transform: none;
  }
}
