/* ==========================================================================
   Vail Valley Catholic Church Fund — site styles
   Palette: liturgical violet (from the parish logo) + warm gold + cream
   ========================================================================== */

:root {
  --violet-950: #1F1330;
  --violet-900: #2E1A47;
  --violet-800: #3A2260;
  --violet-700: #4B2E83;
  --violet-100: #EDE7F6;
  --violet-50:  #F6F2FB;
  --gold-700: #8A5A0B;
  --gold-600: #A16207;
  --gold-500: #C8963E;
  --gold-300: #E4C27A;
  --gold-100: #F7EBD0;
  --cream: #FBF8F3;
  --surface: #FFFFFF;
  --ink: #2A2233;
  --ink-muted: #5E5566;
  --line: #E7DFD2;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(46, 26, 71, .06), 0 2px 8px rgba(46, 26, 71, .05);
  --shadow: 0 14px 34px -12px rgba(46, 26, 71, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1200px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--violet-700); text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--violet-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.8rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 3px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 40px; } }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--violet-900); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.6rem;
  font: 700 1rem/1.1 var(--font-body); letter-spacing: .02em;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-600); color: #fff; }
.btn-gold:hover { background: var(--gold-700); color: #fff; }
.btn-violet { background: var(--violet-700); color: #fff; }
.btn-violet:hover { background: var(--violet-900); color: #fff; }
.btn-outline { border-color: var(--gold-600); color: var(--gold-700); background: transparent; }
.btn-outline:hover { background: var(--gold-600); color: #fff; }
.btn-white { background: #fff; color: var(--violet-900); }
.btn-white:hover { background: var(--gold-100); color: var(--violet-900); }
.btn-white-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-white-outline:hover { background: #fff; color: var(--violet-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Top info bar ---------- */
.topbar { background: var(--violet-900); color: rgba(255,255,255,.88); font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem 0; }
.topbar a:hover { color: var(--gold-300); }
.topbar svg { width: 15px; height: 15px; color: var(--gold-300); flex: none; }
.topbar .hide-sm { display: none; }
@media (min-width: 900px) { .topbar .hide-sm { display: inline-flex; } }
@media (max-width: 599px) { .topbar .fb-label, .topbar .hide-xs { display: none; } }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { flex: none; display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--violet-900); min-width: 0; }
.brand img { width: 56px; height: 56px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.brand-text span { white-space: nowrap; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-top: .35rem; }
@media (max-width: 420px) { .brand { gap: .6rem; } .brand img { width: 42px; height: 42px; } .brand-text strong { font-size: 1.05rem; letter-spacing: .03em; } .brand-text span { font-size: .56rem; letter-spacing: .04em; } .nav-toggle { padding: 0 .6rem; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 48px; min-height: 48px; padding: 0 .8rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--violet-900);
  font: 700 .9rem var(--font-body); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

.primary-nav {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
  background: #fff; border-bottom: 4px solid var(--gold-500); box-shadow: var(--shadow);
  padding: .75rem 20px 1.5rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav-open .primary-nav { transform: none; opacity: 1; visibility: visible; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 .5rem;
  color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line);
}
.primary-nav a[aria-current="page"] { color: var(--violet-700); }
.primary-nav .nav-donate { margin-top: 1rem; width: 100%; }
.primary-nav .nav-donate a { border: 0; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; inset: auto; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible;
    transform: none; opacity: 1; visibility: visible; display: flex; align-items: center; gap: .75rem;
  }
  .primary-nav ul { display: flex; align-items: center; gap: 0; }
  .primary-nav a { border: 0; min-height: 44px; padding: 0 .7rem; position: relative; white-space: nowrap; }
  .primary-nav ul a::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 6px; height: 2px;
    background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .primary-nav ul a:hover::after, .primary-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a:hover { color: var(--violet-700); }
  .primary-nav .nav-donate { margin: 0; width: auto; }
}
body.nav-open { overflow: hidden; }
@media (min-width: 1200px) { body.nav-open { overflow: auto; } }

/* ---------- Home hero (arch + overlay panel) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--violet-50) url("../assets/arch-pattern.svg") center top / 140px 230px repeat;
  padding: clamp(2rem, 5vw, 3.5rem) 0 0;
}
.hero-inner { display: grid; align-items: end; position: relative; }
.hero-arch {
  grid-area: 1 / 1; justify-self: end; width: min(100%, 780px);
  border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 1 / .9;
  border: 8px solid #fff; border-bottom: 0; box-shadow: var(--shadow);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.14); transform-origin: 62% 100%; }
.hero-panel {
  grid-area: 1 / 1; align-self: center; position: relative; z-index: 2;
  width: min(100%, 580px); padding: clamp(2rem, 4vw, 3.25rem);
  background: rgba(46, 26, 71, .94); color: #fff;
  border-top: 5px solid var(--gold-500);
  box-shadow: var(--shadow);
}
.hero-panel h1 { color: #fff; margin-bottom: .4em; }
.hero-panel h1 em { color: var(--gold-300); font-weight: 500; }
.hero-panel p { font-size: 1.15rem; color: rgba(255,255,255,.88); margin-bottom: 1.75rem; }
@media (max-width: 899px) {
  .hero-inner { grid-template-rows: auto auto; }
  .hero-arch { grid-area: 2 / 1; justify-self: center; margin-top: -3rem; width: 92%; }
  .hero-panel { grid-area: 1 / 1; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; background: var(--violet-900); color: #fff; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; opacity: .09;
  background: url("../assets/arch-pattern.svg") center / 140px 230px repeat;
  filter: brightness(3);
}
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; margin-bottom: .25em; }
.page-banner p { max-width: 42em; font-size: 1.15rem; color: rgba(255,255,255,.85); margin: 0; }
.breadcrumb { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; gap: .5rem; font-size: .875rem; color: var(--gold-300); }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: rgba(255,255,255,.4); }

.jump-links { background: var(--cream); border-bottom: 1px solid var(--line); }
.jump-links ul { list-style: none; margin: 0; padding: .75rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.jump-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-weight: 600; font-size: .9375rem; color: var(--violet-900); text-decoration: none;
}
.jump-links a:hover { border-color: var(--gold-500); color: var(--gold-700); }

/* ---------- Section rhythm ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--cream); }
.section-violet { background: var(--violet-50); }
.rule { height: 8px; background: var(--gold-500); border: 0; margin: 0; }
.rule-violet { background: var(--violet-700); }

.eyebrow {
  display: inline-block; margin-bottom: .9rem;
  font-size: .8125rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700);
}
.heading-rule { position: relative; padding-bottom: .9rem; margin-bottom: 1.5rem; }
.heading-rule::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; max-width: 100%; height: 2px; background: var(--line); }
.heading-rule::before { content: ""; position: absolute; left: 0; bottom: 0; width: 90px; height: 2px; background: var(--gold-500); z-index: 1; }
.center .heading-rule::after, .center .heading-rule::before { left: 50%; transform: translateX(-50%); }
.center { text-align: center; }
.lede { font-size: 1.1875rem; color: var(--ink-muted); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }
.muted { color: var(--ink-muted); }

/* ---------- Split: image with offset color block ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 4.5rem; }
  .split.reverse > .split-media { order: 2; }
}
.split-media { position: relative; padding: 0 0 22px 22px; }
.split-media::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 55%; height: 75%;
  background: var(--violet-700); border-radius: var(--radius-sm);
}
.split.reverse .split-media { padding: 22px 22px 0 0; }
.split.reverse .split-media::before { left: auto; right: 0; top: 0; bottom: auto; background: var(--gold-500); }
.split-media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.split-body p { color: var(--ink-muted); font-size: 1.0625rem; }

/* ---------- Progress ---------- */
.progress { background: var(--violet-900); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.progress h2 { color: #fff; margin-bottom: .2em; }
.progress-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.progress-top p { margin: 0; color: rgba(255,255,255,.8); }
.pct { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 6vw, 4.25rem); line-height: 1; color: var(--gold-300); }
.bar { height: 16px; background: rgba(255,255,255,.14); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--pct); border-radius: inherit; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transition: width 1.4s var(--ease); }
.js .bar-fill:not(.in) { width: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin: 2.25rem 0 0; }
.stats dt { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.stats dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.progress .btn-row { margin-top: 2.25rem; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.lift:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--violet-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-muted); }
.card-body > :last-child { margin-bottom: 0; }
.card-body .text-link { margin-top: auto; }
.meta { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .6rem; }
.meta svg { width: 16px; height: 16px; }

.callout { display: flex; gap: .75rem; background: var(--gold-100); border-left: 4px solid var(--gold-500); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.25rem; color: var(--ink); }
.callout svg { width: 20px; height: 20px; color: var(--gold-700); flex: none; margin-top: 4px; }

blockquote.verse { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: var(--violet-700); }
blockquote.verse cite { display: block; margin-top: .35rem; font: normal 600 .875rem var(--font-body); color: var(--ink-muted); }

.icon-badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-100); color: var(--violet-700); margin-bottom: 1rem; flex: none; }
.icon-badge svg { width: 24px; height: 24px; }
.card.feature { background: var(--violet-900); border-color: var(--violet-900); color: #fff; }
.card.feature h3 { color: #fff; }
.card.feature p { color: rgba(255,255,255,.82); }
.card.feature .icon-badge { background: rgba(228,194,122,.18); color: var(--gold-300); }
.card.feature .text-link { color: var(--gold-300); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 2.25rem 3rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--gold-500);
}
.timeline li.done::before { background: var(--gold-500); }
.timeline li.next::before { border-color: var(--violet-700); border-style: dashed; }
.timeline .date { font-weight: 800; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.timeline h3 { margin: .2rem 0 .4rem; }
.timeline p { color: var(--ink-muted); margin: 0; }
.status { display: inline-flex; align-items: center; gap: .35rem; margin-left: .5rem; padding: .1rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.status-done { background: var(--gold-100); color: var(--gold-700); }
.status-now { background: var(--violet-100); color: var(--violet-700); }

/* ---------- Scripture band ---------- */
.scripture {
  position: relative; text-align: center; color: #fff;
  background: var(--violet-950) url("../assets/site/parish-st-mary-crucifix.jpg") center 30% / cover no-repeat;
}
.scripture::before { content: ""; position: absolute; inset: 0; background: rgba(31, 19, 48, .86); }
.scripture .container { position: relative; max-width: 900px; }
.scripture p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; }
.scripture cite { font-style: normal; font-size: .875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.cross { width: 36px; height: 36px; margin: 0 auto 1.5rem; color: var(--gold-300); }

/* ---------- Committee ---------- */
.people { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; background: var(--violet-50); }
.person-body { padding: 1.1rem 1.25rem 1.3rem; }
.person h3 { font-size: 1.4rem; margin: 0; }
.person .role { font-size: .875rem; color: var(--gold-700); font-weight: 700; margin: .15rem 0 0; }
.person details { margin-top: .75rem; }
.person summary { cursor: pointer; font-weight: 700; color: var(--violet-700); min-height: 44px; display: flex; align-items: center; list-style: none; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; margin-left: .4rem; font-size: 1.2rem; }
.person details[open] summary::after { content: "–"; }
.person details p { font-size: .975rem; color: var(--ink-muted); font-style: italic; }

/* ---------- Prayer ---------- */
.prayer { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--gold-500); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-sm); }
.prayer p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.55; color: var(--ink); }
.prayer p:last-child { margin: 0; }
.prayer .amen { font-style: italic; color: var(--violet-700); }

/* ---------- Galleries ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--violet-50); position: relative; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: .6rem .8rem; font-size: .9rem; color: var(--ink-muted); background: #fff; }
.glass { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.glass figure { margin: 0; background: #120b1d; border-radius: 80px 80px var(--radius-sm) var(--radius-sm); overflow: hidden; }
.glass img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; }
.glass figcaption { padding: .7rem .75rem .9rem; font-size: .85rem; line-height: 1.35; color: rgba(255,255,255,.88); text-align: center; }

/* ---------- Tables / FAQ ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .85rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--violet-900); color: #fff; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--cream); }
td:last-child, th:last-child { text-align: right; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.25rem; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; color: var(--violet-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-600); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--ink-muted); }

.downloads { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.downloads a { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 700; text-decoration: none; }
.downloads svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--violet-900); }
.field .req { color: var(--gold-700); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #CFC5B6; border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet-700); box-shadow: 0 0 0 3px rgba(75, 46, 131, .18); }
.field .hint { font-size: .875rem; color: var(--ink-muted); margin-top: .3rem; }
.field .error { display: none; font-size: .9rem; color: #B42318; font-weight: 600; margin-top: .3rem; }
.field.invalid input, .field.invalid textarea { border-color: #B42318; }
.field.invalid .error { display: block; }
.form-status { font-weight: 600; color: var(--violet-700); min-height: 1.5em; }
.inline-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.inline-form .field { flex: 1 1 260px; }
.inline-form .field label { color: #fff; }

.newsletter-band { background: var(--violet-900); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.newsletter-band h2 { color: #fff; }
.newsletter-band p { color: rgba(255,255,255,.82); }
.newsletter-band .grid-2 { align-items: center; }
.newsletter-band .form-status { color: var(--gold-300); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; }
.contact-list strong { display: block; color: var(--violet-900); }

/* ---------- Final CTA ---------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: var(--violet-800) url("../assets/arch-pattern.svg") center / 140px 230px repeat;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); border-radius: var(--radius);
}
.cta-panel::before { content: ""; position: absolute; inset: 0; background: rgba(46, 26, 71, .92); }
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,.85); max-width: 38em; margin-inline: auto; font-size: 1.125rem; }
.cta-panel .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--violet-950); color: rgba(255,255,255,.78); padding: 4.5rem 0 2rem; border-top: 8px solid var(--gold-500); font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-brand img { width: 72px; height: 72px; margin-bottom: 1rem; }
.site-footer h2 { font-size: 1.4rem; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.social a:hover { border-color: var(--gold-300); }
.social svg { width: 20px; height: 20px; }
.foot-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .875rem; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px;
  display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--violet-900); box-shadow: var(--shadow-sm); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Construction progress ---------- */
.stepper { list-style: none; margin: .75rem 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.stepper::before { content: ""; position: absolute; left: 8%; right: 8%; top: 13px; height: 2px; background: var(--line); }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; font-size: .72rem; font-weight: 700; line-height: 1.2; color: var(--ink-muted); }
.stepper .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--ink-muted); font-size: .75rem; position: relative; z-index: 1; }
.stepper .dot svg { width: 14px; height: 14px; }
.stepper li.done .dot { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }
.stepper li.done { color: var(--gold-700); }
.stepper li.current .dot { background: var(--violet-700); border-color: var(--violet-700); color: #fff; box-shadow: 0 0 0 4px var(--violet-100); }
.stepper li.current { color: var(--violet-900); }
@media (max-width: 479px) { .stepper .step-name { font-size: .64rem; } }

.progress-card .card-media { aspect-ratio: 4 / 3; }
.progress-card .card-media img { transition: transform .5s var(--ease); }
.progress-card:hover .card-media img { transform: scale(1.03); }
.update-date { display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .4rem; }
.update-date svg { width: 16px; height: 16px; }

.update-log { display: grid; gap: 2rem; max-width: 980px; }
.update-entry { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold-500); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.update-entry > p { color: var(--ink-muted); max-width: 46em; }
.update-photos { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 1.25rem; }
.update-photos figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--violet-50); }
.update-photos a { display: block; }
.update-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.update-photos a:hover img { transform: scale(1.03); }
.update-log:has(.update-entry:only-child) .update-photos { grid-template-columns: minmax(0, 720px); }

.progress-card .card-media, .update-photos figure { position: relative; }
.photo-badge {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: .35rem .75rem; border-radius: 999px; background: rgba(46, 26, 71, .9); color: #fff;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}

/* ---------- Video ---------- */
.video-frame {
  max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; position: relative;
  border-radius: var(--radius); overflow: hidden; background: var(--violet-950);
  border-top: 5px solid var(--gold-500); box-shadow: var(--shadow);
}
.video-facade, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s var(--ease); }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,19,48,.05), rgba(31,19,48,.35)); }
.video-facade .play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; border-radius: 50%; background: var(--gold-600); color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.video-facade .play svg { width: 34px; height: 34px; margin-left: 5px; }
.video-facade:hover img { transform: scale(1.02); }
.video-facade:hover .play, .video-facade:focus-visible .play { transform: scale(1.08); background: var(--gold-700); }
.video-facade:focus-visible { outline-offset: -6px; }
@media (max-width: 599px) { .video-facade .play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video-facade .play svg { width: 26px; height: 26px; } }

