:root {
  --bg-deep: #030712;
  --bg-surface: #0b1220;
  --bg-elevated: #111827;
  --border: rgba(148, 163, 184, 0.12);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #22d3ee;
  --accent-strong: #0891b2;
  --accent-blue: #3b82f6;
  --gradient: linear-gradient(135deg, #22d3ee 0%, #3b82f6 55%, #6366f1 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.1), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: -1;
}

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

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand--logo {
  flex-shrink: 0;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-wrap--header {
  padding: 0;
}

.brand-logo-wrap--footer {
  padding: 0;
}

.brand-logo-wrap--hero {
  padding: 0;
  border: none;
  box-shadow: none;
}

.brand-logo {
  width: auto;
  display: block;
}

.brand-logo--header {
  height: 72px;
  width: auto;
  max-width: min(440px, 72vw);
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.06) brightness(1.04);
}

.brand-logo--footer {
  height: 52px;
}

.hero {
  padding: 5.5rem 0 4.5rem;
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-link.active,
.nav-item:focus-within .nav-trigger {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  border-radius: 14px;
  background: rgba(11, 18, 32, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dropdown a:hover {
  background: rgba(34, 211, 238, 0.08);
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #031018;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.mobile-nav {
  display: none;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: block;
}

.mobile-group {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-group:last-child {
  border-bottom: none;
}

.mobile-group > span,
.mobile-group > a {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mobile-group a {
  display: block;
  padding: 0.45rem 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.08);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient);
  color: #031018;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.18);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-panel {
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(11, 18, 32, 0.85));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-panel pre {
  margin: 0;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.hero-panel .stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.stat-card {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.stat-card strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
}

.stat-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(11, 18, 32, 0.75);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.25);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.05) 0%, rgba(3, 7, 18, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.hero-visual-overlay .stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.page-hero-visual {
  margin-top: 2rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-hero-visual img {
  width: 100%;
  height: clamp(220px, 32vw, 320px);
  object-fit: cover;
}

.section-banner {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.section-banner img {
  width: 100%;
  height: clamp(200px, 28vw, 280px);
  object-fit: cover;
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card-media {
  height: 170px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card--media:hover .card-media img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.35rem;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section-image {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-image img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
}

.mission-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.quote-card {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(11, 18, 32, 0.85));
  border: 1px solid var(--border);
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.quote-card cite {
  display: block;
  margin-top: 1rem;
  color: var(--accent);
  font-style: normal;
  font-size: 0.92rem;
}

.scripture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.scripture-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.scripture-card p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.scripture-card cite {
  color: var(--accent);
  font-style: normal;
  font-size: 0.85rem;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero h1 {
  margin: 0.75rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 42rem;
  color: var(--text-muted);
  margin: 0;
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.cta-band {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.footer-bottom {
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (max-width: 960px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .brand-logo--header {
    height: 54px;
    max-width: min(300px, 62vw);
  }

  .header-inner {
    min-height: 80px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .mission-block,
  .split-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }
}
