/* Grace Episcopal Church, Muskogee: Gothic Revival, alive */
:root {
  --pine: #1e3024;
  --grace: #677049;
  --promise: #9ba771;
  --halo: #bc7a2e;
  --daybreak: #dc9d5f;
  --walnut: #231613;
  --night: #140d0a;          /* the gallery: art glows on it */
  --vellum: #f1e7d3;          /* reading sections */
  --ink: #231613;
  --display: "Texturina", Georgia, serif;
  --text: "Raleway", "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; scrollbar-color: var(--halo) var(--night); }
body { margin: 0; background: var(--night); color: #fff; font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--daybreak); color: var(--walnut); }
:focus-visible { outline: 3px solid var(--daybreak); outline-offset: 3px; }
/* on the light reading sections the ring is amber; Daybreak stays on the dark header, footer and photographic bands */
main :focus-visible { outline-color: #a5651f; }
.hero :focus-visible, .hist-hero :focus-visible { outline-color: var(--daybreak); }
.hero .vellum-card :focus-visible { outline-color: #a5651f; }
#main[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 99; background: var(--daybreak); color: var(--walnut); padding: .5rem 1rem; font-weight: 700; }
.skip:focus { left: .5rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.5rem; border-radius: 999px; font: 700 1rem/1.1 var(--text); text-decoration: none; border: 1.5px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.btn-gold { background: var(--daybreak); color: var(--walnut); }
.btn-gold:hover { background: #ebb47c; }
.btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--walnut); }

/* Header over the film */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem var(--gutter); transition: background-color .4s var(--ease), padding .4s var(--ease); }
.top.solid { background: rgba(20,13,10,.94); padding-block: .55rem; }
.brand img { width: clamp(140px, 13vw, 176px); height: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav a { font-weight: 600; text-decoration: none; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.nav a:hover { color: var(--daybreak); }
.give a { display: inline-flex; padding: .5rem 1.15rem; border-radius: 999px; background: var(--daybreak); color: var(--walnut); text-shadow: none; }
.give a:hover { color: var(--walnut); background: #ebb47c; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; min-height: 2.75rem; align-items: center; padding: 0 1.1rem; border-radius: 999px; background: rgba(20,13,10,.5); color: #fff; border: 1.5px solid rgba(255,255,255,.7); font: 700 1rem var(--text); cursor: pointer; }
  .nav ul { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem; background: var(--night); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s .45s; }
  .nav.open ul { clip-path: inset(0); visibility: visible; transition: clip-path .45s var(--ease); }
  .nav ul a { display: block; padding: .9rem 0; font-size: 1.25rem; border-bottom: 1px solid rgba(220,157,95,.2); }
  .give { margin-top: 1rem; } .give a { justify-content: center; width: 100%; }
}

/* 1. Hero */
.hero { position: relative; height: 100svh; min-height: 36rem; overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,10,.45) 0%, rgba(20,13,10,0) 25%, rgba(20,13,10,.1) 50%, rgba(20,13,10,.85) 100%); }
.hero-copy { padding: 0 var(--gutter) clamp(2.5rem, 7vh, 5rem); max-width: 50rem; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); font-weight: 700; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--daybreak); }
.hero-copy p { margin-top: 1rem; font-size: clamp(1.15rem, 1.6vw, 1.35rem); max-width: 30em; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-card { position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 7vh, 5rem); display: grid; justify-items: center; padding: 1.4rem 1.8rem 1.5rem; background: rgba(20,13,10,.78); border-top: 3px solid var(--daybreak); text-align: center; }
.hc-day, .hc-where { font-weight: 600; font-size: .9375rem; color: #e9dcc6; }
.hc-time { font: 700 3.6rem/1 var(--display); color: var(--daybreak); margin: .2rem 0; }
.hc-what { font: 600 1.2rem/1.2 var(--display); margin-bottom: .3rem; }
@media (max-width: 900px) { .hero-card { display: none; } }

/* 2. Creed line + the week */
.creed { background: var(--vellum); color: var(--ink); padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.creed-line { max-width: 22ch; font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 600; color: var(--pine); letter-spacing: -.01em; }
.week { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: clamp(2rem, 4vw, 4rem); }
.week h3 { font-size: 1.5rem; color: var(--halo); margin-bottom: .8rem; }
.week ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.week li b { display: inline-block; width: 3.6rem; font-variant-numeric: tabular-nums; color: var(--pine); }
.week li.main { font-weight: 700; color: var(--pine); }
.week .first p { font-size: 1.125rem; }
@media (max-width: 860px) { .week { grid-template-columns: 1fr 1fr; } .week .first { grid-column: 1 / -1; } }
@media (max-width: 520px) { .week { grid-template-columns: 1fr; } }

/* 3. Believe: the Seven Sacraments, words beside the painting */
.believe { position: relative; height: 900vh; background: var(--night); }
.bel-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(19rem, 34%) 1fr; overflow: hidden; }
.bel-panel { display: grid; align-content: center; gap: 1.4rem; padding: 5rem clamp(1.5rem, 3vw, 3rem) 2rem; background: var(--walnut); position: relative; z-index: 4; }
.bel-panel h2 { font-size: clamp(1.9rem, 2.8vw, 2.7rem); }
.bel-index { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.bel-index li { display: flex; align-items: baseline; gap: 1rem; padding: .3rem 0; color: rgba(255,255,255,.42); font-weight: 500; transition: color .5s var(--ease); }
.bel-index li .n { flex: 0 0 2.2rem; font: 500 .95rem/1 var(--display); letter-spacing: .04em; }
.bel-index li.on { color: #fff; }
.bel-index li.on .n { color: var(--daybreak); }
.bel-desc { display: grid; min-height: 8em; }
.bel-desc p { grid-area: 1 / 1; font: 500 clamp(1.1rem, 1.5vw, 1.35rem)/1.42 var(--display); color: #f3eadb; opacity: 0; transform: translateY(.6rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.bel-desc p.on { opacity: 1; transform: none; }
.bel-frame { position: relative; overflow: hidden; background: var(--night); }
.bel-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform 1.5s var(--ease); will-change: transform; }
.bel-art { width: 100%; height: 100%; }
.mk { position: absolute; width: 0; height: 0; z-index: 2; transition: opacity .5s; }
.mk .in { position: absolute; left: 0; top: 0; transform: scale(calc(1 / var(--z, 1))); transform-origin: 0 0; transition: transform 1.5s var(--ease); }
.mk .dot { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--daybreak); background: radial-gradient(circle, var(--daybreak) 0 2px, transparent 2.5px); filter: drop-shadow(0 0 3px rgba(0,0,0,.8)); }
.mk .num { position: absolute; left: 12px; top: -12px; font: 500 .8rem/1 var(--display); color: var(--daybreak); letter-spacing: .04em; text-shadow: 0 1px 4px rgba(0,0,0,.9); }
.mk .name { position: absolute; left: 14px; top: 4px; white-space: nowrap; color: #fff; font: 500 .95rem/1 var(--text); text-shadow: 0 1px 6px rgba(0,0,0,.9); opacity: 0; transition: opacity .5s; }
.bel-canvas:not(.overview) .mk { opacity: 0; }
.bel-canvas:not(.overview) .mk.on { opacity: 1; }
.mk.on .dot { width: 22px; height: 22px; border-width: 1px; animation: ring 2.4s ease-out infinite; }
.mk.on .num { left: 16px; top: -16px; }
.mk.on .name { opacity: 1; left: 18px; top: 6px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(220,157,95,.55); } 100% { box-shadow: 0 0 0 18px rgba(220,157,95,0); } }
.bel-spot { position: absolute; inset: 0; pointer-events: none; z-index: 3; background: radial-gradient(circle at 50% 50%, transparent 0 26%, rgba(20,13,10,.35) 48%, rgba(20,13,10,.6) 100%); opacity: 0; transition: opacity .9s var(--ease); }
.bel-spot.on { opacity: 1; }
@media (max-width: 860px) {
  .bel-stage { grid-template-columns: 1fr; grid-template-rows: 58svh 1fr; }
  .bel-frame { order: -1; }
  .bel-panel { align-content: start; padding: 1.25rem var(--gutter); gap: .8rem; }
  .bel-index { display: none; }
  .bel-desc { min-height: 0; }
}

/* section titles */
.sec-title { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.01em; }

/* 4. How we pray */
.pray { background: var(--pine); padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); }
.pray-row { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.plate-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); }
.plate-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s var(--ease); }
.plate-card:hover .plate-img img, .plate-card.lit .plate-img img { transform: scale(1.14); }
.plate-card:nth-child(1) .plate-img img { object-fit: contain; background: #efe4cf; }
.plate-card h3 { margin-top: 1.25rem; font-size: 1.6rem; color: var(--daybreak); }
.plate-card p { margin-top: .5rem; color: #e8e2d4; }
@media (max-width: 860px) { .pray-row { grid-template-columns: 1fr; } .plate-img { aspect-ratio: 16 / 10; } }

/* 5. Story: vertical scroll drives a sideways track */
.story { position: relative; height: 420vh; background: var(--walnut); }
.story-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-content: center; gap: 2rem; }
.story-title { padding: 0 var(--gutter); }
.story-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 1.5rem; width: max-content; will-change: transform; }
.era { width: clamp(17rem, 26vw, 22rem); flex: 0 0 auto; }
.era-wide { width: clamp(24rem, 42vw, 38rem); }
.era img { width: 100%; height: clamp(15rem, 40vh, 24rem); object-fit: cover; filter: sepia(.15) saturate(1.05); }
.era time { display: block; margin-top: 1rem; font: 700 1.9rem/1 var(--display); color: var(--daybreak); }
.era p { margin-top: .5rem; color: #eadfcd; max-width: 26em; }

/* 6. Glass, gliding */
.glass { overflow: hidden; background: var(--night); padding: 1.5rem 0; }
.glass-track { display: flex; gap: 1rem; width: max-content; }
.glass img { height: clamp(18rem, 42vw, 32rem); width: auto; }
.glass.go .glass-track { animation: glide 70s linear infinite; }
.glass.go:hover .glass-track { animation-play-state: paused; }
@keyframes glide { to { transform: translateX(-50%); } }

/* 7. Life: layered photographs with depth */
.life { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(4rem, 8vw, 7rem) var(--gutter); background: var(--vellum); color: var(--ink); overflow: hidden; }
.life-photos { position: relative; height: clamp(28rem, 52vw, 40rem); }
.lp { position: absolute; object-fit: cover; box-shadow: 0 24px 50px -20px rgba(35,22,19,.55); will-change: transform; }
.lp1 { left: 0; top: 6%; width: 46%; height: 70%; }
.lp2 { right: 4%; top: 0; width: 48%; height: 44%; }
.lp3 { right: 0; bottom: 0; width: 56%; height: 46%; }
.lp4 { left: 30%; bottom: 4%; width: 30%; height: 50%; }
.life-copy .sec-title { color: var(--pine); }
.life-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; font-size: 1.125rem; }
.life-list b { color: var(--halo); }
@media (max-width: 900px) { .life { grid-template-columns: 1fr; } .life-photos { order: 2; } }

