

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

html.is-modal {
  overflow: hidden;
}

.page {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ol,
ul {
  padding: 0;
  list-style: none;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spark {
  fill: currentColor;
  stroke: none;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1.1rem;
  background: #fff;
  color: #000;
  border-radius: 0.5rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

dialog:not([open]) {
  display: none;
}

.postal__face {
  transition: visibility 0s linear 0.14s;
}

.postal:not(.is-flipped) .postal__face--back,
.postal.is-flipped .postal__face--front {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
}

@font-face {
  font-family: 'Kambiando Hand';
  src: url('../fonts/KambiandoHand-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kambiando Hand';
  src: url('../fonts/KambiandoHand-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Meow Script';
  src: url('../fonts/MeowScript-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  
  --mint-100: #d1f8f1; 
  --lilac-100: #e4d9fc; 
  --peri-300: #a6add8; 
  --teal-300: #76bebd; 
  --teal-600: #3a847f; 
  --plum-800: #4c1c5e; 
  --navy-900: #1e253f; 

  
  --gold-200: #f6e3a4;
  --gold-300: #f0d27a;
  --gold-500: #d6a92a;
  --silver-300: #d5dae6;
  --silver-500: #9aa3b8;

  
  --white: #ffffff;
  --veil: rgba(30, 37, 63, 0.7);

  
  --ink: var(--navy-900);
  --ink-2: var(--plum-800);
  --ink-3: #454c68;

  
  --font-display: 'Kambiando Hand', ui-rounded, system-ui, sans-serif;
  --font-text: 'Kambiando Hand', ui-rounded, system-ui, sans-serif;
  
  --font-brand: 'Meow Script', 'Kambiando Hand', cursive;
  --brand-stroke: 0.022em;

  
  --wobble-a: 255px 18px 225px 20px / 22px 225px 18px 255px;
  --wobble-b: 18px 235px 20px 245px / 245px 20px 235px 18px;
  --wobble-card: 28px 12px 30px 14px / 14px 30px 12px 28px;

  
  --cut-shadow: 4px 5px 0 rgba(30, 37, 63, 0.22);
  --cut-shadow-pressed: 2px 3px 0 rgba(30, 37, 63, 0.3);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);

  
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --content: 72rem;
}

body {
  background: var(--mint-100);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.08rem;
  line-height: 1.55;
}

:focus-visible {
  outline: 3px dashed var(--plum-800);
  outline-offset: 4px;
  border-radius: 12px;
}

.postal-dialog :focus-visible {
  outline-color: var(--gold-300);
}

::selection {
  background: var(--gold-300);
  color: var(--ink);
}

.line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.line--thin {
  stroke-width: 1.3;
}

.line--bold {
  stroke-width: 3.8;
}

.fill {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5.4;
  opacity: 0.95;
}

.fill--soft {
  stroke-width: 3.4;
  opacity: 0.5;
}

.ink {
  stroke: var(--navy-900);
}

.ink-2 {
  stroke: var(--plum-800);
}

.gold {
  stroke: var(--gold-500);
}

.silver {
  stroke: var(--silver-500);
}

.tint-1 {
  stroke: var(--teal-300);
}

.tint-2 {
  stroke: var(--peri-300);
}

.tint-3 {
  stroke: var(--lilac-100);
}

.tint-4 {
  stroke: var(--teal-600);
}

.night-1 {
  stroke: var(--navy-900);
}

.night-2 {
  stroke: var(--plum-800);
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--mint-100);
}

.sky__glow {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cfilter%20id%3D%22c%22%20x%3D%22-5%25%22%20y%3D%22-5%25%22%20width%3D%22110%25%22%20height%3D%22110%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20seed%3D%224%22%20result%3D%22n%22%2F%3E%3CfeColorMatrix%20in%3D%22n%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%204.2%200%200%200%20-1.15%22%20result%3D%22g%22%2F%3E%3CfeComposite%20in%3D%22SourceGraphic%22%20in2%3D%22g%22%20operator%3D%22in%22%2F%3E%3C%2Ffilter%3E%3Cg%20filter%3D%22url(%23c)%22%3E%3Cpath%20d%3D%22M157.3%2038.9L22.6%2029.1L3%2038.2L180.6%2041.3L199.4%2044.8L-16.5%2047.1L-31.5%2056.7L207.4%2047.7L218.2%2067.2L-38.3%2064.9L-46.8%2072.5L226.6%2070.2L235.4%2077.7L-55.7%2082.8L-56.1%2092.2L234.5%2099L239%20109.8L-60.2%20102.9L-63.9%20111.4L244.1%20121.1L246.6%20115.9L-66.8%20119.1L-60.3%20126.4L246.4%20126.3L242.2%20142L-60.4%20135.5L-61.1%20143L236.3%20141.5L235.3%20151.5L-59.7%20152.5L-47.2%20161L232.7%20158.7L223.6%20166.6L-41.5%20170.9L-30%20181.1L209.7%20184.8L199.2%20187.1L-17.3%20190.6L-4.5%20201.1L182.7%20198.7L153.5%20206.3L25.3%20211.7%22%20fill%3D%22none%22%20stroke%3D%22%23E4D9FC%22%20stroke-width%3D%2213%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%220.95%22%2F%3E%3Cpath%20d%3D%22M894.8%20107.5L988.1%2097.8L1001.3%20116.3L878.3%20114.7L868.5%20124.6L1018.7%20119.7L1027.2%20134.5L852%20133.6L840.3%20143.7L1033.6%20138.2L1043.4%20146.7L836.9%20154.1L831.7%20161.8L1045.6%20155.4L1051.4%20173L827.4%20170.1L823%20179.5L1059%20175.2L1064.2%20178.4L818.6%20187.6L814.5%20194.8L1065%20185L1066.3%20192.5L811.1%20202.4L811.2%20211L1072.3%20198.9L1069.3%20218.5L809.4%20220.8L805.3%20228.2L1068.6%20215.1L1073.2%20235.3L806.3%20237.6L809.7%20245.4L1074.2%20247.2L1071.9%20258.8L804.1%20256.1L808.4%20266.1L1076.9%20257.8L1075.1%20264.4L810.9%20276.5L805.8%20284.6L1068.4%20284.4L1067.7%20299.8L811.3%20292.9L810%20300.5L1066.7%20311.7L1062.4%20311.6L820.5%20311.2L817.8%20319.2L1057.4%20306.7L1057.9%20328L824%20327.7L831.3%20335.6L1047.1%20344.7L1044.8%20334.3L834.2%20343.2L843.6%20353L1037.2%20356.6L1029.7%20351.5L847.1%20361.7L862.5%20371L1020.4%20375.3L1014.8%20369.9L869.3%20378.5L880.7%20386.5L1001.1%20385.9L967.6%20385.8L913.2%20396.9%22%20fill%3D%22none%22%20stroke%3D%22%23A6ADD8%22%20stroke-width%3D%2213%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%220.32%22%2F%3E%3Cpath%20d%3D%22M125.8%20685.5L14%20698.5L-5%20705.7L147.1%20707.4L169.4%20710.2L-28.6%20716.1L-38.9%20723.9L177.3%20726L190.5%20731.4L-46.3%20733.3L-57%20742.8L195.1%20749.7L203.5%20738.6L-61.7%20751.5L-68%20758.9L213%20755.1L213.8%20762.9L-72.6%20768.7L-74.9%20778.4L219%20766.8L218%20777.1L-80.4%20786.3L-86.1%20794.5L219.7%20785.2L220.7%20797.8L-81.1%20804.4L-87.8%20814.8L226%20804.5L225.3%20813.6L-79.4%20823.4L-78.7%20831.5L223.1%20840.8L217.7%20847.7L-77.5%20842.2L-75.4%20852.6L215.8%20858.7L210.7%20864.1L-68.8%20863.1L-59.5%20873.4L202.5%20865.2L193.5%20870.8L-55.3%20881.7L-48.9%20889.2L183.7%20901.1L177.6%20910.5L-33.2%20899.2L-21.2%20906.9L159.5%20906.8L143.3%20918.9L-4.9%20915.3L25.6%20925.2L118.5%20938.1%22%20fill%3D%22none%22%20stroke%3D%22%2376BEBD%22%20stroke-width%3D%2213%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%220.3%22%2F%3E%3Cpath%20d%3D%22M809.8%20768.7L989%20760.2L1019.6%20789.7L775.1%20777.5L749.9%20787.8L1047.8%20795.1L1065.2%20793L736.2%20795.1L719%20805.6L1085.6%20798.8L1101.7%20819.8L702.8%20815.6L692.5%20826.1L1107.2%20813.5L1114.9%20838.1L684.4%20835.6L680.3%20843.9L1126.9%20845.7L1129.8%20848.2L669.3%20853.9L667.6%20862.8L1127.6%20860L1131.3%20869.9L664.2%20872.6L665.2%20880.2L1130.1%20877.2L1132.3%20888.8L670%20889.2L666.1%20897.6L1134.6%20894.8L1128.4%20913L670.9%20906.8L676.7%20914.9L1122.1%20922.6L1113.2%20917.5L682.9%20925.7L690.7%20934.9L1112.1%20936L1101%20941.7L695.7%20942.1L714.7%20952.8L1086.7%20964L1067.5%20957.4L728.9%20963.1L746%20972.3L1052.4%20968.6L1022.8%20975.4L774.8%20981.5L803.5%20990.3L996.4%20978.9L953.3%201005.5L848.5%20997.5%22%20fill%3D%22none%22%20stroke%3D%22%23E4D9FC%22%20stroke-width%3D%2213%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%220.95%22%2F%3E%3Cpath%20d%3D%22M361.6%20908.7L678.8%20900.9L737.8%20906.1L297.1%20918.2L267.2%20926.8L772.4%20913.4L798.4%20925.4L241.9%20936.6L219.2%20947.2L820%20943.2L818.9%20951.9L217.4%20954.6L214.2%20962.4L820.6%20965.1L819.7%20958.8L219.9%20970.9L232.7%20980.5L803.2%20970.6L791%20991.1L247.7%20988.1L279.3%20997.6L753.8%201006.1L720.8%201011L324.4%201005.6L378.5%201013.6L661.2%201009.4%22%20fill%3D%22none%22%20stroke%3D%22%23A6ADD8%22%20stroke-width%3D%2213%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%220.35%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / cover no-repeat;
}

.sky::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22220%22%20height%3D%22220%22%3E%3Cfilter%20id%3D%22n%22%20x%3D%220%22%20y%3D%220%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.7%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%20.12%200%200%200%200%20.15%200%200%200%200%20.25%200%200%200%20.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22%2F%3E%3C%2Fsvg%3E");
}

.sky__lights {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12.7%200.3L14%209L23.3%209L15.3%2013.2L18.1%2020.6L12.1%2015.8L5.7%2020.6L8.8%2013.3L1.7%207.8L10%209.5Z%22%20fill%3D%22%23F0D27A%22%20stroke%3D%22%23D6A92A%22%20stroke-width%3D%221.1%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.5%201L13.9%208.8L22.6%208.6L14.8%2012.7L18.8%2020.7L11.9%2015.4L5.7%2021.1L9.3%2013.4L1.7%209L9.9%209.3Z%22%20fill%3D%22%23E8ECF4%22%20stroke%3D%22%239AA3B8%22%20stroke-width%3D%221.1%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12.7%200.3L14%209L23.3%209L15.3%2013.2L18.1%2020.6L12.1%2015.8L5.7%2020.6L8.8%2013.3L1.7%207.8L10%209.5Z%22%20fill%3D%22%23F0D27A%22%20stroke%3D%22%23D6A92A%22%20stroke-width%3D%221.1%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.5%201L13.9%208.8L22.6%208.6L14.8%2012.7L18.8%2020.7L11.9%2015.4L5.7%2021.1L9.3%2013.4L1.7%209L9.9%209.3Z%22%20fill%3D%22%23E8ECF4%22%20stroke%3D%22%239AA3B8%22%20stroke-width%3D%221.1%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12.7%200.3L14%209L23.3%209L15.3%2013.2L18.1%2020.6L12.1%2015.8L5.7%2020.6L8.8%2013.3L1.7%207.8L10%209.5Z%22%20fill%3D%22%23F0D27A%22%20stroke%3D%22%23D6A92A%22%20stroke-width%3D%221.1%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.5%201L13.9%208.8L22.6%208.6L14.8%2012.7L18.8%2020.7L11.9%2015.4L5.7%2021.1L9.3%2013.4L1.7%209L9.9%209.3Z%22%20fill%3D%22%23E8ECF4%22%20stroke%3D%22%239AA3B8%22%20stroke-width%3D%221.1%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12.7%200.3L14%209L23.3%209L15.3%2013.2L18.1%2020.6L12.1%2015.8L5.7%2020.6L8.8%2013.3L1.7%207.8L10%209.5Z%22%20fill%3D%22%23F0D27A%22%20stroke%3D%22%23D6A92A%22%20stroke-width%3D%221.1%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-size: 22px, 16px, 18px, 24px, 14px, 18px, 20px;
  background-position: 7% 13%, 21% 7%, 38% 22%, 66% 9%, 81% 19%, 93% 9%, 95% 62%;
  animation: twinkle 6s ease-in-out infinite;
}

.sky__snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page {
  position: relative;
  z-index: 1;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.75rem) var(--gutter) 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.wordmark__logo,
.postal__logo {
  display: block;
  padding: 0.05em 0.12em 0.12em 0; 
  font-family: var(--font-brand);
  font-weight: 400;
  letter-spacing: 0; 
  color: inherit;
  -webkit-text-stroke: var(--brand-stroke) currentColor;
  paint-order: stroke fill;
}

.wordmark__logo {
  font-size: clamp(2.4rem, 5.6vw, 3.1rem);
  line-height: 1;
}

.masthead__tag {
  padding: 0.2rem 0.9rem 0.25rem;
  border: 2.5px solid var(--navy-900);
  border-radius: var(--wobble-a);
  background: var(--lilac-100);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-2);
  transform: rotate(2deg);
}

.hero {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(3.2rem, 8vw, 6rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.25rem 1.1rem 0.3rem;
  border: 2.5px solid var(--navy-900);
  border-radius: var(--wobble-b);
  background: var(--gold-300);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  transform: rotate(-2.5deg);
}

.hero__title {
  margin-top: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 12.5vw, 8.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--plum-800);
  filter: url(#wax);
}

.hero__line {
  display: block;
}

.hero__accent {
  position: relative;
  display: inline-block;
}

.foil {
  font-style: normal;
  color: var(--teal-600);
}

.hero__underline {
  position: absolute;
  left: -3%;
  bottom: -0.16em;
  width: 106%;
  height: 0.3em;
}

.hero__underline path {
  vector-effect: non-scaling-stroke;
}

.hero__lead {
  max-width: 34rem;
  margin: clamp(1.7rem, 3.4vw, 2.4rem) auto 0;
  font-size: clamp(1.15rem, 2.2vw, 1.32rem);
  color: var(--ink-3);
  text-wrap: pretty;
}

.hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  min-height: 3.2rem;
}

.hero__noscript {
  margin-top: 1.5rem;
  color: var(--ink-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.2rem;
  padding: 0 1.7rem;
  border: 3px solid var(--navy-900);
  border-radius: var(--wobble-a);
  font-family: var(--font-text);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--cut-shadow);
  transition:
    box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.btn .icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.2;
}

.btn--primary {
  background: var(--plum-800);
  color: var(--mint-100);
}

.btn--ghost {
  background: var(--lilac-100);
  color: var(--ink);
}

@media (hover: hover) {
  .btn--primary:hover {
    background: var(--navy-900);
    box-shadow: var(--cut-shadow-pressed);
  }

  .btn--ghost:hover {
    background: var(--gold-200);
    box-shadow: var(--cut-shadow-pressed);
  }
}

.btn:active {
  opacity: 0.88;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.2rem;
  padding: 0 1.5rem;
  border: 3px solid var(--navy-900);
  border-radius: var(--wobble-b);
  background: var(--lilac-100);
  box-shadow: var(--cut-shadow);
  font-size: 1.08rem;
  color: var(--ink);
  text-wrap: balance;
}

.pill::before {
  content: '';
  width: 1.15rem;
  height: 1.15rem;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22M10.1%201.8L12.3%206.7L19.2%207.4L14.3%2011.6L14.9%2017.4L10%2014.7L5.2%2017.6L6.4%2011.8L1.2%207.7L7.6%206.5Z%22%20fill%3D%22%23D6A92A%22%20stroke%3D%22%231E253F%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--navy-900);
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 50%;
  background: var(--lilac-100);
  color: var(--ink);
  box-shadow: var(--cut-shadow);
}

.icon-btn .icon {
  width: 1.3rem;
  height: 1.3rem;
  stroke-width: 2.6;
}

@media (hover: hover) {
  .icon-btn:hover {
    background: var(--gold-200);
  }
}

.calendar-section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  line-height: 1;
  color: var(--plum-800);
  filter: url(#wobble);
}

.section-head p {
  margin-top: 0.7rem;
  font-size: 1.1rem;
  color: var(--ink-3);
}

.section-head::after {
  content: '';
  display: block;
  width: 10rem;
  height: 1.25rem;
  margin: 0.9rem auto 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%2020%22%3E%3Cfilter%20id%3D%22c%22%20x%3D%22-5%25%22%20y%3D%22-5%25%22%20width%3D%22110%25%22%20height%3D%22110%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20seed%3D%224%22%20result%3D%22n%22%2F%3E%3CfeColorMatrix%20in%3D%22n%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%204.2%200%200%200%20-1.15%22%20result%3D%22g%22%2F%3E%3CfeComposite%20in%3D%22SourceGraphic%22%20in2%3D%22g%22%20operator%3D%22in%22%2F%3E%3C%2Ffilter%3E%3Cpath%20d%3D%22M5.7%204.2C8.2%206%2015.8%2015%2021%2015C26.2%2015.1%2031.7%204.7%2036.8%204.7C41.8%204.7%2046.3%2015.1%2051.3%2015.2C56.2%2015.3%2061.3%205.3%2066.4%205.2C71.5%205.2%2076.8%2015.1%2082%2015.1C87.1%2015.1%2092.4%205.5%2097.4%205.4C102.5%205.3%20107.3%2014.3%20112.4%2014.3C117.4%2014.2%20122.5%205%20127.6%204.9C132.7%204.8%20137.7%2013.6%20142.8%2013.6C147.9%2013.6%20155.7%206.4%20158.3%204.9%22%20fill%3D%22none%22%20stroke%3D%22%23D6A92A%22%20stroke-width%3D%224.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20filter%3D%22url(%23c)%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.8rem);
  padding-bottom: 2rem;
}

