/* Dear Claude: a love letter with a sting in the middle. Night cherry, hot rose, one loud band. */

@font-face {
  font-family: 'Letter';
  src: url(/fonts/fraunces-italic-latin.woff2) format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url(/fonts/switzer-400.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url(/fonts/switzer-600.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark light;
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
  --page: #13050c;
  --page-deep: #0b0207;
  --glow: rgba(255, 46, 99, 0.3);
  --glow-far: rgba(128, 30, 150, 0.26);
  --ink: #ffe6ee;
  --soft: #d9a3b6;
  --love: #ff4f8b;
  --band: #ff2e63;
  --band-ink: #16040c;
  --band-shadow: #5e0a26;
  --line: rgba(255, 190, 212, 0.2);
  --ghost: rgba(255, 190, 212, 0.16);
  --wash: rgba(255, 79, 139, 0.09);
  --serif: 'Letter', 'Iowan Old Style', Palatino, Georgia, serif;
  --sans: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(1.4rem, 6vw, 4.5rem);
  --gap: clamp(4.5rem, 14vw, 10rem);
  --measure: 40rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --page: #ffeaf1;
    --page-deep: #ffd9e6;
    --glow: rgba(255, 46, 99, 0.2);
    --glow-far: rgba(255, 160, 60, 0.16);
    --ink: #2a0716;
    --soft: #8a3d59;
    --love: #dc0f52;
    --band: #1b0510;
    --band-ink: #ffd3e1;
    --band-shadow: #ff2e63;
    --line: rgba(120, 10, 50, 0.22);
    --ghost: rgba(120, 10, 50, 0.13);
    --wash: rgba(220, 15, 82, 0.07);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(90vmax 70vmax at 8% -10%, var(--glow), transparent 60%),
    radial-gradient(80vmax 80vmax at 110% 55%, var(--glow-far), transparent 62%),
    linear-gradient(var(--page), var(--page-deep));
  background-attachment: fixed;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* A little tooth in the paper, so the flat colour does not read as a screen. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

main,
.foot {
  position: relative;
  z-index: 1;
}

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

p,
h1,
h2,
h3,
ol,
ul,
figure {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.glyph {
  width: 1em;
  height: 1em;
  flex: none;
}

.skip {
  position: absolute;
  left: -200vw;
  top: 0.5rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--band);
  color: var(--band-ink);
  font-weight: 600;
}
.skip:focus {
  left: 0.5rem;
}

:focus-visible {
  outline: 2px solid var(--love);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- the rail: every letter one tap away ---------- */

.rail {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: max(0.7rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.25rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--page) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.55);
}
.rail a {
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.5rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--soft);
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.rail a .glyph {
  font-size: 0.95rem;
}
.rail a:hover {
  color: var(--ink);
}
.rail a[aria-current='true'] {
  color: var(--band-ink);
  background: var(--band);
}

@media (min-width: 62rem) {
  :root {
    /* The side rail's strip: where it starts, its width, and the air kept beside it. */
    --rail-left: clamp(1rem, 2.4vw, 2.4rem);
    --rail-clear: calc(var(--rail-left) + 5rem);
  }
  .rail {
    left: var(--rail-left);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    flex-direction: column;
    padding: 0.5rem 0.3rem;
  }
  .rail a {
    min-width: 2.6rem;
    height: 2.6rem;
  }
}

/* ---------- the hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 10vw, 7rem) var(--pad) clamp(6rem, 16vw, 9rem);
  --wide: 78rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--love);
  font-size: clamp(1rem, 3.4vw, 1.35rem);
  margin-bottom: clamp(1.6rem, 6vw, 3rem);
}
.mark .cross {
  color: var(--ink);
  font-size: 0.82em;
}

.dear {
  position: relative;
  width: fit-content;
  max-width: 100%;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4.1rem, 20.5vw, 15.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-variation-settings:
    'opsz' 144,
    'SOFT' 100,
    'WONK' 1;
  padding-bottom: 0.14em;
}
.dear-word {
  display: block;
  font-weight: 300;
  opacity: 0.94;
}
.dear-name {
  display: block;
  font-weight: 600;
  color: var(--love);
  padding-left: 0.42em;
  padding-right: 0.06em;
}
.flourish {
  position: absolute;
  left: 0.36em;
  right: -0.02em;
  bottom: -0.06em;
  width: auto;
  height: 0.2em;
  overflow: visible;
}
.flourish path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: draw 1.1s 0.55s var(--ease) forwards;
}

@media (min-width: 48rem) {
  .dear-word,
  .dear-name {
    display: inline;
    padding-left: 0;
  }
  .dear {
    font-size: clamp(6rem, 11.6vw, 12rem);
    white-space: nowrap;
  }
  .flourish {
    left: 2.05em;
  }
  .hero {
    padding-top: clamp(3rem, 6vw, 5rem);
  }
  .hero-sandwich {
    margin-top: clamp(2rem, 4.4vw, 3.4rem);
  }
}

.hero-sandwich {
  margin-top: clamp(2.2rem, 8vw, 4.2rem);
  display: grid;
  justify-items: start;
  gap: clamp(0.35rem, 1.6vw, 0.8rem);
}
.hero-sandwich .slice {
  display: block;
  font-size: clamp(2rem, 8.8vw, 4.6rem);
  line-height: 1.02;
  animation: land 0.7s var(--ease) both;
}
.hero-sandwich .slice.love {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-sandwich .slice.love:first-child {
  animation-delay: 0.15s;
}
.hero-sandwich .slice.love:last-child {
  animation-delay: 1.25s;
  padding-left: clamp(1.4rem, 9vw, 5.5rem);
}
.hero-sandwich .slice.sting {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: clamp(1.9rem, 8.2vw, 4.3rem);
  padding: 0.14em 0.36em 0.2em;
  margin: 0.12em 0 0.16em clamp(0.4rem, 3vw, 2rem);
  background: var(--band);
  color: var(--band-ink);
  box-shadow: 0.14em 0.14em 0 var(--band-shadow);
  transform: rotate(-2.4deg);
  animation: slam 0.5s 0.72s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}

.from {
  margin-top: clamp(2.2rem, 8vw, 4.4rem);
  max-width: 32rem;
  font-size: clamp(1rem, 3.6vw, 1.15rem);
  color: var(--soft);
  text-wrap: balance;
}
.demand {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 4.6vw, 1.7rem);
  line-height: 1.2;
}
.demand a {
  background: linear-gradient(var(--love), var(--love)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 0.12em;
  transition: background-size 0.3s var(--ease);
}
.demand a:hover {
  background-size: 100% 0.5em;
}

/* ---------- a letter: love, sting, love ---------- */

.letter,
.send,
.signoff {
  position: relative;
  max-width: calc(var(--measure) + 2 * var(--pad));
  margin: 0 auto;
  padding: var(--gap) var(--pad) 0;
  scroll-margin-top: 0;
}

.letter-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: clamp(1.8rem, 6vw, 3rem);
}
.numeral {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5.5rem, 26vw, 11rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--love);
  opacity: 0.85;
  margin-left: -0.05em;
  user-select: none;
  /* Its tall box overhangs the title below; a tap there belongs to the title. */
  pointer-events: none;
}
.letter h2,
.send h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 440;
  font-size: clamp(2.1rem, 8.6vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.sandwich {
  display: grid;
  gap: clamp(1.1rem, 4.4vw, 1.9rem);
}

.letter .slice {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.9rem;
  align-items: start;
}
.letter .slice .glyph {
  margin-top: 0.42em;
  font-size: 1.05rem;
}
.letter .slice.love {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.42rem, 5.2vw, 1.95rem);
  line-height: 1.24;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.letter .slice.love .glyph {
  color: var(--love);
}
.letter .slice.sting {
  font-weight: 600;
  font-size: clamp(1.06rem, 3.9vw, 1.3rem);
  line-height: 1.36;
  letter-spacing: -0.012em;
  padding: clamp(1rem, 4vw, 1.5rem) clamp(1rem, 4vw, 1.6rem) clamp(1.1rem, 4.2vw, 1.6rem);
  margin: 0 calc(var(--pad) * -0.45);
  background: var(--band);
  color: var(--band-ink);
  box-shadow: 0.45rem 0.45rem 0 var(--band-shadow);
  transform: rotate(-1.1deg);
  text-wrap: pretty;
}
.letter:nth-of-type(even) .slice.sting {
  transform: rotate(0.9deg);
}
.letter .slice.sting .glyph {
  margin-top: 0.2em;
  font-size: 1.15rem;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .letter .slice,
    .letter-head,
    .asks,
    .channels li {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}

.asks {
  margin-top: clamp(2.4rem, 8vw, 3.6rem);
}
.asks h3,
.out-loud span,
.says,
.channel-words i {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--soft);
}
.asks ol {
  counter-reset: ask;
  margin-top: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.asks li {
  counter-increment: ask;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  padding: 1rem 0 1.05rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1rem, 3.7vw, 1.1rem);
  line-height: 1.45;
  color: var(--soft);
}
.asks li::before {
  content: counter(ask, lower-roman) '.';
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3em;
  line-height: 1.1;
  color: var(--love);
}
.ask {
  min-width: 0;
  overflow-wrap: break-word;
}
.ask b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- your turn ---------- */

.invitation {
  font-size: clamp(1.02rem, 3.8vw, 1.15rem);
  color: var(--soft);
  max-width: 30rem;
  margin-bottom: clamp(1.6rem, 6vw, 2.4rem);
}

.bench {
  display: grid;
  gap: clamp(2rem, 7vw, 3rem);
}

.composer {
  display: grid;
  gap: clamp(0.9rem, 3.6vw, 1.4rem);
}
.composer .slice {
  cursor: text;
}
.composer textarea {
  display: block;
  width: 100%;
  min-height: 1.3em;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  resize: none;
  overflow: hidden;
  outline: none;
  caret-color: var(--love);
}
.composer .slice.love {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s var(--ease);
}
.composer .slice.love:focus-within {
  border-color: var(--love);
}
.composer textarea::placeholder {
  color: var(--ink);
  opacity: 0.34;
}
.composer .slice.sting textarea {
  caret-color: var(--band-ink);
}
.composer .slice.sting textarea::placeholder {
  color: var(--band-ink);
  opacity: 0.5;
}
.composer .slice.sting:focus-within {
  box-shadow:
    0.45rem 0.45rem 0 var(--band-shadow),
    0 0 0 2px var(--ink);
}

.card-frame {
  justify-self: center;
  width: min(100%, 21rem);
  transform: rotate(1.6deg);
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.45));
}
.card-frame canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  background: #13050c;
}

