/* ============ FONTS ============ */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('fonts/thmanyah-sans-light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('fonts/thmanyah-sans-regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('fonts/thmanyah-sans-medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('fonts/thmanyah-sans-bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('fonts/thmanyah-sans-black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

/* ============ TOKENS ============ */
:root {
  --cream: #FDF8F5;
  --cream-deep: #F8EFEA;
  --rose: #D96C8A;
  --rose-soft: #E8A0B0;
  --rose-mist: #F6DCE3;
  --peach: #F2C4B3;
  --ink: #3D2C33;
  --ink-soft: #7A6169;
  --card: #FFFFFF;
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-ambient: 0 24px 80px -24px rgba(217, 108, 138, 0.18), 0 8px 32px -16px rgba(61, 44, 51, 0.08);
  --radius-xl: 2rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Thmanyah Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.7;
}

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

.ar { unicode-bidi: isolate; }

/* ============ ICON BASE ============ */
.ico-stroke,
.bento-icon svg,
.eyebrow-ico,
.laugh-badge svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-fill,
.intro-heart,
.nav-heart,
.cta-icon svg,
.heart-btn-inner svg,
.footer-heart,
.orn-heart,
.poem-divider svg,
.burst-heart svg {
  fill: currentColor;
  stroke: none;
}
.footer-inf, .intro-inf {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.intro-inf {
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.7rem;
  color: var(--rose-soft);
  opacity: 0;
  animation: intro-fade 1s var(--ease-fluid) 0.7s forwards;
}

/* ============ INTRO OVERLAY ============ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s var(--ease-fluid), visibility 1.2s;
}
.intro.hidden { opacity: 0; visibility: hidden; }
.intro-inner { text-align: center; }
.intro-heart {
  width: 3rem;
  height: 3rem;
  color: var(--rose);
  animation: intro-pulse 1.4s var(--ease-fluid) infinite;
}
.intro-text {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: intro-fade 1s var(--ease-fluid) 0.3s forwards;
}
@keyframes intro-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
@keyframes intro-fade {
  to { opacity: 1; }
}

/* ============ GRAIN ============ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ CANVAS + ORBS ============ */
#hearts-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.orb-1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(232,160,176,0.5), transparent 70%);
  top: -8%; right: -14%;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(242,196,179,0.45), transparent 70%);
  bottom: -10%; left: -16%;
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(246,220,227,0.6), transparent 70%);
  top: 42%; left: 28%;
  animation: orb-drift 26s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(46px, 32px, 0) scale(1.1); }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 108, 138, 0.14);
  box-shadow: 0 12px 40px -16px rgba(61, 44, 51, 0.14);
  transition: transform 0.7s var(--ease-fluid), opacity 0.7s var(--ease-fluid);
}
.nav.nav-hidden { transform: translateX(-50%) translateY(-160%); opacity: 0; }
.nav-brand {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-heart {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--rose);
  animation: intro-pulse 1.6s var(--ease-fluid) infinite;
}
.nav-links { display: none; gap: 1.3rem; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.4s var(--ease-fluid);
}
.nav-links a:hover { color: var(--rose); }

