:root {
  --ink: #152021;
  --muted: #66716e;
  --paper: #fff9ef;
  --cream: #f5ead8;
  --rose: #c85e6a;
  --teal: #1f6f6d;
  --gold: #c89443;
  --line: rgba(21, 32, 33, 0.13);
  --shadow: 0 22px 70px rgba(23, 35, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::selection {
  color: #fffaf0;
  background: var(--rose);
}

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

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.08rem 0.34rem;
  font-size: 0.92em;
}

.floating-tenderness {
  position: fixed;
  inset: auto 1.2rem 1rem auto;
  z-index: 30;
  display: grid;
  gap: 0.42rem;
  pointer-events: none;
}

.floating-tenderness span {
  width: max-content;
  max-width: 180px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  color: #fffaf0;
  background: rgba(21, 56, 57, 0.66);
  box-shadow: 0 12px 34px rgba(21, 32, 33, 0.18);
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  font-weight: 800;
  justify-self: end;
  animation: tenderFloat 5s ease-in-out infinite;
}

.floating-tenderness span:nth-child(2) {
  animation-delay: 0.7s;
}

.floating-tenderness span:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes tenderFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 5vw;
  color: #fffdf8;
  background: linear-gradient(rgba(6, 24, 25, 0.72), rgba(6, 24, 25, 0));
}

.brand {
  display: grid;
  place-items: center;
  align-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.9;
}

.brand span:first-child {
  font-size: 1rem;
}

.brand span:last-child {
  color: #ffd5ad;
  font-size: 0.82rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 2rem);
  font-size: 0.9rem;
  font-weight: 600;
}

nav a {
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: flex;
  min-height: 92vh;
  align-items: center;
  overflow: hidden;
  color: #fffdf8;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 26, 0.86), rgba(7, 24, 26, 0.36) 52%, rgba(7, 24, 26, 0.12)),
    linear-gradient(0deg, rgba(21, 32, 33, 0.72), rgba(21, 32, 33, 0.04) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 90vw);
  padding: 18vh 0 12vh 5vw;
}

.eyebrow,
.tag {
  margin: 0 0 0.7rem;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd7b0;
  max-width: 620px;
  line-height: 1.35;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.5rem, 8vw, 7.9rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 600px;
  margin: 1.4rem 0 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 1.15rem;
  font-weight: 800;
}

.button.primary {
  color: #122325;
  background: #fff5df;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fffdf8;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-hint {
  position: absolute;
  right: 5vw;
  bottom: 2.5rem;
  z-index: 3;
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  animation: hintPulse 1.8s ease-in-out infinite;
}

.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 54px;
  margin: 0.65rem auto 0;
  background: rgba(255, 253, 248, 0.52);
}

