:root {
  color-scheme: light;
  --paper: #faf8f1;
  --forest: #102f27;
  --green: #143a30;
  --muted: #545b50;
  --rule: #d8d2c4;
  --gold: #f2ce92;
  --serif: "Baskervville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--forest); font-family: var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a55711; outline-offset: 5px; }
[hidden] { display: none !important; }
h1,h2,h3,p { margin: 0; }
.sr,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 5px; left: 5px; z-index: 10; background: white; padding: 10px 20px; }
.page-width,.nav-shell { width: min(89.5%,1320px); margin: 0 auto; }
.masthead { position: relative; z-index: 3; background: #faf8f1; }
.nav-shell { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; display: block; width: 157px; }
.brand img { width: 100%; }
.desktop-nav,.nav-actions,.hero-actions,.visit-actions,.dialog-actions { display: flex; align-items: center; }
.desktop-nav { gap: clamp(22px,3vw,48px); margin-left: auto; margin-right: clamp(12px,2.4vw,45px); }
.desktop-nav a,.visit-button,.button,.invite-link,.text-link,.card-cta,.calendar-foot a,.footer-home { font-weight: 600; }
.desktop-nav a,.visit-button,.button,.invite-link,.text-link { font-size: 14px; }
.desktop-nav a:hover,.footer-home:hover { text-decoration: underline; text-underline-offset: 5px; }
.visit-button,.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 47px; padding: 0 23px; border: 1px solid transparent; border-radius: 3px; }
.visit-button { border-color: #536359; min-height: 41px; padding: 0 17px; }
.visit-button:hover { background: #eaece1; }
.visit-button span,.button span,.invite-link span,.text-link span { font-size: 1.12em; }
.nav-actions { gap: 15px; }
.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: transparent; border: 0; width: 40px; height: 44px; padding: 6px; }
.menu-toggle span { width: 23px; height: 1.5px; background: var(--forest); transition: transform .15s; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
#mobile-menu { position: absolute; top: 100%; left: 0; right: 0; display: grid; background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 10px 20px #001c2021; padding: 10px 5% 16px; }
#mobile-menu a { display: block; padding: 12px 6px; font-size: 15px; }
.hero { isolation: isolate; position: relative; background: #073b2b; color: var(--gold); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(#2872452e,#2872452e),url("assets/botanical-tile.webp"); background-size: 404px 544px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 60% 48%,transparent 20%,#00181842 98%); }
.hero-frame { pointer-events: none; position: absolute; inset: 17px; border: 1px solid #ebc4864a; z-index: 1; }
.hero-frame i { position: absolute; width: 5px; height: 5px; background: #bba06d; transform: rotate(45deg); }
.hero-frame i:nth-child(1){ left: -3px; top: -3px; } .hero-frame i:nth-child(2){ right: -3px; top: -3px; }
.hero-frame i:nth-child(3){ left: -3px; bottom: -3px; } .hero-frame i:nth-child(4){ right: -3px; bottom: -3px; }
.hero-inner { position: relative; width: min(90%,1320px); min-height: clamp(437px,37vw,560px); margin: 0 auto; display: grid; grid-template-columns: 45% 55%; align-items: center; padding: 42px 0; }
.scene { align-self: center; display: grid; place-items: center; }
.scene img { width: min(98%,540px); mask-image: linear-gradient(to bottom,black 92%,transparent 100%); }
.invitation { text-align: center; padding: 7px 0; display: flex; flex-direction: column; align-items: center; }
.season { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .26em; display: flex; align-items: center; gap: 14px; color: #eac890; }
.season span { width: 26px; height: 1px; background: #b39665; }
h1 { width: min(94%,637px); margin: 12px 0 7px; }
h1 img { width: 100%; }
.invitation p { color: #fbefda; text-wrap: balance; font: 400 clamp(18px,1.63vw,25px)/1.32 var(--serif); }
.hero-actions { gap: 28px; margin-top: 25px; }
.gold { background: var(--gold); color: #132e25; border-color: #edc78b; }
.gold:hover { background: #ffdea8; }
.invite-link { display: inline-flex; gap: 10px; align-items: center; border: 0; border-bottom: 1px solid #bdab856f; color: #fbedd0; background: none; min-height: 36px; padding: 1px 0; }
.invite-link:hover { border-bottom-color: var(--gold); }
.gatherings { padding: clamp(48px,4.8vw,79px) 0 clamp(45px,4.5vw,72px); }
.program-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 19px; margin-bottom: 26px; }
h2 { font: 400 clamp(36px,3.85vw,58px)/1.12 var(--serif); letter-spacing: -.045em; }
h2 em { font-weight: 400; }
.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(16px,2vw,33px); }
.event-card { min-width: 0; }
.card-link { height: 100%; display: flex; flex-direction: column; }
.card-photo { position: relative; overflow: hidden; background: #d5c8ac; aspect-ratio: 1.96; border-radius: 3px; }
.card-photo img { height: 100%; width: 100%; object-fit: cover; transition: transform .35s ease; }
.event-card:nth-child(1) img { object-position: center 59%; }
.event-card:nth-child(2) img { object-position: center 45%; }
.event-card:nth-child(3) img { object-position: center 32%; }
.card-link:hover .card-photo img { transform: scale(1.025); }
.date { position: absolute; left: 14px; top: 14px; display: flex; min-width: 49px; align-items: center; flex-direction: column; justify-content: center; background: #fff9ed; padding: 7px 8px 8px; color: #1f382c; box-shadow: 0 1px 7px #17251916; }
.date small { font: 700 9px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.date b { margin-top: 2px; font: 400 23px/1.05 var(--serif); }
.card-body { padding: 20px 0 0; display: flex; flex-direction: column; flex: 1; }
.event-meta { font: 700 10px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .13em; color: #6e593c; }
.event-meta span { padding: 0 3px; }
.card-body h3 { margin: 7px 0 9px; font: 400 clamp(25px,2.22vw,35px)/1.14 var(--serif); letter-spacing: -.035em; }
.card-body p,.visit-details p,.visit-details address,.invite-text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card-body p { max-width: 39ch; }
.card-cta { margin-top: auto; padding-top: 17px; display: flex; align-items: center; gap: 9px; font-size: 13px; }
.card-link:hover .card-cta,.calendar-foot a:hover,.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.calendar-foot { display: flex; align-items: center; gap: 21px; margin-top: 39px; color: #3b4c40; }
.calendar-foot>span { flex: 1; height: 1px; background: var(--rule); }
.calendar-foot a { font-size: 13px; padding: 5px 0; }
.visit-section { background: #edece1; border-block: 1px solid #dad8c9; }
.visit-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 7%; padding-block: 54px; align-items: center; }
.visit-picture img { width: 100%; border-radius: 2px; }
.visit-copy h2 { font-size: clamp(37px,3.6vw,55px); }
.visit-details { display: flex; gap: clamp(25px,3.1vw,60px); margin-block: 22px; }
.visit-details h3 { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.visit-details address { font-style: normal; }
.visit-actions,.dialog-actions { gap: 24px; flex-wrap: wrap; }
.green { color: #f9f6ed; background: var(--green); }
.green:hover { background: #285342; }
.text-link { font-size: 14px; }
.footer-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-inner .brand { width: 127px; }
.footer-home { font-size: 13px; }
dialog { width: min(91vw,465px); border: 1px solid #b9bba9; border-radius: 5px; padding: 27px 28px 23px; background: var(--paper); color: var(--forest); box-shadow: 0 15px 75px #13251a35; }
dialog::backdrop { background: #021814ac; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.dialog-head h2 { font-size: 35px; }
.close { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: transparent; font-size: 22px; }
.invite-text { overflow-wrap: anywhere; }
.dialog-actions { margin-top: 22px; gap: 17px; }
#copy-status { font-size: 13px; margin-top: 12px; }
/* The weekly list gives each gathering date its own row. */
.weekly { margin-top: clamp(34px, 4vw, 60px); }
.weekly h3 { margin-bottom: 15px; font: 400 clamp(26px,2.7vw,39px)/1.18 var(--serif); letter-spacing: -.035em; }
.weekly-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.weekly-list li { display: grid; grid-template-columns: minmax(100px, .75fr) 1.2fr 1.85fr; gap: 20px; align-items: baseline; padding: 15px 5px; border-bottom: 1px solid var(--rule); }
.weekly-list time { font-size: 13px; font-weight: 600; color: #645438; }
.weekly-list strong { font-size: 16px; font-weight: 600; }
.weekly-times { font-size: 15px; color: var(--muted); }
.time-split { margin-inline: 4px; }
.weekly-times [lang] { white-space: nowrap; }

/* Labels keep schedule categories clear without relying on color alone. */
.schedule-note { margin-bottom: 15px; font-size: 14px; color: var(--muted); }
.schedule-label { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.weekly-list .weekly-special { background: #edf3ed; border-inline-start: 4px solid #286043; padding-inline: 12px; }
.weekly-list .weekly-special strong,.weekly-list .weekly-special .weekly-times,.weekly-list .weekly-special time { color: #18422c; }
.weekly-list .weekly-closure { background: #f5eee1; border-inline-start: 4px solid #79521e; padding-inline: 12px; }
.weekly-list .weekly-closure strong,.weekly-list .weekly-closure time { color: #604015; }

.calendar-foot i { width: 1px; height: 15px; background: var(--rule); }
@media (min-width:731px) and (max-width:1050px) {
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 30px; }
}
@media (max-width:650px) {
  .weekly-list li { grid-template-columns: minmax(90px,.75fr) 1.9fr; gap: 3px 12px; padding: 13px 0; }
  .weekly-list time { grid-row: 1 / 3; }
  .weekly-times { grid-column: 2; font-size: 14px; }
  .calendar-foot { flex-wrap: wrap; justify-content: center; gap: 10px 17px; }
  .calendar-foot > span { display: none; }
  .calendar-foot a { text-align: center; }
}
@media (max-width:420px) {
  .weekly-times .time-split { display: none; }
  .weekly-times [lang] { display: block; }
  .calendar-foot { flex-direction: column; }
  .calendar-foot i { display: none; }
}
@media(min-width:1450px) { .wide-break { display:none; } }
@media(max-width:900px) {
  .desktop-nav { gap: 20px; margin-right: 0; }
  .page-width,.nav-shell { width: 91%; }
  .nav-shell { gap: 12px; }
  .brand { width: 135px; }
  .hero-inner { width: 91%; grid-template-columns: 43% 57%; min-height: 405px; }
  .hero-actions { gap: 20px; margin-top: 19px; }
  .hero-actions .button { padding: 0 14px; }
  .card-body p { font-size: 14px; }
  .visit-inner { gap: 5%; }
  .visit-details { gap: 15px; flex-wrap: wrap; }
}
@media(max-width:730px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-shell { min-height: 65px; }
  .brand { width: 132px; }
  .nav-actions { gap: 9px; }
  .visit-button { min-height: 36px; font-size: 12px; gap: 9px; padding-inline: 12px; }
  .hero-frame { inset: 10px; }
  .hero-inner { display: flex; flex-direction: column; min-height: 0; width: 100%; padding: 34px 5.7% 13px; gap: 10px; }
  .invitation { order: -1; width: 100%; padding: 0; }
  .season { font-size: 9px; }
  h1 { width: min(93%,420px); margin: 9px 0 3px; }
  .invitation p { max-width: 31ch; font-size: 18px; line-height: 1.28; }
  .wide-break { display: none; }
  .hero-actions { gap: 22px; margin-top: 16px; }
  .hero-actions .button { min-height: 41px; }
  .hero-actions a,.hero-actions button { font-size: 13px; }
  .scene { width: 100%; }
  .scene img { width: auto; height: clamp(150px,41vw,197px); max-width: 82%; object-fit: contain; }
  .gatherings { padding-top: 36px; }
  .program-heading { margin-bottom: 20px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 18px; }
  .visit-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 36px; }
  .visit-details { gap: 33px; }
  .visit-picture { order: 2; }
  .visit-picture img { max-height: 275px; object-fit: cover; }
}
@media(max-width:540px) {
  .page-width,.nav-shell { width: 90%; }
  .program-heading { display: block; }
  .program-heading h2 { font-size: clamp(31px,8.4vw,42px); }
  .cards { grid-template-columns: 1fr; row-gap: 28px; }
  .card-photo { aspect-ratio: 2.03; }
  .card-body { padding-top: 14px; }
  .card-body h3 { font-size: 29px; margin: 5px 0 7px; }
  .card-body p { font-size: 15px; }
  .card-cta { padding-top: 11px; }
  .calendar-foot { margin-top: 27px; }
  .visit-details { flex-wrap: wrap; gap: 21px; }
  .visit-details p,.visit-details address { font-size: 14px; }
  .footer-inner .brand { width: 105px; }
  .footer-home { font-size: 12px; }
}
@media(max-width:350px) {
  .brand { width: 112px; }
  .nav-actions { gap: 2px; }
  .hero-actions { gap: 13px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; }
}
.external-arrow { position: relative; display: inline-block; width: .72em; height: .72em; vertical-align: .02em; color: currentColor; }
.external-arrow::before { content: ""; position: absolute; right: 0; top: 0; width: 68%; height: 68%; border-top: 1.4px solid currentColor; border-right: 1.4px solid currentColor; }
.external-arrow::after { content: ""; position: absolute; left: 0; right: 1px; top: 1px; height: 1.4px; background: currentColor; transform-origin: right center; transform: rotate(-45deg); }

.questions-section { max-width: 980px; padding-block: clamp(40px,5vw,70px); }
.questions-intro { margin: 14px 0 22px; color: var(--muted); line-height: 1.5; }
.questions-frame { width: 100%; border: 0; display: block; background: var(--paper); }

/* Christmas schedule photo rows: preserve each supplied photo’s full frame. */
.christmas-photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: clamp(34px, 4vw, 60px) 0 0; list-style: none; }
.christmas-photo-row li { min-width: 0; }
.christmas-photo-row img { display: block; width: 100%; height: auto; border-radius: 2px; }
@media (max-width: 600px) { .christmas-photo-row { grid-template-columns: 1fr; gap: 16px; } }