@media (max-width: 599px) {
  .door:nth-child(3n + 2) {
    margin-top: 1.25rem;
  }
}

@media (min-width: 600px) {
  .calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .door:nth-child(even) {
    margin-top: 1.5rem;
  }
}

@media (min-width: 980px) {
  .calendar {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .door:nth-child(even) {
    margin-top: 1.9rem;
  }
}

.calendar__hint {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 1.02rem;
  color: var(--ink-3);
}

.door {
  align-self: start;
  animation: door-in 0.9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}

.door__btn {
  --arch: 50% 50% 10px 10px / 34% 34% 10px 10px;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 120 / 164;
  perspective: 720px;
  perspective-origin: 15% 50%;
  border-radius: var(--arch);
}

.door__room,
.door__leaf {
  position: absolute;
  inset: 0;
}

.door__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
}

.door__spark {
  width: 34%;
  height: auto;
  aspect-ratio: 1;
  color: var(--gold-500);
}

.door__leaf {
  transform-origin: 8% 50%;
  transition: transform 0.7s var(--ease);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.base {
  fill: var(--mint-100);
  stroke: none;
}

.hole {
  fill: var(--navy-900);
  stroke: none;
}

.patch {
  fill: var(--mint-100);
  stroke: var(--navy-900);
  stroke-width: 1.1;
  stroke-linejoin: round;
}

.door__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: 17%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1;
  color: var(--ink);
}

