:root {
  /* Romantic luxury palette and shared design tokens. */
  --warm-white: #fffaf7;
  --pearl: #fffdfb;
  --cream: #f7eee6;
  --champagne: #f2dfcf;
  --blush: #f7dfe6;
  --blush-soft: #fff1f4;
  --rose: #d99aab;
  --rose-dust: #bd7d8d;
  --mauve: #8a6470;
  --peach: #f4cfc1;
  --ink: #493136;
  --ink-soft: #624a50;
  --muted: #967a82;
  --line: rgba(154, 103, 115, 0.16);
  --line-strong: rgba(154, 103, 115, 0.28);
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #fffdfc;
  --shadow-soft: 0 28px 80px rgba(138, 86, 99, 0.12);
  --shadow-card: 0 18px 54px rgba(138, 86, 99, 0.1);
  --shadow-small: 0 12px 30px rgba(138, 86, 99, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --section-space: clamp(86px, 14vw, 170px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--warm-white);
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  text-rendering: geometricPrecision;
  background:
    radial-gradient(circle at 16% 8%, rgba(247, 210, 221, 0.48), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(244, 207, 193, 0.34), transparent 30rem),
    linear-gradient(155deg, #fffaf7 0%, #fff4f6 47%, #f8eee6 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(154, 103, 115, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 103, 115, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 85%);
}

body::after {
  /* Fixed paper grain keeps the page tactile without repainting scroll content. */
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 25% 20%, #4d3338 0 0.6px, transparent 0.7px),
    radial-gradient(circle at 75% 70%, #4d3338 0 0.6px, transparent 0.7px);
  background-size: 7px 7px, 11px 11px;
}

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

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

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

button {
  border: 0;
  font: inherit;
}

::selection {
  color: var(--ink);
  background: rgba(247, 210, 221, 0.78);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.34);
}

.scroll-progress__bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(213, 143, 160, 0.74), rgba(245, 201, 212, 0.94), rgba(189, 125, 141, 0.7));
  transform: scaleX(0);
  transform-origin: left center;
}

.pointer-glow {
  position: fixed;
  z-index: 18;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(247, 210, 221, 0.38), rgba(247, 210, 221, 0.14) 36%, transparent 68%);
  mix-blend-mode: multiply;
  transition: opacity 700ms var(--ease-luxury);
}

.trail-dot {
  position: fixed;
  z-index: 19;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(213, 143, 160, 0.42);
  transform: translate3d(-50%, -50%, 0) scale(1);
  animation: trail-fade 820ms var(--ease-luxury) forwards;
}

.ambient-field {
  /* Ambient decor is passive and GPU-friendly through transform-only movement. */
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb,
.star-dot {
  position: absolute;
  display: block;
  will-change: transform;
}

.ambient-orb {
  border-radius: 999px;
  filter: blur(2px);
}

.ambient-orb--one {
  top: 6%;
  left: -18%;
  width: clamp(260px, 46vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(247, 210, 221, 0.54), rgba(247, 210, 221, 0.14) 56%, transparent 72%);
}

.ambient-orb--two {
  right: -20%;
  top: 24%;
  width: clamp(260px, 42vw, 560px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(244, 207, 193, 0.42), rgba(244, 207, 193, 0.12) 54%, transparent 74%);
}

.ambient-orb--three {
  left: 18%;
  bottom: -26%;
  width: clamp(280px, 48vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 253, 251, 0.82), rgba(247, 223, 230, 0.22) 54%, transparent 76%);
}

