@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-500i.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-600i.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-600.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/cormorant-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/source-400i.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/source-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/source-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/source-600.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/source-700.woff2) format('woff2');
}

/* Union Baptist Church — Florien, Louisiana
   Palette sampled from the church seal: navy #001C48, gold #B68635, warm ivory. */

:root {
  --navy: #001C48;
  --navy-deep: #000C28;
  --navy-mid: #0A2A5C;
  --navy-soft: #17345F;
  --gold: #B68635;
  --gold-bright: #C9A04A;
  --gold-dim: #8F6A28;
  --ivory: #F6F1E6;
  --ivory-dark: #EBE4D4;
  --sand: #E4DAC6;
  --ink: #1C1A16;
  --muted: #5A554C;
  --line: rgba(182, 134, 53, 0.55);
  --white: #FFFdf8;
  --header-h: 88px;
  --times-h: 116px;
  --shadow: 0 18px 40px rgba(0, 12, 40, 0.12);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
label {
  font-family: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold-rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0.9rem 0 1.1rem;
}

.gold-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 241, 230, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(182, 134, 53, 0.28);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.brand-text span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav a {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

.nav a:not(.btn):hover {
  color: var(--gold-dim);
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(246, 241, 230, 0.7);
}

.btn-ghost:hover {
  background: rgba(246, 241, 230, 0.1);
  border-color: var(--gold-bright);
  color: var(--ivory);
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
}

.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--ivory);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--times-h));
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 12, 40, 0.82) 0%, rgba(0, 28, 72, 0.55) 42%, rgba(0, 28, 72, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 12, 40, 0.28) 0%, rgba(0, 12, 40, 0.12) 40%, rgba(0, 12, 40, 0.72) 100%);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 5.5rem 0 4.25rem;
  max-width: 720px;
  margin-left: max(24px, calc((100% - 1180px) / 2));
}

.hero .eyebrow {
  color: var(--gold-bright);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0.85rem 0 1rem;
  color: #FBF6EB;
}

.hero .lede {
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(246, 241, 230, 0.88);
  max-width: 28em;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.play-icon {
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.play-icon svg {
  width: 7px;
  height: 7px;
  margin-left: 1px;
  fill: currentColor;
}

/* ---------- Service times ---------- */
.times {
  background: var(--navy);
  color: var(--ivory);
  min-height: var(--times-h);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid rgba(182, 134, 53, 0.35);
}

.times-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.time-item {
  padding: 1.35rem 1.1rem 1.4rem;
  text-align: center;
  position: relative;
}

.time-item + .time-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(182, 134, 53, 0.35);
}

.time-item .label {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 2.5em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.72);
  margin-bottom: 0.3rem;
  text-align: center;
  line-height: 1.25;
}

.time-item .when {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ---------- Stand on ---------- */
.stand {
  background: var(--ivory);
  padding: 5.25rem 0 5rem;
  text-align: center;
}

.stand h2,
.visit-copy h2,
.events h2,
.pastor-copy h2,
.contact-copy h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  color: var(--navy);
  line-height: 1.1;
}

.stand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stand-item {
  padding: 2.1rem 1.6rem 2rem;
}

.stand-item + .stand-item {
  border-left: 1px solid var(--line);
}

.stand-item p {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  color: var(--navy);
  line-height: 1.2;
}

.stand-kjv {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold-dim);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stand-kjv::before,
.stand-kjv::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Plan a visit ---------- */
.plan {
  background: var(--navy);
  color: var(--ivory);
  padding: 5.25rem 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.visit-copy h2 {
  color: var(--ivory);
}

.visit-copy .gold-rule {
  background: var(--gold-bright);
}

.visit-copy .intro {
  font-size: 1.12rem;
  color: rgba(246, 241, 230, 0.86);
  max-width: 26em;
  margin-bottom: 1.15rem;
}

.welcome-note {
  font-size: 1rem;
  color: var(--gold-bright);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}

.visit-form {
  background: var(--ivory);
  color: var(--ink);
  padding: 2.1rem 2rem 2rem;
  box-shadow: var(--shadow);
}

.visit-form .form-title {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.field input,
.field select {
  width: 100%;
  height: 46px;
  padding: 0 0.85rem;
  border: 1px solid rgba(0, 28, 72, 0.2);
  background: #FFFdf8;
  color: var(--ink);
  font-size: 1rem;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
}

.visit-form .btn {
  width: 100%;
  margin-top: 0.5rem;
  height: 50px;
}

/* ---------- Events ---------- */
.events {
  background: var(--ivory-dark);
  padding: 5.25rem 0 5rem;
}

.events-intro {
  text-align: center;
  max-width: 34em;
  margin: 0 auto 2.4rem;
}

.events-intro p {
  color: var(--muted);
  font-size: 1.02rem;
}

#events-grid,
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.event-card {
  background: var(--ivory);
  border: 1px solid rgba(182, 134, 53, 0.28);
  padding: 1.5rem 1.4rem 1.55rem;
  min-height: 180px;
}

.event-card-flag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid var(--line);
  padding: 0.18rem 0.5rem;
  margin-bottom: 0.9rem;
}

.event-card-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.event-card-date {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.65rem;
}

.event-card-desc {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Pastor ---------- */
.pastor {
  background: var(--ivory);
  padding: 5.25rem 0;
}

.pastor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.pastor-photo {
  position: relative;
  padding: 0 14px 14px 0;
}

.pastor-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  border: 1px solid rgba(182, 134, 53, 0.4);
  position: relative;
  z-index: 1;
  background: var(--sand);
}

.pastor-photo::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 0;
  left: 14px;
  border: 1px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}

