@font-face {
  font-family:BirthdaySerif;
  src:url('assets/serif.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap
}

@font-face {
  font-family:BirthdaySerif;
  src:url('assets/serif-italic.ttf') format('truetype');
  font-weight:400;
  font-style:italic;
  font-display:swap
}

@font-face {
  font-family:BirthdaySans;
  src:url('assets/sans.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap
}

:root {
  --paper:#fbf6ee;
  --ink:#402b32;
  --wine:#78364c;
  --rose:#ad667a;
  --muted:#79686b;
  --blush:#f1e2df;
  --line:#e1d5cc;
  --serif:BirthdaySerif,Georgia,serif;
  --sans:BirthdaySans,Arial,sans-serif
}

* {
  box-sizing:border-box
}

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

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:14px/1.8 var(--sans);
  -webkit-font-smoothing:antialiased
}

body::before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:8;
  opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.5' d='M0 0h160v160H0z'/%3E%3C/svg%3E")
}

::selection {
  background:#e7bfca;
  color:#522c3a
}

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

button {
  font:inherit;
  color:inherit;
  cursor:pointer
}

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

button:focus-visible,a:focus-visible {
  outline:2px solid var(--wine);
  outline-offset:6px
}

button:disabled {
  cursor:default
}

[hidden] {
  display:none!important
}

.wrap {
  width:calc(100% - 112px);
  max-width:1160px;
  margin:0 auto
}

.eyebrow {
  margin:0 0 22px;
  font-size:10px;
  letter-spacing:2.15px;
  line-height:1.6;
  font-weight:400
}

.handwritten {
  font:italic 21px/1.3 var(--serif);
  color:var(--rose)
}

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

h1,h2,h3 {
  font-family:var(--serif);
  font-weight:400
}

h2 {
  font-size:48px;
  line-height:1.2;
  letter-spacing:-1.8px;
  margin-bottom:20px
}

h2 em {
  color:var(--wine)
}

.skip-link {
  position:fixed;
  top:8px;
  left:12px;
  padding:10px 18px;
  background:var(--wine);
  color:white;
  z-index:30;
  transform:translateY(-160%)
}

.skip-link:focus {
  transform:none
}

.reading-progress {
  height:3px;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:20
}

.reading-progress span {
  display:block;
  width:0;
  height:100%;
  background:var(--rose)
}

.site-header {
  height:102px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}

.monogram {
  font:italic 39px/.8 var(--serif);
  color:var(--wine);
  letter-spacing:-5px
}

.monogram span {
  font:20px var(--serif);
  display:inline-block;
  margin-left:4px;
  transform:translateY(-8px)
}

nav {
  display:flex;
  gap:37px;
  align-items:center;
  font-size:11px
}

nav a {
  padding:12px 0;
  transition:color .2s
}

nav a:hover {
  color:var(--rose)
}

nav .nav-wish {
  border-bottom:1px solid #b88b95;
  padding-bottom:6px
}

.nav-wish span {
  margin-left:10px
}

.hero {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:50px;
  align-items:center;
  min-height:716px;
  padding-top:66px;
  padding-bottom:73px
}

.tiny-star {
  color:#a47b52;
  font-size:17px;
  margin-right:8px
}

.hero .eyebrow {
  font-size:9px;
  margin-bottom:24px
}

.hero h1 {
  font-size:88px;
  line-height:1.045;
  letter-spacing:-4px;
  margin-bottom:28px
}

.hero h1 em {
  color:var(--wine);
  position:relative
}

.hero h1 em::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:100%;
  height:12px;
  border-bottom:1px solid #b47a87;
  border-radius:50%;
  transform:rotate(-3deg)
}

.hero-intro {
  font-size:13px;
  color:var(--muted);
  line-height:1.9;
  margin-bottom:28px
}

.button {
  min-height:49px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 23px;
  font-size:11px;
  gap:36px;
  transition:transform .2s,background .2s
}

