:root {
  --paper: #f6eee3;
  --paper-light: #fcf8f1;
  --paper-deep: #e9ddce;
  --ink: #28231f;
  --ink-soft: #5f574f;
  --red: #c63d34;
  --red-dark: #9e2d29;
  --coral: #e49384;
  --blush: #f1c9bc;
  --olive: #5e6849;
  --gold: #dfad58;
  --line: rgba(40, 35, 31, 0.16);
  --line-light: rgba(252, 248, 241, 0.2);
  --shadow: 0 30px 80px rgba(73, 47, 36, 0.14);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --hand: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif SC", serif;
  --shell: 1280px;
  --pad: clamp(24px, 6vw, 86px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 12%, rgba(228, 147, 132, 0.14), transparent 24rem),
    radial-gradient(circle at 95% 44%, rgba(223, 173, 88, 0.09), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection {
  color: var(--paper-light);
  background: var(--red);
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-150%);
}

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1101;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 80ms linear;
}

.section-shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
  width: min(calc(100% - 32px), 1380px);
  min-height: 70px;
  padding: 10px 12px 10px 18px;
  background: rgba(246, 238, 227, 0.82);
  border: 1px solid rgba(40, 35, 31, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(64, 41, 31, 0.06);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--red);
  border-radius: 50%;
}