@keyframes hintPulse {
  0%,
  100% {
    opacity: 0.62;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

.section {
  padding: clamp(4.8rem, 9vw, 8rem) 5vw;
}

.section-heading {
  width: min(920px, 100%);
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.story-section {
  background: linear-gradient(180deg, var(--paper), #f7efe4);
}

.translation-panel {
  width: min(980px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 54px rgba(23, 35, 36, 0.08);
  overflow: hidden;
}

.date-strip article {
  position: relative;
  min-height: 270px;
  padding: 1.2rem;
  background:
    linear-gradient(160deg, rgba(255, 253, 248, 0.98), rgba(255, 244, 225, 0.86));
  overflow: hidden;
}

.date-strip article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(200, 94, 106, 0.19);
  border-radius: 50%;
}

.date-strip .ritual-date {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 210, 218, 0.62), transparent 30%),
    linear-gradient(160deg, #fff7fa, #fff4df 68%, #eef8f5);
}

.date-strip time {
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.date-strip h3 {
  margin-top: 2rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.date-strip p {
  color: var(--muted);
  line-height: 1.68;
}

.translation-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: start;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.translation-row span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.translation-row p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.08;
}

.translation-row.translated {
  background: #163839;
  color: #fff8ea;
}

.translation-row.translated span {
  color: #ffd8a8;
}

.translation-arrow {
  display: grid;
  place-items: center;
  height: 44px;
  color: var(--gold);
  font-size: 1.25rem;
  background: #fffaf0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1100px, 100%);
  margin-top: 2.4rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline article {
  min-height: 250px;
  padding: 1.35rem;
  background: #fffaf0;
}

.timeline span {
  color: var(--gold);
  font-weight: 900;
}

.timeline h3 {
  margin-top: 2.6rem;
}

.timeline p,
.before-card p,
.memory-card p,
.flower-ritual-copy p,
.letter p {
  color: var(--muted);
  line-height: 1.72;
}

.flowers-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(200, 94, 106, 0.16), transparent 26%),
    linear-gradient(180deg, #fff9ef, #f8eef0 46%, #eef8f5);
}

.flowers-section::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 16%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(31, 111, 109, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.flower-ritual-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.92fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
  width: min(1180px, 100%);
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.flower-ritual-copy {
  max-width: 650px;
}

.flower-ritual-copy p {
  font-size: 1.06rem;
}

.flower-feature,
.flower-tile {
  margin: 0;
  overflow: hidden;
  background: #fffdf8;
  box-shadow: 0 22px 64px rgba(23, 35, 36, 0.13);
}

.flower-feature {
  border: 1px solid rgba(200, 94, 106, 0.2);
  border-radius: 8px;
}

.flower-feature img,
.flower-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.flower-gallery {
  column-count: 4;
  column-gap: 0.95rem;
}

.flower-tile {
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 0.95rem;
  border: 1px solid rgba(31, 111, 109, 0.15);
  border-radius: 8px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.flower-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(21, 32, 33, 0.14));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.flower-tile:hover {
  border-color: rgba(200, 94, 106, 0.38);
  box-shadow: 0 26px 70px rgba(23, 35, 36, 0.19);
  transform: translateY(-4px);
}

.flower-tile:hover::after {
  opacity: 1;
}

.moments-section {
  background: #f0f7f5;
}

.photo-before {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.before-card,
.memory-card {
  position: relative;
  display: grid;
  border: 1px solid rgba(31, 111, 109, 0.18);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 48px rgba(31, 111, 109, 0.08);
  overflow: hidden;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.before-card::after,
.memory-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0;
  transform: translateX(-80%);
  pointer-events: none;
  transition:
    opacity 200ms ease,
    transform 520ms ease;
}

.before-card:hover,
.memory-card:hover {
  border-color: rgba(200, 94, 106, 0.34);
  box-shadow: 0 24px 62px rgba(31, 111, 109, 0.16);
  transform: translateY(-5px);
}

.before-card:hover::after,
.memory-card:hover::after {
  opacity: 1;
  transform: translateX(80%);
}

.before-card {
  grid-template-columns: minmax(180px, 0.44fr) 1fr;
  min-height: 320px;
}

.before-card img,
.memory-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.before-card > div,
.memory-copy {
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.love-archive {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.memory-card {
  min-height: 460px;
}

.memory-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 760px;
}

.memory-card.featured img {
  min-height: 520px;
  object-position: center 34%;
}

.photo-placeholder,
.song-cover {
  display: grid;
  min-height: 270px;
  place-items: center;
  padding: 1rem;
  color: #fffaf0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  text-align: center;
  background:
    linear-gradient(rgba(18, 48, 49, 0.25), rgba(18, 48, 49, 0.1)),
    radial-gradient(circle at 18% 22%, rgba(255, 231, 181, 0.32), transparent 28%),
    linear-gradient(135deg, #1f6f6d, #c85e6a 58%, #c89443);
}

.song-cover-image {
  width: 100%;
  min-height: 310px;
  aspect-ratio: 1;
  object-fit: cover;
}

.season-teaser {
  min-height: 460px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 213, 173, 0.24), transparent 34%),
    linear-gradient(135deg, #17393b, #c85e6a 58%, #c89443);
}

.flower-ritual-card {
  min-height: 460px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 216, 232, 0.34), transparent 30%),
    linear-gradient(135deg, #17393b, #c85e6a 52%, #f2c572);
}

.flower-ritual-card::before {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 1.1rem;
  width: 118px;
  height: 118px;
  border-radius: 55% 45% 58% 42%;
  background:
    radial-gradient(circle at 34% 34%, #fff8f8 0 10%, transparent 11%),
    radial-gradient(circle at 34% 20%, rgba(255, 236, 241, 0.95) 0 18%, transparent 19%),
    radial-gradient(circle at 58% 28%, rgba(255, 202, 218, 0.95) 0 20%, transparent 21%),
    radial-gradient(circle at 42% 56%, rgba(255, 184, 204, 0.95) 0 23%, transparent 24%),
    radial-gradient(circle at 68% 60%, rgba(255, 230, 190, 0.88) 0 18%, transparent 19%);
  opacity: 0.78;
  transform: rotate(-12deg);
}

.flower-ritual-card::after {
  opacity: 0.22;
}

.flower-ritual-inner {
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.flower-ritual-card h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.flower-ritual-card p:not(.tag) {
  color: rgba(255, 250, 240, 0.84);
  line-height: 1.72;
}

.flower-ritual-card .tag {
  color: #ffe2ed;
}

.season-teaser::after {
  opacity: 0.28;
}

.season-teaser-inner {
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.season-teaser h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.season-teaser p:not(.tag) {
  color: rgba(255, 250, 240, 0.82);
  line-height: 1.72;
}

.season-teaser .tag {
  color: #ffd5ad;
}

.song-cover {
  min-height: 310px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 4rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 94, 106, 0.28), transparent 38%),
    linear-gradient(135deg, #17393b, #246e6d 54%, #f1bf76);
}

.music-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-top: 0.8rem;
  padding: 0 1rem;
  color: #fffaf0;
  background: var(--teal);
  font-weight: 800;
}

.poems-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(200, 94, 106, 0.13), transparent 28%),
    linear-gradient(180deg, #fff9ef, #f7efe4);
}

.poems-section::before {
  content: "";
  position: absolute;
  inset: 4rem 5vw auto auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(200, 148, 67, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.poems-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: start;
}

.poem-list {
  display: grid;
  gap: 0.75rem;
}

.poem-tab {
  position: relative;
  display: grid;
  gap: 0.35rem;
  width: 100%;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 239, 0.72));
  box-shadow: 0 12px 34px rgba(23, 35, 36, 0.07);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.poem-tab::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0 1rem;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--teal));
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.poem-tab:hover {
  border-color: rgba(200, 94, 106, 0.42);
  box-shadow: 0 20px 48px rgba(23, 35, 36, 0.13);
  transform: translateY(-4px);
}

.poem-tab:hover::after,
.poem-tab[aria-selected="true"]::after {
  opacity: 1;
  transform: translateY(0);
}

.poem-tab[aria-selected="true"] {
  color: #fffaf0;
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(31, 111, 109, 0.98), rgba(21, 56, 57, 0.98));
  box-shadow: 0 20px 54px rgba(31, 111, 109, 0.23);
}

.poem-tab-date {
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.poem-tab[aria-selected="true"] .poem-tab-date {
  color: #ffd5ad;
}

.poem-tab-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.poem-tab-excerpt {
  display: -webkit-box;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.poem-tab[aria-selected="true"] .poem-tab-excerpt {
  color: rgba(255, 250, 240, 0.74);
}

.poem-reader {
  position: sticky;
  top: 88px;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(255, 249, 239, 0.92));
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.poem-reader::before,
.poem-reader::after {
  content: "“";
  position: absolute;
  color: rgba(200, 148, 67, 0.18);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}

.poem-reader::before {
  top: 0.5rem;
  right: 1.4rem;
}

.poem-reader::after {
  bottom: -2.2rem;
  left: 1.1rem;
  transform: rotate(180deg);
}

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

.poem-text {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  color: #33413f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.72rem);
  line-height: 1.34;
  white-space: pre-wrap;
}

.letter-section {
  background: #17393b;
  color: #fffaf0;
}

.letter {
  width: min(900px, 100%);
}

.letter p {
  color: rgba(255, 250, 240, 0.78);
  font-size: 1.08rem;
}

.signature {
  margin-top: 2rem;
  color: #ffd5ad !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem !important;
}

@media (max-width: 820px) {
  .topbar {
    min-height: 60px;
    padding: 0 1rem;
  }

  nav {
    gap: 0.55rem 0.75rem;
    font-size: 0.78rem;
  }

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

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding: 16vh 1rem 10vh;
    width: min(100%, 560px);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 26, 0.85), rgba(7, 24, 26, 0.48)),
      linear-gradient(0deg, rgba(21, 32, 33, 0.74), rgba(21, 32, 33, 0.08) 45%);
  }

  .translation-row {
    grid-template-columns: 1fr;
  }

  .timeline,
  .date-strip,
  .flower-ritual-hero,
  .photo-before,
  .love-archive,
  .poems-layout {
    grid-template-columns: 1fr;
  }

  .flower-gallery {
    column-count: 2;
  }

  .flower-feature {
    min-height: 0;
  }

  .flower-tile,
  .flower-tile.tall,
  .flower-tile.wide,
  .flower-tile:not(.tall, .wide) {
    min-height: 0;
  }

  .date-strip article {
    min-height: auto;
  }

  .timeline article,
  .before-card,
  .memory-card,
  .memory-card.featured {
    min-height: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .before-card {
    grid-template-columns: 1fr;
  }

  .before-card img,
  .memory-card img,
  .memory-card.featured img,
  .photo-placeholder,
  .song-cover,
  .song-cover-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .memory-copy,
  .before-card > div {
    position: relative;
    z-index: 2;
    background: #fffdf8;
  }

  .memory-copy p,
  .before-card p,
  .section-heading > p:not(.eyebrow),
  .date-strip p,
  .timeline p {
    color: #34413f;
    font-size: 1rem;
    line-height: 1.66;
  }

  .memory-copy h3,
  .before-card h3 {
    color: #152021;
  }

  .poem-list {
    position: sticky;
    top: 60px;
    z-index: 8;
    display: flex;
    gap: 0.65rem;
    margin: 0 -1rem 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 249, 239, 0.92);
    backdrop-filter: blur(16px);
    border-block: 1px solid rgba(21, 32, 33, 0.1);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .poem-tab {
    min-width: min(260px, 74vw);
    min-height: 104px;
    scroll-snap-align: start;
  }

  .poem-reader {
    position: static;
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .floating-tenderness {
    display: none;
  }

  .topbar {
    background: rgba(6, 24, 25, 0.42);
    backdrop-filter: blur(16px);
  }

  nav a:nth-child(1) {
    display: none;
  }

  nav a {
    font-size: 0.74rem;
  }

  h1 {
    font-size: clamp(2.92rem, 16vw, 4.35rem);
  }

  .button {
    width: 100%;
  }

  .scroll-hint {
    display: none;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .flower-gallery {
    column-count: 1;
  }
}

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