.pastor-copy .intro {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 28em;
  margin-bottom: 1.5rem;
}

.pastor-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-dim);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

/* ---------- Contact / map ---------- */
.contact {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 5.25rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.25rem;
  align-items: stretch;
}

.contact-copy h2 {
  color: var(--ivory);
}

.contact-list {
  list-style: none;
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
}

.contact-list .k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.contact-list a,
.contact-list span {
  color: var(--ivory);
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.contact-list a:hover {
  color: var(--gold-bright);
}

.map-block {
  position: relative;
  min-height: 320px;
  width: 100%;
  max-width: 100%;
  background:
    linear-gradient(180deg, rgba(0, 28, 72, 0.15), rgba(0, 12, 40, 0.2)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 27px,
      rgba(182, 134, 53, 0.09) 28px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 27px,
      rgba(182, 134, 53, 0.09) 28px
    ),
    #0C2348;
  border: 1px solid rgba(182, 134, 53, 0.4);
  overflow: hidden;
}

.map-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(182, 134, 53, 0.45);
  padding: 0.28rem 0.55rem;
  background: rgba(0, 12, 40, 0.65);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  text-align: center;
  width: 220px;
}

.pin-mark {
  width: 18px;
  height: 18px;
  margin: 0 auto 0.7rem;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(182, 134, 53, 0.18);
}

.pin-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--navy);
  border-radius: 50%;
}

.map-pin p {
  font-size: 0.95rem;
  color: var(--ivory);
  line-height: 1.45;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000817;
  color: var(--ivory);
  padding: 2.6rem 0 2.2rem;
  border-top: 1px solid rgba(182, 134, 53, 0.35);
  text-align: center;
}

.site-footer img {
  width: 86px;
  height: 86px;
  margin: 0 auto 1.1rem;
}

.verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(246, 241, 230, 0.9);
  max-width: 28em;
  margin: 0 auto 0.35rem;
  line-height: 1.4;
}

.verse cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.copyright {
  margin-top: 1.3rem;
  font-size: 0.82rem;
  color: rgba(246, 241, 230, 0.55);
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root {
    --header-h: 76px;
    --times-h: auto;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.25rem;
    gap: 0.85rem;
  }

  .nav.open {
    display: flex;
  }

  .nav .btn {
    width: 100%;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-inner {
    margin-left: auto;
    padding: 4.5rem 0 3.25rem;
  }

  .times-grid,
  .stand-grid,
  .plan-grid,
  .events-grid,
  #events-grid,
  .pastor-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .times-grid {
    grid-template-columns: 1fr 1fr;
  }

  .time-item + .time-item::before {
    display: none;
  }

  .time-item {
    border-bottom: 1px solid rgba(182, 134, 53, 0.2);
  }

  .stand-item + .stand-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .plan-grid,
  .pastor-grid,
  .contact-grid {
    gap: 2rem;
  }

  .pastor-photo {
    padding: 0;
  }
}

@media (max-width: 560px) {
  .wrap,
  .hero-inner {
    width: calc(100% - 32px);
  }

  .brand-text strong {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero .eyebrow {
    letter-spacing: 0.16em;
  }

  .hero .eyebrow .est {
    display: block;
    margin-top: 0.4em;
  }

  .times-grid {
    grid-template-columns: 1fr 1fr;
  }

  .visit-form {
    padding: 1.5rem 1.2rem;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .pastor-photo {
    padding: 0;
  }
}

/* building photo beside Plan Your Visit */
.visit-photo{margin:1.8rem 0 0;position:relative;padding:0 12px 12px 0}
.visit-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border:1px solid rgba(214,170,90,.5);position:relative;z-index:1}
.visit-photo::after{content:"";position:absolute;top:12px;left:12px;right:0;bottom:0;border:1px solid var(--gold-bright);z-index:0}
.plan-grid{align-items:start}

/* large seal in What we stand on */
.stand-seal{margin:2.4rem auto 0;width:min(420px,78vw)}
.stand-seal img{display:block;width:100%;height:auto;filter:drop-shadow(0 18px 30px rgba(0,28,72,.18))}

/* =====================================================================
   Production additions (kept to the approved look)
   ===================================================================== */
:root { --gold-dim: #7C5B1E; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .nav a::after { transition: none !important; } }
.site-header .brand-text span { color: var(--gold-dim); }

/* accessibility */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--ivory); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.nav a[aria-current="page"]:not(.btn) { color: var(--navy); }
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hero: poster image under looping video, both beneath the navy tint */
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% 30%; }
.hero-media video { opacity: 0; transition: opacity .8s ease; }
.hero-media video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } }
.hero-inner { padding-bottom: 4.25rem; }

