/* Villager landing page — type from the Claude Design "v3 Emerald" file,
   colours from palette Option 4 "lighter green" (December 2026) */

/* Fonts: hosted in assets/fonts (Latin, regular style). font-display: block means the browser
   waits for the real font instead of showing a stand-in font and swapping, which caused a flicker. */
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: block;
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 300 700; font-display: block;
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: "La Belle Aurore"; font-style: normal; font-weight: 400; font-display: block;
  src: url("assets/fonts/la-belle-aurore.woff2") format("woff2");
}

:root {
  /* Palette (Option 4 "lighter green") */
  --cream: #F3F0E9;          /* page background */
  --paper: #FAF8F3;          /* form fields */
  --postcard: #F3F0E9;       /* stamps and the postcard */
  --postcard-line: #CFD3C4;
  --sage: #DCE0D2;           /* pale sage: How it works, story, footer, list hover */
  --green: #325131;          /* deep green: titles, buttons, handwriting, hearts */
  --green-dark: #274227;     /* button hover */
  --green-rgb: 50, 81, 49;   /* deep green, for see-through lines and shadows */
  --villager-green: #628A61; /* ticker band */
  --text: #000000;           /* body text */
  --lavender: #D9C4F8;       /* ticker sparks */
  --lilac: #BE9EF2;          /* sparks on the stamps */
  --line: #C5CAB9;           /* field and tickbox borders */
  --line-soft: rgba(50, 81, 49, .16);
  --placeholder: rgba(0, 0, 0, .5);
  --text-soft: rgba(0, 0, 0, .6);
  --shadow: rgba(50, 81, 49, .35);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --hand: 'La Belle Aurore', cursive;

  /* Spark shape, drawn as SVG so every phone shows the same spark (never an emoji) */
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M10 1v18M1 10h18M3.6 3.6l12.8 12.8M16.4 3.6L3.6 16.4'/%3E%3C/svg%3E");

  --gutter: clamp(1.5rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration-color: rgba(var(--green-rgb), .45); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--green); }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* honeypot field: invisible to people, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

input::placeholder { color: var(--placeholder); }
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(var(--green-rgb), .3);
  outline-offset: 2px;
}

/* Shared content box: header, hero and sections all line up on the same left edge */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Hero ---------- */
.hero {
  display: flex; flex-direction: column;
  min-height: min(100svh, 900px); /* fills the window, but never taller than 900px */
}
/* Top bar: stays at the top while scrolling, with the waitlist button always in reach */
:root { --bar-h: 76px; }
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: var(--cream); border-bottom: 1px solid var(--line-soft);
}
.topbar { height: var(--bar-h); display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
body > header { padding-top: var(--bar-h); }  /* room for the fixed bar */
section[id] { scroll-margin-top: var(--bar-h); }  /* sections land just below the bar */
.brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: .01em;
  text-decoration: none;
  margin-right: auto;
  color: var(--green);
}
.nav { display: flex; gap: clamp(14px, 2vw, 28px); }
/* "Log in" (to the app) looks like the section links, but stays on phones too */
.nav a, .bar-login {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid transparent; white-space: nowrap;
}
.nav a:hover, .bar-login:hover { border-bottom-color: rgba(var(--green-rgb), .5); }
/* Small "Join the waitlist" button on the right of the top bar */
.bar-cta {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 999px; background: var(--green); color: var(--cream);
  font-size: 13px; font-weight: 500; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
  transition: background .15s;
}
.bar-cta:hover { background: var(--green-dark); }

/* text left, phone right; stacks below 900px */
.hero-grid {
  flex: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: center;
}
.hero-copy { min-width: 0; padding-block: clamp(32px, 6vh, 72px) 56px; }
.hero-inner { display: flex; flex-direction: column; gap: 20px; }
.eyebrow {
  font-family: var(--hand);
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2;
  display: flex; align-items: center; gap: 8px;
  color: var(--green);
}
.eyebrow-heart { width: 20px; transform: rotate(12deg) translateY(-2px); }
h1 {
  font-size: clamp(2.875rem, 6vw, 7.5rem); line-height: 0.95; letter-spacing: .005em;
  text-wrap: balance;
}
.lede { font-size: clamp(1.125rem, 1.2vw, 1.375rem); line-height: 1.6; max-width: 34rem; text-wrap: pretty; }
.handwritten { font-family: var(--hand); font-size: 20px; margin-top: -6px; color: var(--green); }

