/* Layout: single column of full-width bands; content in a 1120px wrap.
   Motif: layered "strata" bands, like the laminae of a cave flowstone. */
:root {
  --forest: #1F5C4A;
  --teal: #0599A3;
  --lime: #BEE055;

  --bg: #FAFBFB;
  --bg-tint: #F2F4F4;
  --surface: #FFFFFF;
  --fg: #0C1312;
  --fg-muted: #5E6A68;
  --line: #E2E7E6;
  --accent: var(--forest);
  --accent-2: var(--teal);
  --ink: #0C1312;
  --on-ink: #FFFFFF;
  --on-accent: #FFFFFF;
  --deep-bg: #0B1110;
  --deep-fg: #F2F5F4;
  --deep-muted: #8E9B98;
  --strata-1: #F1F4F3;
  --strata-2: #E7ECEB;
  --strata-3: #DCE4E2;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.6vw, 2.6rem);
  --step-4: clamp(2.4rem, 5.6vw, 4.1rem);

  --radius: 4px;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090D0C;
    --bg-tint: #0E1413;
    --surface: #121918;
    --fg: #EDF2F1;
    --fg-muted: #8B9896;
    --line: #1F2827;
    --accent: #5FD0AC;
    --accent-2: #2BC4CE;
    --ink: #EDF2F1;
    --on-ink: #090D0C;
    --on-accent: #090D0C;
    --deep-bg: #050807;
    --deep-fg: #EDF2F1;
    --deep-muted: #8B9896;
    --strata-1: #111817;
    --strata-2: #151D1C;
    --strata-3: #1A2422;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090D0C;
  --bg-tint: #0E1413;
  --surface: #121918;
  --fg: #EDF2F1;
  --fg-muted: #8B9896;
  --line: #1F2827;
  --accent: #5FD0AC;
  --accent-2: #2BC4CE;
  --ink: #EDF2F1;
  --on-ink: #090D0C;
  --on-accent: #090D0C;
  --deep-bg: #050807;
  --deep-fg: #EDF2F1;
  --deep-muted: #8B9896;
  --strata-1: #111817;
  --strata-2: #151D1C;
  --strata-3: #1A2422;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 3px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; line-height: 1.1; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-mark { display: grid; gap: 3px; width: 26px; }
.brand-mark i { display: block; height: 5px; border-radius: 0 0 5px 5px; }
.brand-mark i:nth-child(1) { background: var(--forest); width: 100%; }
.brand-mark i:nth-child(2) { background: var(--teal); width: 78%; }
.brand-mark i:nth-child(3) { background: var(--lime); width: 52%; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--fg); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta { background: var(--ink); color: var(--on-ink); padding: 9px 16px; border-radius: var(--radius); }
.site-nav .nav-cta:hover { color: var(--on-ink); filter: brightness(1.08); }
.nav-toggle { display: none; font: 600 0.88rem var(--font-display); background: none; border: 1px solid var(--line); color: var(--fg); border-radius: var(--radius); padding: 8px 14px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px));
  }
  .site-nav[data-open="false"] { display: none; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; border: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 14px 22px; border-radius: var(--radius); text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary::after { content: "→"; margin-left: 10px; color: var(--lime); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--fg); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; }
.lede { font-size: var(--step-1); color: var(--fg-muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { margin: 0; display: grid; gap: 10px; }
.hero-figure figcaption, .pilot-media figcaption { font-size: var(--step--1); color: var(--fg-muted); }

/* Photo placeholders, drawn as flowstone strata */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; max-width: 100%;
  display: flex; align-items: flex-end;
  border: 1px dashed var(--line);
}
.photo--tall { aspect-ratio: 4 / 5; }
.photo--sm { aspect-ratio: 1 / 1; }
.strata {
  background:
    radial-gradient(120% 60% at 50% -10%, var(--strata-1) 0 30%, transparent 31%),
    repeating-radial-gradient(160% 90% at 50% -20%,
      var(--strata-1) 0 14px, var(--strata-2) 14px 22px, var(--strata-3) 22px 26px, var(--strata-1) 26px 40px);
}
.strata--alt {
  background: repeating-linear-gradient(172deg, var(--strata-1) 0 10px, var(--strata-2) 10px 16px, var(--strata-3) 16px 19px);
}
.strata--teal {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--teal) 18%, transparent), transparent 70%),
    repeating-radial-gradient(160% 90% at 30% -20%,
      var(--strata-1) 0 14px, var(--strata-2) 14px 22px, var(--strata-3) 22px 26px, var(--strata-1) 26px 40px);
}
.ph-label {
  margin: 12px; padding: 8px 12px; border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--fg-muted); font-size: var(--step--1); line-height: 1.35;
}
.ph-label b { color: var(--fg); font-weight: 600; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.015em; }
.section-sub { color: var(--fg-muted); font-size: var(--step-1); }
.mini-head { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }

