/* Tour Holiday Homes: the coming-soon page.
   A cut-paper world: one drenched ground, die-cut cardstock with white cut
   edges, halftone dots, cut-paper display letters, picture-book text.
   A whole paper street stands up off the page. */

/* Both faces are served from this site (fonts/README.txt). */
@font-face { font-family: "Londrina Solid"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/londrina-solid-400.woff2") format("woff2"); }
@font-face { font-family: "Londrina Solid"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/londrina-solid-900.woff2") format("woff2"); }
@font-face { font-family: "Andika"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/andika-400.woff2") format("woff2"); }
@font-face { font-family: "Andika"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/andika-700.woff2") format("woff2"); }

:root {
  --paper: oklch(0.985 0.004 160);
  --paper-shade: oklch(0.935 0.01 190);
  --shadow: oklch(0.16 0.03 230 / 0.3);
  --font-cut: "Londrina Solid", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-read: "Andika", "Trebuchet MS", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.1rem, 4.5vw, 3.5rem);
  --wide: 78rem;
  --dots: radial-gradient(circle, oklch(0 0 0 / 0.085) 1px, transparent 1.35px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l2.9 6.6 7.2.7-5.4 4.8 1.6 7-6.3-3.7-6.3 3.7 1.6-7L1.9 9.1l7.2-.7z'/%3E%3C/svg%3E");

  --ground: oklch(0.379 0.047 210);
  --ground-deep: oklch(0.305 0.04 205);
  --on-ground: var(--paper);
  --on-ground-soft: oklch(0.9 0.03 195);
  --pop: oklch(0.87 0.15 92);
  --on-pop: oklch(0.22 0.03 225);
  --hot: oklch(0.555 0.2 27);
  --on-hot: var(--paper);
  --sweet: oklch(0.79 0.115 10);
  --ink: oklch(0.22 0.03 225);
  --ink-soft: oklch(0.38 0.035 220);
  --err: oklch(0.47 0.19 27);

  /* holiday inks for the paper decorations */
  --pumpkin: oklch(0.762 0.159 61.6);
  --violet: oklch(0.45 0.17 300);
  --lime: oklch(0.855 0.172 123);
  --fir: oklch(0.5 0.105 158);
  --navy: oklch(0.36 0.11 262);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  scrollbar-color: var(--pop) var(--ground-deep);
}

body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font-read);
  color: var(--on-ground);
  background: var(--dots) 0 0 / 8px 8px, var(--dots) 4px 4px / 8px 8px, var(--ground);
  caret-color: var(--hot);
  overflow-x: clip;
}

::selection { background: var(--pop); color: var(--on-pop); }

:focus-visible {
  outline: 3px solid var(--focus, var(--pop));
  outline-offset: 3px;
}

img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-cut); font-weight: 900; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 0.98; letter-spacing: 0.005em; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 80;
  background: var(--paper); color: var(--ink); --focus: var(--ink);
  padding: 0.7rem 1.1rem; font: 400 1.15rem var(--font-cut); text-decoration: none;
}
.skip:focus { top: 1rem; }
.paper { background: var(--grain), var(--paper); color: var(--ink); --focus: var(--ink); }
.lede { max-width: 58ch; font-size: 1.2rem; line-height: 1.5; color: var(--on-ground-soft); }
.fineprint { font-size: 0.88rem; line-height: 1.45; color: var(--on-ground-soft); }
.paper .fineprint { color: var(--ink-soft); }

/* ---------- inks for the drawn pieces (they also colour <use> copies) ---------- */

