:root {
  --bg: #0b0f14;
  --bg-raise: #10161d;
  --surface: #141a22;
  --line: #2a3542;
  --gold: #d4a11e;
  --ink: #f4f6f8;
  --steel: #c9ccd1;
  --muted: #9aa3ad;
  --max: 1120px;
  --header: 72px;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--steel);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 1.25rem;
  background: rgba(11, 15, 20, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.brand img {
  width: 64px;
  height: 36px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  mix-blend-mode: lighten;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--steel);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.site-nav a.btn,
.site-nav a.btn:hover { color: var(--bg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--steel); }

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% 20% 40%;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 161, 30, 0.09), transparent 68%);
  pointer-events: none;
}

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

.kicker {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  color: var(--gold);
}

.lede {
  max-width: 680px;
  margin-bottom: 1.75rem;
  font-size: 1.08rem;
  color: var(--steel);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.25rem 1.25rem 1rem;
}

.hero-panel ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.95rem;
}

.hero-panel li span {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.panel-foot {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metrics {
  border-block: 1px solid var(--line);
  background: var(--bg-raise);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  padding: 1.5rem 1.25rem;
  border-left: 1px solid var(--line);
}

.metric:first-child { border-left: 0; }

.metric strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.metric span {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.metric small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.source {
  margin: 0;
  padding: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.section { padding: 5rem 0; }

#practice, #engagement, #supply, #publications, #faq, #contact { scroll-margin-top: 5.5rem; }

.tagline {
  padding: 1rem 0 2rem;
}

.tagline p {
  max-width: 680px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.tagline .word {
  color: rgba(244, 246, 248, 0.3);
  transition: color 800ms cubic-bezier(0.32, 0.72, 0, 1);
}

.tagline .word.is-on { color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: end;
}

h2 {
  margin-bottom: 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 600;
  text-wrap: balance;
}

.section-head p:last-child { margin-bottom: 0; max-width: 40rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  background: var(--bg);
  padding: 1.5rem;
}

.pillar svg {
  width: 36px;
  height: 36px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 1rem;
}

.pillar h3 {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stack {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--gold);
}

.stack > li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 0 0 1.25rem 1.25rem;
}

.stack > li:last-child { padding-bottom: 0; }

.index {
  font-family: var(--display);
  color: var(--gold);
  letter-spacing: 0.08em;
  padding-top: 0.15rem;
}

.layer {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.1rem 1.2rem 1rem;
}

.layer h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

.layer p { margin-bottom: 0.8rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips li {
  border: 1px solid var(--line);
  padding: 0.15rem 0.5rem;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.downloads a { color: var(--gold); }

.loop {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  position: relative;
}

.loop::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--gold);
}

.loop.steps-3 { grid-template-columns: repeat(3, 1fr); }

.loop > li {
  position: relative;
  padding-top: 0.2rem;
}

.loop .index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--gold);
}

.loop h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
}

.practice, .engagement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.practice.three { grid-template-columns: repeat(3, 1fr); }

.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.offer h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  text-wrap: balance;
}

.offer p { margin: 0; }

.offer .btn { align-self: flex-start; margin-top: auto; }

.card {
  border: 1px solid var(--line);
  background: var(--bg-raise);
  padding: 1.25rem 1.3rem 1.1rem;
}

.card h3 {
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

.card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.card li + li { margin-top: 0.25rem; }

.names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.partner-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 0.9rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.span-2 { grid-column: 1 / -1; }

input, select, textarea {
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.7rem 0.75rem;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

textarea { min-height: 120px; resize: vertical; }

.form-note, #form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-aside a { color: var(--ink); }

.contact-aside h3 {
  margin: 1.4rem 0 0.4rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-row a { color: var(--steel); }

.line {
  margin: 0 0 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--steel);
}

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

.pub-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.pub-list a {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  text-decoration: none;
}

.pub-list a:hover { color: var(--gold); }

.pub-list time {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.more { margin: 1.25rem 0 0; }

.more a { color: var(--gold); }

.faq-wrap { max-width: 52rem; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.faq details p { margin: 0.7rem 0 0; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.25rem 1.2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

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

  .hero-grid,
  .section-head,
  .pillars,
  .metrics-grid,
  .loop,
  .loop.steps-3,
  .practice,
  .practice.three,
  .offers,
  .engagement,
  .partner-groups,
  .contact-grid,
  form {
    grid-template-columns: 1fr;
  }

  .metric { border-left: 0; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; }

  .loop::before { display: none; }

  .section { padding: 3.5rem 0; }

  h1 { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tagline .word { color: var(--ink); transition: none; }
}
