@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  /* Palette: "Ethereal Dusty Blue" — slate blue primary, light blue surfaces,
     warm peach/blush accents, airy cool background. */
  --cream: #eef3f7;
  --champagne: #d4e2ec;
  --blush: #e7c6b7;
  --peach: #f3c8a3;
  --gold: #4a6e8c;
  --bronze: #3a586f;
  --ink: #2c3742;
  --muted: #56646f;
  --line: #d8e3ea;
  --max: 660px;
  --radius: 16px;
  --foil: linear-gradient(135deg, var(--bronze), var(--gold) 50%, #88aac6 72%, var(--bronze));
  /* Deeper foil for solid buttons so white text stays legible (the bright --foil
     highlight is reserved for decorative use on dark/photo backgrounds). */
  --foil-btn: linear-gradient(135deg, #2c4356, var(--bronze) 42%, #5380a1 100%);
  --shadow: none;
  font-family: "EB Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
}
/* …but keep text selectable where guests actually type. */
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 24px 18px 96px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; letter-spacing: 0.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 8vw, 2.8rem); text-align: center; line-height: 1.1; }
h2 { font-size: 1.5rem; }
a { color: var(--bronze); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Foil text for names / accents */
.foil {
  background: var(--foil); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Thin gold divider rule */
.rule { width: 64px; height: 2px; margin: 14px auto; border: 0;
  background: var(--foil); border-radius: 2px; }

/* Forms */
label { display: block; margin: 16px 0 5px; font-size: 0.95rem; color: var(--muted); }
input:not([type]), input[type=text], input[type=email], input[type=date], input[type=password],
input[type=search], input[type=tel], input[type=number], input[type=url],
input[type=file], textarea {
  width: 100%; padding: 14px; border: 1px solid var(--line);
  border-radius: 12px; font-size: 1.05rem; background: #fff; font-family: inherit; color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
/* Branded native file-input button, app-wide (adapts to each page palette via --foil-btn). */
input[type=file]::file-selector-button { font-family: "Fraunces", serif; font-weight: 600; font-size: .9rem;
  color: #fff; background: var(--foil-btn); border: 0; border-radius: 10px; padding: 9px 16px; margin-right: 12px;
  cursor: pointer; transition: filter .15s ease; }
input[type=file]::file-selector-button:hover { filter: brightness(1.06); }
textarea { min-height: 120px; resize: vertical; }
button {
  margin-top: 18px; width: 100%; padding: 15px; border: none;
  border-radius: 12px; background: var(--foil-btn); color: #fff;
  font-size: 1.1rem; cursor: pointer; font-family: "Fraunces", serif; letter-spacing: .02em;
  font-weight: 600;
  transition: transform .2s ease, filter .2s ease;
}
button:hover { filter: brightness(1.04); }
button:active { transform: scale(.99); }
button:disabled { opacity: 0.5; cursor: default; }
.status { margin-top: 14px; text-align: center; min-height: 1.4em; }
.status.ok { color: #3c7a3c; }
.status.err { color: #a33; }
/* Top-right close: returns to the parent (home / admin). Fixed so it stays reachable while scrolling. */
.close-btn { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; z-index: 60;
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid var(--gold);
  color: var(--ink); box-shadow: var(--shadow); text-decoration: none;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform .15s ease, filter .15s ease; }
.close-btn:hover { filter: brightness(1.03); }
.close-btn:active { transform: scale(.94); }
.close-btn svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .close-btn { right: calc(50vw - 360px); } }

/* Feed (guestbook + album) */
.feed { display: grid; gap: 14px; margin-top: 16px; }
/* Album category tabs (All / Photo album / Photo challenges) */
.album-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.album-tabs[hidden] { display: none; }
.album-tab { width: auto; margin: 0; padding: 8px 16px; font-size: .92rem; border-radius: 999px;
  background: #fff; color: var(--bronze); border: 1px solid var(--gold); box-shadow: none; cursor: pointer; }
.album-tab.is-active { background: var(--foil-btn); color: #fff; border-color: transparent; }
.album-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .album-grid { grid-template-columns: repeat(3, 1fr); } }
.album-grid button.tile { padding: 0; margin: 0; border: 0; background: none; box-shadow: none;
  width: 100%; cursor: pointer; border-radius: 12px; overflow: hidden; }
.album-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 12px;
  box-shadow: var(--shadow); }
.card { border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden; }
.card img { width: 100%; display: block; }
.card .body { padding: 12px 14px; }
.card .who { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* Landing hero */
.hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end;
  justify-content: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background-color: var(--champagne);
  background-image: linear-gradient(160deg, var(--champagne), var(--blush)); /* fallback */
  background-size: cover; background-position: center 30%; }
/* No uploaded photo: a themed gradient shows behind the neutral couple illustration,
   so the hero matches the wedding's palette. */
.hero-photo.is-placeholder {
  background-image: url('../assets/hero-placeholder.svg'),
    linear-gradient(165deg, var(--champagne), var(--blush));
  background-size: auto 86%, cover;
  background-position: center 42%, center;
  background-repeat: no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18,14,16,.82) 0%, rgba(18,14,16,.6) 30%, rgba(18,14,16,.3) 55%, rgba(18,14,16,0) 82%),
    linear-gradient(to top, var(--cream) 1%, rgba(238,243,247,0) 16%); }
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 0 18px 28px; }
.hero-inner h1 { font-size: clamp(2rem, 9vw, 3.2rem); margin: 6px 0 8px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 3px 16px rgba(0,0,0,.55)); }
/* Hero name: a light warm foil so it pops on ANY photo/theme. The in-app foil
   is theme-tinted and can be dark (e.g. dusty-blue), which blends into a
   same-toned photo behind the scrim; on the hero we always want light + bright. */
