/* =========================================================
   Ten Months — Snehashish & Niharika
   Mobile-first anniversary page
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --cream: #fbf5ee;
  --cream-2: #f5e9dc;
  --blush: #f1ded4;
  --ink: #38202a;
  --ink-soft: #77545f;
  --rose: #b0506a;
  --rose-deep: #8a3450;
  --gold: #b78a52;
  --gold-deep: #7f5a2a;
  --gold-light: #d9b684;
  --plum: #2a1520;
  --plum-soft: #3a1e2b;

  --line: rgba(56, 32, 42, 0.14);
  --line-light: rgba(251, 245, 238, 0.16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Parisienne", "Brush Script MT", cursive;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.19, 0.8, 0.24, 1);
}

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

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

html.modal-open,
html.modal-open body {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fine film grain, adds warmth over flat gradients */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

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

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--rose);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--plum);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}

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

/* ---------- Shared type ---------- */
.eyebrow {
  margin: 0;
  color: var(--rose-deep);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.6;
  text-transform: uppercase;
}

.title {
  margin: 0.55rem 0 0.9rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.title em {
  color: var(--rose);
  font-style: italic;
}

.lede {
  max-width: 33ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3.6vw, 1.28rem);
  font-style: italic;
  line-height: 1.7;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(3.9rem, 12vw, 7.5rem) clamp(1.25rem, 6vw, 2.5rem);
}

.section__inner {
  max-width: 72rem;
  margin-inline: auto;
}

.section__head {
  max-width: 38rem;
  margin: 0 auto clamp(2.4rem, 7vw, 3.6rem);
  text-align: center;
}

/* ---------- Ornament ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: min(14rem, 70%);
  margin: 1.6rem auto;
  color: var(--gold);
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
}

.ornament::before {
  background: linear-gradient(90deg, rgba(183, 138, 82, 0), var(--gold));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold), rgba(183, 138, 82, 0));
}

.ornament svg {
  flex: none;
  width: 13px;
  height: 13px;
  fill: var(--rose);
}

.ornament--hero {
  width: min(10rem, 58%);
  margin: clamp(1rem, 3.5vw, 1.4rem) auto 0;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(3rem, 10vh, 6rem) 1.25rem clamp(5rem, 14vh, 8rem);
  overflow: clip;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(70% 55% at 84% 6%, rgba(213, 157, 160, 0.4), transparent 68%),
    radial-gradient(60% 48% at 6% 88%, rgba(226, 195, 160, 0.45), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #fffaf3 0%, rgba(255, 250, 243, 0) 62%),
    var(--cream);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  animation: hero-rise 1.5s var(--ease) both;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 clamp(1.1rem, 4vw, 1.75rem);
  color: var(--rose-deep);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: clamp(1rem, 6vw, 2.75rem);
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 2.5vw, 1.1rem);
  margin: 0;
  line-height: 0.82;
}

.hero__num {
  padding-right: 0.02em;
  background: linear-gradient(165deg, #8e3a54 0%, #b4516a 48%, #c09358 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(7rem, 36vw, 20rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.78;
}

.hero__unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(0.58rem, 2.1vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  line-height: 1.95;
  text-align: left;
  text-transform: uppercase;
}

.hero__names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.4rem;
  row-gap: 0;
  margin: clamp(1.1rem, 4vw, 1.8rem) 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 5.4vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.2;
}

.hero__amp {
  color: var(--rose);
  font-family: var(--script);
  font-size: 1.4em;
  font-style: normal;
  line-height: 1;
  transform: translateY(0.08em);
}

.hero__tagline {
  max-width: 30ch;
  margin: clamp(0.9rem, 3.5vw, 1.3rem) auto 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1rem, 3.7vw, 1.22rem);
  font-style: italic;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(1.7rem, 5.5vw, 2.3rem);
  padding: 0.98rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--plum);
  box-shadow: 0 18px 38px -20px rgba(42, 21, 32, 0.85);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--rose-deep);
  box-shadow: 0 22px 42px -20px rgba(42, 21, 32, 0.9);
  transform: translateY(-2px);
}

.btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Floating hearts */
.hero__floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.floater {
  position: absolute;
  fill: var(--rose);
  opacity: 0.2;
  animation: drift 15s ease-in-out infinite alternate;
}

.floater--1 {
  top: 17%;
  left: 8%;
  width: 20px;
  animation-delay: -2s;
}

.floater--2 {
  top: 24%;
  right: 10%;
  width: 13px;
  animation-delay: -6s;
  animation-duration: 18s;
}