/* 8. The business card */
.card-close { display: grid; grid-template-columns: 1fr 1fr; min-height: 80svh; background: var(--pine); }
.cc-photo { overflow: hidden; }
.cc-photo img { width: 100%; height: 100%; object-fit: cover; }
.cc-copy { display: grid; align-content: center; justify-items: start; gap: 1.25rem; padding: clamp(3rem, 6vw, 5rem) var(--gutter); }
.cc-logo { width: 230px; height: auto; }
.cc-line { font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1.25 var(--display); }
.cc-contact a { color: var(--daybreak); }
.cc-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .card-close { grid-template-columns: 1fr; } .cc-photo { height: 50svh; } }

.foot { background: var(--night); padding: 2.5rem var(--gutter); display: grid; gap: 1rem; color: #cbbfab; font-size: .9375rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot a { text-decoration: none; }
@media (max-width: 900px) { .foot nav { row-gap: .6rem; } .foot nav a { display: inline-block; padding-block: .4rem; } }
.foot a:hover { color: var(--daybreak); }

.reveal.pre { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .believe, .story { height: auto; }
  .bel-stage, .story-pin { position: relative; height: auto; }
  .bel-stage { display: block; }
  .bel-frame { height: 70vh; }
  .bel-desc { gap: 1rem; } .bel-desc p { grid-area: auto; opacity: 1; transform: none; }
  .story-track { flex-wrap: wrap; width: auto; padding-bottom: 3rem; }
}

/* Larger type everywhere: base size scales from 17px on phones to 20px on big screens */
html { font-size: clamp(17px, 0.45vw + 13.5px, 20px); }
body { font-size: 1.125rem; }
.nav a { font-size: 1.0625rem; }
.creed-line { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.week h3 { font-size: 1.7rem; }
.week li, .week .first p { font-size: 1.1875rem; }
.plate-card h3 { font-size: 1.8rem; }
.plate-card p, .era p, .life-list { font-size: 1.1875rem; }
.era time { font-size: 2.2rem; }
.cc-line { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.foot { font-size: 1rem; }

/* Sacraments: bigger, and every item is a button */
.bel-panel h2 { font-size: clamp(2.2rem, 3.2vw, 3rem); }
.bel-index li { padding: 0; }
.bel-index button { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: .38rem 0; background: none; border: 0; color: inherit; font: 500 1.2rem/1.3 var(--text); text-align: left; cursor: pointer; transition: color .3s var(--ease); }
.bel-index button:hover { color: #fff; }
.bel-index li .n { flex: 0 0 2.4rem; font-size: 1.05rem; }
.bel-desc p { font-size: clamp(1.3rem, 1.75vw, 1.6rem); }
button.mk { padding: 0; margin: 0; border: 0; background: none; cursor: pointer; color: inherit; }
button.mk::before { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; transform: scale(calc(1 / var(--z, 1))); } /* larger hit area */
.mk .num { font-size: .95rem; }
.mk .name { font-size: 1.15rem; }
.bel-canvas.overview .mk:hover .name, .mk:focus-visible .name { opacity: 1; }
.bel-canvas.overview .mk:hover .dot { width: 20px; height: 20px; }

/* From the Cross: the climax. Gold lines flow from the Cross to every sacrament */
.flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.flow line { stroke: var(--daybreak); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 4px rgba(220,157,95,.8)); transition: stroke-dashoffset 1.4s var(--ease), opacity .4s; }
.bel-canvas.flowing .flow line { stroke-dashoffset: 0; opacity: 1; }
.bel-canvas.flowing .flow line:nth-child(2) { transition-delay: .12s; } .bel-canvas.flowing .flow line:nth-child(3) { transition-delay: .24s; }
.bel-canvas.flowing .flow line:nth-child(4) { transition-delay: .36s; } .bel-canvas.flowing .flow line:nth-child(5) { transition-delay: .48s; }
.bel-canvas.flowing .flow line:nth-child(6) { transition-delay: .6s; } .bel-canvas.flowing .flow line:nth-child(7) { transition-delay: .72s; }
.cross-glow { position: absolute; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,226,170,.55) 0%, rgba(220,157,95,.25) 35%, transparent 70%); mix-blend-mode: screen; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; z-index: 1; }
.bel-canvas.flowing .cross-glow { opacity: 1; animation: glowp 3s ease-in-out infinite; }
@keyframes glowp { 50% { transform: translate(-50%, -50%) scale(1.15); } }
.bel-canvas.flowing .mk .dot { width: 18px; height: 18px; background: radial-gradient(circle, var(--daybreak) 0 3px, transparent 3.5px); }
.bel-desc p.big strong { display: block; margin-bottom: .6rem; font: 700 clamp(2rem, 3.2vw, 3rem)/1.08 var(--display); color: var(--daybreak); }
.bel-desc p.big { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }

/* What we believe, in full: an expanding gallery that moves on its own */
.beliefs { background: var(--night); padding: clamp(4rem, 8vw, 6rem) var(--gutter); }
.beliefs .sec-title { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bl-row { display: flex; gap: .6rem; height: clamp(30rem, 72vh, 42rem); }
.bl { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--walnut); transition: flex-grow .9s var(--ease); isolation: isolate; }
.bl.on { flex-grow: 6; }
.bl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.85) brightness(.8); transform: scale(1.06); transition: filter .9s var(--ease), transform 7s linear; }
.bl.on img { filter: none; transform: scale(1); }
.bl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,10,.15) 0%, rgba(20,13,10,.25) 40%, rgba(20,13,10,.92) 100%); }
.bl-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.25rem, 2.5vw, 2.25rem); }
.bl h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
.bl:not(.on) h3 { position: absolute; left: 50%; bottom: 1.4rem; white-space: nowrap; transform: rotate(-90deg) translateY(50%); transform-origin: 0 100%; font-size: 1.25rem; }
.bl p { margin-top: .75rem; max-width: 34em; font-size: 1.1875rem; color: #f1e8da; opacity: 0; transform: translateY(1rem); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bl.on p { opacity: 1; transform: none; transition-delay: .35s; }
.bl-hit { position: absolute; inset: 0; z-index: 2; background: none; border: 0; cursor: pointer; }
.bl.on .bl-hit { pointer-events: none; }
.bl-hit:focus-visible { outline: 3px solid var(--daybreak); outline-offset: -3px; }
.bl .bar { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--daybreak); z-index: 3; }
.bl.on .bar.run { animation: barrun var(--dwell, 8s) linear forwards; }
@keyframes barrun { to { width: 100%; } }
@media (max-width: 860px) {
  .bl-row { flex-direction: column; height: auto; }
  .bl { flex: none; height: 4.75rem; transition: height .8s var(--ease); }
  .bl.on { height: 32rem; }
  .bl:not(.on) h3 { position: static; transform: none; white-space: normal; }
  .bl:not(.on) .bl-body { padding: 1.2rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .bl.on .bar.run { animation: none; } }
.cross-glow { width: 34%; background: radial-gradient(circle, rgba(255,232,185,.75) 0%, rgba(220,157,95,.35) 32%, transparent 68%); }
.flow line { stroke-width: 2; }
.bl::after { background: linear-gradient(180deg, rgba(20,13,10,.1) 0%, rgba(20,13,10,.3) 35%, rgba(20,13,10,.88) 62%, rgba(20,13,10,.95) 100%); }
.bl p { text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* "From the Cross": emphasis in the words, not on the painting */
.flow, .cross-glow { display: none; }
.bel-index li:last-child { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid rgba(220,157,95,.35); }
.bel-index li:last-child button { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: rgba(220,157,95,.75); }
.bel-index li:last-child.on button { color: var(--daybreak); }
.bel-desc p.big strong { font-size: clamp(2.5rem, 4vw, 3.8rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: .9rem; }
.bel-desc p.big { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.believe.at-cross .bel-index li:not(:last-child) { opacity: .45; transition: opacity .6s var(--ease); }
.believe.at-cross .bel-panel h2 { opacity: .55; transition: opacity .6s var(--ease); }

/* ===== Homepage sections for newcomers ===== */
.text-link { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--halo); text-decoration: underline; text-underline-offset: .2em; }
.visit { background: var(--vellum); color: var(--ink); padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); }
.visit .sec-title { color: var(--pine); }
.visit-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; }
.visit-head p { max-width: 32em; font-size: 1.25rem; }
.visit-head b { color: var(--pine); }
.steps { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.step img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover img { transform: scale(1.03); }
.step h3 { margin-top: 1rem; font-size: 1.5rem; color: var(--pine); }
.step p { margin-top: .4rem; font-size: 1.125rem; }
.visit .week { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 1px solid rgba(35,22,19,.18); grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step img { aspect-ratio: 16 / 10; } .visit .week { grid-template-columns: 1fr; } }

.welcome { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--walnut); }
.wel-photo img { width: 100%; height: 100%; min-height: 28rem; object-fit: cover; object-position: 50% 30%; }
.wel-copy { display: grid; align-content: center; gap: 1.25rem; padding: clamp(3rem, 6vw, 5rem) var(--gutter); }
.wel-quote { font: 600 clamp(1.9rem, 3.2vw, 2.9rem)/1.15 var(--display); color: #fff; }
.wel-copy p { font-size: 1.25rem; color: #eadfcd; max-width: 32em; }
.wel-sign { font: 600 1.4rem/1.2 var(--display); color: var(--daybreak) !important; }
.wel-sign span { display: block; margin-top: .3rem; font: 500 1rem/1.3 var(--text); color: #cdbfa8; }
@media (max-width: 860px) { .welcome { grid-template-columns: 1fr; } .wel-photo img { min-height: 0; aspect-ratio: 4 / 3; } }

.distinct { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); background: var(--night); }
.teaser { position: relative; display: block; overflow: hidden; text-decoration: none; aspect-ratio: 4 / 3.4; background: var(--night); }
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 6s var(--ease); }
.teaser:hover img { transform: scale(1.08); }
.teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,13,10,.9) 100%); }
.teaser-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; justify-items: start; gap: .6rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.teaser-title { font: 700 clamp(2rem, 3.4vw, 3rem)/1 var(--display); color: #fff; }
.teaser-line { font-size: 1.2rem; color: #f0e6d6; max-width: 26em; }
.distinct-copy p { margin-top: 1.25rem; font-size: 1.25rem; color: #e8dfcf; }
@media (max-width: 860px) { .distinct { grid-template-columns: 1fr; } }

.coming { background: var(--pine); padding: clamp(4rem, 8vw, 6rem) var(--gutter); }
.coming-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; }
.coming .text-link { color: var(--daybreak); }
.coming-cal { margin-top: 2rem; background: #fff; border-radius: 4px; overflow: hidden; }
.coming-cal iframe { display: block; width: 100%; height: 640px; border: 0; }

.watch { position: relative; display: grid; align-items: center; min-height: clamp(26rem, 50vw, 38rem); overflow: hidden; isolation: isolate; }
.watch > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.watch::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,13,10,.92) 0%, rgba(20,13,10,.65) 45%, rgba(20,13,10,.05) 80%); }
.watch-copy { padding: clamp(3rem, 6vw, 5rem) var(--gutter); max-width: 40rem; display: grid; gap: 1rem; }
.watch-copy p { font-size: 1.25rem; color: #efe5d6; }
@media (max-width: 760px) { .watch::after { background: linear-gradient(180deg, rgba(20,13,10,.3), rgba(20,13,10,.92) 60%); } .watch { align-items: end; } }

/* ===== Inner pages ===== */
.inner .top { background: rgba(20,13,10,.94); }
.page-hero { padding: clamp(8rem, 14vw, 11rem) var(--gutter) clamp(3rem, 6vw, 4.5rem); background: var(--walnut); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: -.02em; }
.page-hero p { margin-top: 1rem; max-width: 34em; font-size: 1.3rem; color: #eadfcd; }

/* The opening service box: the most important thing on the page after the welcome */
.hero { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.hero-copy { grid-column: 1; }
.hero-card { position: relative; right: auto; bottom: auto; grid-column: 2; align-self: end; margin: 0 var(--gutter) clamp(2.5rem, 7vh, 5rem) 0; display: grid; justify-items: stretch; gap: 1rem; width: clamp(20rem, 30vw, 26rem); padding: 1.75rem 1.9rem 1.9rem; text-align: left; background: rgba(20,13,10,.88); backdrop-filter: blur(6px); border-top: 4px solid var(--daybreak); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.hc-title { font: 600 1.55rem/1.1 var(--display); color: #fff; }
.hc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.hc-list li { display: grid; grid-template-columns: 7.2rem 1fr; gap: 1rem; align-items: baseline; padding: .75rem 0; border-top: 1px solid rgba(220,157,95,.25); }
.hc-when { font-size: .95rem; font-weight: 600; color: #d8cbb5; }
.hc-when b { display: block; font: 700 1.6rem/1.05 var(--display); color: var(--daybreak); }
.hc-main .hc-when b { font-size: 2.1rem; }
.hc-what { font: 600 1.25rem/1.2 var(--display); color: #fff; }
.hc-what small { display: block; margin-top: .2rem; font: 500 .95rem/1.2 var(--text); color: #cdbfa8; }
.hc-where { padding-top: .75rem; border-top: 1px solid rgba(220,157,95,.25); font-weight: 600; color: #eadfcd; }
.hc-btn { justify-self: start; }
.cc-addr { font-size: 1.2rem; color: #eadfcd; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 100svh; align-content: end; padding-top: 6rem; }
  .hero-card { display: grid; grid-column: 1; width: auto; margin: 0 var(--gutter) 2rem; }
  .hero-copy { padding-bottom: 0; }
}
.hc-list li { grid-template-columns: 8.6rem 1fr; }
.hc-when b { white-space: nowrap; }
.hc-main .hc-when b { font-size: 1.95rem; }

/* ===== History, Library & Archives ===== */
.hist-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 70svh; display: grid; align-items: end; }
.hist-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: sepia(.25) brightness(.75); animation: slowpan 30s ease-in-out infinite alternate; }
@keyframes slowpan { from { transform: scale(1.05) translateX(0); } to { transform: scale(1.15) translateX(-3%); } }
.hist-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,10,.2), rgba(20,13,10,.9)); }

.chron { background: var(--vellum); color: var(--ink); padding: clamp(3rem, 6vw, 5rem) var(--gutter); display: grid; gap: clamp(3rem, 7vw, 6rem); }
.chap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.chap:nth-child(even) figure { order: 2; }
.chap figure { margin: 0; overflow: hidden; box-shadow: 0 28px 50px -30px rgba(35,22,19,.6); }
.chap figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.4s var(--ease); }
.chap.in figure img { transform: scale(1.04); }
.chap-year { display: block; font: 700 clamp(2.8rem, 6vw, 5rem)/1 var(--display); color: var(--halo); letter-spacing: -.02em; }
.chap h2 { margin-top: .6rem; font-size: clamp(1.7rem, 2.6vw, 2.4rem); color: var(--pine); }
.chap p { margin-top: 1rem; font-size: 1.1875rem; max-width: 34em; }
.chap .chap-text { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.chap.in .chap-text, .no-js .chap .chap-text { opacity: 1; transform: none; }
@media (max-width: 860px) { .chap { grid-template-columns: 1fr; } .chap:nth-child(even) figure { order: 0; } }

.rectors { background: var(--walnut); padding: clamp(4rem, 8vw, 6rem) 0; }
.rectors-head { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; }
.rectors-head p { font-size: 1.2rem; color: #e3d6bf; }
.rector-scroll { margin-top: 2rem; overflow-x: auto; scrollbar-color: var(--halo) transparent; padding: 0 var(--gutter) 1rem; }
.rector-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; width: max-content; }
.rector { width: 11rem; }
.rector img { width: 11rem; height: 14rem; object-fit: cover; object-position: 50% 25%; filter: sepia(.35) contrast(1.05); transition: filter .5s var(--ease); }
.rector:hover img, .rector:last-child img { filter: none; }
.rector.no-photo .rector-mark { display: grid; place-items: center; width: 11rem; height: 14rem; background: #2f201a; border: 1px solid rgba(220,157,95,.35); font: 600 2.4rem/1 var(--display); color: var(--daybreak); }
.rector b { display: block; margin-top: .7rem; font: 600 1.05rem/1.25 var(--display); }
.rector span { color: var(--daybreak); font-weight: 600; font-size: .95rem; }
.rector:last-child b { color: var(--daybreak); }

.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--night); }
.source { position: relative; display: block; min-height: 26rem; overflow: hidden; text-decoration: none; isolation: isolate; background: var(--night); }
.source img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.55) sepia(.2); transition: transform 4s var(--ease); }
.source-book img { object-fit: contain; background: #efe9de; filter: brightness(.8); }
.source:hover img { transform: scale(1.05); }
.source::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(20,13,10,.92) 100%); }
.source-copy { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: .6rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.source-title { font: 700 clamp(1.6rem, 2.4vw, 2.2rem)/1.1 var(--display); color: #fff; }
.source-copy > span:nth-child(2) { font-size: 1.125rem; color: #ecdfca; max-width: 30em; }
@media (max-width: 860px) { .sources { grid-template-columns: 1fr; } }

.library { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(4rem, 8vw, 6rem) var(--gutter); background: var(--vellum); color: var(--ink); }
.library .sec-title { color: var(--pine); }
.lib-copy { display: grid; gap: 1rem; justify-items: start; }
.lib-copy p { font-size: 1.1875rem; }
.lib-search { background: #fff; padding: 1.25rem; border-top: 4px solid var(--halo); box-shadow: 0 24px 50px -30px rgba(35,22,19,.5); }
.lib-search iframe { display: block; width: 100%; height: 220px; border: 0; }
@media (max-width: 860px) { .library { grid-template-columns: 1fr; } }
/* phones: the catalogue widget needs about 340px, so the white card reaches the screen edges */
@media (max-width: 480px) { .lib-search { margin-inline: calc(-1 * var(--gutter)); padding: .5rem; } }

.archives { padding: clamp(4rem, 8vw, 6rem) var(--gutter); background: var(--pine); }
.arch-lede { margin-top: 1rem; max-width: 40em; font-size: 1.3rem; color: #eae3d2; }
.arch-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.arch-grid h3 { font-size: 1.5rem; color: var(--daybreak); padding-top: 1rem; border-top: 1px solid rgba(220,157,95,.4); }
.arch-grid p { margin-top: .5rem; font-size: 1.1rem; color: #e4ddcc; }
.arch-now { margin-top: 3rem; padding: 1.75rem 2rem; background: rgba(20,13,10,.35); border-left: 0; border-top: 3px solid var(--daybreak); max-width: 52rem; }
.arch-now h3 { font-size: 1.5rem; color: #fff; }
.arch-now p { margin-top: .5rem; font-size: 1.15rem; color: #eae3d2; }
@media (max-width: 980px) { .arch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .arch-grid { grid-template-columns: 1fr; } }
.story-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2rem; padding: 0 var(--gutter); }
.story-head .story-title { padding: 0; }
.story-head .text-link { color: var(--daybreak); }
.source-book img { object-fit: contain; object-position: 50% 8%; padding: 1.5rem 0 9rem; background: #ece5d8; filter: none; }
.source-book::after { background: linear-gradient(180deg, transparent 50%, rgba(20,13,10,.95) 78%); }

/* The week at Grace: a day is a line of stops; the Eucharists are the big gold ones */
.sched { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); background: var(--walnut); }
.sched-days { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-content: center; }
.day { display: grid; gap: 1.25rem; }
.day-name { font: 600 1.15rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #cdbfa8; }
.track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1rem; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, rgba(220,157,95,.7), rgba(220,157,95,.15)); }
.stop { position: relative; padding-top: 2.1rem; display: grid; gap: .35rem; align-content: start; }
.stop::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(220,157,95,.8); background: var(--walnut); }
.stop time { font: 600 1.7rem/1 var(--display); color: #f1e6d4; }
.stop span { font-size: 1.05rem; font-weight: 600; color: #e6dac6; line-height: 1.3; }
.stop small { display: block; font-weight: 500; font-size: .92rem; color: #b9aa92; margin-top: .15rem; }
.stop.key::before { left: -3px; top: 2px; width: 19px; height: 19px; border: 0; background: var(--daybreak); box-shadow: 0 0 0 5px rgba(220,157,95,.18); }
.stop.key time { font-size: 2.6rem; font-weight: 700; color: var(--daybreak); }
.stop.key span { font: 600 1.3rem/1.2 var(--display); color: #fff; }
.sched-map { position: relative; min-height: 30rem; }
.sched-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.2) contrast(1.05); }
.map-card { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: rgba(20,13,10,.92); border-top: 3px solid var(--daybreak); }
.map-card p { font-size: 1.1rem; color: #eadfcd; }
.map-card b { color: #fff; font-family: var(--display); font-size: 1.25rem; }
@media (max-width: 980px) {
  .sched { grid-template-columns: 1fr; }
  .sched-map { min-height: 24rem; }
}
@media (max-width: 680px) {
  .track { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; padding-left: 1.75rem; }
  .track::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(220,157,95,.7), rgba(220,157,95,.15)); }
  .stop { padding: .7rem 0; grid-template-columns: 4.6rem 1fr; align-items: baseline; gap: 1rem; }
  .stop::before { left: -1.75rem; top: 1.05rem; }
  .stop.key::before { left: calc(-1.75rem - 3px); top: .95rem; }
  .stop.key time { font-size: 2rem; }
}

/* The week at Grace, v2: Pine and gold, clear lists, a live next-service card beside a window */
.wk { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); background: var(--pine); position: relative; overflow: hidden; }
.wk-main { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.wk-main .sec-title { color: #fff; }
.wk-days { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.wk-day h3 { font: 700 1.6rem/1 var(--display); color: var(--promise); padding-bottom: .9rem; border-bottom: 2px solid var(--daybreak); }
.wk-day ul { list-style: none; margin: 0; padding: 0; }
.wk-day li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid rgba(155,167,113,.28); color: #e6e9d8; font-size: 1.15rem; opacity: 0; transform: translateX(-14px); transition: opacity .7s var(--ease), transform .7s var(--ease), background-color .5s; }
.wk.seen .wk-day li { opacity: 1; transform: none; }
.wk-day li:nth-child(2) { transition-delay: .07s; } .wk-day li:nth-child(3) { transition-delay: .14s; } .wk-day li:nth-child(4) { transition-delay: .21s; } .wk-day li:nth-child(5) { transition-delay: .28s; }
.wk-day time { font: 600 1.35rem/1 var(--display); color: #dfe3c9; font-variant-numeric: lining-nums; }
.wk-day small { display: block; margin-top: .15rem; font-size: .95rem; color: #b9c3a0; }
.wk-day li.mass { padding: 1.1rem 0; }
.wk-day li.mass time { font-size: 2.6rem; font-weight: 700; color: var(--daybreak); }
.wk-day li.mass span { font: 600 1.45rem/1.15 var(--display); color: #fff; }
.wk-day li.is-next { background: linear-gradient(90deg, rgba(220,157,95,.16), rgba(220,157,95,0)); box-shadow: inset 3px 0 0 var(--daybreak); padding-left: .9rem; }
.wk-side { position: relative; min-height: 32rem; isolation: isolate; }
.wk-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; animation: wkdrift 24s ease-in-out infinite alternate; }
@keyframes wkdrift { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-2%); } }
.wk-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--pine) 0%, rgba(30,48,36,0) 30%), linear-gradient(180deg, rgba(20,13,10,0) 40%, rgba(20,13,10,.75) 100%); }
.wk-next { position: absolute; left: clamp(1.25rem, 3vw, 2.5rem); right: clamp(1.25rem, 3vw, 2.5rem); bottom: clamp(1.25rem, 3vw, 2.5rem); display: grid; justify-items: start; gap: .3rem; padding: 1.5rem 1.6rem 1.6rem; background: rgba(20,13,10,.86); backdrop-filter: blur(6px); border-top: 4px solid var(--daybreak); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.wk-next-label { font: 700 .95rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--daybreak); }
.wk-next-label::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: .5rem; border-radius: 50%; background: var(--daybreak); vertical-align: .1em; animation: live 1.8s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }
.wk-next-name { margin-top: .5rem; font: 700 1.8rem/1.1 var(--display); color: #fff; }
.wk-next-when { font: 600 1.3rem/1.2 var(--display); color: var(--daybreak); }
.wk-next-in { font-size: 1.05rem; color: #e2d7c3; margin-bottom: .8rem; }
@media (max-width: 1000px) { .wk { grid-template-columns: 1fr; } .wk-side { min-height: 24rem; } .wk-side::after { background: linear-gradient(180deg, var(--pine) 0%, rgba(30,48,36,0) 25%, rgba(20,13,10,.7) 100%); } }
@media (max-width: 640px) { .wk-days { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wk-day li { opacity: 1; transform: none; } .wk-side img, .wk-next-label::before { animation: none; } }
.wk-day li { grid-template-columns: 7.2rem 1fr; }
.wk-day li.mass time { font-size: 2.4rem; white-space: nowrap; }
.wk-day li.is-next { padding-left: 0; box-shadow: none; }
.wk-day li.is-next time::after { content: "next"; display: block; margin-top: .35rem; font: 700 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--walnut); background: var(--daybreak); padding: .25rem .45rem; width: max-content; border-radius: 2px; }
@media (max-width: 640px) { .wk-day li { grid-template-columns: 5.6rem 1fr; } .wk-day li.mass time { font-size: 1.95rem; } }

/* Week section: more movement */
.wk::before { content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none; background: radial-gradient(40% 50% at 20% 30%, rgba(155,167,113,.22), transparent 70%), radial-gradient(35% 45% at 70% 80%, rgba(220,157,95,.12), transparent 70%); animation: wkglow 18s ease-in-out infinite alternate; }
@keyframes wkglow { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(6%, -4%) rotate(8deg); } }
.wk-main, .wk-side { position: relative; z-index: 1; }
.wk-side > img { display: none; }
.wk-glass { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.wk-glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transform: scale(1.12); transition: opacity 2s ease, transform 9s linear; }
.wk-glass img.on { opacity: 1; transform: scale(1.02); }
.wk-day h3 { border-bottom: 0; position: relative; }
.wk-day h3::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--daybreak); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.wk.seen .wk-day h3::after { transform: scaleX(1); }
.wk-day li.mass time { display: inline-block; transform: translateY(.6em); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.wk.seen .wk-day li.mass time { transform: none; opacity: 1; transition-delay: .4s; }
.wk-day li { transition: opacity .7s var(--ease), transform .7s var(--ease), background-color .4s; }
.wk-day li:hover { background: rgba(155,167,113,.12); }
.wk-day li.is-next { position: relative; overflow: hidden; }
.wk-day li.is-next::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255,226,170,.16), transparent); animation: shimmer 3.6s ease-in-out infinite; }
@keyframes shimmer { 60%, 100% { left: 110%; } }
.wk-count { display: flex; gap: .5rem; margin: .2rem 0 1rem; }
.wk-count span { display: grid; justify-items: center; min-width: 3.6rem; padding: .45rem .3rem .4rem; background: rgba(220,157,95,.12); border: 1px solid rgba(220,157,95,.35); font: 600 .72rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: #cdbfa8; }
.wk-count b { display: block; margin-bottom: .3rem; font: 700 1.6rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.wk-count b.tick { animation: tick .5s var(--ease); }
@keyframes tick { from { transform: translateY(-6px); opacity: .3; } to { transform: none; opacity: 1; } }
.wk-next-in { margin-bottom: .2rem; }
@media (prefers-reduced-motion: reduce) { .wk::before, .wk-day li.is-next::after { animation: none; } .wk-glass img { transition: none; } .wk-day li.mass time, .wk-day h3::after { transform: none; opacity: 1; } }

/* Coming up at Grace: a gliding rail of event cards in Grace's own style */
.coming { background: var(--walnut); padding: clamp(4rem, 8vw, 6rem) 0; overflow: hidden; }
.coming-head { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.coming-sub { margin-top: .4rem; font: 500 1.3rem/1.2 var(--display); color: var(--daybreak); }
.rail-ctrl { display: flex; align-items: center; gap: .6rem; }
.rail-btn { width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid rgba(220,157,95,.6); background: none; color: #fff; font-size: 1.2rem; cursor: pointer; transition: background-color .3s, border-color .3s; }
.rail-btn:hover { background: var(--daybreak); border-color: var(--daybreak); color: var(--walnut); }
.rail-ctrl .text-link { margin: 0 0 0 .8rem; color: var(--daybreak); }
.rail { margin-top: 2.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail-track { list-style: none; margin: 0; padding: 0 var(--gutter) .5rem; display: flex; gap: 1.1rem; width: max-content; }
.ev { position: relative; flex: 0 0 auto; width: 17rem; min-height: 23rem; scroll-snap-align: start; display: grid; align-content: space-between; padding: 1.5rem; background: #2f201a; border-top: 3px solid var(--daybreak); overflow: hidden; isolation: isolate; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.coming.seen .ev { opacity: 1; transform: none; }
.coming.seen .ev:nth-child(2) { transition-delay: .08s; } .coming.seen .ev:nth-child(3) { transition-delay: .16s; } .coming.seen .ev:nth-child(4) { transition-delay: .24s; } .coming.seen .ev:nth-child(5) { transition-delay: .32s; } .coming.seen .ev:nth-child(n+6) { transition-delay: .4s; }
.ev-img { width: 22rem; }
.ev-feature { width: 30rem; }
.ev > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.05); transition: transform 6s var(--ease); }
.ev:hover > img { transform: scale(1.15); }
.ev-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,10,.15) 0%, rgba(20,13,10,.35) 45%, rgba(20,13,10,.92) 100%); }
.ev-date { display: grid; justify-items: start; }
.ev-date span { font: 700 .95rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--daybreak); }
.ev-date b { font: 700 3.8rem/1 var(--display); color: #fff; }
.ev-feature .ev-date b { font-size: 5rem; }
.ev-day { font-weight: 600; color: #d9cbb3; font-size: 1rem; }
.ev h3 { margin-top: .35rem; font-size: 1.6rem; color: #fff; }
.ev-feature h3 { font-size: 2.1rem; }
.ev p { margin-top: .45rem; font-size: 1.05rem; color: var(--daybreak); font-weight: 600; }
@media (max-width: 560px) { .ev { width: 15rem; min-height: 20rem; } .ev-img { width: 18rem; } .ev-feature { width: 20rem; } .rail-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .ev { opacity: 1; transform: none; } }

/* The season's color, set by the church-year engine (Advent blue, Lent purple, Easter gold, Pentecost red, green otherwise) */
:root { --season: var(--daybreak); }
.hero-card { border-top-color: var(--season); }
.ev { border-top-color: var(--season); }
.coming-sub { color: var(--season); }
.wk-next { border-top-color: var(--season); }
.wk-next-label::before { background: var(--season); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--season); opacity: .9; }
.top::after { display: none; }

/* Accessibility fixes (axe): readable gold on cream, brighter dimmed list items, readable season text */
:root { --halo-deep: #8a5518; }
.life-list b, .chap-year, .visit .text-link, .library .text-link, .week h3 { color: var(--halo-deep); }
.bel-index li { color: rgba(255,255,255,.62); }
.coming-sub { color: color-mix(in srgb, var(--season) 62%, #fff); }
.rector.interim span { color: #cdbfa8; }
.rector.interim img { opacity: .85; }

/* What We Believe: a shorter triptych, and clear ways to reach the belief slides */
@media (prefers-reduced-motion: no-preference) { .believe { height: 560vh; } }
.ph-jump { margin-top: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-wrap: wrap; gap: .75rem; }
.ph-jump a { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: .7rem 1.35rem; border: 1.5px solid rgba(220,157,95,.75); border-radius: 999px; color: #fff; font: 700 1.05rem/1.1 var(--text); text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.ph-jump a::after { content: "↓"; color: var(--daybreak); transition: color .3s var(--ease); }
.ph-jump a:hover { background: var(--daybreak); color: var(--walnut); }
.ph-jump a:hover::after { color: var(--walnut); }
.ph-jump a:focus-visible, .bel-skip:focus-visible { outline: 3px solid var(--daybreak); outline-offset: 3px; }
.bel-skip { justify-self: start; color: var(--daybreak); font: 700 1.05rem/1.2 var(--text); text-decoration: underline; text-underline-offset: .25em; }
.bel-skip:hover { color: #fff; }
@media (max-width: 860px) { .bel-skip { font-size: 1rem; } }

/* What We Believe: the Anglican opener above the belief slides */
.anglican { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ang-lead { max-width: 40em; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.55; color: #eadfcd; }
.ang-line { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.25rem); position: relative; }
.ang-line::before { content: ""; position: absolute; left: 0; right: 0; top: 2.65rem; height: 1px; background: linear-gradient(90deg, var(--halo), rgba(188,122,46,.15)); transform-origin: 0 50%; }
.ang-line li { position: relative; display: grid; gap: .6rem; align-content: start; min-width: 0; padding-top: 3.4rem; }
.ang-line li::before { content: ""; position: absolute; top: calc(2.65rem - 5px); left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--daybreak); box-shadow: 0 0 0 5px rgba(220,157,95,.18); }
.ang-line b { position: absolute; top: -.2rem; left: 0; font: 600 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--display); color: var(--daybreak); }
.ang-line span { font-size: 1.0625rem; line-height: 1.5; color: #e3d6c2; }
/* motion: the thread draws, then each date arrives in turn (only once JS arms it) */
.ang-line.armed::before { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.ang-line.armed li { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ang-line.armed.in::before { transform: scaleX(1); }
.ang-line.armed.in li { opacity: 1; transform: none; }
.ang-line.armed.in li:nth-child(2) { transition-delay: .18s; }
.ang-line.armed.in li:nth-child(3) { transition-delay: .36s; }
.ang-line.armed.in li:nth-child(4) { transition-delay: .54s; }
.ang-line.armed.in li:nth-child(5) { transition-delay: .72s; }
@media (max-width: 860px) {
  .ang-line { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 1.75rem; }
  .ang-line::before { left: 5px; right: auto; top: .4rem; bottom: .4rem; width: 1px; height: auto; background: linear-gradient(180deg, var(--halo), rgba(188,122,46,.15)); transform-origin: 50% 0; }
  .ang-line li { padding-top: 0; grid-template-columns: 4.5rem 1fr; gap: .9rem; }
  .ang-line li::before { top: .55rem; left: calc(-1.75rem); }
  .ang-line b { position: static; font-size: 1.6rem; }
  .ang-line.armed::before { transform: scaleY(0); }
  .ang-line.armed.in::before { transform: scaleY(1); }
}

/* Homepage tweaks, Nov 21: steady story cards, no glow in The week, new believe door, warm gold close */
.era, .era-wide { width: clamp(17rem, 24vw, 21rem); }
.era img { aspect-ratio: 4 / 5; height: auto; max-height: 52vh; }
.wk::before { display: none; }
.teaser img { object-fit: cover; object-position: 50% 60%; }
.card-close { background: var(--halo); color: var(--walnut); }
.card-close .cc-line, .card-close .cc-addr { color: var(--walnut); }
.card-close .cc-contact a { color: var(--walnut); text-decoration: underline; text-underline-offset: .2em; }
.card-close .btn-gold { background: var(--walnut); color: #f6ecdd; border-color: var(--walnut); }
.card-close .btn-gold:hover { background: var(--pine); border-color: var(--pine); }
.card-close .btn-line { border-color: var(--walnut); color: var(--walnut); }
.card-close .btn-line:hover { background: var(--walnut); color: #f6ecdd; }
.card-close .cc-photo img { object-position: 45% 50%; }
.wk-day li.is-next::after { display: none; }
.teaser { aspect-ratio: 4 / 4.6; }
.teaser img { object-position: 50% 42%; }

/* How we pray: all three cards are photographs or full paintings now */
.pray .plate-card .plate-img img { object-fit: cover; background: none; }

/* ===== Inner pages (Worship, Parish Life, Clergy & Vestry, Life events, Facilities, Credits) ===== */
.page-hero .ph-kicker { display: block; margin-bottom: .9rem; font: 700 .95rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--daybreak); }
/* Full-bleed photo and text rows that alternate sides */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 78svh; background: var(--walnut); }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.feature.flip .feature-media { order: 2; }
.feature.tone-pine { background: var(--pine); }
.feature.tone-night { background: var(--night); }
.feature-media { position: relative; overflow: hidden; min-height: 22rem; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.4s var(--ease); }
.feature.in .feature-media img { transform: scale(1.02); }
.feature-media img + img { inset: auto clamp(1rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) auto; width: 42%; height: auto; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -20px rgba(0,0,0,.75); outline: 6px solid var(--walnut); transform: translateY(2rem); opacity: 0; transition: transform 1.4s var(--ease) .5s, opacity 1.2s var(--ease) .5s; }
.feature.tone-pine .feature-media img + img { outline-color: var(--pine); }
.feature.tone-night .feature-media img + img { outline-color: var(--night); }
.feature.in .feature-media img + img { transform: none; opacity: 1; }
.feature-copy { display: grid; align-content: center; justify-items: start; gap: 1.1rem; padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.feature-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); color: #fff; }
.feature-copy p { max-width: 36em; font-size: 1.2rem; line-height: 1.65; color: #eadfcd; }
.feature-copy .who { font-size: 1.05rem; color: #cdbfa8; }
.feature-copy .who a, .feature-copy p a { color: var(--daybreak); }
.feature-copy blockquote { margin: .4rem 0; padding-left: 1.2rem; border-left: 3px solid var(--daybreak); font: 500 italic clamp(1.3rem, 2vw, 1.6rem)/1.45 var(--display); color: #fff; max-width: 28em; }
.feature-copy blockquote cite { display: block; margin-top: .5rem; font: 600 normal .95rem/1 var(--text); color: var(--daybreak); }
@media (max-width: 860px) { .feature, .feature.flip { grid-template-columns: 1fr; min-height: 0; } .feature.flip .feature-media { order: 0; } .feature-media { min-height: 60vw; } }
/* Age ladder for children */
.ladder { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; width: 100%; max-width: 40rem; }
.ladder li { display: grid; gap: .35rem; align-content: start; padding-top: .9rem; border-top: 2px solid rgba(220,157,95,.45); }
.ladder b { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1 var(--display); color: var(--daybreak); }
.ladder span { font-size: 1rem; color: #eadfcd; line-height: 1.35; }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr 1fr; } }
/* Services band over a photograph */
.svc-band { position: relative; isolation: isolate; padding: clamp(5rem, 10vw, 8rem) var(--gutter); background: var(--night); }
.svc-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.svc-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,10,.55), rgba(20,13,10,.88)); }
.svc-band .sec-title { color: #fff; }
.svc-cols { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.svc-cols li { display: grid; gap: .5rem; align-content: start; padding-top: 1.2rem; border-top: 3px solid var(--season, var(--daybreak)); }
.svc-cols .day { font: 700 .95rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #e2d7c3; }
.svc-cols .at { font: 700 clamp(2.8rem, 5vw, 4.2rem)/1 var(--display); color: var(--daybreak); }
.svc-cols .what { font: 600 clamp(1.4rem, 2vw, 1.7rem)/1.2 var(--display); color: #fff; }
.svc-cols small { font-size: 1.05rem; color: #e2d7c3; }
.svc-also { margin-top: clamp(2rem, 4vw, 3rem); font-size: 1.15rem; color: #eadfcd; }
.svc-also b { color: #fff; }
@media (max-width: 760px) { .svc-cols { grid-template-columns: 1fr; } }
/* People: staff and vestry */
.people-sec { padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); background: var(--walnut); }
.people-sec.tone-night { background: var(--night); }
.people-sec > p { margin-top: 1rem; max-width: 40em; font-size: 1.2rem; color: #eadfcd; }
.people { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); }
.people.big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.people li { display: grid; gap: .3rem; align-content: start; }
.people img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; margin-bottom: .7rem; filter: saturate(.92); transition: filter .5s var(--ease), transform .8s var(--ease); }
.people li:hover img { filter: saturate(1.08); transform: translateY(-4px); }
.people b { font: 600 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--display); color: #fff; }
.people span { font-size: 1.02rem; color: var(--daybreak); font-weight: 600; }
.people small { font-size: .98rem; color: #cdbfa8; }
/* Ministries ledger (no boxes) */
.ledger-sec { padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); background: var(--pine); }
.ledger-sec > p { margin-top: 1rem; max-width: 40em; font-size: 1.2rem; color: #e6e9d8; }
.ledger { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4.5rem); }
.ledger li { display: grid; gap: .6rem; align-content: start; padding-top: 1.2rem; border-top: 2px solid rgba(155,167,113,.45); }
.ledger h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: #fff; }
.ledger .when { font: 700 .9rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--daybreak); }
.ledger p { font-size: 1.12rem; line-height: 1.6; color: #e6e9d8; }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr; } }
/* A big quote band */
.quote-band { padding: clamp(4.5rem, 9vw, 7rem) var(--gutter); background: var(--night); }
.quote-band blockquote { margin: 0; max-width: 22ch; font: 600 clamp(2rem, 4.4vw, 3.6rem)/1.15 var(--display); color: #fff; text-wrap: balance; }
.quote-band cite { display: block; margin-top: 1.2rem; font: 600 normal 1.05rem/1 var(--text); color: var(--daybreak); }
.quote-band p { margin-top: 1.6rem; max-width: 40em; font-size: 1.2rem; line-height: 1.65; color: #eadfcd; }
.quote-band .actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .75rem; }
/* Contact strip */
.ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter); background: var(--halo); color: var(--walnut); }
.ask h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--walnut); }
.ask p { margin-top: .5rem; font-size: 1.15rem; }
.ask .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ask .btn-gold { background: var(--walnut); color: #f6ecdd; border-color: var(--walnut); }
.ask .btn-gold:hover { background: var(--pine); border-color: var(--pine); }
.ask .btn-line { border-color: var(--walnut); color: var(--walnut); }
.ask .btn-line:hover { background: var(--walnut); color: #f6ecdd; }
.spaces .plate-card p.meta { color: var(--daybreak); font-weight: 600; margin-top: .25rem; }
/* Credits list */
.credits { padding: clamp(4rem, 8vw, 6rem) var(--gutter); background: var(--walnut); }
.credits ol { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; max-width: 52rem; }
.credits li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.2rem; align-items: start; }
.credits img { width: 5.5rem; height: 5.5rem; object-fit: cover; }
.credits b { font: 600 1.2rem/1.3 var(--display); color: #fff; }
.credits span { display: block; margin-top: .25rem; font-size: 1.02rem; color: #cdbfa8; }
.credits a { color: var(--daybreak); }
@media (prefers-reduced-motion: reduce) { .feature-media img, .feature-media img + img { transform: none; opacity: 1; transition: none; } }
.life-more { display: inline-block; margin-top: 1.5rem; color: var(--halo-deep, #8a5518); font-weight: 700; }
@media (min-width: 900px) { .people.big { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ===== Grouped main menu ===== */
.grp { position: relative; }
.grp-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 0; background: none; border: 0; color: inherit; font: 600 1.0625rem/1 var(--text); text-shadow: 0 1px 10px rgba(0,0,0,.5); cursor: pointer; }
.grp-btn::after { content: ""; width: .42em; height: .42em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15em) rotate(45deg); transition: transform .3s var(--ease); }
.grp-btn:hover, .grp-btn[aria-expanded="true"] { color: var(--daybreak); }
.grp-btn[aria-expanded="true"]::after { transform: translateY(.1em) rotate(225deg); }
.grp-btn:focus-visible { outline: 2px solid var(--daybreak); outline-offset: 4px; border-radius: 2px; }
.nav ul.sub { position: absolute; top: 100%; left: -1.2rem; z-index: 60; display: grid; gap: 0; min-width: 16rem; margin: 0; padding: .6rem 0; list-style: none; background: rgba(20,13,10,.97); border-top: 3px solid var(--daybreak); box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.grp:hover > ul.sub, .grp:focus-within > ul.sub, .grp-btn[aria-expanded="true"] + ul.sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav ul.sub a { display: block; padding: .7rem 1.2rem; font-size: 1.02rem; white-space: nowrap; text-shadow: none; }
.nav ul.sub a:hover, .nav ul.sub a:focus-visible { background: rgba(220,157,95,.12); color: var(--daybreak); }
.nav ul.sub a[aria-current="page"] { color: var(--daybreak); }
@media (max-width: 900px) {
  .nav > ul { max-height: calc(100svh - 4.5rem); overflow-y: auto; }
  .grp-btn { display: block; width: 100%; padding: 1.2rem 0 .3rem; font: 700 .85rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--daybreak); text-align: left; cursor: default; text-shadow: none; }
  .grp-btn::after { display: none; }
  .nav ul.sub, .nav.open ul.sub { position: static; display: block; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; opacity: 1; transform: none; clip-path: none; transition: none; }
  /* sub-lists follow the menu: hidden (and out of the Tab order) while it is closed */
  .nav ul.sub, .nav.open ul.sub, .grp-btn[aria-expanded] + ul.sub { visibility: inherit; }
  .nav ul.sub a { padding: .75rem 0; font-size: 1.15rem; white-space: normal; border-bottom: 1px solid rgba(220,157,95,.15); }
}
/* Ways to serve list on dark ground */
.ledger-sec.tone-night { background: var(--night); }
.ledger-sec.tone-night li { border-top-color: rgba(220,157,95,.3); }
.ledger-sec.tone-night p { color: #eadfcd; }
.ledger p a { color: var(--daybreak); }
/* Portraits: smaller, so the old photos stay sharp */
.people.big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.people.big img { max-width: 13rem; }
@media (min-width: 900px) { .people.big { grid-template-columns: repeat(4, minmax(0, 13rem)); justify-content: start; column-gap: clamp(2rem, 4vw, 3.5rem); } }
.vgroup { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: 1rem 2rem; align-items: start; margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid rgba(220,157,95,.25); }
.vgroup h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); color: var(--daybreak); }
.people.small { margin: 0; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 1.5rem; }
.people.small li { justify-items: start; }
.people.small img { width: 7.5rem; height: 7.5rem; aspect-ratio: 1; border-radius: 50%; object-position: 50% 25%; margin-bottom: .6rem; box-shadow: 0 0 0 3px rgba(220,157,95,.35); }
.people.small b { font-size: 1.2rem; }
@media (max-width: 700px) { .vgroup { grid-template-columns: 1fr; } }

/* ===== Varied inner layouts ===== */
/* The shape of the liturgy: five movements, read left to right */
.liturgy { padding: clamp(4.5rem, 9vw, 7rem) var(--gutter); background: var(--walnut); }
.liturgy-lead, .liturgy-foot { margin-top: 1rem; max-width: 42em; font-size: 1.2rem; line-height: 1.65; color: #eadfcd; }
.liturgy-foot { margin-top: clamp(2rem, 4vw, 3rem); color: #cdbfa8; }
.liturgy-steps { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); counter-reset: none; }
.liturgy-steps li { position: relative; display: grid; gap: .55rem; align-content: start; padding-top: 3.6rem; }
.liturgy-steps li::before { content: ""; position: absolute; left: 0; right: calc(-1 * clamp(1rem, 2.5vw, 2rem)); top: 1.35rem; height: 2px; background: linear-gradient(90deg, var(--daybreak), rgba(220,157,95,.2)); }
.liturgy-steps li:last-child::before { right: 0; }
.liturgy-steps .n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--walnut); border: 2px solid var(--daybreak); font: 700 1rem/1 var(--display); color: var(--daybreak); }
.liturgy-steps h3 { font-size: clamp(1.35rem, 1.9vw, 1.65rem); color: #fff; }
.liturgy-steps p { font-size: 1.08rem; line-height: 1.55; color: #e3d6c2; }
@media (max-width: 900px) {
  .liturgy-steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .liturgy-steps li { padding: 0 0 0 4rem; min-height: 2.8rem; }
  .liturgy-steps li::before { left: 1.35rem; right: auto; top: 2.8rem; bottom: -1.6rem; width: 2px; height: auto; background: rgba(220,157,95,.35); }
  .liturgy-steps li:last-child::before { display: none; }
}
/* Two columns of text, no pictures */
.duo { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); }
.duo-col { display: grid; align-content: start; gap: 1rem; padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.duo-col + .duo-col { border-left: 1px solid rgba(220,157,95,.2); }
.duo .when { font: 700 .9rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--daybreak); }
.duo p { max-width: 34em; font-size: 1.15rem; line-height: 1.65; color: #eadfcd; }
.duo p b { color: #fff; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo-col + .duo-col { border-left: 0; border-top: 1px solid rgba(220,157,95,.2); } }
/* A wide picture that opens a section */
.banner { margin: calc(-1 * clamp(4rem, 8vw, 6.5rem)) calc(-1 * var(--gutter)) clamp(3rem, 6vw, 4.5rem); height: clamp(16rem, 38vw, 30rem); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
/* Life events: three tall panels, like the wings of an altarpiece */
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--night); }
.tri-panel { position: relative; isolation: isolate; display: grid; align-content: end; min-height: min(88svh, 52rem); overflow: hidden; }
.tri-panel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.tri-panel:hover > img { transform: scale(1.1); }
.tri-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,10,0) 25%, rgba(20,13,10,.82) 58%, rgba(20,13,10,.96) 100%); }
.tri-copy { display: grid; gap: .8rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.tri-copy .when { font: 700 .88rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--daybreak); }
.tri-copy h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); color: #fff; }
.tri-copy p { font-size: 1.1rem; line-height: 1.55; color: #eadfcd; }
.tri-copy blockquote { margin: 0; font: 500 italic 1.2rem/1.45 var(--display); color: #fff; }
.tri-copy cite { display: block; margin-top: .4rem; font: 600 normal .9rem/1 var(--text); color: var(--daybreak); }
@media (max-width: 900px) { .tri { grid-template-columns: 1fr; } .tri-panel { min-height: 34rem; } }
/* Homepage life photos: a mosaic with clear gaps, nothing overlapping */
.lp1 { left: 0; top: 0; width: calc(50% - 6px); height: calc(60% - 6px); }
.lp4 { left: 0; bottom: 0; top: auto; width: calc(50% - 6px); height: 40%; }
.lp2 { right: 0; top: 0; width: calc(50% - 6px); height: calc(42% - 6px); }
.lp3 { right: 0; bottom: 0; width: calc(50% - 6px); height: 58%; }
.lp { box-shadow: none; transform: none !important; }
/* Life events panels: picture above, words below on solid ground, so the text always reads */
.tri-panel { display: grid; grid-template-rows: clamp(18rem, 44svh, 28rem) 1fr; align-content: stretch; min-height: 0; background: var(--walnut); }
.tri-panel > img { position: relative; inset: auto; z-index: 0; grid-row: 1; height: 100%; transform: none; }
.tri-panel:hover > img { transform: none; filter: brightness(1.06); }
.tri-panel::after { display: none; }
.tri-copy { grid-row: 2; align-content: start; border-top: 3px solid var(--daybreak); padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.tri-panel { overflow: visible; }
.tri-panel > img { transition: filter .6s var(--ease); }

/* ===== Homepage, lighter brand palette (Nov 22) =====
   Light tints of the brand colours carry the page; Pine is the text; Halo and Daybreak are warm accents;
   dark Pine stays for the opening video and the footer only. */
:root {
  --laurel: #434a2a;
  --t-white: #ffffff;
  --t-stone: #f3f3f1;    /* the style sheet's light grey, lifted */
  --t-parch: #f5ede0;    /* Parchment, lifted */
  --t-promise: #e9ecdf;  /* Promise, lifted */
  --halo-text: #8a5518;  /* Halo dark enough for small text on light grounds */
  --halo-big: #a5651f;   /* Halo for large numerals on light grounds */
}
/* Your first Sunday */
.visit { background: var(--t-white); color: var(--pine); padding-block: clamp(4.5rem, 9vw, 7rem); }
.visit-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; gap: 1rem 4rem; }
.visit-head p { font-size: 1.3rem; line-height: 1.6; color: var(--laurel); }
.visit-head .text-link { grid-column: 2; justify-self: start; color: var(--halo-text); font-weight: 700; }
.visit-list { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.visit-list li { display: grid; gap: .6rem; align-content: start; padding-top: 1.3rem; border-top: 3px solid var(--promise); }
.visit-list li:first-child { border-top-color: var(--daybreak); }
.visit-list h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); color: var(--pine); }
.visit-list p { font-size: 1.12rem; line-height: 1.6; color: var(--laurel); }
@media (max-width: 900px) { body:not(.inner) .visit-head { grid-template-columns: 1fr; } body:not(.inner) .visit-head .text-link { grid-column: 1; } .visit-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .visit-list { grid-template-columns: 1fr; } }

/* The week at Grace: light sage */
.wk { background: var(--t-promise); }
.wk-main .sec-title { color: var(--pine); }
.wk-day h3 { color: var(--grace); }
.wk-day h3::after { background: var(--daybreak); }
.wk-day li { color: var(--pine); border-bottom-color: rgba(30,48,36,.14); }
.wk-day li:hover { background: rgba(155,167,113,.18); }
.wk-day time { color: var(--pine); }
.wk-day small { color: var(--laurel); }
.wk-day li.mass time { color: var(--halo-big); }
.wk-day li.mass span { color: var(--pine); }
.wk-day li.is-next { background: linear-gradient(90deg, rgba(220,157,95,.22), rgba(220,157,95,0)); }
.wk-side::after { background: linear-gradient(90deg, var(--t-promise) 0%, rgba(233,236,223,0) 22%); }
.wk-next { background: var(--t-white); box-shadow: 0 24px 50px -24px rgba(30,48,36,.45); }
.wk-next-name { color: var(--pine); }
.wk-next-when { color: var(--halo-text); }
.wk-next-label { color: var(--halo-text); }
.wk-next-in { color: var(--laurel); }
.wk-count span { background: var(--t-promise); border-color: rgba(103,112,73,.35); color: var(--laurel); }
.wk-count b { color: var(--pine); }
@media (max-width: 1000px) { body:not(.inner) .wk-side::after { background: linear-gradient(180deg, var(--t-promise) 0%, rgba(233,236,223,0) 22%); } }

/* Rector's welcome: parchment */
.welcome { background: var(--t-parch); }
.wel-quote { color: var(--pine); }
.wel-copy p { color: var(--laurel); }
.wel-sign { color: var(--halo-text) !important; }
.wel-sign span { color: var(--grace); }

/* Episcopal. Catholic. */
.distinct { background: var(--t-white); }
.distinct .sec-title { color: var(--pine); }
.distinct-copy p { color: var(--laurel); line-height: 1.65; }

/* Coming up: light stone, white cards */
.coming { background: var(--t-stone); }
.coming .sec-title { color: var(--pine); }
.coming-sub { color: var(--grace); }
.rail-btn { border-color: rgba(30,48,36,.35); color: var(--pine); }
.rail-btn:hover { background: var(--pine); border-color: var(--pine); color: #fff; }
.rail-ctrl .text-link { color: var(--halo-text); }
.ev:not(.ev-img) { background: var(--t-white); box-shadow: 0 18px 40px -26px rgba(30,48,36,.45); }
.ev:not(.ev-img) .ev-date span { color: var(--halo-text); }
.ev:not(.ev-img) .ev-date b, .ev:not(.ev-img) h3 { color: var(--pine); }
.ev:not(.ev-img) .ev-day { color: var(--grace); }
.ev:not(.ev-img) p { color: var(--halo-text); }

/* Our Story: white */
.story { background: var(--t-white); }
.story-title { color: var(--pine); }
.story-head .text-link { color: var(--halo-text); }
.era time { color: var(--halo-big); }
.era p { color: var(--laurel); }

/* Close: Promise sage with Pine */
.card-close { background: var(--promise); color: var(--pine); }
.card-close .cc-line, .card-close .cc-addr, .card-close .cc-contact a { color: var(--pine); }
.card-close .btn-gold { background: var(--pine); border-color: var(--pine); color: #fff; }
.card-close .btn-gold:hover { background: var(--laurel); border-color: var(--laurel); }
.card-close .btn-line { border-color: var(--pine); color: var(--pine); }
.card-close .btn-line:hover { background: var(--pine); color: #fff; }

@media (max-width: 900px) { .visit-head { grid-template-columns: 1fr; } .visit-head .text-link { grid-column: 1; } }
@media (max-width: 1000px) { .wk-side::after { background: linear-gradient(180deg, var(--t-promise) 0%, rgba(233,236,223,0) 22%); } }

/* ===== Homepage calling card ===== */
.hello { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; padding: clamp(5rem, 11vw, 9rem) var(--gutter); background: var(--t-parch); color: var(--pine); }
.hello-quote { font: 600 clamp(2.2rem, 4.4vw, 3.8rem)/1.12 var(--display); color: var(--pine); text-wrap: balance; max-width: 18ch; }
.hello-copy p { margin-top: 1.5rem; max-width: 34em; font-size: 1.28rem; line-height: 1.65; color: var(--laurel); }
.hello-copy .hello-sign { margin-top: 1.6rem; font: 600 1.35rem/1.2 var(--display); color: var(--halo-text); }
.hello-sign span { display: block; margin-top: .3rem; font: 500 1rem/1.3 var(--text); color: var(--grace); }
.doors { display: grid; border-top: 1px solid rgba(30,48,36,.2); }
.doors a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem .2rem; border-bottom: 1px solid rgba(30,48,36,.2); color: var(--pine); text-decoration: none; font: 600 clamp(1.3rem, 1.9vw, 1.65rem)/1.2 var(--display); transition: padding .4s var(--ease), color .3s; }
.doors a i { font-style: normal; color: var(--halo-big); transition: transform .4s var(--ease); }
.doors a:hover { padding-left: .8rem; color: var(--grace); }
.doors a:hover i { transform: translateX(6px); }
.doors a:focus-visible { outline: 3px solid var(--daybreak); outline-offset: 2px; }
@media (max-width: 860px) { .hello { grid-template-columns: 1fr; } }
.plate-band { position: relative; height: clamp(26rem, 60vw, 44rem); overflow: hidden; background: var(--pine); }
.plate-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.06); animation: plate-drift 26s ease-in-out infinite alternate; }
@keyframes plate-drift { to { transform: scale(1) translateY(-1.5%); } }
.plate-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,13,10,0) 45%, rgba(20,13,10,.6) 100%); }
.plate-band p { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(2rem, 5vw, 4rem); max-width: 20ch; font: 600 clamp(2rem, 4.2vw, 3.6rem)/1.08 var(--display); color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
@media (prefers-reduced-motion: reduce) { .plate-band img { animation: none; transform: none; } }

/* ===== Inner pages, lighter brand palette ===== */
.inner .sec-title { color: var(--pine); }
.page-hero { background: var(--t-parch); color: var(--pine); }
.page-hero h1 { color: var(--pine); }
.page-hero p { color: var(--laurel); }
.page-hero .ph-kicker { color: var(--halo-text); }
.ph-jump a { color: var(--pine); border-color: rgba(188,122,46,.6); text-shadow: none; }
.ph-jump a::after { color: var(--halo-big); }
.ph-jump a:hover { background: var(--pine); color: #fff; }
.ph-jump a:hover::after { color: var(--daybreak); }
.hist-hero h1, .hist-hero p { color: #fff; }
/* feature rows */
.feature { background: var(--t-white); }
.feature.tone-pine { background: var(--t-promise); }
.feature.tone-night { background: var(--t-parch); }
.feature-copy h2 { color: var(--pine); }
.feature-copy p { color: var(--laurel); }
.feature-copy p b { color: var(--pine) !important; }
.feature-copy .who { color: var(--grace); }
.feature-copy .who a, .feature-copy p a { color: var(--halo-text); }
.feature-copy blockquote { color: var(--pine); }
.feature-copy blockquote cite { color: var(--halo-text); }
.ladder li { border-top-color: rgba(188,122,46,.5); }
.ladder b { color: var(--halo-big); }
.ladder span { color: var(--laurel); }
/* liturgy */
.liturgy { background: var(--t-white); }
.liturgy-lead { color: var(--laurel); }
.liturgy-foot { color: var(--grace); }
.liturgy-steps .n { background: var(--t-white); color: var(--halo-text); }
.liturgy-steps h3 { color: var(--pine); }
.liturgy-steps p { color: var(--laurel); }
/* two columns, ledgers */
.duo { background: var(--t-parch); }
.duo-col + .duo-col { border-color: rgba(30,48,36,.15); }
.duo .when, .ledger .when { color: var(--halo-text); }
.duo p { color: var(--laurel); }
.duo p b { color: var(--pine); }
.ledger-sec { background: var(--t-promise); }
.ledger-sec.tone-night { background: var(--t-white); }
.ledger-sec > p { color: var(--laurel); }
.ledger li, .ledger-sec.tone-night li { border-top-color: rgba(30,48,36,.18); }
.ledger h3 { color: var(--pine); }
.ledger p, .ledger-sec.tone-night p { color: var(--laurel); }
.ledger p a { color: var(--halo-text); }
/* people */
.people-sec { background: var(--t-white); }
.people-sec.tone-night { background: var(--t-parch); }
.people-sec > p { color: var(--laurel); }
.people b { color: var(--pine); }
.people span { color: var(--halo-text); }
.people small { color: var(--grace); }
.vgroup { border-top-color: rgba(30,48,36,.18); }
.vgroup h3 { color: var(--halo-text); }
/* quote band, contact strip */
.quote-band { background: var(--t-promise); }
.quote-band blockquote { color: var(--pine); }
.quote-band cite { color: var(--halo-text); }
.quote-band p { color: var(--laurel); }
.quote-band .btn-line { border-color: var(--pine); color: var(--pine); }
.quote-band .btn-line:hover { background: var(--pine); color: #fff; }
.ask { background: var(--daybreak); }
/* life events panels */
.tri { background: var(--t-white); }
.tri-panel { background: var(--t-parch); }
.tri-copy h2 { color: var(--pine); }
.tri-copy p { color: var(--laurel); }
.tri-copy blockquote { color: var(--pine); }
.tri-copy .when, .tri-copy cite { color: var(--halo-text); }
/* What We Believe */
.beliefs { background: var(--t-white); }
.ang-lead { color: var(--laurel); }
.ang-line span { color: var(--laurel); }
.ang-line b { color: var(--halo-big); }
.bel-panel { background: var(--t-parch); color: var(--pine); }
.bel-panel h2 { color: var(--pine); }
.bel-index li, .bel-index button { color: rgba(30,48,36,.55); }
.bel-index li.on, .bel-index li.on button, .bel-index button:hover { color: var(--pine); }
.bel-index li.on .n { color: var(--halo-text); }
.bel-index li:last-child button { color: rgba(138,85,24,.75); }
.bel-index li:last-child.on button { color: var(--halo-text); }
.bel-desc p { color: var(--pine); }
.bel-desc p.big strong { color: var(--halo-text); }
.bel-skip { color: var(--halo-text); }
.bel-skip:hover { color: var(--pine); }
.pray { background: var(--t-promise); }
.plate-card h3 { color: var(--pine); }
.plate-card p { color: var(--laurel); }
.spaces .plate-card p.meta { color: var(--halo-text); }
/* history */
.rectors { background: var(--t-white); }
.rectors-head p { color: var(--laurel); }
.rector b { color: var(--pine); }
.rector span { color: var(--halo-text); }
.rector:last-child b { color: var(--halo-text); }
.archives { background: var(--t-promise); color: var(--pine); }
.archives p, .archives li { color: var(--laurel); }
/* credits */
.credits { background: var(--t-white); }
.credits b { color: var(--pine); }
.credits span { color: var(--laurel); }
.credits a { color: var(--halo-text); }
.arch-lede { color: var(--laurel); }
.arch-grid h3 { color: var(--pine); border-top-color: rgba(30,48,36,.2); }
.arch-grid p { color: var(--laurel); }
.arch-now { background: var(--t-white); color: var(--pine); }
.arch-now * { color: inherit; }
.wk { color: var(--pine); }
.bel-index li, .bel-index button { color: rgba(30,48,36,.74); }
.feature.tone-pine .feature-copy .who, .quote-band .who { color: var(--laurel); }

/* ===== Clergy & Vestry v2 (staff-v2.html): one quiet grid, after St Timothy's ===== */
.roster { --rv: #f5eddd; --ri: #1e3024; --rr: #8a5518; --rg: #c39a45; background: var(--rv); color: var(--ri); padding: clamp(8rem, 12vw, 10rem) var(--gutter) clamp(4.5rem, 8vw, 7rem); }
.roster--vestry { padding-top: clamp(4.5rem, 8vw, 7rem); border-top: 1px solid #d9c6a2; }
.r-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(3rem, 6vw, 4.5rem); }
.r-kicker { font: 600 .9rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--rr); }
.r-head h1, .r-head h2 { margin-top: .7rem; font: 500 clamp(2.4rem, 4.4vw, 3.6rem)/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ri); }
.r-head h1::after, .r-head h2::after { content: ""; display: block; width: 4rem; height: 1px; margin: 1.4rem auto 0; background: var(--rg); box-shadow: 0 4px 0 var(--rg); }
.r-lead { margin-top: 1.6rem; font-size: 1.15rem; line-height: 1.65; color: #434a2a; }
.r-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.75rem); max-width: 76rem; }
.r-grid--staff { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.r-grid--vestry { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 15rem)); justify-content: center; margin-bottom: clamp(3rem, 5vw, 4rem); }
.r-card { text-align: center; }
.r-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #ede2cb; border: 1px solid var(--rg); outline: 1px solid var(--rg); outline-offset: 5px; margin: 6px; }
.r-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(.12) saturate(.9) contrast(.98); transition: transform 1s var(--ease); }
.r-card:hover .r-photo img { transform: scale(1.03); }
.r-name { margin-top: 1.5rem; font: 500 clamp(1.15rem, 1.5vw, 1.35rem)/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ri); text-wrap: balance; }
.r-role { margin-top: .5rem; font: 600 .8rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--rr); }
.r-note { margin-top: .35rem; font-size: .95rem; line-height: 1.4; color: #5b5f45; }
.r-group { text-align: center; margin: 0 auto 2rem; font: 600 .9rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--rr); }
.r-group::before, .r-group::after { content: "—"; margin: 0 .6rem; color: var(--rg); }
@media (max-width: 1000px) { .r-grid--staff { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 40rem; } }
@media (max-width: 520px) { .r-grid--staff, .r-grid--vestry { grid-template-columns: minmax(0, 18rem); justify-content: center; } }
@media (max-width: 520px) { .r-grid--vestry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; } .r-grid--vestry .r-name { font-size: 1rem; } .r-grid--staff { grid-template-columns: minmax(0, 15rem); } }
@media (max-width: 520px) { .r-grid--vestry { display: flex; flex-wrap: wrap; justify-content: center; } .r-grid--vestry .r-card { width: calc(50% - .5rem); } }
/* the narrowest phones: long surnames (Charbonneau) fit the half-width card */
@media (max-width: 360px) { .r-grid--vestry .r-name { font-size: .85rem; letter-spacing: .04em; overflow-wrap: anywhere; } }
/* staff page: Grace greens instead of the rust labels */
.roster { --rr: #55603a; --rg: #9ba771; }

/* Six menu groups now (Christmas added): keep each label on one line and tighten the spacing on narrower desktops */
.grp-btn { white-space: nowrap; }
@media (min-width: 900.02px) and (max-width: 80em) { .nav ul { gap: clamp(.7rem, 1.4vw, 1.2rem); } .grp-btn { font-size: .98rem; } }