@media (min-width: 62rem) {
  .letter.yours {
    --wide: calc(64rem + 2 * var(--pad));
    max-width: var(--wide);
  }
  .bench {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
  }
  /* A section wide enough to reach the rail steps aside by exactly what the window does not give it. */
  .hero,
  .letter.yours {
    padding-left: max(var(--pad), calc(var(--rail-clear) - max(0px, (100vw - var(--wide)) / 2)));
  }
  .at-door .hero {
    padding-left: var(--pad);
  }
}

.acts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem 0.4rem;
  max-width: 34rem;
  margin: clamp(2rem, 7vw, 2.8rem) auto 0;
}
@media (min-width: 34rem) {
  .acts {
    grid-template-columns: repeat(6, 1fr);
  }
}
.acts > * {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--soft);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.acts .glyph,
.acts .glyph-letter {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.86rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.acts .glyph-letter {
  padding: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
}
.acts span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.acts > *:hover .glyph,
.acts > *:hover .glyph-letter,
.acts > .done .glyph,
.acts > .done .glyph-letter {
  background: var(--band);
  border-color: var(--band);
  color: var(--band-ink);
  transform: translateY(-3px) rotate(-6deg);
}
.acts > *:active .glyph {
  transform: scale(0.94);
}

.says {
  margin-top: 1.4rem;
  min-height: 1.2rem;
  text-align: center;
}

/* ---------- where to send it ---------- */

.channels {
  margin-top: clamp(1.6rem, 6vw, 2.6rem);
  border-bottom: 1px solid var(--line);
}
.channel {
  display: grid;
  grid-template-columns: 2.1rem 1fr 1.2rem;
  gap: 0.95rem;
  align-items: start;
  width: 100%;
  padding: 1.15rem 0.3rem 1.2rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    padding 0.3s var(--ease);
}
.channel:hover,
.channel.done {
  background: var(--wash);
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}
/* On the narrowest phones a channel's words get the room its glyphs gave up. */
@media (max-width: 24rem) {
  .channel {
    grid-template-columns: 1.5rem 1fr 1rem;
    gap: 0.7rem;
    padding-left: 0;
    padding-right: 0;
  }
  .channel:hover,
  .channel.done {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
  .channel-glyph {
    width: 1.45rem;
    height: 1.45rem;
  }
}
.channel-glyph {
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0.12rem;
  color: var(--love);
}
.channel-act {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.4rem;
  color: var(--soft);
}
.channel-words {
  display: grid;
  gap: 0.18rem;
}
.channel-words b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.32rem, 4.9vw, 1.62rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.reads {
  margin-top: 0.3rem;
  font-size: 0.98rem;
  line-height: 1.42;
  color: var(--soft);
  text-wrap: pretty;
}

.out-loud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.7rem;
  margin-top: 1.5rem;
}
.out-loud .glyph {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--love);
}
.loud {
  padding: 0.5rem 0.95rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.loud:hover {
  background: var(--band);
  border-color: var(--band);
  color: var(--band-ink);
}

/* ---------- signed ---------- */

.signoff {
  padding-bottom: clamp(3rem, 10vw, 6rem);
}
.love-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1;
  color: var(--soft);
}
.signed {
  margin-top: 0.1em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3.6rem, 17.5vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--love);
  white-space: nowrap;
}