.door__lock {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 1.35rem;
  height: 1.35rem;
  transform: translateX(-50%);
  stroke: var(--plum-800);
  stroke-width: 1.9;
  opacity: 0;
}

.door__tag {
  position: absolute;
  left: 50%;
  bottom: -0.8rem;
  z-index: 2;
  padding: 0.05rem 0.85rem 0.12rem;
  border: 2.5px solid var(--navy-900);
  border-radius: var(--wobble-b);
  background: var(--gold-300);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transform: translateX(-50%) rotate(-4deg);
}

.door[data-test='true'] .door__tag {
  background: var(--silver-300);
}

.door__tag:empty {
  display: none;
}

.door[data-state='locked'] .door__art--leaf .fill {
  opacity: 0.38;
}

.door[data-state='locked'] .door__art--leaf .line {
  opacity: 0.6;
}

.door[data-state='locked'] .door__num {
  color: var(--ink-3);
  padding-top: 14%;
}

.door[data-state='locked'] .door__lock {
  opacity: 0.85;
}

.door[data-state='today'] .door__btn::after {
  content: '';
  position: absolute;
  top: -0.9rem;
  right: -0.7rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cfilter%20id%3D%22c%22%20x%3D%22-5%25%22%20y%3D%22-5%25%22%20width%3D%22110%25%22%20height%3D%22110%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20seed%3D%224%22%20result%3D%22n%22%2F%3E%3CfeColorMatrix%20in%3D%22n%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%204.2%200%200%200%20-1.15%22%20result%3D%22g%22%2F%3E%3CfeComposite%20in%3D%22SourceGraphic%22%20in2%3D%22g%22%20operator%3D%22in%22%2F%3E%3C%2Ffilter%3E%3Cpath%20d%3D%22M25%204.9L30.6%2016.8L43%2019.9L32.3%2028.6L35.6%2042.8L23.7%2034.4L10.7%2041.9L13.7%2028.1L5.6%2018L18.9%2016.3Z%22%20fill%3D%22%23D6A92A%22%20stroke%3D%22%231E253F%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M25.7%204.2L30.3%2017.4L45.6%2020.6L33.5%2029.5L35%2044.1L23%2035.1L10%2041.3L14.9%2026.8L4.4%2016.2L18.4%2016.4Z%22%20fill%3D%22none%22%20stroke%3D%22%23F6E3A4%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%20transform%3D%22translate(-1%20-1)%20scale(.96)%20translate(1%201)%22%20opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  animation: wiggle 2.6s ease-in-out infinite;
  pointer-events: none;
}

