@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("../fonts/jost-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); }

/* Moodboard swatches (pp.19-20): burgundy #72362D (closest to the box, measured #703d42),
   cream #F7F5F2, sand #DBD2BB. Ink/neutral greys are text tones, not moodboard picks. */
:root {
  --burgundy: #72362d;
  --burgundy-deep: #5a2a23;
  --cream: #f7f5f2;
  --sand: #dbd2bb;
  --ink: #1d1a19;
  --ink-soft: #3f3a38;
  --muted: #6b6461;
  --plinth: 0.56725;      /* IMG_1837 1320/2327 */
  --trav: 0.55814;        /* IMG_2209 1920/3440 */
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: var(--ink); }
body { font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.logo svg { display: block; height: 100%; width: auto; }
.logo svg path { fill: currentColor; }

.photo-wrap { position: relative; margin: 0; }
.photo-wrap img { display: block; width: 100%; height: auto; }
.mosaic { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.js-mosaic img[data-mosaic]:not(.mosaic-ready) { opacity: 0; }

.serif { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 400; }

/* sign-up (shared mechanics; colours set per theme) */
.notify-label { display: block; margin-bottom: 12px; }
.row { display: flex; align-items: flex-end; gap: 16px; }
.field { position: relative; flex: 1 1 auto; border-bottom: 1px solid var(--rule); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--focus); transform: scaleX(0); transform-origin: left center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.field:focus-within::after, .field:has(input[aria-invalid="true"])::after { transform: scaleX(1); }
.field input { display: block; width: 100%; border: 0; border-radius: 0; outline: none; background: transparent;
  font: inherit; font-size: 16px; letter-spacing: .03em; color: inherit; padding: 10px 0 9px;
  -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: var(--ph); opacity: 1; }
.notify button { flex: 0 0 auto; height: 44px; padding: 0 22px; border: 0; border-radius: 0;
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.notify button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.thanks { margin: 0; }
.thanks[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .field::after, .notify button { transition: none; }
}

/* balanced wraps for short centred lines (no orphan words) */
.lede, .purity { text-wrap: balance; }

/* one-screen pages (o1-o3): must FIT 100svh; never hide overflow */
/* purity underline drawn as a background so it can be animated (the pixel sample's underline device) */
.uline { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; padding-bottom: .12em; }
@font-face { font-family: "Corinthia"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/corinthia-latin.woff2") format("woff2"); }
.script { font-family: "Corinthia", "Snell Roundhand", cursive; font-weight: 400; }
