/* ==========================================================================
   Strong Women International Ministries — Stylesheet
   Sections: Reset, Variables, Base, Layout, Header/Nav, Hero, Scripture,
             Split sections, Values, Manifesto, CTA, Footer, Responsive
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, blockquote, figure { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Variables ---------- */
:root {
  --cream: #FAF6EE;
  --cream-2: #F3ECDE;
  --brown: #2A1B12;
  --brown-2: #4A3423;
  --brown-soft: #6B4E36;
  --gold: #B8892E;
  --gold-2: #8A6A22;
  --gold-light: #E7C878;
  --white: #FFFFFF;

  --font-display: 'Nunito Sans', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  --container-w: 1280px;
  --radius: 4px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-inline: 64px;
}
.container-wide {
  max-width: 1600px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--gold-light); }

.section-title {
  font-size: 42px;
  line-height: 1.2;
  color: var(--brown);
  margin-bottom: 20px;
}

.body-text {
  font-size: 19px;
  line-height: 1.85;
  color: var(--brown-2);
  margin-bottom: 28.8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-brown { background: var(--brown); color: var(--white); padding: 12px 24px; }
.btn-brown:hover { opacity: .88; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-brown { background: transparent; color: var(--brown); border-color: rgba(42,27,18,.3); }
.btn-outline-brown:hover { border-color: var(--brown); }

.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brown);
  border-bottom: 1px solid var(--brown);
  padding-bottom: 4px;
  width: fit-content;
}
.text-link-light { color: var(--gold-light); border-bottom-color: var(--gold-light); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(42,27,18,.08);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(42,27,18,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
}
.brand { position: relative; z-index: 2; display: flex; align-items: center; }
.brand-logo { height: 88px; width: auto; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav-link {
  position: relative;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .2s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

/* ---------- Nav dropdowns ---------- */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  color: var(--brown);
  cursor: pointer;
}
.nav-dropdown-toggle svg { transition: transform .2s ease; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid rgba(42,27,18,.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(42,27,18,.14);
  padding: 8px;
  min-width: 210px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.nav-dropdown-menu a {
  padding: 10px 14px;
  font-size: 15px;
  letter-spacing: .02em;
  border-radius: 4px;
  white-space: nowrap;
  color: var(--brown-2);
}
.nav-dropdown-menu a:hover { background: var(--cream-2); color: var(--brown); }

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 20px;
  }
  .nav-item-dropdown:hover .nav-dropdown-menu { display: flex; }
  .nav-item-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brown);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brown);
  padding: 120px 64px 140px;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSlideshow 18s linear infinite;
  will-change: opacity, transform;
}
.hero-slide:nth-child(2) { animation-delay: -6s; }
.hero-slide:nth-child(3) { animation-delay: -12s; }
@keyframes heroSlideshow {
  0%   { opacity: 0; transform: scale(1); }
  8%   { opacity: 1; }
  38%  { opacity: 1; transform: scale(1.08); }
  46%  { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.75) 100%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: none;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
}
.hero-title {
  position: relative;
  max-width: 900px;
  font-size: 64px;
  line-height: 1.12;
  color: var(--white);
  font-weight: 500;
}
.accent-italic { color: var(--gold); font-style: italic; }
.hero-sub {
  position: relative;
  max-width: 600px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--white);
  font-weight: 300;
}
.hero .btn-row { position: relative; margin-top: 12px; justify-content: center; }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--brown) 0%, #20140D 100%);
  padding: 84px 64px 72px;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,137,46,.16), transparent 60%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.page-hero-title { font-size: 46px; line-height: 1.15; color: var(--white); max-width: 760px; }
.page-hero-title-xl { font-size: 64px; font-weight: 600; }
.page-hero-sub { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 620px; font-weight: 300; }