.star-dot {
  width: 5px;
  height: 5px;
  border: 1px solid rgba(189, 125, 141, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 22px rgba(213, 143, 160, 0.28);
  animation: pearl-pulse 5.8s var(--ease-soft) infinite;
}

.star-dot--one {
  top: 18%;
  left: 12%;
}

.star-dot--two {
  top: 12%;
  right: 18%;
  animation-delay: 900ms;
}

.star-dot--three {
  top: 39%;
  left: 7%;
  animation-delay: 1800ms;
}

.star-dot--four {
  top: 58%;
  right: 10%;
  animation-delay: 2400ms;
}

.star-dot--five {
  bottom: 18%;
  left: 24%;
  animation-delay: 1100ms;
}

.star-dot--six {
  bottom: 28%;
  right: 26%;
  animation-delay: 3200ms;
}

.section-shell {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto;
  padding-block: var(--section-space);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-top: clamp(78px, 12vw, 140px);
  padding-bottom: clamp(72px, 12vw, 132px);
}

.hero__inner {
  width: min(100%, 850px);
  text-align: center;
}

.brand-mark {
  margin: 0 0 18px;
  color: var(--mauve);
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  font-weight: 750;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.soft-badge,
.eyebrow {
  width: fit-content;
  margin: 0 auto;
  border: 1px solid rgba(189, 125, 141, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--rose-dust);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.soft-badge {
  padding: 10px 14px;
}

.eyebrow {
  padding: 9px 13px;
}

.hero__title,
.section-heading h2,
.letter-card h2,
.reasons-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.026em;
}

.hero__title {
  max-width: 11ch;
  margin: clamp(22px, 4vw, 34px) auto 0;
  font-size: clamp(4rem, 17vw, 9.8rem);
  line-height: 0.9;
}

.hero__subtitle {
  max-width: 700px;
  margin: clamp(24px, 4.5vw, 34px) auto 0;
  color: var(--ink-soft);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.18rem, 4.5vw, 2.05rem);
  line-height: 1.34;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero__line {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.8vw, 1.12rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(30px, 6vw, 46px);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  transition:
    transform 520ms var(--ease-luxury),
    box-shadow 520ms var(--ease-luxury),
    background 520ms var(--ease-luxury),
    color 520ms var(--ease-luxury),
    border-color 520ms var(--ease-luxury);
}

.button:focus-visible {
  outline: 3px solid rgba(213, 143, 160, 0.34);
  outline-offset: 4px;
}

.button:active {
  transform: scale(0.982) translateY(1px);
}

.button--primary {
  padding: 8px 9px 8px 22px;
  color: #fffdfb;
  background: linear-gradient(135deg, #6a474e, #8f626d);
  box-shadow:
    0 18px 34px rgba(106, 71, 78, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 46px rgba(106, 71, 78, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button--quiet {
  padding: 8px 20px;
  border: 1px solid rgba(154, 103, 115, 0.18);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.button--quiet:hover {
  border-color: rgba(154, 103, 115, 0.28);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-small), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.button__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 520ms var(--ease-luxury), background 520ms var(--ease-luxury);
}

.button:hover .button__mark {
  transform: translate3d(2px, -1px, 0) rotate(90deg);
  background: rgba(255, 255, 255, 0.92);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(32px, 7vw, 58px);
  text-align: center;
}

.section-heading--narrow {
  max-width: 620px;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(2.25rem, 9vw, 5.2rem);
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.8vw, 1.12rem);
  text-wrap: pretty;
}

.sky-card {
  /* JavaScript updates this custom property for a very small scroll depth cue. */
  --image-drift: 0px;
  max-width: 940px;
  margin: 0 auto;
  transform: translate3d(0, var(--image-drift), 0);
  transition: transform 900ms var(--ease-luxury);
}

.sky-card__shell,
.letter-card,
.reasons-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 241, 244, 0.54)),
    rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
}

.sky-card__shell {
  padding: clamp(8px, 1.8vw, 14px);
  border-radius: var(--radius-xl);
}

.sky-card__core {
  position: relative;
  overflow: hidden;
  padding: clamp(10px, 2.3vw, 18px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    linear-gradient(155deg, rgba(255, 253, 251, 0.98), rgba(255, 244, 247, 0.88)),
    var(--surface-solid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.sky-card__core::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 8%, rgba(247, 210, 221, 0.34), transparent 36%),
    radial-gradient(circle at 86% 90%, rgba(244, 207, 193, 0.28), transparent 34%);
}

.sky-card__image-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 18px);
  background: var(--blush-soft);
}

.sky-card img {
  width: 100%;
  height: auto;
  border-radius: inherit;
  object-fit: contain;
}

.sky-card img.is-hidden {
  display: none;
}

.image-fallback {
  min-height: clamp(260px, 72vw, 620px);
  display: block;
  padding: clamp(26px, 7vw, 60px);
  border-radius: inherit;
  color: var(--mauve);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 210, 221, 0.44), transparent 42%),
    linear-gradient(145deg, rgba(255, 250, 247, 0.96), rgba(255, 238, 243, 0.84));
}

