/* ==========================================================================
   First Missionary Baptist Church of Fernandina Beach
   Design system v3, "Editorial": Boska + General Sans (self-hosted),
   red field with weathered texture, paper, terracotta secondary sections, rose gold hairlines.
   No build step. Edit tokens in :root.
   ========================================================================== */

/* Self-hosted type: Boska and General Sans by Indian Type Foundry, via Fontshare (ITF Free Font License). */
@font-face { font-family: 'Boska'; src: url('../fonts/boska-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Boska'; src: url('../fonts/boska-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Boska'; src: url('../fonts/boska-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Boska'; src: url('../fonts/boska-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- 0. Tokens ---------- */
:root {
  --field: #8E0E12;
  --field-2: #A5131A;
  --deep: #640A0E;
  --burgundy: #8A0A0A;
  --wine: #A61212;
  --red: #C80000;
  --red-bright: #E01010;
  --terra: #8F4A2E;
  --terra-deep: #6E3621;
  --terra-light: #A85A3B;
  --ink-warm: #1C1517;
  --ink-warm-2: #2A2124;
  --gold: #D9A48C;
  --gold-light: #E8BBA6;
  --gold-deep: #A4654A;
  --paper: #F3ECDF;
  --paper-2: #EBE2D2;
  --ivory: #FBF8F2;
  --ink: #1C1216;
  --ink-soft: #4A3A3E;
  --muted: #857579;
  --hair: rgba(217, 164, 140, .36);
  --hair-strong: rgba(217, 164, 140, .66);
  --hair-dark: rgba(28, 18, 22, .14);

  --serif: "Boska", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "General Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --fs-display: clamp(3.4rem, 8vw, 7.8rem);
  --fs-h1: clamp(2.9rem, 6.2vw, 5.6rem);
  --fs-h2: clamp(2.3rem, 4.4vw, 4rem);
  --fs-h3: clamp(1.5rem, 2.2vw, 2rem);
  --fs-lead: clamp(1.08rem, 1.4vw, 1.25rem);
  --fs-body: 1.0625rem;

  --container: 1300px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(5rem, 10vw, 9.5rem);
  --radius: 2px;
  --ease-out: cubic-bezier(.2, .65, .2, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 84px;
}

@property --glow-a { syntax: "<number>"; inherits: false; initial-value: 0; }

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; font-family: var(--serif); line-height: 1; letter-spacing: -.025em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--gold); color: var(--ink); padding: .7rem 1rem; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 240ms ease-out both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 2. Typography ---------- */
.kicker { font: 500 .92rem/1.4 var(--sans); color: var(--gold-deep); margin: 0 0 1.4rem; }
.dark .kicker { color: var(--gold-light); }
.terra .kicker { color: rgba(243, 236, 223, .85); }
.display { font-size: var(--fs-display); line-height: .92; }
.h1 { font-size: var(--fs-h1); line-height: .95; }
.h2 { font-size: var(--fs-h2); line-height: .98; }
.h3 { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: 48ch; }
.dark .lead, .terra .lead { color: rgba(243, 236, 223, .8); }
.cap { font: italic 400 1.1rem/1.4 var(--serif); color: var(--ink-soft); }
.dark .cap, .terra .cap { color: rgba(243, 236, 223, .8); }
.serif { font-family: var(--serif); }
.it { font-style: italic; }
.center { text-align: center; }
.mx { margin-inline: auto; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.dark .muted, .terra .muted { color: rgba(243, 236, 223, .55); }
.label { font: 500 .82rem/1.4 var(--sans); color: var(--gold-deep); }
.dark .label { color: var(--gold-light); }
.terra .label { color: rgba(243, 236, 223, .85); }
.quote { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; }
.dropcap::first-letter { font-family: var(--serif); font-size: 4.4em; float: left; line-height: .78; padding: .1em .12em 0 0; color: var(--burgundy); }
.lnk { color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 1px solid var(--red); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.lnk:hover { color: var(--gold-deep); border-color: transparent; }
.dark .lnk { border-color: var(--gold); }
.terra .lnk { border-color: rgba(243, 236, 223, .7); }
.dark .lnk:hover, .terra .lnk:hover { color: var(--gold-light); }
.lnk-arrow { display: inline-flex; align-items: center; gap: .5rem; }
.lnk-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.lnk-arrow:hover svg { transform: translateX(4px); }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .55); }
.dark { background-color: var(--field); background-image: radial-gradient(90% 70% at 15% 0%, rgba(255, 255, 255, .08), transparent 60%), radial-gradient(70% 60% at 100% 100%, rgba(0, 0, 0, .28), transparent 65%); color: var(--paper); }
.deep { background-color: var(--deep); color: var(--paper); }
.terra { background-color: var(--terra); background-image: radial-gradient(90% 70% at 85% 0%, var(--terra-light), transparent 60%); color: var(--paper); }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.grid { display: grid; gap: clamp(1.5rem, 4vw, 4.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: 1fr 1fr; align-items: center; }
.grid--wide { grid-template-columns: 1.15fr .85fr; align-items: center; }
.grid--aside { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; }
.stack > * + * { margin-top: var(--stack, 1.25rem); }
.cluster { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.head .lead { margin-top: 1.4rem; }
.rule { border: 0; border-top: 1px solid var(--hair-strong); margin: 0; }
.rule--dark { border-color: var(--hair-dark); }
.grain { position: relative; isolation: isolate; }
/* Surface finishes. Weathered plaster is reserved for the home hero and the footer; the dark red sections wear a fine linen;
   paper sections carry a faint paper fibre; terracotta and the second paper tone stay clean so the page breathes. */
.grain::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: url("../img/texture.webp"); background-size: 760px; mix-blend-mode: soft-light; opacity: .36; }
.section.dark.grain::before { background-image: url("../img/texture-linen.webp"); background-size: 256px; opacity: .22; }
.phero.grain::before { opacity: .2; }
.terra.grain::before { display: none; }
.paper, .paper-2 { position: relative; isolation: isolate; }
.paper::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: url("../img/texture-paper.webp"); background-size: 512px; mix-blend-mode: multiply; opacity: .35; }
.paper > *, .paper-2 > * { position: relative; z-index: 1; }
.grain > * { position: relative; z-index: 1; }
.glow { --mx: 50%; --my: 40%; }
.glow { background-image: radial-gradient(640px circle at var(--mx) var(--my), rgba(217, 164, 140, var(--glow-a, 0)), transparent 62%); transition: --glow-a .8s ease; }
.glow.is-lit { --glow-a: .10; }
.seam { display: flex; align-items: center; gap: 1.4rem; margin: 0; color: var(--gold); }
.seam::before, .seam::after { content: ""; flex: 1; height: 1px; background: var(--hair-strong); transform: scaleX(0); transition: transform 1.4s var(--ease-in-out); }
.seam::before { transform-origin: right; }
.seam::after { transform-origin: left; }
.seam.is-in::before, .seam.is-in::after { transform: scaleX(1); }
.seam svg { width: 24px; height: 24px; flex: none; }

/* vertical rail with rotated label (dark heroes) */
.rail { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 3rem); bottom: 7rem; width: 1px; background: linear-gradient(var(--gold-light), var(--gold) 40%, transparent); z-index: 2; pointer-events: none; }
.rail__label { position: absolute; left: calc(var(--gutter) - .55rem); top: 46%; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; font: 500 .72rem/1 var(--sans); letter-spacing: .04em; color: var(--gold-light); white-space: nowrap; z-index: 2; pointer-events: none; }

/* ---------- 4. Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; color: var(--paper); transition: background .5s ease, transform .5s var(--ease-out); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--hair-strong), transparent); opacity: 0; transition: opacity .5s; }
.nav.is-scrolled { background: rgba(120, 12, 16, .9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav.is-scrolled::after { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; }
.brand__mark { width: 38px; height: 38px; color: var(--red-bright); transition: transform .5s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; }
.brand__city { font: 500 .72rem/1 var(--sans); color: var(--gold); margin-top: .35rem; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav__links a { font: 500 .92rem/1 var(--sans); text-decoration: none; color: rgba(243, 236, 223, .82); padding: .5rem 0; position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-in-out); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--paper); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.nav__cta { color: var(--gold); font-weight: 600; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; position: relative; z-index: 130; border: 1px solid rgba(243, 236, 223, .25); }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-in-out), top .3s; }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.menu-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 120; background: var(--deep); color: var(--paper); display: grid; grid-template-rows: 1fr auto; padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem; clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .7s var(--ease-in-out); visibility: hidden; }
.menu-open .menu { clip-path: circle(160% at calc(100% - 44px) 40px); visibility: visible; }
.menu__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; align-self: center; }
.menu__links a { font-family: var(--serif); font-size: clamp(2.6rem, 9vw, 4.6rem); line-height: 1.02; text-decoration: none; display: inline-flex; align-items: baseline; gap: 1rem; opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .6s var(--ease-out); transition-delay: calc(var(--i) * 60ms + 200ms); }
.menu__links a small { font: 500 .8rem/1 var(--sans); color: var(--gold); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; border-top: 1px solid var(--hair); padding-top: 1.5rem; font-size: .92rem; color: rgba(243, 236, 223, .75); }
.menu__foot strong { display: block; font: 500 .8rem/1 var(--sans); color: var(--gold); margin-bottom: .4rem; }
body.menu-open { overflow: hidden; }
/* keep the bar (and its close button) above the open menu */
.menu-open .nav { z-index: 130; transform: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .nav::after { opacity: 0; }
.menu-open .nav__toggle { border-color: rgba(243, 236, 223, .45); }

/* ---------- 5. Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .7rem; padding: 1.05rem 1.75rem; border-radius: 999px; text-decoration: none; font: 600 .95rem/1 var(--sans); white-space: nowrap; border: 1px solid transparent; transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease-out), box-shadow .4s; will-change: transform; }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: #C98B6B; color: var(--ink); box-shadow: 0 14px 34px -16px rgba(201, 139, 107, .7); }
.btn--gold:hover { background: var(--gold); }
.btn--ink { background: var(--burgundy); color: var(--paper); }
.btn--ink:hover { background: var(--red); }
.btn--ghost { border-color: var(--hair-strong); color: var(--paper); }
.btn--ghost:hover { background: rgba(217, 164, 140, .12); }
.btn--line { border-color: var(--hair-dark); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { padding: .8rem 1.3rem; font-size: .85rem; }
.btn.is-loading { pointer-events: none; opacity: .7; }

picture.artdir { display: contents; }

/* ---------- 6. Home hero (Direction A) ---------- */
.hero { position: relative; min-height: 100svh; background-color: var(--field); background-image: radial-gradient(70% 80% at 0% 20%, rgba(255, 255, 255, .07), transparent 60%), radial-gradient(60% 70% at 100% 100%, rgba(0, 0, 0, .32), transparent 65%), linear-gradient(90deg, var(--field) 0%, var(--field-2) 45%, var(--deep) 100%); color: var(--paper); overflow: hidden; isolation: isolate; display: grid; }
.hero__photo { position: absolute; right: 0; top: 0; width: min(70vw, 1100px); height: 100%; object-fit: cover; object-position: 100% 0; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 min(18%, 130px)), linear-gradient(180deg, #000 86%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 min(18%, 130px)), linear-gradient(180deg, #000 86%, transparent 100%); mask-composite: intersect;
  transform: scale(1.04); animation: photo-in 1.8s var(--ease-out) forwards; }
@keyframes photo-in { to { transform: none; } }
.hero__inner { position: relative; z-index: 2; display: grid; align-content: center; min-height: 100svh; padding: calc(var(--nav-h) + 3rem) 0 7.5rem; }
.hero__content { max-width: 720px; padding-left: clamp(0px, 3vw, 3rem); }
.hero__content .display { margin: 0 0 1.6rem; text-wrap: balance; max-width: 10.5ch; }
.hero__content .sub { font: italic 400 clamp(1.25rem, 1.9vw, 1.7rem)/1.35 var(--serif); color: rgba(243, 236, 223, .82); max-width: 24ch; margin: 0 0 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero__bar { position: absolute; left: calc(var(--gutter) + clamp(0px, 3vw, 3rem)); right: var(--gutter); bottom: 2.4rem; z-index: 3; display: flex; flex-wrap: wrap; gap: .6rem 3rem; font-size: .84rem; color: rgba(243, 236, 223, .62); border-top: 1px solid var(--hair); padding-top: 1.1rem; }
.hero__bar b { color: var(--paper); font-weight: 600; margin-right: .45rem; }
.hero__bar strong { color: var(--paper); font-weight: 600; }
.hero__bar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); margin-right: .55rem; vertical-align: middle; animation: dot-pulse 2s infinite; }
.hero__bar .who { margin-left: auto; font: italic 400 .95rem/1.4 var(--serif); color: rgba(243, 236, 223, .7); }
.hero .reveal-up { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 7. Schedule table ---------- */
.table { border-top: 1px solid var(--hair-dark); }
.dark .table, .terra .table { border-color: var(--hair); }
.trow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 160px; gap: 2rem; align-items: baseline; padding: 1.35rem .25rem; border-bottom: 1px solid var(--hair-dark); text-decoration: none; color: inherit; transition: padding-left .4s var(--ease-out), background .4s; }
.dark .trow, .terra .trow { border-color: var(--hair); }
.trow:hover { padding-left: .9rem; background: rgba(217, 164, 140, .06); }
.trow--static:hover { padding-left: .25rem; background: none; }
.trow__lines { display: grid; gap: .35rem; margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); }
.trow__lines b { font-weight: 600; color: var(--ink); margin-right: .35rem; }
.trow__lines a { color: var(--burgundy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--hair-strong); }
.trow__time { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.trow__time small { font-size: .5em; margin-left: .25em; letter-spacing: 0; }
.trow__what { font-size: 1.05rem; line-height: 1.4; }
.trow__what small { display: block; font-size: .88rem; color: var(--muted); margin-top: .2rem; }
.trow__day { text-align: right; font: 500 .9rem/1.4 var(--sans); color: var(--gold-deep); }
.dark .trow__day, .terra .trow__day { color: var(--gold); }
.trow__day .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: .45rem; vertical-align: middle; animation: dot-pulse 2s infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .6); } 70% { box-shadow: 0 0 0 9px rgba(200, 16, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); } }

/* ---------- 8. Portrait bleed sections ---------- */
.bleed { position: relative; overflow: hidden; }
.bleed__photo { position: absolute; top: 0; bottom: 0; width: min(52vw, 820px); height: 100%; object-fit: cover; z-index: 1; }
.bleed__photo--left { left: 0; object-position: 0 0; -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 26%); mask-image: linear-gradient(270deg, transparent 0, #000 26%); }
.bleed__photo--right { right: 0; object-position: 100% 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
.bleed__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; min-height: min(86vh, 860px); align-items: center; }
.bleed__grid--left > div { grid-column: 2; }
.bleed__grid--right > div { grid-column: 1; }

/* numerals row */
.numerals { display: flex; flex-wrap: wrap; gap: 2.2rem 3.4rem; margin: 2.2rem 0; }
.numerals div { font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; }
.numerals span { display: block; font: 500 .82rem/1.4 var(--sans); color: var(--muted); margin-top: .5rem; letter-spacing: 0; }
.dark .numerals span, .terra .numerals span { color: rgba(243, 236, 223, .62); }
.dark .numerals div, .terra .numerals div { color: var(--paper); }

/* framed print */
.print { position: relative; margin: 0; }
.print__mat { background: var(--ivory); padding: clamp(10px, 1.2vw, 16px); border: 1px solid var(--hair-strong); box-shadow: 0 50px 90px -40px rgba(30, 6, 9, .45); }
.dark .print__mat, .terra .print__mat { background: var(--paper); border-color: rgba(243, 236, 223, .5); box-shadow: 0 70px 120px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(0, 0, 0, .2); }
.print--plate { max-width: 460px; margin-left: auto; }
.print--plate .print__mat { padding: clamp(12px, 1.4vw, 18px); }
.print img { width: 100%; height: 100%; object-fit: cover; display: block; }
.print figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font: italic 400 1rem/1.4 var(--serif); color: var(--ink-soft); }
.dark .print figcaption, .terra .print figcaption { color: rgba(243, 236, 223, .75); }
.print figcaption .credit { font: 400 .75rem/1.4 var(--sans); color: var(--muted); font-style: normal; text-align: right; max-width: 40%; }

/* panels (forms, giving, lists) */
.give-row .panel { display: flex; flex-direction: column; align-items: flex-start; }
.give-row .panel > .btn, .give-row .panel > .copy { margin-top: auto; }
.give-row .panel p:not(.handle) { margin-bottom: 1.4rem; }
.handle { font: 600 1.02rem/1.3 var(--sans); color: var(--burgundy); margin: .2rem 0 .7rem; overflow-wrap: anywhere; }
.panel .h3 { overflow-wrap: anywhere; }
.panel { background: var(--ivory); border: 1px solid var(--hair-dark); padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; }
.dark .panel, .terra .panel { background: rgba(243, 236, 223, .05); border-color: var(--hair); color: var(--paper); }
.panel .h3 { margin-bottom: .7rem; }
.panel__num { position: absolute; top: 1.3rem; right: 1.5rem; font: italic 400 1rem/1 var(--serif); color: var(--gold-deep); }
.dark .panel__num, .terra .panel__num { color: var(--gold); }
.panel__icon { width: 34px; height: 34px; color: var(--burgundy); margin-bottom: 1.2rem; }
.dark .panel__icon, .terra .panel__icon { color: var(--gold); }
.panel--link { text-decoration: none; display: block; transition: border-color .4s, transform .5s var(--ease-out); }
.panel--link:hover { border-color: var(--gold); transform: translateY(-4px); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--hair-dark); font-size: .98rem; }
.dark .list li, .terra .list li { border-color: var(--hair); }
.list li:last-child { border-bottom: 0; }
.list b { font: italic 400 1.05rem/1.4 var(--serif); color: var(--gold-deep); }
.dark .list b { color: var(--gold-light); }
.terra .list b { color: rgba(243, 236, 223, .85); }
.list a { text-decoration: none; border-bottom: 1px solid var(--hair); }
.list a:hover { color: var(--gold-deep); }
.dark .list a:hover, .terra .list a:hover { color: var(--gold-light); }

