:root {
  --paper: #f5f1e6;
  --white: #fffcf4;
  --ink: #193b35;
  --muted: #535f54;
  --pine: #194941;
  --wine: #953e3f;
  --berry: #a74748;
  --gold: #d3aa66;
  --line: #c6c5ae;
  --serif: Georgia, "Songti SC", "Times New Roman", serif;
  --sans:
    "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(rgba(83, 77, 52, 0.09) 0.5px, transparent 0.8px) 0 0 / 5px
      5px,
    var(--paper);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #a83938;
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(calc(100% - 9vw), 1280px);
  margin: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.shell > main {
  flex: 1;
}
main:focus {
  outline: 0;
}
header,
footer,
.dialog-top,
.calendar-top,
.actions,
.calendar-tools,
.village-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.brand,
.watch {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.brand {
  gap: 0.56rem;
  font: 600 1.7rem/1 var(--serif);
  letter-spacing: -0.065em;
}
.brand-seal {
  display: grid;
  place-items: center;
  width: 29px;
  height: 33px;
  color: #f4df9e;
  background: var(--pine);
  border: 1px solid var(--pine);
  outline: 1px dashed #e9d79d;
  outline-offset: -3px;
  border-radius: 3px 3px 9px 9px;
  font: normal 24px/1 var(--serif);
}
.watch {
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  font-size: 0.91rem;
  font-weight: 650;
}
.watch:hover,
.plain:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}
/* A photograph, a note to the maker, and a fabric calendar. */
.post-office {
  --thread: #ddc698;
  --hand: "Bradley Hand", "Segoe Print", "Kaiti SC", Georgia, serif;
  color: #312d25;
  background-color: #f4edde;
  background-image:
    repeating-linear-gradient(5deg, #7b542007 0 1px, transparent 1px 4px),
    repeating-linear-gradient(94deg, #fff8e85e 0 1px, transparent 1px 3px);
}
.post-office .shell {
  width: min(91.5%, 1180px);
}
.post-office header {
  min-height: 65px;
  border-bottom: 1px solid #a5997b80;
}
.post-office .brand {
  color: #34362b;
  letter-spacing: -0.055em;
}
.brand-thread {
  width: 24px;
  height: 18px;
  display: block;
  transform: rotate(-8deg);
  background:
    linear-gradient(33deg, transparent 47%, #874a38 48% 51%, transparent 52%)
      left/52% 100% no-repeat,
    linear-gradient(-33deg, transparent 47%, #874a38 48% 51%, transparent 52%)
      right/52% 100% no-repeat,
    #dfc9a1;
  border: 1px solid #795a3d;
  box-shadow: 0 1px 1px #795a3d55;
}
.landing {
  padding: clamp(20px, 3vw, 45px) 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.13fr);
  grid-template-areas: "intro calendar" "signup calendar" "how how" "faq faq";
  column-gap: clamp(25px, 5.7vw, 85px);
  align-items: start;
}
.shopfront {
  grid-area: intro;
  min-width: 0;
}
.counter-art {
  width: 98%;
  height: clamp(110px, 12vw, 168px);
  transform: rotate(-2deg);
  border: 5px solid #faf4e5;
  box-shadow: 1px 3px 6px #4233204d;
  background: #77684e url("/christmas-counter.webp") center 49% / cover
    no-repeat;
}
.pitch {
  padding: clamp(16px, 2.4vw, 30px) 0 0;
}
.letterhead,
.eyebrow {
  color: #744738;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin: 0 0 0.45rem;
}
.letterhead {
  display: block;
  font-family: var(--sans);
  text-transform: none;
  line-height: 1.2;
}
h1 {
  font: 400 clamp(3.4rem, 6.45vw, 6.7rem) / 0.94 var(--serif);
  margin: 0;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.pitch h1 {
  color: #294132;
  font-size: clamp(3rem, 4.8vw, 4.8rem);
  line-height: 1;
}
.pitch h1 em {
  color: #823a31;
  font-weight: 400;
}
.pitch .intro {
  margin: 0.7rem 0 0;
  max-width: 26em;
  color: #454539;
}
.intro,
.calendar-lead {
  font-size: clamp(1.01rem, 1.28vw, 1.16rem);
  line-height: 1.56;
  color: var(--muted);
  max-width: 30em;
  margin: 1.4rem 0 1.7rem;
}
.actions,
.calendar-tools {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.primary,
.secondary,
.plain,
.icon {
  border: 0;
  min-height: 45px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 0.82rem 1.13rem;
  font-weight: 710;
  font-size: 0.96rem;
  text-align: center;
  line-height: 1.25;
}
.primary {
  background: var(--wine);
  color: var(--white);
  border: 1px solid #823233;
  box-shadow: 0 2px 0 #722d2e;
}
.primary:hover {
  background: #803237;
}
.secondary {
  background: rgba(255, 252, 244, 0.65);
  color: var(--ink);
  border: 1px solid #728573;
}
.secondary:hover {
  background: #e6e9db;
}
.plain {
  background: transparent;
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
}
.free {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 1rem 0 0;
}
footer {
  border-top: 1px solid var(--line);
  min-height: 65px;
  color: var(--muted);
  font-size: 0.86rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.footer-brand {
  font: 1.12rem var(--serif);
  font-weight: 600;
  letter-spacing: -0.05em;
}
/* The dowel and cord sit outside the stitched edge of the blanket. */
.village {
  position: relative;
  isolation: isolate;
  margin-top: 32px;
  padding: 7px;
  color: #fff1d0;
  border: 4px solid #254238;
  border-radius: 5px 4px 16px 9px / 4px 4px 9px 14px;
  background-color: #214436;
  background-image:
    repeating-linear-gradient(
      0deg,
      #ede8d111 0 1px,
      transparent 1px 3px,
      #152b2422 3px 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 1px,
      #e8dbbf13 1px 2px,
      transparent 2px 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 27px,
      #8d403b66 27px 35px,
      #c2965b45 35px 37px,
      transparent 37px 43px,
      #101f1980 43px 55px,
      transparent 55px 79px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 27px,
      #8d403b66 27px 35px,
      #c2965b45 35px 37px,
      transparent 37px 43px,
      #101f1980 43px 55px,
      transparent 55px 79px
    );
  box-shadow:
    2px 6px 7px #3a332832,
    8px 14px 18px #3a33281a,
    inset 1px -3px 4px #0a211e87;
}
.village::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 1;
  pointer-events: none;
  border: 1.5px dashed #cdb993ad;
  border-radius: 2px 2px 9px 5px;
}
.hanging-cord {
  position: absolute;
  top: -32px;
  height: 36px;
  left: -7px;
  right: -7px;
  pointer-events: none;
  background: radial-gradient(
      ellipse at center,
      #66513e 0 2px,
      #ad9377 2.5px 3px,
      transparent 3.4px
    )
    center top/8px 8px no-repeat;
}
.hanging-cord::before {
  content: "";
  position: absolute;
  inset: 4px 5% 0;
  background:
    linear-gradient(
        to bottom left,
        transparent calc(50% - 1.4px),
        #917155 calc(50% - 1px),
        #b19a71 50%,
        #73593e calc(50% + 1px),
        transparent calc(50% + 1.4px)
      )
      right/50% 100% no-repeat,
    linear-gradient(
        to bottom right,
        transparent calc(50% - 1.4px),
        #917155 calc(50% - 1px),
        #b19a71 50%,
        #73593e calc(50% + 1px),
        transparent calc(50% + 1.4px)
      )
      left/50% 100% no-repeat;
}
.hanging-cord::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 7px;
  border-radius: 6px;
  background: linear-gradient(#795039, #b48c58 30%, #987342 60%, #6d4c36);
  box-shadow: 0 2px 2px #102b2055;
}
.sky {
  padding: 10px 6px 7px;
  text-align: center;
}
.sky h2 {
  display: inline-block;
  margin: 0;
  padding: 0.16em 0.86em 0.2em;
  font: 500 clamp(1.1rem, 2.15vw, 1.8rem) / 1.2 var(--hand);
  letter-spacing: -0.025em;
  color: #3b392c;
  background: #e9d7b0;
  border: 1px dashed #997f5e;
  box-shadow: 1px 1px 2px #122a2155;
  transform: rotate(-1deg);
  overflow-wrap: anywhere;
  max-width: 100%;
}
.street {
  padding: 0 clamp(3px, 1.1vw, 15px) 6px;
}
.doors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px 3px;
}
.door-option {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
.door {
  --lean: -2deg;
  --lift: 0;
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  min-width: 44px;
  min-height: 44px;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  background: transparent;
  color: #342a23;
}
/* A little of each ornament disappears behind the sewn lip. The hit area stays square. */
.door::before,
.door::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 1%;
  pointer-events: none;
  border-radius: 2px 3px 14% 12%;
  transform: rotate(var(--lean));
  background-color: var(--cloth, #7c4840);
  background-image:
    repeating-linear-gradient(3deg, transparent 0 2px, #e3d2b214 2px 3px),
    repeating-linear-gradient(88deg, transparent 0 2px, #29382b26 2px 3px);
}
.door::before {
  height: 47%;
  box-shadow: 1px 2px 2px #152a2066;
}
.door::after {
  height: 18%;
  z-index: 2;
  border: 1px dashed #d6c19c99;
  border-top: 2px solid #d2b7929c;
}
.door-option:nth-child(6n + 2) {
  --cloth: #826346;
}
.door-option:nth-child(6n + 3) {
  --cloth: #63705c;
}
.door-option:nth-child(6n + 4) {
  --cloth: #8a6752;
}
.door-option:nth-child(6n + 5) {
  --cloth: #64433b;
}
.door-option:nth-child(6n) {
  --cloth: #7e735b;
}
.pocket-art {
  position: absolute;
  inset: 1% 5% 9%;
  z-index: 1;
  display: block;
  pointer-events: none;
  --wrap-x: 0%;
  --wrap-y: 0%;
  background: transparent url("/gift-wraps.webp") var(--wrap-x) var(--wrap-y) /
    600% 400% no-repeat;
  filter: drop-shadow(1px 2px 1px #112b2180);
  transform: translateY(var(--lift)) rotate(var(--lean));
  transition: transform 0.18s ease;
}
.door-option:nth-child(4n + 2) .door {
  --lean: 2deg;
  --lift: 1px;
}
.door-option:nth-child(4n + 3) .door {
  --lean: -1deg;
  --lift: -1px;
}
.door-option:nth-child(4n) .door {
  --lean: 1deg;
}
.pattern-2,
.pattern-8,
.pattern-14,
.pattern-20 {
  --wrap-x: 20%;
}
.pattern-3,
.pattern-9,
.pattern-15,
.pattern-21 {
  --wrap-x: 40%;
}
.pattern-4,
.pattern-10,
.pattern-16,
.pattern-22 {
  --wrap-x: 60%;
}
.pattern-5,
.pattern-11,
.pattern-17,
.pattern-23 {
  --wrap-x: 80%;
}
.pattern-6,
.pattern-12,
.pattern-18,
.pattern-24 {
  --wrap-x: 100%;
}
.pattern-7,
.pattern-8,
.pattern-9,
.pattern-10,
.pattern-11,
.pattern-12 {
  --wrap-y: 33.33333%;
}
.pattern-13,
.pattern-14,
.pattern-15,
.pattern-16,
.pattern-17,
.pattern-18 {
  --wrap-y: 66.66667%;
}
.pattern-19,
.pattern-20,
.pattern-21,
.pattern-22,
.pattern-23,
.pattern-24 {
  --wrap-y: 100%;
}

@media (hover: hover) {
  .door:hover .pocket-art {
    transform: translateY(-3px) rotate(calc(var(--lean) - 1deg));
  }
}
.door:focus-visible {
  outline: 2px solid #fff0b4;
  outline-offset: -1px;
  border-radius: 4px;
}
.door-num {
  position: absolute;
  z-index: 3;
  bottom: 0%;
  right: 10%;
  display: grid;
  place-items: center;
  min-width: 1.6em;
  padding: 0.07em 0.23em;
  pointer-events: none;
  background: #f2e0bf;
  border: 1px solid #937851;
  border-radius: 1px 3px 2px 1px;
  color: #422f24;
  font: 600 clamp(0.96rem, 1.4vw, 1.32rem) / 1 var(--hand);
  transform: rotate(calc(var(--lean) - 4deg));
  box-shadow: 0 1px 2px #34251e55;
}
.door .finish-stamp {
  z-index: 3;
}
.door-flag {
  z-index: 3;
  position: absolute;
  right: 7%;
  top: 6%;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 100%;
  border: 1px solid #e2ba72;
  color: #fff4d5;
  background: #8b3d37;
  font: 700 11px/1 var(--sans);
}
.ready .door-flag {
  background: #f5cd78;
  color: #30483a;
}
.village .door-state {
  display: block;
  font-size: 0.72rem;
  line-height: 1.24;
  text-align: center;
  color: #f9eccc;
  padding: 1px 0 0;
}
.village-caption {
  min-height: 41px;
  padding: 9px 19px;
  color: #f1e4c7;
  font-size: 0.83rem;
  line-height: 1.4;
}
#sample-board .village-caption {
  justify-content: center;
  text-align: center;
}
.village-caption .plain {
  color: #fae6ad;
  flex: none;
  min-height: 36px;
}
.calendar .doors {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.calendar {
  padding: clamp(26px, 5vh, 48px) 0 3.25rem;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(25px, 5vw, 75px);
  align-items: start;
}
.calendar-top {
  align-items: start;
  flex-direction: column;
  gap: 0;
}
.calendar h1 {
  font-size: clamp(2.7rem, 4.6vw, 5.3rem);
  overflow-wrap: anywhere;
}
.calendar-lead {
  margin: 1rem 0 1.15rem;
}
.calendar .village {
  width: 100%;
}
.recovery {
  margin-top: 1rem;
  max-width: 35rem;
  color: var(--muted);
}
.recovery > summary {
  cursor: pointer;
  min-height: 44px;
  padding: 0.65rem 0;
  font-size: 0.91rem;
  font-weight: 650;
}
.recovery p,
.hint {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.2rem 0 0.7rem;
}
.recovery .secondary {
  margin: 0.1rem 0 0.55rem;
}
.zone {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 1rem 0 0;
}
dialog {
  width: min(435px, calc(100vw - 28px));
  border: 1px solid #6c7664;
  color: var(--ink);
  border-radius: 10px;
  padding: 0;
  background: var(--white);
  max-height: calc(100dvh - 24px);
  box-shadow: 0 12px 45px #173a3440;
}
dialog::backdrop {
  background: #0f2525ae;
}
.dialog-body {
  padding: clamp(18px, 4vw, 29px);
  border-top: 6px solid var(--wine);
}
.dialog-top {
  min-height: 36px;
}
.flower {
  color: var(--wine);
  font: 1.9rem/1 var(--serif);
}
.icon {
  display: grid;
  place-items: center;
  min-width: 44px;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  border-radius: 50%;
  line-height: 1;
}
.icon:hover {
  background: #e8eadd;
}
dialog h2 {
  font: normal clamp(1.92rem, 4vw, 2.7rem) / 1.05 var(--serif);
  letter-spacing: -0.05em;
  margin: 0.5rem 0 1rem;
}
.input-pair {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0.7rem;
}
form {
  display: grid;
  gap: 0.82rem;
}
label {
  display: grid;
  gap: 0.3rem;
  font-weight: 650;
  font-size: 0.92rem;
}
input,
select,
textarea {
  border: 1px solid #94a096;
  border-radius: 4px;
  background: #fffdfa;
  color: var(--ink);
  padding: 0.62rem 0.65rem;
  width: 100%;
  min-height: 44px;
  font-size: 1rem;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.form-error {
  margin: 0;
  color: #8c303c;
  font-size: 0.91rem;
  line-height: 1.48;
}
.form-error:empty {
  display: none;
}
.panel-note {
  margin: 0.2rem 0 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}
.read-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: normal 1.55rem/1.36 var(--serif);
  margin: 1.1rem 0;
}
.signed {
  color: var(--wine);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #dddeca;
  border-radius: 5px;
  background: var(--ink);
  color: white;
  padding: 0.8rem 1rem;
  text-align: center;
  max-width: calc(100% - 2rem);
  width: max-content;
  z-index: 9;
}
.demo-video {
  display: block;
  max-height: min(65dvh, 608px);
  width: 100%;
  background: #152b24;
  object-fit: contain;
  border-radius: 4px;
}
.copy-fallback {
  position: fixed;
  left: -9999px;
  top: 0;
  opacity: 0;
}
.help-short {
  display: none;
}
.post-office .brand,
.header-links a {
  white-space: nowrap;
  flex-shrink: 0;
}
.header-links {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}
.make-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-size: 0.9rem;
  font-weight: 700;
}
.counter-display {
  display: contents;
}
#sample-board {
  grid-area: calendar;
  align-self: start;
}
.signup-counter {
  grid-area: signup;
  align-self: start;
  margin: clamp(15px, 2vw, 25px) 2px 0 0;
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 1.85vw, 27px);
  background:
    repeating-linear-gradient(0deg, #a5885908 0 1px, transparent 1px 4px),
    #fff8e7;
  border-top: 1px solid #d9c8a9;
  border-bottom: 1px solid #bfad90;
  border-radius: 1px 5px 8px 1px;
  box-shadow: 1px 3px 5px #594c351a;
}
.signup-counter h2,
.packing-room h2,
.counter-faq h2 {
  margin: 0;
  color: #2e3e30;
  font: 400 clamp(1.5rem, 2.6vw, 2.4rem) / 1.1 var(--serif);
  letter-spacing: -0.045em;
}
.desk-intro,
.faq-heading p {
  color: #545745;
  line-height: 1.45;
  font-size: 0.95rem;
  margin: 0.6rem 0 0.95rem;
}
#quick-start {
  gap: 0.36rem;
}
#quick-start label {
  font-size: 0.83rem;
}
#quick-name {
  background: #fffaf0;
  border-color: #a3906d;
}
#quick-start button {
  margin-top: 0.35rem;
}
.signup-counter > .secondary {
  margin-top: 0.48rem;
  background: #fcf5e5;
}
.signup-counter .free {
  text-align: center;
  margin: 0.82rem 0 0;
  font-size: 0.8rem;
}
.signup-counter > #return {
  align-self: center;
}
#make-a-calendar {
  scroll-margin-top: 12px;
}
.post-office .primary {
  background: #973c31;
  border-color: #84352c;
  box-shadow: 0 2px 0 #692a27;
}
.post-office .primary:hover {
  background: #80342c;
}
.packing-room {
  grid-area: how;
  padding: clamp(35px, 6vw, 80px) 0 clamp(32px, 5vw, 65px);
}
.packing-room h2 {
  max-width: 25em;
  margin-bottom: clamp(18px, 3vw, 34px);
}
.packing-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
}
.packing-steps li {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 0 clamp(12px, 2vw, 28px);
  border-left: 1px dashed #bda988;
}
.packing-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}
.packing-steps h3 {
  margin: 11px 0 6px;
  font: normal clamp(1.25rem, 2vw, 1.8rem) / 1.12 var(--serif);
  letter-spacing: -0.035em;
  color: #314438;
}
.packing-steps p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #525747;
}
.paper-prop {
  position: relative;
  display: block;
  width: 76px;
  height: 58px;
  filter: drop-shadow(1px 3px 2px #614d3033);
}
.paper-prop i,
.paper-prop::before,
.paper-prop::after {
  position: absolute;
  display: block;
  content: "";
}
.pad i {
  inset: 7px 11px 3px 9px;
  transform: rotate(-6deg);
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, #a99c7e88 7px 8px),
    #fbefcd;
  border: 1px solid #ad946e;
  border-top: 9px solid #8e3d33;
  box-shadow: 2px 2px 0 #d6c6a2;
}
.pad::after {
  width: 5px;
  height: 46px;
  top: 7px;
  right: 12px;
  background: linear-gradient(#a93428 80%, #d4b27e 81% 93%, #40372d 94%);
  transform: rotate(25deg);
  border-radius: 2px;
}
.envelope i,
.opened-mail i {
  inset: 15px 4px 5px;
  transform: rotate(-7deg);
  background:
    linear-gradient(32deg, transparent 49%, #ae8b59 50%, transparent 52%)
      left/52% 100% no-repeat,
    linear-gradient(-32deg, transparent 49%, #ae8b59 50%, transparent 52%)
      right/52% 100% no-repeat,
    #efddb0;
  border: 1px solid #b49971;
}
.envelope::after {
  width: 13px;
  height: 13px;
  top: 29px;
  left: 31px;
  background: #9b4234;
  border: 2px solid #ad5943;
  border-radius: 50%;
}
.parcel {
  background: url("/gift-wraps.webp") 60% 0 / 600% 400% no-repeat;
  width: 61px;
}
.opened-mail::before {
  width: 45px;
  height: 34px;
  top: 3px;
  left: 18px;
  transform: rotate(7deg);
  border: 1px solid #ac9270;
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, #a89773 7px 8px), #fff4d7;
}
.opened-mail i {
  transform: rotate(5deg);
  background-color: #c7d6bb;
}
.counter-faq {
  grid-area: faq;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(22px, 7vw, 100px);
  padding: clamp(24px, 4vw, 54px) 0;
  border-top: 3px double #b9a683;
}
.faq-heading p {
  max-width: 22em;
}
.faq-list details {
  padding: 0.2rem 0 0.65rem;
  border-bottom: 1px solid #c4b59a;
}
.faq-list details + details {
  margin-top: 0.25rem;
}
.faq-list summary {
  cursor: pointer;
  line-height: 1.4;
  font-weight: 700;
  padding: 0.7rem 0;
}
.faq-list p {
  margin: 0.05rem 0 0.45rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4c5547;
}
.faq-list a {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  color: var(--wine);
  text-underline-offset: 0.24em;
  font-size: 0.9rem;
}
.sample-postmark {
  display: inline-block;
  margin: 0.2rem 0 0.1rem;
  padding: 0.24rem 0.5rem;
  color: #974430;
  border: 2px double #ac7255;
  transform: rotate(-3deg);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post-office dialog {
  border: 1px solid #b9ab8c;
  background: #fff9e9;
  border-radius: 2px 5px 5px 2px;
}
.post-office .dialog-top {
  justify-content: flex-end;
  min-height: 30px;
}
.post-office .dialog-body {
  border-top: 0;
  background: linear-gradient(
    174deg,
    #fff9e9 24%,
    #eee0bc77 24.3%,
    #fffaeb 24.6%,
    #fffaec 76%
  );
}
.unfold-letter[open] .read-note {
  animation: unfold-note 0.3s ease-out both;
  transform-origin: 50% 0;
}
@keyframes unfold-note {
  from {
    opacity: 0.08;
    transform: translateY(10px) rotateX(-15deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.post-office .calendar-top {
  padding: clamp(17px, 2.7vw, 32px);
  background: #faf4e5;
  border-bottom: 1px solid #c1aa89;
}
.post-office .calendar {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}
.post-office .calendar h1 {
  font-size: clamp(2.3rem, 4.2vw, 4.55rem);
}
@media (max-width: 760px) {
  .help-short {
    display: inline;
  }
  .help-long,
  .watch > [aria-hidden] {
    display: none;
  }
  .post-office .shell {
    width: min(96%, 620px);
  }
  .post-office header {
    min-height: 52px;
  }
  .brand {
    font-size: 1.45rem;
  }
  .post-office .brand-seal {
    width: 27px;
    height: 27px;
    font-size: 18px;
  }
  .header-links {
    gap: 0.8rem;
  }
  .watch,
  .make-shortcut {
    font-size: 0.79rem;
  }
  .watch {
    gap: 0.22rem;
  }
  .landing {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 1.4rem;
  }
  .shopfront {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 7px;
    align-items: center;
  }
  .pitch {
    grid-column: 1;
    grid-row: 1;
    padding: 5px 0 6px 5px;
  }
  .counter-art {
    grid-column: 2;
    grid-row: 1;
    height: clamp(96px, 24vw, 134px);
    width: 97%;
    border-width: 3px;
  }
  .letterhead {
    font-size: 0.65rem;
    margin-bottom: 0.32rem;
  }
  .pitch h1 {
    font-size: clamp(1.85rem, 6.8vw, 3rem);
  }
  .pitch .intro {
    font-size: 0.875rem;
    line-height: 1.34;
    margin: 0.4rem 0 0;
  }
  #sample-board {
    width: 100%;
  }
  .village {
    margin: 26px 4px 0;
    padding: 4px;
  }
  .hanging-cord {
    height: 26px;
    top: -25px;
    left: -6px;
    right: -6px;
  }
  .sky {
    padding: 5px 0 4px;
  }
  .sky h2 {
    font-size: 1.05rem;
  }
  .street {
    padding: 2px 2px 4px;
  }
  .doors {
    gap: 2px;
  }
  .door-num {
    font-size: 0.86rem;
  }
  .village-caption {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  .signup-counter {
    margin: 13px 3px 0;
    padding: 14px 12px;
  }
  .signup-counter h2 {
    font-size: 1.55rem;
  }
  .desk-intro {
    font-size: 0.85rem;
    margin: 0.32rem 0 0.5rem;
  }
  #quick-start {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 7px;
  }
  #quick-start label {
    grid-column: 1/-1;
    font-size: 0.77rem;
  }
  #quick-start button {
    margin: 0;
  }
  #quick-start button,
  .signup-counter > .secondary {
    padding: 0.65rem 0.78rem;
    font-size: 0.86rem;
  }
  .signup-counter > .secondary {
    align-self: stretch;
    margin: 0.45rem 0 0;
  }
  .signup-counter .free {
    margin-top: 0.6rem;
  }
  .packing-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 0;
  }
  .packing-steps li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .packing-room,
  .counter-faq {
    margin-inline: 5px;
  }
  .packing-room h2,
  .counter-faq h2 {
    font-size: 1.92rem;
  }
  .counter-faq {
    display: block;
  }
  .faq-heading p {
    max-width: unset;
  }
  .post-office .calendar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0 2rem;
    align-items: stretch;
  }
  .post-office .calendar-top {
    width: 100%;
  }
  .post-office .calendar h1 {
    font-size: 2.15rem;
  }
  .calendar-lead {
    margin: 0.55rem 0 0.8rem;
  }
  .calendar .eyebrow {
    margin: 0 0 0.4rem;
  }
  .calendar .doors {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .calendar .door-state {
    font-size: 0.71rem;
  }
  .calendar .door-num {
    font-size: 1rem;
  }
  .calendar .primary,
  .calendar .secondary {
    padding: 0.67rem 0.78rem;
    font-size: 0.86rem;
  }
  footer {
    flex-wrap: wrap;
    padding: 0.8rem 0;
    gap: 0 0.9rem;
  }
  footer nav {
    gap: 0 0.8rem;
  }
  footer a {
    min-height: 39px;
  }
}
@media (max-width: 360px) {
  .header-links {
    gap: 0.5rem;
  }
  .post-office .brand {
    gap: 0.3rem;
    font-size: 1.3rem;
  }

  .letterhead {
    letter-spacing: 0.04em;
  }
  .door-num {
    font-size: 0.76rem;
  }
  #quick-start button {
    font-size: 0.8rem;
    padding-inline: 0.55rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The page opens on the lit post office and ends in the village after dark. */
.post-office {
  --pine-night: #143a32;
  --snow: #f4f7f3;
  background: var(--snow);
  overflow-x: clip;
}
.post-office header {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding-top: 9px;
  color: #fff8ea;
  border: 0;
}
.post-office header::before,
.winter-lights,
.packing-room::before {
  position: absolute;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}
.post-office header::before {
  content: "";
  inset-block: 0;
  z-index: -1;
  background: #12342e;
  border-bottom: 1px solid #ceb67670;
}
.post-office header .brand {
  color: #fff8ea;
}
.post-office header .make-shortcut {
  color: #f7d695;
}
.winter-lights {
  top: -5px;
  height: 11px;
  display: flex;
  overflow: visible;
}
.winter-lights i {
  position: relative;
  flex: 1;
  border-bottom: 1px solid #a3925d;
  border-radius: 0 0 50% 50%;
}
.winter-lights i::after {
  content: "";
  position: absolute;
  left: 52%;
  bottom: -5px;
  width: 4px;
  height: 6px;
  transform: rotate(14deg);
  border-radius: 2px 2px 50% 50%;
  background: #ffe7a8;
  box-shadow: 0 0 6px #ffd88482;
}
.winter-lights i:nth-child(3n)::after {
  background: #f39772;
  box-shadow: 0 0 6px #e470616b;
  transform: rotate(-13deg);
}
.winter-lights i:nth-child(3n + 1)::after {
  background: #cbdab1;
}
.landing {
  display: block;
  padding: 0;
}
.shopfront {
  text-align: center;
  padding: 15px 8px 0;
}
.shopfront h1 {
  font-size: clamp(2.3rem, 4.1vw, 3.4rem);
  color: #193f31;
  line-height: 1;
}
.shopfront .intro {
  margin: 0.35rem auto 0;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 37em;
  color: #4d5447;
}
.counter-display {
  isolation: isolate;
  position: relative;
  display: grid;
  justify-items: center;
}
.counter-display::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  pointer-events: none;
  background:
    linear-gradient(90deg, #f4f7f300 0%, #f4f7f3 28%, #f4f7f3 72%, #f4f7f300),
    linear-gradient(0deg, #f4f7f3 0%, #f4f7f3ad 35%, #f4f7f399 75%, #f4f7f3),
    url("/winter-header.webp") center/cover;
}
#sample-board {
  grid-area: auto;
  width: min(100%, 475px);
  margin: 0;
}
#sample-board .village {
  margin-top: 24px;
}
#sample-board .hanging-cord {
  top: -23px;
  height: 27px;
}
#sample-board .sky {
  padding: 4px 3px 3px;
}
#sample-board .sky h2 {
  font-size: 1.08rem;
}
#sample-board .street {
  padding: 2px 3px 6px;
}
#sample-board .doors {
  gap: 2px;
}
.signup-counter {
  grid-area: auto;
  width: min(100%, 475px);
  box-sizing: border-box;
  margin: 10px 0 22px;
  padding: 12px 16px 6px;
  border: 1px solid #cecaba;
  border-radius: 7px;
  background: #fffdf5;
  box-shadow: 0 2px 6px #14372a12;
}
#quick-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}
#quick-start > label {
  font-size: 0.88rem;
}
#quick-name {
  min-height: 44px;
}
.theme-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 5px;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
}
.theme-choices legend {
  font-size: 0.85rem;
  font-weight: 670;
  padding: 0;
  margin: 0 0 4px;
}
.theme-choices label,
#quick-start .theme-choices label {
  position: relative;
  grid-column: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 44px;
  padding: 4px 2px;
  gap: 4px;
  border: 1px solid #bcbdad;
  border-radius: 5px;
  color: #34473b;
  font-size: 0.76rem;
  line-height: 1.18;
  background: #fffdf8;
  cursor: pointer;
}
.theme-choices label:has(:checked) {
  outline: 2px solid #415f48;
  outline-offset: -2px;
  background: #eef2e8;
}
.theme-choices label:focus-within {
  outline: 3px solid #a24b33;
  outline-offset: 2px;
}
.theme-choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}
.theme-swatch {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 4px;
  border: 1px solid #534b3f65;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 5px, #d7ac8080 5px 7px),
    repeating-linear-gradient(90deg, transparent 0 5px, #273a364d 5px 8px);
}
.theme-swatch.evergreen {
  background-color: #315344;
}
.theme-swatch.cranberry {
  background-color: #8e343e;
}
.theme-swatch.snow {
  background-color: #d1dcd0;
}
.calendar-settings {
  margin: 0;
}
.calendar-settings summary {
  cursor: pointer;
  min-height: 30px;
  padding: 6px 0;
  color: #52604e;
  font-size: 0.78rem;
}
.calendar-settings .hint {
  margin: 5px 0;
}
#quick-start #start {
  width: 100%;
  min-height: 45px;
  font-size: 0.97rem;
  margin: 0;
}
.signup-counter .free {
  margin: 6px auto 0;
}
.other-ways {
  display: flex;
  justify-content: center;
  gap: 6px 14px;
  flex-wrap: wrap;
}
.other-ways .plain {
  min-height: 40px;
  padding: 0;
  font-size: 0.8rem;
}
.village[data-theme="cranberry"] {
  background-color: #8a3843;
  border-color: #702f35;
}
.village[data-theme="cranberry"] .door::before,
.village[data-theme="cranberry"] .door::after {
  filter: sepia(0.18) brightness(1.13);
}
.village[data-theme="snow"] {
  background-color: #b6c9c4;
  border-color: #899c92;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2px, #5a827521 2px 3px),
    repeating-linear-gradient(90deg, #f0f1db3d 0 1px, transparent 1px 4px),
    repeating-linear-gradient(
      0deg,
      transparent 0 28px,
      #fdf7e84f 28px 34px,
      transparent 34px 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 26px,
      #6e91853b 26px 33px,
      transparent 33px 40px
    );
}
.village[data-theme="snow"] .door-state,
.village[data-theme="snow"] .village-caption,
.village[data-theme="snow"] .village-caption .plain {
  color: #243c34;
}
.appearance-control form {
  margin: 0 0 8px;
}
.step-screen {
  display: block;
  width: 100%;
  height: clamp(140px, 16vw, 225px);
  object-fit: contain;
  object-position: left bottom;
}
.home-section,
.finish-home,
.counter-faq {
  max-width: 960px;
  margin: auto;
  padding: clamp(28px, 4.2vw, 65px) 0;
}
.home-section + .home-section,
.finish-home {
  border-top: 1px solid #c2c7b7;
}
.home-section h2,
.finish-home h2 {
  margin: 0 0 13px;
  color: #294536;
  font: 400 clamp(1.7rem, 3.1vw, 2.65rem) / 1.07 var(--serif);
  letter-spacing: -0.045em;
}
.home-section p,
.home-section dd,
.home-section li {
  font-size: 1rem;
  line-height: 1.55;
  color: #475146;
}
.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 42px);
  margin: 1rem 0 0;
}
.benefit-list dt,
.home-manual h3 {
  margin: 1rem 0 0.32rem;
  font-size: 1.02rem;
  font-weight: 720;
}
.benefit-list dd,
.home-manual p,
.home-guides p {
  margin: 0;
}
.home-manual p {
  max-width: 69ch;
}
.sample-ideas {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) 1fr;
  align-items: center;
  gap: clamp(18px, 4vw, 60px);
}
.sample-ideas .counter-art {
  position: static;
  height: clamp(175px, 22vw, 260px);
  width: 100%;
  background: url("/christmas-counter.webp") 62% center/cover;
  mask-image: none;
  transform: rotate(-2deg);
  border: 5px solid #fffbeb;
  box-shadow: 1px 3px 7px #403c2933;
}
.sample-ideas ul {
  padding-left: 1.2rem;
}
.home-guides div {
  margin: 0.9rem 0;
}
.home-section a {
  color: #7f3838;
  text-underline-offset: 0.19em;
}
.finish-home {
  text-align: center;
}
.finish-home a {
  text-decoration: none;
}
.packing-room {
  position: relative;
  isolation: isolate;
  color: #fff9e7;
}
.packing-room::before {
  content: "";
  z-index: -1;
  inset-block: 0;
  background: #742b36;
  border-block: 4px double #e3c393;
}
.packing-room h2,
.packing-steps h3 {
  color: #fff6df;
}
.packing-steps p {
  color: #f8e9dc;
}
.packing-steps li {
  border-color: #dba48e80;
}
.counter-faq {
  border-top: none;
}

