/* Christ Church, Georgetown. Colours from the parish crest: navy, gold, red. System fonts only. */
:root {
  --navy: #27245d; --navy-2: #1c1a47; --navy-3: #3a3680;
  --gold: #cfa436; --gold-ink: #8a6a12; --red: #b83a39; --red-ink: #a12f2e;
  --paper: #fbf8f2; --paper-2: #f3eee3; --card: #ffffff;
  --ink: #23212f; --ink-2: #4f4b5e; --line: #e2dbcc;
  --link: #2f2b85; --focus: #c58a00;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px; --shadow: 0 1px 2px rgba(30,25,60,.06), 0 6px 20px rgba(30,25,60,.07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14132b; --paper-2: #1c1b3a; --card: #201f40;
    --ink: #ece8df; --ink-2: #bdb7cc; --line: #34325a;
    --link: #c9c4ff; --gold-ink: #e0bd5c; --red-ink: #ef8f8d; --focus: #f0c040;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 1.6em 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-top: 0; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; }
p, ul, ol { margin: 0 0 1em; }
address { font-style: normal; }
small, .small { font-size: .9rem; color: var(--ink-2); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.js-only { display: none; }
html.js .js-only { display: revert; }
html.js .js-only[hidden] { display: none; }

/* buttons */
.btn { display: inline-block; padding: .62rem 1.15rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; font-size: .98rem; line-height: 1.3; border: 2px solid var(--red); }
.btn:hover { background: var(--red-ink); border-color: var(--red-ink); }
.btn-ghost { background: transparent; color: var(--link); border-color: currentColor; }
.btn-ghost:hover { background: var(--paper-2); color: var(--link); border-color: currentColor; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1d1a3d; }
.btn-gold:hover { background: #e2b94a; border-color: #e2b94a; }
.btn-light { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.25); border-color: #fff; }
.btn-small { padding: .4rem .9rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.prose a.button { display: inline-block; padding: .6rem 1.15rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; margin: .2rem .3rem .2rem 0; }
.prose a.button:hover { background: var(--red-ink); }

/* utility bar + masthead */
.util { background: var(--navy-2); color: #e9e6f7; font-size: .88rem; }
.util a { color: #e9e6f7; text-decoration: none; }
.util a:hover, .util a[aria-current] { color: var(--gold); text-decoration: underline; }
.util-bar { display: flex; gap: 1.2rem; align-items: center; min-height: 2.3rem; flex-wrap: wrap; }
.util-links { margin-left: auto; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.masthead { background: var(--navy); color: #fff; position: relative; z-index: 20; }
.mast-bar { display: flex; align-items: center; gap: 1rem; min-height: 86px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--gold); flex-shrink: 0; }
.brand img { width: 34px; height: auto; }
.wordmark { display: flex; flex-direction: column; font-family: var(--serif); font-variant: small-caps; letter-spacing: .06em; line-height: 1.02; }
.wordmark span:first-child { font-size: 1.6rem; }
.wordmark span:last-child { font-size: 1.22rem; letter-spacing: .14em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; }
.site-nav li { position: relative; }
.site-nav > ul > li > a { display: block; color: #fff; text-decoration: none; padding: .55rem .62rem; font-size: .97rem; border-radius: 6px; }
.site-nav > ul > li > a:hover, .site-nav > ul > li.current > a { color: var(--gold); }
.site-nav > ul > li.current > a { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.site-nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: .4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.site-nav .sub a { display: block; padding: .45rem .7rem; color: var(--ink); text-decoration: none; border-radius: 6px; font-size: .95rem; line-height: 1.35; }
.site-nav .sub a:hover, .site-nav .sub a[aria-current] { background: var(--paper-2); color: var(--link); }
.site-nav li:hover > .sub, .site-nav li:focus-within > .sub { display: block; }
.site-nav li:nth-last-child(-n+3) > .sub { left: auto; right: 0; }
.btn-give { background: var(--gold); border-color: var(--gold); color: #1d1a3d; padding: .5rem 1.1rem; }
.btn-give:hover { background: #e2b94a; border-color: #e2b94a; }
.menu-btn { display: none; margin-left: auto; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; padding: .45rem .8rem; font: inherit; font-size: .95rem; cursor: pointer; align-items: center; gap: .5rem; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }

@media (max-width: 1060px) {
  .mast-bar { flex-wrap: wrap; min-height: 72px; padding: .5rem 0; }
  html.js .menu-btn { display: inline-flex; }
  .site-nav { width: 100%; margin: 0; flex-direction: column; align-items: stretch; padding-bottom: .8rem; }
  html.js .site-nav { display: none; }
  html.js .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li { border-top: 1px solid rgba(255,255,255,.14); }
  .site-nav > ul > li > a { padding: .7rem .2rem; font-size: 1.05rem; }
  .site-nav > ul > li.current > a { box-shadow: none; }
  .site-nav .sub { display: block; position: static; background: transparent; border: 0; box-shadow: none; padding: 0 0 .6rem .6rem; min-width: 0; columns: 2 200px; }
  .site-nav .sub a { color: #d9d6ee; padding: .35rem .4rem; }
  .site-nav .sub a:hover, .site-nav .sub a[aria-current] { background: rgba(255,255,255,.08); color: var(--gold); }
  html:not(.js) .site-nav .sub { display: none; }
  html:not(.js) .site-nav > ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .site-nav > ul > li { border: 0; }
  .btn-give { align-self: flex-start; margin-top: .4rem; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .util-bar { gap: .8rem; font-size: .85rem; }
  .util-links { gap: .8rem; }
  .wordmark span:first-child { font-size: 1.35rem; }
  .wordmark span:last-child { font-size: 1.05rem; }
  .brand img { width: 28px; }
}

/* page heads */
.page-head { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 1.4rem 0 1.6rem; }
.page-head h1 { margin: .2rem 0 0; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 760px; margin: .6rem 0 0; }
.page-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; }
.page-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 45%); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,16,48,.9) 0%, rgba(18,16,48,.5) 50%, rgba(18,16,48,.3) 100%); }
.page-hero-text { position: relative; z-index: 1; width: 100%; padding: 2.2rem 0 1.8rem; color: #fff; }
.page-hero h1 { color: #fff; margin: .2rem 0 0; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.page-hero .lede { color: #f1eee6; }
.page-hero .crumbs a, .page-hero .crumbs li, .page-hero .crumbs span { color: #f1eee6; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin: 0 .45rem; opacity: .7; }
.crumbs a { color: inherit; }

/* page layout */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3rem; padding: 2.2rem 0 3rem; }
.page-grid.single { grid-template-columns: minmax(0, 1fr); }
.page-grid > * { min-width: 0; }
.prose { max-width: 780px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { padding-top: .2rem; }
.prose li { margin-bottom: .3em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose blockquote { margin: 1.4rem 0; padding: .4rem 0 .4rem 1.2rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); }
.note { background: var(--paper-2); border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.4rem 0; }
.note > :last-child { margin-bottom: 0; }
.side-nav { position: sticky; top: 1rem; align-self: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem .6rem; }
.side-nav h2 { font-size: 1.05rem; margin: 0 0 .5rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; font-family: var(--sans); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: .35rem .5rem; text-decoration: none; border-radius: 6px; line-height: 1.35; font-size: .97rem; }
.side-nav a:hover { background: var(--paper-2); }
.side-nav a[aria-current] { background: var(--navy); color: #fff; }
@media (max-width: 900px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .side-nav { position: static; }
  .side-nav.has-cards { display: none; }
}
@media (max-width: 600px) {
  .staff-table thead { display: none; }
  .staff-table tr { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .staff-table td { display: block; border: 0; padding: .05rem 0; }
}

/* photos in content */
figure.photo { margin: 1.4rem 0; }
figure.photo img { border-radius: var(--radius); width: 100%; max-height: 560px; object-fit: cover; }
.gallery { list-style: none; padding: 0; margin: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.gallery li { flex: 0 1 calc((100% - 1.2rem) / 3); margin: 0; }
.gallery.n2 li, .gallery.n4 li { flex-basis: calc((100% - .6rem) / 2); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
@media (max-width: 560px) { .gallery li, .gallery.n2 li, .gallery.n4 li { flex-basis: calc((100% - .6rem) / 2); } }
.table-wrap { overflow-x: auto; margin: 1.2rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper-2); font-weight: 600; }

/* cards (curated sets: fixed columns 4/2/1 or 3/1; section listings: centred flex) */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.cards > .card { flex: 0 1 calc((100% - 2.4rem) / 3); }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards > .card { flex-basis: calc((100% - 1.2rem) / 2); } }
@media (max-width: 760px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: minmax(0, 1fr); } .cards > .card { flex-basis: 100%; } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(30,25,60,.08), 0 12px 28px rgba(30,25,60,.12); }
.card-img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.2rem; }
.card-body strong { font-family: var(--serif); font-size: 1.22rem; color: var(--link); font-weight: 600; }
.card-body span { color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(184,58,57,.92); }
.play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.section-cards { padding: 0 0 3.5rem; }
.section-cards h2 { margin-top: 0; }

/* home */
.home-hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; }
.home-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,16,48,.92) 0%, rgba(18,16,48,.55) 45%, rgba(18,16,48,.1) 100%); }
.home-hero-text { position: relative; z-index: 1; width: 100%; padding: 3rem 0 2.6rem; color: #fff; }
.home-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); margin: 0 0 .5rem; }
.home-hero .lede { color: #f4f1ea; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 720px; margin-bottom: 1.4rem; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--gold); margin: 0 0 .6rem; font-weight: 600; }
.home-times { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; padding: 3rem 0 2.5rem; }
.home-times > * { min-width: 0; }
.home-times h2 { margin-top: 0; }
.this-week { align-self: start; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.4rem 1.4rem 1rem; box-shadow: var(--shadow); }
.this-week h3 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 1.2rem 0 .4rem; }
.this-week h2 + h3 { margin-top: .4rem; }
.preachers { margin: 0 0 1rem; }
.preachers div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.preachers dt { font-weight: 600; } .preachers dd { margin: 0; text-align: right; }
@media (max-width: 900px) { .home-times { grid-template-columns: minmax(0, 1fr); } }

/* service times */
.times-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.6rem 2.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.times-card > * { min-width: 0; }
.times-card h3 { margin: 0 0 .6rem; font-size: 1.2rem; color: var(--navy); }
@media (prefers-color-scheme: dark) { .times-card h3 { color: var(--gold-ink); } }
.times { list-style: none; margin: 0 0 .8rem; padding: 0; }
.times li { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: .8rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.times li:last-child { border-bottom: 0; }
.times .t { font-weight: 700; color: var(--red-ink); font-variant-numeric: tabular-nums; }
.times .n small { display: block; font-size: .88rem; }
.times.wk li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
.times.wk .n { font-weight: 600; }
.times li.is-next { background: linear-gradient(90deg, rgba(207,164,54,.18), transparent); border-radius: 6px; }
.next-service { grid-column: 1 / -1; margin: 0; padding: .7rem 1rem; background: var(--paper-2); border-radius: 8px; font-weight: 600; }
@media (max-width: 700px) { .times-card { grid-template-columns: minmax(0, 1fr); padding: 1.1rem 1.1rem; } .times li { grid-template-columns: 5.6rem minmax(0, 1fr); } }

.quick { background: var(--navy); }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick a { display: flex; align-items: center; gap: .8rem; padding: 1.3rem 1rem; color: #fff; text-decoration: none; font-weight: 600; border-left: 1px solid rgba(255,255,255,.12); }
.quick a:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.quick a:hover { background: var(--navy-3); color: var(--gold); }
.quick svg { width: 28px; height: 28px; flex-shrink: 0; fill: var(--gold); color: var(--gold); }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quick a { border: 0; border-bottom: 1px solid rgba(255,255,255,.12); } }
@media (max-width: 440px) { .quick-grid { grid-template-columns: minmax(0, 1fr); } }
.explore { padding: 3rem 0 1rem; }
.explore h2 { margin-top: 0; text-align: center; }
.features { padding: 2rem 0 3.5rem; }
.visit-strip { background: var(--paper-2); border-top: 1px solid var(--line); padding: 2.6rem 0; }
.visit-strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.visit-strip h2 { margin-top: 0; font-size: 1.4rem; }
.visit-strip .btn-light { color: var(--link); border-color: var(--link); background: transparent; }
@media (max-width: 800px) { .visit-strip-grid { grid-template-columns: minmax(0, 1fr); } }

/* visit page */
.visit-top { margin-bottom: 2rem; }
.visit-top h2:first-child { margin-top: 0; }
.big-address { font-size: 1.2rem; font-family: var(--serif); line-height: 1.45; margin-bottom: .6rem; }

/* people */
.people { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.person { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; scroll-margin-top: 1rem; }
.person:target { outline: 3px solid var(--gold); }
.person-photo img { width: 170px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 8px; }
.person h2 { margin: 0; font-size: 1.35rem; }
.role { color: var(--red-ink); font-weight: 600; margin: .2rem 0 .3rem; }
.person-contact { margin-bottom: .6rem; }
.bio summary { cursor: pointer; color: var(--link); font-weight: 600; }
.bio[open] summary { margin-bottom: .6rem; }
@media (max-width: 560px) { .person { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; } .person-photo img { width: 96px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-bottom: 1rem; }
.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.contact-box h2 { margin-top: 0; font-size: 1.3rem; }
.contact-box h3 { font-size: 1rem; margin: 1rem 0 .3rem; }
.big { font-size: 1.2rem; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.foot { background: var(--navy-2); color: #dcd9ee; margin-top: 0; font-size: .96rem; }
.foot a { color: #fff; }
.foot a:hover { color: var(--gold); }
.foot h2 { color: var(--gold); font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .7rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding: 2.8rem 0 2rem; }
.foot-grid > * { min-width: 0; }
.foot-brand img { width: 40px; margin-bottom: .6rem; }
.foot-name { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin: 0 0 .3rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; border-top: 1px solid rgba(255,255,255,.14); padding: 1.1rem 0 1.4rem; font-size: .88rem; }
.foot-base p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
}
@media print {
  .util, .masthead, .foot, .side-nav, .quick, .section-cards { display: none; }
  .page-hero { min-height: 0; background: none; } .page-hero::after, .page-hero .hero-img { display: none; }
  .page-hero-text { color: #000; } .page-hero h1 { color: #000; text-shadow: none; }
}

/* ---------------------------------------------------------------- web forms (PARK-77) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.linkish:hover { text-decoration-thickness: 2px; }
.gform { margin: 1.6rem 0 0; }
.gform-form, .gform-result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, .6rem + 2vw, 2rem); }
.gform-msg:empty { display: none; }
.gform-msg.on { background: var(--paper-2); border-radius: 8px; padding: .6rem .9rem; margin-bottom: 1rem; font-size: .95rem; }
.gform-errors { border: 3px solid var(--red); border-radius: 8px; padding: .8rem 1.1rem; margin-bottom: 1.2rem; }
.gform-errors h2 { font-size: 1.15rem; margin: 0 0 .4rem; color: var(--red-ink); font-family: var(--sans); }
.gform-errors ul { margin: 0; padding-left: 1.1rem; }
.gform-errors a { color: var(--red-ink); font-weight: 600; }
.gform-progress { margin: 0 0 1.4rem; }
.gform-count { font-size: .9rem; font-weight: 600; color: var(--ink-2); margin: 0 0 .35rem; }
.gform-bar { height: 8px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.gform-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy-3), var(--gold)); border-radius: 99px; transition: width .25s ease; }
.gform-steps { display: flex; flex-wrap: wrap; gap: .3rem .9rem; list-style: none; margin: .6rem 0 0; padding: 0; font-size: .82rem; color: var(--ink-2); counter-reset: st; }
.gform-steps li { counter-increment: st; }
.gform-steps li::before { content: counter(st) ". "; }
.gform-steps li.done { color: var(--ink); }
.gform-steps li.done::before { content: "✓ "; color: var(--gold-ink); }
.gform-steps li[aria-current] { color: var(--ink); font-weight: 700; }
@media (max-width: 700px) { .gform-steps { display: none; } }
.gform-step > h2 { margin-top: 0; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.gform-step > h2:focus { outline: none; }
.gform-stepno { color: var(--gold-ink); }
.gform-intro { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-2); border-left: 3px solid var(--gold); padding-left: .9rem; }
.gf-field { margin: 0 0 1.5rem; padding: 0; border: 0; min-width: 0; }
.gf-field > label, .gf-field > legend { display: block; font-weight: 600; margin-bottom: .3rem; padding: 0; line-height: 1.4; }
.opt { font-weight: 400; color: var(--ink-2); font-size: .92em; }
.gf-hint { margin: -.1rem 0 .5rem; color: var(--ink-2); font-size: .94rem; }
.gf-err { margin: 0 0 .45rem; color: var(--red-ink); font-weight: 600; font-size: .95rem; }
.gf-field.has-err { border-left: 4px solid var(--red); padding-left: .8rem; }
.gf-field input[type=text], .gf-field input[type=email], .gf-field input[type=tel], .gf-field input[type=date], .gf-field textarea {
  display: block; width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid #8d87a3; border-radius: 8px; padding: .55rem .7rem; min-height: 2.9rem; }
.gf-field input.w-mid { max-width: 30rem; }
.gf-field input.w-short { max-width: 20rem; }
.gf-field input[type=date] { max-width: 14rem; }
.gf-field textarea { min-height: 7rem; resize: vertical; }
.gf-field input:focus, .gf-field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.gf-field [aria-invalid=true] { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .3rem 0 .4rem; }
.chip-group { margin: .9rem 0 .1rem; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); }
.chip, .choice { position: relative; cursor: pointer; }
.chip input, .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.6rem; padding: .45rem .95rem; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); line-height: 1.3; font-size: .97rem; transition: background .12s, border-color .12s; }
.chip span::before { content: ""; width: .95rem; height: .95rem; border: 2px solid #8d87a3; border-radius: 4px; flex: none; }
.chip:hover span { border-color: var(--navy-3); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--navy); }
.chip input:focus-visible + span, .choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choices { display: grid; gap: .45rem; margin: .3rem 0 .4rem; }
.choice span { display: flex; align-items: center; gap: .7rem; min-height: 2.8rem; padding: .5rem .9rem; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); line-height: 1.35; }
.choice span::before { content: ""; width: 1.1rem; height: 1.1rem; border: 2px solid #8d87a3; border-radius: 50%; flex: none; }
.choice:hover span { border-color: var(--navy-3); }
.choice input:checked + span { border-color: var(--navy); background: var(--paper-2); font-weight: 600; }
.choice input:checked + span::before { border-color: var(--navy); background: radial-gradient(circle, var(--navy) 45%, transparent 50%); }
@media (prefers-color-scheme: dark) {
  .chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #1d1a3d; }
  .chip input:checked + span::before { background: #1d1a3d; border-color: #1d1a3d; box-shadow: none; }
  .choice input:checked + span { border-color: var(--gold); }
  .choice input:checked + span::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 45%, transparent 50%); }
}
.gf-limit:empty { display: none; }
.gf-limit { color: var(--gold-ink); font-weight: 600; margin: .2rem 0 0; }
.gf-other { margin-top: .7rem; max-width: 30rem; }
.gf-other label { display: block; font-size: .95rem; margin-bottom: .25rem; }
.gf-other input { display: block; width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid #8d87a3; border-radius: 8px; padding: .5rem .7rem; }
.gform-note { background: var(--paper-2); padding: .6rem .9rem; border-radius: 8px; }
.gform-nav { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: .6rem; }
.gform-nav .gform-next, .gform-nav .gform-submit { margin-left: auto; min-width: 9rem; }
.gform-nav button { font: inherit; font-weight: 600; cursor: pointer; }
.gform-nav button[disabled] { opacity: .65; cursor: progress; }
.gform-draft { margin: 1rem 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gform-sum { border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; margin: 0 0 .9rem; }
.gform-sum-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.gform-sum h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.gform-sum dl { margin: 0; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .35rem 1rem; font-size: .96rem; }
.gform-sum dt { color: var(--ink-2); }
.gform-sum dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.gform-sum dd.none { color: var(--ink-2); font-style: italic; }
@media (max-width: 600px) { .gform-sum dl { grid-template-columns: minmax(0, 1fr); gap: .1rem; } .gform-sum dd { margin-bottom: .5rem; } }
.gform-result h2 { margin-top: 0; }
.gform-result.ok { border-left: 6px solid #2e7d4f; }
.gform-result.fallback { border-left: 6px solid var(--gold); }
.gform-result textarea { width: 100%; font: .9rem/1.45 ui-monospace, Menlo, Consolas, monospace; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .6rem; margin-top: .5rem; }
.gform-result:focus { outline: none; }
.gform-result .btn { font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 560px) {
  .gform-nav .gform-next, .gform-nav .gform-submit { flex: 1 1 100%; order: -1; margin-left: 0; }
  .gform-nav .gform-back, .gform-nav .gform-toreview { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------- parish AI helper chat (PARK-77) */
.chat { position: fixed; right: 16px; bottom: 16px; z-index: 50; font-size: 1rem; }
.chat-launch { display: inline-flex; align-items: center; gap: .5rem; border: 2px solid var(--gold); background: var(--navy); color: #fff; font: 600 .97rem var(--sans); padding: .65rem 1.05rem; border-radius: 999px; box-shadow: 0 4px 18px rgba(20,16,50,.35); cursor: pointer; }
.chat-launch svg { width: 1.3rem; height: 1.3rem; color: var(--gold); }
.chat-launch:hover { background: var(--navy-3); }
.chat.open .chat-launch { display: none; }
.chat-panel { position: fixed; right: 16px; bottom: 16px; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 32px)); height: min(600px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 40px rgba(20,16,50,.35); overflow: hidden; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--navy); color: #fff; padding: .6rem .7rem .6rem 1rem; }
.chat-head h2 { margin: 0; font-size: 1.1rem; color: #fff; display: flex; align-items: center; gap: .5rem; }
.chat-badge { font: 700 .68rem var(--sans); letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: #1d1a3d; border-radius: 99px; padding: .15rem .5rem; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.7rem; line-height: 1; width: 2.6rem; height: 2.6rem; border-radius: 8px; cursor: pointer; }
.chat-close:hover { background: rgba(255,255,255,.12); }
.chat-log { flex: 1 1 auto; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; }
.chat-msg { max-width: 92%; padding: .55rem .8rem; border-radius: 12px; line-height: 1.5; font-size: .96rem; overflow-wrap: anywhere; }
.chat-msg p { margin: 0 0 .45em; }
.chat-msg p:last-child { margin-bottom: 0; }
.chat-msg ul { margin: .2em 0 .45em; padding-left: 1.1rem; }
.chat-msg.bot { align-self: flex-start; background: var(--paper-2); border-bottom-left-radius: 4px; }
.chat-msg.you { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.pending p { color: var(--ink-2); animation: chatpulse 1.2s ease-in-out infinite; }
@keyframes chatpulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .chat-msg.pending p { animation: none; } .gform-bar span { transition: none; } }
.chat-ai { font-size: .75rem !important; color: var(--ink-2); margin-top: .35rem !important; }
.chat-notice { margin: 0; padding: .3rem .9rem; font-size: .7rem; line-height: 1.35; color: var(--ink-2); border-top: 1px solid var(--line); background: var(--paper); }
.chat-retry { margin-top: .4rem; font: inherit; font-size: .85rem; padding: .25rem .7rem; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.chat-form { display: flex; gap: .5rem; align-items: flex-end; padding: .6rem .7rem .3rem; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 2px solid #8d87a3; border-radius: 10px; padding: .5rem .6rem; resize: none; max-height: 7rem; }
.chat-form textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.chat-send { font: inherit; font-weight: 600; cursor: pointer; }
.chat-send[disabled] { opacity: .6; cursor: progress; }
.chat-foot { margin: 0; padding: .1rem .9rem .55rem; font-size: .8rem; display: flex; justify-content: space-between; }
@media (max-width: 560px) {
  .chat { right: 12px; bottom: 12px; }
  .chat-launch { padding: .7rem; }
  .chat-launch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-launch svg { width: 1.6rem; height: 1.6rem; }
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; border: 0; }
}
@media print { .chat { display: none; } }
@media (max-width: 560px) { .foot-base { padding-bottom: 4.5rem; } }
