@font-face {
  font-family: Cormorant;
  src: url("./assets/fonts/cormorant.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("./assets/fonts/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: Explora;
  src: url("./assets/fonts/explora.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #3c302c;
  --wine: #782f40;
  --wine-dark: #642433;
  --mute: #675c54;
  --line: #d8cfc1;
  --canvas: #f7f3ec;
  --serif: Cormorant, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --grain: url("./assets/grano.png");
  font-family: var(--sans);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  min-width: 280px;
  margin: 0;
  background: var(--grain), radial-gradient(ellipse at 50% 100px, #fbf8f1, transparent 860px), var(--canvas);
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 5px; }
.wrap { width: min(1112px, calc(100% - clamp(40px, 9vw, 144px))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 6; top: 8px; left: 8px; padding: 12px 17px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.masthead { border-bottom: 1px solid #ded7cb; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.wordmark { display: inline-flex; gap: 12px; align-items: center; color: var(--wine-dark); font: 600 italic 30px/1 var(--serif); }
.brand-envelope {
  width: 30px; height: 21px; position: relative;
  border: 1.6px solid currentColor; border-radius: 2px;
  transform: rotate(-9deg);
  background: #f0dfd8;
}
.brand-envelope i, .ico-mail::before {
  position: absolute; top: 0; left: 0; width: 100%; height: 70%; content: "";
  background: currentColor; clip-path: polygon(0 0, 50% 82%, 100% 0, 100% 13%, 50% 98%, 0 13%);
}
.brand-envelope b { position: absolute; top: 1px; left: 9px; font: normal 13px/1.3 Georgia, serif; }
.date-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; color: #64534c; }
.date-short { display: none; }
.date-link:hover, .footer a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.masthead-links { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.wallet-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 13px;
  border: 1px solid #c7a9a0; border-radius: 4px; background: var(--grain), #f3e7dd;
  color: var(--wine-dark); font-size: 13px; font-weight: 600;
}
.wallet-link:hover { background-color: #eddad0; }
.ico-ticket { position: relative; width: 15px; height: 10px; border: 1.4px solid currentColor; border-radius: 2px; transform: rotate(-10deg); }
.ico-ticket::before { content: ""; position: absolute; top: 0; bottom: 0; left: 4px; border-left: 1px dashed currentColor; }
.ico-calendar { width: 15px; height: 14px; border: 1.4px solid currentColor; border-radius: 3px; position: relative; background: linear-gradient(transparent 4px, currentColor 4px 5px, transparent 5px); }
.ico-calendar::before { content: ""; position: absolute; top: -3px; left: 3px; height: 4px; width: 1.4px; background: currentColor; box-shadow: 6px 0 currentColor; }

.keepsake { position: relative; isolation: isolate; margin: 37px 2px 0; }
.underleaf {
  position: absolute; inset: 8px 1.1% -4px .6%; z-index: -1;
  transform: rotate(-.65deg); background: var(--grain), #e9dfcc;
  border: 1px solid #d9cebc; box-shadow: 0 4px 8px #65513f15;
}
.paper-shadow { filter: drop-shadow(0 2px 1px #614c3626) drop-shadow(0 6px 7px #6b503014); }
.notebook {
  position: relative; display: grid; grid-template-columns: 55% 45%; align-items: center; isolation: isolate;
  padding: clamp(29px, 3.1vw, 46px) clamp(36px, 5.6vw, 84px);
  background-color: #fbf6e9;
  background-image: var(--grain), linear-gradient(100deg, #ead9ba28, #fffaf326 52%, #efdfc238),
    repeating-linear-gradient(to bottom, transparent 0 27px, #aeaca22e 27px 28px);
  background-position: 0 0, 0 0, 0 22px;
  border-top: 1px solid #e7dbc7;
  clip-path: polygon(0 .5%, 35% 0, 75% .45%, 100% 0, 99.88% 35%, 100% 73%, 99.88% 99.3%, 97% 99.55%, 94% 99.28%, 90% 99.8%, 87% 99.5%, 83% 99.85%, 79% 99.45%, 75% 99.9%, 72% 99.4%, 68% 99.8%, 65% 99.6%, 61% 99.95%, 57% 99.6%, 54% 99.9%, 50% 99.45%, 46% 99.85%, 41% 99.4%, 38% 99.75%, 34% 99.45%, 31% 99.98%, 27% 99.5%, 23% 99.8%, 19% 99.5%, 15% 100%, 11% 99.6%, 7% 99.9%, 4% 99.45%, 0 99.8%, .12% 76%, 0 56%, .17% 30%);
}
.binding {
  position: absolute; inset: 0 auto 0 0; width: 39px;
  border-right: 1px solid #c8797852; z-index: -1;
  background: radial-gradient(ellipse 4px 4.5px at 13px 20px, #d8cbbb 46%, #d7c9b6 63%, #fff9ed 94%, transparent 100%) left top / 26px 38px repeat-y;
}
.washi {
  position: absolute; z-index: 2; top: -8px; left: 36%; width: 89px; height: 24px;
  transform: rotate(-6deg); pointer-events: none; opacity: .85;
  background: var(--grain), repeating-linear-gradient(115deg, #f3dfae80 0 2px, #e3d1a569 2px 4px), #ead7ab;
  clip-path: polygon(1% 2%,100% 0,98% 12%,100% 22%,98% 36%,100% 48%,98% 63%,100% 77%,97% 88%,99% 100%,0 98%,2% 86%,0 76%,2% 63%,0 48%,2% 36%,0 20%,2% 11%);
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0; font: 600 10px/1.5 var(--sans);
  text-transform: uppercase; letter-spacing: .18em; color: var(--wine);
}
.eyebrow > span { width: 23px; height: 1px; background: currentColor; }
h1, h2, p { margin: 0; }
h1 {
  margin: 12px 0 17px; font: 500 clamp(63px, 6.6vw, 93px)/.86 var(--serif);
  letter-spacing: -.049em; color: #492d31;
}
h1 em { font-weight: 500; color: var(--wine); }
.dedication-intro { max-width: 440px; font-size: clamp(14px, 1.08vw, 16px); line-height: 1.61; color: #53463d; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px;
  padding: 10px 17px; border: 1px solid #602736; border-radius: 5px;
  color: #fff8ed; background: var(--wine); box-shadow: 0 2px 4px #60303723;
  font: 500 13px/1.4 var(--sans); transition: background .18s, transform .18s;
}
.primary:hover { background: var(--wine-dark); transform: translateY(-1px); }
.ico-mail { position: relative; width: 15px; height: 11px; border: 1.3px solid currentColor; border-radius: 2px; }
.signature { font: 400 44px/.9 Explora, cursive; color: var(--wine); }
.signature i { display: inline-block; font: 400 .46em/1 var(--serif); transform: rotate(-13deg) translateY(-3px); }
.hero-signature { transform: rotate(-5deg); }
.botanical {
  position: absolute; top: 2%; bottom: 1%; right: 4.5%; width: 42%;
  mix-blend-mode: multiply; pointer-events: none; display: grid; place-items: center;
}
.tulips { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.postmark {
  position: absolute; right: 4%; bottom: 8%; transform: rotate(-12deg);
  display: flex; align-items: center; color: #865957; opacity: .67; pointer-events: none;
}
.postmark-ring {
  width: 65px; height: 65px; border: 2px double currentColor; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px;
  outline: 1px dashed currentColor; outline-offset: -5px;
  font: 600 8px/1.1 var(--sans); text-transform: uppercase; letter-spacing: .17em;
}
.postmark-ring b { border-block: 1px solid currentColor; padding: 3px 0; font: 600 11px/1 Georgia, serif; letter-spacing: .04em; }
.postmark-waves { display: grid; gap: 4px; margin-right: -2px; }
.postmark-waves i { width: 30px; height: 5px; border-top: 1px solid currentColor; border-radius: 50%; transform: rotate(-5deg); }

.calendar { margin-top: 47px; scroll-margin-top: 24px; }
.calendar-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 21px; }
.calendar h2, .wallet h2 { font: 500 clamp(37px, 3.5vw, 49px)/1.05 var(--serif); letter-spacing: -.042em; color: #472e30; }
.calendar-heading p { margin-top: 7px; font-size: 14px; line-height: 1.5; color: var(--mute); }
.progress-block { min-width: 108px; text-align: right; color: var(--mute); font-size: 12px; }
.progress-block progress { width: 100%; height: 3px; display: block; margin-top: 7px; border: 0; border-radius: 6px; overflow: hidden; appearance: none; background: #e2d9ce; color: var(--wine); }
progress::-webkit-progress-bar { background: #e2d9ce; }
progress::-webkit-progress-value { background: var(--wine); }
progress::-moz-progress-bar { background: var(--wine); }
.envelope-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.1vw, 29px); padding: 0; margin: 0; list-style: none; }
.envelope-grid li { min-width: 0; }
.envelope {
  --stock: #edcfc4; --edge: #b88979; --flap: #f0d4ca; --seal: #98504f; --seal-dark: #692e35; --seal-light: #c28173;
  display: block; position: relative; width: 100%; aspect-ratio: 1.76; isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--edge) 62%, #faf4e9); border-radius: 4px;
  color: color-mix(in srgb, var(--seal-dark) 85%, #251d1c); background: var(--grain), var(--stock);
  box-shadow: 0 2px 3px #47342219, 0 6px 10px -6px #47342244;
  transition: transform .2s ease, box-shadow .2s ease;
}
.envelope[data-paper="sage"] { --stock: #d7decd; --edge: #95a18a; --flap: #dce2d2; --seal: #76856e; --seal-dark: #4e5e4b; --seal-light: #a5b199; }
.envelope[data-paper="honey"] { --stock: #eadbbd; --edge: #b5a178; --flap: #f0e3c8; --seal: #a57c48; --seal-dark: #6d5031; --seal-light: #c9a578; }
.envelope[data-paper="mauve"] { --stock: #e5d2d5; --edge: #b1939c; --flap: #eadade; --seal: #9b707e; --seal-dark: #6b4753; --seal-light: #c49da9; }
.folds { position: absolute; inset: 0; border-radius: 3px; overflow: hidden; pointer-events: none; }
.pocket, .flap { display: block; position: absolute; inset: 0; }
.pocket { filter: drop-shadow(0 -1px 1px color-mix(in srgb, var(--edge) 60%, transparent)); }
.pocket::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(0 100%, 47% 34%, 53% 34%, 100% 100%);
  background: var(--grain), linear-gradient(to bottom, color-mix(in srgb, var(--stock) 91%, white), var(--stock));
}
.flap { filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--edge) 80%, transparent)); }
.flap::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(0 0, 100% 0, 52% 56%, 50% 57.1%, 48% 56%);
  background: var(--grain), linear-gradient(160deg, color-mix(in srgb, var(--flap) 85%, white), var(--flap) 70%);
}
.wax {
  position: absolute; z-index: 1; top: 53%; left: 50%; width: clamp(27px, 2.65vw, 37px); aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-9deg);
  border-radius: 45% 56% 48% 55% / 48% 44% 58% 53%;
  display: grid; place-items: center;
  background: var(--grain), radial-gradient(ellipse at 32% 23%, var(--seal-light), var(--seal) 49%, var(--seal-dark) 92%);
  box-shadow: inset 1px 1px 1px var(--seal-light), inset -1px -1px 1px var(--seal-dark), 0 2px 3px #45251c44;
}
.wax i {
  display: grid; place-items: center; width: 76%; height: 75%; padding-top: 1px;
  border: 1px solid color-mix(in srgb, var(--seal-dark) 75%, transparent);
  border-radius: 49% 45% 51% 48%; box-shadow: 0 1px 0 var(--seal-light), inset 0 1px 1px var(--seal-light);
  font: normal 14px/1 Georgia, serif; color: var(--seal-dark); text-shadow: 0 1px 0 var(--seal-light);
}
.day-label {
  position: absolute; bottom: 10%; left: 8%; display: flex; align-items: baseline; gap: 6px;
  text-shadow: 0 1px 0 #ffffff50;
}
.day-label b { font: 500 clamp(27px, 2.8vw, 40px)/.84 var(--serif); letter-spacing: -.05em; font-variant-numeric: lining-nums; }
.day-label small { font: 600 8px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.corner-state {
  position: absolute; right: 8%; bottom: 13%; width: 11px; height: 9px;
  border: 1.35px solid currentColor; border-radius: 2px; opacity: .82;
}
.corner-state::before { content: ""; position: absolute; left: 1.3px; top: -6px; width: 5.4px; height: 5px; border: 1.35px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.envelope[data-state="available"] .corner-state { width: 17px; height: 13px; }
.envelope[data-state="available"] .corner-state::before { inset: 0; border: 0; width: auto; height: auto; background: currentColor; clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 15%, 50% 66%, 0 15%); }
.envelope[data-state="available"] { outline: 1px solid color-mix(in srgb, var(--seal) 65%, transparent); outline-offset: 2px; }
.envelope[data-state="read"] .corner-state { width: 13px; height: 7px; border-width: 0 0 2px 2px; border-radius: 0; transform: rotate(-45deg); }
.envelope[data-state="read"] .corner-state::before { display: none; }
.envelope:focus-visible { outline: 3px solid var(--wine); outline-offset: 5px; }
@media (hover: hover) {
  .envelope:hover { transform: translateY(-4px) rotate(-.45deg); box-shadow: 0 8px 13px -5px #47342247; }
}
.wallet {
  display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr); align-items: start;
  gap: clamp(24px, 4vw, 60px); margin-top: 48px; padding-top: 35px; scroll-margin-top: 24px;
  border-top: 1px solid var(--line);
}
.wallet-intro { margin-top: 10px; max-width: 42ch; font-size: 14px; line-height: 1.6; color: var(--mute); }
#wallet-count { margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--wine); }
.wallet-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 286px), 1fr)); align-items: start; gap: 18px; }
.wallet-list > div { min-width: 0; }
.ticket {
  --stub: 43px; --paper: #f8ebde; --stripe: #edd5c7; --perforation: #bd9a88;
  position: relative; isolation: isolate; display: grid; grid-template-columns: var(--stub) minmax(0, 1fr);
  overflow: hidden; border: 1px solid var(--perforation); border-radius: 5px;
  background: var(--grain), var(--paper); box-shadow: 0 2px 5px #593b2b15;
}
.ticket[data-canjeado="true"] { --paper: #f1f0e4; --stripe: #dce2cf; --perforation: #a4ad94; }
.ticket::before, .ticket::after {
  content: ""; position: absolute; z-index: 1; left: calc(var(--stub) - 7px); width: 12px; height: 12px;
  border: 1px solid var(--perforation); border-radius: 50%; background: var(--grain), var(--canvas);
}
.ticket::before { top: -8px; }
.ticket::after { bottom: -8px; }
.ticket-stub {
  position: relative; display: grid; place-content: center; border-right: 1px dashed var(--perforation);
  background: var(--grain), repeating-linear-gradient(135deg, #fff5 0 1px, transparent 1px 4px), var(--stripe);
}
.ticket-stub i {
  display: grid; place-content: center; width: 28px; height: 34px; border: 1px solid currentColor;
  outline: 1px dotted currentColor; outline-offset: -4px; border-radius: 50%; transform: rotate(-12deg);
  color: #8d5960; font: 500 18px/1 var(--serif);
}
.ticket[data-canjeado="true"] .ticket-stub i { color: #5b6d52; }
.ticket-body { padding: 20px clamp(15px, 2vw, 24px); }
.ticket-source { color: #735743; text-transform: uppercase; font: 600 9px/1.5 var(--sans); letter-spacing: .12em; }
.ticket-title { margin: 5px 0 7px; color: var(--wine-dark); font: 500 italic clamp(28px, 2.5vw, 36px)/1.04 var(--serif); letter-spacing: -.025em; }
.ticket-detail { max-width: 58ch; color: #55483f; font-size: 13px; line-height: 1.55; }
.ticket-redeem, .ticket-copy {
  display: inline-flex; align-items: center; min-height: 38px; margin-top: 12px; padding: 6px 13px;
  border: 1px solid var(--wine); border-radius: 4px; background: var(--wine); color: #fff8ed; font-size: 12px; font-weight: 600;
}
.ticket-redeem:hover, .ticket-copy:hover { background: var(--wine-dark); }
.ticket [hidden], .letter-links [hidden] { display: none; }
.ticket-stamp {
  display: inline-block; margin: 14px 0 8px; padding: 3px 8px; transform: rotate(-3deg);
  border: 2px double #678066; border-radius: 3px; color: #3e593e; font: 600 10px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.ticket-message { max-width: 58ch; padding-left: 9px; border-left: 2px solid #a9b49c; color: #465341; font-size: 13px; line-height: 1.5; user-select: all; }
.ticket-actions, .letter-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 14px; }
.ticket-actions { margin-top: 8px; }
.ticket-copy { margin: 0; }
.ticket-undo { min-height: 38px; padding: 4px 0; border: 0; background: transparent; color: var(--mute); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.ticket-feedback { color: #43543e; font-size: 12px; line-height: 1.45; }
.ticket-feedback:not(:empty) { margin-top: 8px; }
#letter-ticket { margin: 19px 0 6px; }
#letter-ticket .ticket { --stub: 32px; }
#letter-ticket .ticket-stub i { width: 23px; height: 28px; font-size: 15px; }
#letter-ticket .ticket-body { padding: 16px 14px; }
.letter-links { column-gap: 20px; }
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 44px; padding: 21px 0 28px; border-top: 1px solid var(--line); color: #66554d;
}
.footer > span { font: 500 20px/1.2 var(--serif); }
.footer i { font-style: normal; color: var(--wine); }
.footer a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-size: 12px; }

body:has(dialog[open]) { overflow: hidden; }
dialog {
  margin: auto; padding: 0; border: 1px solid #d2c4b0; border-radius: 4px;
  width: min(490px, calc(100% - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow: auto; overscroll-behavior: contain; color: var(--ink); background: #fbf7ed;
  box-shadow: 0 15px 90px #2d1b2666;
}
dialog::backdrop { background: #36273083; backdrop-filter: blur(3px); }
dialog[open] { animation: unfold .34s cubic-bezier(.2,.8,.22,1) both; }
@keyframes unfold { from { opacity: 0; transform: translateY(24px) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
.letter-sheet {
  padding: 35px clamp(24px, 6vw, 43px) 29px; position: relative;
  background: var(--grain), linear-gradient(90deg, transparent 14px, #c5817d38 14px 15px, transparent 15px),
    repeating-linear-gradient(transparent 0 28px, #aea8991c 28px 29px), #fcf8ee;
}
.close-letter {
  position: absolute; top: 9px; right: 9px; width: 40px; height: 40px;
  border: 0; background: transparent; border-radius: 50%; color: var(--wine); font: 300 27px/1 var(--sans);
}
.close-letter:hover { background: #a36c7313; }
.letter-date { padding-right: 21px; }
.letter-emblem { display: none; }
.letter-sheet h2 { font: 500 italic clamp(39px, 6vw, 50px)/.99 var(--serif); letter-spacing: -.035em; margin: 19px 0 20px; color: var(--wine); text-wrap: balance; }
.letter-body p { font-size: 15px; line-height: 1.7; color: #4f423a; }
.letter-body p + p { margin-top: 12px; }
.letter-signoff { margin: 23px 0 5px; }
.letter-signoff > span:first-child { display: block; font-size: 12px; margin-bottom: 7px; }
.letter-signoff[hidden] { display: none; }
.letter-action {
  display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 7px 0; min-height: 42px;
  background: transparent; color: var(--wine); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
}
.letter-action span { font-size: 16px; }
dialog[data-kind="locked"] { text-align: center; width: min(405px, calc(100% - 32px)); }
dialog[data-kind="locked"] .letter-date { justify-content: center; padding: 0 15px; }
dialog[data-kind="locked"] .letter-emblem {
  display: grid; place-items: center; margin: 24px auto 0; width: 56px; height: 38px; border: 1.5px solid #b9827c; border-radius: 3px;
  background: linear-gradient(32deg, transparent 49%, #bd8b8188 50%, transparent 52%) left top / 50% 65% no-repeat,
    linear-gradient(-32deg, transparent 49%, #bd8b8188 50%, transparent 52%) right top / 50% 65% no-repeat, #f1d4ca;
  transform: rotate(-5deg); color: var(--wine); box-shadow: 0 2px 4px #562e2b29;
}
.letter-emblem span { font: 17px/1 Georgia, serif; }
dialog[data-kind="locked"] .letter-action { margin-top: 13px; }

@media (max-width: 850px) {
  .envelope-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .notebook { padding-right: 32px; padding-left: 49px; grid-template-columns: 57% 43%; }
  .binding { width: 28px; }
  .botanical { right: 1%; }
  .postmark { right: 3%; bottom: 8%; scale: .84; transform-origin: right bottom; }
  .hero-actions { gap: 15px; }
  .hero-signature { font-size: 36px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 34px); }
  .masthead-inner { min-height: 56px; }
  .wordmark { font-size: 26px; gap: 10px; }
  .brand-envelope { width: 25px; height: 18px; }
  .brand-envelope b { top: 1px; left: 7px; font-size: 11px; }
  .date-link { font-size: 12px; }
  .wallet-link { font-size: 12px; padding-inline: 9px; }
  .wallet { grid-template-columns: 1fr; gap: 17px; margin-top: 29px; padding-top: 24px; }
  .wallet h2 { font-size: 36px; }
  .wallet-intro { margin-top: 6px; font-size: 13px; }
  #wallet-count { margin-top: 7px; }
  .wallet-list { gap: 12px; }
  .ticket { --stub: 35px; }
  .ticket-redeem, .ticket-copy, .ticket-undo { min-height: 42px; }
  .keepsake { margin: 24px 0 0; }
  .notebook { display: block; padding: 25px 17px 27px 30px; }
  .binding { width: 18px; background-position: -6px 0; background-size: 22px 32px; }
  .washi { left: 45%; top: -6px; width: 61px; height: 17px; }
  .eyebrow { font-size: 8.5px; gap: 7px; letter-spacing: .15em; }
  .eyebrow > span { width: 15px; }
  h1 { font-size: clamp(43px, 12.7vw, 70px); margin: 21px 0 23px; line-height: .89; }
  .botanical { width: 35.5%; height: clamp(112px, 32vw, 172px); top: 27px; right: 1%; bottom: auto; }
  .dedication-intro { font-size: 14px; line-height: 1.55; max-width: 100%; }
  .hero-actions { margin-top: 17px; gap: 16px; }
  .primary { font-size: 12px; padding-inline: 13px; min-height: 42px; }
  .hero-signature { font-size: 34px; }
  .postmark { display: none; }
  .calendar { margin-top: 34px; }
  .calendar-heading { align-items: start; gap: 12px; margin-bottom: 18px; position: relative; }
  .calendar-heading > div:first-child { width: 100%; }
  .calendar h2 { font-size: 36px; padding-right: 96px; }
  .calendar-heading p { margin-top: 8px; font-size: 12.5px; max-width: 100%; }
  .progress-block { position: absolute; top: 6px; right: 0; min-width: 77px; font-size: 10.5px; }
  .envelope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; }
  .envelope { aspect-ratio: 1.62; }
  .wax { width: 27px; }
  .wax i { font-size: 11px; }
  .day-label b { font-size: 28px; }
  .day-label { gap: 4px; }
  .day-label small { font-size: 7px; }
  .footer { margin-top: 28px; padding-top: 12px; }
}
@media (max-width: 430px) {
  .date-link .date-long { display: none; }
  .date-link .date-short { display: inline; }
}
@media (max-width: 365px) {
  .masthead-links { gap: 9px; }
  .masthead-links .date-link { width: 32px; justify-content: center; }
  .date-link .date-short { display: none; }
}
@media (max-width: 345px) {
  .wrap { width: calc(100% - 24px); }
  .notebook { padding-left: 25px; padding-right: 12px; }
  .hero-signature { font-size: 29px; }
  .hero-actions { gap: 9px; flex-wrap: wrap; }
  .botanical { width: 33%; top: 26px; height: 106px; }
  h1 { font-size: clamp(37px, 13.1vw, 45px); }
  .calendar h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
