.internal-page { background: #fff; }
.internal-page .site-header { position: absolute; }
.internal-page .site-header.is-sticky { position: fixed; }

.subpage-hero { position: relative; min-height: 720px; height: 86vh; display: grid; align-items: end; overflow: hidden; color: #fff; background: #0c1116; }
.subpage-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subpage-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,7,10,.3), rgba(3,7,10,.72) 70%, rgba(3,7,10,.9)); }
.subpage-hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 170px 0 85px; }
.breadcrumb { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,.78); font: 700 .75rem "Hanken Grotesk", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumb a:hover { color: #fff; }
.subpage-hero h1 { max-width: 980px; margin: 0; font-size: clamp(68px, 10vw, 142px); line-height: .87; letter-spacing: -.065em; text-transform: uppercase; }
.subpage-hero-meta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 18px 38px; font-size: 14px; }
.subpage-hero-meta span { padding-left: 16px; border-left: 2px solid var(--blue-bright); }

.church-page-intro { background: #fff; }
.church-page-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: start; }
.church-page-copy .lead { margin-top: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.38; letter-spacing: -.025em; }
.church-page-copy > p:not(.lead):not(.eyebrow) { color: var(--muted); }
.church-page-aside { padding: 32px; background: var(--paper); border-top: 4px solid var(--blue); }
.church-page-aside h2 { margin: 0 0 24px; font-size: 25px; }
.quick-facts { margin: 0; }
.quick-facts div { padding: 17px 0; border-top: 1px solid var(--line); }
.quick-facts dt { color: var(--muted); font: 700 .75rem "Hanken Grotesk", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.quick-facts dd { margin: 5px 0 0; font-size: 14px; line-height: 1.65; }
.quick-facts a { text-decoration: underline; text-underline-offset: 3px; }

.first-visit { color: #fff; background: #101214; }
.first-visit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.first-visit h2, .schedule-section h2, .location-section h2, .church-team-copy h2 { margin: 0; font-size: clamp(42px, 5.5vw, 72px); line-height: 1.04; letter-spacing: -.05em; }
.visit-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.16); }
.visit-point { padding: 28px; background: #101214; }
.visit-point span { color: var(--blue-bright); font: 700 .875rem "Hanken Grotesk", sans-serif; }
.visit-point h3 { margin: 35px 0 10px; font-size: 19px; }
.visit-point p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; }

.schedule-section { background: var(--paper); }
.schedule-heading { max-width: 760px; margin-bottom: 48px; }
.schedule-heading > p:last-child { color: var(--muted); }
.weekly-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.weekly-card { min-height: 250px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid var(--line); }
.weekly-card .day { color: var(--blue); font: 700 .75rem "Hanken Grotesk", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.weekly-card h3 { margin: 45px 0 6px; font-size: 24px; }
.weekly-card p { margin: 0; color: var(--muted); font-size: 13px; }

.church-team { background: #fff; }
.church-team-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; }
.church-team-photo { position: relative; overflow: hidden; background: var(--paper); }
.church-team-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 20%; }
.church-team-copy > p:not(.eyebrow) { color: var(--muted); }
.church-team-copy .team-role { margin: 25px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }

.location-section { background: var(--paper); }
.location-page-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7vw; align-items: center; }
.location-page-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow); }
.location-page-copy address { margin: 25px 0; color: var(--muted); font-style: normal; font-size: 18px; }
.location-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.church-contact { color: #fff; background: #16191c; }
.church-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.church-contact h2 { margin: 0 0 18px; font-size: clamp(42px, 5.5vw, 72px); line-height: 1.04; letter-spacing: -.05em; }
.church-contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.66); }
.church-contact .contact-form { align-content: start; }

.other-churches { background: #fff; }
.other-churches-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.other-churches-head h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); letter-spacing: -.045em; }
.other-churches-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.other-church-card { min-height: 210px; padding: 22px; display: flex; align-items: end; position: relative; overflow: hidden; color: #fff; background: #111; }
.other-church-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.other-church-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.other-church-card span { position: relative; z-index: 1; font-weight: 700; }
.other-church-card:hover img { transform: scale(1.04); }

.church-page-note { margin-top: 28px; padding: 14px 18px; color: #6b4e00; background: #fff6d9; font-size: 12px; }

@media (max-width: 980px) {
  .church-page-grid, .church-team-grid, .location-page-grid { gap: 5vw; }
  .weekly-grid { grid-template-columns: 1fr 1fr; }
  .other-churches-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .subpage-hero { min-height: 660px; }
  .subpage-hero-content { width: calc(100% - 36px); padding-bottom: 65px; }
  .subpage-hero h1 { font-size: clamp(62px, 22vw, 96px); }
  .church-page-grid, .first-visit-grid, .church-team-grid, .location-page-grid, .church-contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .visit-points, .weekly-grid { grid-template-columns: 1fr; }
  .church-team-photo { order: 2; }
  .other-churches-head { align-items: flex-start; flex-direction: column; }
  .other-churches-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .other-churches-grid { grid-template-columns: 1fr; }
}
