:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --muted: #c9c0ae;
  --dim: #928a7d;
  --panel: #171916;
  --panel-2: #20241f;
  --line: rgba(244, 241, 232, 0.16);
  --accent: #d59b4d;
  --accent-2: #7fb3a3;
  --danger: #bd5a4d;
  --bg: #0b0d0b;
  --display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(11, 13, 11, 0.72);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
nav {
  align-items: center;
  display: flex;
}

.brand {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  color: #17110a;
  display: inline-flex;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 32px;
}

nav {
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.88rem;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 13px;
}

.hero {
  align-items: end;
  display: flex;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: 120px clamp(18px, 4vw, 56px) clamp(48px, 8vw, 80px);
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(11, 13, 11, 0.97) 0%,
      rgba(11, 13, 11, 0.82) 42%,
      rgba(11, 13, 11, 0.45) 100%
    ),
    linear-gradient(
      0deg,
      rgba(11, 13, 11, 0.98) 0%,
      rgba(11, 13, 11, 0.15) 48%
    );
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-inner {
  max-width: 920px;
  position: relative;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 7.5vw, 6.2rem);
  line-height: 0.95;
  margin-bottom: 24px;
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 16ch;
}

h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #17110a;
}

.button.primary:hover {
  background: #e0ab5f;
}

.section {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 56px);
  position: relative;
}

.section-inner {
  margin: 0 auto;
  max-width: 1100px;
}

.objective {
  background: var(--bg);
}

.vision {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(127, 179, 163, 0.08), transparent),
    var(--panel);
}

.pillars {
  background: var(--bg);
}

.prose {
  display: grid;
  gap: 20px;
  max-width: 68ch;
}

.prose p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.pillar-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.pillar {
  backdrop-filter: blur(8px);
  background: rgba(23, 25, 22, 0.72);
  border: 1px solid var(--line);
  min-height: 280px;
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pillar:hover {
  border-color: rgba(213, 155, 77, 0.35);
  transform: translateY(-3px);
}

.pillar-index {
  color: var(--danger);
  display: block;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}

.pillar p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

.cta {
  background: var(--panel-2);
}

.cta p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 30px;
  max-width: 58ch;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--dim);
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .hero-video {
    display: none;
  }

  .hero-media {
    background: url("/assets/hero-poster.png") center / cover;
  }

  .button:hover,
  .pillar:hover {
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
  }

  nav {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero {
    min-height: 92svh;
    padding-top: 132px;
  }

  h1 {
    max-width: none;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: absolute;
  }

  .nav-cta {
    padding-inline: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
