:root {
  color-scheme: light;
  --ink: #352d2f;
  --muted: #6b5f61;
  --paper: #fff9f3;
  --soft: #f8eee7;
  --blush: #d85f70;
  --coral: #e98975;
  --rose-deep: #b6406a;
  --petal: #ffe3ec;
  --gold: #c69245;
  --line: rgba(53, 45, 47, 0.12);
  --shadow: 0 24px 70px rgba(80, 42, 42, 0.16);
  --radius: 8px;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(232, 137, 117, 0.16), transparent 26rem),
    linear-gradient(145deg, #fffaf4 0%, #fff3f7 52%, #fff1ee 100%);
  line-height: 1.75;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fffdf9;
}

.site-header--solid {
  color: var(--ink);
  background: rgba(255, 250, 244, 0.86);
  border-bottom: 1px solid rgba(53, 45, 47, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding-block: 4px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links [aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 7vw, 92px) 64px;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-image: url("../images/hero-journey.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(35, 30, 31, 0.72) 0%, rgba(35, 30, 31, 0.36) 45%, rgba(35, 30, 31, 0.12) 100%),
    linear-gradient(0deg, rgba(35, 30, 31, 0.34), transparent 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #fffdf8;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 12em;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 8vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: clamp(1.06rem, 2.2vw, 1.35rem);
  color: rgba(255, 253, 248, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--blush);
  color: #fff;
  box-shadow: 0 16px 40px rgba(216, 95, 112, 0.28);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.64);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.intro-band,
.quick-links,
.timeline-section,
.letter-section,
.promise-section,
.closing-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-copy h2,
.closing-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.14;
}

.note-card,
.letter-paper,
.closing-panel,
.promise-card,
.story-link {
  border: 1px solid rgba(53, 45, 47, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.note-card {
  padding: clamp(24px, 5vw, 44px);
  color: var(--muted);
  font-size: 1.08rem;
}

.note-card p:last-child,
.letter-paper p:last-child,
.closing-panel p:last-child,
.promise-card p:last-child {
  margin-bottom: 0;
}

.quick-links {
  padding-top: 0;
}

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

.story-link {
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.story-link:hover {
  border-color: rgba(216, 95, 112, 0.34);
  box-shadow: 0 26px 70px rgba(80, 42, 42, 0.2);
  transform: translateY(-4px);
}

.story-link span,
.promise-card span {
  color: var(--blush);
  font-weight: 900;
}

.story-link strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.35;
}

.story-link small {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-main {
  padding-top: 80px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 128px) 0 clamp(54px, 8vw, 96px);
}

.page-hero::before {
  position: absolute;
  inset: 14% auto auto 58%;
  width: 38vw;
  min-width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgba(216, 95, 112, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(216, 95, 112, 0.14), rgba(250, 174, 196, 0.2)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.62) 0 10px, rgba(255, 255, 255, 0) 10px 24px);
  content: "";
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  position: relative;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(124px, 19vw, 210px);
  width: 1px;
  background: linear-gradient(var(--blush), var(--rose-deep));
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(112px, 190px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  padding: 0 0 clamp(38px, 6vw, 68px);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 8px;
  left: clamp(118px, 19vw, 204px);
  width: 13px;
  height: 13px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--blush);
  box-shadow: 0 0 0 1px rgba(216, 95, 112, 0.34);
  content: "";
}

.timeline-item time {
  color: var(--rose-deep);
  font-weight: 900;
}

.timeline-item div {
  max-width: 760px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.timeline-item h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.22;
}

.timeline-item p,
.promise-card p,
.closing-panel p {
  color: var(--muted);
}

.letter-page {
  background:
    linear-gradient(90deg, rgba(216, 95, 112, 0.08), transparent 42%),
    radial-gradient(circle at 80% 22%, rgba(232, 137, 117, 0.16), transparent 28rem);
}

.letter-section {
  padding-top: 10px;
}

.letter-paper {
  position: relative;
  width: min(820px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 6vw, 64px);
  background:
    linear-gradient(rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0.92)),
    linear-gradient(90deg, rgba(216, 95, 112, 0.12) 0 1px, transparent 1px);
  font-size: clamp(1.04rem, 2.5vw, 1.18rem);
}

.letter-paper::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(18px, 4vw, 36px);
  width: 1px;
  background: rgba(216, 95, 112, 0.28);
  content: "";
}

.letter-paper p {
  position: relative;
  z-index: 1;
}

.signature {
  color: var(--rose-deep);
  font-size: 1.24rem;
  font-weight: 900;
}

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

.promise-card {
  min-height: 270px;
  padding: 28px;
}

.promise-card h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.24;
}