.button-wine {
  background:var(--wine);
  color:#fff8f0
}

.button-wine:hover {
  background:#61293e;
  transform:translateY(-2px)
}

.button span {
  font-size:17px;
  line-height:1
}

.hero-note {
  margin:19px 0 0 8px;
  font-size:17px;
  transform:rotate(-3deg)
}

.hero-art {
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:14px 22px 23px;
  height:510px
}

.postcard {
  background:#fffaf1;
  width:338px;
  max-width:100%;
  padding:23px 24px 26px;
  box-shadow:1px 15px 35px #62362f16,0 1px 5px #6e4e3c0d;
  transform:rotate(7deg);
  position:relative;
  z-index:1;
  border:1px solid #f0e8dc
}

.postcard::before {
  content:"";
  position:absolute;
  top:-16px;
  left:107px;
  width:105px;
  height:30px;
  background:#d5ba956b;
  transform:rotate(-7deg);
  clip-path:polygon(2% 8%,100% 1%,98% 100%,0 89%)
}

.postcard-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#977e78;
  font-size:7px;
  letter-spacing:1.4px;
  height:42px
}

.stamp {
  font:24px/.8 var(--serif);
  color:var(--wine);
  padding:9px 9px 8px;
  border:1px dashed #c6a8a7;
  text-align:center;
  transform:rotate(7deg)
}

.stamp small {
  font:7px var(--sans);
  letter-spacing:1.8px
}

.bouquet {
  display:block;
  width:100%;
  margin-top:9px;
  margin-bottom:6px
}

.postcard-title {
  font:italic 27px/1.22 var(--serif);
  text-align:center;
  color:var(--wine);
  margin-bottom:15px;
  letter-spacing:-.6px
}

.postcard-caption {
  text-align:center;
  font-size:7px;
  letter-spacing:1.7px;
  margin:0;
  color:#9e7d79
}

.art-star {
  position:absolute;
  color:#b18b64
}

.star-one {
  font-size:61px;
  left:3px;
  top:27px;
  transform:rotate(-12deg)
}

.star-two {
  font-size:30px;
  right:1px;
  bottom:53px
}

.love-seal {
  position:absolute;
  right:3px;
  top:39px;
  z-index:2;
  background:#78364c;
  color:#f9ebe0;
  width:106px;
  height:106px;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  font:10px/1.5 var(--sans);
  letter-spacing:1px;
  transform:rotate(13deg);
  box-shadow:0 4px 10px #72384c15
}

.love-seal::after {
  content:"";
  position:absolute;
  inset:7px;
  border:1px solid #d4a1a46b;
  border-radius:50%
}

.love-seal em {
  font:italic 20px var(--serif);
  letter-spacing:0
}

.love-seal>span {
  font-size:15px
}

.art-note {
  position:absolute;
  bottom:-10px;
  left:14px;
  font-size:20px;
  z-index:2;
  transform:rotate(-9deg)
}

.countdown-band {
  background:var(--blush);
  border-top:1px solid #e6d7d2;
  border-bottom:1px solid #e6d7d2
}

.countdown-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:27px 0
}

.countdown-inner .eyebrow {
  font-size:8px;
  letter-spacing:1.7px;
  margin-bottom:5px
}

.countdown-caption {
  font:italic 25px/1.5 var(--serif);
  margin:0;
  color:var(--wine)
}

.countdown {
  display:flex;
  gap:24px;
  align-items:center
}

.countdown>div {
  text-align:center;
  min-width:45px
}

.countdown span {
  font:35px/1.2 var(--serif);
  font-variant-numeric:tabular-nums
}

.countdown small {
  display:block;
  font-size:7px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  margin-top:4px
}

.countdown b {
  font:20px var(--serif);
  color:#ba959d;
  transform:translateY(-7px)
}

.birthday-state {
  font:italic 26px var(--serif);
  color:var(--wine);
  margin:0
}