/* next-service line on page heroes */
.next-line { display: flex; align-items: baseline; gap: .6rem; margin: 1.8rem 0 0; font-size: .95rem; line-height: 1.45; color: rgba(243, 236, 223, .72); }
.next-line strong, .next-line b { color: var(--paper); font-weight: 600; }
.next-line .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); transform: translateY(-1px); animation: dot-pulse 2s infinite; }

/* First Lady feature */
.fl { align-items: start; }
.fl__titles { font: italic 400 1.08rem/1.5 var(--serif); color: rgba(243, 236, 223, .78); margin: 1.2rem 0 0; max-width: 46ch; }
.fl__plate { position: sticky; top: calc(var(--nav-h) + 2rem); }
.fl__verse { margin: 0; padding: clamp(1.6rem, 3vw, 2.4rem) 0 0 clamp(1.2rem, 2.5vw, 2rem); border-left: 1px solid var(--gold); color: var(--burgundy); }
.fl__verse .label { display: block; margin-top: 1.2rem; font-style: normal; }
.fl__rolls .h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: .8rem; }
.roll { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-dark); }
.roll li { padding: .85rem 0; border-bottom: 1px solid var(--hair-dark); }
.roll b { display: block; font: 400 1.12rem/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.roll span { display: block; font-size: .9rem; line-height: 1.45; color: var(--muted); margin-top: .2rem; }

/* at a glance */
.glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.glance li { border-top: 1px solid var(--hair-strong); padding: 1.2rem 0 1.6rem; }
.glance b { display: block; font: 500 .82rem/1.4 var(--sans); color: var(--gold-deep); margin-bottom: .4rem; }
.glance span { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: end; }
.plates .print:first-child { transform: translateY(2rem); }

/* pills */
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border-radius: 999px; font: 500 .82rem/1 var(--sans); border: 1px solid var(--hair-strong); color: var(--gold-deep); text-decoration: none; }
.dark .pill, .terra .pill { color: var(--gold-light); }
.pill--solid { background: var(--gold); color: var(--ink); border-color: transparent; }

