:root {
  --navy: #2c2a4a;
  --slate: #8c93a8;
  --gold: #e1ce7a;
  --ink: #3a3a4a;
  --bg-alt: #f4f5f8;
  --line: #dfe1e8;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 19px/1.65 "Open Sans", Arial, sans-serif; color: var(--ink); background: #fff; }
img, iframe { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: "Open Sans Condensed", "Arial Narrow", sans-serif; font-weight: 700; color: var(--navy); line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); text-align: center; }
h3 { font-size: 1.35rem; }
.center { text-align: center; }
.wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
.narrow { max-width: 780px; }

/* Header: big logo badge hangs below the bar */
.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding-left: 238px; }
.brand { display: flex; align-items: center; text-decoration: none; font-family: "Open Sans Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.35rem; text-transform: uppercase; color: var(--navy); line-height: 1.15; }
.brand-logo { position: absolute; left: 0; top: 10px; width: 214px; height: 214px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 6px 20px rgba(28, 27, 50, .3); background: #000; }
.brand small { display: block; font-family: "Open Sans", Arial, sans-serif; font-weight: 600; font-size: .8rem; text-transform: none; letter-spacing: 0; color: #8a6d14; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 8px 14px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav a:hover { background: var(--bg-alt); }
.menu-toggle { display: none; }

/* Hero: text panel beside the photo, never on top of it */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-areas: "text photo"; min-height: 440px; background: var(--bg-alt); }
.hero-photo { grid-area: photo; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-text { grid-area: text; align-self: center; padding: 160px 48px 56px max(16px, (100vw - 1140px) / 2); }
.hero h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0 0 16px; text-wrap: balance; }
.hero .tagline { color: #8a6d14; font-weight: 700; font-size: 1.3rem; margin: 0 0 12px; }
.hero p { margin: 0; font-size: 1.18rem; line-height: 1.6; }

/* Visit strip */
.visit { background: var(--navy); color: #fff; padding: 28px 0; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr) 2.1fr; gap: 20px; align-items: center; }
.time { border-left: 3px solid var(--gold); padding-left: 14px; font-size: 1.1rem; }
.time span { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.time strong { display: block; }
.visit-actions p { margin: 0 0 10px; }
.address-link { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.address-link:hover { color: var(--gold); }
.visit-actions .button { margin: 0 8px 8px 0; }

/* Buttons */
.button { display: inline-block; padding: 12px 20px; border-radius: var(--radius); background: var(--gold); color: var(--navy); font-weight: 700; text-decoration: none; text-align: center; line-height: 1.3; }
.button:hover { filter: brightness(.95); }
.button-light { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.button small { display: block; font-weight: 400; font-size: .85rem; }
.link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 18px 0 40px; }
.link-row:last-child { margin-bottom: 0; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
/* Schedule section sits on a darkened photo of the sanctuary */
.section-photo { background: linear-gradient(rgba(28, 27, 50, .86), rgba(28, 27, 50, .86)), url("../../images/photo-4.webp") center / cover; color: #e7e8ee; }
.section-photo h2, .section-photo h3, .section-photo strong { color: #fff; }
.section-photo .map iframe { box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
/* Intro and about paragraphs read better centered */
#about .narrow p, .site-footer .narrow > p { text-align: center; }
.sub { text-align: center; color: #5f6680; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: -.6em; }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 36px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 12px; }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }
.schedule p { margin: 0 0 1.2em; }
.schedule h3:not(:first-child) { margin-top: 1.4em; }
.fb-feed { display: flex; justify-content: center; margin: 8px 0 24px; }
.fb-feed .fb-page { width: 500px; max-width: 100%; }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--navy); color: #e7e8ee; padding: 64px 0 32px; }
.site-footer h2 { color: #fff; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; text-align: center; margin: 28px 0; line-height: 2; }
.copyright { text-align: center; font-size: .9rem; color: #b4b9c9; margin: 0; }

/* Tablet */
/* Menu button below 1100px so the nav never wraps */
@media (max-width: 1100px) {
  .visit-grid { grid-template-columns: repeat(3, 1fr); }
  .visit-actions { grid-column: 1 / -1; }
  .menu-toggle { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: 600 .95rem "Open Sans", Arial, sans-serif; color: var(--navy); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
}

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img:first-child { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 18px; }
  .header-inner { min-height: 64px; padding-left: 142px; }
  .brand { font-size: 1.05rem; }
  .brand-logo { top: 6px; width: 130px; height: 130px; border-width: 4px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "photo" "text"; min-height: 0; }
  .hero-photo img { height: auto; aspect-ratio: 1600 / 838; }
  .hero-text { padding: 32px 16px 40px; }
  .visit-grid { grid-template-columns: 1fr; gap: 14px; }
  .visit-actions .button { display: block; margin: 0 0 10px; }
  .section { padding: 52px 0; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .map iframe { height: 300px; }
  .link-row .button { flex: 1 1 100%; }
}