.w { fill: var(--wall, var(--paper)); }
.r { fill: var(--roof, var(--ink)); }
.rs { fill: none; stroke: var(--roof, var(--ink)); stroke-width: 13; stroke-linejoin: miter; }
.o { fill: var(--recess, var(--roof, var(--ink))); }
.d { fill: var(--door, var(--hot)); }
.g { fill: var(--glass, var(--pop)); }
.t { fill: var(--trim, var(--ink)); }
.s { fill: var(--step, var(--paper-shade)); }
.k { fill: var(--knob, var(--pop)); }
.m { fill: none; stroke: var(--wall, var(--paper)); stroke-width: 2.5; }
.rail { fill: none; stroke: var(--wall, var(--paper)); stroke-width: 12; stroke-dasharray: 4 3; }
.c-ink { fill: var(--ink); }
.c-inks { fill: var(--ink-soft); }
.c-paper { fill: var(--paper); }
.c-paper-s { fill: none; stroke: var(--paper); }
.c-hot { fill: var(--hot); }
.c-pop { fill: var(--pop); }
.c-sweet { fill: var(--sweet); }
.c-fir { fill: var(--fir); }
.c-fir-s { fill: none; stroke: var(--fir); }
.c-navy { fill: var(--navy); }
.c-pump { fill: var(--pumpkin); }
.c-pump-s { fill: none; stroke: color-mix(in oklch, var(--pumpkin) 72%, black); }
.c-pole { fill: none; stroke: var(--ink-soft); stroke-width: 3; stroke-linecap: round; }
.c-egg { fill: var(--egg, var(--sweet)); }

/* ---------- name, banner, opening words ---------- */

.top { max-width: var(--wide); margin-inline: auto; padding: clamp(1.2rem, 3vw, 2.3rem) var(--gutter) 0; }
.top-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem 1.8rem; }
.top .lede { margin-top: 1rem; }

.cut-title { font-size: clamp(2.9rem, 9.5vw, 5.4rem); line-height: 0.92; letter-spacing: 0.012em; }
.cut-title .word { display: inline-block; white-space: nowrap; }
.cut-title .ch {
  display: inline-block;
  rotate: var(--r, 0deg);
  translate: 0 var(--y, 0);
  filter: drop-shadow(0.03em 0.05em 0.025em oklch(0 0 0 / 0.38));
}
.cut-title .ch[data-ink="0"] { color: var(--paper); }
.cut-title .ch[data-ink="1"] { color: var(--sweet); }
.cut-title .ch[data-ink="2"] { color: var(--pop); }

.banner { margin-bottom: 0.35rem; }
.banner span {
  display: inline-block;
  background: var(--pop); color: var(--on-pop);
  font: 400 clamp(1.2rem, 3.2vw, 1.7rem)/1.1 var(--font-cut); letter-spacing: 0.02em;
  padding: 0.4em 1.7em 0.45em 0.9em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.7em) 50%, 100% 100%, 0 100%);
  rotate: -1.6deg;
  transform-origin: left center;
}

/* the promise: an eight-point seal */
.seal {
  position: relative; isolation: isolate; flex: none;
  display: grid; place-items: center; text-align: center;
  width: 8.2rem; aspect-ratio: 1; padding: 1.3rem;
  color: var(--on-pop);
  font: 400 1.02rem/1.08 var(--font-cut); letter-spacing: 0.02em;
  rotate: 8deg;
  filter: drop-shadow(0 0.3rem 0.25rem var(--shadow));
}
.seal::before, .seal::after {
  content: ""; position: absolute; inset: 0.55rem; z-index: -1;
  background: var(--pop); border-radius: 14%;
}
.seal::before { rotate: 12deg; }
.seal::after { rotate: 57deg; }

/* ---------- the paper street ---------- */

.street { position: relative; margin-top: clamp(0.6rem, 2vw, 1.4rem); }
.street .seal { position: absolute; right: var(--gutter); top: -3.4rem; z-index: 3; }
.street-scroll { overflow: clip; }
.street-inner { position: relative; }

/* a string of paper lights across the whole sky */
.lights {
  position: absolute; left: 0; top: -0.5rem; width: 100%; height: 60px; pointer-events: none;
  filter: drop-shadow(0 0.25rem 0.2rem var(--shadow));
}
.lights .wire { fill: none; stroke: var(--paper); stroke-width: 1.8; }
.lights .bulb, .lights .sock { stroke: var(--paper); stroke-width: 1.6; paint-order: stroke; }