/* timeline */
.tl { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 5rem); position: relative; }
.tl__aside { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.tl__year { font-family: var(--serif); font-size: clamp(4rem, 8vw, 7.5rem); line-height: .9; letter-spacing: -.03em; color: var(--burgundy); transition: opacity .35s; }
.tl__year.is-swapping { opacity: 0; }
.tl__aside .cap { display: block; margin-top: 1rem; }
.tl__list { position: relative; margin: 0; padding: 0 0 0 2.4rem; list-style: none; }
.tl__list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.tl__progress { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--red); transform: scaleY(0); transform-origin: top; }
.tl__item { position: relative; padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.tl__item::before { content: ""; position: absolute; left: calc(-2.4rem - 5px); top: .5rem; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); transition: background .4s, transform .4s; }
.tl__item.is-active::before { background: var(--red); border-color: var(--red); transform: scale(1.35); box-shadow: 0 0 0 6px rgba(200, 16, 46, .12); }
.tl__item .label { display: block; margin-bottom: .5rem; }
.tl__item .h3 { margin-bottom: .6rem; }
.tl__item p { max-width: 58ch; color: var(--ink-soft); }
.tl__item--now .h3 { color: var(--red); }

/* thermostat dial */
.thermo { --warmth: .35; background-image: radial-gradient(60% 55% at 50% 62%, rgba(255, 220, 190, calc(var(--warmth) * .38)) 0%, transparent 70%), radial-gradient(90% 70% at 85% 0%, var(--terra-light), transparent 60%), linear-gradient(180deg, var(--terra), var(--terra-deep)); transition: background .4s; }
.dial { position: relative; width: min(300px, 70vw); aspect-ratio: 1; margin-inline: auto; user-select: none; touch-action: none; }
.dial__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial__track { fill: none; stroke: rgba(243, 236, 223, .14); stroke-width: 3; stroke-linecap: round; }
.dial__fill { fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .15s linear; filter: drop-shadow(0 0 8px rgba(217, 164, 140, .6)); }
.dial__ticks line { stroke: rgba(243, 236, 223, .28); stroke-width: 1; }
.dial__knob { position: absolute; inset: 20%; border-radius: 50%; cursor: grab; background: radial-gradient(circle at 35% 30%, var(--terra-light), var(--terra-deep) 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 24px 40px -18px rgba(0, 0, 0, .8), 0 0 0 1px var(--hair); display: grid; place-items: center; text-align: center; }
.dial__knob:active { cursor: grabbing; }
.dial__knob::before { content: ""; position: absolute; top: 10px; left: 50%; width: 3px; height: 16px; background: var(--paper); border-radius: 2px; transform: translateX(-50%); }
.dial__readout { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--paper); }
.dial__readout sup { font-size: .45em; color: var(--gold-light); vertical-align: top; }
.dial__label { font: 500 .78rem/1 var(--sans); color: rgba(243, 236, 223, .85); margin-top: .5rem; }
.thermo__hint { text-align: center; margin-top: 1.4rem; font-size: .95rem; color: rgba(243, 236, 223, .7); }
.thermo__hint strong { color: var(--gold-light); }

/* video */
.player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep); border: 1px solid var(--hair); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__facade { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--paper); background: radial-gradient(60% 60% at 50% 45%, rgba(100, 10, 14, .95), rgba(40, 4, 6, .98)); cursor: pointer; }
.player__facade .play { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--hair-strong); display: grid; place-items: center; margin-bottom: 1.1rem; transition: transform .5s var(--ease-out), background .4s; }
.player__facade .play svg { width: 24px; height: 24px; margin-left: 4px; color: var(--gold-light); }
.player__facade:hover .play { transform: scale(1.08); background: rgba(217, 164, 140, .15); }
.vid { text-decoration: none; color: inherit; display: block; }
.vid__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep); border: 1px solid var(--hair-dark); }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.vid:hover .vid__thumb img { transform: scale(1.05); }
.vid__title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; margin-top: .9rem; }
.vid__date { font-size: .82rem; color: var(--muted); margin-top: .3rem; }

/* give */
.give-card { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; }
.give-card .qr { width: 112px; height: auto; aspect-ratio: 1; border: 1px solid var(--hair-dark); background: #fff; padding: 6px; }
.copy { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1rem .6rem 1.1rem; border-radius: 999px; border: 1px dashed var(--hair-strong); font: 600 .9rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--burgundy); transition: background .3s, border-style .3s; }
.copy:hover { background: rgba(217, 164, 140, .12); border-style: solid; }
.copy svg { width: 16px; height: 16px; color: var(--gold-deep); }
.copy.is-done { border-color: var(--red); color: var(--red); }
.dark .copy, .terra .copy { color: var(--gold-light); border-color: var(--hair-strong); }
.dark .copy svg, .terra .copy svg { color: var(--gold); }

/* forms */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font: 500 .82rem/1 var(--sans); color: var(--gold-deep); }
.dark .field label, .terra .field label { color: var(--gold); }
.field input, .field textarea, .field select { width: 100%; font: 400 1rem/1.4 var(--sans); color: inherit; background: rgba(255, 255, 255, .6); border: 1px solid var(--hair-dark); border-radius: var(--radius); padding: .95rem 1rem; transition: border-color .3s, box-shadow .3s, background .3s; }
.dark .field input, .dark .field textarea, .dark .field select, .terra .field input, .terra .field textarea, .terra .field select { background: rgba(255, 255, 255, .05); border-color: var(--hair); color: var(--paper); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 164, 140, .18); background: #fff; }
.dark .field input:focus, .dark .field textarea:focus, .dark .field select:focus { background: rgba(255, 255, 255, .08); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A4654A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__status { display: none; padding: 1.2rem 1.4rem; border: 1px solid var(--hair-strong); background: rgba(217, 164, 140, .1); font-weight: 500; }
.form__status.is-shown { display: block; }
.form__status.is-error { border-color: rgba(200, 16, 46, .4); background: rgba(200, 16, 46, .06); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* accordion */
.acc { border-top: 1px solid var(--hair-dark); }
.acc details { border-bottom: 1px solid var(--hair-dark); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem .2rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; letter-spacing: -.01em; transition: color .3s, padding-left .4s var(--ease-out); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--burgundy); padding-left: .6rem; }
.acc summary .plus { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid var(--hair-strong); border-radius: 50%; }
.acc summary .plus::before, .acc summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--gold-deep); transform: translate(-50%, -50%); transition: transform .4s var(--ease-in-out); }
.acc summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__body { padding: 0 .2rem 1.5rem; color: var(--ink-soft); max-width: 62ch; }
.acc__body p:last-child { margin-bottom: 0; }

/* announcements and events */
.ann { border-top: 1px solid var(--hair); }
.ann__item { padding: 1.4rem .25rem; display: grid; grid-template-columns: 130px 1fr; gap: 1.4rem; align-items: start; border-bottom: 1px solid var(--hair); }
.ann__when { font: italic 400 1.05rem/1.4 var(--serif); color: rgba(243, 236, 223, .85); }
.ann__title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.ann__body { color: rgba(243, 236, 223, .72); font-size: .95rem; margin-top: .3rem; }
.ann__body a { color: var(--paper); border-bottom: 1px solid rgba(243, 236, 223, .5); text-decoration: none; }
.ev { display: grid; grid-template-columns: 80px 1fr; gap: 1.3rem; align-items: center; }
.ev__date { aspect-ratio: 1; background: var(--paper); color: var(--ink); display: grid; place-content: center; text-align: center; line-height: 1; }
.ev__date b { font-family: var(--serif); font-size: 2.1rem; font-weight: 400; display: block; }
.ev__date span { font: 500 .75rem/1 var(--sans); color: var(--burgundy); margin-top: .3rem; display: block; }
.ev__title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.12; }
.ev__meta { font-size: .9rem; color: rgba(243, 236, 223, .65); margin-top: .3rem; }
.ev__meta .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .4rem; vertical-align: middle; }

/* names */
.names { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .4rem 1.6rem; list-style: none; padding: 0; margin: 0; }
.names li { font-family: var(--serif); font-size: 1.2rem; padding: .55rem 0; border-bottom: 1px solid var(--hair-dark); display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.names li span { font: 500 .78rem var(--sans); color: var(--muted); }

/* order of worship */
.order { list-style: none; counter-reset: o; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 2.5rem; }
.order li { counter-increment: o; display: flex; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--hair); font-family: var(--serif); font-size: 1.35rem; }
.order li::before { content: counter(o, decimal-leading-zero); font: 500 .78rem var(--sans); color: var(--gold); }