.door[data-opened='true'] .door__leaf {
  transform: rotateY(-70deg);
}

.door.is-opening .door__leaf {
  transform: rotateY(-108deg);
  transition-duration: 0.6s;
}

.door.is-shaking .door__btn {
  animation: nudge 0.4s ease-in-out;
}

.door__room {
  transform-origin: 8% 50%; 
}

@media (hover: hover) {
  .door__room,
  .door__leaf,
  .door__tag,
  .door__btn::after {
    transition:
      transform 0.7s var(--ease),
      translate 0.35s var(--ease),
      rotate 0.35s var(--ease);
  }

  .door:not([data-state='locked']) .door__btn:hover :is(.door__room, .door__leaf) {
    translate: 0 -5px;
    rotate: -1.2deg;
  }

  .door:not([data-state='locked']) .door__btn:hover .door__tag,
  .door:not([data-state='locked']) .door__btn:hover::after {
    translate: 0 -5px;
  }

  .door:not([data-state='locked'])[data-opened='false'] .door__btn:hover .door__leaf {
    transform: rotateY(-18deg);
  }

  .door[data-state='locked'] .door__btn:hover :is(.door__room, .door__leaf, .door__tag) {
    translate: 0 -2px;
  }
}

.door:nth-child(1){--i:0}
.door:nth-child(2){--i:1}
.door:nth-child(3){--i:2}
.door:nth-child(4){--i:3}
.door:nth-child(5){--i:4}
.door:nth-child(6){--i:5}
.door:nth-child(7){--i:6}
.door:nth-child(8){--i:7}
.door:nth-child(9){--i:8}
.door:nth-child(10){--i:9}
.door:nth-child(11){--i:10}
.door:nth-child(12){--i:11}
.door:nth-child(13){--i:12}
.door:nth-child(14){--i:13}
.door:nth-child(15){--i:14}
.door:nth-child(16){--i:15}
.door:nth-child(17){--i:16}
.door:nth-child(18){--i:17}
.door:nth-child(19){--i:18}
.door:nth-child(20){--i:19}
.door:nth-child(21){--i:20}
.door:nth-child(22){--i:21}
.door:nth-child(23){--i:22}
.door:nth-child(24){--i:23}
.door:nth-child(25){--i:24}
.door:nth-child(26){--i:25}
.door:nth-child(27){--i:26}
.door:nth-child(28){--i:27}
.door:nth-child(29){--i:28}
.door:nth-child(30){--i:29}