.image-fallback[hidden] {
  display: none;
}

.image-fallback img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 620px);
  margin: 0 auto;
  border-radius: calc(var(--radius-xl) - 28px);
  object-fit: contain;
  object-position: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.sky-card figcaption {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: clamp(0.94rem, 2.6vw, 1.04rem);
}

.metadata-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 940px;
  margin: clamp(26px, 5vw, 40px) auto 0;
}

.metadata-card {
  margin: 0;
  padding: 18px 18px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition:
    transform 520ms var(--ease-luxury),
    border-color 520ms var(--ease-luxury),
    box-shadow 520ms var(--ease-luxury),
    background 520ms var(--ease-luxury);
}

.metadata-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-small), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.metadata-card dt {
  margin: 0 0 8px;
  color: var(--rose-dust);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metadata-card dd {
  margin: 0;
  color: var(--ink-soft);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.2;
}

.love-note {
  width: min(calc(100% - 36px), 900px);
}

.letter-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 8vw, 76px);
  border-radius: var(--radius-xl);
}

.letter-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(154, 103, 115, 0.042) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(247, 210, 221, 0.48), transparent 36%);
  background-size: 100% 34px, auto;
}

.letter-card > * {
  position: relative;
  z-index: 1;
}

.letter-card__kicker {
  width: fit-content;
  margin-bottom: 24px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose-dust);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.letter-card h2 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 11vw, 6.2rem);
  line-height: 0.95;
}

.letter-card p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 3.2vw, 1.24rem);
  line-height: 1.82;
}

.letter-card__signature {
  color: var(--mauve) !important;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.22rem, 4vw, 1.8rem) !important;
  line-height: 1.2 !important;
}

.memory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.memory-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 244, 247, 0.48)),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    transform 560ms var(--ease-luxury),
    box-shadow 560ms var(--ease-luxury),
    border-color 560ms var(--ease-luxury),
    background 560ms var(--ease-luxury);
}

.memory-card::after {
  position: absolute;
  right: -40px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(247, 210, 221, 0.48), transparent 68%);
  opacity: 0.8;
  transition: transform 700ms var(--ease-luxury), opacity 700ms var(--ease-luxury);
}

.memory-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 244, 247, 0.6)),
    rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.memory-card:hover::after {
  transform: scale(1.1) translate3d(-8px, -8px, 0);
  opacity: 1;
}

.memory-card__number {
  color: var(--rose-dust);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.memory-card h3 {
  position: relative;
  z-index: 1;
  margin: 44px 0 10px;
  color: var(--ink);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.026em;
  line-height: 1;
}

.memory-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.reasons {
  width: min(calc(100% - 36px), 940px);
}

.reasons-card {
  display: grid;
  gap: clamp(24px, 5vw, 38px);
  padding: clamp(30px, 8vw, 74px);
  border-radius: var(--radius-xl);
  text-align: center;
}

.reasons-card__header {
  max-width: 640px;
  margin: 0 auto;
}

.reasons-card h2 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 8vw, 4.6rem);
  line-height: 1;
  text-wrap: balance;
}

.reason-display {
  min-height: clamp(190px, 38vw, 270px);
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 210, 221, 0.34), transparent 44%),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.reason-display p {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.45rem, 6.5vw, 3.1rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
  transition: opacity 420ms var(--ease-luxury), transform 420ms var(--ease-luxury), filter 420ms var(--ease-luxury);
}

.reason-display p.is-changing {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(3px);
}

.reason-button {
  width: fit-content;
  margin: 0 auto;
}

.label-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.label-tile {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 241, 244, 0.5)),
    rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  font-size: clamp(0.72rem, 2.4vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  transition:
    transform 520ms var(--ease-luxury),
    border-color 520ms var(--ease-luxury),
    box-shadow 520ms var(--ease-luxury),
    background 520ms var(--ease-luxury);
}

.label-tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 241, 244, 0.62)),
    rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-small), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.timeline {
  width: min(calc(100% - 36px), 900px);
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline-list::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(189, 125, 141, 0.34), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 20px 0;
}

.timeline-item__dot {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--pearl);
  box-shadow: 0 10px 22px rgba(138, 86, 99, 0.08);
}