/* ---------- Scripture band ---------- */
.scripture-band {
  background: var(--gold-light);
  padding: 40px 64px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.scripture-quote {
  max-width: 820px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--brown);
}
.scripture-ref {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

/* ---------- Split sections (Why / Vision) ---------- */
.split-section {
  display: flex;
  gap: 96px;
  align-items: center;
  padding-block: 140px;
}
/* puts the photo on the right on desktop; the <=860px rule below restacks it (photo first) */
.split-section-flip { flex-direction: row-reverse; }
.split-section-reverse .split-media { order: 1; }
.split-section-reverse .split-text { order: 2; }
.split-text, .split-media { flex: 1; }

.placeholder-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.placeholder-media::before {
  content: attr(data-placeholder);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.placeholder-light {
  background: linear-gradient(135deg, var(--cream-2), var(--gold-light));
  border: 1px solid rgba(42,27,18,.12);
}
.placeholder-light::before { color: var(--brown-soft); }
.placeholder-dark {
  background: linear-gradient(135deg, var(--brown-2), var(--brown));
}
.placeholder-dark::before { color: rgba(255,255,255,.55); }

.split-photo {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.7;
  color: var(--brown-2);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 20px;
}

/* ---------- Core Values ---------- */
.values-section {
  background: var(--white);
  padding-block: 140px;
}
.section-heading {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--brown-soft);
  font-weight: 300;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.value-card {
  background: var(--cream);
  border: 1px solid rgba(42,27,18,.08);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42,27,18,.12);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.value-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--brown-soft);
  font-weight: 300;
}