.finale {
  max-width: 34rem;
  margin: 3rem auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}

.finale__spark {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 1rem;
  color: var(--gold-500);
  stroke: var(--navy-900);
  stroke-width: 1.2;
  stroke-linejoin: round;
  overflow: visible;
}

.finale h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.1rem);
  line-height: 1.05;
  color: var(--plum-800);
}

.finale p {
  margin-top: 0.8rem;
  color: var(--ink-3);
}

.about {
  max-width: var(--content);
  margin: clamp(4.5rem, 9vw, 7rem) auto 0;
  padding: 0 var(--gutter);
}

.about__inner {
  position: relative;
  display: grid;
  gap: 1.5rem 4rem;
  padding: clamp(1.9rem, 5vw, 4rem);
  border: 3px solid var(--navy-900);
  border-radius: var(--wobble-card);
  background: var(--lilac-100);
  box-shadow: 8px 9px 0 var(--teal-300);
}

.about__inner::before,
.about__inner::after {
  content: '';
  position: absolute;
  top: -0.9rem;
  width: 6.2rem;
  height: 1.8rem;
  border: 2px solid color-mix(in srgb, var(--navy-900) 35%, transparent);
  opacity: 0.95;
}

.about__inner::before {
  left: 7%;
  background: repeating-linear-gradient(45deg, var(--gold-300) 0 9px, var(--gold-200) 9px 18px);
  transform: rotate(-5deg);
}