.timeline-item__dot::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--rose);
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 2.8vw, 1.08rem);
}

.site-footer {
  width: min(calc(100% - 36px), 920px);
  margin: 0 auto;
  padding: clamp(34px, 8vw, 72px) 0 clamp(44px, 9vw, 86px);
  text-align: center;
  border-top: 1px solid rgba(189, 125, 141, 0.18);
}

.footer-doggo {
  width: clamp(112px, 30vw, 164px);
  margin: 0 auto 16px;
  color: #c9909c;
}

.doggo-svg {
  overflow: visible;
}

.doggo-body {
  animation: doggo-breathe 4.8s var(--ease-soft) infinite;
  transform-origin: 50% 78%;
}

.doggo-tail {
  animation: tail-sway 3.4s var(--ease-soft) infinite;
  transform-origin: 160px 98px;
}

.doggo-heart {
  animation: heart-float 4.4s var(--ease-soft) infinite;
  transform-origin: center;
}

.footer-copy {
  color: var(--muted);
  font-size: clamp(0.92rem, 2.6vw, 1rem);
}

.footer-copy p {
  margin: 0;
  line-height: 1.8;
}

.footer-copy p:first-child {
  color: var(--ink);
  font-weight: 820;
  letter-spacing: 0.06em;
}

.footer-note {
  margin-top: 12px !important;
  color: var(--ink-soft);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1rem, 3vw, 1.18rem);
}

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

.js-ready .reveal {
  /* Reveal states stay opt-in so the page remains readable if JavaScript fails. */
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 900ms var(--ease-luxury),
    transform 900ms var(--ease-luxury),
    filter 900ms var(--ease-luxury);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js-ready .section-heading.reveal,
.js-ready .letter-card.reveal,
.js-ready .reasons-card.reveal,
.js-ready .sky-card.reveal {
  filter: blur(8px);
}

.js-ready .section-heading.reveal.is-visible,
.js-ready .letter-card.reveal.is-visible,
.js-ready .reasons-card.reveal.is-visible,
.js-ready .sky-card.reveal.is-visible {
  filter: blur(0);
}

@keyframes pearl-pulse {
  0%,
  100% {
    opacity: 0.36;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 0.82;
    transform: translate3d(0, -6px, 0) scale(1.28);
  }
}

@keyframes trail-fade {
  0% {
    opacity: 0.56;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.2);
  }
}

@keyframes doggo-breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, 2px, 0) scale(1.012);
  }
}

@keyframes tail-sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(6deg);
  }
}

@keyframes heart-float {
  0%,
  100% {
    opacity: 0.82;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate3d(0, -5px, 0) scale(1.04);
  }
}

@media (min-width: 560px) {
  .metadata-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 780px) {
  .section-shell {
    width: min(calc(100% - 72px), var(--container));
  }

  .metadata-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .memory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .memory-card:nth-child(2),
  .memory-card:nth-child(5) {
    transform: translateY(24px);
  }

  .memory-card:nth-child(2):hover,
  .memory-card:nth-child(5):hover {
    transform: translateY(18px);
  }

  .timeline-item {
    grid-template-columns: 44px 1fr;
    gap: 22px;
    padding: 24px 0;
  }

  .timeline-list::before {
    left: 21px;
  }

  .timeline-item__dot {
    width: 44px;
    height: 44px;
  }
}

@media (min-width: 1040px) {
  .hero__inner {
    transform: translateY(-1.5vh);
  }

  .label-cloud {
    gap: 14px;
  }
}

@media (hover: none) {
  .pointer-glow,
  .trail-dot {
    display: none;
  }

  .memory-card:hover,
  .metadata-card:hover,
  .label-tile:hover,
  .button--primary:hover,
  .button--quiet:hover {
    transform: none;
  }

  .memory-card:nth-child(2),
  .memory-card:nth-child(5),
  .memory-card:nth-child(2):hover,
  .memory-card:nth-child(5):hover {
    transform: none;
  }
}

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

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

  .ambient-orb,
  .star-dot,
  .sky-card,
  .doggo-body,
  .doggo-tail,
  .doggo-heart {
    transform: none !important;
  }

  .pointer-glow,
  .trail-dot {
    display: none !important;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