.post-office footer {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  padding: clamp(23px, 3vw, 46px) 4vw 0;
  min-height: clamp(210px, 26vw, 410px);
  background: #11243e url("/winter-footer.webp") center bottom / cover no-repeat;
  border-top: 3px double #b7a373;
  color: #fff6e1;
}
.post-office .footer-brand {
  font: 500 clamp(1.7rem, 3vw, 2.65rem) / 1.12 var(--serif);
  letter-spacing: -0.055em;
}
.post-office footer nav {
  justify-content: center;
}
.post-office footer a {
  color: #fff8e6;
}
@media (max-width: 760px) {
  .shopfront {
    display: block;
    padding: 10px 6px 0;
  }
  .shopfront h1 {
    font-size: 2.2rem;
  }
  .shopfront .intro {
    font-size: 0.92rem;
  }
  #sample-board {
    width: min(100%, 430px);
    margin: 0;
  }
  .signup-counter {
    align-self: stretch;
    width: min(100%, 430px);
    margin: 9px 0 18px;
    padding: 10px 12px 3px;
  }
  .other-ways {
    gap: 0 12px;
  }
  .packing-room,
  .counter-faq,
  .home-section,
  .finish-home {
    padding-inline: 9px;
  }
  .home-section {
    max-width: 100%;
  }
  .sample-ideas {
    display: block;
  }
  .sample-ideas .counter-art {
    height: 125px;
    max-width: 280px;
    margin: 0 0 1rem;
  }
  .step-screen {
    height: clamp(135px, 38vw, 190px);
  }
  .benefit-list {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .post-office footer {
    min-height: 215px;
  }
}
.packing-room h2 {
  margin-right: clamp(48px, 8vw, 88px);
}
.packing-room::after {
  content: "";
  position: absolute;
  top: clamp(25px, 5vw, 65px);
  right: 8px;
  width: clamp(42px, 6vw, 78px);
  aspect-ratio: 1;
  background: url("/gift-wraps.webp") 100% 0 / 600% 400% no-repeat;
  transform: rotate(12deg);
  pointer-events: none;
}

