
:root {
  --hope-green: #86ae58;
  --hope-green-strong: #a8cb70;
  --hope-ink: #0a120b;
  --hope-deep: #061006;
  --hope-deeper: #040904;
  --hope-cream: #f5f3ec;
  --hope-muted: rgba(245, 243, 236, 0.76);
  --hope-line: rgba(255, 255, 255, 0.1);
  --hope-panel: rgba(8, 18, 10, 0.72);
  --hope-panel-strong: rgba(10, 20, 11, 0.84);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--hope-deeper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--hope-cream);
  background:
    radial-gradient(circle at 20% 14%, rgba(134, 174, 88, 0.16), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(134, 174, 88, 0.08), transparent 20%),
    linear-gradient(180deg, #081008 0%, #061006 38%, #071008 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.12;
}

body::after {
  background:
    linear-gradient(180deg, rgba(4, 8, 4, 0.12), rgba(4, 8, 4, 0.52)),
    radial-gradient(circle at 50% 20%, rgba(134, 174, 88, 0.08), transparent 26%);
  mix-blend-mode: screen;
}

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

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

.page-shell {
  position: relative;
  z-index: 2;
}

.utilitybar {
  position: sticky;
  top: 0;
  z-index: 18;
  backdrop-filter: blur(18px);
  background: rgba(4, 9, 5, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.utilitybar-inner {
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.utility-copy {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 243, 236, 0.58);
  font-weight: 700;
}

.utility-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.utility-nav a {
  font-size: 12px;
  font-weight: 650;
  color: rgba(245, 243, 236, 0.72);
}

.topbar-wrap {
  position: sticky;
  top: 38px;
  z-index: 20;
  padding: 18px 20px 0;
  pointer-events: none;
}

.topbar {
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto;
  min-height: 86px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(16, 23, 17, 0.82), rgba(8, 13, 9, 0.72));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  pointer-events: auto;
}

.brand-chip {
  display: flex;
  align-items: center;
  width: 170px;
  min-width: 170px;
}

.brand-chip img {
  width: 166px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.24));
}

.topnav {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav::-webkit-scrollbar { display: none; }

.topnav a {
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  color: var(--hope-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border: 1px solid transparent;
}

.topnav a.active,
.topnav a:hover {
  color: var(--hope-cream);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

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

.topbar-actions .button.small {
  padding: 12px 16px;
  font-size: 14px;
}

.sound-toggle.active {
  background: rgba(134, 174, 88, 0.18);
  border-color: rgba(134, 174, 88, 0.38);
  box-shadow: 0 14px 30px rgba(134, 174, 88, 0.18);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.button.primary {
  background: var(--hope-green);
  color: var(--hope-ink);
  box-shadow: 0 18px 40px rgba(134, 174, 88, 0.22);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--hope-cream);
}

.button.small {
  padding: 13px 18px;
  font-size: 15px;
}

.cta-row.compact {
  margin-top: 16px;
}

.page-main {
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto;
  padding: 28px 0 100px;
  position: relative;
  z-index: 1;
}

.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 8px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 243, 236, 0.56);
  font-weight: 700;
}

.page-breadcrumbs a {
  color: rgba(245, 243, 236, 0.76);
}

.crumb-sep { opacity: 0.4; }

.hero,
.section,
.footer {
  position: relative;
  margin-bottom: 22px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hope-line);
  background: linear-gradient(180deg, rgba(9, 18, 10, 0.74), rgba(7, 14, 8, 0.64));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::before,
.section::before,
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(134, 174, 88, 0.08), transparent 44%);
  pointer-events: none;
}

.hero-grid,
.split-layout,
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.split-layout {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.footer-grid {
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.hero-copy h1,
.section-head h2,
.card h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.92;
  max-width: 9ch;
}

.section-head h2,
.panel h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
  max-width: 13ch;
}

.eyebrow,
.card-kicker,
.stat-kicker,
.footer-title {
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 243, 236, 0.56);
  font-weight: 700;
}

.hero-subhead,
.section-copy,
.footer-copy,
.panel p,
.card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.58;
  color: var(--hope-muted);
}

.hero-subhead {
  margin-top: 18px;
  font-size: clamp(20px, 2vw, 28px);
  max-width: 24ch;
  color: rgba(245, 243, 236, 0.92);
}