.brand-mark svg {
  width: 24px;
  fill: var(--paper-light);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: Georgia, var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.28em;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  justify-content: center;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.heart-button {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px 15px 12px 18px;
  color: var(--paper-light);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition:
    color 250ms ease,
    background 250ms ease,
    transform 250ms ease;
}

.account-button {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 10px 13px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.account-button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-button:hover,
body[data-role="owner"] .account-button,
body[data-role="partner"] .account-button {
  color: var(--red);
  background: rgba(198, 61, 52, 0.05);
  border-color: rgba(198, 61, 52, 0.34);
}

.account-button:hover svg {
  transform: translateY(-1px);
}

.heart-button svg {
  width: 20px;
  fill: var(--coral);
  transition: transform 300ms var(--ease);
}

.heart-button:hover {
  color: #fff;
  background: var(--red);
  transform: translateY(-2px);
}

.heart-button:hover svg {
  transform: scale(1.18);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 200ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.8fr);
  gap: clamp(44px, 6vw, 100px);
  align-items: center;
  min-height: 100svh;
  padding-top: 154px;
  padding-bottom: 84px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.kicker {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.21em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(198, 61, 52, 0.1);
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(3.75rem, 7.2vw, 7.2rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 .accent-line {
  position: relative;
  display: block;
  color: var(--red);
  font-family: var(--hand);
  font-size: 0.92em;
  letter-spacing: -0.07em;
  transform: translateX(0.08em);
}

.hero h1 .accent-line::after {
  position: absolute;
  right: 0.03em;
  bottom: -0.2em;
  width: clamp(80px, 12vw, 155px);
  height: 0.25em;
  content: "";
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 34' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 24C44 7 86 18 156 8M44 28c34-7 57 0 87-5' fill='none' stroke='%23c63d34' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-bottom: clamp(44px, 6vw, 70px);
}

.button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition:
    transform 250ms var(--ease),
    background 250ms ease,
    color 250ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--paper-light);
  background: var(--red);
  box-shadow: 0 12px 26px rgba(198, 61, 52, 0.2);
}

.button-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

.button-ink {
  color: var(--paper-light);
  background: var(--ink);
}

.button-ink:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.text-link span {
  color: var(--red);
  font-size: 17px;
  transition: transform 250ms ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.love-stats {
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  min-width: 74px;
}

.stat strong {
  font-family: Georgia, var(--serif);
  font-size: clamp(24px, 2.8vw, 35px);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat span {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.stat-infinity strong {
  color: var(--red);
  font-family: var(--serif);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

.hero-visual {
  position: relative;
  width: min(100%, 535px);
  margin-right: clamp(0px, 2vw, 28px);
  justify-self: end;
}

.poster-shadow {
  position: absolute;
  inset: 7% -7% 2% 10%;
  background: var(--red);
  border-radius: 45% 55% 50% 48%;
  opacity: 0.14;
  filter: blur(2px);
  transform: rotate(7deg);
}

.love-poster {
  position: relative;
  padding: 20px 20px 18px;
  background: var(--paper-light);
  border: 1px solid rgba(40, 35, 31, 0.28);
  box-shadow: var(--shadow);
  transform: rotate(-3.5deg);
  transition: transform 600ms var(--ease);
}

.hero-visual:hover .love-poster {
  transform: rotate(-1.5deg) translateY(-5px);
}

.poster-topline,
.poster-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.poster-topline {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.poster-bottomline {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.poster-art {
  width: 100%;
  margin-block: 4px;
}

.poster-heart {
  transform-origin: center;
  animation: heart-breathe 5s ease-in-out infinite;
}

.poster-flower-left {
  transform-origin: 202px 365px;
  animation: flower-sway 7s ease-in-out infinite;
}

.poster-flower-right {
  transform-origin: 360px 350px;
  animation: flower-sway 6s 900ms ease-in-out infinite reverse;
}

.poster-bottomline .handwritten {
  color: var(--red);
  font-family: var(--hand);
  font-size: 13px;
  letter-spacing: 0;
}

.orbit-note {
  position: absolute;
  right: -42px;
  bottom: 62px;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid rgba(40, 35, 31, 0.26);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(74, 49, 29, 0.16);
  animation: slow-spin 24s linear infinite;
}

.orbit-note svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orbit-note text {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.orbit-note > span {
  font-family: var(--serif);
  font-size: 25px;
}

.floating-tag {
  position: absolute;
  top: 19%;
  left: -62px;
  padding: 9px 15px;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 2px;
  font-family: var(--hand);
  font-size: 13px;
  transform: rotate(7deg);
}

.marquee {
  width: calc(100% + 24px);
  margin-left: -12px;
  overflow: hidden;
  color: var(--paper-light);
  background: var(--ink);
  transform: rotate(-0.7deg);
}

.marquee-track {
  display: flex;
  gap: 34px;
  align-items: center;
  width: max-content;
  padding-block: 13px;
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.19em;
  animation: marquee 30s linear infinite;
}

.marquee-track i {
  color: var(--coral);
  font-style: normal;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.6fr);
  gap: 60px;
  align-items: end;
  padding-bottom: clamp(54px, 7vw, 92px);
}

.section-heading .kicker {
  margin-bottom: 18px;
}

.kicker span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  margin-left: 7px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: 0;
}

.section-heading h2,
.letter-copy h2,
.notes h2,
.closing h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.055em;
}

.section-aside {
  max-width: 390px;
  margin: 0 0 8px auto;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
}

.story {
  padding-top: clamp(104px, 12vw, 170px);
  padding-bottom: clamp(110px, 13vw, 180px);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: start;
}

.story-intro {
  position: sticky;
  top: 130px;
  padding-top: 10px;
}

.drop-cap {
  margin-bottom: 35px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
}

.drop-cap::first-letter {
  float: left;
  margin: 0.1em 0.16em 0 0;
  color: var(--red);
  font-family: var(--serif);
  font-size: 5.6em;
  line-height: 0.8;
}

.signature-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}

.signature {
  color: var(--red);
  font-family: var(--hand);
  font-size: 26px;
}

.small-caption {
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-doodle {
  margin-top: 76px;
}

.story-doodle svg {
  width: 210px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-doodle span {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-family: var(--hand);
  font-size: 13px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
}

.timeline::before {
  position: absolute;
  top: 3%;
  bottom: 3%;
  left: 32px;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(170px, 0.72fr) minmax(180px, 1fr);
  gap: clamp(22px, 3.4vw, 45px);
  align-items: center;
  min-height: 230px;
}

.timeline-number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 11px;
}

.timeline-item:hover .timeline-number {
  color: var(--paper-light);
  background: var(--red);
  border-color: var(--red);
}

.timeline-art {
  position: relative;
  aspect-ratio: 1.35;
  overflow: hidden;
  border: 1px solid rgba(40, 35, 31, 0.14);
  transition: transform 500ms var(--ease);
}

.timeline-item:hover .timeline-art {
  transform: rotate(-1.5deg) translateY(-4px);
}

.timeline-art-cafe {
  background: #d3b99b;
}

.cafe-sun {
  position: absolute;
  top: 16%;
  right: 16%;
  width: 63px;
  height: 63px;
  background: #f0d68e;
  border-radius: 50%;
}

.coffee-cup {
  position: absolute;
  bottom: 24%;
  left: 42%;
  width: 71px;
  height: 55px;
  background: #f6efe4;
  border: 1px solid var(--ink);
  border-radius: 2px 2px 24px 24px;
}

.coffee-cup::before {
  position: absolute;
  top: 10px;
  right: -22px;
  width: 26px;
  height: 25px;
  content: "";
  border: 1px solid var(--ink);
  border-left: 0;
  border-radius: 0 50% 50% 0;
}

.coffee-cup::after {
  position: absolute;
  top: -4px;
  left: -2px;
  width: 73px;
  height: 9px;
  content: "";
  background: #744a36;
  border-radius: 50%;
}

.coffee-steam {
  position: absolute;
  bottom: 54%;
  width: 22px;
  height: 38px;
  border-left: 1.5px solid rgba(40, 35, 31, 0.55);
  border-radius: 50%;
  animation: steam 3s ease-in-out infinite;
}

.steam-one {
  left: 45%;
}

.steam-two {
  left: 55%;
  animation-delay: 1.1s;
}

.cafe-table {
  position: absolute;
  right: -10%;
  bottom: 19%;
  left: -10%;
  height: 2px;
  background: var(--ink);
  transform: rotate(-3deg);
}

.timeline-art-walk {
  background: #475967;
}

.walk-moon {
  position: absolute;
  top: 20%;
  left: 18%;
  width: 42px;
  height: 42px;
  border: 1px solid #f0d995;
  border-radius: 50%;
  box-shadow: inset 13px -5px 0 #475967;
}

.walk-path {
  position: absolute;
  right: -30%;
  bottom: -42%;
  left: 16%;
  height: 100%;
  border: 1px solid rgba(245, 236, 224, 0.55);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.walk-person {
  position: absolute;
  bottom: 24%;
  width: 19px;
  height: 49px;
  background: #e4a496;
  border-radius: 10px 10px 5px 5px;
}

.walk-person::before {
  position: absolute;
  top: -12px;
  left: 3px;
  width: 13px;
  height: 13px;
  content: "";
  background: #f2d6c3;
  border-radius: 50%;
}

.person-one {
  left: 46%;
  height: 54px;
}

.person-two {
  left: 57%;
  bottom: 23%;
  width: 18px;
  background: #c8bfa4;
}

.walk-star {
  position: absolute;
  color: #f1dc99;
  font-size: 15px;
}

.walk-star-one {
  top: 23%;
  right: 19%;
}

.walk-star-two {
  top: 39%;
  right: 32%;
  font-size: 9px;
}

.timeline-art-sea {
  background: #b8c8c8;
}

.sea-sun {
  position: absolute;
  top: 21%;
  right: 20%;
  width: 70px;
  height: 70px;
  background: #d96453;
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(217, 100, 83, 0.12);
}

.sea-wave {
  position: absolute;
  right: -15%;
  left: -15%;
  height: 50%;
  border-top: 1px solid var(--ink);
  border-radius: 50%;
}

.wave-one {
  bottom: 8%;
  transform: rotate(2deg);
}

.wave-two {
  bottom: -1%;
  transform: rotate(-2deg);
}

.sailboat {
  position: absolute;
  bottom: 28%;
  left: 30%;
  width: 0;
  height: 0;
  color: transparent;
  border-right: 23px solid transparent;
  border-bottom: 61px solid #f4eee3;
  border-left: 23px solid transparent;
}

.sailboat::after {
  position: absolute;
  top: 62px;
  left: -30px;
  width: 60px;
  height: 2px;
  content: "";
  background: var(--ink);
}

.sea-caption {
  position: absolute;
  bottom: 9%;
  left: 7%;
  color: rgba(40, 35, 31, 0.65);
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.timeline-art-home {
  background: #d6c6af;
}

.home-window {
  position: absolute;
  top: 13%;
  left: 14%;
  display: grid;
  grid-template-columns: repeat(2, 34px);
  grid-template-rows: repeat(2, 34px);
  width: 70px;
  height: 70px;
  border: 2px solid var(--ink);
}

.home-window i {
  border: 0.5px solid rgba(40, 35, 31, 0.45);
  background: #a8bcc2;
}

.home-lamp {
  position: absolute;
  top: 24%;
  right: 23%;
  width: 2px;
  height: 53%;
  background: var(--ink);
}

.home-lamp::before {
  position: absolute;
  top: -23px;
  left: -25px;
  width: 50px;
  height: 28px;
  content: "";
  background: #d8aa58;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.home-plant {
  position: absolute;
  right: 11%;
  bottom: 18%;
  width: 48px;
  height: 65px;
  border-bottom: 34px solid #8e493c;
  border-right: 11px solid transparent;
  border-left: 11px solid transparent;
}

.home-plant::before {
  position: absolute;
  top: 5px;
  left: 20px;
  width: 4px;
  height: 40px;
  content: "";
  background: var(--olive);
  border-radius: 50%;
  transform: rotate(-9deg);
  box-shadow:
    -14px -6px 0 -1px var(--olive),
    14px -12px 0 -1px var(--olive),
    -10px 4px 0 -1px var(--olive);
}

.home-table {
  position: absolute;
  right: 8%;
  bottom: 15%;
  left: 8%;
  height: 2px;
  background: var(--ink);
}

.timeline-copy .timeline-label {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.timeline-copy h3 {
  margin: 9px 0 13px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.timeline-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.85;
}

.reasons {
  position: relative;
  overflow: hidden;
  color: var(--paper-light);
  background: var(--ink);
}

.reasons::before {
  position: absolute;
  top: -260px;
  right: -220px;
  width: 600px;
  height: 600px;
  content: "";
  border: 1px solid rgba(246, 238, 227, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 85px rgba(246, 238, 227, 0.02),
    0 0 0 170px rgba(246, 238, 227, 0.02);
}

.reasons-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.section-heading-light .kicker,
.section-heading-light .section-aside {
  color: rgba(252, 248, 241, 0.63);
}

.section-heading-light .kicker span {
  color: rgba(252, 248, 241, 0.8);
  border-color: rgba(252, 248, 241, 0.22);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.reason-card {
  position: relative;
  min-height: 310px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  background: var(--paper);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
  transition:
    transform 450ms var(--ease),
    box-shadow 450ms var(--ease);
}

.reason-card:hover {
  z-index: 2;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.20);
  transform: translateY(-8px);
}

.reason-card:nth-child(2),
.reason-card:nth-child(5) {
  background: #ead8c8;
}

.reason-card:nth-child(3) {
  background: #d8dfce;
}

.reason-card-featured {
  color: var(--paper-light);
  background: var(--red);
}

.reason-card-featured:hover {
  background: var(--red-dark);
}

.reason-card-red {
  color: var(--ink);
  background: var(--gold);
}

.reason-card-red:hover {
  background: #e7bd6c;
}

.reason-index {
  display: block;
  margin-bottom: 54px;
  color: currentColor;
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.65;
}

.reason-icon {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, var(--serif);
  font-size: 31px;
  line-height: 1;
}

.reason-card h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.reason-card p {
  max-width: 280px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.85;
  opacity: 0.72;
}

.reason-corner {
  position: absolute;
  right: 27px;
  bottom: 20px;
  font-family: var(--serif);
  font-size: 18px;
  opacity: 0.6;
}

.gallery {
  padding-top: clamp(104px, 12vw, 170px);
  padding-bottom: clamp(104px, 12vw, 170px);
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.gallery-uploader {
  position: sticky;
  top: 116px;
  padding: 24px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(60, 41, 30, 0.08);
}

.uploader-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.uploader-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(198, 61, 52, 0.09);
}

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(var(--paper-light), var(--paper-light)) padding-box,
    repeating-linear-gradient(
        45deg,
        rgba(198, 61, 52, 0.36) 0,
        rgba(198, 61, 52, 0.36) 5px,
        transparent 5px,
        transparent 10px
      )
      border-box;
  border: 2px dashed transparent;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.file-drop:hover,
.file-drop.is-dragging {
  background:
    linear-gradient(#fbf2eb, #fbf2eb) padding-box,
    repeating-linear-gradient(
        45deg,
        var(--red) 0,
        var(--red) 5px,
        transparent 5px,
        transparent 10px
      )
      border-box;
}

.file-drop.is-dragging {
  transform: scale(0.985);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-drop-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 15px;
  place-items: center;
  color: var(--red);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.file-drop-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-drop strong {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.file-drop > span:last-child {
  color: var(--ink-soft);
  font-size: 10px;
}

.uploader-fields {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.uploader-fields label,
.note-form label {
  display: grid;
  gap: 7px;
}

.uploader-fields label > span,
.note-form label > span {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.uploader-fields input,
.uploader-fields select,
.note-form input,
.note-form textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
}

.uploader-fields select {
  padding-right: 20px;
  cursor: pointer;
}

.uploader-fields input:focus,
.note-form input:focus,
.note-form textarea:focus {
  border-bottom-color: var(--red);
}

.upload-submit {
  width: 100%;
  margin-top: 20px;
}

.upload-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.upload-note {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.6;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  gap: 8px;
}

.filter-tabs button {
  padding: 8px 15px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
}

.filter-tabs button.is-active {
  color: var(--paper-light);
  background: var(--ink);
  border-color: var(--ink);
}

.media-count {
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}

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

.media-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-light);
  border: 1px solid var(--line);
}

.media-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
  border: 0;
}

.media-preview img,
.media-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms var(--ease);
}

.media-card:hover .media-preview img,
.media-card:hover .media-preview video {
  transform: scale(1.035);
}

.media-type {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 5px 8px;
  color: var(--paper-light);
  background: rgba(40, 35, 31, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.media-card-info {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px 16px;
}

.media-card-text {
  min-width: 0;
}

.media-card-info h3 {
  margin-bottom: 5px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-card-info p {
  margin: 0;
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.media-privacy {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.privacy-public {
  color: var(--olive);
  background: #e5eadf;
}

.privacy-partner {
  color: var(--red-dark);
  background: #f4ddd5;
}

.privacy-private {
  color: var(--paper-light);
  background: var(--ink-soft);
}

.media-card-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
  align-items: center;
}

.media-visibility {
  max-width: 84px;
  padding: 6px 19px 6px 7px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  cursor: pointer;
}

.media-delete {
  flex: 0 0 auto;
  padding: 4px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  font-size: 16px;
  line-height: 1;
  opacity: 0.6;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.media-delete:hover {
  color: var(--red);
  opacity: 1;
}

.media-empty {
  display: grid;
  min-height: 370px;
  place-items: center;
  align-content: center;
  padding: 45px;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.43);
}

.media-empty[hidden] {
  display: none;
}

.media-empty > span {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 25px;
}

.media-empty h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.media-empty p {
  max-width: 320px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
}

.letter {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(460px, 1.3fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding-top: clamp(90px, 10vw, 140px);
  padding-bottom: clamp(90px, 10vw, 140px);
  border-top: 1px solid var(--line);
}

.letter-copy {
  position: relative;
  z-index: 3;
}

.letter-copy h2 {
  margin-bottom: 28px;
}

.letter-copy > p:not(.kicker, .letter-hint) {
  max-width: 390px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.95;
}

.open-letter-button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 13px 14px 13px 20px;
  color: var(--paper-light);
  background: var(--red);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  transition:
    background 250ms ease,
    transform 250ms var(--ease);
}

.open-letter-button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.seal-mini {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--red);
  background: var(--paper-light);
  border-radius: 50%;
  font-size: 11px;
}

.letter-hint {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-family: var(--hand);
  font-size: 12px;
}

.letter-stage {
  position: relative;
  display: flex;
  min-height: 790px;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 30px 55px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(228, 147, 132, 0.2), transparent 36%),
    rgba(233, 221, 206, 0.38);
  border: 1px solid var(--line);
}

.letter-stage::before {
  position: absolute;
  top: 9%;
  left: 50%;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(198, 61, 52, 0.17);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 0 55px rgba(198, 61, 52, 0.025),
    0 0 0 110px rgba(198, 61, 52, 0.02);
}

.letter-shadow {
  position: absolute;
  bottom: 39px;
  left: 50%;
  width: min(78%, 530px);
  height: 66px;
  background: rgba(59, 39, 29, 0.18);
  border-radius: 50%;
  filter: blur(22px);
  transform: translateX(-50%);
}

.envelope {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  height: 300px;
  filter: drop-shadow(0 23px 20px rgba(60, 40, 31, 0.13));
  perspective: 1000px;
}

.envelope-back {
  position: absolute;
  inset: 0;
  background: #d9c3aa;
  border: 1px solid rgba(40, 35, 31, 0.28);
}

.envelope-front {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #e8d5bd;
  border: 1px solid rgba(40, 35, 31, 0.2);
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
  transition: background 350ms ease;
}

.envelope-front::before,
.envelope-front::after {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 72%;
  content: "";
  background: rgba(40, 35, 31, 0.14);
  transform-origin: bottom;
}

.envelope-front::before {
  left: 0;
  transform: rotate(-31deg);
}

.envelope-front::after {
  right: 0;
  transform: rotate(31deg);
}

.envelope-flap {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: #e0cab1;
  border: 1px solid rgba(40, 35, 31, 0.23);
  clip-path: polygon(0 0, 55% 58%, 100% 0);
  transform-origin: top center;
  transition:
    transform 800ms var(--ease),
    z-index 0ms linear 400ms;
}

.wax-seal {
  position: absolute;
  top: 51%;
  left: 50%;
  z-index: 9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 72px;
  height: 72px;
  place-content: center;
  color: #e6aa9c;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.2), transparent 35%),
    var(--red-dark);
  border-radius: 44% 56% 49% 51%;
  font-family: Georgia, serif;
  font-size: 7px;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 6px 12px rgba(90, 27, 24, 0.22);
  transform: translate(-50%, -50%) rotate(-8deg);
  transition:
    opacity 250ms ease,
    transform 450ms var(--ease);
}

.wax-seal span:nth-child(2) {
  grid-row: span 2;
  align-self: center;
  font-size: 16px;
}

.wax-seal span:last-child {
  grid-column: 1;
}

.envelope-address {
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(40, 35, 31, 0.62);
  font-family: Georgia, serif;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-align: right;
}

.letter-paper {
  position: absolute;
  bottom: 28px;
  left: 22px;
  z-index: 1;
  width: calc(100% - 44px);
  min-height: 520px;
  padding: 35px 38px;
  opacity: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 31px, rgba(198, 61, 52, 0.16) 32px, transparent 33px),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 31px,
      rgba(40, 35, 31, 0.075) 32px
    ),
    #fffaf1;
  border: 1px solid rgba(40, 35, 31, 0.16);
  box-shadow: 0 20px 50px rgba(48, 32, 24, 0.15);
  transform: translateY(55px) scale(0.96);
  transform-origin: bottom;
  transition:
    transform 850ms var(--ease),
    opacity 400ms ease;
}

.letter-stage.is-open .envelope-flap {
  z-index: 2;
  transform: rotateX(180deg);
}

.letter-stage.is-open .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5) rotate(20deg);
}

.letter-stage.is-open .letter-paper {
  z-index: 8;
  opacity: 1;
  transform: translateY(-350px) rotate(-1deg);
}

.paper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(40, 35, 31, 0.16);
  color: var(--ink-soft);
  font-family: var(--hand);
  font-size: 13px;
}

.paper-date {
  font-family: Georgia, serif;
  font-size: 7px;
  letter-spacing: 0.15em;
}

.paper-salutation {
  margin-top: 28px;
  color: var(--red);
  font-family: var(--hand);
  font-size: 20px;
}

.letter-paper p:not(.paper-salutation) {
  margin-bottom: 17px;
  font-family: var(--hand);
  font-size: 15px;
  line-height: 2.08;
}

.paper-signoff {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 25px;
  font-family: var(--hand);
  font-size: 14px;
}

.paper-signoff .signature {
  margin-top: 8px;
  font-size: 21px;
}

.notes {
  color: var(--paper-light);
  background: var(--ink);
}

.notes-inner {
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
}

.notes-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.notes-header h2 {
  margin-bottom: 0;
}

.notes-header .kicker {
  color: rgba(252, 248, 241, 0.56);
}

.notes-header .kicker span {
  color: rgba(252, 248, 241, 0.77);
  border-color: var(--line-light);
}

.notes-header > p {
  max-width: 360px;
  margin: 0 0 8px auto;
  color: rgba(252, 248, 241, 0.58);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
}

.notes-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.68fr) minmax(0, 1.32fr);
  border: 1px solid var(--line-light);
}

.note-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(26px, 4vw, 45px);
  border-right: 1px solid var(--line-light);
}

.form-heading,
.note-wall-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(252, 248, 241, 0.48);
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.form-heading {
  margin-bottom: 12px;
}

.note-form label > span {
  color: rgba(252, 248, 241, 0.54);
}

.note-form input,
.note-form textarea {
  color: var(--paper-light);
  border-bottom-color: var(--line-light);
}

.note-form input::placeholder,
.note-form textarea::placeholder {
  color: rgba(252, 248, 241, 0.3);
}

.note-form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
}

.character-count {
  color: rgba(252, 248, 241, 0.36);
  font-family: Georgia, serif;
  font-size: 9px;
}

.note-form .button {
  min-height: 44px;
  color: var(--ink);
  background: var(--paper-light);
}

.note-form .button:hover {
  color: var(--paper-light);
  background: var(--red);
}

.note-wall {
  min-width: 0;
  padding: clamp(26px, 4vw, 45px);
}

.note-wall-heading {
  margin-bottom: 28px;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 23px 22px 17px;
  color: var(--ink);
  background: #f4d3c6;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transform: rotate(-1.2deg);
  transition:
    transform 300ms var(--ease),
    box-shadow 300ms ease;
}

.note-card:nth-child(3n + 2) {
  background: #dbe1d2;
  transform: rotate(1deg);
}

.note-card:nth-child(3n) {
  background: #ead9b9;
  transform: rotate(-0.4deg);
}

.note-card:hover {
  z-index: 1;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
  transform: rotate(0) translateY(-4px);
}

.note-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 45px;
  height: 15px;
  content: "";
  background: rgba(252, 248, 241, 0.58);
  transform: translateX(-50%) rotate(2deg);
}

.note-message {
  margin: 9px 0 24px;
  font-family: var(--hand);
  font-size: 17px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.note-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: rgba(40, 35, 31, 0.62);
  font-family: var(--hand);
  font-size: 11px;
}

.note-meta time {
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.note-delete {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 24px;
  height: 24px;
  padding: 0;
  color: rgba(40, 35, 31, 0.45);
  background: transparent;
  border: 0;
  font-size: 16px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.note-card:hover .note-delete,
.note-delete:focus-visible {
  opacity: 1;
}

.empty-notes {
  margin: 50px 0;
  color: rgba(252, 248, 241, 0.45);
  font-family: var(--hand);
  font-size: 15px;
  text-align: center;
}

.closing {
  position: relative;
  min-height: 680px;
  padding: 110px var(--pad);
  overflow: hidden;
  color: var(--paper-light);
  background: var(--red);
}

.closing::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.closing-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.03),
    0 0 0 160px rgba(255, 255, 255, 0.025);
  animation: orbit-breathe 8s ease-in-out infinite;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.closing-star {
  display: block;
  margin-bottom: 25px;
  color: #f6d796;
  font-size: 25px;
}

.closing-content > p {
  margin-bottom: 20px;
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.27em;
}

.closing h2 {
  margin-bottom: 35px;
  font-size: clamp(3rem, 6.6vw, 6.5rem);
}

.closing h2 em {
  font-family: var(--hand);
  font-style: normal;
}

.closing-heart {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 11px 18px 11px 12px;
  color: var(--paper-light);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 12px;
  transition:
    background 200ms ease,
    border-color 200ms ease;
}

.closing-heart:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.closing-heart svg {
  width: 29px;
  fill: var(--paper-light);
}

.site-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 23px var(--pad);
  color: rgba(252, 248, 241, 0.48);
  background: #201c19;
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.footer-mark {
  color: var(--coral);
  font-size: 12px;
}

.media-lightbox {
  width: min(920px, calc(100vw - 36px));
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: hidden;
  color: var(--paper-light);
  background: var(--ink);
  border: 1px solid rgba(252, 248, 241, 0.17);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

.media-lightbox::backdrop {
  background: rgba(24, 20, 17, 0.78);
  backdrop-filter: blur(8px);
}

.auth-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid rgba(40, 35, 31, 0.18);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
}

.auth-dialog::backdrop {
  background: rgba(28, 23, 20, 0.72);
  backdrop-filter: blur(8px);
}

.auth-close-form {
  position: absolute;
  top: 15px;
  right: 16px;
  z-index: 2;
}

.auth-close-form button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.auth-dialog-content {
  padding: clamp(30px, 6vw, 54px);
}

.auth-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.auth-dialog h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.auth-dialog-content > p {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
}

.auth-role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 25px 0;
  border: 1px solid var(--line);
}

.auth-role-grid div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 12px;
  border-right: 1px solid var(--line);
}

.auth-role-grid div:last-child {
  border-right: 0;
}

.auth-role-grid strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}