/* Waitlist form (used twice) */
.waitlist-form { display: flex; flex-wrap: wrap; max-width: 480px; margin-top: 8px; width: 100%; }
/* Hero form: the space between field and button is a margin on the button, not `gap`.
   Password-manager extensions add an invisible helper element to the form; with `gap`
   that element got its own 10px gap and pushed the button sideways (a flicker). */
.waitlist-form:not(.join-form) > button { margin-left: 10px; }
.waitlist-form input[type="email"],
.waitlist-form .combobox input[type="text"] {
  flex: 1 1 220px; min-width: 0; height: 48px;
  touch-action: manipulation; /* no double-tap zoom on phones */
  border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); padding: 0 20px;
  font: inherit; font-size: 16px; color: var(--text);
}
.waitlist-form input[type="email"][aria-invalid="true"] { border-color: #b4452f; }
/* focus ring drawn inside the border, so the field keeps its exact size */
.waitlist-form input[type="email"]:focus,
.waitlist-form input[type="email"]:focus-visible,
.waitlist-form .combobox input[type="text"]:focus,
.waitlist-form .combobox input[type="text"]:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

/* Bottom form: two fields in a row, tickbox, button, all centred */
.join-form { flex-direction: column; align-items: center; gap: 18px; max-width: 640px; margin-top: 10px; }
.join-fields { display: flex; gap: 10px; width: 100%; }
.join-fields .field { flex: 1 1 0; min-width: 0; }
.join-fields .field input { width: 100%; }

/* Country field: chevron on the right, list below */
.combobox { position: relative; text-align: left; }
.waitlist-form .combobox input[type="text"] { padding-right: 42px; text-overflow: ellipsis; }
.field-chevron {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--text); pointer-events: none;
}
.field-chevron { right: 18px; transition: transform .15s; }
.combobox input[aria-expanded="true"] ~ .field-chevron { transform: translateY(-50%) rotate(180deg); }
.combobox-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  margin: 0; padding: 6px; list-style: none;
  max-height: 240px; overflow-y: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 20px -8px rgba(var(--green-rgb), .35), 0 2px 6px -2px rgba(var(--green-rgb), .15);
}
.combobox-list[hidden] { display: none; }
.combobox-list li {
  padding: 9px 14px; border-radius: 10px;
  font-size: 15px; line-height: 1.3; cursor: pointer;
}
.combobox-list li[aria-selected="true"], .combobox-list li:hover { background: var(--sage); }
.combobox-list .empty { color: var(--text-soft); cursor: default; }
.combobox-list .empty:hover { background: none; }

/* Tickbox: the real checkbox is hidden, the box next to it is drawn by hand */
.tick {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; line-height: 1.4; text-align: left; cursor: pointer;
}
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.tick-box {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  border: 1.5px solid var(--line); background: var(--paper);
  display: grid; place-items: center; color: var(--cream);
  transition: background .15s, border-color .15s;
}
.tick-box svg { opacity: 0; }
.tick input:checked + .tick-box { background: var(--green); border-color: var(--green); }
.tick input:checked + .tick-box svg { opacity: 1; }
.tick input:focus-visible + .tick-box { outline: 3px solid rgba(var(--green-rgb), .3); outline-offset: 2px; }
.tick { color: var(--text); }
.waitlist-form button {
  flex: 0 0 auto; height: 48px; padding: 0 24px;
  touch-action: manipulation; /* no double-tap zoom on phones */
  border-radius: 999px; border: 0;
  background: var(--green); color: var(--cream);
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .04em;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, opacity .15s;
}
.waitlist-form button:hover { background: var(--green-dark); }
.waitlist-form button:disabled { opacity: .7; cursor: progress; }

