:root {
  --bg: #f6f2ea;
  --paper: #fffaf2;
  --ink: #24211d;
  --muted: #6d6255;
  --gold: #b88a3b;
  --deep: #17324d;
  --deep-2: #0d2438;
  --border: rgba(36, 33, 29, 0.12);
  --shadow: 0 18px 50px rgba(23, 50, 77, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  color: var(--paper); font-size: 25px; font-weight: 800;
  box-shadow: var(--shadow);
}
.brand-title { font-size: 21px; font-weight: 800; color: var(--deep); }
.brand-subtitle { font-size: 20px; color: var(--muted); }
.main-nav { display: flex; gap: 18px; font-size: 20px; color: var(--deep); }
.main-nav a:hover { color: var(--gold); }
.hero {
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at 15% 10%, rgba(184, 138, 59, 0.18), transparent 34%),
    linear-gradient(145deg, #fffaf2 0%, #f4eadb 55%, #e9dcc8 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 42px; align-items: center; }
.eyebrow, .section-title span {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
h1 { font-size: clamp(42px, 7vw, 82px); line-height: 1; margin: 0 0 18px; color: var(--deep); }
.lead { font-size: 22px; color: var(--muted); max-width: 650px; margin: 0 0 28px; white-space: pre-line; }
.hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; border: 1px solid transparent;
}
.btn.primary { background: var(--deep); color: white; }
.btn.secondary { background: transparent; border-color: var(--deep); color: var(--deep); }
.btn:hover { transform: translateY(-1px); }
.hero-card, .quote-card, .contact-card {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.hero-card { min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
.hero-card-media {
  padding: 0;
  justify-content: stretch;
  min-height: 0;
}
.hero-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  border-radius: 28px;
  overflow: hidden;
  background: #efe4d4;
}
.hero-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.section { padding: 72px 0; }
.section.alt { background: #efe4d4; }
.rotator-section { background: #fffaf2; }
.rotator-frame {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 26px rgba(23, 50, 77, 0.08);
  background: #000;
}
.rotator-stage {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.rotator-stage iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  border: 0;
  transform-origin: 0 0;
}
.section-title { margin-bottom: 28px; }
.section-title h2 { margin: 0; color: var(--deep); font-size: 38px; line-height: 1.15; }
.about-title-secondary {
  margin: 8px 0 0;
  color: var(--deep);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}
.section-title.compact { margin-bottom: 18px; }
.times-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.time-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: 22px; padding: 24px; box-shadow: 0 8px 26px rgba(23,50,77,.08);
  text-align: center;
}
.time-card span { color: var(--muted); display: block; margin-bottom: 8px; font-size: 20px; }
.time-card strong { color: var(--deep); font-size: 28px; display: block; }
.time-card .time-note {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  line-height: 1.5;
}
.note { color: var(--muted); margin-top: 18px; }
.announcement-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.announcement-list article {
  background: var(--paper); border-radius: 22px; border: 1px solid var(--border); padding: 24px;
}
.announcement-list h3 { margin: 0 0 8px; color: var(--deep); font-size: 20px; }
.announcement-list p { margin: 0; color: var(--muted); font-size: 20px; }
.about-box, .contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.about-box [data-cms="about-paragraphs"] p, .contact-section p { color: var(--muted); font-size: 18px; }
.contact-section [data-cms="contact-text"] { white-space: pre-line; }
.quote-card { background: var(--deep); color: white; font-weight: 800; }
.quote-card p { margin: 0; color: white; font-size: 22px; white-space: pre-line; }
.contact-section { background: #fffaf2; }
.contact-card h3 { margin: 0 0 12px; color: var(--deep); }
.contact-card p { margin: 8px 0; }
.contact-map-wrap { margin-top: 40px; }
.contact-map-title {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: 24px;
}
.contact-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 26px rgba(23, 50, 77, 0.08);
  background: var(--paper);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.contact-map-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--deep);
  font-weight: 800;
}
.contact-map-link:hover { color: var(--gold); }
.site-footer { background: var(--deep-2); color: rgba(255,255,255,.82); padding: 24px 0; }
.site-footer a { color: var(--gold); font-weight: 700; }
.site-footer a:hover { color: #fff; }
.footer-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 840px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .main-nav { flex-wrap: wrap; gap: 12px; }
  .section-title { margin-bottom: 20px; }
  .section-title h2 { font-size: 26px; line-height: 1.2; }
  .about-title-secondary { font-size: 22px; }
  .contact-map-title { font-size: 20px; }
  .hero-grid, .about-box, .contact-grid { grid-template-columns: 1fr; }
  .times-grid, .announcement-list { grid-template-columns: 1fr; }
  .hero { padding: 52px 0; }
  .section { padding: 50px 0; }
  .hero-card { min-height: 0; }
  .hero-card-photo {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }
  .hero-card-photo img {
    min-height: 220px;
    max-height: none;
  }
  .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 10px 8px;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
    border-radius: 18px;
  }
}
