:root {
  --paper: #f5f2ea;
  --paper-deep: #eae7de;
  --cream: #fcfaf5;
  --ink: #1e2b25;
  --forest: #22372f;
  --forest-dark: #172720;
  --muted: #69736a;
  --line: #d9d6cc;
  --copper: #a46647;
  --display: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --body: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
section[id], footer[id] { scroll-margin-top: 32px; }
::selection { background: #c6a58e; color: var(--ink); }

.section-wrap { width: min(100%, 1500px); margin-inline: auto; padding-inline: clamp(24px, 5vw, 78px); }
.demo-strip { display: flex; justify-content: center; align-items: center; gap: 24px; min-height: 37px; padding: 7px 20px; background: var(--forest-dark); color: #f2ede3; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.demo-link { padding: 0; border: 0; background: transparent; color: #d8b196; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: 3px; }
.demo-link span { display: inline-block; margin-left: 3px; text-decoration: none; }
.demo-link:hover { color: #fff; }

.site-header { width: min(100%, 1500px); min-height: 98px; margin-inline: auto; padding: 20px clamp(24px, 5vw, 78px); display: flex; justify-content: space-between; align-items: center; gap: 35px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; text-decoration: none; }
.brand-mark { display: block; width: 34px; height: 42px; color: var(--forest); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.brand-text small { display: block; margin-top: 3px; font-family: var(--body); font-size: 13px; font-weight: 400; letter-spacing: .02em; }
.desktop-nav { display: flex; gap: clamp(15px, 2.1vw, 35px); align-items: center; }
.desktop-nav a { position: relative; white-space: nowrap; font-size: 14px; font-weight: 500; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; bottom: -8px; left: 0; width: 0; height: 1px; background: var(--copper); transition: width .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { width: 100%; }
.menu-toggle, .mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr); column-gap: clamp(28px, 5vw, 88px); padding-top: 36px; padding-bottom: 44px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 16px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--copper); font-size: 14px; font-weight: 600; letter-spacing: .015em; }
.eyebrow-line { display: block; width: 30px; height: 1px; background: currentColor; }
.eyebrow-light { color: #cfa386; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { font-family: var(--display); letter-spacing: -.025em; }
h1 em, h2 em { font-weight: inherit; font-style: normal; }
.hero h1 { max-width: 610px; margin-bottom: 24px; font-size: clamp(40px, 3.4vw, 48px); line-height: 1.18; }
.hero-location { display: block; margin-top: 6px; color: var(--forest); }
.hero h1 em { color: var(--forest); }
.hero-lead { max-width: 460px; margin-bottom: 27px; color: #556158; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.button span { font-size: 17px; font-weight: 400; line-height: 1; }
.button-primary { background: var(--forest); color: #fff; transition: background .2s ease; }
.button-primary:hover { background: #344f42; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 5px; border-bottom: 1px solid var(--copper); font-size: 15px; font-weight: 600; text-decoration: none; }
.text-link span { color: var(--copper); font-size: 17px; font-weight: 400; }
.text-link:hover { color: var(--copper); }
.hero-scroll { display: flex; align-items: center; gap: 16px; margin-top: 30px; color: #68746b; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.scroll-line { height: 1px; width: 54px; background: #9ea79d; }
.hero-photo { position: relative; height: 500px; min-height: 0; margin: 0; overflow: hidden; background: #c8c9c2; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(14, 25, 18, .08); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-photo figcaption { position: absolute; right: 0; bottom: 0; padding: 12px 18px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.hero-photo figcaption span { color: var(--copper); padding-inline: 5px; }

.quick-links { background: var(--paper-deep); }
.quick-links-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-link { display: flex; flex-direction: column; min-height: 144px; padding: 23px 30px 24px 0; border-right: 1px solid #d3d0c7; text-decoration: none; transition: background .2s ease; }
.quick-link + .quick-link { padding-left: 34px; }
.quick-link:last-child { border-right: 0; }
.quick-link:hover .quick-title span { transform: translate(3px, -3px); }
.quick-number { color: var(--copper); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.quick-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.quick-title span { color: var(--copper); font-family: var(--body); font-size: 18px; transition: transform .2s ease; }
.quick-desc { margin-top: 5px; color: #626d65; font-size: 15px; }

.content-section { padding-top: 82px; padding-bottom: 86px; }
.announcements, .sacraments { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(44px, 9vw, 150px); }
.section-heading h2 { max-width: 520px; margin-bottom: 20px; font-size: 34px; line-height: 1.25; }
.section-heading h2 em { color: var(--copper); }
.section-heading > p:last-child { max-width: 380px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.announcements-content { padding-top: 4px; }
.empty-announcement { position: relative; min-height: 250px; padding: 24px 40px 30px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.announcement-kicker { color: var(--copper); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.empty-symbol { position: absolute; top: 17px; right: 5px; color: #c5b49f; font-size: 38px; font-weight: 300; }
.empty-announcement h3 { max-width: 570px; margin: 24px 0 15px; font-family: var(--display); font-size: 25px; line-height: 1.4; letter-spacing: -.015em; }
.empty-announcement p { max-width: 500px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.announcements-note { display: flex; gap: 12px; margin-top: 20px; color: #6c756d; font-size: 14px; line-height: 1.65; }
.announcements-note span { color: var(--copper); font-size: 17px; line-height: .8; }
.announcement-card { padding: 30px 0 32px; border-top: 1px solid var(--line); }
.announcement-card:first-child { border-top: 2px solid var(--ink); }
.announcement-card .announcement-meta { display: flex; gap: 18px; align-items: center; color: var(--copper); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.announcement-card h3 { margin: 16px 0; font-family: var(--display); font-size: 25px; line-height: 1.35; letter-spacing: -.015em; }
.announcement-body p { margin: 0 0 14px; color: #4e5b51; font-size: 16px; line-height: 1.75; white-space: pre-wrap; }
.announcement-permalink { display: inline-block; margin-top: 5px; color: var(--forest); font-size: 14px; font-weight: 600; text-decoration-color: var(--copper); text-underline-offset: 4px; }

.service-section { background: var(--forest); color: #fff; }
.service-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(60px, 9vw, 145px); min-height: 355px; padding-top: 70px; padding-bottom: 74px; }
.service-intro h2 { max-width: 630px; margin-bottom: 19px; font-size: 34px; line-height: 1.25; }
.service-intro h2 em { color: #d1b39d; }
.service-intro > p:last-child { max-width: 440px; color: #d1d9d2; font-size: 16px; line-height: 1.75; }
.service-details { border-top: 1px solid #73847a; }
.service-row { display: flex; justify-content: space-between; gap: 25px; padding: 19px 0; border-bottom: 1px solid #73847a; font-size: 16px; }
.service-row strong { color: #ddc4af; font-size: 15px; font-weight: 500; text-align: right; }
.service-caveat { margin: 19px 0 0; color: #bdccc1; font-size: 14px; line-height: 1.65; }

.sacraments { padding-bottom: 88px; }
.sacrament-grid { display: grid; grid-template-columns: repeat(2, 1fr); align-self: start; border-top: 2px solid var(--ink); }
.sacrament-item { min-height: 165px; padding: 27px 22px 24px 0; border-bottom: 1px solid var(--line); }
.sacrament-item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.sacrament-item > span { color: var(--copper); font-size: 13px; font-weight: 500; }
.sacrament-item h3 { margin: 18px 0 6px; font-family: var(--display); font-size: 22px; letter-spacing: -.015em; }
.sacrament-item p { margin: 0; color: var(--muted); font-size: 15px; }
.sacrament-item-accent { color: var(--forest); }

.history-section { background: #e9e5da; }
.history-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(60px, 9vw, 145px); padding-top: 76px; padding-bottom: 76px; }
.history-photo { height: 450px; margin: 0; overflow: hidden; background: #c8c9c2; }
.history-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 49% center; }
.history-copy h2 { max-width: 650px; margin-bottom: 22px; font-size: 34px; line-height: 1.25; }
.history-copy h2 em { color: var(--copper); }
.history-copy > p:not(.eyebrow) { max-width: 550px; margin-bottom: 14px; color: #576258; font-size: 16px; line-height: 1.75; }
.history-date { display: flex; align-items: end; gap: 18px; margin: 25px 0 27px; padding: 16px 0 13px; border-top: 1px solid #c7c2b5; border-bottom: 1px solid #c7c2b5; }
.history-date strong { font-family: var(--display); font-size: 30px; line-height: 1; font-weight: 600; }
.history-date span { padding-bottom: 2px; color: var(--muted); font-size: 14px; }

.site-footer { background: var(--forest-dark); color: #f6f2e8; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(50px, 9vw, 145px); padding-top: 72px; padding-bottom: 70px; }
.footer-main h2 { max-width: 790px; margin: 0; font-size: 34px; line-height: 1.3; }
.footer-main h2 em { color: #d7baa3; }
.footer-info { display: grid; grid-template-columns: 1fr 1fr; align-content: end; gap: 25px; }
.footer-info p { margin-bottom: 0; color: #c8d3ca; font-size: 16px; line-height: 1.75; }
.footer-info strong { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.footer-info a { grid-column: 1 / -1; width: fit-content; color: #dfbfaa; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #ae8469; padding-bottom: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 25px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid #40544a; color: #b8c7bd; font-size: 12px; line-height: 1.6; }
.footer-bottom a { color: #d6b79f; }

.editor-dialog { width: min(92vw, 780px); max-height: 90vh; padding: 0; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.editor-dialog::backdrop { background: rgba(17, 29, 23, .7); }
.editor-topline { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; min-height: 45px; padding: 9px 30px; background: var(--forest); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.editor-close { border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; }
.editor-content { padding: 37px clamp(24px, 5vw, 58px) 48px; }
.editor-intro h2 { margin-bottom: 12px; font-size: 30px; line-height: 1.25; }
.editor-intro p:last-child { max-width: 610px; margin-bottom: 27px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.editor-content form { display: flex; flex-direction: column; }
.editor-content label { margin: 0 0 8px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.editor-content input, .editor-content textarea { width: 100%; margin-bottom: 21px; padding: 13px 14px; border: 1px solid #c7c7ba; border-radius: 0; outline-color: var(--copper); background: var(--cream); color: var(--ink); font-size: 16px; }
.editor-content textarea { line-height: 1.6; resize: vertical; }
.editor-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.button-text { padding: 0; border: 0; background: transparent; color: var(--copper); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.form-status { min-height: 20px; margin: 10px 0 0; color: var(--forest); font-size: 14px; }
.editor-existing { margin-top: 35px; padding-top: 24px; border-top: 1px solid var(--line); }
.editor-existing h3 { margin-bottom: 13px; font-family: var(--display); font-size: 23px; }
.editor-existing p { color: var(--muted); font-size: 15px; }
.editor-entry { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.editor-entry strong { display: block; font-size: 15px; }
.editor-entry small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.editor-entry-actions { display: flex; gap: 12px; }
.editor-entry-actions button { padding: 0; border: 0; background: transparent; color: var(--copper); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.news-section { padding-top: 78px; padding-bottom: 84px; border-top: 1px solid var(--line); }
.news-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.news-heading h2 { margin-bottom: 0; font-size: 34px; line-height: 1.25; }
.news-heading .eyebrow { margin-bottom: 12px; }
.news-heading p:not(.eyebrow) { max-width: 550px; margin: 15px 0 0; color: var(--muted); font-size: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.news-card { min-width: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.news-card > img, .news-card > a > img, .news-card-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.news-card-content { padding-top: 20px; }
.news-date, .news-card time { display: block; margin: 0 0 9px; color: var(--muted); font-size: 14px; }
.news-card h3 { margin: 10px 0 11px; font-size: 23px; line-height: 1.4; letter-spacing: -.015em; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-card p { max-width: 600px; margin-bottom: 16px; color: #576258; font-size: 16px; line-height: 1.75; }
.news-card .text-link { font-size: 15px; }
.news-empty { padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.facebook-link { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; padding-bottom: 4px; border-bottom: 1px solid var(--copper); color: var(--forest); font-size: 15px; font-weight: 600; text-decoration: none; }
.facebook-link:hover { color: var(--copper); }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
@media (max-width: 1120px) {
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: 14px; }
  .brand-text { font-size: 18px; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 1120px) {
  .site-header { min-height: 82px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 8px; border: 0; background: transparent; }
  .menu-toggle span { display: block; width: 26px; height: 1px; background: var(--ink); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; gap: 0; padding: 8px clamp(24px, 5vw, 78px) 18px; border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; }
}
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 42px; gap: 32px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { max-width: 690px; font-size: 42px; }
  .hero-scroll { display: none; }
  .hero-photo { height: 510px; min-height: 0; }
  .announcements, .sacraments { grid-template-columns: 1fr; gap: 35px; }
  .service-inner { gap: 50px; }
  .history-inner { gap: 55px; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; }
}
@media (max-width: 650px) {
  .demo-strip { justify-content: space-between; gap: 15px; font-size: 12px; letter-spacing: 0; }
  .demo-link { text-align: right; }
  .site-header { padding-top: 14px; padding-bottom: 14px; }
  .brand-mark { width: 27px; height: 35px; }
  .brand-text { font-size: 16px; }
  .brand-text small { font-size: 12px; }
  .hero { padding-top: 32px; padding-bottom: 32px; gap: 28px; }
  .eyebrow { margin-bottom: 22px; }
  .hero h1 { margin-bottom: 22px; font-size: 34px; line-height: 1.22; }
  .hero-lead { font-size: 16px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 18px; }
  .hero-photo { height: 390px; }
  .quick-links-inner { grid-template-columns: 1fr; }
  .quick-link, .quick-link + .quick-link { min-height: 113px; padding: 18px 0; border-right: 0; border-bottom: 1px solid #d3d0c7; }
  .quick-link:last-child { border-bottom: 0; }
  .quick-title { margin-top: 8px; font-size: 21px; }
  .content-section { padding-top: 56px; padding-bottom: 60px; }
  .section-heading h2 { font-size: 28px; }
  .empty-announcement { min-height: 230px; }
  .empty-announcement h3 { margin-top: 24px; font-size: 22px; }
  .service-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 56px; padding-bottom: 60px; }
  .service-intro h2 { font-size: 28px; }
  .service-row { gap: 12px; }
  .service-row strong { max-width: 150px; }
  .sacrament-grid { grid-template-columns: 1fr; }
  .sacrament-item, .sacrament-item:nth-child(even) { min-height: 135px; padding: 23px 0; border-left: 0; }
  .sacrament-item h3 { margin-top: 15px; }
  .history-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 60px; }
  .history-photo { height: 390px; }
  .history-copy h2 { font-size: 28px; }
  .footer-main { padding-top: 56px; padding-bottom: 56px; }
  .footer-main h2 { font-size: 28px; }
  .footer-info { grid-template-columns: 1fr; gap: 18px; }
  .footer-info a { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .editor-intro h2 { font-size: 28px; }
  .editor-entry { align-items: flex-start; flex-direction: column; }
  .news-section { padding-top: 56px; padding-bottom: 60px; }
  .news-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .news-heading h2 { font-size: 28px; }
  .news-grid { grid-template-columns: 1fr; gap: 28px; }
  .news-card h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