.about__inner::after {
  right: 7%;
  background: repeating-linear-gradient(-45deg, var(--silver-300) 0 9px, var(--white) 9px 18px);
  transform: rotate(4deg);
}

@media (min-width: 860px) {
  .about__inner {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
}

.about h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1;
  color: var(--plum-800);
}

.about__text {
  display: grid;
  gap: 1rem;
  font-size: clamp(1.1rem, 1.8vw, 1.22rem);
  color: var(--ink);
  text-wrap: pretty;
}

.footer {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.footer__drift {
  width: 100%;
  height: clamp(3.5rem, 9vw, 7.5rem);
}

.footer__drift-back {
  fill: var(--peri-300);
}

.footer__drift-front {
  fill: var(--lilac-100);
}

.footer__drift-line {
  fill: none;
  stroke: var(--navy-900);
  stroke-width: 2.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.footer__inner {
  margin-top: -1px;
  padding: 0.5rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom));
  background: var(--lilac-100);
  text-align: center;
  font-size: 1.02rem;
  color: var(--ink-3);
}

.footer__note {
  max-width: 32rem;
  margin: 0 auto;
  text-wrap: balance;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.2rem;
  font-weight: 700;
}

.footer__social a {
  color: var(--ink);
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.25em;
}

.footer__rights {
  margin-top: 1.2rem;
  font-size: 0.95rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  z-index: 50;
  max-width: min(92vw, 26rem);
  padding: 0.8rem 1.4rem;
  border: 3px solid var(--gold-500);
  border-radius: var(--wobble-b);
  background: var(--navy-900);
  color: var(--mint-100);
  font-size: 1.05rem;
  text-align: center;
  box-shadow: var(--cut-shadow);
  opacity: 0;
  transform: translate(-50%, 1rem);
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.postal-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.postal-dialog::backdrop {
  background: var(--veil);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.postal-dialog[open]::backdrop {
  animation: fade-in 0.4s var(--ease) both;
}

.postal-dialog__inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(4.5rem, 9vh, 5.5rem) clamp(0.75rem, 4vw, 3rem) clamp(1.25rem, 4vh, 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.postal-dialog__close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 3;
}

.postal {
  display: grid;
  gap: 1.6rem;
  justify-items: center;
  width: min(100%, 26rem);
}

@media (min-width: 720px) {
  .postal {
    width: min(100%, 51rem);
  }
}

.postal__scene {
  width: 100%;
  perspective: 2200px;
  animation: postal-in 0.7s var(--ease) both;
}

.postal__card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.15;
  transform-style: preserve-3d;
  transition: transform 0.95s var(--ease);
}

@media (min-width: 720px) {
  .postal__card {
    aspect-ratio: 3 / 2;
  }
}

.postal.is-flipped .postal__card {
  transform: rotateY(180deg);
}

.postal__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14px 8px 16px 9px / 9px 16px 8px 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    9px 11px 0 color-mix(in srgb, var(--navy-900) 50%, transparent),
    0 30px 60px -30px var(--veil);
}