/* ============ SHARED ============ */
section, header.hero { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(217, 108, 138, 0.08);
  border: 1px solid rgba(217, 108, 138, 0.18);
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.eyebrow-ico { width: 0.95em; height: 0.95em; flex-shrink: 0; }

.section-head {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.2rem;
}
.section-title {
  margin-top: 1.1rem;
  font-size: clamp(1.8rem, 7vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  filter: blur(8px);
  transition:
    opacity 1s var(--ease-fluid),
    transform 1s var(--ease-fluid),
    filter 1s var(--ease-fluid);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ============ LOCKED STATE (before "Open my heart") ============ */
body:not(.site-open) .howmuch,
body:not(.site-open) .story,
body:not(.site-open) .reasons,
body:not(.site-open) .poetry,
body:not(.site-open) .songs,
body:not(.site-open) .us,
body:not(.site-open) .letter-section,
body:not(.site-open) .forever,
body:not(.site-open) .footer,
body:not(.site-open) .scroll-hint,
body:not(.site-open) .nav-links {
  display: none;
}

/* ============ HERO ============ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.2rem 4rem;
}
.hero-title {
  font-size: clamp(4.2rem, 24vw, 10rem);
  font-weight: 900;
  line-height: 1.45;
  padding: 0 0.18em 0.1em;
  margin: 0.6rem 0 0.2rem;
  background: linear-gradient(135deg, var(--ink) 20%, var(--rose) 75%, var(--rose-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 4vw, 1.4rem);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.9;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.6rem;
  padding: 0.55rem 0.7rem 0.55rem 1.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 20px 48px -16px rgba(61, 44, 51, 0.4);
  transition: transform 0.6s var(--ease-fluid), box-shadow 0.6s var(--ease-fluid);
}
.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px -18px rgba(61, 44, 51, 0.5);
}
.cta:active { transform: scale(0.98); }
.cta-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--ease-spring);
}
.cta-icon svg { width: 1.05rem; height: 1.05rem; color: #fff; }
.cta:hover .cta-icon { transform: scale(1.12) rotate(-8deg); }

.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  margin-left: -13px;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(122, 97, 105, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--rose);
  animation: scroll-dot 1.8s var(--ease-fluid) infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ HOW MUCH ============ */
.howmuch {
  padding: 7rem 1.2rem;
  text-align: center;
}
.howmuch-inner { max-width: 820px; margin: 0 auto; }
.big-statement {
  margin-top: 1.3rem;
  font-size: clamp(2rem, 8.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.35;
  text-wrap: balance;
}
.big-statement em {
  font-style: normal;
  color: var(--rose);
}
.statement-sub {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  color: var(--ink-soft);
}
.infinity-wrap {
  margin-top: 3.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--rose);
}
.infinity { width: 130px; }
.infinity path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}
.infinity-wrap.in .infinity path {
  animation: draw-infinity 3.2s var(--ease-fluid) 0.4s forwards;
}
@keyframes draw-infinity {
  to { stroke-dashoffset: 0; }
}
.infinity-label {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ============ OUR STORY (Timeline) ============ */
.story { padding: 5rem 1.2rem 6rem; }
.timeline {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 1.2rem;
  bottom: 2.4rem;
  left: 1.85rem;
  border-left: 2px dotted rgba(217, 108, 138, 0.35);
}
.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 3.7rem 1fr;
  gap: 1.1rem;
}
.milestone:not(:last-child) .mile-body { padding-bottom: 3rem; }
.mile-rail { position: relative; z-index: 1; }
.mile-dot-shell {
  border-radius: 50%;
  padding: 0.35rem;
  background: var(--cream);
  border: 1px solid rgba(217, 108, 138, 0.16);
  width: fit-content;
}
.mile-dot {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-ambient);
}
.mile-dot svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mile-body { padding-top: 0.4rem; }
.mile-chip {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(217, 108, 138, 0.08);
  border: 1px solid rgba(217, 108, 138, 0.18);
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.mile-date { font-variant-numeric: tabular-nums; }
.mile-title {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
}
.mile-text {
  color: var(--ink-soft);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.85;
}

/* Mini map card */
.map-card {
  position: relative;
  margin: 1rem 0 0.8rem;
  height: 180px;
  border-radius: 1.4rem;
  overflow: hidden;
  background: linear-gradient(160deg, #FFFDFB, var(--cream-deep));
  border: 1px solid rgba(217, 108, 138, 0.14);
  box-shadow: var(--shadow-ambient);
}
.map-roads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-roads path {
  fill: none;
  stroke: rgba(217, 108, 138, 0.1);
  stroke-width: 9;
  stroke-linecap: round;
}
.map-pin {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -70%);
  color: var(--rose);
}
.pin-ico {
  width: 2.4rem;
  height: 2.4rem;
  fill: #fff;
  stroke: var(--rose);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 16px rgba(217, 108, 138, 0.45));
  animation: pin-bob 2.6s var(--ease-fluid) infinite;
}
@keyframes pin-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.pin-pulse {
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: -0.55rem;
  border-radius: 50%;
  border: 2px solid var(--rose-soft);
  opacity: 0;
  animation: pin-pulse 2.6s var(--ease-fluid) infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(0.4); opacity: 0.8; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
.map-label {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 108, 138, 0.14);
  border-radius: 1rem;
  padding: 0.5rem 1.2rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(61, 44, 51, 0.2);
}
.map-label strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.map-label span {
  display: block;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

/* ============ BENTO ============ */
.reasons { padding: 5rem 1.2rem 7rem; }
.bento {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.bento-shell {
  background: rgba(217, 108, 138, 0.05);
  border: 1px solid rgba(217, 108, 138, 0.1);
  border-radius: var(--radius-xl);
  padding: 0.45rem;
  transition: transform 0.7s var(--ease-fluid);
}
.bento-shell:hover { transform: translateY(-6px); }
.bento-card {
  height: 100%;
  background: var(--card);
  border-radius: calc(var(--radius-xl) - 0.45rem);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-ambient), inset 0 1px 1px rgba(255,255,255,0.9);
}
.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1.1rem;
  background: var(--rose-mist);
  color: var(--rose);
  margin-bottom: 1.1rem;
}
.bento-icon svg { width: 1.5rem; height: 1.5rem; }
.bento-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.bento-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.85;
}

