/* Stratide Labs: one page, no scripts, no third-party requests.
   Colours from the Stratide Labs logo set: navy #0E2A38, the three
   teal bands (#5FD3C8, #34AFA8, #1B7E83) and off-white #F2F7F8. */

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #F5F8F8;
  --surface: #FFFFFF;
  --raised: #EBF1F2;
  --line: #DCE5E8;
  --line-strong: #C8D5D9;
  --text: #0E2A38;
  --text-2: #43606B;
  --text-3: #57707A;
  --accent: #1B7E83;
  --accent-soft: rgba(52, 175, 168, 0.12);
  --accent-line: rgba(27, 126, 131, 0.4);
  --live: #34AFA8;
  --font: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1080px;
  --gutter: clamp(20px, 5vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0E2A38;
    --surface: #133544;
    --raised: #183F50;
    --line: #20495B;
    --line-strong: #2B5A6D;
    --text: #F2F7F8;
    --text-2: #B3C7CD;
    --text-3: #88A2AA;
    --accent: #5FD3C8;
    --accent-soft: rgba(95, 211, 200, 0.1);
    --accent-line: rgba(95, 211, 200, 0.45);
    --live: #5FD3C8;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--font); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.022em; font-weight: 720; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px;
  background: var(--text); color: var(--bg); border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ── Header ───────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* The artwork carries its own clear space (30 of 260 units each side). */
.brand img { display: block; height: 44px; width: auto; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav a:not(.nav-contact) { display: none; } }

/* ── Hero ─────────────────────────────── */
.hero { padding-block: clamp(72px, 12vw, 140px) clamp(64px, 9vw, 112px); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.hero h1 { max-width: 15ch; font-size: clamp(40px, 6.6vw, 72px); letter-spacing: -0.035em; font-weight: 760; }
.hero .lead { max-width: 62ch; margin-top: 28px; font-size: clamp(18px, 2vw, 20.5px); line-height: 1.6; color: var(--text-2); }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; padding: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-size: 14px; font-weight: 550; color: var(--text-2);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ── Sections ─────────────────────────── */
section { padding-block: clamp(64px, 9vw, 112px); }
section + section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-num { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { font-size: 18.5px; color: var(--text-2); }
.rule {
  margin-top: 8px; padding: 18px 22px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 10px 10px 0;
  font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: -0.01em;
}

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.principle { padding: 28px 28px 30px; background: var(--surface); }
.principle .n { font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.principle h3 { margin-top: 10px; font-size: 21px; }
.principle p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* VERA */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.product-intro { position: sticky; top: 96px; display: grid; gap: 18px; }
@media (max-width: 860px) { .product-intro { position: static; } }
.product-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.product-name strong { font-size: clamp(44px, 6vw, 60px); font-weight: 780; letter-spacing: -0.04em; line-height: 1; }
.product-name span { font-size: 15px; color: var(--text-3); font-weight: 550; }
.product-intro p { color: var(--text-2); }
.audience { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.audience li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; color: var(--text-2); }
.audience li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.audience-label { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; }
.workspaces { display: grid; gap: 14px; }
.workspace { padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.workspace h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.workspace h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.workspace p { margin-top: 8px; color: var(--text-2); font-size: 16px; }

/* Mission */
.mission-statement { max-width: 22ch; font-size: clamp(32px, 4.8vw, 54px); font-weight: 720; letter-spacing: -0.03em; line-height: 1.12; }
.mission-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 64px); margin-top: clamp(32px, 5vw, 52px); }
.mission-body p { color: var(--text-2); }
.vision { margin: 0; padding: 0; }
.vision blockquote { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 600; letter-spacing: -0.012em; color: var(--text); }
.vision figcaption { margin-top: 14px; color: var(--text-2); font-size: 16px; }

/* Objectives */
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stage { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .stage { grid-template-columns: 1fr; gap: 10px; } }
.stage-when { display: grid; gap: 2px; align-content: start; }
.stage-when strong { font-size: 22px; font-weight: 720; letter-spacing: -0.02em; }
.stage-when span { font-size: 14px; color: var(--text-3); font-weight: 550; }
.stage ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.stage li { padding-left: 22px; position: relative; color: var(--text-2); }
.stage li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; border-radius: 2px; background: var(--accent-line); }
.stage.is-now li::before { background: var(--accent); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.contact-title { margin-top: 16px; font-size: clamp(30px, 4vw, 44px); }
.contact p { color: var(--text-2); max-width: 56ch; margin-top: 16px; font-size: 18px; }
.contact-card { display: grid; gap: 16px; padding: 22px 26px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); }
.contact-card .label { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.contact-card .person { display: grid; gap: 2px; margin: 0; max-width: none; font-size: inherit; }
.contact-card a { font-size: 18px; font-weight: 650; overflow-wrap: anywhere; }
.contact-card .who { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-card .person + .person { padding-top: 16px; border-top: 1px solid var(--line); }

/* ── Footer ───────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 40px; color: var(--text-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer .brand img { height: 34px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; align-content: center; gap: 18px; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); }
.notfound p { color: var(--text-2); }