.post-office .inspiration-credit {
  margin: 0;
  padding-inline: 0.75rem;
  text-align: center;
  color: #fff8e6;
  font-size: 0.875rem;
  line-height: 1.5;
}
.post-office .inspiration-credit a {
  display: inline;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.post-office:has(#landing:not([hidden])) > .shell > header {
  display: none;
}
.calendar-stage {
  position: relative;
  isolation: isolate;
  padding: 12px 0 3px;
}
.calendar-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 calc(50% - 50vw);
  background:
    linear-gradient(
      90deg,
      #09291ebb,
      #193d34aa 26%,
      #19362fbb 50%,
      #193d3488 74%,
      #0b291fba
    ),
    linear-gradient(0deg, #13362de0, #192e3966 42%),
    url("/winter-header.webp") 55% 44% / cover;
}
.counter-display::before {
  content: none;
}
.calendar-stage .shopfront {
  width: min(100%, 475px);
  margin: auto;
  text-align: left;
  padding: 2px 3px 0;
}
.calendar-stage .shopfront h1 {
  color: #fffaed;
}
.calendar-stage .home-subtitle {
  display: block;
  color: #f5d99d;
  font: 600 0.96rem/1.4 var(--sans);
  letter-spacing: 0;
  margin: 0.3rem 0 0;
}
.stage-nav {
  display: flex;
  gap: 0.8rem;
}
.stage-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: #f5eee0;
  text-underline-offset: 0.2em;
  font-size: 0.8rem;
}
.calendar-stage #sample-board .village {
  margin-top: 13px;
}
.calendar-stage #sample-board .hanging-cord {
  height: 15px;
  top: -13px;
}
.theme-swatch.aurora {
  background: linear-gradient(125deg, #23435c, #528576 50%, #9a67a0);
}
.theme-swatch.royal {
  background:
    repeating-linear-gradient(90deg, transparent 0 6px, #d8ba723d 6px 8px),
    #293d60;
}
.theme-swatch.plum {
  background:
    repeating-linear-gradient(45deg, transparent 0 6px, #e9b9cd40 6px 8px),
    #81546e;
}
.village[data-theme="aurora"] {
  background-color: #325954;
  border-color: #284e55;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, #e1dfdd17 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 3px, #d7e1dc1a 3px 4px),
    linear-gradient(125deg, #36506b, #538778 47%, #735777 83%, #344666);
}
.village[data-theme="royal"] {
  background-color: #304668;
  border-color: #293e5f;
}
.village[data-theme="plum"] {
  background-color: #865571;
  border-color: #693e56;
}
.invite-code {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  font-size: 0.85rem;
  margin: 0.65rem 0;
}
.invite-code code {
  font-size: 0.94rem;
  font-weight: 700;
}
@media (max-width: 760px) {
  .calendar-stage {
    padding-top: 6px;
  }
  .calendar-stage .shopfront {
    width: min(100%, 430px);
    padding: 5px 5px 0;
  }
  .calendar-stage .shopfront h1 {
    font-size: 2rem;
  }
  .stage-nav a {
    min-height: 32px;
  }
  .calendar-stage .home-subtitle {
    font-size: 0.88rem;
  }
}

/* The first row shows fabric samples; the three dyed looks use their own colors. */
.theme-choices {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.theme-choices label,
#quick-start .theme-choices label {
  grid-column: span 2;
}
.theme-choices label:has([value="aurora"]),
#quick-start .theme-choices label:has([value="aurora"]),
.theme-choices label:has([value="royal"]),
#quick-start .theme-choices label:has([value="royal"]) {
  grid-column: span 3;
}
.theme-choices label:has([value="plum"]),
#quick-start .theme-choices label:has([value="plum"]) {
  grid-column: span 6;
}
.theme-choices label:has([value="aurora"]),
#quick-start .theme-choices label:has([value="aurora"]) {
  color: #fffaf2;
  background: linear-gradient(115deg, #32475f, #3a665d 60%, #61486d);
}
.theme-choices label:has([value="royal"]),
#quick-start .theme-choices label:has([value="royal"]) {
  color: #fff5de;
  background: linear-gradient(110deg, #27364c, #3c5273);
}
.theme-choices label:has([value="plum"]),
#quick-start .theme-choices label:has([value="plum"]) {
  color: #fff6ed;
  background: linear-gradient(115deg, #713e58, #825d79);
}
.theme-choices label:has(:checked) {
  box-shadow: inset 0 0 0 2px #fff3c5;
}
.theme-choices label:has(:focus-visible) {
  outline: 3px solid #ac461d;
  outline-offset: 2px;
}

/* The calendar hangs in the window; the rest of the page sits on the writing desk. */
.post-office {
  --snow: #f7f1e3;
  --desk-fiber: repeating-linear-gradient(88deg, transparent 0 6px, #69502305 7px, transparent 8px);
  --post-edge: repeating-linear-gradient(125deg, #853a35 0 8px, #f8efdb 8px 16px, #496453 16px 24px, #f8efdb 24px 32px);
  background: var(--desk-fiber), var(--snow);
}
.calendar-stage::before {
  background:
    linear-gradient(90deg, #10322421, #142d2760 22%, #162b27c9 40% 59%, #16352c4d 76%, #112c2920),
    linear-gradient(0deg, #172e28c9, transparent 38%),
    #152e2a url("/winter-header.webp") center 42% / cover;
}
.calendar-stage .shopfront { position: relative; }
.signup-counter {
  border: none;
  border-radius: 0;
  background: var(--post-edge) top / 100% 4px no-repeat, var(--desk-fiber), #fff7e6;
  box-shadow: 1px 4px 11px #0d211f44;
}
#quick-start .theme-choices label, .theme-choices label {
  border-radius: 1px;
  border-color: #bdac8d;
}
#quick-start .theme-choices label:has(:checked), .theme-choices label:has(:checked) {
  outline: 2px solid #244f42;
  outline-offset: -2px;
  box-shadow: inset 0 0 0 3px #fff4d7;
}
.theme-swatch {
  width: 1.25rem;
  height: 1.28rem;
  border-radius: 0;
  clip-path: polygon(0 8%,8% 0,17% 7%,26% 0,35% 7%,44% 0,53% 7%,62% 0,71% 7%,80% 0,89% 7%,100% 0,100% 94%,91% 100%,82% 94%,73% 100%,64% 94%,55% 100%,46% 94%,37% 100%,28% 94%,19% 100%,10% 94%,0 100%);
  transform: rotate(-5deg);
}
#quick-name {
  border-width: 0 0 1px;
  border-color: #897a60;
  border-radius: 0;
  background: #fffbf0;
}
.post-office #start, .finish-home .primary {
  border-radius: 2px;
  background: #923b32;
  color: #fff9e7;
  box-shadow: inset 0 -3px 0 #742e27;
}
.post-office #start:hover, .finish-home .primary:hover { background: #73302c; }
.post-office .calendar-top {
  border: 0;
  background: var(--post-edge) top left / 100% 4px no-repeat, var(--desk-fiber), #fcf3dd;
  box-shadow: 0 2px 0 #deceb1;
}
.post-office .dialog-body {
  background:
    var(--post-edge) top / 100% 5px no-repeat,
    linear-gradient(165deg, transparent 73%, #926e3c11 73.3%, transparent 73.6%),
    var(--desk-fiber), #fff8e8;
}
.post-office .dialog-top::before {
  content: "";
  width: 39px;
  height: 35px;
  margin-right: auto;
  background: url("/gift-wraps.webp") 100% 0 / 600% 400%;
  transform: rotate(-12deg);
}
.post-office .dialog-body textarea {
  background: repeating-linear-gradient(0deg, transparent 0 23px, #6b725216 23px 24px), #fffdf5;
  line-height: 24px;
}
.post-office .read-note { color: #293c30; }
@media (max-width: 760px) {
  .calendar-stage::before {
    background:
      linear-gradient(100deg, #0d3028db, #182f2e8a 68%, #10271f52),
      #14342d url("/winter-header.webp") 56% top / auto 78% no-repeat;
  }
}

/* Four photographs pinned beside their instructions. */
.packing-room::before {
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, #edb18c0b 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 3px, #edb18c0b 3px 4px),
    repeating-linear-gradient(0deg, transparent 0 47px, #f6dfac09 47px 49px, #311f2814 49px 62px),
    repeating-linear-gradient(90deg, transparent 0 47px, #f6dfac09 47px 49px, #311f2814 49px 62px),
    #722f36;
  border-block: 2px dashed #c39976;
}
.packing-room h2 { margin-bottom: 1.8rem; }
.packing-steps { gap: clamp(18px, 2.5vw, 38px); }
.packing-steps li, .packing-steps li:first-child {
  position: relative;
  padding: 0;
  border: 0;
}
.step-screen {
  aspect-ratio: 4 / 3;
  height: auto;
  object-position: center;
  object-fit: contain;
  padding: 9px;
  background: #fff7e6;
  box-shadow: 1px 4px 7px #39191f55;
  transform: rotate(-1.5deg);
}
.packing-steps li:nth-child(even) .step-screen { transform: rotate(1deg); }
.packing-steps li::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -6px;
  left: 38%;
  width: 25%;
  height: 13px;
  background: #dbc79ed9;
  transform: rotate(-6deg);
  pointer-events: none;
}
.packing-steps h3 { margin-top: 1.05rem; }
.benefit-list > div { position: relative; }
.benefit-list > div::before, .home-guides > div::before, .faq-heading::after, .finish-home::before {
  content: "";
  display: block;
  width: 66px;
  height: 66px;
  background: url("/gift-wraps.webp") var(--ornament, 80% 33.333%) / 600% 400%;
  pointer-events: none;
}
.benefit-list > div:nth-child(2) { --ornament: 40% 33.333%; }
.benefit-list > div:nth-child(3) { --ornament: 20% 66.667%; }
.benefit-list dt {
  font: 600 clamp(1.22rem, 1.8vw, 1.55rem)/1.16 var(--serif);
  margin: .45rem 0;
}
.home-section + .home-section { border: 0; }
.home-manual {
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  align-items: baseline;
  column-gap: clamp(20px,7vw,88px);
  background: repeating-linear-gradient(90deg, #bcab89 0 4px, transparent 4px 10px) top / 100% 1px no-repeat;
}
.home-manual h2 {
  grid-row: 1 / span 6;
  grid-column: 1;
}
.home-manual h3, .home-manual p { grid-column: 2; }
.home-manual h3 { margin: 1.2rem 0 .35rem; color: #714336; }
.home-manual h3:first-of-type { margin-top: 0; }
.sample-ideas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1120px;
  min-height: 355px;
  padding: clamp(28px,4vw,62px) clamp(22px,5vw,76px);
  display: flex;
  justify-content: flex-end;
}
.sample-ideas .counter-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  transform: none;
  border: 0;
  box-shadow: none;
  background: #704c33 url("/christmas-writing-table.webp") center / cover;
}
.sample-ideas > div:last-child {
  position: relative;
  width: min(53%, 31rem);
  padding: clamp(20px,3vw,42px);
  background: var(--desk-fiber), #fff6e2;
  box-shadow: 3px 5px 11px #2c18183b;
  transform: rotate(1deg);
}
.sample-ideas > div:last-child::before {
  content: "";
  position: absolute;
  inset: 5px 0 auto;
  height: 1px;
  background: #c4ac7f;
}
.sample-ideas ul { list-style: none; padding: 0; margin-block: .9rem; }
.sample-ideas li { font: italic 1.1rem/1.4 var(--serif); margin: .55rem 0; color: #354737; }
.home-guides {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: clamp(24px,5vw,65px);
}
.home-guides h2 { grid-column: 1/-1; }
.home-guides > div {
  --ornament: 0% 0%;
  position: relative;
  padding: .8rem 0 .55rem 64px;
  margin: 0;
  border-block-start: 1px dashed #b7a487;
}
.home-guides > div:nth-of-type(2) { --ornament: 60% 33.333%; }
.home-guides > div::before {
  position: absolute;
  left: 0;
  top: 1rem;
  width: 50px;
  height: 55px;
}
.home-guides a { display: inline-flex; align-items: center; min-height: 44px; font: 600 1.28rem/1.18 var(--serif); }
.counter-faq {
  padding-top: clamp(30px,4vw,58px);
  background: repeating-linear-gradient(90deg, #bcab89 0 4px, transparent 4px 10px) top / 100% 1px no-repeat;
}
.faq-heading::after { --ornament: 20% 33.333%; width: 76px; height: 76px; transform: rotate(-7deg); }
.faq-list summary { min-height: 44px; padding-right: 1.5rem; position: relative; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; color: #8b3f38; font: normal 1.35rem/1 var(--serif); }
.faq-list details[open] summary::after { content: "−"; }
.finish-home {
  --ornament: 100% 100%;
  position: relative;
  isolation: isolate;
  border: none;
  padding-block: clamp(30px,4vw,57px);
}
.finish-home::before { width: 62px; height: 62px; margin: 0 auto .5rem; }
.finish-home::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: #203c39;
  border-top: 2px dashed #baae8c;
}
.finish-home h2 { color: #fff1d5; }
.post-office .finish-home + footer, .post-office footer { border-top-color: #776c4d; }

@media (max-width: 760px) {
  .packing-room, .home-section, .counter-faq {
    padding-inline: clamp(12px,3vw,22px);
  }
  .packing-steps { grid-template-columns: 1fr; gap: 0; }
  .packing-steps li, .packing-steps li:nth-child(odd) {
    display: grid;
    grid-template-columns: minmax(90px,.85fr) minmax(0,1.15fr);
    align-items: start;
    gap: .15rem 16px;
    padding: 17px 0;
    border-block-start: 1px dashed #d8bda65c;
  }
  .packing-steps li::before { left: 11%; top: 13px; width: 16%; height: 10px; }
  .packing-steps img { grid-row: span 2; align-self: center; }
  .packing-steps h3 { margin: 2px 0 4px; font-size: 1.28rem; }
  .packing-steps p { font-size: .9rem; }
  .benefit-list { gap: 1rem; }
  .benefit-list > div { padding-left: 63px; }
  .benefit-list > div::before { position: absolute; top: 0; left: -2px; width: 54px; height: 54px; }
  .benefit-list dt { margin: 0 0 .3rem; }
  .home-manual { display: block; }
  .home-manual h3:first-of-type { margin-top: 1.15rem; }
  .sample-ideas { display: block; padding: 105px 17px 25px; }
  .sample-ideas .counter-art { background: #77543c url("/christmas-writing-table.webp") left top / auto 185px no-repeat; }
  .sample-ideas > div:last-child { width: 100%; padding: 20px; transform: rotate(-.6deg); }
  .home-guides { grid-template-columns: 1fr; gap: .5rem; }
  .faq-heading::after { display: none; }
  .finish-home { padding-inline: 12px; }
}

/* Fold the note, then choose the small ornament that goes inside. */
.compose-step, .sticker-picker { min-width: 0; }
.compose-step {
  display: grid;
  gap: .85rem;
}
.composer-progress {
  margin: 0;
  color: #754032;
  font-weight: 680;
  font-size: .86rem;
}
.composer-count {
  justify-self: end;
  font-size: .8rem;
  color: #575c50;
  font-variant-numeric: tabular-nums;
}
.inline-choice {
  display: flex;
  gap: .55rem;
  align-items: center;
  width: fit-content;
  min-height: 44px;
}
.inline-choice input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  accent-color: #47634e;
}
.composer-preview {
  margin: 0;
  padding: .7rem 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #294236;
  background: #f6ecd5;
  border-left: 3px solid #bda87b;
  font: italic 1.18rem/1.45 var(--serif);
}
.sticker-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 0;
  margin: .2rem 0;
  padding: 0;
}
.sticker-picker legend { padding: 0 0 .5rem; font-weight: 680; }
.sticker-picker label {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 62px;
  padding: 3px;
  border: 1px dashed #bcae91;
  color: #3e4e41;
  text-align: center;
  font-size: .8rem;
}
.sticker-picker label:first-of-type { grid-column: 1 / -1; min-height: 42px; }
.sticker-picker label:has(:checked) { border: 2px solid #3d5b47; background: #f0efdd; }
.sticker-picker input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.sticker-picker label:has(:focus-visible) { outline: 3px solid #a14c38; outline-offset: 2px; }
.free-sticker {
  display: inline-block;
  width: 44px;
  height: 44px;
  background-image: url("/gift-wraps.webp");
  background-size: 600% 400%;
}
.free-sticker.sticker-star { background-position: 100% 33.333%; }
.free-sticker.sticker-tree { background-position: 0 66.667%; }
.free-sticker.sticker-bell { background-position: 40% 33.333%; }
.free-sticker.sticker-heart { background-position: 20% 66.667%; }
.free-sticker.sticker-mitten { background-position: 0 0; }
.free-sticker.sticker-snowman {
  background:
    radial-gradient(circle at 43% 31%, #514539 0 1px, transparent 1.5px),
    radial-gradient(circle at 56% 31%, #514539 0 1px, transparent 1.5px),
    radial-gradient(ellipse at 53% 37%, #d68c49 0 2px, transparent 2.5px),
    radial-gradient(ellipse 13px 3px at 50% 49%, #9a463a 90%, transparent),
    radial-gradient(ellipse 9px 9px at 50% 33%, #faf6e5 86%, #998b71 96%, transparent),
    radial-gradient(ellipse 13px 12px at 50% 69%, #faf6e5 87%, #998b71 96%, transparent);
}
.share-back-control, .return-calendars, .calendar-top > .recovery { width: 100%; }
.share-back-control, .return-calendars { margin: .75rem 0; }
.return-calendars h2, .restore-desk h2 { font: 600 1.4rem/1.2 var(--serif); }
.restore-desk { width: min(94%,42rem); margin: 2.5rem auto 4rem; display: grid; gap: .85rem; }
.restore-desk h1 { font: 500 clamp(2rem,5vw,3.2rem)/1.1 var(--serif); }
.restore-desk p, .restore-desk h1, .restore-desk h2 { margin: 0; }
.restore-desk p { line-height: 1.55; overflow-wrap: anywhere; }
.restore-desk > a, .restore-desk details summary, .restore-desk section > a { display: block; padding: .75rem 0; overflow-wrap: anywhere; }
.restore-desk section { padding: 1rem 0; border-top: 1px dashed #bda986; }
.restore-desk code { overflow-wrap: anywhere; }