.section-space {
  padding-top:105px;
  padding-bottom:100px
}

.section-heading {
  text-align:center;
  margin-bottom:54px
}

.section-heading .eyebrow {
  margin-bottom:17px
}

.section-heading>p:last-child {
  font-size:12px;
  color:var(--muted);
  line-height:1.9;
  margin:0
}

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

.quality {
  position:relative;
  padding:30px 30px 27px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  transition:background .3s
}

.quality:hover {
  background:#f6eae3
}

.quality-symbol {
  font-size:32px;
  line-height:1.2;
  color:var(--wine);
  display:block;
  margin-bottom:24px;
  height:36px
}

.quality-number {
  position:absolute;
  top:32px;
  right:28px;
  color:#ad9594;
  font-size:9px
}

.quality h3 {
  font-size:25px;
  letter-spacing:-.8px;
  margin-bottom:10px;
  line-height:1.3
}

.quality p {
  font-size:11px;
  color:var(--muted);
  line-height:1.9;
  margin:0;
  max-width:270px
}

.just-us {
  display:flex;
  align-items:center;
  gap:29px;
  padding:34px 0 0
}

.just-us-heart {
  font:55px var(--serif);
  color:#ad7a85
}

.just-us .eyebrow {
  font-size:7px;
  margin-bottom:7px;
  letter-spacing:1.5px
}

.just-us h3 {
  font-size:24px;
  line-height:1.2;
  margin-bottom:8px;
  letter-spacing:-.6px
}

.just-us p:last-child {
  font-size:11px;
  color:var(--muted);
  margin:0;
  max-width:580px
}

.just-us>.handwritten {
  margin-left:auto;
  flex-shrink:0;
  font-size:18px;
  transform:rotate(-6deg);
  text-align:center;
  padding:0 15px
}

.letter-section {
  background:#f0e4dc;
  padding:100px 0 105px;
  border-block:1px solid #e9dcd1
}

.letter-layout {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:70px;
  align-items:start
}

.letter-intro h2 {
  font-size:49px;
  line-height:1.23
}

.letter-intro>p:not(.eyebrow) {
  font-size:12px;
  color:var(--muted)
}

.letter-doodle {
  font:105px/1 var(--serif);
  color:#aa6a7a;
  transform:rotate(-14deg);
  display:inline-flex;
  flex-direction:column;
  margin:23px 0 0 35px
}

.letter-doodle span {
  font-size:17px;
  margin-top:-5px;
  margin-left:14px
}

.envelope-area {
  padding-top:16px
}

.envelope {
  border:1px solid #cdb4a6;
  position:relative;
  width:100%;
  min-height:315px;
  background:#fdf4e6;
  box-shadow:0 8px 18px #865f4e0b;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transform:rotate(-2deg);
  transition:transform .25s,box-shadow .25s
}

.envelope:hover {
  transform:rotate(0deg) translateY(-4px);
  box-shadow:0 15px 30px #865f4e16
}

.envelope-fold {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:66%;
  background:#f3e5d5;
  clip-path:polygon(0 0,100% 0,50% 95%);
  border-top:2px solid #f9eddf
}

.envelope::after {
  content:"";
  position:absolute;
  inset:0;
  background:#faefdf;
  clip-path:polygon(0 30%,50% 75%,100% 30%,100% 100%,0 100%);
  pointer-events:none
}

.envelope-label {
  font:italic 28px var(--serif);
  z-index:1;
  position:relative;
  transform:translateY(-33px);
  color:var(--wine)
}

.wax-seal {
  z-index:2;
  display:grid;
  place-items:center;
  width:63px;
  height:62px;
  border-radius:47% 52% 46% 49%;
  background:#8d4056;
  box-shadow:inset 0 0 0 4px #a35768,inset 0 0 0 5px #82354b,0 3px 6px #3d10222a;
  color:#f0cec4;
  font:32px var(--serif);
  margin-top:-15px
}