/* minimap */
.minimap { position: relative; isolation: isolate; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(80% 80% at 50% 50%, var(--ink-warm-2), var(--ink-warm)); border: 1px solid var(--hair); }
.minimap .phero__map { inset: 0; z-index: 0; opacity: 1; transform: scale(1); animation: map-drift 36s ease-in-out infinite alternate; }
.minimap .marker { z-index: 2; }
.minimap__credit { z-index: 2; }
@keyframes map-drift { from { transform: scale(1); } to { transform: scale(1.14); } }
.minimap .phero__map .m-labels { display: block; }
.citymap--detail .m-sea path { fill: rgba(243, 236, 223, .07); stroke: none; }
.citymap--detail .m-wet path { fill: rgba(243, 236, 223, .035); stroke: rgba(243, 236, 223, .06); stroke-width: .5; }
.citymap--detail .m-water path { fill: rgba(243, 236, 223, .08); stroke: none; }
.citymap--detail .m-park path { fill: rgba(217, 164, 140, .06); stroke: none; }
.citymap--detail .m-marina path { fill: rgba(243, 236, 223, .04); stroke: rgba(243, 236, 223, .12); stroke-width: .6; }
.citymap--detail .m-bldg path { fill: rgba(243, 236, 223, .09); stroke: rgba(243, 236, 223, .22); stroke-width: .5; }
.citymap--detail .m-pier path { stroke: rgba(243, 236, 223, .35); stroke-width: 1.2; }
.citymap--detail .m-coast path { stroke: rgba(243, 236, 223, .35); stroke-width: 1; }
.citymap--detail .m-labels text { font-size: 9px; letter-spacing: .14em; opacity: .85; }
.citymap--detail .m-labels .m-river { font-size: 13px; letter-spacing: .3em; fill: rgba(243, 236, 223, .5); }
.minimap__credit { position: absolute; right: .9rem; bottom: .7rem; font: 500 .68rem/1 var(--sans); color: rgba(243, 236, 223, .5); }
.phero__map { position: absolute; inset: -10%; z-index: -1; opacity: .3; transform: translate(10%, 10%) scale(1.1); pointer-events: none; }
.phero__map svg { width: 100%; height: 100%; }
.phero__map .m-labels { display: none; }
.citymap path { fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.citymap .m-major path { stroke-width: 1.7; stroke-opacity: .75; }
.citymap .m-street path { stroke-width: 1; stroke-opacity: .48; }
.citymap .m-lane path { stroke-width: .6; stroke-opacity: .22; }
.citymap .m-path path { stroke-width: .6; stroke-opacity: .14; stroke-dasharray: 3 5; }
.citymap .m-rail path { stroke-width: 1.1; stroke-opacity: .3; stroke-dasharray: 8 6; }
.citymap .m-coast path { stroke-width: 1.3; stroke-opacity: .5; }
.citymap .m-stream path { stroke-width: .8; stroke-opacity: .25; }
.citymap .m-water path { fill: rgba(0, 0, 0, .35); stroke: var(--gold); stroke-opacity: .22; stroke-width: .8; }
.citymap .m-park path { fill: rgba(217, 164, 140, .05); stroke: none; }
.citymap .m-labels text { fill: var(--gold-light); font: italic 7px var(--serif); letter-spacing: .1em; opacity: .8; }
.marker { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0; height: 0; pointer-events: none; }
.marker .ring { position: absolute; left: 0; top: 0; width: 70px; height: 70px; border-radius: 50%; transform: translate(-50%, -50%) scale(.2); border: 1px solid rgba(200, 16, 46, .9); opacity: 0; animation: ripple 3.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.marker .ring:nth-child(2) { animation-delay: 1.2s; }
.marker .ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { 0% { transform: translate(-50%, -50%) scale(.2); opacity: .9; } 100% { transform: translate(-50%, -50%) scale(4.6); opacity: 0; } }
.marker .heart { position: absolute; left: 0; top: 0; width: 34px; height: 34px; max-width: none; color: var(--red); transform: translate(-50%, -50%); filter: drop-shadow(0 0 18px rgba(200, 16, 46, .75)); animation: heartbeat 1.7s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 12% { transform: translate(-50%, -50%) scale(1.16); } 24% { transform: translate(-50%, -50%) scale(1); } 38% { transform: translate(-50%, -50%) scale(1.1); } 60% { transform: translate(-50%, -50%) scale(1); } }
.marker .tag { position: absolute; left: 30px; top: -8px; white-space: nowrap; font: italic 400 .95rem/1.2 var(--serif); color: var(--gold-light); padding-left: 14px; }
.marker .tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--gold); }
.marker .tag small { display: block; font: 500 .75rem/1.3 var(--sans); font-style: normal; color: rgba(243, 236, 223, .8); margin-top: .2rem; }

/* page hero */
.phero { position: relative; overflow: hidden; isolation: isolate; color: var(--paper); background-color: var(--field); background-image: radial-gradient(70% 80% at 0% 20%, rgba(255, 255, 255, .07), transparent 60%), radial-gradient(60% 70% at 100% 100%, rgba(0, 0, 0, .32), transparent 65%), linear-gradient(90deg, var(--field) 0%, var(--field-2) 45%, var(--deep) 100%); padding: calc(var(--nav-h) + clamp(3.5rem, 9vh, 6.5rem)) 0 clamp(3.5rem, 8vh, 6rem); min-height: 64svh; display: grid; align-items: end; }
.phero--tall { min-height: 92svh; }
.phero__bg { position: absolute; inset: 0; z-index: -1; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.15) brightness(1.1); opacity: .5; transform: scale(1.06); }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 6, 9, .92) 0%, rgba(30, 6, 9, .55) 50%, rgba(18, 3, 5, .6) 100%), linear-gradient(180deg, transparent 50%, var(--field) 100%); }
.phero__bg::before { content: ""; position: absolute; inset: 0; background: var(--burgundy); mix-blend-mode: multiply; z-index: 1; opacity: .8; }
.phero__photo { position: absolute; right: 0; top: 0; width: min(58vw, 900px); height: 100%; object-fit: cover; object-position: 100% 0; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, #000 84%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, #000 84%, transparent 100%); mask-composite: intersect; }
.phero__ghost { position: absolute; right: -1vw; bottom: -3vh; z-index: 0; width: clamp(260px, 34vw, 520px); color: rgba(243, 236, 223, .07); pointer-events: none; }
.phero__content { max-width: 760px; padding-left: clamp(0px, 3vw, 3rem); }
.phero .display { text-wrap: balance; max-width: 12ch; }
.phero .sub { margin-top: 1.5rem; font: italic 400 clamp(1.15rem, 1.6vw, 1.45rem)/1.4 var(--serif); color: rgba(243, 236, 223, .82); max-width: 40ch; }
.phero__meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.crumbs { display: flex; gap: .6rem; align-items: center; font: 500 .82rem/1 var(--sans); color: rgba(243, 236, 223, .5); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; color: var(--gold); }
.crumbs span::before { content: "/"; margin-right: .6rem; opacity: .5; }

/* footer */
.footer { background-color: var(--deep); background-image: radial-gradient(70% 60% at 0% 0%, rgba(255, 255, 255, .06), transparent 60%), radial-gradient(60% 60% at 100% 100%, rgba(0, 0, 0, .3), transparent 65%); color: var(--paper); position: relative; }
.footer__cta { padding: var(--section) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: end; }
.footer__cta .h1 { max-width: 12ch; text-wrap: balance; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem, 6vw, 5rem) 0; }
.footer .footer__h { font: 500 .82rem/1 var(--sans); color: var(--gold); margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer a { text-decoration: none; color: rgba(243, 236, 223, .8); transition: color .3s; }
.footer a:hover { color: var(--gold-light); }
.footer__brand img { width: 160px; }
.footer__brand p { color: rgba(243, 236, 223, .65); font-size: .95rem; max-width: 34ch; margin-top: 1.2rem; }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease-out), border-color .3s; }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer__bar { border-top: 1px solid var(--hair); padding: 1.4rem 0 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 2rem; font-size: .76rem; color: rgba(243, 236, 223, .5); }
.merx-credit { display: inline-flex; align-items: center; gap: .55rem; color: rgba(243, 236, 223, .55); text-decoration: none; font-size: .78rem; transition: color .3s; }
.merx-mark { width: 20px; height: 20px; transition: transform .45s var(--ease-out), color .3s; transform-origin: 50% 60%; }
.merx-credit:hover, .merx-credit:focus-visible { color: var(--paper); }
.merx-credit:hover .merx-mark, .merx-credit:focus-visible .merx-mark { transform: rotate(-12deg) translateY(-2px); color: var(--gold-light); }
.footer__bar a { color: rgba(243, 236, 223, .6); }
.footer__mark { position: absolute; right: var(--gutter); bottom: 5.2rem; width: clamp(120px, 13vw, 200px); color: rgba(243, 236, 223, .07); pointer-events: none; }
.totop { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: var(--gold-light); border: 1px solid var(--hair); display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out), background .3s; }
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--field); }
.totop svg { width: 20px; height: 20px; }
.bulletin { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--hair-dark); background: var(--deep); }
.bulletin iframe { position: relative; z-index: 2; width: 100%; height: 100%; border: 0; display: block; }
.bulletin { background-color: var(--field); background-image: radial-gradient(70% 80% at 0% 20%, rgba(255, 255, 255, .07), transparent 60%), radial-gradient(60% 70% at 100% 100%, rgba(0, 0, 0, .32), transparent 65%); }
.bulletin__facade { position: relative; z-index: 1; width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 1.1rem; color: var(--paper); text-align: center; cursor: pointer; }
.bulletin__mark { width: 54px; height: 54px; color: var(--gold-light); opacity: .9; transition: transform .5s var(--ease-out); }
.bulletin__facade:hover .bulletin__mark { transform: rotate(-8deg) scale(1.06); }
.bulletin__title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; }

/* ---------- 9. Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 100ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--w) * 45ms); }
.words.is-in .w > span { transform: none; }
[data-reveal].words { opacity: 1; transform: none; }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--aside { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .grid--2, .grid--3, .grid--split, .grid--wide, .grid--sidebar { grid-template-columns: 1fr; }
  .rail, .rail__label { display: none; }
  .hero { min-height: auto; }
  .hero__inner { min-height: auto; padding: calc(var(--nav-h) + 1.5rem) 0 2rem; }
  .hero__photo { position: relative; width: 100%; height: 62vh; min-height: 420px; order: -1; object-position: 50% 0; aspect-ratio: 10 / 13; height: auto; min-height: 0; mask-image: linear-gradient(180deg, #000 70%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); -webkit-mask-composite: initial; margin-top: var(--nav-h); }
  .hero__content { padding-left: 0; margin-top: -3rem; }
  .hero__content .display { max-width: none; }
  .hero__bar { position: static; margin-top: 2.5rem; }
  .hero__bar strong { color: var(--paper); font-weight: 600; }
.hero__bar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); margin-right: .55rem; vertical-align: middle; animation: dot-pulse 2s infinite; }
.hero__bar .who { margin-left: 0; width: 100%; }
  .bleed__photo { position: relative; width: 100%; height: 60vh; min-height: 400px; mask-image: linear-gradient(180deg, #000 72%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .bleed__photo--left, .bleed__photo--right { object-position: 50% 0; aspect-ratio: 10 / 13; height: auto; min-height: 0; }
  .bleed__grid { grid-template-columns: 1fr; min-height: auto; margin-top: -4rem; }
  .bleed__grid--left > div, .bleed__grid--right > div { grid-column: 1; }
  .phero__photo { position: relative; width: 100%; height: 56vh; min-height: 380px; margin-bottom: -2rem; object-position: 50% 0; aspect-ratio: 10 / 13; height: auto; min-height: 0; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); -webkit-mask-composite: initial; }
  .phero--photo { padding-top: var(--nav-h); }
  .phero__content { padding-left: 0; }
  .tl { grid-template-columns: 1fr; }
  .tl__aside { position: static; margin-bottom: 1rem; }
  .tl__year { font-size: 3.4rem; }
  .trow { grid-template-columns: 1fr; gap: .4rem; }
  .trow__day { text-align: left; }
  .footer__cta { grid-template-columns: 1fr; }
  .footer__mark { display: none; }
  .order { grid-template-columns: 1fr; }
  .list li { grid-template-columns: 1fr; gap: .25rem; }
  .glance { grid-template-columns: 1fr 1fr; }
  .print--plate { margin-left: 0; }
}
@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .ann__item { grid-template-columns: 1fr; gap: .4rem; }
  .give-card { grid-template-columns: 1fr; }
  .give-card .qr { width: 140px; height: auto; aspect-ratio: 1; align-self: start; }
  .fl__plate { position: static; }
  .brand__name { font-size: 1.1rem; }
  .brand__city { font-size: .66rem; }
  .numerals { gap: 1.6rem 2.2rem; }
  .marker .tag { display: none; }
  .print figcaption { flex-direction: column; }
  .glance { grid-template-columns: 1fr; }
  .plates { grid-template-columns: 1fr 1fr; }
  .plates .print:first-child { transform: none; }
  .print figcaption .credit { max-width: none; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .words .w > span, .hero .reveal-up, .hero__photo { opacity: 1; transform: none; animation: none; }
}

/* ---------- FMBC: The Story We Share, the photo book (assets/js/book.js) ----------
   Sizes come from two custom properties: --pw (page width) and --ph (page height). Everything inside a page is
   sized in cqw/cqh (page width/height), so a page renders identically on screen and inside a turning leaf. */
