/* ===== Grace: one visual system for every page (from the homepage) ===== */
:root { --pine: #1e3024; --grace: #677049; --promise: #9ba771; --halo: #bc7a2e; --laurel: #434a2a; --daybreak: #dc9d5f;
  --g-ink: #55603a; --g-sage: #eef0e4; --g-sage-2: #e9ecdf; --g-rule: #9ba771; --g-paper: #f5eddd; --g-amber: #a5651f;
  --g-grade: sepia(.14) saturate(.92) contrast(.98) brightness(1.01); }
body.inner { background: var(--g-paper); }
.inner .top, .inner .top.solid { background: rgba(30,48,36,.97); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* woodcut initials (Byrne's Euclid, 1847) and woodcut ornaments, recoloured through a mask */
.eu-initial { float: left; width: 2.25em; height: 2.4em; margin: .06em .22em 0 0; background: var(--pine);
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.eu-initial.amber { background: var(--g-amber); } .eu-initial.grace { background: var(--grace); } .eu-initial.laurel { background: var(--laurel); }
.eu-a { -webkit-mask-image: url(initials/a.svg); mask-image: url(initials/a.svg); }
.eu-b { -webkit-mask-image: url(initials/b.svg); mask-image: url(initials/b.svg); }
.eu-c { -webkit-mask-image: url(initials/c.svg); mask-image: url(initials/c.svg); }
.eu-d { -webkit-mask-image: url(initials/d.svg); mask-image: url(initials/d.svg); }
.eu-e { -webkit-mask-image: url(initials/e.svg); mask-image: url(initials/e.svg); }
.eu-f { -webkit-mask-image: url(initials/f.svg); mask-image: url(initials/f.svg); }
.eu-g { -webkit-mask-image: url(initials/g.svg); mask-image: url(initials/g.svg); }
.eu-h { -webkit-mask-image: url(initials/h.svg); mask-image: url(initials/h.svg); }
.eu-i { -webkit-mask-image: url(initials/i.svg); mask-image: url(initials/i.svg); }
.eu-j { -webkit-mask-image: url(initials/j.svg); mask-image: url(initials/j.svg); }
.eu-k { -webkit-mask-image: url(initials/k.svg); mask-image: url(initials/k.svg); }
.eu-l { -webkit-mask-image: url(initials/l.svg); mask-image: url(initials/l.svg); }
.eu-m { -webkit-mask-image: url(initials/m.svg); mask-image: url(initials/m.svg); }
.eu-n { -webkit-mask-image: url(initials/n.svg); mask-image: url(initials/n.svg); }
.eu-o { -webkit-mask-image: url(initials/o.svg); mask-image: url(initials/o.svg); }
.eu-p { -webkit-mask-image: url(initials/p.svg); mask-image: url(initials/p.svg); }
.eu-q { -webkit-mask-image: url(initials/q.svg); mask-image: url(initials/q.svg); }
.eu-r { -webkit-mask-image: url(initials/r.svg); mask-image: url(initials/r.svg); }
.eu-s { -webkit-mask-image: url(initials/s.svg); mask-image: url(initials/s.svg); }
.eu-t { -webkit-mask-image: url(initials/t.svg); mask-image: url(initials/t.svg); }
.eu-u { -webkit-mask-image: url(initials/u.svg); mask-image: url(initials/u.svg); }
.eu-v { -webkit-mask-image: url(initials/v.svg); mask-image: url(initials/v.svg); }
.eu-w { -webkit-mask-image: url(initials/w.svg); mask-image: url(initials/w.svg); }
.eu-x { -webkit-mask-image: url(initials/x.svg); mask-image: url(initials/x.svg); }
.eu-y { -webkit-mask-image: url(initials/y.svg); mask-image: url(initials/y.svg); }
.eu-z { -webkit-mask-image: url(initials/z.svg); mask-image: url(initials/z.svg); }
.wc { display: block; background: var(--laurel); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.wc-bishop { -webkit-mask-image: url(woodcut/bishop.svg); mask-image: url(woodcut/bishop.svg); }
.wc-annunciation { -webkit-mask-image: url(woodcut/annunciation.svg); mask-image: url(woodcut/annunciation.svg); }
.wc-angel-praying { -webkit-mask-image: url(woodcut/angel-praying.svg); mask-image: url(woodcut/angel-praying.svg); }
.wc-nativity { -webkit-mask-image: url(woodcut/nativity.svg); mask-image: url(woodcut/nativity.svg); }
.wc-supper { -webkit-mask-image: url(woodcut/supper.svg); mask-image: url(woodcut/supper.svg); }
.wc-ev-matthew { -webkit-mask-image: url(woodcut/ev-matthew.svg); mask-image: url(woodcut/ev-matthew.svg); }
.wc-ev-mark { -webkit-mask-image: url(woodcut/ev-mark.svg); mask-image: url(woodcut/ev-mark.svg); }
.wc-ev-john { -webkit-mask-image: url(woodcut/ev-john.svg); mask-image: url(woodcut/ev-john.svg); }
.wc-ev-luke { -webkit-mask-image: url(woodcut/ev-luke.svg); mask-image: url(woodcut/ev-luke.svg); }

/* labels and small type in Grace green, not rust */
.ph-kicker, .r-kicker, .r-role, .coming-sub, .ev-day, .ev-date span, .ev p, .feature .kicker, .text-link { color: var(--g-ink) !important; }

/* page headers: light sage, pine type, a woodcut ornament on the right */
.page-hero { position: relative; background: var(--g-sage) !important; color: var(--pine); border-bottom: 1px solid #c9cfb4; }
.page-hero h1 { color: var(--pine) !important; }
.page-hero p { color: var(--laurel) !important; max-width: 36em; }
.page-hero .ph-kicker::before { content: "\B6\00a0"; }
.ph-jump a { color: var(--pine) !important; border-color: var(--g-rule) !important; background: transparent !important; }
.ph-jump a:hover { background: var(--pine) !important; color: #fff !important; }
.page-hero .ph-orn { position: absolute; right: max(var(--gutter), calc((100% - 76rem) / 2)); bottom: clamp(2rem, 5vw, 3.5rem); width: clamp(6rem, 12vw, 10rem); aspect-ratio: 1; opacity: .9; pointer-events: none; }
@media (max-width: 760px) { .page-hero .ph-orn { position: static; width: 5rem; margin-bottom: 1rem; order: -1; } }

/* every photograph in the sage double frame and the same warm grade */
.feature-media img, .duo img, .tri img, .pray img, .believe img, .chron img, .library img { filter: var(--g-grade); }
.feature-media { padding: .6rem; background: var(--g-sage-2); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }
.tri img { border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }

/* the dark "night" and "pine" tones become the light sage the homepage uses; one photographic band per page is enough */
.tone-pine, .tone-night { background: var(--g-sage) !important; color: var(--pine) !important; }
.tone-pine h2, .tone-night h2, .tone-pine h3, .tone-night h3, .tone-pine .sec-title, .tone-night .sec-title { color: var(--pine) !important; }
.tone-pine p, .tone-night p, .tone-pine li, .tone-night li, .tone-pine small, .tone-night small { color: var(--laurel) !important; }
.tone-pine a:not(.btn), .tone-night a:not(.btn) { color: var(--pine) !important; }
.sec-title { color: var(--pine); }

/* the "get in touch" band: sage, pine buttons, like the homepage closing */
.ask { background: var(--g-sage) !important; color: var(--pine) !important; border-top: 1px solid #c9cfb4; }
.ask h2 { color: var(--pine) !important; } .ask p { color: var(--laurel) !important; }
.ask .btn-gold, .inner .btn-gold { background: var(--pine) !important; border-color: var(--pine) !important; color: #fff !important; }
.ask .btn-line, .inner main .btn-line { background: transparent !important; border: 1.5px solid var(--pine) !important; color: var(--pine) !important; }
.ask .btn-line:hover, .inner main .btn-line:hover { background: var(--pine) !important; color: #fff !important; }

/* event cards: woodcut vignettes instead of borrowed photographs */
.ev.ev-cut { background: var(--g-sage-2) !important; color: var(--pine) !important; }
.ev.ev-cut .ev-art { display: block; height: 8.5rem; margin: -.2rem 0 .9rem; }
.ev.ev-cut h3 { color: var(--pine) !important; }

/* the dot-and-dash rule from the homepage */
.g-rule { display: block; height: .6rem; margin: 1.6rem 0; background: url(ornament/filler-wc.svg) left center / auto 100% repeat-x; max-width: 14rem; }
/* Our Story keeps its photographic header, with light type */
.page-hero.hist-hero h1, .page-hero.hist-hero p { color: #fff !important; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.page-hero.hist-hero .ph-kicker { color: #dc9d5f !important; }
.page-hero.hist-hero .ph-orn { background: #dc9d5f !important; }
/* small labels across the pages (rubric-style "when" lines) in Grace green */
.inner main .when, .inner main .ladder .k, .inner main .ledger .when, .inner main small.when { color: var(--g-ink) !important; }

/* ===== What We Believe ===== */
.rubric { font: 600 .95rem/1.4 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--g-ink); }
.rubric::before { content: "\B6\00a0"; letter-spacing: 0; }
/* the faith gallery and the prayer cards in the sage frame */
.bl img, .plate-img img { filter: var(--g-grade); }
.plate-img { padding: .5rem; background: var(--g-sage-2); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }
.pray { background: var(--g-paper) !important; }
.pray h3 { color: var(--pine) !important; } .pray p { color: var(--laurel) !important; }
/* the Seven Sacraments, readable: intro + wing detail, the whole altarpiece, seven numbered details, the Cross */
.sac { padding: clamp(5rem, 9vw, 8rem) max(var(--gutter), calc((100% - 72rem) / 2)); background: var(--g-sage); color: var(--pine); }
.sac-intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(11rem, 20vw, 15rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.sac-intro h2 { margin-top: .9rem; font: 600 clamp(2.2rem, 3.8vw, 3.3rem)/1.15 var(--display); color: var(--pine); text-wrap: balance; }
.sac-intro p:not(.rubric) { margin-top: 1.2rem; max-width: 36em; font-size: 1.15rem; line-height: 1.7; color: var(--laurel); }
.sac-wing, .sac-whole { margin: 0; padding: .6rem; background: var(--g-sage-2); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }
.sac-wing img, .sac-whole img { display: block; width: 100%; height: auto; filter: var(--g-grade); }
.sac-whole { margin-top: clamp(3rem, 6vw, 4.5rem); }
.sac-whole a { display: block; cursor: zoom-in; }
.sac-list { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2.2rem 1.8rem; }
.sac-list li { position: relative; display: grid; align-content: start; gap: .5rem; }
.sac-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 3px; filter: var(--g-grade); margin-bottom: .6rem; }
.sac-n { font: 700 .9rem/1 var(--display); letter-spacing: .14em; color: #94591b; }
.sac-list h3 { font: 600 1.35rem/1.2 var(--display); color: var(--pine); }
.sac-list p { font-size: 1rem; line-height: 1.6; color: var(--laurel); }
.sac-cross { display: grid; grid-template-columns: clamp(12rem, 26vw, 20rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: clamp(3rem, 6vw, 4rem); border-top: 1px solid #c9cfb4; }
.sac-cross img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; filter: var(--g-grade); }
.sac-cross p { font-size: 1.2rem; line-height: 1.7; color: var(--laurel); }
.sac-cross b { display: block; margin-bottom: .4rem; font: 600 clamp(1.7rem, 2.8vw, 2.3rem)/1.2 var(--display); color: var(--pine); }
@media (max-width: 760px) { .sac-intro, .sac-cross { grid-template-columns: 1fr; } .sac-wing { max-width: 14rem; } }
/* a heading holds its own woodcut initial, so nothing below it gets pushed sideways */
h2.has-initial { display: flow-root; }
/* the sacraments band: the altarpiece beside the text */
.quote-band.qb-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; padding-inline: max(var(--gutter), calc((100% - 74rem) / 2)); }
.qb-figure { margin: 0; padding: .6rem; background: var(--g-sage-2); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }
.qb-figure img { display: block; width: 100%; height: auto; filter: var(--g-grade); transition: transform 1s var(--ease); }
.qb-figure a { display: block; overflow: hidden; } .qb-figure a:hover img { transform: scale(1.02); }
@media (max-width: 860px) { .quote-band.qb-art { grid-template-columns: 1fr; } }

/* the "get in touch" band as a framed calling card, like the homepage closing */
.ask.ask-card { display: block; padding: clamp(4.5rem, 8vw, 6.5rem) var(--gutter); background: var(--g-sage) !important; }
.ask-inner { display: grid; grid-template-columns: clamp(6rem, 11vw, 9rem) minmax(0, 1fr) auto; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; max-width: 68rem; margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) clamp(1.6rem, 4vw, 3rem); background: var(--g-paper); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 6px; }
.ask-wc { width: 100%; aspect-ratio: 3 / 4; }
.ask-text h2 { margin-top: .6rem; font: 600 clamp(1.9rem, 3vw, 2.6rem)/1.15 var(--display); color: var(--pine) !important; }
.ask-text > p:not(.rubric):not(.ask-contact) { margin-top: .6rem; font-size: 1.12rem; line-height: 1.6; color: var(--laurel) !important; max-width: 34em; }
.ask-text .g-rule { margin: 1.1rem 0 .9rem; }
.ask-contact { font-size: 1rem; color: var(--laurel) !important; }
.ask-contact a { color: var(--pine) !important; text-underline-offset: .2em; overflow-wrap: anywhere; }
.ask-card .actions { display: grid; gap: .7rem; }
@media (max-width: 860px) { .ask-inner { grid-template-columns: 5.5rem minmax(0, 1fr); } .ask-card .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; } }
@media (max-width: 560px) { .ask-inner { grid-template-columns: minmax(0, 1fr); } .ask-wc { width: 4.5rem; } }

/* page-header links in the homepage "doors" manner: italic serif, a pilcrow, a gold rule drawn on hover; no pill buttons */
.ph-jump { gap: .4rem clamp(1.4rem, 3vw, 2.4rem) !important; margin-top: clamp(1.6rem, 3vw, 2.2rem); padding-top: 1.2rem; border-top: 1px solid #c9cfb4; }
.ph-jump a { position: relative; min-height: 2.6rem; padding: .2rem 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important;
  font: italic 500 clamp(1.15rem, 1.6vw, 1.35rem)/1.2 var(--display) !important; color: var(--pine) !important; text-decoration: none; }
.ph-jump a::before { content: "\B6"; margin-right: .45rem; font-style: normal; color: var(--g-amber); }
.ph-jump a::after { content: "" !important; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; background: var(--g-rule); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.ph-jump a:hover { color: var(--g-ink) !important; background: none !important; }
.ph-jump a:hover::after { transform: none; }
.page-hero.hist-hero .ph-jump a { color: #fff !important; } .page-hero.hist-hero .ph-jump { border-top-color: rgba(255,255,255,.3); }

/* faith panels: bright photographs, text on a soft vellum fade in pine (no dark shade) */
.bl { background: var(--g-sage-2) !important; border: 1px solid var(--g-rule); }
.bl img { filter: var(--g-grade) !important; }
.bl:not(.on) img { filter: var(--g-grade) saturate(.8) !important; }
.bl::after { background: linear-gradient(180deg, rgba(245,237,221,0) 0%, rgba(245,237,221,0) 45%, rgba(245,237,221,.88) 72%, rgba(245,237,221,.97) 100%) !important; }
.bl:not(.on)::after { background: linear-gradient(180deg, rgba(245,237,221,0) 30%, rgba(245,237,221,.9) 100%) !important; }
.bl h3 { color: var(--pine) !important; text-shadow: none !important; }
.bl p { color: var(--laurel) !important; text-shadow: none !important; }
.bl .bar { background: var(--g-amber) !important; }
/* open panel: bright photograph above, text on solid vellum below; closed panels: pale photograph so the title reads */
.bl::after { display: none !important; }
.bl img { transition: opacity .6s var(--ease), height .9s var(--ease) !important; }
.bl.on img { height: 58% !important; bottom: auto !important; }
.bl.on .bl-body { top: 58%; background: var(--g-paper); border-top: 1px solid var(--g-rule); display: flex; flex-direction: column; justify-content: center; }
.bl:not(.on) img { opacity: .32; }
.bl.on h3 { font-size: clamp(1.5rem, 2vw, 2rem) !important; }
.bl.on p { margin-top: .5rem; font-size: 1.05rem !important; }

/* rectors without photographs: a woodcut figure on vellum, the Roman numeral small beneath */
.wc-bishop-throne { -webkit-mask-image: url(woodcut/bishop-throne.svg); mask-image: url(woodcut/bishop-throne.svg); }
.wc-bishop-blessing { -webkit-mask-image: url(woodcut/bishop-blessing.svg); mask-image: url(woodcut/bishop-blessing.svg); }
.rector.no-photo .rector-mark.rector-wc { display: grid !important; grid-template-rows: 1fr auto; place-items: center; gap: .3rem; padding: .9rem .9rem .6rem; background: var(--g-sage-2) !important; border: 1px solid var(--g-rule); color: #94591b !important; }
.rector-wc .wc { width: 100%; height: 100%; min-height: 0; background: var(--laurel); }
.rector-wc i { font: 600 1rem/1 var(--display); font-style: normal; letter-spacing: .12em; color: #94591b; }

/* buttons: squared, manuscript-like, not round pills (site-wide, header Give included) */
.btn, .inner .btn, .give a, .nav-toggle, .rail-btn, .film-toggle { border-radius: 3px !important; }
.btn { letter-spacing: .02em; }

/* homepage on phones and tablets: the service times use the full width (no empty gap beside them) */
@media (max-width: 860px) { .visit-hours, .closing-hours { max-width: none !important; } .visit-text { width: 100%; } }

/* ===== Buttons, style A: the plaque. Pine with a fine gold inner rule, small-caps serif; secondary is an outlined plaque ===== */
.btn, .inner .btn, .ask .btn, .vc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .8rem 1.6rem !important; border-radius: 0 !important;
  background: #1e3024 !important; color: #fff !important; border: 1px solid #1e3024 !important; outline: 1px solid #c39a45; outline-offset: -5px;
  font: 600 .92rem/1 "Texturina", Georgia, serif !important; letter-spacing: .14em; text-transform: uppercase; text-shadow: none !important; transition: background-color .3s, color .3s, outline-color .3s, transform .3s; }
.btn:hover, .inner .btn:hover, .vc-btn:hover { background: #2c4434 !important; outline-color: #e2c27a; transform: translateY(-1px); }
.btn-line, .btn-quiet, .inner main .btn-line, .ask .btn-line, .hero .btn-line { background: transparent !important; color: #1e3024 !important; border: 1px solid #1e3024 !important; outline-color: #9ba771 !important; }
.btn-line:hover, .btn-quiet:hover, .inner main .btn-line:hover, .ask .btn-line:hover { background: #1e3024 !important; color: #fff !important; outline-color: #c39a45 !important; }
/* over the homepage film the secondary plaque is light */
.hero .btn-line { color: #fff !important; border-color: rgba(255,255,255,.85) !important; outline-color: rgba(220,157,95,.8) !important; }
.hero .btn-line:hover { background: rgba(30,48,36,.7) !important; }
.hero .btn-gold { background: #dc9d5f !important; color: #231613 !important; border-color: #dc9d5f !important; outline-color: #231613; }
/* Give in the header: the plaque in Daybreak */
.give a { border-radius: 0 !important; background: #dc9d5f !important; color: #231613 !important; outline: 1px solid #231613; outline-offset: -4px; font: 600 .9rem/1 "Texturina", Georgia, serif !important; letter-spacing: .14em; text-transform: uppercase; padding: .6rem 1.15rem !important; }
.nav-toggle, .film-toggle, .rail-btn { border-radius: 0 !important; }
/* keyboard focus: an amber ring outside the plaque on the light pages, Daybreak where the ground is dark */
.btn:focus-visible, .inner .btn:focus-visible, .ask .btn:focus-visible, .vc-btn:focus-visible, .btn-line:focus-visible, .btn-quiet:focus-visible, .give a:focus-visible { outline: 3px solid #a5651f !important; outline-offset: 3px !important; }
.top .give a:focus-visible, .foot .btn:focus-visible, .hist-hero .btn:focus-visible { outline-color: #dc9d5f !important; }
/* on the light pages the in-page focus ring is amber (the page-header links and the faith panels included) */
.inner .page-hero:not(.hist-hero) .ph-jump a:focus-visible, .inner .bl-hit:focus-visible { outline-color: #a5651f; }

/* Funerals: an empty sage panel holds the place until the photograph arrives */
.tri-panel > .tri-empty { grid-row: 1; display: block; height: 100%; background: var(--g-sage-2); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }

/* ===== Seasonal pages: the date list with dot-and-dash leaders, the service cards ===== */
.sched { padding: clamp(4.5rem, 8vw, 6.5rem) max(var(--gutter), calc((100% - 60rem) / 2)); background: var(--g-sage); }
.sched h2 { font: 600 clamp(2rem, 3.4vw, 2.8rem)/1.15 var(--display); color: var(--pine); }
.sched-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.sched-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: end; column-gap: .9rem; }
.sched-list .d { font: 600 1.35rem/1.15 var(--display); color: var(--pine); }
.sched-list .d small { display: block; margin-top: .15rem; font: 500 .95rem/1.2 var(--text); color: var(--g-ink); }
.sched-list .fill { height: .6rem; margin-bottom: .35rem; background: url(ornament/filler-wc.svg) left center / auto 100% repeat-x; }
.sched-list .h { font: 700 1.35rem/1.15 var(--display); color: var(--g-amber); white-space: nowrap; }
.sched-list p { grid-column: 1 / -1; margin-top: .25rem; color: var(--laurel); font-size: 1rem; }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 2rem; padding: clamp(4.5rem, 8vw, 6.5rem) max(var(--gutter), calc((100% - 74rem) / 2)); background: var(--g-paper); }
.svc-card { padding: 1.8rem 1.8rem 2rem; background: var(--g-sage-2); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }
.svc-card .when { font: 600 .85rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--g-ink); }
.svc-card h3 { margin-top: .5rem; font: 600 1.7rem/1.15 var(--display); color: var(--pine); }
.svc-card blockquote { margin: .8rem 0 0; font: italic 500 1.08rem/1.5 var(--display); color: var(--g-amber); }
.svc-card p { margin-top: .8rem; line-height: 1.65; color: var(--laurel); }
.season-next { padding: clamp(4rem, 7vw, 5.5rem) var(--gutter); text-align: center; background: var(--g-paper); }
.season-next h2 { font: 600 clamp(2rem, 3.4vw, 2.8rem)/1.15 var(--display); color: var(--pine); }
.season-next p { margin: .8rem auto 1.6rem; max-width: 34em; color: var(--laurel); font-size: 1.1rem; }

/* ===== Christmas page: the Ceremony of Carols section ===== */
#carols .carol-when { margin-top: .4rem; font: 600 .85rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--g-amber); }
#carols .carol-lead { font: 500 1.28rem/1.5 var(--display); color: var(--pine); }
#carols .carol-quote { margin: 1.2rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 2px solid var(--g-rule); font: italic 500 1.35rem/1.4 var(--display); color: var(--g-amber); }
#carols .carol-facts { display: grid; gap: .55rem; margin: 1.4rem 0 0; padding: 1.1rem 1.2rem; background: var(--g-sage); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 3px; }
#carols .carol-facts div { display: grid; grid-template-columns: 4.5rem 1fr; gap: .8rem; align-items: baseline; }
#carols .carol-facts dt { font: 600 .78rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--g-ink); }
#carols .carol-facts dd { margin: 0; color: var(--laurel); line-height: 1.45; }
#carols .carol-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.6rem; }
#carols .carol-share { cursor: pointer; font: inherit; }
#carols .carol-copied { flex-basis: 100%; font-size: .95rem; color: var(--g-ink); }
#carols .carol-copied:empty { display: none; }
@media (max-width: 520px) { #carols .carol-facts div { grid-template-columns: 1fr; gap: .1rem; } }

/* ===== Write to Us: the contact form ===== */
.write { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; padding: clamp(3.5rem, 7vw, 5.5rem) max(var(--gutter), calc((100% - 70rem) / 2)); background: var(--g-sage); }
.write h2 { font: 600 clamp(1.7rem, 2.8vw, 2.2rem)/1.15 var(--display); color: var(--pine); }
.write-card { padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--g-paper); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }
.write-form { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.wf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.wf-row { display: grid; gap: .4rem; min-width: 0; }
.wf-row label { font: 600 .8rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--g-ink); }
.wf-row label span { letter-spacing: 0; text-transform: none; font-weight: 500; }
.write-form input, .write-form select, .write-form textarea { width: 100%; min-width: 0; padding: .8rem .9rem; font: 500 1.05rem/1.4 var(--text); color: var(--pine); background: #fffdf8; border: 1px solid #b9bf9c; border-radius: 0; }
.write-form textarea { resize: vertical; min-height: 9rem; }
.write-form select { appearance: none; padding-right: 2.4rem; background: #fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e3024' stroke-width='2'/%3E%3C/svg%3E") right .9rem center no-repeat; }
.write-form input:focus, .write-form select:focus, .write-form textarea:focus { outline: 2px solid var(--g-amber); outline-offset: 1px; border-color: var(--pine); }
.write-form .btn { justify-self: start; margin-top: .4rem; cursor: pointer; border: 0; font-family: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.write-side { display: grid; gap: 1rem; padding-top: .4rem; }
.write-side p { color: var(--laurel); line-height: 1.55; }
.write-side p b { display: block; font: 600 .8rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--g-ink); }
.write-side a { color: var(--pine); font-weight: 600; }
.write-side .write-note { font-size: .95rem; padding-top: .8rem; border-top: 1px solid var(--g-rule); }
.r-write { display: inline-block; margin-top: .2rem; padding-block: .5rem; font: italic 500 1.05rem/1.3 var(--display); color: var(--pine); text-decoration: underline; text-decoration-color: var(--g-rule); text-underline-offset: .2em; }
.r-write::before { content: "\B6\00a0"; font-style: normal; color: var(--g-amber); }
.r-write:hover { color: var(--g-amber); }
@media (max-width: 860px) { .write { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wf-two { grid-template-columns: 1fr; } }
.write-lead { margin-top: .6rem; color: var(--laurel); line-height: 1.6; }

/* Spanish page: the directions button under the schedule */
.sched-acts { margin-top: 1.8rem; }

.ask-contact a[href^="tel"] { white-space: nowrap; }

/* ===== Spanish page: reading sections (one column, manuscript initial on each heading) ===== */
.es-sec { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); background: var(--g-paper); }
.es-sec.es-alt { background: var(--g-sage); }
.es-col { max-width: 42rem; margin: 0 auto; }
.es-sec h2 { font: 600 clamp(1.9rem, 3.2vw, 2.6rem)/1.15 var(--display); color: var(--pine); margin-bottom: 1.1rem; }
.es-col p { margin-top: 1rem; font-size: 1.12rem; line-height: 1.75; color: var(--laurel); }
.es-col p:first-of-type { margin-top: 0; }
.es-acts { margin-top: 1.8rem; }
.es-under { max-width: none; margin-top: 2rem; }

/* Spanish page, tighter: heading beside the text on wide screens, less padding (less empty space) */
.es-sec { padding: clamp(2.5rem, 5vw, 3.75rem) max(var(--gutter), calc((100% - 70rem) / 2)); }
.es-col { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.es-col > h2 { grid-column: 1; grid-row: 1 / span 6; margin: 0; }
.es-col > p, .es-col > .es-acts { grid-column: 2; }
.es-col p { margin-top: .9rem; font-size: 1.1rem; line-height: 1.7; }
.es-col > p:first-of-type { margin-top: 0; }
.es-acts { margin-top: 1.4rem; }
#domingos.sched { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
#domingos .es-under { margin-top: 1.4rem; display: block; }
#domingos .es-under p { max-width: 44rem; }
@media (max-width: 860px) {
  .es-col { grid-template-columns: 1fr; }
  .es-col > h2, .es-col > p, .es-col > .es-acts { grid-column: 1; grid-row: auto; }
  .es-col > h2 { margin-bottom: 1rem; }
}
#domingos.sched { padding-inline: max(var(--gutter), calc((100% - 70rem) / 2)); }

/* Spanish page: Bautizos, Primeras Comuniones y Quinceañeras (three cards, photo on top once chosen) */
.es-cele-head { max-width: 46rem; }
.es-cele-head h2 { margin-bottom: .9rem; }
.es-cele-head p, .es-cele-foot p { font-size: 1.1rem; line-height: 1.7; color: var(--laurel); }
.es-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); margin-top: 2rem; }
.es-card { background: var(--g-sage-2); border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; display: flex; flex-direction: column; }
.es-card-img { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--g-rule); }
.es-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-card-txt { padding: 1.5rem 1.5rem 1.7rem; }
.es-card .when { font: 600 .8rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--g-ink); }
.es-card h3 { margin-top: .4rem; font: 600 1.7rem/1.15 var(--display); color: var(--pine); }
.es-card p { margin-top: .7rem; line-height: 1.65; color: var(--laurel); }
.es-cele-foot { margin-top: 2rem; max-width: 46rem; }
.es-cele-foot .es-acts { margin-top: 1.2rem; }
@media (max-width: 860px) { .es-cards { grid-template-columns: 1fr; } }

/* Spanish page photos */
.es-banner { height: clamp(14rem, 34vw, 26rem); overflow: hidden; border-block: 1px solid var(--g-rule); }
.es-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-card-img.es-empty { background: var(--g-sage); }
.es-with-img { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.es-under-txt p { max-width: none; }
.es-under-img { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--g-rule); outline: 1px solid var(--g-rule); outline-offset: 4px; }
.es-under-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .es-with-img { grid-template-columns: 1fr; } }

#domingos .es-under { grid-column: 1 / -1; }
.es-under-txt p { margin-top: .9rem; font-size: 1.1rem; line-height: 1.7; color: var(--laurel); }
.es-under-txt p:first-child { margin-top: 0; }
#domingos .es-under.es-with-img { display: grid; align-items: center; }

/* photo event cards: light labels on a darker scrim so every line reads over the picture */
.ev.ev-img::after { background: linear-gradient(180deg, rgba(20,13,10,.62) 0%, rgba(20,13,10,.25) 32%, rgba(20,13,10,.45) 55%, rgba(20,13,10,.94) 100%) !important; }
.ev.ev-img .ev-date span, .ev.ev-img p { color: #f0b47a !important; }
.ev.ev-img .ev-day { color: #f3ead9 !important; }
.ev.ev-img .ev-date b, .ev.ev-img h3 { color: #fff !important; }
.ev.ev-img .ev-date, .ev.ev-img .ev-body { text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 14px rgba(0,0,0,.55); }

/* Leadership: clergy cards open their biography pages */
.r-bio { display: block; color: inherit; text-decoration: none; }
.r-bio:hover .r-name, .r-bio:focus-visible .r-name { color: var(--g-amber, #a5651f); }
.r-bio:focus-visible { outline: 2px solid #9ba771; outline-offset: 6px; }
.r-more { display: inline-block; margin-top: .45rem; padding-block: .35rem; font: italic 500 1.05rem/1.3 var(--display); color: var(--pine, #1e3024); text-decoration: underline; text-decoration-color: #9ba771; text-underline-offset: .2em; }
.r-more::before { content: "\B6\00a0"; font-style: normal; color: var(--g-amber, #a5651f); }
.r-more:hover { color: var(--g-amber, #a5651f); }
.r-card--bio .r-write { display: block; margin-inline: auto; width: max-content; }

/* Clergy biography pages */
.bio { --rg: #9ba771; background: #f5eddd; color: #1e3024; padding: clamp(8rem, 12vw, 10rem) max(var(--gutter, 1.5rem), calc((100% - 70rem) / 2)) clamp(4.5rem, 8vw, 7rem); }
.bio-back { display: inline-block; margin-bottom: 2rem; font: 600 .95rem/1 var(--text); letter-spacing: .06em; color: #55603a; text-decoration: none; }
.bio-back:hover { color: #1e3024; text-decoration: underline; }
.bio-grid { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.bio-photo { position: sticky; top: 7rem; margin: 6px; }
.bio-text .r-role { margin: 0; }
.bio-name { margin: .6rem 0 1.6rem; font: 500 clamp(2.2rem, 4vw, 3.2rem)/1.1 var(--display); color: #1e3024; text-wrap: balance; }
.bio-text > p { max-width: 38rem; margin-top: 1.1rem; font-size: 1.1rem; line-height: 1.7; color: #2f3326; }
.bio-text > p.bio-lede { margin-top: 0; font-size: 1.22rem; color: #1e3024; }
.bio-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem 2.5rem; max-width: 42rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid #c9b98f; }
.bio-facts h2 { font: 600 .82rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #55603a; }
.bio-facts ul { margin: .8rem 0 0; padding: 0; list-style: none; }
.bio-facts li { margin-top: .6rem; padding-left: 1.1rem; position: relative; font-size: 1rem; line-height: 1.5; color: #2f3326; }
.bio-facts li::before { content: "\B6"; position: absolute; left: 0; color: #a5651f; }
.bio-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.6rem !important; }
@media (max-width: 760px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { position: static; max-width: 16rem; }
}
.bio-text > p a { color: #1e3024; text-decoration: underline; text-decoration-color: #a5651f; text-underline-offset: .2em; } .bio-text > p a:hover { color: #a5651f; }
