* { box-sizing: border-box; }

:root {
  --sand: #efe1c8;
  --sand-light: #f6ead4;
  --sand-mid: #d6c3a3;
  --green: #204d32;
  --green-soft: #2f5f3f;
  --text: #1a1f18;
  --muted: #5a5f55;
  --line: rgba(0, 0, 0, 0.12);
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-border { border-bottom: 1px solid var(--line); }
.section-pad { padding-top: 64px; padding-bottom: 64px; }

.section-label, .item-date, .band-label {
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-header {
  background: var(--sand-light);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--green-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover { color: var(--green); }

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 0;
  padding-right: 0;
}

.hero-copy { padding: 56px 40px; }

.hero h1 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  font-weight: 500;
}

.hero p {
  max-width: 580px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 19px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-primary { background: var(--green); color: var(--white); }
.button-secondary { border-color: var(--line); }
.button-youtube { border-color: var(--green); color: var(--green); }
.button-light { background: var(--white); color: var(--green); }

.image-panel {
  background: var(--sand-mid);
  min-height: 320px;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image { min-height: 380px; }

.youtube-band {
  background: var(--green);
  color: var(--white);
  border-bottom: 1px solid var(--line);
}

.youtube-inner {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.youtube-band .band-label { color: rgba(255, 255, 255, 0.75); }

.band-title {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.15;
}

.visit { background: var(--sand-light); }

.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-left: 0;
  padding-right: 0;
}

.info-card {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.info-card:last-child { border-right: 0; }

.info-card h2, .feature-copy h2, .livestream-copy h2, .contact-copy h2, .section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.info-card h2 { font-size: 28px; }

.info-card p, .feature-copy p, .livestream-copy p, .contact-copy p {
  color: var(--muted);
}

.leadership { background: var(--sand); }

.feature-grid, .contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid var(--line);
  background: var(--sand-light);
  padding-left: 0;
  padding-right: 0;
}

.leader-image { min-height: 360px; }

.feature-copy { padding: 40px; }

.feature-copy h2 {
  margin-top: 8px;
  font-size: 42px;
  line-height: 1.08;
}

.livestream { background: var(--sand-light); }

.livestream-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border: 1px solid var(--line);
  background: var(--white);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.livestream-copy { padding: 32px; }

.livestream-copy h2, .contact-copy h2 { font-size: 34px; }

.news { background: var(--sand); }

.announcement-list {
  border: 1px solid var(--line);
  background: var(--sand-light);
}

.announcement-list article {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.announcement-list article:last-child { border-bottom: 0; }

.announcement-list h3, .event-grid h3 {
  margin: 6px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.announcement-list p, .event-grid p {
  margin: 0;
  color: var(--muted);
}

.events { background: var(--sand-light); }

.section-title {
  margin-bottom: 24px;
  font-size: 34px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.event-grid article {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.event-grid article:last-child { border-right: 0; }

.contact { background: var(--sand); }

.contact-copy { padding: 32px; }
.map-image { min-height: 260px; }

@media (max-width: 860px) {
  .header-inner { align-items: flex-start; }
  .menu-button { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 82px;
    z-index: 10;
    flex-direction: column;
    gap: 0;
    background: var(--sand-light);
    border: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child { border-bottom: 0; }

  .hero-grid, .feature-grid, .livestream-grid, .contact-grid, .three-column, .event-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy { padding: 42px 24px; }

  .info-card, .event-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-card:last-child, .event-grid article:last-child { border-bottom: 0; }

  .youtube-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .band-title { font-size: 26px; }
  .feature-copy { padding: 30px 24px; }
  .feature-copy h2 { font-size: 34px; }
}	
@media (max-width: 860px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }

  .header-inner {
    display: block;
    min-height: auto;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .brand-title {
    font-size: 26px;
    line-height: 1.1;
  }

  .brand-subtitle {
    font-size: 10px;
    line-height: 1.4;
  }

  .site-nav {
    display: none;
  }

  .hero-grid,
  .feature-grid,
  .livestream-grid,
  .contact-grid,
  .three-column,
  .event-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-copy {
    padding: 44px 22px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.05;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.55;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .image-panel,
  .hero-image,
  .leader-image,
  .map-image {
    min-height: auto;
  }

  .hero-image img,
  .leader-image img,
  .map-image img {
    height: auto;
    width: 100%;
    object-fit: cover;
  }

  .youtube-inner {
    display: block;
  }

  .band-title {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 24px;
  }

  .info-card,
  .event-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-copy,
  .livestream-copy,
  .contact-copy {
    padding: 32px 22px;
  }

  .feature-copy h2,
  .livestream-copy h2,
  .contact-copy h2,
  .section-title {
    font-size: 34px;
    line-height: 1.15;
  }

  .video-card {
    aspect-ratio: auto;
    min-height: 320px;
    width: 100%;
    padding: 28px 22px;
  }

  .video-fallback {
    width: 100%;
  }

  .announcement-list article,
  .event-grid article {
    padding: 24px 22px;
  }
}

@media (max-width: 860px) {
  .livestream-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .livestream-grid > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .video-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 300px !important;
    aspect-ratio: auto !important;
    padding: 28px 22px !important;
  }

  .livestream-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 22px !important;
    overflow-wrap: break-word !important;
  }

  .livestream-copy p,
  .video-fallback p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }
}
@media (max-width: 860px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .livestream,
  .latest-sermon {
    padding: 40px 0;
  }

  .livestream .container,
  .latest-sermon .container {
    width: 100%;
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }

  .livestream-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid var(--line);
    overflow: hidden;
    background: white;
  }

  .video-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 300px !important;
    aspect-ratio: auto !important;
    padding: 34px 28px !important;
  }

  .video-fallback {
    width: 100% !important;
    max-width: 100% !important;
  }

  .video-fallback h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
  }

  .video-fallback p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }

  .video-fallback .button {
    width: auto !important;
    max-width: 100% !important;
  }

  .livestream-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 28px !important;
    background: white;
  }

  .livestream-copy h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  .livestream-copy p {
    font-size: 18px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }
}