/* The book's own section: a warm dark reading room with a soft spotlight that follows the book */
.bk-room { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3rem)) 0 clamp(2.5rem, 6vh, 4.5rem);
  background-color: #170B0A; background-image: radial-gradient(120% 80% at 50% 0%, rgba(110, 18, 22, .28), transparent 60%), linear-gradient(180deg, #1D0E0D 0%, #140908 100%); }
.bk-room::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("../img/texture-linen.webp") 0 0 / 256px; mix-blend-mode: soft-light; opacity: .32; }
.bk-room::after { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 50%; width: min(150vw, 1500px); aspect-ratio: 1.4; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196, 112, 82, .34), rgba(150, 62, 44, .14) 55%, transparent 100%);
  transform: translate(-28%, -50%); transition: transform 1.4s var(--ease-out); }
.bk-room:has(.bk:not([data-state="closed"]))::after { transform: translate(-50%, -48%); }
.bk-room .kicker { color: var(--gold-light); margin-bottom: 1.1rem; }
.bk-room .bk__invite-t { color: var(--paper); }
.bk { --pw: min(calc((100svh - 200px) * .8), 600px, calc((min(100vw, var(--container)) - 2 * var(--gutter)) / 2 - 12px));
  --ph: calc(var(--pw) * 1.25); --ov: 10px; --thick: calc(var(--pw) * .14); --bt: calc(var(--pw) * .009 + 1px); --spine: var(--pw); --valley: 0deg;
  --persp: 2600px; --prog: 0;
  --cloth: #7A0B10; --cloth-edge: #4E0609; --page: #FCF8F0;
  --fore: repeating-linear-gradient(90deg, #FBF6EC 0 1px, #E2D7C6 1px 1.5px, #F4EDE1 1.5px 2.3px, #D9CDBA 2.3px 2.7px);
  position: relative; }
.bk__frame { position: relative; width: calc(2 * var(--pw)); margin-inline: auto; outline: none; }
.bk__stage { position: relative; height: var(--ph); perspective: var(--persp); perspective-origin: 50% 40%; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: perspective-origin 1.1s var(--ease-out), perspective 1.1s var(--ease-out); }
.bk__body { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.1s var(--ease-out); }
/* Closed: a three-quarter view from slightly above, so the thickness of the page block reads */
.bk[data-state="closed"] .bk__stage { perspective: calc(var(--pw) * 3.2); perspective-origin: 85% 40%; }
.bk[data-state="closed"] .bk__body { transform-origin: 75% 50%; transform: rotateX(14deg) rotateY(-36deg); }
.bk[data-state="closed"] .bk__frame:hover .bk__body { transform: rotateX(11deg) rotateY(-30deg) translateZ(14px); }

/* Invitation (sits beside the closed book on a computer, below it on a phone) */
.bk__invite { position: absolute; z-index: 2; left: 0; top: 0; width: var(--pw); height: var(--ph); display: grid; align-content: center; padding-right: clamp(1.5rem, 4vw, 4.5rem); transition: opacity .5s ease .25s, transform .8s var(--ease-out) .25s, visibility 0s; }
.bk__invite-t { font: 400 clamp(2.3rem, 3.6vw, 3.6rem)/1.03 var(--serif); letter-spacing: -.02em; margin: 0 0 2.2rem; color: var(--ink); text-wrap: balance; }
.bk__invite .btn { justify-self: start; }
.bk:not([data-state="closed"]) .bk__invite { opacity: 0; transform: translateX(-16px); visibility: hidden; pointer-events: none; transition: opacity .45s ease, transform .7s var(--ease-out), visibility 0s .7s; }

/* Boards (the hard covers): cloth, a visible board edge, a soft shadow on the table */
.bk__board { position: absolute; top: calc(var(--ov) * -1); width: calc(var(--pw) + var(--ov)); height: calc(var(--ph) + 2 * var(--ov)); transform-style: preserve-3d;
  background-color: var(--cloth); background-image: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .14)), url("../img/texture-linen.webp"); background-size: auto, 220px; background-blend-mode: normal, multiply;
  box-shadow: 0 var(--bt) 0 var(--cloth-edge), 0 calc(var(--bt) + 1px) 0 #2E0305, 0 46px 70px -34px rgba(40, 6, 8, .75), 0 18px 32px -18px rgba(40, 6, 8, .5);
  transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out); }
.bk__board--l { left: calc(var(--ov) * -1); border-radius: 8px 2px 2px 8px; transform-origin: 100% 50%; transform: translateZ(-3px); }
.bk__board--r { left: var(--pw); border-radius: 2px 8px 8px 2px; transform-origin: 0 50%; transform: translateZ(-3px); }
/* Closed, the right board is the back cover, a full book thickness behind the front one */
.bk:is([data-state="closed"], [data-state="opening"], [data-state="closing"]) .bk__board--r { transform: translateZ(calc(var(--thick) * -1 - var(--bt))); box-shadow: 40px 50px 70px -30px rgba(40, 6, 8, .6), 14px 20px 30px -16px rgba(40, 6, 8, .45); }
.bk__board--r::before, .bk__board--r::after, .bk__cover::before, .bk__cover::after { content: ""; position: absolute; background-color: var(--cloth-edge); background-image: linear-gradient(rgba(255, 255, 255, .06), rgba(0, 0, 0, .2)); }
.bk__board--r::before, .bk__cover::before { left: 100%; top: 0; width: var(--bt); height: 100%; transform-origin: 0 50%; transform: rotateY(90deg); border-radius: 0 2px 2px 0; }
.bk__board--r::after, .bk__cover::after { left: 0; top: calc(var(--bt) * -1); width: 100%; height: var(--bt); transform-origin: 50% 100%; transform: rotateX(90deg); }
.bk[data-state="open"] .bk__board--r::before, .bk[data-state="open"] .bk__board--r::after { display: none; }

/* The page block of the closed book: fore-edge and head, with fine page lines */
.bk__tb { position: absolute; top: 0; left: var(--spine); width: var(--pw); height: var(--ph); transform-style: preserve-3d; pointer-events: none; }
.bk[data-state="open"] .bk__tb { visibility: hidden; }
.tb { position: absolute; display: block; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tb--fore { left: 100%; top: 0; width: var(--thick); height: 100%; transform-origin: 0 50%; transform: rotateY(90deg);
  background: linear-gradient(90deg, rgba(70, 40, 20, .1), rgba(70, 40, 20, .3)), linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(70, 40, 20, .12)), var(--fore); }