.hero .foil { background: linear-gradient(135deg, #fffdf9, #ffffff 45%, #f0e3d2 78%, #fffdf9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; }
.hero-meta { font-size: .95rem; color: #f6f1ea; letter-spacing: .06em; margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.5); }

/* Desktop: contain the hero to the same column as the tiles so its edges line up
   with the cards (var(--max) minus the .wrap side padding on both sides), round it,
   and elevate it like the cards. Mobile keeps the full-bleed banner above. */
@media (min-width: 720px) {
  .hero { max-width: calc(var(--max) - 36px); margin: 28px auto 0; min-height: 0;
    aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); }
  .hero::after { background:
    linear-gradient(to top, rgba(18,14,16,.82) 0%, rgba(18,14,16,.56) 34%, rgba(18,14,16,.28) 58%, rgba(18,14,16,0) 84%); }
}

/* Floating quick-add — a warm-white disc inside a FOIL-GRADIENT ring (the same
   bronze->gold sweep as the "Gustav & Rika" wordmark), so the button echoes the
   one element guests remember. The ring is the gradient-border trick: two
   backgrounds, white on padding-box + foil on border-box behind a transparent
   border. The "+" is a hairline cross from pseudo-elements (text glyph hidden). */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%; text-decoration: none; font-size: 0;
  background: linear-gradient(#fffdf9, #ffffff) padding-box, var(--foil) border-box;
  border: 1.5px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease; }
.fab::before, .fab::after { content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--bronze); border-radius: 2px;
  transition: transform .4s cubic-bezier(.22,1,.36,1); }
.fab::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.fab::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.fab:hover { transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85); }
.fab:hover::before, .fab:hover::after { transform: translate(-50%, -50%) rotate(90deg); }
.fab:active { transform: scale(.94); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes fabIn { from { opacity: 0; transform: translateY(10px) scale(.85); } to { opacity: 1; transform: none; } }
  .fab { animation: fabIn .5s .25s cubic-bezier(.22,1,.36,1) both; }
}
@media (min-width: 900px) { .fab { right: calc(50vw - 360px); } }

