/* Darker Grotesque (SIL OFL), self-hosted: no third-party font requests. */
@font-face { font-family: "Darker Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url("./assets/fonts/darker-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Darker Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("./assets/fonts/darker-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Darker Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("./assets/fonts/darker-grotesque-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #F1EEE8;
  --ink: #121212;
  --accent: #FF4D00;
  /* one committed look: dark ground, paper ink, orange overlap */
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #A8A39B;
  --rule: rgba(241, 238, 232, .16);
  --hover: rgba(241, 238, 232, .035);
  color-scheme: dark;
  --font: 'Darker Grotesque', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- top bar ---------- */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px var(--pad);
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.top__brand { display: flex; flex: none; color: var(--fg); }
.top__brand svg { width: 38px; height: auto; display: block; overflow: visible; }
.top__brand .o { fill: var(--accent); }
.top__brand .l { fill: none; stroke: currentColor; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.top__nav a:hover, .top__nav a:focus-visible { color: var(--fg); border-bottom-color: var(--accent); outline: none; }
.top__cta {
  flex: none;
  font-size: 19px;
  font-weight: 700;
  color: var(--bg);
  background: var(--fg);
  text-decoration: none;
  padding: 9px 16px 10px;
  border-radius: 999px;
  line-height: 1;
}
.top__cta:hover, .top__cta:focus-visible { background: var(--accent); color: var(--ink); }
@media (max-width: 720px) {
  .top__nav { display: none; }
  .top__cta { margin-left: auto; font-size: 17px; }
}
.section, .hero { scroll-margin-top: 72px; }
.hero { min-height: calc(100svh - 64px); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vh, 96px) var(--pad) clamp(32px, 6vh, 64px);
  text-align: center;
}
.brand {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 6vh, 64px);
  font-size: inherit;
  font-weight: inherit;
}
/* The mark stands on a hairline that runs edge to edge: the common ground. */
.ground { position: relative; display: block; width: clamp(180px, 32vw, 360px); }
.ground::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(6 / 292 * 100%);
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--rule);
  z-index: -1;
}
.mark { display: block; width: 100%; height: auto; overflow: visible; }
.mark__overlap, .word__dot { fill: var(--accent); }
.word { display: block; width: clamp(240px, 46vw, 620px); height: auto; }

.line {
  margin: clamp(22px, 3.5vh, 36px) 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding-left: .28em;
}
.sub {
  margin: 6px 0 0;
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 500;
  color: var(--muted);
}
.hero__link {
  margin-top: clamp(28px, 5vh, 48px);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* ---------- sections ---------- */
.section {
  border-top: 1px solid var(--rule);
  padding: clamp(72px, 12vh, 140px) 0;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.01em;
}
.lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}

/* ---------- principles ---------- */
.pillars {
  list-style: none;
  margin: clamp(40px, 7vh, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pillar__glyph { width: 96px; height: auto; margin-bottom: 12px; overflow: visible; }
.pillar__glyph .o { fill: var(--accent); }
.pillar__glyph .l { fill: none; stroke: currentColor; }
.pillar__glyph .o--framed { stroke: currentColor; stroke-width: 10; stroke-linejoin: round; }
.pillar__title { margin: 0; font-size: 36px; font-weight: 700; line-height: 1; }
.pillar__pitch { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.3; }
.pillar__list { list-style: none; margin: 10px 0 0; padding: 0; }
.pillar__list li {
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted);
}

/* ---------- team ---------- */
.roles {
  list-style: none;
  margin: clamp(40px, 7vh, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.role {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 28px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.role__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.role__glyph { width: 64px; height: 64px; overflow: visible; }
.role__glyph .o { fill: var(--accent); }
.role__glyph .l { fill: none; stroke: currentColor; }
.role__n { font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.role__title { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.05; }
.role__pitch { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.3; }
.role__facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.role__facts li {
  position: relative;
  padding-left: 15px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}
.role__facts li:first-child { font-weight: 700; }
.role__facts li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
}
.tag--ai {
  color: var(--fg);
  border-color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tag--ai::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.legend {
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 500;
  color: var(--muted);
}
.legend__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

.track { margin: 40px 0 0; }
.track__label { margin: 0 0 16px; font-size: 17px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.track__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px 32px;
}
.track__list li { position: relative; padding-left: 18px; font-size: clamp(21px, 1.8vw, 24px); font-weight: 700; line-height: 1.2; }
.track__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- scale ---------- */
.stats {
  margin: clamp(40px, 7vh, 72px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.stat { padding: 28px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--rule); }
.stat dt { font-size: clamp(60px, 7.4vw, 108px); font-weight: 700; line-height: .9; letter-spacing: -0.02em; white-space: nowrap; }
.stat dd { margin: 12px 0 0; font-size: 22px; font-weight: 500; color: var(--muted); max-width: 15em; }
@media (max-width: 860px) {
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- contact ---------- */
.contact__wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--bg);
  background: var(--fg);
  text-decoration: none;
  padding: 16px 28px 18px;
  border-radius: 999px;
}
.cta:hover, .cta:focus-visible { background: var(--accent); color: var(--ink); }

/* ---------- footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 24px var(--pad) 28px;
  border-top: 1px solid var(--rule);
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
}
.foot__dot { color: var(--accent); }