/* the far tree line: one more cut piece, white edge and all */
.far { position: absolute; left: 0; bottom: 4.6rem; width: 100%; height: 62%; max-width: none; }
.far path {
  fill: var(--ground-deep); stroke: var(--paper); stroke-width: 3;
  stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.far-phone { display: none; }
.row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.55fr 1.55fr 1.1fr 1.1fr; align-items: end;
  gap: clamp(0.6rem, 1.6vw, 1.8rem);
  max-width: 112rem; margin: 0 auto; padding: 3.8rem clamp(1rem, 3vw, 3rem) 0; list-style: none;
}
.plot { position: relative; min-width: 0; }
/* each standing piece throws a little shadow on the sidewalk */
.plot::before {
  content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: calc(100% - 0.3rem); height: 0.95rem;
  background: radial-gradient(closest-side, oklch(0.16 0.03 230 / 0.45), transparent);
  transition: opacity 0.4s;
}
.plot--lot:has(.is-blank)::before { opacity: 0; }
.street-note { max-width: var(--wide); margin: 0.75rem auto 0; padding-inline: var(--gutter); }
.plot > svg {
  display: block; width: 100%; height: auto; overflow: visible;
  transform-origin: 50% 100%;
  filter: url(#cut) drop-shadow(0 0.5rem 0.35rem var(--shadow));
}
.plot:nth-child(odd) > svg { rotate: -0.8deg; }
.plot:nth-child(even) > svg { rotate: 0.7deg; }
.plot-tag {
  position: absolute; left: 50%; top: calc(100% + 1.15rem); translate: -50% 0; z-index: 2;
  padding: 0.2rem 0.75rem 0.28rem; white-space: nowrap;
  background: var(--paper); color: var(--ink);
  font: 400 1.02rem/1.1 var(--font-cut); letter-spacing: 0.03em;
  rotate: var(--r, -2deg);
  filter: drop-shadow(0 0.2rem 0.15rem var(--shadow));
}
.walk { height: 0.8rem; background: var(--paper); }
.road { position: relative; height: 3.8rem; background: var(--ground-deep); }
.road::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.7rem;
  border-top: 4px dashed color-mix(in oklch, var(--paper) 55%, transparent);
}