.closing-section {
  padding-top: 0;
}

.closing-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
}

.closing-panel::after {
  position: absolute;
  right: -60px;
  bottom: -76px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 34px solid rgba(216, 95, 112, 0.12);
  content: "";
}

.closing-panel .button {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  padding: 26px 20px;
  color: var(--muted);
  text-align: center;
}

.footer-link {
  color: var(--rose-deep);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease var(--delay, 0ms), transform 700ms ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-story {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 189, 207, 0.22), transparent 18rem),
    radial-gradient(circle at 86% 32%, rgba(255, 219, 229, 0.28), transparent 16rem),
    linear-gradient(180deg, rgba(255, 248, 241, 0.98) 0%, rgba(255, 243, 247, 0.96) 47%, rgba(255, 236, 238, 0.98) 100%);
}

.romance-float {
  position: fixed;
  z-index: 10;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.romance-float span {
  position: absolute;
  bottom: -70px;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(216, 95, 112, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 0 16px rgba(255, 183, 203, 0.3);
  animation: float-up var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.romance-float span::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(216, 95, 112, 0.5);
  content: "♡";
  font-size: calc(var(--size) * 0.62);
  font-weight: 900;
  line-height: 1;
}

.romance-float span:nth-child(1) {
  --left: 8%;
  --size: 34px;
  --duration: 16s;
  --delay: -4s;
}

.romance-float span:nth-child(2) {
  --left: 28%;
  --size: 18px;
  --duration: 13s;
  --delay: -9s;
}

.romance-float span:nth-child(3) {
  --left: 48%;
  --size: 28px;
  --duration: 18s;
  --delay: -6s;
}

.romance-float span:nth-child(4) {
  --left: 72%;
  --size: 22px;
  --duration: 14s;
  --delay: -11s;
}

.romance-float span:nth-child(5) {
  --left: 86%;
  --size: 38px;
  --duration: 20s;
  --delay: -3s;
}

.romance-float span:nth-child(6) {
  --left: 58%;
  --size: 16px;
  --duration: 12s;
  --delay: -1s;
}

.mobile-story h1,
.mobile-story h2,
.mobile-story p {
  overflow-wrap: break-word;
}

.story-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: max(28px, env(safe-area-inset-top)) 18px calc(86px + env(safe-area-inset-bottom));
}

.story-hero__image,
.story-hero__shade {
  position: absolute;
  inset: 0;
}

.story-hero__image {
  background-image: url("../images/hero-journey.png");
  background-position: 57% center;
  background-size: cover;
  transform: scale(1.03);
}

.story-hero__shade {
  background:
    linear-gradient(180deg, rgba(31, 27, 28, 0.24) 0%, rgba(31, 27, 28, 0.22) 34%, rgba(31, 27, 28, 0.76) 100%),
    linear-gradient(90deg, rgba(31, 27, 28, 0.5), rgba(31, 27, 28, 0.08));
}

.story-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  color: #fffdf8;
}

.floating-mark {
  position: absolute;
  z-index: 1;
  color: rgba(255, 253, 248, 0.28);
  font-weight: 900;
  pointer-events: none;
}

.floating-mark--one {
  top: 11%;
  right: 18px;
  font-size: clamp(2rem, 12vw, 4.6rem);
  transform: rotate(8deg);
}