.postal__face--back {
  transform: rotateY(180deg);
}

.frame {
  position: absolute;
  inset: clamp(0.4rem, 1.2vw, 0.7rem);
  width: calc(100% - 2 * clamp(0.4rem, 1.2vw, 0.7rem));
  height: calc(100% - 2 * clamp(0.4rem, 1.2vw, 0.7rem));
  max-width: none;
  pointer-events: none;
}

.frame path {
  fill: none;
  stroke: var(--navy-900);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.frame .frame__redo {
  stroke-width: 1.8;
  opacity: 0.5;
}

.frame--back path {
  stroke: var(--plum-800);
}

.postal__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 14% 18%, var(--lilac-100) 0, transparent 38%),
    radial-gradient(circle at 88% 82%, var(--peri-300) 0, transparent 42%),
    var(--mint-100);
}

.postal__word {
  position: relative;
  padding: 0 0.2em 0.04em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.2rem, 23vw, 6.6rem);
  line-height: 1.05;
  text-align: center;
  color: var(--plum-800);
  
  background: linear-gradient(176deg, transparent 58%, var(--gold-300) 58% 90%, transparent 90%);
  filter: url(#wax);
}

@media (min-width: 720px) {
  .postal__word {
    font-size: clamp(5.6rem, 14vw, 9.4rem);
  }
}

.postal__word[data-long='true'] {
  font-size: clamp(3.2rem, 18vw, 5rem);
}

@media (min-width: 720px) {
  .postal__word[data-long='true'] {
    font-size: clamp(4.6rem, 11.5vw, 7.6rem);
  }
}

.postal__counter,
.postal__brand {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.postal__counter {
  top: clamp(1.3rem, 3.4vw, 2.1rem);
}

.postal__brand {
  bottom: clamp(1.3rem, 3.4vw, 2.1rem);
}

.postal__corner {
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--gold-500);
  stroke: var(--navy-900);
  stroke-width: 1.4;
  stroke-linejoin: round;
  overflow: visible;
}

.postal__corner--tl {
  top: clamp(1.4rem, 3.4vw, 2.2rem);
  left: clamp(1.4rem, 3.4vw, 2.2rem);
}

.postal__corner--br {
  bottom: clamp(1.4rem, 3.4vw, 2.2rem);
  right: clamp(1.4rem, 3.4vw, 2.2rem);
}

.postal__photo {
  position: absolute;
  inset: clamp(0.5rem, 1.4vw, 0.8rem);
  width: calc(100% - 2 * clamp(0.5rem, 1.4vw, 0.8rem));
  height: calc(100% - 2 * clamp(0.5rem, 1.4vw, 0.8rem));
  object-fit: cover;
  border-radius: 6px;
}

.postal.has-photo .postal__art {
  background: var(--mint-100);
}

.postal.has-photo .postal__corner {
  display: none;
}

.postal.has-photo .postal__art::after {
  content: '';
  position: absolute;
  left: clamp(0.5rem, 1.4vw, 0.8rem);
  right: clamp(0.5rem, 1.4vw, 0.8rem);
  bottom: clamp(0.5rem, 1.4vw, 0.8rem);
  height: 48%;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, transparent, var(--veil));
}

.postal.has-photo .frame {
  z-index: 2;
}

.postal.has-photo .frame path {
  stroke: var(--mint-100);
}

.postal.has-photo .postal__word {
  position: absolute;
  left: clamp(1.4rem, 3.4vw, 2.2rem);
  bottom: clamp(2.6rem, 5vw, 3.4rem);
  z-index: 1;
  padding: 0;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  text-align: left;
  background: none;
  color: var(--white);
  filter: drop-shadow(0 2px 12px color-mix(in srgb, var(--navy-900) 70%, transparent));
}

.postal.has-photo .postal__counter,
.postal.has-photo .postal__brand {
  z-index: 1;
  color: var(--white);
  text-shadow: 0 1px 8px color-mix(in srgb, var(--navy-900) 80%, transparent);
}

.postal.has-photo .postal__counter {
  text-align: left;
  left: clamp(1.4rem, 3.4vw, 2.2rem);
}