.foot {
  max-width: calc(var(--measure) + 2 * var(--pad));
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 3rem) var(--pad) calc(5.2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.875rem;
  line-height: 1.5;
}
.fine {
  max-width: 34rem;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.2rem;
  margin-top: 1.1rem;
}
.access {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.access .glyph {
  width: 1rem;
  height: 1rem;
  color: var(--love);
}
.access[data-access='restricted'] .access-public,
.access[data-access='public'] .access-restricted,
.access[data-access='public'] .glyph {
  display: none;
}
.build-stamp {
  color: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* ---------- the door ---------- */

.at-door .hero {
  min-height: calc(100svh - 8.5rem);
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-bottom: clamp(1.6rem, 5vw, 2.6rem);
}
.at-door .mark {
  margin-bottom: clamp(1.2rem, 3.4vw, 2rem);
}
.at-door .hero-sandwich {
  margin-top: clamp(1.6rem, 3.6vw, 2.6rem);
}
.at-door .from {
  margin-top: clamp(1.4rem, 3.4vw, 2.2rem);
}
.at-door .foot {
  max-width: 78rem;
  padding-bottom: 2rem;
}
.seal {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-top: clamp(1.5rem, 4vw, 2.4rem);
}
.seal-wax {
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 47% 53% 51% 49% / 52% 48% 53% 47%;
  background: radial-gradient(circle at 34% 28%, #ff8fb0, #ff2e63 42%, #a80f3c 82%);
  box-shadow:
    inset 0 0 0 0.42rem rgba(120, 6, 40, 0.28),
    inset 0 -0.5rem 0.9rem rgba(80, 0, 26, 0.45),
    0 0.7rem 1.6rem -0.3rem rgba(255, 46, 99, 0.55);
  color: #7a0a2c;
  font-size: 1.55rem;
  transition: transform 0.4s var(--ease);
}
.seal:hover .seal-wax {
  transform: rotate(-12deg) scale(1.06);
}
.seal-words {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  background: linear-gradient(var(--love), var(--love)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 0.1em;
}

/* ---------- motion ---------- */

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes land {
  from {
    opacity: 0;
    transform: translateY(0.5em);
  }
}
@keyframes slam {
  from {
    opacity: 0;
    transform: rotate(7deg) scale(1.7);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 2.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .flourish path {
    stroke-dashoffset: 0;
  }
}