.hero-visual {
  min-width: 0;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding-block: clamp(24px, 4vh, 48px);
}
/* sized by window height, so the whole phone always fits on screen;
   360px max keeps the hero within its 900px height */
.phone { position: relative; width: clamp(260px, 38vh, 360px); max-width: 100%; }
.phone-shadow { filter: drop-shadow(0 24px 28px var(--shadow)); }
.phone-frame { position: relative; aspect-ratio: 509 / 1053; }
.phone-screen {
  position: absolute; left: 3.4%; right: 3.4%; top: 1.3%; bottom: 1.2%;
  border-radius: 13% / 6.2%; overflow: hidden; background: var(--paper); container-type: inline-size;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* new iPhone status bar drawn over the old one baked into the screenshot */
.phone-status { position: absolute; left: 0; right: 0; top: 0; height: 5.75%; background: rgb(251, 247, 246); color: #111; }
.phone-time {
  position: absolute; left: 14.3%; top: 65%; transform: translateY(-50%);
  font: 600 4.3cqw/1 -apple-system, "SF Pro Text", "DM Sans", sans-serif;
}
.phone-icons { position: absolute; right: 9.4%; top: 65%; transform: translateY(-50%); width: 20cqw; height: auto; }
.phone-bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- How it works ---------- */
.how { scroll-margin-top: 24px; background: var(--sage); display: flex; flex-direction: column; }
.section-head {
  padding-block: clamp(64px, 8vw, 96px) 56px;
  display: flex; flex-direction: column; align-items: center;
}
.section-head h2, .why h2, .join h2 {
  font-size: clamp(34px, 4.2vw, 50px); line-height: 1.05; text-align: center; text-wrap: balance;
}
.cards-wrap { padding-block: 0 clamp(64px, 8vw, 104px); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(10px, 2vw, 28px);
  /* all stamps the same size: every row as tall as the tallest card, also on phones */
  grid-auto-rows: 1fr;
}
.stamp-card {
  max-width: 380px; width: 100%; margin: 0 auto;
  filter: drop-shadow(0 14px 18px rgba(var(--green-rgb), .18)) drop-shadow(0 2px 3px rgba(var(--green-rgb), .12));
}
/* perforated stamp edge */
.stamp-paper {
  height: 100%; background: var(--cream); padding: 16px;
  mask: linear-gradient(#000 0 0) content-box,
        radial-gradient(circle, #0000 11px, #000 11.5px) -16px -16px / 32px 32px round;
  -webkit-mask: linear-gradient(#000 0 0) content-box,
        radial-gradient(circle, #0000 11px, #000 11.5px) -16px -16px / 32px 32px round;
}
.stamp-inner {
  height: 100%; border: 1px solid var(--postcard-line);
  padding: clamp(14px, 2.2vw, 22px) clamp(12px, 2vw, 20px);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.stamp-inner h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; text-wrap: balance; }
.spark {
  display: block; flex: none; background: currentColor;
  -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat;
}
.asterisk { width: 14px; height: 14px; color: var(--lilac); }
.stamp-inner p { font-size: clamp(12px, 1.2vw, 14px); line-height: 1.45; max-width: 250px; text-wrap: pretty; }

/* ---------- Why it matters ---------- */
.why { padding: clamp(72px, 9vw, 120px) var(--gutter); }
.why-inner {
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.why-lead { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; text-wrap: pretty; }
.why-body { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.65; max-width: 560px; text-wrap: pretty; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--villager-green); color: var(--cream);
  display: flex; padding: 16px 0; overflow: hidden; white-space: nowrap;
  font-family: var(--serif); font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
}
.ticker-track { display: inline-flex; flex: none; align-items: center; animation: vTicker 48s linear infinite; will-change: transform; }
/* line-height 1 puts the capital letters exactly in the middle of their box */
.ticker-track span { padding: 0 24px; line-height: 1; }
.ticker-track i { width: 11px; height: 11px; color: var(--lavender); }

/* ---------- My story ---------- */
.story { background: var(--sage); padding: clamp(40px, 5vw, 64px) var(--gutter); }
.postcard { width: 100%; max-width: 820px; margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(var(--green-rgb), .16)); }
.postcard-paper {
  background: var(--postcard); padding: 20px;
  mask: linear-gradient(#000 0 0) content-box,
        radial-gradient(circle, #0000 13px, #000 13.5px) -20px -20px / 40px 40px round;
  -webkit-mask: linear-gradient(#000 0 0) content-box,
        radial-gradient(circle, #0000 13px, #000 13.5px) -20px -20px / 40px 40px round;
}
.postcard-inner {
  position: relative; display: flex; flex-wrap: wrap;
  margin: clamp(10px, 1.6vw, 18px); border: 1px solid var(--postcard-line);
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.6vw, 28px) clamp(18px, 2vw, 24px) clamp(18px, 2.4vw, 28px);
}
.postcard-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 20px); }
.postcard-text h2 {
  font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; white-space: nowrap;
}
.phone-br { display: none; }
.letter {
  display: flex; flex-direction: column; gap: 8px;
  font-size: clamp(13px, 1.1vw, 14px); line-height: 1.55; text-wrap: pretty;
}
/* picture column sits against the right edge */
.postcard-side { flex: 0 0 230px; margin-left: auto; display: flex; flex-direction: column; gap: 4px; }
.stamps { display: flex; justify-content: flex-end; align-items: center; margin-right: -6px; }
.postmark { position: relative; width: 130px; margin-right: -26px; z-index: 1; pointer-events: none; }
.stamp { width: 84px; filter: drop-shadow(0 2px 3px rgba(var(--green-rgb), .2)); pointer-events: none; }
/* Polaroid: the frame image is drawn in two slices (top with the window, bottom edge) so the
   white band under the photo is shorter than in the original image. */
.polaroid { position: relative; margin: clamp(6px, 1.5vw, 16px) 0 0 auto; width: 100%; aspect-ratio: 900 / 1000; }
.polaroid-frame-top, .polaroid-frame-bottom {
  position: absolute; left: 0; right: 0; pointer-events: none;
  background: url("assets/polaroid-frame-cream.png") no-repeat; background-size: 100% auto;
}
.polaroid-frame-top { top: 0; height: 86%; background-position: top; }
.polaroid-frame-bottom { bottom: 0; height: 14%; background-position: bottom; }
.polaroid-photo {
  position: absolute; left: 6.1%; right: 6.1%; top: 7.8%; bottom: 15%;
  overflow: hidden; background: #e9e4da;
}
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.polaroid figcaption {
  position: absolute; left: 6%; right: 6%; bottom: 2.5%; height: 11%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hand); font-size: clamp(16px, 1.6vw, 20px); line-height: 1;
  transform: rotate(-2deg); color: var(--green);
}
.tape { position: absolute; top: -12px; left: 30%; width: 84px; transform: rotate(-3deg); pointer-events: none; }

/* ---------- Join ---------- */
.join { padding: clamp(72px, 9vw, 120px) var(--gutter); }
.join-inner {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
.join-lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; text-wrap: pretty; }
.fineprint { font-size: 13px; line-height: 1.5; color: var(--text); margin-top: -6px; }
.fineprint a { color: inherit; text-decoration-color: currentColor; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: var(--sage); color: var(--text); padding: clamp(48px, 6vw, 72px) var(--gutter) 40px; }
.footer-inner {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.footer-hand { font-size: 24px; line-height: 1.3; color: var(--green); margin: 0; }
.footer-heart { width: 40px; }
.footer-contact { font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.footer-contact a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--green-rgb), .5); }
.copyright { font-size: 12px; letter-spacing: .08em; opacity: .75; }
/* Imprint · Privacy Policy, same quiet style as the copyright line */
.footer-legal { font-size: 12px; letter-spacing: .08em; opacity: .75; margin-top: -8px; }
.footer-legal a { color: var(--text); text-decoration-color: rgba(var(--green-rgb), .5); }

/* ---------- Imprint and Privacy Policy pages ---------- */
.legal { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 9vw, 120px); }
.legal-inner { max-width: 640px; margin: 0 auto; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin: 36px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 0 0 10px; padding-left: 1.2em; }
.legal .legal-updated { margin-top: 12px; font-size: 14px; color: var(--text-soft); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: var(--paper); border: 1px solid rgba(var(--green-rgb), .15);
  box-shadow: 0 8px 20px -8px rgba(var(--green-rgb), .35), 0 2px 6px -2px rgba(var(--green-rgb), .15);
  font-size: 15px; font-weight: 500; color: var(--text);
  animation: vToast .35s ease both; z-index: 50; max-width: calc(100vw - 32px);
}
.toast[hidden] { display: none; }
.toast-icon {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--green); color: var(--cream);
  display: grid; place-items: center;
}
/* Error: dark red circle with a cross instead of the check */
.toast-icon .icon-cross { display: none; }
.toast.is-error .toast-icon { background: #8c2a1c; color: var(--paper); }
.toast.is-error .icon-check { display: none; }
.toast.is-error .icon-cross { display: block; }

/* ---------- Motion ---------- */
@keyframes vReveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes vTicker { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@keyframes vToast { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Reveal-on-scroll runs only in browsers that support scroll-driven animations.
   Tilted cards keep their rotation by animating a wrapper instead. */
@supports (animation-timeline: view()) {
  .reveal:not(.stamp-card) {
    animation: vReveal .9s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
  .stamp-card.reveal .stamp-paper {
    animation: vReveal .9s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Tablet width: hero stacks, phone under the button ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { padding-top: 0; }
}

/* ---------- Phone width ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  :root { --bar-h: 64px; }
  .section-head { padding-bottom: 22px; }
  .cards { grid-template-columns: 1fr; }
  /* phones: field and button each take the full width, so their position never depends on content */
  .waitlist-form input[type="email"], .waitlist-form button { flex: 1 1 100%; }
  .waitlist-form:not(.join-form) > button { margin: 10px 0 0; }
  /* bottom form: fields stack, button spans the width */
  .join-fields { flex-direction: column; }
  .join-form button { flex: none; width: 100%; }
  .phone { width: 260px; }
  /* finer postcard: thinner edge, smaller scallops, so the text gets more width */
  .postcard-paper {
    padding: 12px;
    mask: linear-gradient(#000 0 0) content-box,
          radial-gradient(circle, #0000 8px, #000 8.5px) -12px -12px / 24px 24px round;
    -webkit-mask: linear-gradient(#000 0 0) content-box,
          radial-gradient(circle, #0000 8px, #000 8.5px) -12px -12px / 24px 24px round;
  }
  .postcard-inner { margin: 8px; padding: 14px 14px 16px; gap: 20px; }
  /* How it works stamps get the same finer edge as the postcard */
  .stamp-paper {
    padding: 12px;
    mask: linear-gradient(#000 0 0) content-box,
          radial-gradient(circle, #0000 8px, #000 8.5px) -12px -12px / 24px 24px round;
    -webkit-mask: linear-gradient(#000 0 0) content-box,
          radial-gradient(circle, #0000 8px, #000 8.5px) -12px -12px / 24px 24px round;
  }
  /* phones: centered letter, title on two lines, space above so the stamp sits clear of it */
  .postcard-text h2 { white-space: normal; text-align: center; margin-top: 40px; }
  .phone-br { display: inline; }
  .letter { text-align: center; }
  .postcard-side { flex: 0 1 230px; margin: 0 auto; }
  /* small stamp + postmark pinned to the top right corner, level with the title */
  .stamps { position: absolute; top: 10px; right: 12px; margin: 0; }
  .postmark { width: 62px; margin-right: -12px; }
  .stamp { width: 40px; }
}