/* ---------- Donate form ---------- */
.donate-section { background: var(--cream); }
.donate-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .donate-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2.5rem; } }
.donate-card { box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold-300); }
.donate-card .card-body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.donate-card h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: .35rem; }
.form-lede { margin-bottom: 1.75rem; }
.donate-card .eyebrow { margin-bottom: .5rem; }
.donate-intro .split-body p { font-size: 1.1rem; }

.donate-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; font-size: .875rem; font-weight: 700; color: var(--ink-muted); }
.donate-steps li { display: flex; align-items: center; gap: .5rem; }
.donate-steps .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font-size: .8rem; }
.donate-steps li.active { color: var(--violet-900); }
.donate-steps li.active .n { background: var(--violet-700); border-color: var(--violet-700); color: #fff; }
.donate-steps li.done { color: var(--gold-700); }
.donate-steps li.done .n { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }

.field-group { border: 0; margin: 0 0 1.6rem; padding: 0; min-width: 0; }
.field-group legend { font-weight: 700; color: var(--ink); margin-bottom: .55rem; padding: 0; }

/* Hidden-but-accessible radio inputs, styled through the following span */
.segmented label, .chip, .choice { position: relative; cursor: pointer; }
.segmented input, .chip input, .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; background: #F4F1EC; padding: .3rem; border-radius: 999px; }
.segmented span {
  display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .5rem 1rem;
  border-radius: 999px; font-weight: 600; color: var(--ink-muted); transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.segmented span svg { width: 18px; height: 18px; }
.segmented input:checked + span { background: #fff; color: var(--violet-900); box-shadow: 0 1px 3px rgba(46,26,71,.12); }
.segmented.small span { min-height: 44px; font-size: .95rem; }

.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .5rem;
  border: 1px solid #DDD5C8; border-radius: 999px; background: #fff;
  font-size: 1.05rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.chip:hover span { border-color: var(--gold-300); }
.chip input:checked + span { border-color: var(--violet-700); background: var(--violet-50); color: var(--violet-900); box-shadow: inset 0 0 0 1px var(--violet-700); }
.chip:active span { transform: scale(.98); }

.choice-grid { display: grid; gap: .6rem; }
@media (min-width: 560px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice span {
  display: flex; flex-direction: column; justify-content: center; gap: .1rem; min-height: 60px; height: 100%; padding: .6rem .9rem .6rem 2.5rem;
  border: 1px solid #DDD5C8; border-radius: 10px; background: #fff; line-height: 1.25; position: relative;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice span::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #B9AEC8; background: #fff; }
.choice strong { color: var(--ink); font-size: .975rem; font-weight: 700; }
.choice small { color: var(--ink-muted); font-size: .85rem; }
.choice:hover span { border-color: var(--gold-300); }
.choice input:checked + span { border-color: var(--violet-700); background: var(--violet-50); box-shadow: inset 0 0 0 1px var(--violet-700); }
.choice input:checked + span::before { border-color: var(--violet-700); background: radial-gradient(circle, var(--violet-700) 45%, #fff 50%); }

.segmented input:focus-visible + span, .chip input:focus-visible + span, .choice input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.group-label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .55rem; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--violet-700); border-bottom: 2px solid var(--violet-700); transform: rotate(45deg); pointer-events: none;
}
.select-wrap select {
  width: 100%; min-height: 52px; padding: .7rem 2.75rem .7rem 1rem; font: inherit; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid #CFC5B6; border-radius: 10px; appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.select-wrap select:hover { border-color: var(--gold-300); }
.select-wrap select:focus { outline: none; border-color: var(--violet-700); box-shadow: 0 0 0 3px rgba(75, 46, 131, .18); }
.field-group.field .hint { margin-top: .4rem; }
.other-amount { margin-top: .9rem; }
.input-prefix { display: flex; align-items: stretch; border: 1.5px solid #CFC5B6; border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.input-prefix span { display: grid; place-items: center; padding: 0 .9rem; background: var(--violet-50); color: var(--violet-900); font-weight: 800; }
.input-prefix input { border: 0 !important; box-shadow: none !important; min-height: 52px; font-size: 1.2rem; font-weight: 700; }
.input-prefix:focus-within { border-color: var(--violet-700); box-shadow: 0 0 0 3px rgba(75, 46, 131, .18); }
#amount-group .error { display: none; font-size: .9rem; color: #B42318; font-weight: 600; margin: .5rem 0 0; }
#amount-group.invalid .error { display: block; }
#amount-group.invalid .input-prefix { border-color: #B42318; }

.check-row { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; }
.check-row input { flex: none; width: 22px; height: 22px; margin: .2rem 0 0; accent-color: var(--violet-700); cursor: pointer; }
.check-row label { cursor: pointer; }
.check-row.fees { margin-top: .25rem; color: var(--ink-muted); }
.dedication { border: 0; margin: -.25rem 0 1.25rem 2.1rem; padding: 0; display: grid; gap: .9rem; }

.gift-total { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.gift-total > span:first-child { font-weight: 800; color: var(--violet-900); }
.gift-total strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--violet-900); font-variant-numeric: tabular-nums; }
.btn-block { width: 100%; min-height: 52px; font-size: 1.02rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.error-text { color: #B42318; }
.secure-note { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; font-size: .875rem; color: var(--ink-muted); }
.secure-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--violet-700); }

.back-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0; border: 0; background: none; color: var(--violet-700); font: 700 1rem var(--font-body); cursor: pointer; }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--gold-700); }
.pay-summary { font-weight: 700; color: var(--violet-900); background: var(--violet-50); border-radius: 10px; padding: .85rem 1rem; }
.checkout-mount { min-height: 520px; }

.donate-aside { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .donate-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.aside-card h2 { color: var(--violet-900); font-size: 1.5rem; }
.aside-card p { color: var(--ink-muted); }
.aside-card .bar { background: var(--violet-100); height: 10px; }
.aside-card .bar { margin: 1rem 0; }
.aside-stat { margin: 0; font-size: .95rem; }
.aside-stat strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--violet-900); }
.trust-list { list-style: none; margin: 0; padding: 0 .25rem; display: grid; gap: .7rem; }
.trust-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .975rem; }
.trust-list svg { width: 20px; height: 20px; flex: none; color: var(--gold-600); margin-top: 3px; }
.aside-help { padding: 0 .25rem; }
.aside-help h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.aside-help p { color: var(--ink-muted); margin: 0; }

/* ---------- Thank-you page ---------- */
.thanks-card { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--gold-500); border-radius: var(--radius); padding: clamp(2rem, 6vw, 3.5rem); box-shadow: var(--shadow); }
.thanks-icon { width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); }
.thanks-icon svg { width: 36px; height: 36px; }
.thanks-details { font-size: 1.15rem; }
.thanks-details p { margin-bottom: .6rem; }
.thanks-verse { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--violet-700); margin: 1.75rem 0; }
.thanks-card .btn-row { justify-content: center; }
.thanks-help { margin: 1.75rem 0 0; font-size: .95rem; }