.envelope-hint {
  z-index:2;
  position:absolute;
  bottom:22px;
  font-size:9px;
  letter-spacing:.4px
}

.envelope-hint>span {
  padding-left:15px
}

.love-letter {
  background:#fffaf1;
  padding:34px 40px 28px;
  box-shadow:0 8px 25px #7456450d;
  border:1px solid #e0cdbd;
  animation:letter-in .5s ease
}

.letter-date {
  font-size:8px;
  letter-spacing:1.5px;
  color:#967e76;
  margin-bottom:30px;
  display:flex;
  justify-content:space-between
}

.letter-date span {
  color:var(--wine);
  font-size:18px;
  line-height:1
}

.love-letter h3 {
  font:italic 28px var(--serif);
  color:var(--wine);
  margin-bottom:22px
}

.love-letter>p {
  font-size:12px;
  line-height:2;
  color:#705e5c;
  margin-bottom:17px
}

.love-letter>p.somali {
  font:italic 20px var(--serif);
  color:var(--wine);
  margin:22px 0
}

.signature {
  display:flex;
  flex-direction:column;
  margin:28px 0
}

.signature>span {
  font-size:10px;
  color:var(--muted)
}

.signature strong {
  font:italic 28px var(--serif);
  color:var(--wine)
}

.signature strong span {
  font-size:20px
}

.text-button {
  padding:3px 0 5px;
  border:0;
  border-bottom:1px solid #c4a3a2;
  background:transparent;
  font-size:10px
}

.text-button>span {
  margin-left:18px
}

.text-button:hover {
  color:var(--rose)
}

.noscript-letter {
  padding:28px;
  background:#fff8ef;
  color:var(--wine)
}

.little-thoughts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center
}

.thoughts-heading h2 {
  font-size:41px;
  margin-bottom:0
}

.reminder {
  position:relative;
  min-height:246px;
  border-block:1px solid var(--line);
  padding:24px 0 18px
}

.reminder-star {
  color:#b28a61;
  font-size:30px;
  line-height:1
}

.reminder>p {
  font:italic 27px/1.5 var(--serif);
  color:var(--wine);
  margin:12px 0 17px;
  min-height:80px;
  letter-spacing:-.5px
}

.reminder-controls {
  display:flex;
  justify-content:space-between;
  align-items:center
}

.reminder-count {
  font-size:8px;
  color:var(--muted);
  letter-spacing:1.5px
}

.circle-button {
  border:1px solid #c6a9ab;
  background:transparent;
  border-radius:50%;
  width:36px;
  height:36px;
  font-size:20px;
  line-height:1;
  display:grid;
  place-items:center;
  transition:background .2s,color .2s
}

.circle-button:hover {
  background:var(--wine);
  color:var(--paper)
}

.wish-section {
  background:#ead7d4;
  padding:82px 0 74px;
  position:relative;
  overflow:hidden
}

.wish-layout {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  align-items:center
}

.wish-copy h2 {
  font-size:54px
}

.wish-copy>p:not(.eyebrow) {
  color:#755d60;
  font-size:12px;
  line-height:1.9
}

.wish-copy>.wish-message {
  font:italic 23px/1.5 var(--serif)!important;
  color:var(--wine)!important;
  animation:letter-in .5s ease;
  margin-top:20px;
  margin-bottom:15px
}

.cake-scene {
  position:relative;
  align-self:center;
  padding-top:36px
}

.cake-illustration {
  width:350px;
  max-width:100%;
  margin:24px auto 0;
  position:relative
}

.cake {
  width:100%;
  display:block
}

.candle-button {
  position:absolute;
  left:calc(50% - 31px);
  top:-80px;
  height:150px;
  width:62px;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  border:0;
  background:transparent;
  z-index:2
}