.tb--head { left: 0; top: calc(var(--thick) * -1); width: 100%; height: var(--thick); transform-origin: 50% 100%; transform: rotateX(90deg);
  background: linear-gradient(0deg, rgba(255, 255, 255, .1), rgba(70, 40, 20, .2)), linear-gradient(90deg, rgba(70, 40, 20, .08), transparent 30%), repeating-linear-gradient(0deg, #FBF6EC 0 1px, #E2D7C6 1px 1.5px, #F4EDE1 1.5px 2.3px, #D9CDBA 2.3px 2.7px); }
.tb--tail { left: 0; top: 100%; width: 100%; height: var(--thick); transform-origin: 50% 0; transform: rotateX(-90deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(70, 40, 20, .2)), linear-gradient(90deg, rgba(70, 40, 20, .1), transparent 25%), repeating-linear-gradient(180deg, #FBF6EC 0 1px, #E2D7C6 1px 1.5px, #F4EDE1 1.5px 2.3px, #D9CDBA 2.3px 2.7px); }

/* Page stacks beside an open spread: layered edges drawn by book.js as box-shadows, deeper on the side with more pages */
.bk__block { position: absolute; top: 0; width: var(--pw); height: var(--ph); background: var(--page); transition: box-shadow .5s var(--ease-out); }
.bk__block--l { left: 0; border-radius: 3px 0 0 3px; transform: translateZ(-1.5px); }
.bk__block--r { left: var(--pw); border-radius: 0 3px 3px 0; transform: translateZ(-1.5px); }
.bk__slot { position: absolute; top: 0; width: var(--pw); height: var(--ph); transition: opacity .2s ease; }
.bk__slot--l { left: 0; }
.bk__slot--r { left: var(--pw); }
.bk.is-swap .bk__slot { opacity: 0; transition-duration: .14s; }
.bk[data-state="closed"] .bk__board--l, .bk[data-state="opening"] .bk__board--l,
.bk[data-state="closed"] .bk__block, .bk[data-state="opening"] .bk__block--l { visibility: hidden; }
.bk__cast { position: absolute; top: 0; bottom: 0; width: 42%; pointer-events: none; z-index: 4; opacity: 0; }
.bk__slot--r .bk__cast { left: 0; background: linear-gradient(90deg, rgba(34, 16, 6, .5), rgba(34, 16, 6, .16) 35%, rgba(34, 16, 6, 0)); }
.bk__slot--l .bk__cast { right: 0; background: linear-gradient(270deg, rgba(34, 16, 6, .5), rgba(34, 16, 6, .16) 35%, rgba(34, 16, 6, 0)); }
.bk__frame.is-grab { cursor: grab; } .bk__frame.is-dragging { cursor: grabbing; }

/* Headband at the top of the spine and a satin ribbon marker */
.bk__hb { position: absolute; left: calc(var(--spine) - 8px); top: -5px; width: 16px; height: 6px; border-radius: 3px; transform: translateZ(-1px); opacity: 0; transition: opacity .4s;
  background: repeating-linear-gradient(90deg, #7A0B10 0 2px, #E8BBA6 2px 3px); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.bk[data-state="open"] .bk__hb { opacity: 1; }
.bk__ribbon { position: absolute; display: block; width: calc(var(--pw) * .022 + 2px); pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: linear-gradient(90deg, #4E0609, #8E0E12 30%, #C24A4F 48%, #9A1218 62%, #4E0609); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 8px), 0 100%); }
.bk__ribbon--open { left: calc(var(--spine) - var(--pw) * .011 - 1px); top: calc(var(--ph) - var(--pw) * .1); height: calc(var(--pw) * .1 + var(--ov) + 22px); transform: translateZ(2px); }
.bk__ribbon--closed { left: calc(var(--spine) + var(--pw) * .14); top: calc(var(--ph) - 6px); height: calc(var(--ov) + 26px); transform: translateZ(calc(var(--thick) * -.45)); }
.bk[data-state="open"] .bk__ribbon--open, .bk[data-state="closed"] .bk__ribbon--closed { opacity: 1; }

/* The cover: red cloth, a debossed frame, a recessed photo window, rose gold foil */
.bk__cover { position: absolute; left: var(--spine); top: calc(var(--ov) * -1); width: calc(var(--pw) + var(--ov)); height: calc(var(--ph) + 2 * var(--ov)); transform-style: preserve-3d; transform: translateZ(1px); cursor: pointer; }
.bk:not([data-state="closed"]) .bk__cover { visibility: hidden; }
.cv { position: absolute; inset: 0; container-type: size; overflow: hidden; border-radius: 2px 8px 8px 2px; color: var(--paper);
  background-color: var(--cloth);
  background-image: radial-gradient(110% 70% at 28% 18%, rgba(255, 236, 222, .11), transparent 62%), linear-gradient(90deg, rgba(0, 0, 0, .38) 0, rgba(0, 0, 0, .08) 3.2%, rgba(255, 255, 255, .08) 4.4%, rgba(0, 0, 0, .14) 5.8%, transparent 7.6%), url("../img/texture-linen.webp");
  background-size: auto, auto, 220px; background-blend-mode: normal, normal, multiply;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .08); }
.cv::before { content: ""; position: absolute; inset: -30%; z-index: 4; pointer-events: none; transform: translateX(-38%); transition: transform 1.8s var(--ease-out);
  background: linear-gradient(112deg, transparent 38%, rgba(255, 236, 224, .1) 47%, rgba(255, 236, 224, .03) 54%, transparent 60%); }
.bk__frame:hover .cv::before { transform: translateX(34%); }
.cv::after { content: ""; position: absolute; z-index: 1; top: 4.4cqw; bottom: 4.4cqw; left: 9cqw; right: 4.4cqw; pointer-events: none; border: 1px solid rgba(232, 187, 166, .34); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .05); }
.cv__plate { position: absolute; z-index: 2; left: 16%; right: 11.4%; top: 11.5%; height: 43%; margin: 0; background: #2A0507;
  box-shadow: 0 0 0 1cqw rgba(48, 4, 7, .5), 0 0 0 1.25cqw rgba(232, 187, 166, .62), 0 .5cqw 0 1.25cqw rgba(0, 0, 0, .18); }
.cv__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; display: block; }
.cv__plate::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 1.2cqw 2.2cqw -.6cqw rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .4); }
.cv__t { position: absolute; z-index: 2; left: 9cqw; right: 4.4cqw; top: 60%; margin: 0; text-align: center; font: 500 19cqw/.9 var(--serif); letter-spacing: .01em;
  background: linear-gradient(100deg, #C98B6B 0%, #F9E3D6 20%, #D9A48C 36%, #F5D3C2 54%, #B7765A 74%, #EBC2AE 88%, #D9A48C 100%); background-size: 240% 100%; background-position: 0 0; transition: background-position 2s var(--ease-out);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .3cqw 0 rgba(0, 0, 0, .5)) drop-shadow(0 -.15cqw 0 rgba(255, 255, 255, .07)); }
.bk__frame:hover .cv__t { background-position: 100% 0; }
.cv__s { position: absolute; z-index: 2; left: 9cqw; right: 4.4cqw; top: 80%; margin: 0; text-align: center; font: italic 400 4.9cqw/1.2 var(--serif); color: rgba(240, 214, 200, .9); }
.cv__s::before { content: ""; display: block; width: 8cqw; height: 1px; margin: 0 auto 2.6cqw; background: rgba(232, 187, 166, .6); }
.cv__i { position: absolute; z-index: 2; left: 9cqw; right: 4.4cqw; bottom: 7.2%; margin: 0; text-align: center; font: 500 clamp(8px, 2.2cqw, 13px)/1.3 var(--sans); letter-spacing: .02em; color: rgba(232, 187, 166, .74); }
.cv--in .cv__end { position: absolute; width: var(--pw); height: var(--ph); }
.cv--in .cv__end .pg { border-radius: 3px 0 0 3px; }
.cv--in::before, .cv--in::after { display: none; }
.bk__spine { position: absolute; top: 0; left: calc(var(--thick) * -1); width: var(--thick); height: 100%; transform-origin: 100% 50%; transform: rotateY(-90deg); display: grid; place-items: center; border-radius: 6px 0 0 6px;
  background-color: #640A0E; background-image: linear-gradient(90deg, rgba(0, 0, 0, .4), rgba(255, 255, 255, .07) 45%, rgba(0, 0, 0, .34)), url("../img/texture-linen.webp"); background-size: auto, 220px; background-blend-mode: normal, multiply; }
.bk__spine span { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 calc(var(--thick) * .38)/1 var(--serif); color: var(--gold-light); white-space: nowrap; }
.bk:not([data-state="closed"]) .bk__spine { display: none; }

/* A page */
.pg { position: absolute; inset: 0; container-type: size; overflow: hidden; background: var(--page); color: var(--ink); }
.pg::before { content: ""; position: absolute; inset: 0; background: url("../img/texture-paper.webp") 0 0 / 420px; mix-blend-mode: soft-light; opacity: .55; pointer-events: none; }
.pg--l { border-radius: 3px 0 0 3px; } .pg--r, .pg--s { border-radius: 0 3px 3px 0; }
.pg__gut { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pg--r .pg__gut, .pg--s .pg__gut { background: linear-gradient(90deg, rgba(58, 28, 14, .26) 0, rgba(58, 28, 14, .1) 1.8%, rgba(58, 28, 14, .03) 5%, transparent 9%), linear-gradient(270deg, rgba(58, 28, 14, .07), transparent 2%); }
.pg--l .pg__gut { background: linear-gradient(270deg, rgba(58, 28, 14, .26) 0, rgba(58, 28, 14, .1) 1.8%, rgba(58, 28, 14, .03) 5%, transparent 9%), linear-gradient(90deg, rgba(58, 28, 14, .07), transparent 2%); }
.pg--s .pg__gut { opacity: .7; }
.pg__head, .pg__folio { position: absolute; z-index: 2; color: var(--muted); white-space: nowrap; }
.pg__head { top: 4.4cqh; font: italic 400 clamp(10px, 2cqw, 13px)/1 var(--serif); }
.pg__folio { bottom: 4.2cqh; font: 500 clamp(10px, 1.8cqw, 12px)/1 var(--sans); font-variant-numeric: tabular-nums; }
.pg--l .pg__head, .pg--l .pg__folio { left: 10cqw; }
.pg--r .pg__head, .pg--r .pg__folio { right: 10cqw; }
.pg--s .pg__head, .pg--s .pg__folio { right: 8cqw; }
.pg--back { background: var(--page); }

.pi { position: absolute; margin: 0; overflow: hidden; background: var(--c, #d9d0c4); z-index: 1; outline: none; }
.pi img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.pi--l img { width: 200%; } .pi--r img { width: 200%; left: -100%; }
.pg:not(.pg--bleed) .pi { box-shadow: 0 0 0 .5px rgba(40, 20, 10, .14); }
.bk__slot .pi { cursor: zoom-in; }
.bk__slot .pi:focus-visible { box-shadow: 0 0 0 3px var(--page), 0 0 0 5px var(--burgundy); }
.pt { position: absolute; z-index: 2; }
.pt p, .pt h3 { margin: 0; }
.pg--capgrad::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(12, 4, 2, 0), rgba(12, 4, 2, .5)); }
.hero__cap { text-align: right; color: #FFF8F0; font: italic 400 clamp(12px, 2.6cqw, 18px)/1.3 var(--serif); text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.cap { font: italic 400 clamp(11px, 2.15cqw, 14px)/1.4 var(--serif); color: var(--ink-soft); }
.cap--n { display: flex; gap: 1.8cqw; align-items: baseline; }
.cap--n b { font: italic 400 clamp(16px, 4.6cqw, 30px)/1 var(--serif); color: var(--burgundy); flex: none; }
.cap--side { flex-direction: column; gap: 1.2cqw; } .cap--r { align-items: flex-end; text-align: right; }
.st__h { font: 400 6.7cqw/1.04 var(--serif); letter-spacing: -.02em; }
.st__p { margin-top: 3.4cqw !important; font: 400 clamp(12px, 2.55cqw, 16px)/1.62 var(--sans); color: var(--ink-soft); }
.mo__h, .nr__h { font: 400 5.8cqw/1.05 var(--serif); letter-spacing: -.02em; }
.mo__c { margin-top: 1.6cqw !important; font: italic 400 clamp(11px, 2.3cqw, 15px)/1.45 var(--serif); color: var(--ink-soft); }
.mo__c--foot p { margin: 0; }
.nr__p { margin-top: 1.6cqw !important; font: 400 clamp(11px, 2.3cqw, 15px)/1.5 var(--sans); color: var(--muted); }
.pg--quiet .pi { box-shadow: 0 0 0 1.3cqw #FFFDF8, 0 0 0 calc(1.3cqw + .5px) rgba(40, 20, 10, .12), 0 2cqw 4cqw -1.6cqw rgba(40, 20, 10, .45); }
.qt__c { text-align: center; font: italic 400 clamp(12px, 2.6cqw, 17px)/1.4 var(--serif); color: var(--ink-soft); }
.op__top { display: flex; flex-direction: column; }
.op__lab { font: 500 clamp(10px, 2cqw, 14px)/1 var(--sans); color: var(--muted); }
.op__num { font: 400 34cqw/.8 var(--serif); letter-spacing: -.05em; color: var(--burgundy); margin-top: 3cqw; }
.op__title { font: 400 9.6cqw/1 var(--serif); letter-spacing: -.025em; }
.op__rule { display: block; width: 14cqw; height: 1px; background: var(--gold-deep); margin: 4.4cqw 0; }
.op__intro { font: 400 clamp(12px, 2.6cqw, 16px)/1.62 var(--sans); color: var(--ink-soft); }
.op__count { margin-top: 3.6cqw !important; font: italic 400 clamp(11px, 2.3cqw, 14px)/1 var(--serif); color: var(--muted); }
.op__s .op__title { margin: 2.4cqw 0 3cqw; font-size: 9cqw; } .op__s .op__title b { font-weight: 400; color: var(--burgundy); margin-right: .2em; }
.op__s .op__intro { font-size: clamp(12.5px, 3.6cqw, 16px); }
.pg--end { background-color: #6E0B10; background-image: radial-gradient(90% 70% at 40% 30%, rgba(255, 230, 214, .08), transparent 70%), url("../img/texture-linen.webp"); background-size: auto, 220px; background-blend-mode: normal, multiply; }
.pg--end .end::before { content: ""; position: absolute; inset: 5cqw; border: 1px solid rgba(232, 187, 166, .22); }
.pg--end::before { display: none; }
.end { display: grid; place-items: center; }
.end__mark { width: 16cqw; height: 16cqw; color: var(--gold-light); opacity: .3; }
.tp { display: grid; justify-items: center; text-align: center; }
.tp__mark { width: 11cqw; height: 11cqw; color: var(--burgundy); }
.tp__t { margin-top: 9cqw !important; font: 400 17cqw/.95 var(--serif); letter-spacing: .005em; }
.tp__s { margin-top: 2.6cqw !important; font: italic 400 4.6cqw/1.2 var(--serif); color: var(--ink-soft); }
.tp__rule { display: block; width: 10cqw; height: 1px; margin: 10cqw 0 6cqw; background: var(--gold-deep); }
.tp__c { font: 500 clamp(11px, 2.5cqw, 15px)/1.4 var(--sans); }
.tp__p { margin-top: 1cqw !important; font: 400 clamp(10px, 2.1cqw, 13px)/1.4 var(--sans); color: var(--muted); }
.fw p { font: italic 400 clamp(13px, 3.1cqw, 19px)/1.5 var(--serif); color: var(--ink-soft); }
.pg--fw .pi { box-shadow: 0 1.4cqw 3cqw -1.6cqw rgba(40, 20, 10, .4); }
.toc__h { font: 400 7.2cqw/1 var(--serif); letter-spacing: -.02em; margin-bottom: 6cqw !important; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-dark); }
.toc button { width: 100%; display: grid; grid-template-columns: 9cqw minmax(0, 1fr) auto; align-items: baseline; gap: 1cqw; padding: 3.4cqw 0; border-bottom: 1px solid var(--hair-dark); text-align: left; font: 400 clamp(15px, 4.6cqw, 28px)/1.1 var(--serif); color: var(--ink); cursor: pointer; transition: color .25s, padding .35s var(--ease-out); }
.toc li:last-child button { border-bottom: 0; }
.toc button:hover, .toc button:focus-visible { color: var(--burgundy); padding-left: 1.4cqw; }
.toc b { font-weight: 400; font-style: italic; color: var(--burgundy); }
.toc em { font: 500 clamp(10px, 2.1cqw, 13px)/1 var(--sans); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.cl__mark { width: 9cqw; height: 9cqw; color: var(--burgundy); display: block; }
.cl__q { margin-top: 7cqw !important; font: 400 6.6cqw/1.12 var(--serif); letter-spacing: -.015em; }
.cl__p { margin-top: 5cqw !important; font: 400 clamp(12px, 2.5cqw, 15px)/1.6 var(--sans); color: var(--ink-soft); }
.cl__a { margin-top: 7cqw !important; }
.cl__b { margin-top: 3cqw !important; }
.cl__back { font: 500 clamp(12px, 2.3cqw, 14px)/1 var(--sans); color: var(--muted); text-decoration: underline; text-underline-offset: 4px; padding: .6rem 0; cursor: pointer; }
.cl__back:hover { color: var(--burgundy); }
.pg--s .cl__mark { display: none; }
.pg--s .cl__q { margin-top: 0 !important; font-size: 7cqw; }
.pg--s .cl__p { margin-top: 3.6cqw !important; }
.pg--s .cl__a { margin-top: 5cqw !important; }
.pg--s .cl__b { margin-top: 1cqw !important; }

/* The turning leaf: strips hinged in a chain; each face carries two shading ramps and a sheen, driven by book.js */
.lf { position: absolute; top: 0; left: var(--spine); transform-style: preserve-3d; transform: translateZ(1px); pointer-events: none; z-index: 5; }
.lf__sg { position: absolute; top: 0; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; }
.lf__fc { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.lf__fc--b { transform: rotateY(180deg); }
.lf__c { position: absolute; top: 0; left: 0; height: 100%; }
.lf__a, .lf__b, .lf__s { position: absolute; inset: 0; z-index: 6; opacity: 0; pointer-events: none; }
.lf__a { background: linear-gradient(90deg, rgb(30, 15, 6), rgba(30, 15, 6, 0)); }
.lf__b { background: linear-gradient(90deg, rgba(30, 15, 6, 0), rgb(30, 15, 6)); }
.lf__s { background: #FFFBF2; }
.lf--cover .lf__fc { border-radius: 2px 7px 7px 2px; }
.lf--cover .lf__fc--b { border-radius: 7px 2px 2px 7px; }
.lf--cover .cv { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.cv--in { position: absolute; inset: 0; background-color: var(--cloth); background-image: url("../img/texture-linen.webp"); background-size: 220px; background-blend-mode: multiply; }

/* Controls */
.bk__under { position: relative; width: calc(2 * var(--pw)); margin: clamp(1.6rem, 2.6vw, 2.2rem) auto 0; }
.bk__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: clamp(.8rem, 1.6vw, 1.4rem); }
.bk__bar[hidden] { display: none; }
.bk__tool { display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 1.05rem 0 .9rem; border-radius: 999px; border: 1px solid var(--hair-dark); font: 500 .88rem/1 var(--sans); color: var(--ink); transition: border-color .25s, background .25s; }
.bk__tool:hover { border-color: var(--ink); }
.bk__tool[hidden] { display: none; }
.bk__tool svg, .bk__arrow svg { width: 19px; height: 19px; flex: none; }
.bk__nav { display: inline-flex; align-items: center; gap: .35rem; }
.bk__arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair-dark); color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.bk__arrow:hover:not(:disabled) { background: var(--burgundy); border-color: var(--burgundy); color: var(--paper); }
.bk__arrow:disabled { opacity: .35; cursor: default; }
.bk__count { min-width: 11.5em; text-align: center; font: 500 .84rem/1.2 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.bk__prog { position: relative; display: flex; gap: 5px; height: 44px; align-items: center; min-width: 0; }
.bk__prog button { position: relative; height: 44px; min-width: 24px; display: flex; align-items: flex-start; padding-top: 4px; cursor: pointer; }
.bk__prog button::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--hair-strong); }
.bk__prog b { font: italic 400 .95rem/1 var(--serif); color: var(--muted); transition: color .3s; }
.bk-room .bk__prog button::after { background: rgba(243, 236, 223, .2); }
.bk__prog button.is-on b, .bk__prog button:hover b { color: var(--burgundy); }
.bk__prog-fill { position: absolute; left: 0; right: 0; top: 29px; height: 3px; background: var(--burgundy); transform: scaleX(var(--prog)); transform-origin: left; transition: transform .8s var(--ease-out); pointer-events: none; border-radius: 2px; }
.bk__toc { position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 8; width: min(380px, 100%); padding: 1.1rem 1.3rem .6rem; background: var(--ivory); border: 1px solid var(--hair-dark); border-radius: 10px; box-shadow: 0 34px 70px -34px rgba(48, 8, 10, .5); }
.bk__toc[hidden] { display: none; }
.bk__toc-h { font: 400 1.4rem/1 var(--serif); margin: 0 0 .8rem; }
.bk__toc ol { list-style: none; margin: 0; padding: 0; }
.bk__toc button { width: 100%; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; align-items: baseline; padding: .78rem 0; border-top: 1px solid var(--hair-dark); text-align: left; font: 400 1.12rem/1.2 var(--serif); color: var(--ink); cursor: pointer; }
.bk__toc button:hover { color: var(--burgundy); }
.bk__toc b { font-weight: 400; font-style: italic; color: var(--burgundy); }
.bk__toc em { font: 500 .78rem/1 var(--sans); font-style: normal; color: var(--muted); }

/* Expanded: the book in a full-screen layer */
html.bk-lock { overflow: hidden; }
html.bk-reading .totop { opacity: 0; visibility: hidden; pointer-events: none; }
.bk.is-expanded { position: fixed; inset: 0; z-index: 400; display: grid; align-content: center; padding: 28px 20px; overflow: auto;
  --pw: min(calc((100svh - 170px) * .8), calc((100vw - 120px) / 2), 820px);
  background: radial-gradient(80% 70% at 50% 40%, #3A1014, #160608 75%); }
:is(.bk.is-expanded, .bk-room .bk) .bk__count, :is(.bk.is-expanded, .bk-room .bk) .bk__prog b { color: rgba(243, 236, 223, .62); }
:is(.bk.is-expanded, .bk-room .bk) .bk__prog button.is-on b { color: var(--gold-light); }
:is(.bk.is-expanded, .bk-room .bk) .bk__prog-fill { background: var(--gold); }
:is(.bk.is-expanded, .bk-room .bk) .bk__tool, :is(.bk.is-expanded, .bk-room .bk) .bk__arrow { color: var(--paper); border-color: rgba(243, 236, 223, .26); }
:is(.bk.is-expanded, .bk-room .bk) .bk__tool:hover { border-color: var(--paper); }
:is(.bk.is-expanded, .bk-room .bk) .bk__arrow:hover:not(:disabled) { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Photo viewer */
.lbx { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 64px 16px 80px; background: rgba(16, 5, 7, .985); opacity: 0; transition: opacity .26s ease; }
.lbx[hidden] { display: none; }
.lbx.is-on { opacity: 1; }
.lbx__fig { margin: 0; display: grid; justify-items: center; gap: 16px; max-width: 100%; }
.lbx__img { display: block; width: auto; height: auto; max-width: min(94vw, 1700px); max-height: calc(100svh - 190px); object-fit: contain; opacity: 0; transition: opacity .35s ease; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.lbx__img.is-in { opacity: 1; }
.lbx__cap { max-width: 62ch; text-align: center; color: rgba(243, 236, 223, .8); font: italic 400 1.02rem/1.45 var(--serif); }
.lbx__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); border: 1px solid rgba(243, 236, 223, .26); background: rgba(0, 0, 0, .25); transition: background .25s; }
.lbx__btn:hover { background: rgba(243, 236, 223, .14); }
.lbx__btn svg { width: 20px; height: 20px; }
.lbx__btn[hidden] { display: none; }
.lbx__close { top: 14px; right: 14px; }
.lbx__prev { left: 14px; top: calc(50% - 24px); } .lbx__next { right: 14px; top: calc(50% - 24px); }
.lbx__n { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; color: rgba(243, 236, 223, .6); font: 500 .85rem/1 var(--sans); font-variant-numeric: tabular-nums; }

/* Phones and upright tablets: one page at a time, the turned page folds away past the left edge (same query as book.js) */
@media (max-width: 759px), (orientation: portrait) and (max-width: 1023px) {
  .bk { --pw: min(calc(100vw - 2 * var(--gutter)), calc((100svh - 230px) * .7), 520px); --ph: calc(var(--pw) / .7); --spine: 0px; --valley: 0deg; --thick: calc(var(--pw) * .06); }
  .bk.is-expanded { --pw: min(calc(100vw - 24px), calc((100svh - 150px) * .7)); padding: 16px 12px; }
  .bk__frame { width: var(--pw); display: flex; flex-direction: column; }
  .bk__stage { width: var(--pw); }
  .bk:not([data-state="closed"]) .bk__stage { clip-path: inset(-30% -30% -30% 0); }
  .bk[data-state="closed"] .bk__stage { perspective: calc(var(--pw) * 3.2); perspective-origin: 62% 40%; }
  .bk[data-state="closed"] .bk__body, .bk[data-state="closed"] .bk__frame:hover .bk__body { transform-origin: 50% 50%; transform: rotateX(12deg) rotateY(-32deg) scale(.88); }
  .bk__slot--l, .bk__board--l, .bk__block--l { display: none; }
  .bk__slot--r, .bk__board--r, .bk__block--r { left: 0; }
  .bk__hb, .bk__ribbon--open { display: none; }
  .bk__invite { order: 2; position: static; width: auto; height: auto; padding: 1.8rem 0 0; text-align: center; transition: opacity .3s; }
  .bk__invite .btn { justify-self: center; }
  .bk__invite-t { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .bk__invite-s { margin: .9rem auto 1.5rem; }
  .bk:not([data-state="closed"]) .bk__invite { display: none; }
  .bk__under { width: var(--pw); margin-top: 1.3rem; }
  .bk__bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "prog prog prog" "toc nav exp"; gap: .5rem .6rem; }
  .bk__prog { grid-area: prog; }
  .bk__bar [data-book-toc] { grid-area: toc; }
  .bk__nav { grid-area: nav; justify-self: center; }
  .bk__bar [data-book-expand], .bk__bar [data-book-close] { grid-area: exp; justify-self: end; }
  .bk__tool { width: 44px; padding: 0; justify-content: center; }
  .bk__tool span { display: none; }
  .bk__count { min-width: 0; padding: 0 .3rem; font-size: .8rem; }
  .bk__toc { width: 100%; }
  .lbx { padding: 60px 8px 76px; }
  .lbx__prev, .lbx__next { top: auto; bottom: 12px; }
  .lbx__prev { left: 12px; } .lbx__next { right: 12px; }
}

/* Plan a Visit hero: the couple stands further left, so its left fade is narrower and never reaches them */
@media (min-width: 901px) {
  .phero__photo--near { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%), linear-gradient(180deg, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 13%), linear-gradient(180deg, #000 84%, transparent 100%); }
}

/* ---------- Bulletin page ---------- */
.phero--short { min-height: 0; padding-top: calc(var(--nav-h) + clamp(2rem, 7vh, 4.5rem)); padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.bulletin-page { padding-top: clamp(2rem, 5vw, 3.5rem); }
.bulletin-page .bulletin { box-shadow: 0 40px 80px -50px rgba(40, 8, 10, .55); }
.bulletin-page__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.8rem; margin-top: 1.4rem; }

/* ---------- 12. Phone polish (most visitors are on a phone) ---------- */
@media (max-width: 900px) {
  /* hero: headline rises into the faded foot of the portrait, info bar sits inside the margins */
  .hero__inner { padding: 0 0 .5rem; }
  .hero__content { margin-top: -3.25rem; }
  .hero__content .display { margin-bottom: 1.1rem; }
  .hero__content .sub { margin-bottom: 1.9rem; max-width: 30ch; }
  .hero__bar { margin: 1.75rem var(--gutter) 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; padding-top: 1.25rem; font-size: .92rem; line-height: 1.45; }
  .hero__bar [data-next-service] { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .55rem; }
  .hero__bar [data-next-service] .dot { transform: translateY(-1px); flex: none; }
  .hero__bar b { display: block; margin: 0 0 .1rem; }
  .hero__bar [data-next-service] b { display: inline; }
  .hero__bar .who { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid var(--hair); font-size: 1rem; }
  /* page heroes with portraits: content tucks under the faded portrait */
  .phero--photo .phero__content { position: relative; z-index: 2; }
  .bleed__grid { margin-top: -5rem; }
  .section--tight { padding-block: 3rem; }
  .head { margin-bottom: 2.25rem; }
  .numerals { gap: 1.4rem 2.2rem; margin: 1.8rem 0; }
  .numerals div { font-size: 2.6rem; }
  .section.bleed { padding-top: 0; }
  .fl__plate { order: -1; position: static; max-width: 420px; margin: 0 0 1rem; }
  .tl__aside { display: none; }
  .glance { grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
  .glance span { font-size: 1.12rem; }
  .glance li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; --gutter: 1.35rem; --section: 4.75rem; }
  .nav__inner { gap: .75rem; }
  .brand { gap: .6rem; min-width: 0; }
  .brand__mark { width: 30px; height: 30px; flex: none; }
  .brand__name { font-size: 1.02rem; white-space: nowrap; }
  .brand__city { font-size: .75rem; margin-top: .25rem; }
  .nav__toggle { width: 44px; height: 44px; flex: none; }
  .nav__toggle span { left: 13px; right: 13px; }
  .nav__toggle span:nth-child(1) { top: 17px; }
  .nav__toggle span:nth-child(2) { top: 25px; }
  .menu-open .nav__toggle span:nth-child(1), .menu-open .nav__toggle span:nth-child(2) { top: 21px; }
  .display { font-size: clamp(2.9rem, 13.5vw, 3.6rem); }
  .h1 { font-size: clamp(2.5rem, 11vw, 3.1rem); }
  .h2 { font-size: clamp(2.05rem, 9vw, 2.5rem); line-height: 1.02; }
  .lead { font-size: 1.08rem; }
  .btn { padding: 1.05rem 1.5rem; }
  .hero__cta { gap: 1rem 1.6rem; }
  .pill { padding: .78rem 1.1rem; }
  .copy { padding: .85rem 1.15rem; }
  .crumbs a { display: inline-block; padding: .6rem 0; margin: -.6rem 0; }
  .footer ul { gap: 0; }
  .footer ul a { display: inline-block; padding: .62rem 0; }
  .footer ul li:not(:has(a)) { padding: .4rem 0; }
  .footer__cta { padding-top: 4.5rem; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 5.5rem; }
  .merx-credit { padding: .5rem 0; }
  .socials a { width: 46px; height: 46px; }
  .totop { right: 1rem; bottom: 1rem; width: 46px; height: 46px; }
  .hero__photo { aspect-ratio: 1 / 1; }
  .hero__content { margin-top: -2.5rem; }
  .names { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .names li { flex-direction: column; align-items: flex-start; gap: .1rem; font-size: 1.02rem; line-height: 1.2; padding: .6rem 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.25rem 1.25rem; padding: 3rem 0 2.5rem; }
  .footer__brand, .footer__grid > div:nth-child(2), .footer__grid > div:nth-child(3) { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(4) ul { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
  .footer__grid > div:nth-child(4) { grid-column: 1 / -1; }
  .order li { font-size: 1.2rem; padding: .75rem 0; }
}
/* larger touch targets for inline text links without changing their look */
@media (pointer: coarse) {
  .lnk, .list a, .acc__body a, .ann__body a, .grid--3 .muted a, .trow__lines a { position: relative; }
  .lnk::after, .list a::after, .acc__body a::after, .ann__body a::after, .trow__lines a::after { content: ""; position: absolute; inset: -9px -4px; }
}