/* ---------- Lightbox ---------- */
.lb-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gallery figure a, .update-photos figure a { cursor: zoom-in; }
.glass .lb-trigger::after {
  content: ""; position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(31,19,48,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: .85; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.glass .lb-trigger:hover::after { opacity: 1; transform: scale(1.08); }
.lb-trigger:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(16, 9, 26, .98); color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(16, 9, 26, .6); }
.lb-figure { grid-column: 2; margin: 0; height: 100dvh; display: flex; flex-direction: column; min-width: 0; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 56px 0 8px; overflow: hidden; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .3s var(--ease); border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox.zoomed .lb-img { transform: scale(2.4); cursor: zoom-out; }
.lb-caption { display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: center; align-items: baseline; padding: .75rem 1rem 1.25rem; text-align: center; }
.lb-text { font-family: var(--font-display); font-size: 1.3rem; }
.lb-count { color: var(--gold-300); font-size: .875rem; font-weight: 700; }
.lb-hint { width: 100%; color: rgba(255,255,255,.6); font-size: .8rem; }
.lb-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; justify-self: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lb-btn:hover { background: rgba(255,255,255,.2); border-color: var(--gold-300); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { visibility: hidden; }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 0 1fr 0; }
  .lb-prev, .lb-next { position: absolute; bottom: 14px; z-index: 2; }
  .lb-prev { left: 14px; } .lb-next { right: 14px; }
  .lb-caption { padding-bottom: 76px; }
  .lb-hint { display: none; }
}

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