.candle-button:focus-visible {
  outline:2px dashed var(--wine);
  outline-offset:8px;
  border-radius:30px
}

.candle-stick {
  width:17px;
  height:75px;
  border-radius:3px 3px 2px 2px;
  background:repeating-linear-gradient(135deg,#faf1df 0 10px,#b7637a 10px 18px);
  box-shadow:inset -4px 0 #a64d621c
}

.wick {
  height:8px;
  width:2px;
  background:#775146
}

.flame {
  position:relative;
  width:20px;
  height:33px;
  border-radius:65% 35% 55% 45%;
  background:#e9af58;
  transform-origin:bottom center;
  box-shadow:0 0 26px 8px #edba6255;
  animation:flicker 2s ease-in-out infinite
}

.flame::after {
  content:"";
  position:absolute;
  bottom:3px;
  left:5px;
  width:10px;
  height:20px;
  background:#ffe4a4;
  border-radius:70% 30% 50% 50%
}

.candle-button:hover .flame {
  box-shadow:0 0 38px 14px #eab25f88
}

.candle-button.blown .flame {
  opacity:0;
  animation:none;
  transform:scaleY(.1);
  transition:opacity .25s,transform .25s
}

.candle-button.blown .wick::before {
  content:"";
  display:block;
  width:10px;
  height:22px;
  position:relative;
  top:-23px;
  left:-4px;
  border-radius:50%;
  border-left:2px solid #997a7255;
  animation:smoke 1.4s ease forwards
}

.cake-caption {
  text-align:center;
  transform:rotate(-4deg);
  font-size:20px;
  margin-top:10px
}

.cake-star {
  position:absolute;
  color:#a46e72
}

.cake-star-one {
  font-size:45px;
  top:28px;
  left:18px;
  transform:rotate(-9deg)
}

.cake-star-two {
  font-size:30px;
  right:5px;
  top:122px
}

.code-dedication {
  padding-top:61px;
  padding-bottom:61px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
  border-bottom:1px solid var(--line)
}

.code-dedication .eyebrow {
  font-size:8px;
  letter-spacing:1.4px;
  margin-bottom:8px
}

.code-tagline {
  font:27px/1.5 var(--serif);
  letter-spacing:-.6px;
  margin:0
}

.code-tagline em {
  color:var(--wine)
}

.code-snippet {
  background:#f1e9e3;
  padding:15px 22px 18px;
  min-width:375px;
  border:1px solid #e7dcd3
}

.code-window-top {
  display:flex;
  gap:4px;
  align-items:center;
  margin-bottom:15px
}

.code-window-top>span {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#c3aba6
}

.code-window-top>span:nth-child(2) {
  background:#d5bfac
}

.code-window-top>span:nth-child(3) {
  background:#b7b6a0
}

.code-window-top small {
  font:8px monospace;
  color:#8d7b77;
  margin-left:12px
}

.code-snippet pre {
  font:12px/1.4 monospace;
  margin:0 0 7px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.code-purple {
  color:#79567b
}

.code-rose {
  color:#a4405d
}

.code-muted {
  color:#9c8c87
}

.code-comment {
  font:10px/1.5 monospace;
  color:#8b8275
}

footer {
  min-height:140px;
  display:flex;
  align-items:center;
  gap:28px
}

.footer-mark {
  font:italic 28px var(--serif);
  color:var(--wine);
  white-space:nowrap
}

footer>p {
  font-size:9px;
  line-height:1.9;
  margin:0;
  color:var(--muted)
}

footer>p>span {
  font-size:8px;
  color:#a18b87
}

.footer-note {
  margin-left:auto;
  font-size:17px;
  transform:rotate(-4deg)
}

.confetti-layer {
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:50
}

.confetti-bit {
  position:absolute;
  top:-30px;
  width:9px;
  height:15px;
  animation:confetti-fall 3.5s cubic-bezier(.13,.53,.63,.99) forwards;
  opacity:0
}

.confetti-bit.heart {
  height:auto;
  width:auto;
  background:transparent!important;
  font:23px var(--serif)
}

@keyframes confetti-fall {
  0% {
    opacity:0;
    transform:translate(0,-30px) rotate(0deg)
  }
  8% {
    opacity:1
  }
  85% {
    opacity:1
  }
  100% {
    opacity:0;
    transform:translate(var(--drift),110vh) rotate(var(--spin))
  }
}

@keyframes flicker {
  0%,100% {
    transform:rotate(-4deg) scale(.96,1)
  }
  50% {
    transform:rotate(5deg) scale(1.04,.94)
  }
}

@keyframes letter-in {
  from {
    opacity:0;
    transform:translateY(15px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}

@keyframes smoke {
  from {
    opacity:.7;
    transform:translateY(0) scale(1)
  }
  to {
    opacity:0;
    transform:translateY(-45px) scale(2)
  }
}

@media(min-width:1440px) {
  .hero {
    gap:80px
  }
  .hero h1 {
    font-size:96px
  }
  .hero-art {
    padding-inline:30px
  }
  .postcard {
    width:350px
  }
  .love-seal {
    right:4px
  }
}

@media(max-width:1000px) {
  .wrap {
    width:calc(100% - 72px)
  }
  .hero {
    gap:25px;
    min-height:640px;
    padding-top:55px;
    padding-bottom:55px
  }
  .hero h1 {
    font-size:71px;
    letter-spacing:-3px
  }
  .hero-art {
    height:470px;
    padding-inline:16px
  }
  .postcard {
    padding:18px 20px 22px
  }
  .postcard-title {
    font-size:24px
  }
  .love-seal {
    width:87px;
    height:87px;
    right:-8px;
    top:30px;
    font-size:9px
  }
  .love-seal em {
    font-size:17px
  }
  .star-one {
    font-size:40px;
    left:-1px;
    top:15px
  }
  .art-note {
    bottom:0;
    left:0;
    font-size:18px
  }
  .letter-layout {
    gap:40px
  }
  .letter-intro h2 {
    font-size:43px
  }
  .love-letter {
    padding:28px 30px
  }
  .quality {
    padding:25px 23px
  }
  .quality h3 {
    font-size:23px
  }
  .just-us>.handwritten {
    display:none
  }
  .little-thoughts {
    gap:40px
  }
  .thoughts-heading h2 {
    font-size:36px
  }
  .wish-copy h2 {
    font-size:48px
  }
  .wish-layout {
    gap:30px
  }
  .code-snippet {
    min-width:340px
  }
  .code-tagline {
    font-size:24px
  }
  .code-dedication .eyebrow {
    max-width:260px
  }
  .code-dedication {
    gap:22px
  }
}

@media(max-width:760px) {
  .wrap {
    width:calc(100% - 44px)
  }
  .site-header {
    height:78px
  }
  nav {
    gap:22px;
    font-size:10px
  }
  .monogram {
    font-size:35px
  }
  .monogram span {
    font-size:17px
  }
  .hero {
    grid-template-columns:1fr;
    gap:28px;
    padding-top:43px;
    padding-bottom:50px
  }
  .hero h1 {
    font-size:77px;
    letter-spacing:-3.6px
  }
  .hero-copy {
    max-width:490px
  }
  .hero .eyebrow {
    font-size:8px;
    letter-spacing:1.4px;
    margin-bottom:22px
  }
  .hero-intro {
    font-size:12px;
    margin-bottom:24px
  }
  .hero-art {
    width:100%;
    max-width:410px;
    margin:0 auto;
    height:482px;
    padding-inline:24px
  }
  .postcard {
    width:300px;
    padding:19px 24px 23px
  }
  .postcard-title {
    font-size:25px
  }
  .love-seal {
    right:13px;
    top:28px;
    width:91px;
    height:91px
  }
  .star-one {
    left:12px;
    top:20px;
    font-size:43px
  }
  .star-two {
    right:5px;
    bottom:28px
  }
  .art-note {
    font-size:18px;
    left:9px;
    bottom:-5px
  }
  .countdown-inner {
    flex-direction:column;
    gap:24px;
    align-items:center;
    text-align:center;
    padding:25px 0 28px
  }
  .countdown-caption {
    font-size:25px
  }
  .countdown-inner .eyebrow {
    font-size:7px
  }
  .countdown {
    gap:20px
  }
  .countdown span {
    font-size:32px
  }
  .countdown small {
    font-size:7px
  }
  .section-space {
    padding-top:70px;
    padding-bottom:65px
  }
  h2 {
    font-size:39px;
    letter-spacing:-1.4px
  }
  .section-heading {
    margin-bottom:35px
  }
  .section-heading .eyebrow {
    font-size:8px;
    margin-bottom:15px
  }
  .section-heading>p:last-child {
    font-size:11px
  }
  .qualities {
    grid-template-columns:repeat(2,1fr)
  }
  .quality {
    padding:24px 20px 25px
  }
  .quality-symbol {
    font-size:29px;
    margin-bottom:18px
  }
  .quality-number {
    font-size:8px;
    top:28px;
    right:18px
  }
  .quality h3 {
    font-size:23px
  }
  .quality p {
    font-size:10px;
    line-height:1.9
  }
  .just-us {
    gap:16px;
    padding-top:27px;
    align-items:flex-start
  }
  .just-us-heart {
    font-size:41px
  }
  .just-us .eyebrow {
    font-size:6px;
    letter-spacing:1.2px
  }
  .just-us h3 {
    font-size:23px
  }
  .just-us p:last-child {
    font-size:10px
  }
  .letter-section {
    padding:65px 0 65px
  }
  .letter-layout {
    grid-template-columns:1fr;
    gap:25px
  }
  .letter-intro h2 {
    font-size:43px
  }
  .letter-intro .eyebrow {
    font-size:8px;
    margin-bottom:19px
  }
  .letter-intro {
    position:relative
  }
  .letter-intro>p:not(.eyebrow) {
    font-size:11px
  }
  .letter-doodle {
    position:absolute;
    right:8px;
    bottom:9px;
    font-size:73px;
    margin:0
  }
  .letter-doodle span {
    font-size:12px
  }
  .envelope-area {
    padding:10px 6px 0
  }
  .envelope {
    min-height:270px
  }
  .envelope-label {
    font-size:27px
  }
  .envelope-hint {
    font-size:9px
  }
  .love-letter {
    padding:28px 26px
  }
  .love-letter>p {
    font-size:12px
  }
  .little-thoughts {
    grid-template-columns:1fr;
    gap:28px
  }
  .thoughts-heading h2 {
    font-size:37px
  }
  .thoughts-heading .eyebrow {
    font-size:8px;
    margin-bottom:17px
  }
  .reminder {
    min-height:229px;
    padding:20px 0 18px
  }
  .reminder>p {
    font-size:26px;
    min-height:78px
  }
  .wish-section {
    padding:65px 0 43px
  }
  .wish-layout {
    grid-template-columns:1fr;
    gap:20px
  }
  .wish-copy h2 {
    font-size:46px
  }
  .wish-copy .eyebrow {
    font-size:8px
  }
  .wish-copy>p:not(.eyebrow) {
    font-size:11px
  }
  .cake-scene {
    padding-top:38px;
    max-width:360px;
    width:100%;
    margin:0 auto
  }
  .cake-illustration {
    max-width:315px;
    margin-top:30px
  }
  .candle-button {
    top:-87px
  }
  .cake-caption {
    font-size:18px;
    margin-top:4px
  }
  .cake-star-one {
    top:41px;
    left:8px
  }
  .cake-star-two {
    right:0;
    top:150px
  }
  .code-dedication {
    padding-top:43px;
    padding-bottom:40px;
    flex-direction:column;
    align-items:stretch;
    gap:23px
  }
  .code-dedication .eyebrow {
    max-width:none;
    font-size:7px
  }
  .code-tagline {
    font-size:27px
  }
  .code-snippet {
    min-width:0;
    width:100%;
    padding:14px 18px 17px
  }
  .code-snippet pre {
    font-size:11px
  }
  footer {
    min-height:135px;
    gap:18px;
    flex-wrap:wrap;
    padding-top:27px;
    padding-bottom:27px
  }
  footer>p {
    font-size:8px
  }
  .footer-note {
    font-size:14px
  }
}

@media(max-width:390px) {
  nav {
    gap:16px;
    font-size:9px
  }
  .hero h1 {
    font-size:67px
  }
  .hero-art {
    height:452px;
    padding-inline:22px
  }
  .postcard {
    width:280px
  }
  .love-seal {
    right:0;
    top:20px
  }
  .quality {
    padding:22px 15px
  }
  .quality h3 {
    font-size:21px
  }
  .countdown {
    gap:13px
  }
  .letter-intro h2 {
    font-size:39px
  }
  .letter-doodle {
    right:0;
    font-size:55px
  }
  .letter-doodle span {
    font-size:10px
  }
  .envelope-label {
    font-size:23px
  }
  .footer-note {
    width:100%;
    margin-left:52px
  }
  .code-snippet pre {
    font-size:10px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
  .confetti-bit {
    display:none
  }
}

@media print {
  body::before,.reading-progress,nav,.hero-art,.countdown-band,.envelope,.text-button,.little-thoughts,.wish-section,.confetti-layer {
    display:none!important
  }
  .love-letter[hidden] {
    display:block!important
  }
  .wrap {
    width:100%
  }
  .site-header {
    height:60px
  }
  .hero {
    min-height:0;
    display:block;
    padding:30px 0
  }
  .hero h1 {
    font-size:50px
  }
  .hero .button,.hero-note {
    display:none
  }
  .section-space {
    padding-block:30px
  }
  .letter-section {
    padding:30px 0;
    background:none
  }
  .letter-layout {
    display:block
  }
  .letter-intro h2 {
    font-size:35px
  }
  .letter-doodle {
    display:none
  }
  .love-letter {
    box-shadow:none;
    border:none;
    padding:15px 0
  }
  .qualities {
    grid-template-columns:repeat(3,1fr)
  }
  .quality {
    break-inside:avoid
  }
  .code-dedication {
    padding:25px 0
  }
  footer {
    min-height:70px
  }
}

.arrow-icon {
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.3;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:middle;
  flex-shrink:0
}

.nav-wish .arrow-icon,.text-button .arrow-icon {
  margin-left:12px;
  width:11px;
  height:11px
}

.envelope-hint .arrow-icon {
  margin-left:10px;
  width:11px;
  height:11px
}

.circle-button .arrow-icon {
  width:15px;
  height:15px
}

@media(max-width:760px) {
  nav {
    font-size:11px;
    gap:19px
  }
  .hero-intro {
    font-size:13px
  }
  .section-heading>p:last-child {
    font-size:12px
  }
  .quality p,.just-us p:last-child {
    font-size:12px
  }
  .love-letter>p {
    font-size:13px;
    line-height:1.95
  }
  .letter-intro>p:not(.eyebrow),.wish-copy>p:not(.eyebrow) {
    font-size:13px
  }
  .envelope-hint {
    font-size:11px
  }
  .just-us .eyebrow {
    font-size:7px
  }
  .signature>span {
    font-size:11px
  }
  footer>p {
    font-size:10px
  }
  footer>p>span {
    font-size:9px
  }
}

@media(max-width:390px) {
  nav {
    font-size:10px;
    gap:16px
  }
}