.floating-mark--two {
  top: 24%;
  left: 18px;
  font-size: clamp(2rem, 14vw, 5rem);
  transform: rotate(-12deg);
}

.story-date,
.story-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-hero h1 {
  max-width: 9.5em;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 13.5vw, 4.4rem);
  line-height: 1.04;
}

.story-hero p:not(.story-date) {
  max-width: 29em;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(1rem, 4.2vw, 1.18rem);
  line-height: 1.72;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 0.82rem;
}

.scroll-cue i {
  position: relative;
  width: 18px;
  height: 30px;
  border: 1px solid rgba(255, 253, 248, 0.76);
  border-radius: 999px;
}

.scroll-cue i::after {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.story-section {
  position: relative;
  padding: clamp(54px, 15vw, 92px) 0;
}

.story-section + .story-section {
  border-top: 1px solid rgba(53, 45, 47, 0.08);
}

.story-wrap {
  width: min(100% - 34px, 680px);
  margin-inline: auto;
}

.story-note,
.mobile-letter,
.ending-card {
  border: 1px solid rgba(53, 45, 47, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 50px rgba(80, 42, 42, 0.12);
  backdrop-filter: blur(14px);
}

.story-note {
  padding: clamp(22px, 6vw, 38px);
}

.story-note h2,
.ending-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 8vw, 3rem);
  line-height: 1.16;
}

.story-note p,
.mobile-letter p,
.future-line p,
.ending-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.86;
}

.mobile-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.mobile-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 12px;
  width: 1px;
  background: linear-gradient(var(--blush), var(--rose-deep));
  content: "";
}

.mobile-moment {
  position: relative;
  padding: 0 0 0 36px;
}

.mobile-moment::before {
  position: absolute;
  top: 8px;
  left: 4px;
  width: 17px;
  height: 17px;
  border: 4px solid #fffaf4;
  border-radius: 50%;
  background: var(--blush);
  box-shadow: 0 0 0 1px rgba(216, 95, 112, 0.32);
  content: "";
}

.mobile-moment time {
  display: block;
  margin-bottom: 4px;
  color: var(--rose-deep);
  font-size: 0.84rem;
  font-weight: 900;
}

.mobile-moment h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 6vw, 2rem);
  line-height: 1.2;
}

.mobile-moment p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

.story-letter {
  background:
    linear-gradient(180deg, rgba(216, 95, 112, 0.07), rgba(255, 255, 255, 0)),
    rgba(255, 253, 248, 0.36);
}

.cats-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(232, 137, 117, 0.15), transparent 16rem),
    radial-gradient(circle at 4% 88%, rgba(250, 174, 196, 0.16), transparent 14rem);
}

.cat-portrait {
  position: relative;
  margin: 20px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(53, 45, 47, 0.08);
  border-radius: 18px;
  box-shadow: 0 22px 58px rgba(80, 42, 42, 0.16);
}

.cat-portrait::before,
.cat-portrait::after {
  position: absolute;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 253, 248, 0.94) 0 7px, transparent 8px),
    radial-gradient(circle at 31% 54%, rgba(255, 253, 248, 0.94) 0 8px, transparent 9px),
    radial-gradient(circle at 69% 54%, rgba(255, 253, 248, 0.94) 0 8px, transparent 9px),
    radial-gradient(circle at 50% 64%, rgba(255, 253, 248, 0.94) 0 12px, transparent 13px);
  content: "";
  opacity: 0.82;
}

.cat-portrait::before {
  top: 14px;
  right: 14px;
  background-color: rgba(216, 95, 112, 0.5);
  transform: rotate(12deg) scale(0.78);
}

.cat-portrait::after {
  bottom: 14px;
  left: 14px;
  background-color: rgba(216, 95, 112, 0.42);
  transform: rotate(-16deg) scale(0.64);
}

.cat-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cat-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(53, 45, 47, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 34px rgba(80, 42, 42, 0.1);
}