/* three blocks are links to the matching belief */
.stand-item p a { color: inherit; display: block; }
.stand-item p a:hover { color: var(--gold-dim); }
.stand-item .stand-sub { margin-top: .5rem; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dim); }
.stand-more { margin-top: 2rem; }
.stand-kjv { margin-top: 2rem; }

/* interior page heading */
.page-head { background: var(--navy); color: var(--ivory); padding: 4.2rem 0 3.6rem; border-bottom: 1px solid var(--gold); }
.page-head .eyebrow { color: var(--gold-bright); }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.015em; margin: .7rem 0 0; color: #FBF6EB; }
.page-head .gold-rule { background: var(--gold-bright); }
.page-head .lede { font-size: 1.15rem; color: rgba(246,241,230,.88); max-width: 34em; }

.section { padding: 4.5rem 0; }
.section.alt { background: var(--ivory-dark); }
.prose { max-width: 44rem; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--navy); line-height: 1.12; }
.prose p { margin-top: 1rem; }
.prose p:first-child { margin-top: 0; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-dim); }
.verse-line { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--navy); }

/* beliefs */
.beliefs-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.beliefs-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .92rem; }
.beliefs-toc p { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: .6rem; }
.beliefs-toc ol { list-style: none; border-left: 1px solid var(--line); }
.beliefs-toc a { display: block; padding: .28rem 0 .28rem .9rem; color: var(--navy); }
.beliefs-toc a:hover { color: var(--gold-dim); }
.belief { padding: 2rem 0; border-top: 1px solid var(--line); }
.belief:first-child { border-top: 0; padding-top: 0; }
.belief h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--navy); line-height: 1.15; }
.belief p { margin-top: .8rem; max-width: 44rem; }
.belief .refs { font-style: italic; color: var(--muted); font-size: .98rem; }
.belief:target h2 { color: var(--gold-dim); }

/* pastor / about */
.about-pastor { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.about-pastor .pastor-photo { max-width: 420px; }
.about-pastor h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.2vw, 2.7rem); color: var(--navy); line-height: 1.1; }
.about-pastor .role { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--gold-dim); letter-spacing: .04em; margin-bottom: 1rem; }
.about-pastor p + p { margin-top: 1rem; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 2.2rem; }
.mission-grid > div { padding: 1.6rem 1.4rem; }
.mission-grid > div + div { border-left: 1px solid var(--line); }
.mission-grid h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); font-weight: 600; margin-bottom: .4rem; }

/* times list (Plan a visit / Events) */
.times-list { list-style: none; border-top: 1px solid rgba(182,134,53,.4); }
.times-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(182,134,53,.4); }
.times-list .t-name { font-weight: 600; letter-spacing: .04em; }
.times-list .t-when { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--gold-dim); white-space: nowrap; }
.plan .times-list { border-color: rgba(201,160,74,.45); }
.plan .times-list li { border-color: rgba(201,160,74,.45); }
.plan .times-list .t-when { color: var(--gold-bright); }
.call-line { margin-top: 1.4rem; font-size: 1.05rem; color: rgba(246,241,230,.9); }
.call-line a { color: var(--gold-bright); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.plan .intro + .intro { margin-top: .9rem; }
.plan .visit-copy .intro { max-width: 30em; }
.plan-page .plan-grid { align-items: start; }
.plan-page h2.h2-light { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3vw, 2.6rem); color: var(--ivory); line-height: 1.1; }
.address-block { margin-top: 1.6rem; color: rgba(246,241,230,.9); }
.address-block strong { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: .2rem; }
.address-block a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