/* The house that gets built in the empty lot from the answers. */
.house :is(.w, .r, .d, .g, .s, .k, .mb) { transition: fill 0.5s var(--ease-out), stroke 0.5s var(--ease-out); }
.house .mb { fill: var(--hot); }
.house.is-blank :is(.w, .r, .d, .g, .s, .mb) {
  fill: transparent; stroke: var(--on-ground-soft);
  stroke-width: 2.2; stroke-dasharray: 7 5;
}
.house.is-blank .k { fill: var(--on-ground-soft); }
.house.is-blank .m { stroke: var(--on-ground-soft); stroke-width: 1.6; stroke-dasharray: 3 3; }
.house .mb-flag { transform-box: fill-box; transform-origin: 15% 100%; rotate: 90deg; transition: rotate 0.6s var(--ease-out); }
.house.is-mine .mb-flag { rotate: 0deg; }
.decor {
  opacity: 0; scale: 1.35; transform-box: fill-box; transform-origin: center;
  transition: opacity 0.2s, scale 0.55s var(--ease-out);
}
.decor.on { opacity: 1; scale: 1; }
.plot--lot > .house.is-blank { filter: none; }
.plot--lot .house.is-blank .decor { filter: url(#cut); }

/* the stake sign stands in front of the sidewalk, and is the way in to the form */
.sign {
  position: absolute; z-index: 3; left: 50%; bottom: -3.4rem; translate: -50% 0;
  display: grid; justify-items: center; width: max-content; max-width: 82%;
  text-decoration: none; --focus: var(--pop);
}
.sign-plank {
  max-width: 100%; padding: 0.35rem 0.8rem 0.4rem;
  background: var(--pop); color: var(--on-pop);
  font: 400 clamp(0.95rem, 1.4vw, 1.15rem)/1.1 var(--font-cut); letter-spacing: 0.02em; text-align: center;
  overflow-wrap: anywhere;
  rotate: -3deg;
  filter: drop-shadow(0 0.2rem 0.15rem var(--shadow));
  transition: rotate 0.3s var(--ease-out), translate 0.3s var(--ease-out);
}
.sign:hover .sign-plank { rotate: 1deg; translate: 0 -3px; }
.sign-stick { width: 0.36rem; height: 1.2rem; margin-top: -0.1rem; background: var(--ink-soft); }

/* Pop-up: the street stands up off the page once, and the lot's house stands when it is sent. */
@keyframes stand {
  from { transform: perspective(700px) rotateX(-82deg); }
  60% { transform: perspective(700px) rotateX(9deg); }
  to { transform: perspective(700px) rotateX(0deg); }
}
@keyframes plant {
  from { transform: perspective(700px) rotateX(-82deg); }
  60% { transform: perspective(700px) rotateX(9deg); }
  to { transform: perspective(700px) rotateX(0deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .plot > svg { animation: stand 0.95s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 95ms + 150ms); }
  .plot.is-planted > svg { animation: plant 0.9s var(--ease-out) both; }
}

/* ---------- the paperwork for the lot ---------- */

.claim { max-width: 68rem; margin: clamp(2.4rem, 5vw, 3.4rem) auto 0; padding-inline: var(--gutter); }
.claim-paper { position: relative; padding: clamp(1.4rem, 3.4vw, 2.6rem); filter: drop-shadow(0 0.9rem 0.7rem var(--shadow)); }
.claim-paper::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
  background: conic-gradient(from 135deg at 50% 0, var(--paper) 90deg, #0000 0) 0 0 / 24px 12px repeat-x;
}
.claim h2 { font-size: clamp(2rem, 4.4vw, 2.8rem); max-width: 18ch; }
.claim-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem clamp(1.4rem, 4vw, 3rem); margin-top: 1.3rem; }
.claim-col { display: grid; gap: 1.05rem; align-content: start; min-width: 0; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem 0.9rem; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 0.3rem; }

.f { display: grid; gap: 0.35rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.f > label, .f > legend { padding: 0; font: 400 1.3rem/1.15 var(--font-cut); letter-spacing: 0.02em; }
.f > legend { margin-bottom: 0.6rem; }
.in {
  width: 100%; min-height: 3rem; padding: 0.55rem 0.75rem;
  border: 2.5px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink);
  font: 400 1.05rem/1.4 var(--font-read);
}
.in::placeholder { color: color-mix(in oklch, var(--ink-soft) 84%, var(--paper)); opacity: 1; }
textarea.in { min-height: 5.6rem; resize: vertical; }
.in[aria-invalid="true"] { border-color: var(--err); border-style: dashed; }
.err { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: var(--err); }
.err:empty { display: none; }
.hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }

/* a tick box whose tick is the paper star */
.tick { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 1.0625rem; line-height: 1.35; cursor: pointer; }
.tick input {
  appearance: none; flex: none; display: grid; place-items: center;
  width: 1.7rem; height: 1.7rem; margin: -0.1rem 0 0;
  border: 2.5px solid var(--ink); border-radius: 0; background: var(--paper); cursor: pointer;
}
.tick input::after {
  content: ""; width: 1.05rem; height: 1.05rem; background: var(--hot);
  mask: var(--star) center / contain no-repeat;
  scale: 0; rotate: -40deg; transition: scale 0.3s var(--ease-out), rotate 0.3s var(--ease-out);
}
.tick input:checked::after { scale: 1; rotate: 0deg; }
.tick b { font-weight: 700; }

/* holiday gift tags */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem 0.55rem; }
.chip { position: relative; cursor: pointer; filter: drop-shadow(0 0.22rem 0.16rem var(--shadow)); }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  position: relative; display: inline-flex; align-items: center;
  min-height: 2.75rem; padding: 0.4rem 1rem 0.45rem 1.75rem;
  background: var(--paper-shade); color: var(--ink);
  font: 400 1.15rem/1 var(--font-cut); letter-spacing: 0.02em;
  clip-path: polygon(1rem 0, 100% 0, 100% 100%, 1rem 100%, 0 50%);
  transition: background 0.2s, rotate 0.3s var(--ease-out), translate 0.3s var(--ease-out);
}
.chip span::before {
  content: ""; position: absolute; left: 0.62rem; top: 50%; translate: 0 -50%;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ink-soft);
  transition: opacity 0.2s;
}
/* ticked: a star takes the place of the tag's punched hole */
.chip svg {
  position: absolute; left: 0.5rem; top: 50%; width: 0.95rem; height: 0.95rem; translate: 0 -50%;
  fill: var(--hot); scale: 0; rotate: -40deg;
  transition: scale 0.3s var(--ease-out), rotate 0.3s var(--ease-out);
}
.chip:hover span { translate: 0 -2px; }
.chip input:checked + span { background: var(--pop); rotate: -2.5deg; translate: 0 0; }
.chip input:checked + span svg { scale: 1; rotate: 0deg; }
.chip input:checked + span::before { opacity: 0; }
.chip:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

