@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  --burgundy: #681f32;
  --burgundy-dark: #3d1020;
  --burgundy-mid: #85354a;
  --gold: #d5b36a;
  --gold-light: #f0dfb1;
  --cream: #fbf8f1;
  --paper: #fffdf9;
  --ink: #292326;
  --muted: #746a6b;
  --line: #e7dfd5;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.7; }
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 1000; background: white; padding: 10px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.announcement { background: var(--burgundy-dark); color: #fff; font-size: .78rem; letter-spacing: .04em; }
.announcement-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 8px; }
.announcement a { color: var(--gold-light); text-decoration: none; }
.site-header { background: rgba(255,253,249,.97); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(104,31,50,.1); backdrop-filter: blur(12px); }
.header-inner { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--burgundy); flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--serif); font-size: 1rem; color: var(--burgundy); background: var(--cream); }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: var(--serif); font-size: 1.28rem; letter-spacing: .01em; }
.brand-copy span { font-size: .68rem; letter-spacing: .07em; margin-top: 4px; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.primary-nav a { font-size: .83rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.primary-nav a:hover, .text-link:hover { color: var(--burgundy-mid); }
.primary-nav .nav-give { padding: 10px 19px; color: white; background: var(--burgundy); border: 1px solid var(--burgundy); }
.primary-nav .nav-give:hover { background: var(--burgundy-dark); color: white; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--burgundy); margin: 5px; }
.hero { position: relative; min-height: 620px; display: flex; align-items: center; color: white; background: linear-gradient(105deg, rgba(43,9,22,.92), rgba(72,19,36,.77) 50%, rgba(48,12,25,.48)), url("images/hero-church.jpg") center/cover, var(--burgundy-dark); overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 470px; height: 470px; border: 1px solid rgba(213,179,106,.25); border-radius: 50%; right: -130px; bottom: -220px; box-shadow: 0 0 0 36px rgba(213,179,106,.035), 0 0 0 72px rgba(213,179,106,.025); }
.hero-content { position: relative; z-index: 1; padding-block: 95px 115px; }
.eyebrow { color: var(--burgundy); text-transform: uppercase; letter-spacing: .19em; font-size: .72rem; font-weight: 700; margin: 0 0 18px; }
.eyebrow.light { color: var(--gold-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(3.5rem, 7vw, 6.5rem); margin-bottom: 24px; }
h1 em, h2 em { color: var(--gold); font-weight: 500; }
.hero-subtitle { font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 510px; color: rgba(255,255,255,.88); }
.hero-motto { color: var(--gold-light); font-family: var(--serif); font-size: 1.2rem; font-style: italic; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; padding: 12px 22px; border: 1px solid transparent; font-family: var(--sans); font-size: .83rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--burgundy-dark); }
.button-gold:hover { background: var(--gold-light); }
.button-outline { color: white; border-color: rgba(255,255,255,.6); background: transparent; }
.button-outline:hover { background: rgba(255,255,255,.1); }
.button-burgundy { color: white; background: var(--burgundy); }
.button-burgundy:hover { background: var(--burgundy-dark); }
.hero-bottom { position: absolute; z-index: 1; bottom: 27px; left: 0; right: 0; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.76); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-bottom-rule { display: inline-block; width: 46px; height: 1px; background: var(--gold); }
.section-pad { padding-block: 94px; }
.welcome { background: var(--cream); }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
h2 { font-size: clamp(2.4rem, 4vw, 3.65rem); margin-bottom: 24px; }
.welcome h2 em, .section-copy h2 em, .section-heading h2 em, .contact-section h2 em { color: var(--burgundy); }
.welcome-copy { max-width: 550px; color: #5f5558; }
.welcome-copy p:first-child { color: var(--ink); font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; }
.text-link { color: var(--burgundy); font-size: .85rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.service-band { background: var(--burgundy); color: white; padding-block: 58px; }
.service-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 32px 40px; align-items: start; }
.service-intro { grid-row: span 2; }
.service-intro h2 { font-size: 2.45rem; margin-bottom: 12px; }
.service-intro p:last-child { color: rgba(255,255,255,.76); }
.service-detail { display: flex; gap: 15px; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 18px; }
.detail-icon { color: var(--gold); font-size: 1.35rem; }
.service-detail h3 { font-size: .95rem; margin: 0 0 5px; }
.service-detail p { color: rgba(255,255,255,.75); font-size: .85rem; margin: 0; }
.service-address { grid-column: 2 / 4; font-size: .86rem; color: rgba(255,255,255,.85); }
.service-address strong { color: var(--gold-light); }
.service-address a { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.split-layout { display: grid; grid-template-columns: .92fr 1fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.image-placeholder { background: linear-gradient(145deg, #eadfcf, #f7f0e4 48%, #d7c2a0); color: #7c5e4b; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; border: 1px solid rgba(104,31,50,.12); }
.church-image { min-height: 450px; position: relative; overflow: hidden; }
.church-image::before, .gallery-placeholder::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(104,31,50,.22); pointer-events: none; }
.church-image { position: relative; }
.placeholder-symbol { font-size: 3rem; color: var(--burgundy); }
.image-placeholder span { font-family: var(--serif); font-size: 1.2rem; }
.image-placeholder small { font-size: .75rem; }
.section-copy p:not(.eyebrow) { color: #63595b; }
.section-copy .button { margin-top: 12px; }
.soft-section { background: var(--cream); }
.section-heading { max-width: 690px; margin: 0 auto 44px; text-align: center; }
.section-heading > p:last-child { color: var(--muted); }
.section-heading h2 { margin-bottom: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: white; border: 1px solid var(--line); padding: 30px 28px 32px; min-height: 290px; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 35px rgba(61,16,32,.08); }
.card-number { color: var(--gold); font-family: var(--serif); font-size: 1.5rem; margin-bottom: 22px; }
.feature-card h3, .resource-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.feature-card p, .resource-card p { color: var(--muted); font-size: .9rem; }
.feature-card .text-link { display: inline-block; margin-top: 7px; }
.section-heading-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; text-align: left; }
.section-heading-row > p { max-width: 390px; }
.event-placeholder { display: flex; align-items: center; gap: 27px; border: 1px solid var(--line); padding: 25px; background: white; }
.event-date { width: 82px; min-width: 82px; height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--cream); border-top: 3px solid var(--gold); color: var(--burgundy); }
.event-date span { font-size: .65rem; letter-spacing: .12em; }
.event-date strong { font-family: var(--serif); font-size: 2rem; line-height: 1.2; }
.event-tag { text-transform: uppercase; letter-spacing: .12em; color: var(--burgundy); font-size: .68rem; font-weight: 700; margin-bottom: 5px; }
.event-placeholder h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 5px; }
.event-placeholder p:last-child { color: var(--muted); font-size: .88rem; margin: 0; }
.small-note { color: var(--muted); font-size: .75rem; margin-top: 14px; }
.outreach-section { background: linear-gradient(100deg, rgba(50,10,24,.94), rgba(104,31,50,.88)), url("images/community-outreach.jpg") center/cover, var(--burgundy-dark); color: white; padding-block: 85px; }
.outreach-content { max-width: 850px; }
.outreach-content h2 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
.outreach-content > p:not(.eyebrow) { max-width: 690px; color: rgba(255,255,255,.82); margin-bottom: 28px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card { border: 1px solid var(--line); padding: 28px; }
.resource-icon { color: var(--gold); font-size: 1.7rem; display: inline-block; margin-bottom: 14px; }
.coming-soon { display: inline-block; color: var(--burgundy); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.history-section { background: var(--burgundy-dark); color: white; }
.history-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.history-layout h2 { margin: 0; }
.history-layout > div:last-child p { color: rgba(255,255,255,.82); }
.light-note { color: rgba(255,255,255,.65); }
.gallery-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.gallery-placeholder { min-height: 230px; position: relative; }
.gallery-placeholder:nth-child(2) { background: linear-gradient(145deg, #e5d5bf, #f6ead7); }
.gallery-placeholder:nth-child(3) { background: linear-gradient(145deg, #d8c5a8, #f5ead9); }
.giving-section { background: var(--burgundy); color: white; }
.giving-layout { display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: center; }
.giving-layout > div:first-child p:not(.eyebrow) { color: rgba(255,255,255,.8); max-width: 510px; }
.giving-layout h2 em { color: var(--gold); }
.giving-panel { background: var(--paper); color: var(--ink); padding: 30px; }
.giving-panel h3 { font-family: var(--serif); font-size: 1.6rem; }
.giving-panel p { color: var(--muted); font-size: .9rem; }
.giving-panel small { display: block; color: var(--muted); font-size: .72rem; margin-top: 14px; }
.contact-layout { display: grid; grid-template-columns: .9fr 1fr; gap: 85px; align-items: start; }
.contact-section h2 em { color: var(--burgundy); }
.contact-section > .container > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.contact-details { margin-top: 28px; }
.contact-details p { font-size: .9rem; color: var(--muted); margin-bottom: 17px; }
.contact-details strong { color: var(--burgundy); }
.contact-details a { color: var(--burgundy); }
.muted { color: #8d8585; font-style: italic; }
.contact-form { padding: 30px; border: 1px solid var(--line); background: white; }
.contact-form h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 22px; }
.contact-form label { display: block; font-size: .78rem; font-weight: 700; margin: 15px 0 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #dcd2d0; background: #fffdfa; padding: 12px; border-radius: 0; font: inherit; font-size: .88rem; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.contact-form textarea { resize: vertical; }
.contact-form button { margin-top: 18px; }
.form-note { font-size: .72rem; color: var(--muted); margin: 14px 0 0; }
.site-footer { background: #260b15; color: white; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 38px; }
.footer-brand { color: white; }
.footer-brand .brand-mark { background: transparent; color: var(--gold-light); }
.footer-main > p { max-width: 410px; color: rgba(255,255,255,.65); font-family: var(--serif); font-size: 1rem; margin: 0; }
.back-top { color: var(--gold-light); text-decoration: none; font-size: .8rem; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); font-size: .72rem; color: rgba(255,255,255,.6); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px; }

@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 24px 24px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 15px 25px rgba(40,10,20,.08); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 4px; }
  .primary-nav .nav-give { text-align: center; margin-top: 8px; }
  .welcome-grid, .split-layout, .history-layout, .giving-layout, .contact-layout { gap: 42px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-intro { grid-column: 1 / -1; grid-row: auto; }
  .service-address { grid-column: 1 / -1; }
  .footer-main { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 32px, 560px); }
  .announcement-inner { font-size: .68rem; }
  .brand-copy strong { font-size: 1.1rem; }
  .brand-copy span { font-size: .59rem; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { min-height: 600px; }
  .hero-content { padding-block: 85px 100px; }
  h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .section-pad { padding-block: 66px; }
  .welcome-grid, .split-layout, .history-layout, .giving-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .welcome-grid { gap: 18px; }
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-address { grid-column: auto; }
  .service-intro h2 { font-size: 2.3rem; }
  .church-image { min-height: 320px; }
  .card-grid, .resource-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .section-heading-row { display: block; }
  .section-heading-row > p { margin-top: 12px; }
  .event-placeholder { align-items: flex-start; gap: 16px; padding: 17px; }
  .event-date { width: 65px; min-width: 65px; height: 72px; }
  .event-placeholder h3 { font-size: 1.15rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-placeholder { min-height: 210px; }
  .giving-layout { gap: 25px; }
  .contact-form { padding: 22px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-bottom .container { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