/* form */
.field textarea { width: 100%; min-height: 96px; padding: .7rem .85rem; border: 1px solid rgba(0,28,72,.2); background: #FFFdf8; color: var(--ink); font-size: 1rem; line-height: 1.5; resize: vertical; }
.field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field .opt { font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field input, .field select { font-size: 1rem; }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-left: 4px solid var(--gold); background: #fff8e8; color: var(--navy); font-size: 1rem; }
.form-status[hidden] { display: none; }
.form-status.is-error { border-left-color: #8a1c1c; background: #fdf0ee; color: #5c1111; }
.form-status a { text-decoration: underline; font-weight: 700; }
.form-note { margin-top: .9rem; font-size: .9rem; color: var(--muted); }
.form-note a { color: var(--navy); text-decoration: underline; }
.visit-form .btn[disabled] { opacity: .65; cursor: wait; }
.visit-form .btn { font-size: .85rem; }

/* events */
.events-empty { grid-column: 1 / -1; text-align: center; max-width: 36rem; margin: 0 auto; padding: 2.2rem 1.5rem; background: var(--ivory); border: 1px solid rgba(182,134,53,.28); }
.events-empty h3 { font-family: var(--serif); color: var(--navy); font-size: 1.6rem; margin-bottom: .4rem; }
.events .event-card-flag { display: none; }
.events-intro p { color: var(--muted); }
.event-card-time { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }

/* contact */
.contact-page .contact-grid { align-items: start; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn-light-ghost { background: transparent; color: var(--ivory); border-color: rgba(246,241,230,.7); }
.btn-light-ghost:hover { background: rgba(246,241,230,.1); border-color: var(--gold-bright); color: var(--ivory); }
a.map-block { display: block; color: var(--ivory); }
a.map-block:hover .pin-mark { box-shadow: 0 0 0 10px rgba(182,134,53,.28); }
.map-cta { display: inline-block; margin-top: .9rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); border-bottom: 1px solid var(--gold-bright); padding-bottom: 2px; }
.map-label { color: var(--gold-bright); }
.contact .eyebrow { color: var(--gold-bright); }
.contact-list .k { color: var(--gold-bright); }

/* footer */
.site-footer { text-align: left; padding: 3.2rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer-brand { text-align: center; }
.footer-brand img { margin: 0 auto 1rem; }
.site-footer h2 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: .8rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin: .3rem 0; font-size: .98rem; color: rgba(246,241,230,.9); }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer .verse { margin: 0 auto; }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(182,134,53,.25); text-align: center; }
.footer-bottom .copyright { margin-top: .9rem; }
.footer-bottom .verse { margin-bottom: .2rem; }
.footer-times li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-times span:last-child { color: var(--gold-bright); white-space: nowrap; }

/* 404 */
.notfound { text-align: center; padding: 6rem 0 7rem; }
.notfound img { width: 130px; height: 130px; margin: 0 auto 1.5rem; }
.notfound h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--navy); line-height: 1.05; }
.notfound p { margin: 1rem auto 1.8rem; max-width: 30em; color: var(--muted); }
.notfound .btn + .btn { margin-left: .6rem; }

@media (max-width: 980px) {
  .beliefs-layout, .about-pastor { grid-template-columns: 1fr; gap: 2rem; }
  .beliefs-toc { position: static; }
  .beliefs-toc ol { display: flex; flex-wrap: wrap; border-left: 0; gap: .2rem .4rem; }
  .beliefs-toc a { padding: .35rem .7rem; border: 1px solid var(--line); font-size: .85rem; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-times li { max-width: 22rem; margin-left: auto; margin-right: auto; }
  .page-head { padding: 3rem 0 2.6rem; }
  .section { padding: 3.2rem 0; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .times-list li { flex-direction: column; gap: .1rem; }
  .notfound .btn + .btn { margin: .6rem 0 0; }
}
@media print { .site-header, .site-footer, .hero-media video { display: none; } }
.visit-photo img{height:auto}
.footer-brand img{height:86px}
textarea{font-family:inherit}

/* sermons CTA */
.hero-sub { margin-top: 1.1rem; font-size: .95rem; }
.hero-sub a { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold-bright); text-underline-offset: 4px; font-weight: 600; letter-spacing: .02em; }
.hero-sub a:hover { color: var(--gold-bright); }
.pastor-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
@media (max-width: 1080px) and (min-width: 981px) { .nav { gap: 1rem; } .nav a { font-size: .78rem; } }

/* hero focus + text legibility over the bright sanctuary footage on small screens */
@media (max-width: 700px) {
  .hero-media img, .hero-media video { object-position: 56% 30%; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 12, 40, 0.84) 0%, rgba(0, 28, 72, 0.66) 55%, rgba(0, 28, 72, 0.38) 100%),
      linear-gradient(180deg, rgba(0, 12, 40, 0.30) 0%, rgba(0, 12, 40, 0.18) 40%, rgba(0, 12, 40, 0.74) 100%);
  }
}
