/* ============================================================
   Freedom Road Ministries — styles.css
   Color System (intentional & symbolic):
     Israeli Blue  (#0038B8) — headings / authority / covenant
     Forest Green  (#2D6A4F) — subheadings / land / scripture
     Rust Brown    (#8B5E3C) — accents / Jerusalem stone / history
     Red           (#B22222) — scripture emphasis / fulfilled prophecy
     Cream         (#F6F1E6) — page background (warm, welcoming)
     Slate Blue    (#4A6886) — nav / UI elements
     Deep Blue     (#203A56) — header / footer
============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --israeli-blue:   #0038B8;
  --forest-green:   #2D6A4F;
  --rust-brown:     #8B5E3C;
  --red-emphasis:   #B22222;
  --cream:          #F6F1E6;
  --cream-dark:     #EDE4D0;
  --sand:           #D8C7A8;
  --white:          #FFFFFF;
  --slate-blue:     #4A6886;
  --deep-blue:      #203A56;
  --shale:          #4B4F55;
  --granite:        #2E3136;
  --shadow:         0 8px 28px rgba(0,0,0,.10);
  --shadow-sm:      0 4px 14px rgba(0,0,0,.07);
  --radius:         14px;
  --radius-sm:      8px;
  --maxw:           1120px;
  --font-serif:     'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:      'Source Sans 3', system-ui, -apple-system, Arial, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--granite);
  background-color: var(--cream);
}

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

a { color: var(--israeli-blue); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--deep-blue); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: clamp(26px, 3.5vw, 44px); color: var(--deep-blue); }
h2 { font-size: clamp(22px, 2.8vw, 36px); color: var(--israeli-blue); margin-bottom: 14px; }
h3 { font-size: clamp(18px, 2vw, 26px); color: var(--forest-green); margin-bottom: 10px; }
h4 { font-size: 18px; color: var(--rust-brown); margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--shale); }
p:last-child { margin-bottom: 0; }

.text-emphasis { color: var(--red-emphasis); font-weight: 600; }
.scripture {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--deep-blue);
  border-left: 4px solid var(--israeli-blue);
  padding: 12px 18px;
  margin: 18px 0;
  background: rgba(0,56,184,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.scripture .ref {
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--rust-brown);
  margin-top: 8px;
}
.scripture-red {
  border-left-color: var(--red-emphasis);
  background: rgba(178,34,34,.05);
  color: var(--red-emphasis);
}

/* ── Layout ── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 48px 0; }
.section-sm { padding: 28px 0; }
.section-lg { padding: 72px 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-6  { grid-column: span 6; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

/* ── Cards ── */
.card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(32,58,86,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.card-stone {
  background: linear-gradient(135deg, #EDE4D0, #E4D8C0);
  border-color: rgba(139,94,60,.20);
}
.card-blue {
  background: linear-gradient(135deg, rgba(0,56,184,.06), rgba(0,56,184,.02));
  border-color: rgba(0,56,184,.18);
}

hr.soft {
  border: 0;
  border-top: 1px solid rgba(32,58,86,.12);
  margin: 20px 0;
}
hr.stone {
  border-top-color: rgba(139,94,60,.22);
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 18px;
  top: 18px;
  width: auto;
  height: auto;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 3000;
}

/* ── HEADER / NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(32,58,86,.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(0,56,184,.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none !important;
}
.brand-mark {
  width: 5px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0038B8, #B22222);
  margin-top: 2px;
  flex-shrink: 0;
}
.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
  color: var(--white);
  letter-spacing: .3px;
}
.brand-text small {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  margin-top: 4px;
  font-family: var(--font-sans);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--white);
  font: inherit;
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a, .nav > button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, color .18s;
  text-decoration: none;
}
.nav a:hover, .nav > button:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  text-decoration: none;
  border-color: rgba(255,255,255,.15);
}
.nav a.active {
  background: rgba(0,56,184,.45);
  color: var(--white);
  border-color: rgba(0,56,184,.55);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  background: var(--deep-blue);
  border: 1px solid rgba(0,56,184,.30);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 200;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.82);
  font-size: 14px;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background: rgba(0,56,184,.40);
  color: var(--white);
  text-decoration: none;
}
.dropdown-menu hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 6px 0;
}

/* ── HERO / Homepage ── */
.bg-stage {
  position: relative;
  background: var(--deep-blue);
}
.bg-stage-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  height: clamp(960px, 145vh, 1700px);
  overflow: hidden;
}
.bg-portrait {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  height: 100%;
  object-fit: contain;
  object-position: top center;
  z-index: 0;
}
.bg-stage-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246,241,230,.04) 0%, rgba(32,58,86,.30) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-overlay-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 60px 20px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  max-width: var(--maxw);
}
.hero-card {
  background: rgba(32,58,86,.88);
  border: 1px solid rgba(0,56,184,.30);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(0,0,0,.22);
  padding: 22px;
  backdrop-filter: blur(10px);
  color: var(--white);
}
.hero-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 38px);
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.1;
}
.hero-card p { color: rgba(255,255,255,.80); margin-bottom: 14px; }
.hero-card h3 { font-size: 18px; color: rgba(255,255,255,.90); margin-bottom: 10px; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.80);
  font-size: 12px;
  font-family: var(--font-sans);
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--sand);
}
.pill.blue .dot { background: #5B9BD5; }
.pill.red .dot { background: var(--red-emphasis); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(32,58,86,.20);
  background: var(--white);
  color: var(--deep-blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: filter .18s;
}
.btn:hover { filter: brightness(.96); text-decoration: none; }
.btn.primary {
  background: var(--israeli-blue);
  color: var(--white);
  border-color: transparent;
}
.btn.secondary {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.btn.secondary:hover { background: rgba(255,255,255,.20); }

/* ── PAGE HEADER BAND ── */
.page-header {
  background: linear-gradient(135deg, var(--deep-blue), #2A4A70);
  padding: 52px 0 42px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.page-header p {
  color: rgba(255,255,255,.72);
  max-width: 68ch;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  font-size: 17px;
}
.page-header .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.50);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.page-header .breadcrumb a { color: rgba(255,255,255,.60); text-decoration: none; }

/* ── SECTION DIVIDER LABELS ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rust-brown);
  margin-bottom: 8px;
}
.section-label.blue { color: var(--israeli-blue); }
.section-label.green { color: var(--forest-green); }

/* ── FEATURE IMAGE PLACEHOLDER ── */
.img-placeholder {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #D4C5A9, #C8B89A);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  border: 2px dashed rgba(139,94,60,.30);
  color: var(--rust-brown);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  gap: 8px;
}
.img-placeholder svg { opacity: .40; }
.img-placeholder em { font-style: normal; font-weight: 600; font-size: 14px; }

/* ── ANCHOR SECTIONS (Jerusalem sub-nav) ── */
.section-anchor { padding: 52px 0 32px; }
.section-anchor:first-of-type { padding-top: 28px; }

.in-page-nav {
  background: rgba(32,58,86,.06);
  border: 1px solid rgba(32,58,86,.12);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
}
.in-page-nav p {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rust-brown);
  margin-bottom: 10px;
}
.in-page-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.in-page-nav ul li a {
  display: inline-block;
  padding: 7px 13px;
  background: var(--white);
  border: 1px solid rgba(32,58,86,.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--deep-blue);
  text-decoration: none;
}
.in-page-nav ul li a:hover {
  background: var(--israeli-blue);
  color: var(--white);
  border-color: var(--israeli-blue);
}

/* ── MUSIC CARDS ── */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.music-card {
  background: var(--white);
  border: 1px solid rgba(32,58,86,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.music-card-body { padding: 18px; }
.music-card h4 { color: var(--forest-green); margin-bottom: 6px; }
.music-card p { font-size: 14px; }
.music-embed {
  width: 100%;
  border: none;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}

/* ── RESOURCE BOOKCASE ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.resource-card {
  background: var(--white);
  border: 1px solid rgba(32,58,86,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  border-top: 4px solid var(--israeli-blue);
  transition: transform .20s;
}
.resource-card:hover { transform: translateY(-3px); }
.resource-card.green { border-top-color: var(--forest-green); }
.resource-card.rust  { border-top-color: var(--rust-brown); }
.resource-card.red   { border-top-color: var(--red-emphasis); }
.resource-card h4 { font-size: 16px; margin-bottom: 8px; }
.resource-card p  { font-size: 14px; }

/* ── CALLOUT BAND ── */
.callout-band {
  background: linear-gradient(135deg, var(--israeli-blue), var(--deep-blue));
  padding: 52px 0;
  text-align: center;
  color: var(--white);
}
.callout-band h2 { color: var(--white); }
.callout-band p  { color: rgba(255,255,255,.78); max-width: 60ch; margin: 0 auto 20px; }

/* ── STORY TYPOGRAPHY ── */
.story-body {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.78;
  color: var(--granite);
  max-width: 74ch;
}
.story-body p { color: var(--granite); margin-bottom: 22px; }
.story-body h3 { color: var(--forest-green); margin-top: 36px; }
.story-body h4 { color: var(--rust-brown); }
.story-body blockquote {
  border-left: 4px solid var(--red-emphasis);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(178,34,34,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--deep-blue);
}

/* ── FOOTER ── */
.footer {
  background: var(--deep-blue);
  color: rgba(255,255,255,.65);
  padding: 38px 0 48px;
  font-size: 14px;
}
.footer a { color: rgba(255,255,255,.65); }
.footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 20px;
}
.footer h4 {
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-serif);
  margin-bottom: 12px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li { margin: 7px 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.40);
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
  display: block;
}
.footer-tagline {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 0;
}
.footer-scripture {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,.50);
  font-size: 13px;
}

/* ── LISTS ── */
.styled-list {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}
.styled-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--shale);
  border-bottom: 1px solid rgba(32,58,86,.07);
  font-size: 15px;
}
.styled-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--israeli-blue);
  font-size: 10px;
  top: 12px;
}
.scripture-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.scripture-list li {
  padding: 9px 14px;
  background: rgba(0,56,184,.04);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-family: var(--font-serif);
  color: var(--deep-blue);
  font-size: 15px;
}
.scripture-list li .ref {
  font-weight: 700;
  color: var(--rust-brown);
  font-family: var(--font-sans);
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

/* ── ADVISOR TABLE ── */
.advisor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.advisor-card {
  background: var(--white);
  border: 1px solid rgba(32,58,86,.12);
  border-radius: var(--radius);
  padding: 18px;
  border-left: 5px solid var(--forest-green);
}
.advisor-card strong {
  display: block;
  color: var(--deep-blue);
  font-size: 15px;
  margin-bottom: 4px;
}
.advisor-card span {
  font-size: 13px;
  color: var(--shale);
  font-style: italic;
}

/* ── IMAGE + TEXT SPLIT ── */
.split { display: flex; gap: 32px; align-items: flex-start; }
.split-img { flex: 0 0 42%; border-radius: var(--radius); overflow: hidden; }
.split-content { flex: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .col-8, .col-7, .col-6, .col-5, .col-4, .col-3 { grid-column: span 12; }
  .hero-grid { grid-template-columns: 1fr; }
  .bg-stage-inner { height: clamp(1100px, 170vh, 1900px); }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 14px;
    border-top: 1px solid rgba(255,255,255,.10);
    margin-top: 8px;
  }
  .nav.open { display: flex; }
  .navbar { flex-wrap: wrap; }
  .dropdown-menu { position: static; width: 100%; box-shadow: none; border-radius: var(--radius-sm); }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .split { flex-direction: column; }
  .split-img { flex: none; width: 100%; }
}

@media (max-width: 520px) {
  .bg-stage-inner { height: clamp(900px, 160vh, 1200px); }
  .hero-overlay-wrap { padding-top: 28px; }
  body { font-size: 16px; }
}
