/* Parish Custom Theme — visual system */
:root {
  --burgundy: #542333;
  --burgundy-deep: #3e1927;
  --gold: #b18a4a;
  --gold-light: #d9bd8b;
  --ivory: #f8f5ef;
  --paper: #fffdf9;
  --ink: #292724;
  --muted: #77716a;
  --green: #283d35;
  --line: #e9e2d8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 56px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 9999; padding: 10px 16px; color: white; background: var(--burgundy); }
.skip-link:focus { top: 12px; }
.topbar { background: var(--burgundy-deep); color: #e9d9c3; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.topbar-inner { display: flex; justify-content: space-between; padding: 8px 0; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,253,249,.97); border-bottom: 1px solid rgba(84,35,51,.08); transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(40,25,28,.08); background: rgba(255,253,249,.98); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand-placeholder { display: inline-flex; align-items: center; gap: 13px; color: var(--burgundy); }
.brand-mark { width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-size: 22px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font: 600 25px/1.05 var(--serif); letter-spacing: -.02em; }
.brand-copy small { margin-top: 6px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.custom-logo { max-height: 66px; width: auto; }
.primary-navigation { display: flex; align-items: center; gap: 26px; }
.primary-navigation .menu { display: flex; align-items: center; gap: 25px; list-style: none; padding: 0; margin: 0; }
.primary-navigation .menu a { color: #514a45; font-size: 12px; font-weight: 600; letter-spacing: .035em; transition: color .2s; }
.primary-navigation .menu a:hover, .primary-navigation .current-menu-item > a { color: var(--gold); }
.header-donate { padding: 12px 21px; background: var(--burgundy); color: white; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, transform .2s; }
.header-donate:hover { background: var(--burgundy-deep); transform: translateY(-1px); color: white; }
.menu-toggle { display: none; }
.hero { min-height: 640px; position: relative; overflow: hidden; color: white; background: #35242a; }\n.hero-slides { position: absolute; inset: 0; }\n.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; background-color: #35242a; background-image: var(--hero-image, linear-gradient(115deg, #3e1927, #75543f)); background-size: cover; background-position: center; transition: opacity .9s ease, visibility .9s ease; }\n.hero-slide.is-active { opacity: 1; visibility: visible; }\n.hero-controls { position: absolute; z-index: 3; left: 50%; bottom: 25px; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }\n.hero-controls button { pointer-events: auto; cursor: pointer; }\n.hero-pagination { display: flex; gap: 9px; margin: 0; }\n.hero-pagination button { display: block; width: 23px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.48); transition: width .2s, background .2s; }\n.hero-pagination button.active { width: 48px; background: var(--gold-light); }\n.hero-arrows { display: flex; gap: 8px; }\n.hero-arrows button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: white; background: rgba(40,20,25,.25); font-size: 17px; }\n.hero-arrows button:hover { color: var(--burgundy); background: var(--gold-light); border-color: var(--gold-light); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,18,23,.84) 0%, rgba(42,25,29,.65) 47%, rgba(35,25,27,.15) 100%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,18,22,.35), transparent 38%); }
.hero-content { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 110px; }
.hero-copy { max-width: 660px; }
.eyebrow { display: inline-block; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .22em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-light { color: var(--gold-light); }
.gold-rule { display: block; width: 54px; height: 1px; margin: 22px 0; background: var(--gold); }
.hero h1 { max-width: 650px; margin: 0; font: 500 clamp(52px, 6.3vw, 82px)/.98 var(--serif); letter-spacing: -.035em; }
.hero-copy p { max-width: 480px; margin: 24px 0 30px; color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 24px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #35251f; background: var(--gold-light); }
.button-gold:hover { color: #35251f; background: #e6cca0; }
.button-outline { border: 1px solid var(--burgundy); color: var(--burgundy); }
.button-outline:hover { color: white; background: var(--burgundy); }
.button-burgundy { color: white; background: var(--burgundy); }
.hero-pagination { display: flex; gap: 9px; margin-top: 68px; }
.hero-pagination span { display: block; width: 23px; height: 3px; background: rgba(255,255,255,.4); }
.hero-pagination span.active { width: 48px; background: var(--gold-light); }
.hero-bottom-note { position: absolute; right: max(28px, calc((100% - var(--container))/2)); bottom: 28px; z-index: 1; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.quick-strip { position: relative; z-index: 2; background: var(--burgundy); color: white; }
.quick-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-strip-inner > a { display: flex; align-items: center; gap: 17px; min-height: 104px; padding: 18px 30px; border-right: 1px solid rgba(255,255,255,.15); transition: background .2s; }
.quick-strip-inner > a:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.quick-strip-inner > a:hover { background: rgba(255,255,255,.07); }
.quick-icon { color: var(--gold-light); font: 32px var(--serif); }
.quick-strip strong, .quick-strip small { display: block; }
.quick-strip strong { font: 600 21px/1.2 var(--serif); }
.quick-strip small { margin-top: 5px; color: rgba(255,255,255,.66); font-size: 10px; letter-spacing: .04em; }
.section { padding: 105px 0; }
.section-heading { margin-bottom: 48px; }
.section-heading.centered { max-width: 660px; margin-inline: auto; text-align: center; }
.section-heading h2, .welcome-copy h2, .announcement-inner h2, .donation-content h2 { margin: 10px 0 12px; color: var(--burgundy); font: 500 clamp(38px, 4vw, 54px)/1.05 var(--serif); letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.mass-section { background: var(--ivory); }
.mass-panel { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 300px; background: white; box-shadow: 0 18px 55px rgba(54,39,33,.06); }
.mass-panel-intro { padding: 48px; color: white; background: var(--green); }
.mass-cross { color: var(--gold-light); font: 36px var(--serif); }
.mass-panel-intro h3 { margin: 14px 0; font: 500 34px/1.08 var(--serif); }
.mass-panel-intro p { color: rgba(255,255,255,.72); font-size: 13px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--burgundy); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.mass-panel-intro .text-link { margin-top: 18px; color: var(--gold-light); }
.mass-schedule { display: flex; align-items: center; padding: 34px 48px; }
.content-placeholder { width: 100%; padding: 28px; text-align: center; border: 1px dashed #d9d0c3; background: #fffdfa; }
.placeholder-icon { display: block; margin-bottom: 9px; color: var(--gold); font: 32px var(--serif); }
.content-placeholder strong { display: block; color: var(--burgundy); font: 600 23px var(--serif); }
.content-placeholder p { max-width: 390px; margin: 8px auto 0; color: var(--muted); font-size: 12px; }
.events-section { background: var(--paper); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.split-heading .text-link { margin-bottom: 8px; white-space: nowrap; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-placeholder { grid-column: 1 / -1; padding: 55px 20px; }
.welcome-section { background: var(--ivory); }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.welcome-image-wrap { position: relative; min-height: 430px; padding: 0 28px 28px 0; }
.welcome-image-wrap::after { content: ""; position: absolute; right: 0; bottom: 0; width: 72%; height: 72%; border: 1px solid var(--gold); z-index: 0; }
.welcome-image-wrap img, .image-placeholder { position: relative; z-index: 1; display: block; width: 100%; height: 430px; object-fit: cover; background: #e6dfd3; }
.image-placeholder { display: grid; place-content: center; text-align: center; color: var(--burgundy); }
.image-placeholder span { font: 64px var(--serif); }
.image-placeholder small { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.image-caption { position: absolute; z-index: 2; left: -20px; bottom: 48px; padding: 12px 19px; color: white; background: var(--burgundy); font: italic 19px var(--serif); }
.welcome-copy h2 { max-width: 480px; margin-top: 18px; }
.welcome-copy p { margin: 22px 0 30px; color: #6e6861; font-size: 14px; line-height: 2; }
.announcement-section { color: white; background: var(--burgundy); }
.announcement-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.announcement-inner h2 { color: white; }
.announcement-inner p { color: rgba(255,255,255,.7); font-size: 13px; }
.announcement-content { padding: 30px; border-left: 1px solid rgba(255,255,255,.2); }
.announcement-empty { margin: 0 0 20px; }
.text-link-light { color: var(--gold-light); }
.ministries-section { background: var(--paper); }
.ministry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ministry-card { padding: 34px 25px; border: 1px solid var(--line); background: white; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ministry-card:hover { transform: translateY(-5px); border-color: #d4bd99; box-shadow: 0 16px 38px rgba(48,34,29,.07); }
.ministry-symbol { color: var(--gold); font: 35px var(--serif); }
.ministry-card h3 { margin: 15px 0 8px; color: var(--burgundy); font: 600 24px var(--serif); }
.ministry-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.donation-banner { position: relative; overflow: hidden; color: white; background: var(--green); text-align: center; }
.donation-pattern { position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle at 1px 1px, #e6d4b4 1px, transparent 0); background-size: 28px 28px; }
.donation-content { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 92px; }
.donation-content h2 { max-width: 760px; margin: 14px auto; color: white; }
.donation-content p { margin: 0 auto 28px; color: rgba(255,255,255,.72); font-size: 13px; }
.gallery-section { background: var(--ivory); }
.gallery-placeholder { min-height: 190px; display: grid; place-content: center; text-align: center; border: 1px dashed #d5cabb; color: var(--muted); background: rgba(255,255,255,.5); }
.gallery-placeholder span { color: var(--gold); font: 34px var(--serif); }
.gallery-placeholder p { margin: 5px 0; font-size: 12px; }
.site-footer { color: rgba(255,255,255,.76); background: #241a1d; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 55px; padding-top: 72px; padding-bottom: 65px; }
.footer-brand-mark { color: var(--gold-light); font: 35px var(--serif); }
.footer-brand h2 { margin: 5px 0 10px; color: white; font: 500 29px var(--serif); }
.footer-brand p, .footer-column p { max-width: 270px; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.9; }
.footer-column h3 { margin: 0 0 18px; color: var(--gold-light); font: 600 21px var(--serif); }
.footer-column a { display: block; margin: 9px 0; color: rgba(255,255,255,.7); font-size: 11px; transition: color .2s; }
.footer-column a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; padding-bottom: 17px; color: rgba(255,255,255,.48); font-size: 10px; }
.standard-content { min-height: 55vh; padding-top: 80px; padding-bottom: 100px; }
.page-header { margin-bottom: 35px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.page-header h1, .not-found h1 { margin: 10px 0 0; color: var(--burgundy); font: 500 clamp(42px, 5vw, 62px)/1.05 var(--serif); }
.entry-content { max-width: 850px; color: #5f5953; }
.entry-content a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2, .entry-content h3 { color: var(--burgundy); font-family: var(--serif); }
.not-found { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found p { color: var(--muted); }
@media (max-width: 980px) {
  .primary-navigation { gap: 15px; }
  .primary-navigation .menu { gap: 15px; }
  .primary-navigation .menu a { font-size: 11px; }
  .welcome-grid { gap: 45px; }
  .footer-main { gap: 30px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 36px, var(--container)); }
  .topbar-right { display: none; }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy strong { font-size: 22px; }
  .brand-copy small { font-size: 8px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 1px; background: var(--burgundy); }
  .primary-navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 18px 24px 24px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 18px 25px rgba(0,0,0,.08); }
  .primary-navigation.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 18px; }
  .primary-navigation .menu { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .primary-navigation .menu li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .header-donate { text-align: center; }
  .hero { min-height: 590px; background-position: 58% center; }
  .hero::before { background: linear-gradient(90deg, rgba(31,18,23,.84), rgba(42,25,29,.52)); }
  .hero-content { padding-top: 75px; padding-bottom: 90px; }
  .hero h1 { max-width: 520px; font-size: clamp(48px, 13vw, 66px); }
  .hero-copy p { max-width: 360px; font-size: 13px; }
  .hero-controls { bottom: 18px; }
  .hero-bottom-note { display: none; }
  .quick-strip-inner { grid-template-columns: 1fr; }
  .quick-strip-inner > a, .quick-strip-inner > a:first-child { min-height: 76px; padding: 13px 20px; border: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .quick-strip strong { font-size: 20px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .welcome-copy h2, .announcement-inner h2, .donation-content h2 { font-size: 42px; }
  .mass-panel { grid-template-columns: 1fr; }
  .mass-panel-intro { padding: 32px 28px; }
  .mass-panel-intro h3 { font-size: 30px; }
  .mass-schedule { padding: 25px 20px; }
  .split-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .events-grid { grid-template-columns: 1fr; }
  .welcome-grid { grid-template-columns: 1fr; gap: 42px; }
  .welcome-image-wrap { min-height: 300px; margin-right: 8px; }
  .welcome-image-wrap img, .image-placeholder { height: 300px; }
  .image-caption { left: -8px; bottom: 38px; }
  .announcement-inner { grid-template-columns: 1fr; gap: 20px; }
  .announcement-content { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .ministry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ministry-card { padding: 25px 14px; }
  .ministry-card h3 { font-size: 21px; }
  .donation-content { padding-top: 70px; padding-bottom: 72px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 35px 22px; padding-top: 55px; padding-bottom: 45px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; gap: 5px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 28px); }
  .ministry-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