/* Flowstone section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { display: grid; gap: 16px; max-width: 36em; min-width: 0; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--line); }
.flow-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0 18px 20px; position: relative; }
.flow-steps li::before { content: ""; position: absolute; left: -8px; top: 26px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent-2); }
.flow-steps li:last-child::before { background: var(--lime); border-color: var(--forest); }
.step-k { font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); padding-top: 4px; }
.flow-steps h3 { font-size: var(--step-1); margin-bottom: 4px; }
.flow-steps p { color: var(--fg-muted); }

.enduses { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.enduses-label { font-size: var(--step--1); color: var(--fg-muted); }
.enduses ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.enduses li { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; padding: 6px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }

/* Pilots */
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: 32px; border-top: 1px solid var(--line); }
.pilot:first-of-type { border-top: 0; padding-top: 0; }
.pilot--flip .pilot-media { order: 2; }
.pilot-media { display: grid; gap: 12px; min-width: 0; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pilot-body { display: grid; gap: 16px; align-content: start; min-width: 0; }
.pilot-body h3 { font-size: var(--step-2); font-weight: 800; }
.pilot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--step--1); color: var(--fg-muted); }
.status { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius); }
.status--done { background: var(--strata-2); color: var(--fg); }
.status--live { background: var(--lime); color: #1F3A10; }
.status--soon { border: 1.5px dashed var(--fg-muted); color: var(--fg-muted); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 4px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-muted); }
.stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--accent); font-variant-numeric: tabular-nums; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: var(--step--1); font-weight: 600; padding: 5px 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }

.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.callout-k { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); }
.meter { margin-top: 6px; }
.meter-track { position: relative; height: 8px; border-radius: 2px; background: var(--bg-tint); }
.meter-before, .meter-after { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; width: calc((var(--v) - 1) / 4 * 100%); }
.meter-after { background: var(--accent-2); }
.meter-before { background: var(--fg-muted); opacity: .5; z-index: 1; }
.meter-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--fg-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }

.pilot--soon { grid-template-columns: 1fr; }
.pilot--soon .pilot-body { max-width: 40rem; padding: 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* Proof strip */
.proof { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.proof li { display: grid; gap: 4px; padding: 20px 20px 0 0; min-width: 0; }
.proof li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.proof b { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.1; }
.proof span { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.4; }

/* Visit */
.visits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.visit { display: grid; gap: 8px; grid-template-rows: auto auto auto 1fr auto; justify-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.visit--open { border-color: var(--fg); }
.visit h3 { font-size: var(--step-1); font-weight: 800; margin-top: 6px; }
.visit-where { font-weight: 600; }
.visit-when { color: var(--fg-muted); font-size: var(--step--1); }
.ph-inline { border-bottom: 1.5px dashed var(--fg-muted); }

/* Updates */
.updates { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.press { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.press-ph { width: 100%; padding: 28px 16px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--fg-muted); font-size: var(--step--1); }
.press-item { display: grid; gap: 2px; width: 100%; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--fg); font-weight: 600; }
.press-item span { font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq { border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--accent-2); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.faq details p { padding: 0 0 20px; color: var(--fg-muted); max-width: 40em; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeline time { font-family: var(--font-mono); font-weight: 500; font-size: 0.8rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; }

/* Verticals */
.verticals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vertical { display: grid; gap: 10px; grid-template-rows: auto auto 1fr auto; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.vertical::before { content: ""; position: absolute; left: 24px; top: -1px; width: 32px; height: 3px; background: var(--forest); }
.vertical:nth-child(2)::before { background: var(--teal); }
.vertical:nth-child(3)::before { background: var(--lime); }
.vertical h3 { font-size: var(--step-2); font-weight: 800; }
.vertical-who { font-weight: 600; color: var(--fg-muted); font-size: var(--step--1); }
.text-link { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; text-decoration: none; margin-top: 6px; }
.text-link::after { content: " →"; }
.text-link:hover { text-decoration: underline; }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.team li { display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem; color: var(--fg); background: var(--bg-tint); border: 1px solid var(--line); }

.team h3 { font-size: 1.02rem; }
.team p { color: var(--fg-muted); font-size: var(--step--1); }
.advisors { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.advisors > div { display: grid; gap: 12px; align-content: start; }
.advisors ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.advisors b { display: block; font-weight: 600; }
.advisors li { color: var(--fg-muted); font-size: var(--step--1); }
.advisors li b { color: var(--fg); font-size: var(--step-0); }

/* Partners */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partners li { display: grid; place-items: center; text-align: center; min-height: 104px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.support { margin-top: 32px; max-width: 46rem; color: var(--fg-muted); }
.support b { color: var(--fg); }

/* Get involved */
.section--deep { background: var(--deep-bg); color: var(--deep-fg); }
.section--deep .section-sub { color: var(--deep-muted); }
.section--deep .eyebrow { color: var(--lime); }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.action { display: grid; gap: 6px; padding: 24px; border-radius: var(--radius); text-decoration: none; color: var(--deep-fg); border: 1px solid color-mix(in srgb, var(--deep-fg) 22%, transparent); transition: background-color .15s ease, border-color .15s ease; }
.action:hover { background: color-mix(in srgb, var(--deep-fg) 7%, transparent); border-color: var(--lime); }
.action:first-child { background: var(--lime); color: #17331F; border-color: var(--lime); }
.action:first-child .action-k, .action:first-child .action-d { color: #2D4F2A; }
.action:first-child:hover { filter: brightness(1.05); }
.action-k { font-size: 0.72rem; font-weight: 500; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep-muted); }
.action-t { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); }
.action-d { font-size: var(--step--1); color: var(--deep-muted); }
.email-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--deep-muted); }
.email { color: var(--deep-fg); font-weight: 600; font-size: var(--step-1); user-select: all; }
.copy { font: 600 0.8rem var(--font-display); background: transparent; color: var(--deep-fg); border: 1px solid color-mix(in srgb, var(--deep-fg) 35%, transparent); border-radius: var(--radius); padding: 6px 14px; cursor: pointer; }
.copy:hover { border-color: var(--lime); }

/* Footer */
.site-footer { background: var(--deep-bg); color: var(--deep-muted); border-top: 1px solid color-mix(in srgb, var(--deep-fg) 14%, transparent); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; padding-block: 36px; align-items: center; }
.footer-name { font-family: var(--font-display); font-weight: 800; color: var(--deep-fg); }
.footer-tag { font-size: var(--step--1); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--deep-fg); text-decoration: none; font-weight: 600; font-size: var(--step--1); }
.footer-links a:hover { color: var(--lime); }
.footer-fine { grid-column: 1 / -1; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .pilot { grid-template-columns: 1fr; }
  .pilot--flip .pilot-media { order: 0; }
  .hero-figure { max-width: 440px; }
  .verticals, .actions { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .advisors { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof li:nth-child(3) { padding-left: 0; border-left: 0; }
  .visits, .updates, .faq-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats dd { font-size: var(--step-1); }
  .partners { grid-template-columns: 1fr; }
  .partners li { min-height: 72px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Clean-tech details */
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--lime); border-radius: 1px; }
.hero { background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 24px 24px; background-position: -12px -12px; }
.photo { border-style: solid; }

/* Global North / Global South */
.ns-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ns-card { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.ns-card h3 { font-size: var(--step-1); font-weight: 800; }
.ns-card p:last-child { color: var(--fg-muted); }
.ns-k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); }
.ns-note { margin-top: 16px; font-size: var(--step--1); color: var(--fg-muted); }

/* Chart figure */
.viz {
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100;
  --series-5: #e87ba4; --series-6: #008300; --series-7: #6250d6;
  margin: clamp(32px, 5vw, 48px) 0 0; padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  display: grid; gap: 18px; min-width: 0;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) .viz {
    --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
    --series-5: #d55181; --series-6: #008300; --series-7: #9085e9;
  }
}
:root[data-theme="dark"] .viz {
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
  --series-5: #d55181; --series-6: #008300; --series-7: #9085e9;
}
.viz-titles { display: grid; gap: 6px; }
.viz-titles h3 { font-size: var(--step-1); font-weight: 800; }
.viz-badge { justify-self: start; font-family: var(--font-mono); font-size: 0.72rem; padding: 2px 8px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg-muted); }
.viz-sub { color: var(--fg-muted); font-size: var(--step--1); }
.viz-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-tint); }
.seg button { font: 600 0.82rem var(--font-display); padding: 7px 12px; border: 0; border-radius: 3px; background: transparent; color: var(--fg-muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 0 0 1px var(--line); }
.seg--sub button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.seg button:focus-visible, .viz-presets button:focus-visible, .pill:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.viz-check { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step--1); font-weight: 600; cursor: pointer; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.viz-check[hidden] { display: none; }
.viz-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.viz-filters { display: grid; gap: 12px; padding-block: 14px; border-block: 1px solid var(--line); }
.viz-groups { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.viz-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.viz-group-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); margin-right: 4px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font: 600 0.8rem var(--font-body); padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--fg); cursor: pointer; }
.pill[aria-pressed="false"] { color: var(--fg-muted); background: transparent; opacity: .6; }
.pill[aria-pressed="false"] .pill-swatch { filter: grayscale(1); opacity: .5; }
.pill-val { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.pill-swatch, .swatch-line { display: inline-block; width: 16px; height: 0; border-top: 2.5px solid currentColor; }
.pill-swatch--dashed, .swatch-line--dashed { border-top-style: dashed; }
.swatch-line { color: var(--fg-muted); vertical-align: middle; }
.viz-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.viz-presets button { font: 600 0.75rem var(--font-display); padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--fg); cursor: pointer; }
.viz-presets button:hover { border-color: var(--fg-muted); }
.viz-chart { position: relative; height: 420px; min-width: 0; }
.viz-legend-note { font-size: 0.8rem; color: var(--fg-muted); }
.viz-table summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.viz-table-scroll { overflow-x: auto; margin-top: 12px; }
.viz-table table { border-collapse: collapse; width: 100%; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.viz-table th, .viz-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.viz-table th:first-child, .viz-table td:first-child { text-align: left; }
.viz-table thead th { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; color: var(--fg-muted); }
.viz-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.viz-insights > div { background: var(--surface); padding: 18px; display: grid; gap: 6px; align-content: start; }
.viz-insights p:last-child { font-size: var(--step--1); color: var(--fg-muted); }
.viz-big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); font-variant-numeric: tabular-nums; }
.viz-big span { font-family: var(--font-body); font-weight: 600; font-size: var(--step--1); color: var(--fg-muted); margin-left: 6px; }
.viz-source { font-size: 0.78rem; color: var(--fg-muted); }
@media (max-width: 900px) {
  .ns-split, .viz-insights { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .viz-chart { height: 340px; }
}

[hidden] { display: none !important; }

/* Logo */
.brand-logo { width: auto; height: 38px; flex: none; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: auto; height: 48px; flex: none; }

/* Renderings */
.rendering { margin: 0; display: grid; gap: 10px; min-width: 0; }
.rendering img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-tint); }
.rendering figcaption { font-size: var(--step--1); color: var(--fg-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.render-tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); }
.rendering--wide { margin-top: clamp(36px, 5vw, 56px); }
.pilot--soon { grid-template-columns: 1fr 1fr; }
.pilot--soon .pilot-body { max-width: none; align-self: center; }
@media (max-width: 900px) { .pilot--soon { grid-template-columns: 1fr; } }
.photo-img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Product shots (cement cylinder, 3D-printed pieces) */
.product { margin: 0; display: grid; gap: 8px; min-width: 0; }
.product-tile { aspect-ratio: 1 / 1; max-width: 100%; display: grid; place-items: center; padding: 14%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-tile img { max-height: 100%; width: auto; object-fit: contain; }
.product-tile--fill { padding: 0; }
.product-tile--fill img { width: 100%; height: 100%; object-fit: cover; }
.product figcaption { font-size: var(--step--1); color: var(--fg-muted); }

/* Product shots sit on white in both themes, matching their white photo backgrounds */
.product-tile { background: #FFFFFF; }

/* Hero rendering + rendering gallery */
.hero-img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-tint); }
.hero-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gallery { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery-main { grid-column: 1 / -1; }
.gallery .rendering:not(.gallery-main) img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

/* Who is this for: four high-level spaces */
.verticals { grid-template-columns: repeat(4, 1fr); }
.vertical { grid-template-rows: auto 1fr; }
.vertical:nth-child(4)::before { background: var(--fg-muted); }
.verticals-cta { margin-top: 24px; color: var(--fg-muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.verticals-cta .text-link { margin-top: 0; }
@media (max-width: 1060px) { .verticals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .verticals { grid-template-columns: 1fr; } }
/* longer nav labels: collapse to the menu button a little earlier */
@media (max-width: 1080px) and (min-width: 961px) { .site-nav { gap: 16px; } .site-nav a { font-size: 0.82rem; } }
/* Hero: crop the landscape lobby rendering to portrait, centred on the flowstone wall */
.hero-img { object-position: 42% 50%; }