.section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.stats-grid,
.grid {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.cards-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stat-card,
.card,
.panel,
.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(14, 23, 15, 0.78), rgba(10, 16, 11, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.stat-card,
.card,
.panel {
  padding: 20px;
}

.stat-value {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--hope-cream);
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.inline-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hope-green-strong);
}

.media-card {
  min-height: 100%;
  background: rgba(6, 10, 7, 0.82);
}

.media-card-hero video {
  min-height: 520px;
}

.media-panel {
  display: grid;
  gap: 18px;
}

.card-media {
  margin: -20px -20px 18px;
}

.card-media .media-card {
  border: 0;
  border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 18px 18px;
  box-shadow: none;
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.media-card-preview img,
.media-card-preview video {
  min-height: 220px;
}

.inline-media-video {
  transform: scale(1.01);
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease), opacity 0.5s var(--ease);
  filter: saturate(1.05) contrast(1.04);
}

.inline-media-video[data-audio-state="live"] {
  transform: scale(1.03);
  filter: saturate(1.14) contrast(1.06) brightness(1.02);
}

.media-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  background: rgba(7, 12, 8, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.42;
  color: rgba(245, 243, 236, 0.88);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hope-green);
  box-shadow: 0 0 18px rgba(134, 174, 88, 0.45);
}

.quote {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--hope-cream);
  max-width: 14ch;
}

.formula {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(134, 174, 88, 0.12);
  border: 1px solid rgba(134, 174, 88, 0.28);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hope-cream);
}

.section-note,
.meta-line {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(245, 243, 236, 0.62);
  line-height: 1.6;
}

.table-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 16, 10, 0.72);
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  text-align: left;
}

.data-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 243, 236, 0.54);
  background: rgba(255, 255, 255, 0.02);
}

.data-table td {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(245, 243, 236, 0.88);
}

.footer-logo {
  width: 180px;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(245, 243, 236, 0.76);
  font-size: 15px;
}

.film-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.film-card .cta-row {
  margin-top: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.gate-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(134, 174, 88, 0.16), transparent 22%),
    rgba(4, 8, 4, 0.88);
  backdrop-filter: blur(20px);
}

.gate-card {
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(16, 24, 16, 0.92), rgba(8, 14, 9, 0.86));
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.45);
}

.gate-mark {
  width: min(260px, 100%);
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

.gate-title {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.94;
}

.gate-copy,
.gate-note {
  color: rgba(245, 243, 236, 0.78);
}

.gate-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.gate-input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--hope-cream);
  font: inherit;
  font-size: 17px;
  outline: none;
}

.gate-input:focus {
  border-color: rgba(134, 174, 88, 0.8);
  box-shadow: 0 0 0 4px rgba(134, 174, 88, 0.18);
}

.gate-error {
  min-height: 20px;
  font-size: 14px;
  color: #ffb3a5;
}

.gate-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 243, 236, 0.56);
}

body.gate-unlocked .gate-shell {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 4, 0.88);
  backdrop-filter: blur(16px);
}

.video-modal.open {
  display: grid;
}

.video-modal-dialog {
  width: min(1120px, 100%);
  padding: 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(15, 24, 15, 0.94), rgba(7, 13, 8, 0.9));
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.46);
}

.video-modal-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.modal-close {
  margin-left: auto;
  margin-bottom: 12px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--hope-cream);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

#film-player {
  width: 100%;
  max-height: min(72vh, 820px);
  border-radius: 22px;
  background: #000;
}

@media (max-width: 1200px) {
  .topbar {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .topnav {
    justify-content: flex-start;
  }

  .topbar-actions,
  .utilitybar-inner,
  .hero-grid,
  .split-layout,
  .footer-grid,
  .stats-grid,
  .cards-grid.cols-4,
  .cards-grid.cols-3,
  .cards-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    justify-content: flex-start;
  }

  .utilitybar-inner {
    display: grid;
  }
}

@media (max-width: 760px) {
  .utilitybar { display: none; }
  .topbar-wrap { top: 0; padding: 14px 14px 0; }
  .page-main { width: min(calc(100vw - 28px), var(--max)); }
  .hero, .section, .footer { padding: 22px; }
  .brand-chip,
  .brand-chip img { width: 156px; min-width: 156px; }
  .button { width: 100%; }
  .cta-row,
  .topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .media-card img,
  .media-card video { min-height: 280px; }
  .video-modal { padding: 14px; }
  .video-modal-dialog { padding: 16px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