.floater--3 {
  bottom: 25%;
  left: 14%;
  width: 11px;
  animation-delay: -10s;
  animation-duration: 13s;
}

.floater--4 {
  right: 14%;
  bottom: 19%;
  width: 24px;
  animation-delay: -4s;
  animation-duration: 20s;
  opacity: 0.13;
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: clamp(1.1rem, 3.5vh, 2rem);
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: linear-gradient(rgba(183, 138, 82, 0.85), rgba(183, 138, 82, 0));
}

.hero__scroll-line span {
  position: absolute;
  top: -10px;
  left: 0;
  width: 1px;
  height: 10px;
  background: var(--rose-deep);
  animation: scroll-dot 2.6s var(--ease) infinite;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  to {
    transform: translate3d(10px, -26px, 0) rotate(10deg);
  }
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}

/* =========================================================
   COUNTER
   ========================================================= */
.counter {
  padding: clamp(2.75rem, 8vw, 4.5rem) clamp(1.25rem, 6vw, 2.5rem) clamp(2rem, 6vw, 3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.counter__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 48rem;
  margin-inline: auto;
}

.counter__item {
  position: relative;
  padding: 0.25rem 0.3rem;
  text-align: center;
}

.counter__item + .counter__item::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--line), transparent);
}

.counter__num {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 7.5vw, 3.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.counter__label {
  display: block;
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.counter__note {
  margin: 1.7rem 0 0;
  color: var(--rose-deep);
  font-family: var(--script);
  font-size: clamp(1.35rem, 4.8vw, 1.7rem);
  line-height: 1.3;
  text-align: center;
}

/* =========================================================
   STORY / TIMELINE
   ========================================================= */
.story {
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    var(--cream-2) 10%,
    var(--cream-2) 90%,
    var(--cream) 100%
  );
}

.timeline {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 8px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(183, 138, 82, 0.8),
    rgba(183, 138, 82, 0.28) 60%,
    rgba(183, 138, 82, 0.05)
  );
}

.timeline__item {
  position: relative;
  padding: 0 0 clamp(2rem, 6vw, 2.9rem) 2.35rem;
}

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

.timeline__heart {
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 17px;
  height: 17px;
  fill: var(--rose);
  filter: drop-shadow(0 2px 5px rgba(138, 52, 80, 0.3));
}

.timeline__label {
  margin: 0;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
}

.timeline__name {
  margin: 0.3rem 0 0.45rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4.8vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}

.timeline__text {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.78;
}

/* =========================================================
   GALLERY / CAROUSEL
   ========================================================= */
.gallery {
  overflow: clip;
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(183, 138, 82, 0.2), transparent 70%),
    radial-gradient(80% 50% at 100% 100%, rgba(138, 52, 80, 0.35), transparent 70%),
    linear-gradient(180deg, var(--plum) 0%, #321925 50%, var(--plum) 100%);
  color: var(--cream);
}

.gallery .eyebrow {
  color: var(--gold-light);
}

.gallery .title {
  color: var(--cream);
}

.gallery .title em {
  color: #e3a9b8;
}

.gallery .lede {
  color: rgba(251, 245, 238, 0.68);
}

.carousel {
  max-width: min(34rem, 58vh);
  margin-inline: auto;
  border-radius: 20px;
}

.carousel:focus {
  outline: none;
}

.carousel:focus-visible {
  outline: 1px solid var(--gold-light);
  outline-offset: 14px;
}

.carousel__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 245, 238, 0.14);
  border-radius: 18px;
  background: #1a0d13;
  box-shadow:
    0 45px 90px -32px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.carousel__viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.carousel__viewport:active {
  cursor: grabbing;
}

.carousel__track {
  display: flex;
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}

.carousel__track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, #432433, #1c0e15);
}