/* ============ POETRY ============ */
.poetry { padding: 5rem 1.2rem 7rem; }
.poem-shell {
  max-width: 620px;
  margin: 0 auto;
  background: rgba(217, 108, 138, 0.06);
  border: 1px solid rgba(217, 108, 138, 0.12);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
}
.poem-card {
  background: linear-gradient(180deg, #FFFDFB, #FDF6F2);
  border-radius: calc(var(--radius-xl) - 0.5rem);
  padding: clamp(2rem, 7vw, 3.4rem) clamp(1.4rem, 5vw, 2.6rem);
  box-shadow: var(--shadow-ambient), inset 0 1px 1px rgba(255,255,255,0.95);
  text-align: center;
}
.poem-ornament { color: var(--rose-soft); margin-bottom: 1.4rem; }
.orn-heart { width: 1.3rem; height: 1.3rem; }
.poem-verse p {
  font-size: clamp(1.15rem, 4.6vw, 1.5rem);
  font-weight: 500;
  line-height: 2.3;
  color: var(--ink);
}
.poem-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.6rem 0;
  color: var(--rose-soft);
}
.poem-divider span {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: rgba(217, 108, 138, 0.3);
}
.poem-divider svg { width: 0.8rem; height: 0.8rem; }
.poem-sign {
  margin-top: 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rose);
}

/* ============ SONGS ============ */
.songs { padding: 5rem 1.2rem 7rem; }
.playlist {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.song {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
.song.alt { flex-direction: row-reverse; }
.song.alt .song-meta { text-align: right; }

.song-disc-shell {
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 0.4rem;
  background: rgba(217, 108, 138, 0.06);
  border: 1px solid rgba(217, 108, 138, 0.14);
}
.song-disc {
  width: clamp(6.2rem, 30vw, 7.5rem);
  height: clamp(6.2rem, 30vw, 7.5rem);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  position: relative;
}
.song-disc::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), inset 0 0 22px rgba(61,44,51,0.18);
}
.song-disc::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14%; height: 14%;
  margin: -7% 0 0 -7%;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid rgba(61,44,51,0.25);
  z-index: 2;
}
.song-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: disc-spin 22s linear infinite;
}
@keyframes disc-spin {
  to { transform: rotate(360deg); }
}

.laugh-badge {
  position: absolute;
  bottom: 0.1rem;
  right: 0.1rem;
  z-index: 3;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(217, 108, 138, 0.25);
  box-shadow: 0 8px 20px -8px rgba(61, 44, 51, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
}
.laugh-badge svg { width: 1.2rem; height: 1.2rem; }

.song-meta h3 {
  font-size: clamp(1.25rem, 5.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
}
.song-meta p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 0.4rem 0;
  color: var(--rose-soft);
}
.flow-arrow svg { width: 92px; height: 70px; }
.flow-arrow.flip svg { transform: scaleX(-1); }
.fa-path {
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-dasharray: 1 9;
}
.fa-head {
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

/* ============ US (PHOTOS) ============ */
.us { padding: 5rem 1.2rem 7rem; }
.gallery {
  max-width: 1000px;
  margin: 0 auto;
  columns: 2;
  column-gap: 1rem;
}
.photo-frame {
  --rot: 0deg;
  break-inside: avoid;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 1.3rem;
  padding: 0.45rem 0.45rem 0.9rem;
  box-shadow: var(--shadow-ambient);
  border: 1px solid rgba(217, 108, 138, 0.1);
}
.gallery .photo-frame.reveal {
  opacity: 0;
  transform: translateY(44px) rotate(var(--rot));
  filter: blur(8px);
}
.gallery .photo-frame.reveal.in {
  opacity: 1;
  transform: translateY(0) rotate(var(--rot));
  filter: blur(0);
}
.t-1 { --rot: -1.6deg; }
.t-2 { --rot: 1.4deg; }
.t-3 { --rot: 1.8deg; }
.t-4 { --rot: -1.3deg; }
.t-5 { --rot: -2deg; }
.t-6 { --rot: 1.6deg; }
.photo-inner {
  border-radius: 0.95rem;
  overflow: hidden;
}
.photo-inner img {
  width: 100%;
  display: block;
}

/* ============ LETTER ============ */
.letter-section { padding: 5rem 1.2rem 7rem; }
.letter-shell {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(217, 108, 138, 0.06);
  border: 1px solid rgba(217, 108, 138, 0.12);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
}
.letter-card {
  background: linear-gradient(180deg, #FFFDFB, #FDF6F2);
  border-radius: calc(var(--radius-xl) - 0.5rem);
  padding: clamp(2rem, 7vw, 3.6rem);
  box-shadow: var(--shadow-ambient), inset 0 1px 1px rgba(255,255,255,0.95);
}
.letter-body {
  font-size: clamp(1.08rem, 4.2vw, 1.35rem);
  font-weight: 400;
  line-height: 2.15;
  color: var(--ink);
}
.letter-body .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-fluid), transform 0.7s var(--ease-fluid), filter 0.7s var(--ease-fluid);
}
.letter-body .w.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.letter-sign {
  margin-top: 2.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rose);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s var(--ease-fluid) 0.2s, transform 0.9s var(--ease-fluid) 0.2s;
}
.letter-sign.in { opacity: 1; transform: translateY(0); }