.postal__face--back {
  display: grid;
  gap: 1rem;
  align-content: space-between;
  padding: clamp(1.9rem, 7vw, 2.3rem) clamp(1.7rem, 6.5vw, 2.1rem) clamp(2.4rem, 9vw, 2.8rem);
  background: var(--lilac-100);
}

@media (min-width: 720px) {
  .postal__face--back {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: minmax(0, 1fr);
    align-content: stretch;
    gap: 0;
    padding: 0;
  }

  .postal__msg {
    padding: 3.1rem 2.2rem 2.8rem 3.3rem;
  }

  .postal__side {
    padding: 2.2rem 2.7rem 2.8rem 2rem;
    border-left: 2.5px dashed var(--peri-300);
  }
}

.postal__msg {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: space-between;
}

.postal__kicker {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--plum-800);
}

.postal__phrase {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 6vw, 1.85rem);
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}

@media (min-width: 720px) {
  .postal__phrase {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  }
}

.postal__sign {
  color: var(--plum-800);
  line-height: 1;
}

.postal__logo {
  font-size: clamp(2.1rem, 5vw, 2.6rem);
  line-height: 1;
}

.postal__side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: space-between;
}

.postal__stamps {
  position: relative;
  align-self: flex-end;
  width: 8.6rem;
  height: 5.8rem;
}

@media (min-width: 720px) {
  .postal__stamps {
    width: 12rem;
    height: 7.6rem;
  }
}

.stamp {
  position: absolute;
  right: 0;
  top: 0;
  width: 4.4rem;
  height: auto;
  transform: rotate(3deg);
  filter: url(#wobble);
}

@media (min-width: 720px) {
  .stamp {
    width: 5.6rem;
  }
}

.stamp__paper {
  fill: var(--gold-300);
  stroke: var(--navy-900);
  stroke-width: 2.4;
}

.stamp__perf {
  fill: none;
  stroke: var(--lilac-100);
  stroke-width: 5;
  stroke-dasharray: 0 8.8;
  stroke-linecap: round;
}

.stamp__frame {
  fill: none;
  stroke: var(--plum-800);
  stroke-width: 1.8;
  stroke-dasharray: 5 3;
}

.stamp__spark {
  fill: var(--plum-800);
  color: var(--plum-800);
  stroke: var(--navy-900);
  stroke-width: 1;
}

.stamp__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  fill: var(--navy-900);
}

.postmark {
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 5.2rem;
  height: 5.2rem;
  opacity: 0.8;
  transform: rotate(-14deg);
  filter: url(#wobble);
}

@media (min-width: 720px) {
  .postmark {
    width: 6.6rem;
    height: 6.6rem;
  }
}

.postmark__ring {
  fill: none;
  stroke: var(--plum-800);
  stroke-width: 2.4;
}

.postmark__ring--thin {
  stroke-width: 1.4;
}

.postmark__text {
  font-family: var(--font-display);
  font-size: 9.6px;
  font-weight: 700;
  fill: var(--plum-800);
}

.postmark__wave {
  fill: none;
  stroke: var(--plum-800);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.postal__label {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--plum-800);
}

.postal__task {
  margin-top: 0.3rem;
  font-size: clamp(1.1rem, 3.8vw, 1.2rem);
  line-height: 1.95rem;
  color: var(--ink);
  
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(1.95rem - 2px),
    var(--peri-300) calc(1.95rem - 2px),
    var(--peri-300) 1.95rem
  );
}

.postal__actions {
  
  animation: fade-in 0.5s 0.35s var(--ease) both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.toast--dialog {
  z-index: 4;
}

.is-lost .lost {
  padding-top: clamp(4rem, 12vw, 9rem);
}

.is-lost .lost .btn {
  margin-top: 2rem;
}

@keyframes door-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97) rotate(-1.5deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-9deg) scale(1);
  }

  50% {
    transform: rotate(9deg) scale(1.08);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes postal-in {
  from {
    opacity: 0;
    transform: translateY(2rem) scale(0.95) rotate(-1.5deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero > .eyebrow,
.hero__title,
.hero__lead,
.hero__status {
  animation: rise 1s var(--ease) both;
}

.hero > .eyebrow {
  animation-name: rise-tilt;
}

@keyframes rise-tilt {
  from {
    opacity: 0;
    transform: translateY(1.2rem) rotate(-2.5deg);
  }

  to {
    opacity: 1;
    transform: rotate(-2.5deg);
  }
}

.hero__title {
  animation-delay: 0.08s;
}

.hero__lead {
  animation-delay: 0.2s;
}

.hero__status {
  animation-delay: 0.3s;
}

.is-modal .sky__lights,
.is-modal .door[data-state='today'] .door__btn::after {
  animation-play-state: paused;
}

@media (forced-colors: active) {
  .door__btn,
  .postal__face {
    border: 1px solid CanvasText;
  }
}

.preview-flag {
  position: fixed;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 60;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--mint-100);
  font-size: 0.9rem;
  opacity: 0.9;
  pointer-events: none;
}