/* the send ticket: a stub and a body, perforated between */
.send {
  display: inline-flex; align-items: stretch; min-height: 4.2rem; padding: 0;
  border: 0; background: none; color: var(--on-hot); font: inherit; text-align: left; cursor: pointer;
  rotate: -1.5deg;
  filter: drop-shadow(0 0.4rem 0.3rem var(--shadow));
  transition: rotate 0.35s var(--ease-out), translate 0.35s var(--ease-out);
}
.send:hover { rotate: 0.5deg; translate: 0 -3px; }
.send:active { translate: 0 1px; }
.send[aria-busy="true"] { cursor: progress; rotate: 0deg; translate: 0 0; }
.send[aria-busy="true"] .send-stub svg { animation: wobble 0.9s ease-in-out infinite alternate; }
@keyframes wobble { from { rotate: -14deg; } to { rotate: 14deg; } }
.send-stub {
  display: grid; place-items: center; width: 3.7rem;
  background: var(--pop); color: var(--on-pop);
  border-right: 3px dotted var(--on-pop);
  mask: radial-gradient(circle 0.5rem at left center, #0000 97%, #000);
}
.send-stub svg { width: 1.6rem; height: 1.6rem; fill: currentColor; margin-left: 0.4rem; }
.send-body {
  display: grid; align-content: center; gap: 0.15rem;
  background: var(--hot); padding: 0.65rem 1.7rem 0.7rem 1.1rem;
  mask: radial-gradient(circle 0.5rem at right center, #0000 97%, #000);
}
.send-body b { font: 900 1.6rem/1 var(--font-cut); letter-spacing: 0.015em; }
.send-body small { font-size: 0.88rem; line-height: 1.25; }

.thanks :is(h1, h2) { font-size: clamp(2rem, 4.4vw, 2.8rem); line-height: 0.98; }
.thanks p { margin-top: 0.7rem; max-width: 46ch; }
.thanks:focus { outline: none; }
.again {
  margin-top: 1.1rem; min-height: 2.9rem; padding: 0.45rem 1.1rem 0.5rem;
  border: 2.5px dashed var(--ink-soft); border-radius: 0; background: none; color: var(--ink);
  font: 400 1.15rem/1 var(--font-cut); letter-spacing: 0.03em; cursor: pointer;
}
.again:hover { border-style: solid; border-color: var(--ink); }
a.again { display: inline-flex; align-items: center; text-decoration: none; }

/* ---------- what happens next: three tags on a string ---------- */

.spread {
  max-width: var(--wide); margin-inline: auto;
  padding: clamp(4rem, 9vw, 6.5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
}
.tags {
  list-style: none; margin: clamp(2.4rem, 6vw, 3.6rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tags li {
  position: relative; display: grid; justify-items: center;
  border-top: 2px solid var(--on-ground);
  padding: var(--drop, 1.6rem) 0.5rem 0;
  filter: drop-shadow(0 0.5rem 0.35rem var(--shadow));
}
.tags li::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 2px; translate: -1px 0;
  height: calc(var(--drop, 1.6rem) + 1.2rem); background: var(--on-ground);
}
.tag {
  position: relative; width: min(100%, 16rem);
  padding: 2.6rem 1.1rem 1.4rem; text-align: center;
  background: var(--paper); color: var(--ink);
  clip-path: polygon(24% 0, 76% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
  rotate: var(--r, 0deg); transform-origin: 50% 0;
}
.tag::before {
  content: ""; position: absolute; top: 0.75rem; left: 50%; translate: -50% 0;
  width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--ground);
  box-shadow: inset 0 2px 2px oklch(0 0 0 / 0.35);
}
.tag b { display: block; font: 900 clamp(1.5rem, 2.8vw, 1.95rem)/1.02 var(--font-cut); color: var(--hot); }
.tag span { display: block; margin-top: 0.45rem; font-size: 1.0625rem; line-height: 1.4; }
.tags li:nth-child(2) .tag { background: var(--pop); color: var(--on-pop); }
.tags li:nth-child(2) .tag b { color: var(--on-pop); }

.foot {
  max-width: var(--wide); margin-inline: auto;
  padding: 0 var(--gutter) 2.6rem;
  display: grid; gap: 0.3rem;
}
.foot::before {
  content: ""; margin-bottom: 1.3rem;
  border-top: 1.5px dashed color-mix(in oklch, var(--on-ground) 60%, transparent);
}
.foot b { font: 900 1.25rem/1.1 var(--font-cut); letter-spacing: 0.03em; }
.foot .fineprint { max-width: 70ch; }

/* a short page: the one shown after sending without scripts, and the lost page */
.note { max-width: 40rem; margin: clamp(2rem, 6vw, 4rem) auto; padding-inline: var(--gutter); }
.note-paper { padding: clamp(1.4rem, 4vw, 2.4rem); rotate: -1deg; filter: drop-shadow(0 0.7rem 0.5rem var(--shadow)); }

@media (max-width: 820px) {
  .row {
    grid-template-columns: 0.9fr 1.35fr 1fr 1fr; gap: 0 2.6vw;
    max-width: 36rem; padding: 3.7rem var(--gutter) 0;
  }
  .row::before {
    content: ""; grid-area: 1 / 1 / 2 / -1; align-self: end; z-index: -1;
    height: 0.4rem; margin: 0 -100vw -0.4rem; background: var(--paper);
  }
  .plot:nth-child(1) { grid-area: 1 / 1; }
  .plot:nth-child(2) { grid-area: 1 / 2; }
  .plot:nth-child(4) { grid-area: 1 / 3; }
  .plot:nth-child(5) { grid-area: 1 / 4; }
  .plot--lot { grid-area: 2 / 1 / 3 / -1; justify-self: center; width: min(80%, 21rem); margin-top: 3.4rem; }
  .plot-tag { top: calc(100% + 0.85rem); padding: 0.14rem 0.4rem 0.2rem; font-size: 0.88rem; }
  /* the far street gets its own dark band: tree line above, the back row's tags on it */
  .far { top: 2.2rem; bottom: auto; height: min(40vw, 13.5rem); }
  .far-wide { display: none; }
  .far-phone { display: inline; }
  .street .seal { top: -1.6rem; width: 6.4rem; padding: 1.05rem; font-size: 0.88rem; }
  .claim-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .tags { grid-template-columns: minmax(0, 1fr); }
  .tags li { border-top: 0; padding-top: 1.4rem; }
  .tags li::before { height: 2.6rem; }
  .tag { width: min(100%, 19rem); }
}
@media (max-width: 480px) { .pair { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}