/* ============ FOREVER ============ */
.forever {
  padding: 5rem 1.2rem 7rem;
  text-align: center;
}
.forever-inner { max-width: 720px; margin: 0 auto; }

.heart-btn {
  margin-top: 2.8rem;
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  border: 1px solid rgba(217, 108, 138, 0.2);
  background: rgba(217, 108, 138, 0.07);
  padding: 0.55rem;
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring);
}
.heart-btn:hover { transform: scale(1.06); }
.heart-btn:active { transform: scale(0.92); }
.heart-btn-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--rose), var(--rose-soft));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 48px -14px rgba(217, 108, 138, 0.55), inset 0 2px 2px rgba(255,255,255,0.35);
  animation: heart-beat 1.8s var(--ease-fluid) infinite;
}
.heart-btn-inner svg { width: 2.4rem; height: 2.4rem; }
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.1); }
  24% { transform: scale(1); }
  36% { transform: scale(1.08); }
  48% { transform: scale(1); }
}

.love-message {
  margin-top: 2.2rem;
  min-height: 3.4rem;
  font-size: clamp(1.1rem, 4.4vw, 1.45rem);
  font-weight: 500;
  color: var(--rose);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease-fluid), transform 0.6s var(--ease-fluid);
}
.love-message.show { opacity: 1; transform: translateY(0); }

/* Burst hearts */
.burst-heart {
  position: fixed;
  z-index: 55;
  pointer-events: none;
  animation: burst-float 1.6s var(--ease-fluid) forwards;
}
.burst-heart svg { display: block; width: 100%; height: 100%; }
@keyframes burst-float {
  0% { transform: translate(0, 0) scale(0.4) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.25) rotate(var(--rot)); opacity: 0; }
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3.5rem 1.2rem 3rem;
  border-top: 1px solid rgba(217, 108, 138, 0.1);
}
.footer-line {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-heart { width: 0.95rem; height: 0.95rem; color: var(--rose); }
.footer-sub {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-soft);
  opacity: 0.75;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.footer-inf { width: 1.2rem; height: 1.2rem; color: var(--rose-soft); }

/* ============ DESKTOP ============ */
@media (min-width: 768px) {
  .nav { top: 1.5rem; gap: 2rem; padding: 0.7rem 1.6rem; }
  .nav-links { display: flex; }
  .section-head { margin-bottom: 4rem; }
  .howmuch, .story, .reasons, .poetry, .songs, .us, .letter-section, .forever { padding-top: 8rem; padding-bottom: 10rem; }
  .timeline { max-width: 620px; }
  .bento { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .b-lg { grid-column: span 2; }
  .bento-card { padding: 2.2rem 2rem; }
  .gallery { columns: 3; column-gap: 1.3rem; }
  .photo-frame { margin-bottom: 1.3rem; }
  .orb { filter: blur(90px); }
  .orb-1 { width: 480px; height: 480px; }
  .orb-2 { width: 420px; height: 420px; }
  .orb-3 { width: 300px; height: 300px; }
  .playlist { max-width: 520px; }
  .flow-arrow svg { width: 110px; height: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .song-disc img { animation: none; }
}