.cat-card h2 {
  margin: 14px 0 6px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.cat-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.paw {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 253, 248, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 30% 46%, rgba(255, 253, 248, 0.95) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 46%, rgba(255, 253, 248, 0.95) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 63%, rgba(255, 253, 248, 0.95) 0 8px, transparent 9px),
    var(--blush);
}

.paw--gold {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 253, 248, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 30% 46%, rgba(255, 253, 248, 0.95) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 46%, rgba(255, 253, 248, 0.95) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 63%, rgba(255, 253, 248, 0.95) 0 8px, transparent 9px),
    var(--gold);
}

.mobile-letter {
  padding: clamp(24px, 6vw, 42px);
}

.future-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.future-line {
  padding: 22px 0;
  border-bottom: 1px solid rgba(53, 45, 47, 0.1);
}

.future-line:first-child {
  padding-top: 0;
}

.future-line span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blush);
  font-size: 0.86rem;
  font-weight: 900;
}

.future-line h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 6vw, 2rem);
  line-height: 1.22;
}

.story-ending {
  padding-bottom: max(72px, calc(72px + env(safe-area-inset-bottom)));
}

.ending-card {
  padding: clamp(24px, 6vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(248, 238, 231, 0.86));
}

.ending-card .story-kicker {
  color: var(--gold);
}

.love-counter {
  position: relative;
  margin: 26px 0 8px;
  padding: 20px 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(216, 95, 112, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 244, 239, 0.84)),
    radial-gradient(circle at 94% 12%, rgba(216, 95, 112, 0.16), transparent 8rem);
}

.love-counter::after {
  position: absolute;
  right: 14px;
  top: 12px;
  color: rgba(216, 95, 112, 0.18);
  content: "♡";
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.love-counter__label,
.love-counter__since {
  position: relative;
  z-index: 1;
  margin: 0;
}

.love-counter__label {
  color: var(--rose-deep) !important;
  font-size: 0.88rem !important;
  font-weight: 900;
}

.love-counter__time {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.82fr);
  gap: 8px;
  margin: 14px 0 10px;
}

.love-counter__time span {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 4px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.love-counter__time strong {
  color: var(--ink);
  font-size: clamp(1.2rem, 7vw, 2.2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.love-counter__time em {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}

.love-counter__since {
  color: var(--muted) !important;
  font-size: 0.86rem !important;
  line-height: 1.6 !important;
}

.ending-sign {
  margin-top: 22px;
  color: var(--rose-deep) !important;
  font-size: 1.14rem !important;
  font-weight: 900;
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }

  45% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
}

@keyframes float-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  12% {
    opacity: 0.85;
  }

  100% {
    opacity: 0;
    transform: translate3d(24px, -108vh, 0) rotate(38deg);
  }
}

@media (min-width: 760px) {
  .mobile-story .story-hero {
    padding-inline: clamp(48px, 10vw, 110px);
  }

  .mobile-story .story-hero__image {
    background-position: center;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .brand {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .nav-links {
    max-width: calc(100vw - 84px);
    overflow-x: auto;
    justify-content: flex-end;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding: 108px 20px 52px;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(35, 30, 31, 0.5), rgba(35, 30, 31, 0.56)),
      linear-gradient(90deg, rgba(35, 30, 31, 0.5), transparent);
  }

  .hero__content {
    align-self: end;
  }

  .button {
    width: 100%;
  }

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

  .story-link,
  .promise-card {
    min-height: auto;
  }

  .page-main {
    padding-top: 70px;
  }

  .page-hero::before {
    left: 44%;
    min-width: 260px;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 30px;
  }

  .timeline-item::before {
    left: 0;
  }

  .timeline-item time {
    font-size: 0.92rem;
  }
}

@media (max-width: 460px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.6rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .letter-paper::before {
    display: none;
  }

  .story-wrap {
    width: min(100% - 28px, 680px);
  }

  .story-section {
    padding-block: 52px;
  }

  .story-hero {
    padding-inline: 16px;
  }

  .cat-cards {
    grid-template-columns: 1fr;
  }

  .story-date,
  .story-kicker {
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