/* Soft page fade-in (CSS-only, always reveals) */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .wrap { animation: pageIn .5s ease both; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: env(safe-area-inset-top) 8px;
  background: rgba(34, 30, 26, .92); }
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 96vw; max-height: 88vh; text-align: center; }
.lb-figure img { max-width: 96vw; max-height: 80vh; object-fit: contain; border-radius: 10px; }
.lb-figure figcaption { color: #e9dcc4; font-size: .95rem; margin-top: 10px; font-family: "EB Garamond", serif; }
.lb-btn { position: fixed; background: rgba(0,0,0,.25); color: #fff; border: none;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Guestbook cards */
.feed { display: grid; gap: 16px; margin-top: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  overflow: hidden; box-shadow: var(--shadow); }
.gb-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex;
  align-items: center; justify-content: center; background: var(--foil); color: #fff;
  font-family: "Fraunces", serif; font-size: .95rem; }
.gb-name { font-family: "Fraunces", serif; font-size: 1.05rem; }
.gb-time { margin-left: auto; font-size: .8rem; color: var(--muted); }
.card .body { padding: 10px 16px 16px; }
.gb-msg { margin: 6px 0 0; font-size: 1.1rem; }
.gb-photo { display: block; width: 100%; margin-top: 12px; border: 0; padding: 0; background: none;
  border-radius: 12px; overflow: hidden; cursor: pointer; }
.gb-photo img { width: 100%; display: block; border-radius: 12px; }

/* Upload */
.upload-hint { font-size: .85rem; margin: 2px 0 8px; }
.pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.pick { margin: 0; background: #fff; color: var(--bronze); border: 1px solid var(--gold);
  box-shadow: none; font-size: 1rem; padding: 14px 8px; }
.previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.preview { position: relative; width: 84px; height: 84px; }
.preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.preview .rm { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; margin: 0;
  padding: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1rem;
  line-height: 1; box-shadow: none; }
/* Home tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.tile-link { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px 14px; text-decoration: none; color: var(--ink); background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); text-align: center;
  transition: transform .25s ease, box-shadow .25s ease; }
.tile-link:hover { transform: translateY(-2px); }
.tile-link:active { transform: scale(.98); background: var(--champagne); }
/* `display: flex` above outranks the UA [hidden] rule, so force-hide explicitly
   (used by the Bingo tile's gated reveal). */
.tile-link[hidden] { display: none; }
.tile-label { font-family: "Fraunces", serif; font-size: 1rem; line-height: 1.15; }
.tile-sub { font-family: "EB Garamond", serif; font-size: .78rem; color: var(--muted); }
.tile-ico { margin-bottom: 2px; }

/* Guestbook inline composer */
.gb-compose { margin-top: 16px; }
.compose-toggle { width: 100%; margin: 0; background: #fff; color: var(--bronze);
  border: 1px solid var(--gold); box-shadow: none; font-size: 1.05rem; padding: 14px; }
.compose-form { margin-top: 12px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }

.tile-ico { width: 30px; height: 30px; color: var(--gold); }

/* Subtle grain overlay for paper-like texture (purely decorative) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045;
  background-image: 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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { body::after { opacity: .03; } }

/* Group heading inside the composer (not a <label>: it titles a button group,
   so a bare <label> would be an orphan with no associated field). */
.field-label { display: block; margin: 16px 0 5px; font-size: .95rem; color: var(--muted); }

/* "Just posted" badge on the venue slideshow */
.just-posted { position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; padding: 8px 18px; border-radius: 999px; font-family: "Fraunces", serif;
  font-size: 1.1rem; color: #2a2118; background: linear-gradient(135deg,#e9d5a8,#f6ecd6,#d9bd86);
  box-shadow: none; }

/* Instagram hashtag nudge on the QR card */
.ig-tag { margin-top: 18px; color: var(--muted); font-size: .95rem; }
.ig-handle { display: inline-block; margin-top: 4px; font-family: "Fraunces", serif;
  font-size: 1.35rem; letter-spacing: .01em; }

/* Venue credit + site footer (white source logo recoloured to bronze via mask) */
.site-footer { text-align: center; padding: 36px 18px 46px; color: var(--muted); }
.venue-label { display: block; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.venue-logo-link { display: inline-block; }
/* The venue logo shows an operator-uploaded image set inline by index-menu.js. */
.venue-logo { display: block; margin: 0 auto; width: 260px; max-width: 74vw; height: 72px;
  background: center / contain no-repeat; }
#venue-block { margin-bottom: 6px; }
/* Larger crest on the home page only */
.site-footer--home .venue-logo { height: 108px; width: 300px; }
.copyright { margin: 22px 0 0; font-size: .85rem; letter-spacing: .04em; color: var(--muted); }

/* ============================================================
   Consistency pass: focus rings, touch targets, warm accents,
   and the operator console (operator.html).
   ============================================================ */

/* Accessible keyboard focus on every interactive control. */
a:focus-visible, button:focus-visible, .tile-link:focus-visible,
.album-tab:focus-visible, .compose-toggle:focus-visible, .pick:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px;
}
.close-btn:focus-visible, .fab:focus-visible { outline: 2px solid var(--gold);
  outline-offset: 3px; border-radius: 50%; }

/* Comfortable touch targets for pill / secondary buttons. */
.album-tab, .pick { min-height: 40px; }

/* Warm accents (peach/blush) to balance the dusty blue. */
.hero .rule { background: linear-gradient(90deg, var(--blush), var(--peach)); }
.tile-link:active { background: #f5e8e1; }

/* ---- Operator console ---- */
.op-list { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 14px; }
.op-row { border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow); padding: 16px 18px; }
.op-row-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.op-row-head strong { font-family: "Fraunces", serif; font-size: 1.1rem; }
.op-row-head em { color: var(--muted); font-style: normal; text-transform: capitalize; }
.op-row-head a { word-break: break-all; font-size: .88rem; }
.op-row-actions { display: flex; gap: 8px; flex-shrink: 0; }
/* Compact, inline action buttons override the global full-width button. */
.op-row-actions button { margin: 0; width: auto; padding: 9px 15px; font-size: .9rem; border-radius: 10px; }
/* Only the first action (Publish) is primary; the rest are secondary. */
.op-row-actions button:not(:first-child) { background: #fff; color: var(--bronze);
  border: 1px solid var(--gold); box-shadow: none; }
.op-qr { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.op-qr-code { display: inline-block; padding: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; line-height: 0; }
.op-qr-cap { margin: 10px 0 2px; font-size: .85rem; }
/* Theme preview swatches in the edit panel. */
.e-themes { border: 0; padding: 0; margin: 14px 0 4px; }
.e-themes legend { padding: 0; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.swatch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.theme-swatch { display: flex; align-items: center; gap: 10px; width: auto; margin: 0; padding: 9px 12px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: none;
  font-size: .9rem; cursor: pointer; transition: border-color .15s ease; }
.theme-swatch:hover { filter: none; border-color: var(--gold); }
.theme-swatch.is-selected { border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.theme-swatch .dots { display: flex; border-radius: 6px; overflow: hidden; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.theme-swatch .dots span { width: 15px; height: 22px; display: block; }
.theme-swatch .tlabel { font-family: "Fraunces", serif; }
.op-edit { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); box-shadow: none; }
.op-edit label { font-weight: 500; color: var(--ink); }
.op-features { border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px 12px; margin: 14px 0 4px; }
.op-features legend { padding: 0 6px; font-size: .85rem; color: var(--muted); }
.op-features label { display: inline-flex; align-items: center; gap: 8px; margin: 6px 16px 2px 0; font-weight: 400; }
.op-features input { width: auto; margin: 0; }
.e-status { display: block; margin-top: 10px; text-align: left; }
/* Text-style buttons (sign out, "not you?"). */
.linklike { width: auto; margin: 16px 0 0; background: none; box-shadow: none; color: var(--bronze);
  border: none; text-decoration: underline; font-size: .95rem; font-weight: 400; padding: 6px 0; }
.linklike:hover { filter: none; color: var(--ink); }

/* Form select (theme picker, etc.). */
select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 1.05rem; background: #fff; font-family: inherit; color: var(--ink); }
select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

/* ============================================================
   Theme presets — each overrides the :root palette. The default
   (dusty-blue) lives in :root; [data-theme] is set per wedding by
   js/apply-theme.js from the wedding's `theme` column.
   ============================================================ */
[data-theme="champagne"] {
  --cream: #f6efe4; --champagne: #e7d7bf; --blush: #d8c4b6; --peach: #e9cfa8;
  --gold: #c2a05b; --bronze: #9a7b43; --ink: #33302b; --muted: #5a5249; --line: #e3dccf;
  --foil: linear-gradient(135deg, var(--bronze), var(--gold) 50%, #d9bd86 72%, var(--bronze));
  --foil-btn: linear-gradient(135deg, #6f5320, var(--bronze) 42%, #ad883c 100%);
  --shadow: none;
}
[data-theme="sage"] {
  --cream: #f1f4ee; --champagne: #dde6d4; --blush: #e7d3b8; --peach: #ecd0a2;
  --gold: #788d63; --bronze: #586b46; --ink: #2f352b; --muted: #565e4d; --line: #dde4d5;
  --foil: linear-gradient(135deg, var(--bronze), var(--gold) 50%, #a9bb8f 72%, var(--bronze));
  --foil-btn: linear-gradient(135deg, #44542f, var(--bronze) 42%, #7d9266 100%);
  --shadow: none;
}
[data-theme="blush"] {
  --cream: #faf1f0; --champagne: #f1dad8; --blush: #e7b9b0; --peach: #f2c9a6;
  --gold: #bd6f6a; --bronze: #9c534f; --ink: #3a2c2b; --muted: #6c5755; --line: #ecd6d3;
  --foil: linear-gradient(135deg, var(--bronze), var(--gold) 50%, #e0a39c 72%, var(--bronze));
  --foil-btn: linear-gradient(135deg, #7d3f3c, var(--bronze) 42%, #c47e79 100%);
  --shadow: none;
}

/* Product chrome — the brand identity for the MARKETING site and OPERATOR console.
   Deliberately distinct from the wedding themes: warm ivory, charcoal ink, one
   earthy terracotta accent. Applied via <body class="chrome">. */
body.chrome {
  --cream: #f8f5ef; --champagne: #efe9dc; --blush: #e4d7c2; --peach: #e8d8b8;
  --gold: #a07d3c; --bronze: #7c6230; --ink: #232027; --muted: #6a6258; --line: #e6ded0;
  --foil: linear-gradient(135deg, #7c6230, #a07d3c 50%, #c6a662 72%, #7c6230);
  --foil-btn: linear-gradient(135deg, #2b2730, #3a3540 60%, #4a4350);
  --shadow: none;
}

/* ============================================================
   Marketing homepage (index.html) — editorial redesign
   ============================================================ */
body.chrome {
  --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-6: 1.5rem; --sp-8: 2rem;
  --rad-sm: 8px; --rad: 12px; --rad-lg: 20px;
  --maxw: 1120px;
  --shadow-soft: 0 1px 3px rgba(41,35,30,.06), 0 10px 34px rgba(41,35,30,.08);
}

/* Buttons */
.btn-link { display: inline-block; padding: 15px 28px; border-radius: var(--rad); background: var(--foil-btn);
  color: #fff; text-decoration: none; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.02rem;
  letter-spacing: .01em; border: 0; cursor: pointer;
  transition: transform .15s cubic-bezier(.16,1,.3,1), box-shadow .15s ease, filter .15s ease; }
.btn-link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(35,32,39,.28); }
.btn-link:active { transform: translateY(0) scale(.99); }
.btn-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--bronze); border: 1px solid var(--gold); box-shadow: none; }
.btn-ghost:hover { background: var(--champagne); box-shadow: none; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-light { background: #fff; color: var(--bronze); }
.btn-light:hover { box-shadow: 0 8px 22px rgba(0,0,0,.25); }

/* Shared editorial bits */
.eyebrow { font-family: "EB Garamond", serif; text-transform: uppercase; letter-spacing: .18em;
  font-size: .74rem; font-weight: 500; color: var(--gold); margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 6vw, 56px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-h2 { font-size: clamp(2rem, 5.5vw, 3rem); line-height: 1.08; margin: 0; letter-spacing: -.01em; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.1rem; margin: 14px 0 0; }

/* Top nav */
.nav { display: flex; align-items: center; gap: var(--sp-6); max-width: var(--maxw); margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 40px); }
.nav-brand { font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.nav-links { display: flex; gap: var(--sp-8); margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .98rem; opacity: .8; transition: opacity .15s ease; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 720px) { .nav-links { display: none; } .nav { gap: var(--sp-4); } }

/* Hero — flat, asymmetric */
.mkt-hero { max-width: var(--maxw); margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 40px) clamp(48px, 8vw, 96px);
  display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero-text { max-width: 600px; }
.hero-h1 { font-size: clamp(2.8rem, 8vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; text-align: left; }
.hero-lede { font-family: "EB Garamond", serif; font-style: italic; font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  line-height: 1.4; color: var(--ink); opacity: .9; margin: 0 0 30px; max-width: 32ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin: 24px 0 0; color: var(--muted); font-size: .98rem; letter-spacing: .01em; }
.hero-trust strong { color: var(--bronze); }
.hero-visual { display: flex; justify-content: center; }
@media (min-width: 880px) {
  .mkt-hero { grid-template-columns: 1.08fr .92fr; }
  .hero-visual { justify-content: flex-end; }
}

/* Product mockup — a phone cradling a sample wedding app. */
.pm { --pm-bg: #eef3f7; width: min(278px, 76vw); aspect-ratio: 9 / 18.5; background: #1d1b18;
  border-radius: 40px; padding: 9px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), var(--shadow-soft); position: relative; }
.pm::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 6px; border-radius: 99px; background: #000; opacity: .55; z-index: 3; }
.pm-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--pm-bg); position: relative; }
.pm-frame { position: absolute; top: 0; left: 0; width: 390px; height: 1400px; border: 0; display: block;
  pointer-events: none; background: #f7eef0; transform-origin: top left; --pm-scale: .667; will-change: transform;
  animation: pmScroll 13s ease-in-out infinite; }
@keyframes pmScroll {
  0%, 18%   { transform: scale(var(--pm-scale)) translateY(0); }
  48%, 64%  { transform: scale(var(--pm-scale)) translateY(-355px); }
  94%, 100% { transform: scale(var(--pm-scale)) translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .pm-frame { animation: none; transform: scale(var(--pm-scale)); } }

/* Alternating feature rows */
.feats { max-width: var(--maxw); margin: clamp(48px, 9vw, 96px) auto; padding: 0 clamp(18px, 4vw, 40px);
  display: flex; flex-direction: column; gap: clamp(44px, 7vw, 84px); }
.feat { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.feat-photo { aspect-ratio: 4 / 5; border-radius: var(--rad-lg); background: var(--champagne) center / cover no-repeat;
  box-shadow: var(--shadow-soft); }
.feat-body h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 14px; }
.feat-body p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin: 0; max-width: 42ch; }
@media (min-width: 760px) {
  .feat { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); }
  .feat-photo { aspect-ratio: 1 / 1; }
  .feat--reverse .feat-photo { order: 2; }
}

/* Soft band — how it works */
.band-soft { background: var(--champagne); padding: clamp(56px, 9vw, 104px) clamp(18px, 4vw, 40px);
  margin: clamp(48px, 9vw, 96px) 0; }
.steps { list-style: none; max-width: var(--maxw); margin: 0 auto; padding: 0;
  display: grid; gap: clamp(28px, 4vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding-top: 6px; }
.step-n { font-family: "Fraunces", serif; font-size: 3.4rem; font-weight: 500; color: var(--gold);
  opacity: .32; line-height: .8; display: block; margin-bottom: 12px; }
.steps h3 { font-size: 1.3rem; margin: 0 0 8px; }
.steps p { color: var(--muted); margin: 0; line-height: 1.6; max-width: 34ch; }

/* Themes showcase */
.themes { max-width: var(--maxw); margin: clamp(48px, 9vw, 96px) auto; padding: 0 clamp(18px, 4vw, 40px); }
.themes-stage { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.chips { display: flex; flex-wrap: nowrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 1px solid var(--line);
  border-radius: var(--rad-sm); background: #fff; font-family: "EB Garamond", serif; font-size: 1rem; color: var(--ink);
  cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.chip:hover { transform: translateY(-2px); border-color: var(--gold); }
.chip.is-active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(160,125,60,.22); }
.chip-bar { display: inline-flex; border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.chip-bar i { width: 14px; height: 22px; display: block; }
.pm--preview { margin-top: 8px; }
.chip-label { display: inline; }
@media (max-width: 700px) {
  .chips { gap: 10px; }
  .chip { padding: 8px; gap: 0; }
  .chip-label { display: none; }
  .chip-bar i { width: 16px; height: 28px; }
}

/* Origin-story pull-quote */
.story { max-width: 760px; margin: clamp(48px, 9vw, 96px) auto; padding: 0 clamp(24px, 5vw, 40px); text-align: center; }
.quote-mark { font-family: "Fraunces", serif; font-size: 5rem; line-height: 0; color: var(--gold); opacity: .4;
  margin: 0 0 4px; height: 2rem; }
.quote { font-family: "Fraunces", serif; font-size: clamp(1.5rem, 4vw, 2.2rem); font-style: italic; line-height: 1.32;
  color: var(--ink); margin: 0; letter-spacing: -.005em; }
.quote-by { color: var(--muted); margin-top: 22px; font-size: 1rem; letter-spacing: .04em; }

/* Pricing */
.pricing { max-width: var(--maxw); margin: clamp(48px, 9vw, 96px) auto; padding: 0 clamp(18px, 4vw, 40px); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 700px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: #fff; border: 1px solid var(--line);
  border-radius: var(--rad-lg); padding: clamp(32px, 5vw, 48px); box-shadow: var(--shadow-soft); text-align: center; }
.price-card--premium { background: var(--cream); border-style: dashed; position: relative; }
.price-badge { display: inline-block; background: var(--foil-btn); color: #fff; font-family: "Fraunces", serif;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 14px;
  border-radius: 99px; margin-bottom: 16px; }
.price-tier { font-family: "Fraunces", serif; font-size: 1.05rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .12em; margin: 0 0 6px; }
.price-amount { font-family: "Fraunces", serif; font-size: clamp(3.4rem, 9vw, 4.6rem); font-weight: 500;
  line-height: 1; color: var(--ink); margin: 0; }
.price-amount--tba { color: var(--muted); font-size: clamp(2.4rem, 6vw, 3.2rem); }
.price-cur { font-size: .5em; vertical-align: super; color: var(--gold); margin-right: 2px; }
.price-note { color: var(--muted); margin: 6px 0 24px; letter-spacing: .02em; }
.price-list { list-style: none; margin: 0 0 28px; padding: 0; text-align: left; display: grid; gap: 12px; }
.price-list li { position: relative; padding-left: 30px; color: var(--ink); line-height: 1.4; }
.price-list li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--foil-btn); }
.price-card--premium .price-list li { color: var(--muted); }
.price-card--premium .price-list li::before { opacity: 0.35; }

/* FAQ */
.faq { max-width: 760px; margin: clamp(48px, 9vw, 96px) auto; padding: 0 clamp(18px, 4vw, 40px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-family: "Fraunces", serif;
  font-size: 1.15rem; color: var(--ink); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: "EB Garamond", serif; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p { margin: 0 0 22px; color: var(--muted); line-height: 1.6; max-width: 60ch; }

/* Dark closing band (optional photo backdrop, degrades to flat ink) */
.band-dark { background: var(--ink); color: var(--cream); margin-top: clamp(48px, 9vw, 96px);
  padding: clamp(64px, 11vw, 120px) clamp(18px, 4vw, 40px);
  background-image: linear-gradient(rgba(41,35,30,.78), rgba(41,35,30,.86)), url('assets/cta-night.png');
  background-size: cover; background-position: center; }
.band-dark-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.band-dark h2 { color: var(--cream); font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
.band-dark p { color: var(--cream); opacity: .82; font-size: 1.15rem; margin: 0 0 28px; }

/* Footer */
.mkt-footer { text-align: center; padding: clamp(48px, 8vw, 72px) 20px; border-top: 1px solid var(--line); }
.mkt-footer-brand { font-family: "Fraunces", serif; font-size: 1.5rem; margin-bottom: 16px; }
.mkt-footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.mkt-footer-links a { color: var(--bronze); text-decoration: none; font-size: .98rem; opacity: .85; }
.mkt-footer-links a:hover { opacity: 1; text-decoration: underline; }
.mkt-footer .copyright { margin: 0; color: var(--muted); }

/* Photo tile — shared by the guestbook photo button and album grid items */
.tile { position: relative; margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  outline: 2px solid transparent; outline-offset: -2px;
  transition: outline-color .15s ease, box-shadow .15s ease; }

/* ============================================================
   Couple editor (edit.html) — scoped to .edit-page (operator tool unaffected)
   ============================================================ */
.edit-wrap { max-width: 560px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) 18px 80px; }
.edit-head { text-align: center; margin-bottom: 26px; }
.edit-head .eyebrow { justify-content: center; margin-bottom: 10px; }
.edit-head h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); margin: 0 0 14px; }
.edit-status-pill { display: inline-flex; align-items: center; gap: 8px; font-family: "EB Garamond", serif;
  font-size: .9rem; color: var(--muted); padding: 5px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.edit-status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.edit-status-pill.is-live { color: #3c7a3c; border-color: #c4e0c4; background: #f4faf4; }
.edit-status-pill.is-live::before { background: #3c8a3c; }

.edit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg);
  padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-soft); }
.edit-intro { margin: 0 0 18px; line-height: 1.5; }

.edit-page .field { margin: 0 0 18px; }
.edit-page .field > label { display: block; margin: 0 0 7px; font-size: .92rem; font-weight: 500;
  color: var(--ink); letter-spacing: 0; }
.edit-page .set-tag { color: #3c7a3c; font-size: .82rem; font-weight: 400; }
.edit-page input[type=text], .edit-page input[type=email], .edit-page input[type=date] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--rad);
  background: #fff; font-family: "EB Garamond", serif; font-size: 1.02rem; color: var(--ink); }
.edit-page input[type=text]:focus, .edit-page input[type=email]:focus, .edit-page input[type=date]:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

.edit-section-label { font-family: "EB Garamond", serif; text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; color: var(--gold); margin: 28px 0 13px; }
.edit-form .edit-section-label:first-child { margin-top: 0; }

/* Theme swatches (scoped refine of the shared .theme-swatch markup edit.js builds) */
.edit-page .swatch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.edit-page .theme-swatch { display: flex; align-items: center; gap: 11px; width: auto; margin: 0; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--rad); background: #fff; box-shadow: none; cursor: pointer;
  font-family: "Fraunces", serif; font-weight: 500; font-size: .98rem; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.edit-page .theme-swatch:hover { border-color: var(--gold); transform: translateY(-1px); filter: none; }
.edit-page .theme-swatch.is-selected { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(160,125,60,.22); }
.edit-page .theme-swatch .dots { display: inline-flex; border-radius: 5px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); flex: 0 0 auto; }
.edit-page .theme-swatch .dots span { width: 13px; height: 22px; display: block; }

/* File inputs */
.edit-page input[type=file] { width: 100%; font-family: "EB Garamond", serif; font-size: .95rem; color: var(--muted); }
.edit-page input[type=file]::file-selector-button { font-family: "Fraunces", serif; font-weight: 600; font-size: .9rem;
  color: #fff; background: var(--foil-btn); border: 0; border-radius: var(--rad-sm); padding: 9px 16px; margin-right: 12px; cursor: pointer; }

/* Section toggles */
.edit-page .toggles { display: flex; flex-direction: column; gap: 13px; }
.edit-page .toggle { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 1.02rem; color: var(--ink);
  font-family: "EB Garamond", serif; cursor: pointer; }
.edit-page .toggle input { width: 19px; height: 19px; accent-color: var(--gold); margin: 0; cursor: pointer; }

/* Slug input-group */
.edit-page .slug-row { display: flex; align-items: stretch; border: 1px solid var(--line);
  border-radius: var(--rad); overflow: hidden; background: #fff; }
.edit-page .slug-row:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(160,125,60,.18); }
.edit-page .slug-mid { display: flex; align-items: center; padding: 0 8px; background: var(--cream);
  color: var(--muted); font-size: .95rem; white-space: nowrap; }
.edit-page .slug-row input { flex: 1; min-width: 0; border: 0; border-radius: 0; padding: 12px 14px 12px 6px;
  background: #fff; font-family: "EB Garamond", serif; font-size: 1.02rem; color: var(--ink); }
.edit-page .slug-row input:focus { outline: none; }
.edit-page .field-hint { margin: 7px 0 0; font-size: .84rem; color: var(--muted); word-break: break-all; }

/* Save + actions */
.edit-page .edit-save { margin-top: 28px; }
.edit-page #edit-status, .edit-page #gate-status { margin-top: 14px; }
.edit-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.edit-page .edit-actions .btn-link { width: auto; margin: 0; padding: 11px 22px; font-size: .98rem; }
.edit-page .linklike { width: auto; margin: 0 0 0 auto; padding: 0; font-family: "EB Garamond", serif; }
.edit-live { text-align: center; margin: 18px 0 0; font-size: .92rem; }
.edit-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 20px; }
.edit-support { text-align: center; padding: 32px 18px 48px; font-size: .9rem; color: var(--muted); }
.edit-support a { color: var(--bronze); }


/* ============================================================
   Live slideshow / venue wall (wall.html)
   ============================================================ */
.wall { margin: 0; background: #111; color: #fff; height: 100dvh; overflow: hidden; }
.wall .slide { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  flex-direction: column; opacity: 0; transition: opacity 1.2s cubic-bezier(.4,0,.2,1); padding: 5vw; text-align: center; }
.wall .slide.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .wall .slide { transition: opacity .2s linear; } }
.wall .slide .frame { max-width: 90vw; max-height: 70vh; overflow: hidden; border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.wall .slide.has-cap .frame, .wall .slide.has-cap .frame img { max-height: 56vh; }
.wall .slide .frame img { display: block; max-width: 90vw; max-height: 70vh; object-fit: contain; will-change: transform; animation: kb1 14s ease-out both; }
.wall .slide.kb2 .frame img { animation-name: kb2; }
.wall .slide.kb3 .frame img { animation-name: kb3; }
.wall .slide.kb4 .frame img { animation-name: kb4; }
@keyframes kb1 { from { transform: scale(1) translate(0,0); } to { transform: scale(1.08) translate(-2%,-1.5%); } }
@keyframes kb2 { from { transform: scale(1.08) translate(2%,1.5%); } to { transform: scale(1) translate(0,0); } }
@keyframes kb3 { from { transform: scale(1) translate(2%,-1%); } to { transform: scale(1.08) translate(-1.5%,1.5%); } }
@keyframes kb4 { from { transform: scale(1.06) translate(-2%,1%); } to { transform: scale(1.02) translate(2%,-1.5%); } }
@media (prefers-reduced-motion: reduce) { .wall .slide .frame img { animation: none; } }
.wall .slide .msg { font-family: "Fraunces", serif; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.3; max-width: 80vw; }
.wall .slide .cap { margin-top: 18px; font-family: "EB Garamond", serif; font-size: clamp(1.2rem, 3vw, 1.7rem); max-width: 80vw; color: #fff; }
.wall .slide .who { margin-top: 14px; font-family: "EB Garamond", serif; font-style: italic; font-size: clamp(1rem, 2.2vw, 1.3rem); color: #e7c9a0; }
.wall .just-posted { position: fixed; top: 26px; left: 50%; transform: translateX(-50%); font-family: "EB Garamond", serif;
  font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: #f3ddbd; background: rgba(0,0,0,.4); padding: 7px 18px; border-radius: 999px; }
.wall-empty { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 8vw; font-family: "Fraunces", serif; font-size: clamp(1.3rem, 3.5vw, 1.8rem); color: #cbb89a; }
.wall-empty[hidden] { display: none; }
.fs-btn { position: fixed; right: 18px; bottom: 18px; z-index: 10; margin: 0; width: auto; padding: 10px 18px; font-size: 1rem;
  font-family: "EB Garamond", serif; background: rgba(0,0,0,.45); color: #fff; border: 1px solid #cbb89a; border-radius: 999px; box-shadow: none; cursor: pointer; transition: opacity .4s ease; }
.fs-btn.hidden { opacity: 0; pointer-events: none; }
.wall-exit { position: fixed; top: 18px; right: 18px; z-index: 10; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; text-decoration: none; font-size: 1.35rem; line-height: 1; background: rgba(0,0,0,.45); color: #fff; border: 1px solid #cbb89a; transition: opacity .4s ease; }
.wall-exit.hidden { opacity: 0; pointer-events: none; }
/* ============================================================
   Programmatic-SEO landing pages (/<slug>/) — scoped to .seo-page
   ============================================================ */
.seo-page main { max-width: 820px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.seo-hero { text-align: center; padding: clamp(36px, 7vw, 80px) 0 clamp(20px, 4vw, 36px); }
.seo-hero .eyebrow { justify-content: center; }
.seo-hero h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); line-height: 1.06; letter-spacing: -.02em; margin: 14px 0 18px; }
.seo-hero .lede { font-family: "EB Garamond", serif; font-style: italic; font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--ink); opacity: .9; max-width: 32ch; margin: 0 auto 26px; line-height: 1.4; }
.seo-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.seo-trust { margin-top: 22px; color: var(--muted); font-size: .98rem; }
.seo-trust strong { color: var(--bronze); }
.seo-body { padding: clamp(12px, 3vw, 28px) 0; }
.seo-body .blk { max-width: 660px; margin: 0 auto clamp(22px, 4vw, 36px); }
.seo-body h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 10px; }
.seo-body p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; margin: 0; }
.seo-band { background: var(--ink); color: var(--cream); border-radius: var(--rad-lg); text-align: center;
  padding: clamp(36px, 6vw, 56px) 24px; margin: clamp(24px, 5vw, 48px) 0; }
.seo-band h2 { color: var(--cream); font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 8px; letter-spacing: -.01em; }
.seo-band p { color: var(--cream); opacity: .82; margin: 0 0 22px; font-size: 1.02rem; }
.seo-related { padding: clamp(24px, 5vw, 44px) 0 clamp(40px, 7vw, 72px); border-top: 1px solid var(--line); }
.seo-related h2 { text-align: center; font-size: 1.4rem; margin: 0 0 22px; }
.seo-related-grid { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 720px; margin: 0 auto; }
@media (min-width: 620px) { .seo-related-grid { grid-template-columns: 1fr 1fr; } }
.seo-related-grid a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--rad);
  color: var(--ink); text-decoration: none; font-family: "Fraunces", serif; font-size: 1rem;
  transition: border-color .15s ease, transform .15s ease; }
.seo-related-grid a:hover { border-color: var(--gold); transform: translateY(-1px); }