.auth-role-grid span {
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.auth-form label > span {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.auth-form input {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: 0;
}

.auth-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198, 61, 52, 0.1);
}

.auth-form .button {
  width: 100%;
}

.auth-form .button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.auth-current {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px !important;
}

.auth-logout {
  margin-top: 14px;
  padding: 7px 0;
  color: var(--red);
  background: transparent;
  border: 0;
  font-size: 11px;
}

.auth-dialog-content .auth-note {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-size: 9px;
  opacity: 0.62;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-light);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.lightbox-topbar button {
  padding: 5px;
  color: rgba(252, 248, 241, 0.66);
  background: transparent;
  border: 0;
  font-size: 11px;
}

.lightbox-media {
  display: grid;
  min-height: 220px;
  max-height: calc(100svh - 210px);
  place-items: center;
  background: #15120f;
}

.lightbox-media img,
.lightbox-media video {
  width: 100%;
  max-height: calc(100svh - 210px);
  object-fit: contain;
}

.lightbox-caption {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 21px 20px;
}

.lightbox-caption h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.lightbox-caption p {
  margin: 0;
  color: rgba(252, 248, 241, 0.5);
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.lightbox-mark {
  color: var(--coral);
  font-size: 25px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 1200;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  color: var(--paper-light);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition:
    opacity 250ms ease,
    transform 250ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.floating-heart {
  position: fixed;
  bottom: -30px;
  z-index: 1190;
  color: var(--red);
  pointer-events: none;
  user-select: none;
  animation: float-heart var(--float-duration, 2.7s) ease-out forwards;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

.js .reveal[data-delay="1"] {
  transition-delay: 120ms;
}

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

@keyframes heart-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  48% {
    transform: scale(1.025);
  }
}

@keyframes flower-sway {
  0%,
  100% {
    transform: rotate(-1.5deg);
  }
  50% {
    transform: rotate(2.5deg);
  }
}

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

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

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateY(9px) scale(0.85);
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-19px) scale(1.15);
  }
}