.value-card-empty {
  background: transparent;
  border: 1px dashed rgba(42,27,18,.22);
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--brown-soft);
}
.value-card-empty:hover { transform: none; box-shadow: none; }
.value-empty-text {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Featured value card (values.html) ---------- */
.value-featured {
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 56px 56px;
  margin-bottom: 32px;
  background: var(--brown);
  border-color: var(--brown);
}
.value-featured .value-icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  background: var(--gold);
}
.value-featured .value-icon svg { width: 34px; height: 34px; }
.value-featured .value-title {
  font-family: var(--font-display);
  font-size: 32px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.value-featured .value-text {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  max-width: 620px;
}
.value-featured:hover {
  transform: none;
  box-shadow: 0 24px 48px rgba(42,27,18,.22);
}

/* ---------- Text sections (About page) ---------- */
.text-section { padding-block: 140px; }
.text-section-tight { padding-block: 72px; }
.text-section .container { max-width: 780px; }
.text-section .container-wide { max-width: 1600px; }
.text-section-alt { background: var(--white); }

.bg-brown { background: var(--brown); }
.bg-brown .section-title { color: var(--white); }
.bg-brown .body-text { color: rgba(255,255,255,.72); }
.bg-brown .eyebrow { color: var(--gold-light); }
.bg-brown .pull-quote { color: rgba(255,255,255,.88); }

.section-more { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Manifesto band ---------- */
.manifesto-band {
  background: var(--brown);
  padding: 140px 64px;
}
.manifesto-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.manifesto-title {
  font-size: 38px;
  line-height: 1.3;
  color: var(--white);
  max-width: 760px;
  margin-bottom: 24px;
}
.manifesto-grid {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 64px;
  text-align: left;
  margin-bottom: 24px;
}
.manifesto-grid p {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: rgba(255,255,255,.85);
}
.manifesto-footnote {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  font-weight: 300;
}

/* ---------- CTA ---------- */
.cta-section {
  padding-block: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta-title { font-size: 44px; line-height: 1.2; max-width: 720px; }
.cta-text {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--brown-2);
  font-weight: 300;
}
.cta-section .btn-row { margin-top: 16px; justify-content: center; }

.cta-section-dark {
  background: var(--brown);
  display: block;
}
.cta-section-dark .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta-section-dark .eyebrow { color: var(--gold-light); }
.cta-section-dark .cta-title { color: var(--white); }
.cta-section-dark .cta-text { color: rgba(255,255,255,.72); }

/* ---------- Events ---------- */
.events-section { padding-block: 140px; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.event-card {
  background: var(--white);
  border: 1px solid rgba(42,27,18,.08);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.event-card-placeholder { border-style: dashed; border-color: rgba(42,27,18,.22); }
.event-date {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: var(--radius);
  background: var(--brown);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event-date-month { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.event-date-day { font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.event-title { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.event-meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; font-weight: 700; }
.event-text { font-size: 15px; line-height: 1.7; color: var(--brown-soft); font-weight: 300; margin-bottom: 14px; }

.event-empty-state {
  background: var(--cream-2);
  border: 1px dashed rgba(42,27,18,.22);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  color: var(--brown-soft);
}
.event-empty-state svg { margin: 0 auto 20px; display: block; color: var(--gold-2); }
.event-empty-title { font-family: var(--font-display); font-size: 22px; color: var(--brown); margin-bottom: 10px; }
.event-empty-text { font-size: 15px; line-height: 1.7; max-width: 460px; margin: 0 auto; }

/* ---------- Partner / Get Involved ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.partner-card {
  background: var(--cream);
  border: 1px solid rgba(42,27,18,.08);
  border-radius: var(--radius);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42,27,18,.12); }
.partner-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-title { font-size: 18px; font-weight: 600; }
.partner-text { font-size: 14px; line-height: 1.7; color: var(--brown-soft); font-weight: 300; flex-grow: 1; }
.partner-link {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-2);
  border-bottom: 1px solid var(--gold-2);
  padding-bottom: 3px;
  width: fit-content;
}

/* ---------- Contact ---------- */
.contact-section { padding-block: 140px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; font-weight: 700; }
.contact-info-value { font-size: 15px; color: var(--brown-2); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown-soft); font-weight: 600; }
.form-input, .form-textarea, .form-select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(42,27,18,.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brown);
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B4E36' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}
.form-select:invalid { color: var(--brown-soft); }
.form-note {
  font-size: 14px;
  color: var(--gold-2);
  background: var(--gold-light);
  padding: 14px 18px;
  border-radius: var(--radius);
}
.form-honeypot { display: none !important; }

/* ---------- Event detail (conference recap) ---------- */
.event-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 32px;
  margin-bottom: 28px;
}
.btn svg { flex-shrink: 0; }
.btn-play-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  padding-left: 2px;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover .btn-play-icon { transform: scale(1.12); background: var(--gold-2); }
.video-dialog {
  border: 0;
  padding: 0;
  background: #000;
  border-radius: var(--radius);
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: hidden;
}
.video-dialog::backdrop { background: rgba(0,0,0,.8); }
.video-dialog video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 32px);
  background: #000;
}
.video-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: #fff;
  cursor: pointer;
}
.video-dialog-close:hover { background: var(--gold-2); }
.events-section[id] { scroll-margin-top: 108px; }
.event-card-upcoming { border-color: var(--gold); }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.tag {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-2);
  border: 1px solid rgba(184,137,46,.35);
  border-radius: 999px;
  padding: 8px 18px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  margin-bottom: 0;
}
.gallery-photo {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.conference-gallery-sliders {
  display: grid;
  gap: 20px;
}
.conference-gallery-slider {
  position: relative;
  min-width: 0;
}
.conference-gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}
.conference-gallery-track::-webkit-scrollbar { display: none; }
.conference-gallery-slide {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
.conference-gallery-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  background: rgba(250,246,238,.94);
  border: 1px solid rgba(42,27,18,.12);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(42,27,18,.16);
  z-index: 2;
}
.conference-gallery-control:hover { background: var(--white); }
.conference-gallery-prev { left: 12px; }
.conference-gallery-next { right: 12px; }
.home-conference-strip { padding-bottom: 96px; }
.home-conference-carousel {
  position: relative;
  overflow: hidden;
}
.home-conference-track {
  display: flex;
  gap: 20px;
  transition: transform .65s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.home-conference-slide { flex: 0 0 calc((100% - 60px) / 4); }
.home-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  background: rgba(250,246,238,.94);
  border: 1px solid rgba(42,27,18,.12);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(42,27,18,.16);
  z-index: 2;
}
.home-carousel-control:hover { background: var(--white); }
.home-carousel-prev { left: 12px; }
.home-carousel-next { right: 12px; }

@media (prefers-reduced-motion: reduce) {
  .conference-gallery-track { scroll-behavior: auto; }
  .home-conference-track { transition: none; }
}

/* ---------- Newsletter band ---------- */
.newsletter-band {
  background: var(--gold-light);
  padding: 72px 64px;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-title { font-size: 28px; margin-bottom: 8px; }
.newsletter-text { font-size: 15px; color: var(--brown-2); max-width: 460px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form .form-input { width: 280px; background: var(--white); }
.newsletter-note { flex-basis: 100%; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #000000;
  padding: 80px 64px 40px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
  margin-bottom: 48px;
}
.footer-brand {
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
}
.footer-logo { height: 100px; width: auto; object-fit: contain; flex-shrink: 0; }
.footer-tagline { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.5); font-weight: 300; }

.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; flex: 1; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.footer-col a, .footer-placeholder {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  overflow-wrap: anywhere;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.65);
  transition: border-color .2s ease, color .2s ease;
}
.footer-social a:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.8);
}
.footer-credit { color: rgba(255,255,255,.8); transition: color .2s ease; }
.footer-credit:hover { color: var(--gold-light); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-link { text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
.footer-legal-link:hover { color: var(--gold-light); }

/* ---------- Policy pages (Privacy / Terms) ---------- */
.text-section.policy-page .container {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.policy-page .container > * { margin-bottom: 0; }
.policy-page .policy-section,
.policy-page .policy-highlight,
.policy-page .policy-toc { max-width: none; }
.policy-page .policy-section + .policy-section { margin-top: 0; }
.policy-page .policy-section > :last-child { margin-bottom: 0; }
.policy-meta {
  font-size: 14px;
  color: var(--brown-soft);
  margin-bottom: 48px;
}
.policy-section { max-width: 780px; }
.policy-section + .policy-section { margin-top: 56px; }
.policy-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--brown);
  margin-bottom: 16px;
}
.policy-highlight {
  background: var(--cream-2);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 48px;
  max-width: 780px;
}
.policy-highlight .body-text:last-child { margin-bottom: 0; }
.policy-list {
  list-style: none;
  margin: 0 0 28.8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.policy-list li {
  position: relative;
  padding-left: 28px;
  font-size: 19px;
  line-height: 1.85;
  color: var(--brown-2);
  overflow-wrap: anywhere;
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.policy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  max-width: 780px;
  margin-bottom: 56px;
  padding: 24px 28px;
  border: 1px solid rgba(42,27,18,.1);
  border-radius: var(--radius);
}
.policy-toc a { font-size: 14px; color: var(--gold-2); border-bottom: 1px solid transparent; }
.policy-toc a:hover { border-bottom-color: var(--gold-2); }

/* ---------- Half-padding utilities ----------
   Use on the shared edge of two adjacent sections that have the SAME background,
   so the visual gap between their content matches the gap between sections that
   have different backgrounds (each contributes half instead of a full padding).
   Placed here, after every section's own padding-block rule, so these always win
   regardless of which section class they're paired with (equal specificity — last
   rule in the file wins, and padding-block shorthand would otherwise re-set both
   sides and silently undo an earlier single-side override). */
.pad-top-tight { padding-top: 70px; }
.pad-bottom-tight { padding-bottom: 70px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px), (hover: none) and (pointer: coarse) {
  .nav {
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 108px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 28px 40px 36px;
    overflow-y: auto;
    box-shadow: 0 18px 32px rgba(42,27,18,.16);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-item-dropdown { width: 100%; flex-wrap: wrap; justify-content: space-between; }
  .nav-dropdown-toggle { padding: 4px 8px; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 16px;
    min-width: 0;
  }
  .nav-item-dropdown.is-open .nav-dropdown-menu { display: flex; }
  .nav-item-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
}

.nav-link, .nav .btn { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav { gap: 20px; }
  .nav .btn-brown { padding: 12px 18px; }
}

@media (min-width: 561px) and (max-width: 1100px),
       (min-width: 561px) and (hover: none) and (pointer: coarse) {
  .nav {
    height: 80vh;
    height: min(80dvh, calc(100dvh - 108px));
  }
}

@media (max-width: 1024px) {
  .container { padding-inline: 40px; }
  .hero { padding: 100px 40px 110px; }
  .hero-title { font-size: 48px; }
  .page-hero-title-xl { font-size: 48px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-section { padding-block: 96px; gap: 56px; }
  .values-section { padding-block: 96px; }
  .manifesto-band { padding: 96px 40px; }
  .cta-section { padding-block: 96px; }
  .site-footer { padding: 64px 40px 32px; }
  .page-hero { padding: 72px 40px 60px; }
  .page-hero-title { font-size: 38px; }
  .text-section { padding-block: 80px; }
  .events-section, .contact-section { padding-block: 96px; }
  .contact-grid { gap: 56px; }
  .pad-top-tight { padding-top: 48px; }
  .pad-bottom-tight { padding-bottom: 48px; }
}

@media (max-width: 860px) {
  .footer-inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .split-section, .split-section-reverse {
    flex-direction: column;
  }
  .split-section-reverse .split-media,
  .split-section-reverse .split-text { order: initial; }
  .split-media.placeholder-media { width: 100%; aspect-ratio: 16 / 10; }

  .values-grid { grid-template-columns: 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .value-featured { flex-direction: column; text-align: center; padding: 40px 32px; }
  .value-featured .value-text { max-width: none; }

  .events-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .home-conference-slide { flex-basis: calc((100% - 20px) / 2); }
  .conference-gallery-slide { flex-basis: calc((100% - 20px) / 2); }
  .home-conference-strip { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 24px; }
  .nav { padding-inline: 24px; }
  .hero { padding: 90px 24px 90px; }
  .hero-title { font-size: 36px; }
  .section-title { font-size: 32px; }
  .cta-title { font-size: 32px; }
  .manifesto-title { font-size: 28px; }
  .scripture-band { padding: 32px 24px; }
  .scripture-quote { font-size: 17px; }
  .values-section, .split-section, .cta-section { padding-block: 72px; }
  .manifesto-band { padding: 72px 24px; }
  .site-footer { padding: 56px 24px 28px; }
  .footer-links { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  .page-hero { padding: 64px 24px 52px; }
  .page-hero-title { font-size: 30px; }
  .text-section, .events-section, .contact-section { padding-block: 64px; }
  /* tight utilities must follow the padding-block rule above or it overrides them */
  .pad-top-tight { padding-top: 36px; }
  .pad-bottom-tight { padding-bottom: 36px; }
  .partner-grid { grid-template-columns: 1fr; }
  .event-empty-state { padding: 40px 24px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .conference-gallery-slide { flex-basis: 100%; }
  .home-conference-slide { flex-basis: 100%; }
  .home-conference-strip { padding-bottom: 56px; }
  .newsletter-band { padding: 48px 24px; }
  .newsletter-inner { justify-content: center; text-align: center; }
  .newsletter-form { justify-content: center; width: 100%; }
  .newsletter-form .form-input { width: 100%; }
}

/* very narrow phones: keep full-width buttons on one line (e.g. "Watch The Highlights") */
@media (max-width: 360px) {
  .btn { padding-inline: 18px; letter-spacing: .04em; }
}
