:root {
  /* Warm palette inspired by glowing firelight and sunset tones. */
  --bg-dark: #120b07;
  --bg-deep: #1d120b;
  --surface: rgba(28, 15, 9, 0.84);
  --surface-strong: rgba(22, 12, 7, 0.94);
  --text: #f8ecd9;
  --muted: #dcc4a0;
  --gold: #f2b34d;
  --amber: #ff8f2c;
  --line: rgba(255, 214, 150, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 176, 74, 0.18), transparent 30%),
    linear-gradient(180deg, #1a100b 0%, #110a07 60%, #0e0907 100%);
}

/* Shared element defaults */
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff4de;
  color: #25140a;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  background: rgba(17, 10, 7, 0.72);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-symbol {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy span {
  font-size: 0.84rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff4de;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 78px);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 8, 5, 0.9) 0%, rgba(15, 8, 5, 0.58) 42%, rgba(15, 8, 5, 0.85) 100%),
    linear-gradient(180deg, rgba(255, 165, 70, 0.1), rgba(255, 165, 70, 0.16)),
    url("../images/hero-inspiration.png") center center / cover no-repeat;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 9, 7, 0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  max-width: 760px;
  padding: 7rem 0 6rem;
}

.eyebrow,
.card-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: #ffd18f;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 6rem);
  line-height: 0.95;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
}

.hero-text,
.section-copy p,
.section-heading p,
.content-card p,
.channel-banner p,
.connect-layout p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #2d1708;
  background: linear-gradient(135deg, #ffd589 0%, var(--gold) 54%, var(--amber) 100%);
  box-shadow: 0 18px 34px rgba(255, 145, 33, 0.28);
}

.button-secondary {
  color: #fff2dc;
  border: 1px solid rgba(255, 212, 138, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button-full {
  width: 100%;
}

.hero-card,
.info-panel,
.channel-banner,
.video-feature,
.content-card,
.verse-panel,
.connect-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  max-width: 470px;
  padding: 1.45rem 1.5rem;
}

/* Section layout */
.section {
  padding: 6rem 0;
}

.section-about {
  background: linear-gradient(180deg, rgba(29, 18, 11, 0.56) 0%, rgba(20, 11, 7, 0.2) 100%);
}

.two-column,
.mission-layout,
.connect-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.two-column,
.mission-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
}

.info-panel,
.verse-panel,
.connect-card {
  padding: 1.8rem;
}

.info-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.info-list li + li {
  margin-top: 0.7rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.channel-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.7rem;
  background:
    linear-gradient(135deg, rgba(255, 180, 84, 0.09), transparent 58%),
    var(--surface-strong);
}

.video-feature {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 187, 97, 0.08), rgba(255, 132, 42, 0.04)),
    var(--surface-strong);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.video-meta {
  padding: 0.25rem 0 1rem;
}

.video-meta h3 {
  margin-bottom: 0;
}

.video-fallback {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 214, 150, 0.06);
}

.video-fallback p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame iframe,
.video-frame > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.content-card {
  padding: 1.6rem;
}

.content-card a {
  color: #ffd28c;
  font-weight: 700;
  text-decoration: none;
}

.content-card a:hover,
.content-card a:focus-visible {
  color: #fff5e1;
}

.section-mission {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 160, 53, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(18, 11, 8, 0.72), rgba(12, 8, 6, 0.9));
}

.verse-panel {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 195, 118, 0.08), rgba(255, 131, 44, 0.05)),
    var(--surface-strong);
}

.verse-panel p {
  margin: 0 0 1rem;
  color: #fff4de;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-family: Georgia, "Times New Roman", serif;
}

.verse-panel cite {
  color: #ffc97a;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.connect-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0d0806;
}

.footer-inner {
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--muted);
}

.footer-inner p {
  margin: 0.25rem 0;
}

/* Small reveal effect for a polished first impression. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(18, 10, 6, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .two-column,
  .mission-layout,
  .connect-layout,
  .card-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .channel-banner {
    display: grid;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 4.5rem 0 4rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .brand-copy span {
    display: none;
  }
}

/* Respect reduced motion for accessibility. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
