/* Argus: static site styles. Brand tokens come from the pitch deck. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #0F1B2D;
  --navy-2: #1A2942;
  --teal: #0D9488;
  --teal-text: #0F766E;       /* teal that passes contrast on light backgrounds */
  --teal-bright: #2DD4BF;     /* teal for dark backgrounds */
  --mint: #CCFBF1;
  --mint-bg: #F0FDFA;
  --slate: #475569;
  --line: #D9E2EA;
  --paper: #F8FAFC;
  --white: #FFFFFF;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p, dd, li { text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 1rem/1 var(--body);
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--teal-bright);
  color: var(--navy);
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--mint); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 11px 20px; font-size: .9375rem; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; color: var(--white); }
.bar { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.5rem/1 var(--display); letter-spacing: -0.02em; margin-right: auto; }
.brand-mark { width: 34px; height: 20px; fill: none; stroke: var(--teal-bright); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; opacity: .82; }
.site-header nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  min-height: min(100svh, 860px);
  display: flex;
  align-items: center;
  padding-block: 150px 290px;
}
.hero-waves { position: absolute; inset: auto 0 0 0; width: 100%; height: 30%; pointer-events: none; }
.hero-waves .w { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-waves .w2 { stroke: var(--teal-bright); opacity: .45; }
.hero-waves .w3 { opacity: .3; }
.hero-inner { position: relative; }
.hero h1 { font-size: clamp(3rem, 8.2vw, 6.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: .98; max-width: 12ch; }
.hero-lead { margin-top: 28px; max-width: 34em; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: #D4DEE8; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 28px; font-size: .9375rem; color: #9FB2C6; }

/* The one orchestrated moment: the traces draw themselves once on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero-waves .w { stroke-dashoffset: 1; animation: draw 3.2s cubic-bezier(.3,.6,.2,1) forwards; }
  .hero-waves .w2 { animation-delay: .25s; }
  .hero-waves .w3 { animation-delay: .5s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 132px); }
.head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2, .how-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 650; letter-spacing: -0.03em; }
.lead { margin-top: 20px; font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--slate); max-width: 38em; }
.statement { margin-top: clamp(40px, 6vw, 72px); max-width: 42rem; padding-left: clamp(18px, 2.5vw, 28px); border-left: 4px solid var(--teal); font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }

/* ---------- Problem: the year timeline ---------- */
.timeline { margin-bottom: clamp(48px, 7vw, 88px); }
.row + .row { margin-top: 26px; }
.row-label { font-weight: 600; font-size: .9375rem; color: var(--slate); margin-bottom: 10px; }
.row-label-argus { color: var(--teal-text); }
.track { position: relative; height: 56px; }
.track.tests { border-block: 1px solid var(--line); background:
  repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), var(--line) calc(100% / 12 - 1px) calc(100% / 12)); }
.track.tests::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed #B7C4D0; }
.mark { position: absolute; top: 8px; bottom: 8px; width: 7px; border-radius: 3px; background: var(--navy); }
.m1 { left: 13%; }
.m2 { left: 47%; }
.m3 { left: 76%; width: 9px; }
.track.argus svg { width: 100%; height: 100%; display: block; }
.track.argus path { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.legend dt { font-weight: 600; }
.legend dd { color: var(--slate); font-size: .9375rem; line-height: 1.45; margin-top: 4px; }
.legend dd strong { display: block; font-family: var(--display); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.legend .rest dt { color: #B42318; }
.fine { margin-top: 18px; font-size: .875rem; color: var(--slate); }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two > div { border-top: 2px solid var(--navy); padding-top: 16px; }
.two h4 { font-size: 1.25rem; margin-bottom: 8px; }
.two p { color: var(--slate); font-size: 1rem; }

/* ---------- How it works ---------- */
.how { background: var(--mint-bg); }
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait { border-radius: 18px; overflow: hidden; background: var(--white); }
.portrait img { width: 100%; }
.how-copy .lead { color: var(--navy); }
.how-copy p + p { margin-top: 16px; color: var(--slate); max-width: 38em; }
.signals-title { margin-top: clamp(56px, 8vw, 96px); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px clamp(24px, 4vw, 56px); margin-top: 32px; }
.signals li { display: flex; gap: 14px; align-items: flex-start; }
.ico { flex: none; width: 36px; height: 36px; padding: 6px; border-radius: 10px; background: var(--mint); stroke: var(--teal-text); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.signals h4 { font-size: 1.1875rem; margin-bottom: 4px; }
.signals p { font-size: .9688rem; color: var(--slate); line-height: 1.5; }

/* ---------- Applications ---------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.cols article { padding: 4px clamp(20px, 3vw, 40px) 8px; border-left: 1px solid var(--line); }
.cols article:first-child { padding-left: 0; border-left: 0; }
.cols h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.for { margin-top: 8px; color: var(--teal-text); font-weight: 600; font-size: .9688rem; }
.cols ul { margin-top: 22px; display: grid; gap: 12px; }
.cols li { padding-left: 18px; position: relative; color: var(--slate); }
.cols li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--teal); }
.start { margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 4vw, 40px); border-radius: 18px; background: var(--paper); display: grid; grid-template-columns: 1fr 2fr; gap: clamp(16px, 4vw, 56px); }
.start h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.start p { color: var(--slate); }

/* ---------- Team ---------- */
.team { background: var(--paper); }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); }
.person { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 28px; align-items: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.person h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.role { margin-top: 8px; font-weight: 600; color: var(--teal-text); }
.person p:last-child { margin-top: 10px; color: var(--slate); }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: var(--white); }
.contact .lead { color: #B9C7D6; }
.asks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.asks li { padding: 4px 24px 8px; border-left: 1px solid rgba(255,255,255,.16); }
.asks li:first-child { padding-left: 0; border-left: 0; }
.asks h3 { font-size: 1.375rem; margin-bottom: 10px; }
.asks p { color: #B9C7D6; font-size: 1rem; line-height: 1.5; }
.reach { margin-top: clamp(44px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.reach p { color: #B9C7D6; }

/* ---------- Footer ---------- */
.site-footer { background: #0A1422; color: #9FB2C6; padding-block: 48px 40px; font-size: .9375rem; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.site-footer .brand { color: var(--white); margin-right: 0; font-size: 1.25rem; }
.disclaimer { margin-top: 28px; max-width: 52rem; font-size: .875rem; line-height: 1.55; }
.copy { margin-top: 16px; font-size: .875rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .signals { grid-template-columns: repeat(2, 1fr); }
  .asks { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .asks li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .legend { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header nav { display: none; }
  .bar { height: 72px; }
  .hero { padding-block: 120px 250px; align-items: flex-start; min-height: 0; }
  .hero-waves { height: 26%; }
  .split, .how-grid, .start { grid-template-columns: 1fr; }
  .how-grid .portrait { max-width: 420px; }
  .cols { grid-template-columns: 1fr; gap: 36px; }
  .cols article, .cols article:first-child { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .cols article:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .signals, .asks, .two, .legend { grid-template-columns: 1fr; }
  .asks li, .asks li:first-child { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .asks li:first-child { border-top: 0; padding-top: 0; }
  .person { grid-template-columns: 110px 1fr; gap: 16px; }
  .actions .btn { flex: 1 1 auto; text-align: center; }
}