.slide img {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.6s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.slide img.is-loaded {
  opacity: 1;
}

.slide__missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: rgba(251, 245, 238, 0.65);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.slide__missing span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(251, 245, 238, 0.4);
  font-family: var(--sans);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Carousel arrows */
.carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(251, 245, 238, 0.32);
  border-radius: 50%;
  background: rgba(20, 10, 15, 0.36);
  color: var(--cream);
  transform: translateY(-50%);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.carousel__nav:hover {
  border-color: rgba(251, 245, 238, 0.55);
  background: rgba(176, 80, 106, 0.72);
}

.carousel__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.carousel__nav--prev {
  left: 0.7rem;
}

.carousel__nav--next {
  right: 0.7rem;
}

.carousel__nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel__nav:disabled {
  opacity: 0.28;
  pointer-events: none;
}

.carousel__badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(251, 245, 238, 0.2);
  border-radius: 999px;
  background: rgba(20, 10, 15, 0.42);
  color: rgba(251, 245, 238, 0.92);
  font-size: 0.58rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
  line-height: 1.7;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.carousel__hint {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(251, 245, 238, 0.18);
  border-radius: 999px;
  background: rgba(20, 10, 15, 0.4);
  color: rgba(251, 245, 238, 0.85);
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition:
    opacity 0.6s ease,
    transform 0.6s var(--ease);
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.carousel__hint svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.carousel__hint.is-hidden {
  opacity: 0;
  transform: translate(-50%, 10px);
}

/* Carousel meta */
.carousel__meta {
  margin-top: 1.5rem;
  text-align: center;
}

.carousel__caption {
  min-height: 2.4em;
  margin: 0 0 1.05rem;
  color: rgba(251, 245, 238, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3.6vw, 1.28rem);
  font-style: italic;
  line-height: 1.4;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.carousel__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(251, 245, 238, 0.36);
  transition:
    width 0.4s var(--ease),
    background 0.4s var(--ease);
}

.carousel__dot::after {
  content: "";
  position: absolute;
  inset: -10px -5px;
}

.carousel__dot:hover {
  background: rgba(251, 245, 238, 0.6);
}

.carousel__dot.is-active {
  width: 26px;
  background: var(--gold-light);
}

.carousel__play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(251, 245, 238, 0.24);
  border-radius: 50%;
  color: rgba(251, 245, 238, 0.75);
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.carousel__play:hover {
  border-color: rgba(251, 245, 238, 0.5);
  color: var(--cream);
}

.carousel__play svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.carousel__play .icon-pause path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.carousel__play .icon-play,
.carousel__play[data-playing="false"] .icon-pause {
  display: none;
}

.carousel__play[data-playing="false"] .icon-play {
  display: block;
}

.carousel[data-count="0"] .carousel__nav,
.carousel[data-count="0"] .carousel__badge,
.carousel[data-count="0"] .carousel__hint,
.carousel[data-count="1"] .carousel__nav,
.carousel[data-count="1"] .carousel__badge,
.carousel[data-count="1"] .carousel__hint {
  display: none;
}

.carousel__noscript,
.gallery__note {
  margin: 1.7rem 0 0;
  color: rgba(251, 245, 238, 0.55);
  font-size: 0.57rem;
  letter-spacing: 0.2em;
  line-height: 1.7;
  text-align: center;
  text-transform: uppercase;
}

/* =========================================================
   LETTER
   ========================================================= */
.letter {
  background: var(--cream);
}

.letter__card {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
  padding: clamp(1.7rem, 6vw, 3.5rem);
  border: 1px solid rgba(183, 138, 82, 0.34);
  border-radius: 4px;
  background: linear-gradient(165deg, #fffaf4 0%, #f8eee2 100%);
  box-shadow: 0 45px 90px -55px rgba(42, 21, 32, 0.55);
}

.letter__card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(183, 138, 82, 0.18);
  border-radius: 2px;
  pointer-events: none;
}

.letter__to {
  position: relative;
  margin: 0 0 1.25rem;
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.3;
}

.letter__body {
  position: relative;
}

.letter__body p {
  margin: 0 0 1.15rem;
  color: #4a3038;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 3.5vw, 1.16rem);
  line-height: 1.85;
}

.letter__body p:first-child::first-letter {
  float: left;
  padding: 0.06em 0.06em 0 0;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 2.95em;
  line-height: 0.78;
}

.letter__body p:last-child {
  margin-bottom: 0;
}

.letter__sign {
  position: relative;
  margin: 1.7rem 0 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.8;
  text-transform: uppercase;
}

.letter__sign span {
  display: block;
  color: var(--rose-deep);
  font-family: var(--script);
  font-size: clamp(2rem, 7vw, 2.7rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
}

/* =========================================================
   REASONS
   ========================================================= */
.reasons {
  border-top: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    var(--blush) 18%,
    var(--blush) 100%
  );
}

.reasons__list {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid rgba(56, 32, 42, 0.13);
  list-style: none;
}

.reasons__item {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.7rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(56, 32, 42, 0.13);
  break-inside: avoid;
}

.reasons__num {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
}

.reasons__text {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  overflow: clip;
  padding: clamp(3.8rem, 11vw, 6.5rem) 1.5rem calc(2.5rem + env(safe-area-inset-bottom));
  background:
    radial-gradient(90% 70% at 50% 0%, #3f2130 0%, transparent 65%),
    var(--plum);
  color: var(--cream);
  text-align: center;
}

.footer__heart {
  width: 26px;
  height: 26px;
  margin: 0 auto 1.3rem;
  fill: var(--rose);
  filter: drop-shadow(0 0 14px rgba(176, 80, 106, 0.6));
  animation: heartbeat 3.2s ease-in-out infinite;
}

.footer__script {
  margin: 0 0 0.7rem;
  color: var(--gold-light);
  font-family: var(--script);
  font-size: clamp(1.9rem, 6.8vw, 2.8rem);
  line-height: 1.3;
}

.footer__script span {
  display: block;
}

.footer__names {
  margin: 0 0 2.1rem;
  color: rgba(251, 245, 238, 0.72);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.6;
}

.footer__amp {
  color: var(--gold-light);
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(251, 245, 238, 0.55);
  font-size: 0.59rem;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer__top:hover {
  color: var(--cream);
}

.footer__top svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.footer__note {
  margin: 2.7rem 0 0;
  color: rgba(251, 245, 238, 0.32);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  line-height: 1.7;
  text-transform: uppercase;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.12);
  }
  24% {
    transform: scale(1);
  }
  36% {
    transform: scale(1.08);
  }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgba(13, 6, 10, 0.96);
  color: var(--cream);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  animation: lightbox-in 0.35s ease both;
}

.lightbox::backdrop {
  background: rgba(13, 6, 10, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox__figure {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 3.4rem 1rem 0.5rem;
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: min(92vw, 1000px);
  max-height: calc(100dvh - 9.5rem);
  border-radius: 5px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(251, 245, 238, 0.3);
  border-radius: 50%;
  background: rgba(20, 10, 15, 0.45);
  color: var(--cream);
  transition: background 0.3s var(--ease);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(176, 80, 106, 0.75);
}

.lightbox__close {
  top: calc(0.9rem + env(safe-area-inset-top));
  right: 0.9rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 0.7rem;
}

.lightbox__nav--next {
  right: 0.7rem;
}

.lightbox.is-single .lightbox__nav {
  display: none;
}

.lightbox__close svg,
.lightbox__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.lightbox__bar {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0.9rem 3.5rem calc(1.4rem + env(safe-area-inset-bottom));
  text-align: center;
}

.lightbox__caption {
  min-height: 1.5em;
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.4;
}

.lightbox__count {
  color: rgba(251, 245, 238, 0.5);
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.24em;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =========================================================
   SCROLL REVEAL (JS adds .js to <html>)
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s ease var(--delay, 0s),
    transform 0.95s var(--ease) var(--delay, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   BREAKPOINTS
   ========================================================= */
@media (min-width: 640px) {
  .timeline {
    max-width: 46rem;
  }

  .timeline__text {
    font-size: 1rem;
  }

  .counter {
    padding-top: clamp(3rem, 6vw, 4.5rem);
  }

  .counter__label {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
  }

  .lightbox__img {
    border-radius: 8px;
  }
}

@media (min-width: 900px) {
  /* Ten reasons: two columns of five, with dividers aligned across both. */
  .reasons__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    column-gap: 4rem;
  }

  .hero {
    padding-inline: 2.5rem;
  }

  .hero__names {
    letter-spacing: 0.01em;
  }

  .letter__card {
    padding: 3.5rem 3.75rem;
  }

  .carousel__nav--prev {
    left: 0.9rem;
  }

  .carousel__nav--next {
    right: 0.9rem;
  }
}

/* Very narrow phones */
@media (max-width: 359px) {
  .hero__num {
    font-size: 6.4rem;
  }

  .hero__names {
    font-size: 1.3rem;
  }

  .hero__eyebrow {
    letter-spacing: 0.22em;
  }

  .counter__label {
    font-size: 0.48rem;
    letter-spacing: 0.14em;
  }

  .carousel__nav {
    width: 38px;
    height: 38px;
  }

  .carousel__nav--prev {
    left: 0.45rem;
  }

  .carousel__nav--next {
    right: 0.45rem;
  }
}

/* Short screens / landscape phones */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-block: 5rem 4rem;
  }

  .hero__num {
    font-size: 8rem;
  }

  .hero__scroll {
    display: none;
  }

  .carousel {
    max-width: min(30rem, 70vh);
  }
}

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

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

  .hero__content {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .floater,
  .hero__scroll-line span,
  .footer__heart {
    animation: none;
  }

  .carousel__track {
    transition: none;
  }
}