@keyframes orbit-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.045);
  }
}

@keyframes float-heart {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0) scale(0.5);
  }
  18% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift, 30px), -75vh) rotate(var(--rotate, 35deg)) scale(1.1);
  }
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 17px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 6.6vw, 5.7rem);
  }

  .floating-tag {
    left: -22px;
  }

  .orbit-note {
    right: -18px;
    bottom: 34px;
  }

  .story-layout {
    grid-template-columns: 0.54fr 1.46fr;
    gap: 50px;
  }

  .timeline-item {
    grid-template-columns: 54px minmax(150px, 0.72fr) minmax(160px, 1fr);
    gap: 22px;
  }

  .timeline-number {
    width: 54px;
    height: 54px;
  }

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

  .reason-card {
    min-height: 290px;
  }

  .gallery-layout {
    grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1.44fr);
    gap: 38px;
  }

  .letter {
    grid-template-columns: minmax(250px, 0.62fr) minmax(420px, 1.38fr);
    gap: 42px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto 1fr auto;
    gap: 10px;
  }

  .nav-toggle {
    display: block;
    margin-left: 0;
  }

  .account-button {
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    visibility: hidden;
    background: rgba(246, 238, 227, 0.97);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(52, 35, 25, 0.12);
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 200ms ease,
      transform 200ms ease,
      visibility 200ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 65px;
    padding-top: 150px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 12vw, 6.2rem);
  }

  .hero-visual {
    width: min(88%, 520px);
    margin: 0 auto;
    justify-self: center;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-aside {
    margin-left: 0;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .story-intro {
    position: static;
    max-width: 620px;
  }

  .story-doodle {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 54px minmax(180px, 0.8fr) minmax(190px, 1fr);
    gap: 24px;
  }

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

  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-uploader {
    position: static;
  }

  .gallery-uploader form {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0 28px;
    align-items: start;
  }

  .uploader-heading {
    grid-column: 1 / -1;
  }

  .file-drop {
    grid-row: span 2;
  }

  .uploader-fields {
    margin-top: 0;
  }

  .upload-submit {
    margin-top: 12px;
  }

  .upload-note {
    grid-column: 2;
  }

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

  .letter-copy {
    max-width: 600px;
  }

  .letter-stage {
    min-height: 820px;
  }

  .notes-header {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .notes-header > p {
    margin-left: 0;
  }

  .notes-layout {
    grid-template-columns: 1fr;
  }

  .note-form {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 20px;
  }

  html {
    scroll-padding-top: 96px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 8px 9px 8px 12px;
    border-radius: 16px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .heart-button {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .account-button {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .account-button span {
    display: none;
  }

  .heart-button span {
    display: none;
  }

  .heart-button svg {
    width: 22px;
  }

  .hero {
    padding-top: 128px;
    padding-bottom: 70px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 8px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3.1rem, 15.5vw, 4.9rem);
    line-height: 1.02;
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    gap: 15px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }

  .button {
    min-height: 47px;
  }

  .love-stats {
    width: 100%;
    gap: 12px;
    justify-content: space-between;
  }

  .stat {
    min-width: 0;
  }

  .stat strong {
    font-size: 25px;
  }

  .stat span {
    font-size: 8px;
    letter-spacing: 0;
  }

  .stat-divider {
    height: 30px;
  }

  .hero-visual {
    width: calc(100% - 15px);
  }

  .love-poster {
    padding: 14px;
  }

  .poster-topline,
  .poster-bottomline {
    font-size: 7px;
  }

  .poster-bottomline .handwritten {
    font-size: 11px;
  }

  .orbit-note {
    right: -9px;
    bottom: 16px;
    width: 91px;
    height: 91px;
  }

  .orbit-note text {
    font-size: 7px;
  }

  .floating-tag {
    top: 17%;
    left: -8px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .marquee-track {
    gap: 24px;
    padding-block: 11px;
    font-size: 9px;
  }

  .story {
    padding-top: 96px;
    padding-bottom: 110px;
  }

  .section-heading {
    padding-bottom: 48px;
  }

  .section-heading h2,
  .letter-copy h2,
  .notes h2,
  .closing h2 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }

  .section-aside,
  .drop-cap {
    font-size: 14px;
  }

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

  .timeline {
    gap: 38px;
  }

  .timeline-item {
    grid-template-columns: 41px minmax(0, 1fr);
    gap: 12px 19px;
    min-height: 0;
  }

  .timeline-number {
    grid-row: 1;
    grid-column: 1;
    align-self: start;
    width: 41px;
    height: 41px;
    font-size: 9px;
  }

  .timeline-art {
    grid-row: 2;
    grid-column: 2;
  }

  .timeline-copy {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
  }

  .timeline-copy h3 {
    margin-bottom: 8px;
    font-size: 26px;
  }

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

  .reason-card {
    min-height: 265px;
  }

  .reason-index {
    margin-bottom: 35px;
  }

  .gallery {
    padding-top: 96px;
    padding-bottom: 100px;
  }

  .gallery-uploader {
    padding: 18px;
  }

  .gallery-uploader form {
    display: block;
  }

  .uploader-fields {
    margin-top: 18px;
  }

  .upload-note {
    grid-column: auto;
  }

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

  .gallery-toolbar {
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .media-empty {
    min-height: 300px;
    padding: 30px 20px;
  }

  .letter {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .letter-stage {
    min-height: 760px;
    padding: 30px 15px 42px;
  }

  .envelope {
    height: 235px;
  }

  .wax-seal {
    width: 62px;
    height: 62px;
  }

  .letter-paper {
    bottom: 20px;
    left: 12px;
    width: calc(100% - 24px);
    min-height: 510px;
    padding: 28px 25px;
  }

  .letter-stage.is-open .letter-paper {
    transform: translateY(-390px) rotate(-0.6deg);
  }

  .letter-paper p:not(.paper-salutation) {
    font-size: 14px;
  }

  .notes-inner {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .note-list {
    grid-template-columns: 1fr;
  }

  .form-footer {
    gap: 15px;
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .closing {
    min-height: 590px;
    padding-block: 84px;
  }

  .closing-orbit {
    width: 330px;
    height: 330px;
  }

  .closing h2 {
    margin-bottom: 30px;
  }

  .site-footer {
    gap: 10px;
    padding-block: 18px;
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .media-lightbox {
    width: calc(100vw - 20px);
  }

  .media-card-info {
    align-items: flex-start;
  }

  .auth-role-grid {
    grid-template-columns: 1fr;
  }

  .auth-role-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .auth-role-grid div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .brand-copy {
    display: none;
  }

  .site-header {
    gap: 8px;
  }
}

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

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

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