/* ==========================================================================
   Northing Labs — base.css  ("The Living Schematic")
   Tokens, reset, typography, layout, and the static look of every section.
   Animations / hidden initial states live in motion.css. This file only owns
   the visual states JS toggles (.is-live, .is-scrolled, .is-hidden, .is-open).
   ========================================================================== */

/* ---------- TOKENS ---------- */
:root {
  --ink:        #0B0E10;
  --ink-2:      #12171B;
  --rule-dark:  #222A30;
  --paper:      #EEEAE2;
  --paper-2:    #E4DFD4;
  --rule-light: #CFC8BA;
  --text-on-dark:   #ECE9E2;
  --muted-on-dark:  #8C949B;
  --text-on-light:  #0B0E10;
  --muted-on-light: #5E6468;
  --line:       #6F93AB;
  --line-light: #3E6178;
  --signal:     #FF5B1F;
  --signal-glow: rgba(255, 91, 31, .35);
  --signal-ink: #B83A0C;   /* signal for text on paper (4.8:1 contrast) */
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-serif:   "Instrument Serif", Georgia, serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.2, 0, .1, 1);
  --stroke: 1.5;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
html.reduce-motion { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html:has(.nav__menu.is-open) { overflow: hidden; }
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 18px; } }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
summary { cursor: pointer; }

::selection { background: var(--signal); color: var(--ink); }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 600;
  border-radius: 2px;
  transform: translateY(-200%);
  transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- LAYOUT: container, bands, survey grid ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 479px) { .container { padding-inline: 16px; } }

.band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(96px, 12vw, 176px);
  background: var(--bg);
  color: var(--fg);
}
.band--dark {
  --bg: var(--ink);
  --panel: var(--ink-2);
  --fg: var(--text-on-dark);
  --fg-2: var(--muted-on-dark);
  --rule: var(--rule-dark);
  --ln: var(--line);
  --grid-minor: rgba(111, 147, 171, .06);
  --grid-major: rgba(111, 147, 171, .11);
}
.band--light {
  --bg: var(--paper);
  --panel: var(--paper-2);
  --fg: var(--text-on-light);
  --fg-2: var(--muted-on-light);
  --rule: var(--rule-light);
  --ln: var(--line-light);
  --grid-minor: rgba(62, 97, 120, .07);
  --grid-major: rgba(62, 97, 120, .13);
}

/* Survey grid: 24px minor + 120px major, faded at the edges */
.grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  var(--grid-major) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-major) 1px, transparent 1px),
    linear-gradient(to right,  var(--grid-minor) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 18%, transparent 100%);
          mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 18%, transparent 100%);
}

/* Frame rails at the container edges */
.band::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline: max(8px, calc(50% - 620px));
  z-index: -1;
  border-inline: 1px solid var(--rule);
  opacity: .55;
  pointer-events: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4,
.hero__title, .section-title, .contact__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
h1, .hero__title { font-size: clamp(44px, 6.2vw, 92px); line-height: 1; }
.section-title   { font-size: clamp(36px, 4.6vw, 64px); }
.contact__title  { font-size: clamp(52px, 8.5vw, 132px); line-height: .98; }

h1 em, h2 em, h3 em, h4 em,
.statement__text em, .offer__text em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--signal);
}
h1 em, h2 em { font-size: 1.04em; }
.band--light h2 em,
.band--light .statement__text em,
.band--light .scenario dt.is-after,
.band--light .principles__no { color: var(--signal-ink); }

p { text-wrap: pretty; }

.eyebrow, .sheet-label, .fig-caption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.5;
  color: var(--fg-2);
}
.sheet-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.sheet-label::before {
  content: "";
  flex: none;
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow { margin-bottom: 28px; }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-title { margin-bottom: 24px; }
.section-lede {
  max-width: 56ch;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--fg-2);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 72px;
  color: var(--text-on-dark);
  transition: transform .4s var(--ease-out);
}
/* Backdrop lives on a pseudo so the fixed mobile overlay isn't trapped by it */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 16, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule-dark);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav:has(.nav__menu.is-open) { transform: none; }

.nav__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-on-dark);
}
.nav__mark { width: 32px; height: 32px; flex: none; color: var(--text-on-dark); overflow: visible; }
.nav__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav__name span { color: var(--muted-on-dark); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__menu a:not(.btn) {
  position: relative;
  font-size: 15px;
  color: var(--muted-on-dark);
  padding-block: 6px;
  transition: color .25s var(--ease-out);
}
.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__menu a:not(.btn):hover,
.nav__menu a:not(.btn):focus-visible { color: var(--text-on-dark); }
.nav__menu a:not(.btn):hover::after,
.nav__menu a:not(.btn):focus-visible::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  margin-right: -10px;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--text-on-dark);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 96px 24px 48px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease-out), visibility 0s linear .4s;
  }
  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s var(--ease-out), visibility 0s;
  }
  .nav__menu a:not(.btn) {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--text-on-dark);
  }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin-top: 28px; height: 52px; padding: 0 24px; font-size: 16px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow .25s var(--ease-out), background-color .25s var(--ease-out),
              border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.btn span { display: inline-block; transition: transform .25s var(--ease-out); }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover,
.btn--signal:focus-visible { box-shadow: 0 0 0 6px var(--signal-glow); }
.btn--signal:hover span,
.btn--signal:focus-visible span { transform: translate(2px, -2px); }
.btn--ghost { border-color: rgba(236, 233, 226, .25); color: var(--text-on-dark); }
.btn--ghost:hover,
.btn--ghost:focus-visible { border-color: var(--text-on-dark); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* ---------- COORDS READOUT ---------- */
.coords {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  background: rgba(11, 14, 16, .72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid var(--rule-dark);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.2;
  color: var(--muted-on-dark);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  white-space: nowrap;
}
.coords__sheet {
  padding-left: 14px;
  border-left: 1px solid var(--rule-dark);
  color: var(--text-on-dark);
}
@media (max-width: 767px) { .coords { display: none; } }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 140px;
  padding-bottom: 80px;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero__title { margin-bottom: 28px; }
.hero__lede {
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.hero__figure { margin: 0; min-width: 0; }
.fig-caption { margin-top: 16px; }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
  .fig-caption { text-align: right; }
}

/* ---------- TICKER ---------- */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: calc(100% + 80px);
  margin: -24px -40px;
  padding: 18px 0;
  background: var(--signal);
  color: var(--ink);
  transform: rotate(-1.5deg);
}
.ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ticker__track span::after {
  content: "\25C6";
  margin-inline: 28px;
  font-size: .4em;
  font-weight: 400;
}
.ticker__track span:nth-child(even)::after { content: "\25CF"; }

/* ---------- STATEMENT ---------- */
.statement__text {
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.statement .sheet-label { margin-bottom: 40px; }
.statement__note {
  max-width: 44ch;
  margin-top: 48px;
  font-size: 18px;
  color: var(--fg-2);
}
@media (min-width: 900px) {
  .statement__note { margin-left: auto; }
}

/* ---------- SERVICES: ladder diagram ---------- */
.ladder {
  position: relative;
  list-style: none;
  padding-inline: 28px;
}
.ladder::before,
.ladder::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--rule-dark);
  transition: background-color .6s var(--ease-out);
}
.ladder::before { left: 0; }
.ladder::after  { right: 0; }
.ladder:has(.rung.is-live)::before,
.ladder:has(.rung.is-live)::after {
  background: color-mix(in srgb, var(--signal) 38%, var(--rule-dark));
}

.rung {
  padding-block: 56px;
  border-bottom: 1px solid var(--rule-dark);
}
.rung:first-child { padding-top: 40px; }
.rung:last-child { border-bottom: 0; }

/* The wire runs from the L1 rail through contact + coil to the L2 rail.
   The contact/coil svg keeps its natural 220x24 size (no distortion);
   a ::before line stretches the remaining distance. */
.rung__rail {
  position: relative;
  display: flex;
  align-items: center;
  height: 24px;
  margin-inline: -28px;
}
.rung__rail::before {
  content: "";
  flex: 1;
  margin-right: -1px;
  height: 1.5px;
  background: var(--line);
  transition: background-color .6s var(--ease-out);
}
.rung__symbol {
  flex: none;
  width: 220px;
  height: 24px;
  overflow: visible;
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}
.rung__symbol path,
.rung__symbol circle {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: stroke .6s var(--ease-out), fill .6s var(--ease-out), filter .6s var(--ease-out);
}
.rung__symbol .rung__coil { fill: transparent; }
.rung__no {
  position: absolute;
  left: 28px;
  top: -26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted-on-dark);
  white-space: nowrap;
  transition: color .6s var(--ease-out);
}
.rung__rail { margin-top: 26px; }

.rung__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin-top: 32px;
}
@media (min-width: 900px) {
  .rung__body {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 64px;
    align-items: center;
  }
}
.rung__level {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  transition: color .6s var(--ease-out);
}
.rung__title {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}
.rung__text > p:not([class]) {
  max-width: 52ch;
  color: var(--muted-on-dark);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  list-style: none;
}
.tags li {
  padding: 6px 10px;
  border: 1px solid var(--rule-dark);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted-on-dark);
  transition: border-color .6s var(--ease-out);
}
.rung__art { width: 100%; aspect-ratio: 4 / 3; }

/* Energized rung */
.rung.is-live .rung__rail::before { background: var(--signal); }
.rung.is-live .rung__symbol path,
.rung.is-live .rung__symbol circle { stroke: var(--signal); }
.rung.is-live .rung__symbol .rung__coil {
  fill: var(--signal-glow);
  filter: drop-shadow(0 0 8px var(--signal-glow));
}
.rung.is-live .rung__no,
.rung.is-live .rung__level { color: var(--signal); }
.rung.is-live .tags li { border-color: rgba(255, 91, 31, .35); }

/* ---------- SCENARIOS ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 900px) { .scenario-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scenario {
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid var(--rule-light);
  border-radius: 2px;
}
.scenario__tag {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.scenario dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.scenario dd { margin: 6px 0 20px; font-size: 16px; line-height: 1.55; }
.scenario dd:last-child { margin-bottom: 0; }
.scenario dt.is-after { color: var(--signal); }
.scenario dt.is-after::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--signal);
  vertical-align: 1px;
}

/* ---------- PROCESS ---------- */
.process { position: relative; margin-top: 24px; }
.process__wire {
  position: absolute;
  top: 6px;
  left: 7px;
  right: calc((100% - 128px) / 5 - 7px);
  height: 2px;
  background: var(--rule-dark);
}
.process__wire-fill {
  position: absolute;
  inset: 0;
  background: var(--signal);
  transform-origin: left;
  transform: scaleX(1);
}
html.js:not(.reduce-motion) .process__wire-fill { transform: scaleX(0); }

.process__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  list-style: none;
}
.process__step { position: relative; padding-left: 44px; }
.process__node {
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  width: 14px; height: 14px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.process__no {
  margin: -2px 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted-on-dark);
  transition: color .5s var(--ease-out);
}
.process__step h3 { margin-bottom: 10px; font-size: 24px; line-height: 1.15; }
.process__step p:not(.process__no) { font-size: 16px; color: var(--muted-on-dark); }
.process__step.is-live .process__node {
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: 0 0 0 6px var(--signal-glow);
}
.process__step.is-live .process__no { color: var(--signal); }

/* < 1024: vertical bus on the left */
@media (max-width: 1023px) {
  .process__wire {
    top: 7px; bottom: 0;
    left: 6px; right: auto;
    width: 2px; height: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
            mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
  }
  .process__wire-fill { transform-origin: top; transform: scaleY(1); }
  html.js:not(.reduce-motion) .process__wire-fill { transform: scaleY(0); }
}
@media (min-width: 1024px) {
  .process__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
  .process__step { padding-left: 0; }
  .process__node { position: relative; display: block; }
  .process__no { margin: 28px 0 8px; }
}

.offer {
  display: grid;
  gap: 24px;
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  border-left: 3px solid var(--signal);
}
.offer__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
}
.offer__text {
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.offer .btn { justify-self: start; }
@media (min-width: 900px) {
  .offer {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 48px;
    row-gap: 16px;
    align-items: center;
  }
  .offer__label { grid-column: 1; }
  .offer__text  { grid-column: 1; }
  .offer .btn   { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- ABOUT ---------- */
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
}
.about__copy .section-title { margin-bottom: 32px; }
.about__copy p:not(.sheet-label) {
  max-width: 54ch;
  font-size: 18px;
  color: var(--muted-on-light);
}
.about__copy p:not(.sheet-label) + p { margin-top: 20px; }
@media (min-width: 1024px) {
  .about__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
  .principles { grid-column: 1 / -1; }
  .founders { padding-top: 56px; }
}
.founder {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-block: 28px;
  border-top: 1px solid var(--rule-light);
}
.founder:last-child { padding-bottom: 0; }
.founder__bubble { width: 96px; height: 96px; }
.founder__bubble circle,
.founder__bubble path {
  fill: none;
  stroke: var(--line-light);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.founder__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  fill: var(--text-on-light);
}
.founder__loop {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  fill: var(--muted-on-light);
}
.founder h3 { font-size: 24px; line-height: 1.15; }
.founder__role {
  margin: 4px 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.founder p:not(.founder__role) { font-size: 16px; color: var(--muted-on-light); }

.principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--rule-light);
  list-style: none;
}
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principles li { font-size: 16px; color: var(--muted-on-light); }
.principles strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--text-on-light);
}
.principles__no {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--signal);
}

/* ---------- WORK ---------- */
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-slot {
  padding: 20px;
  border: 1px dashed var(--rule-dark);
  border-radius: 2px;
  transition: border-color .4s var(--ease-out);
}
.work-slot:hover { border-color: var(--line); }
.work-slot p {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ---------- DRAWING MOUNTS ---------- */
[data-drawing] { display: block; width: 100%; }
.work-slot [data-drawing] { aspect-ratio: 4 / 3; }

/* ---------- FAQ ---------- */
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.faq__inner .section-head { margin-bottom: 0; }
@media (min-width: 1024px) {
  .faq__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq__inner .section-head { position: sticky; top: 120px; }
}
.faq details { border-top: 1px solid var(--rule-light); }
.faq details:last-child { border-bottom: 1px solid var(--rule-light); }
.faq summary {
  position: relative;
  list-style: none;
  padding: 28px 48px 28px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color .25s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover { color: var(--line-light); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 16px; height: 16px;
  margin-top: -8px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .4s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  max-width: 62ch;
  padding-bottom: 28px;
  color: var(--muted-on-light);
}

/* ---------- CONTACT ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}
.contact__title { margin-bottom: 32px; overflow-wrap: break-word; }
.contact__art { max-width: 320px; aspect-ratio: 1; margin-top: 48px; }
@media (min-width: 1024px) {
  .contact__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
}
.form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
}
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.field span em { font-style: normal; color: var(--muted-on-dark); }
.field input,
.field textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-dark);
  border-radius: 0;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--signal);
  box-shadow: 0 1px 0 var(--signal);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-on-dark); opacity: .6; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text-on-dark);
  -webkit-box-shadow: 0 0 0 40px var(--ink-2) inset;
  caret-color: var(--text-on-dark);
}
.form__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: var(--muted-on-dark);
}

/* ---------- FOOTER: drawing title block ---------- */
.footer { padding-block: 56px 40px; }
/* clear the fixed #coords readout at the bottom of the page */
@media (min-width: 768px) { .footer { padding-bottom: 96px; } }
.titleblock {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule-dark);
  border-left: 1px solid var(--rule-dark);
}
.titleblock__cell {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.titleblock__k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.titleblock__v { font-size: 14px; line-height: 1.45; }
.titleblock__v--lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.titleblock__sub { font-size: 13px; color: var(--muted-on-dark); }
.titleblock__links { display: flex; flex-wrap: wrap; gap: 14px; }
.titleblock__links a { color: var(--muted-on-dark); transition: color .25s var(--ease-out); }
.titleblock__links a:hover,
.titleblock__links a:focus-visible { color: var(--text-on-dark); }
@media (min-width: 560px) {
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock__cell--brand,
  .titleblock__cell:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .titleblock { grid-template-columns: 2fr 1.9fr 2.1fr 2.3fr .6fr .9fr; }
  .titleblock__cell--brand,
  .titleblock__cell:last-child:nth-child(even) { grid-column: auto; }
}

/* ---------- MULTI-PAGE: shared additions ---------- */
/* "Explore →" links that hand off from a home section to its own page */
.section-more { margin-top: clamp(40px, 5vw, 64px); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: color .25s var(--ease-out), gap .25s var(--ease-out);
}
.link-arrow:hover, .link-arrow:focus-visible { color: var(--signal); gap: 16px; }
.band--light .link-arrow:hover, .band--light .link-arrow:focus-visible { color: var(--signal-ink); }
.faq__list .section-more { margin-top: 32px; }

/* home "local & connected" teaser: principles as a single stacked column beside the copy */
.principles--stacked { grid-column: auto !important; grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 1024px) { .principles--stacked { border-top: 0; padding-top: 0; margin-top: 56px; } }

/* current page in the nav */
.nav__menu a[aria-current="page"]:not(.btn) { color: var(--text-on-dark); }
.nav__menu a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); background: var(--signal); }

/* cross-document page transitions (Chromium; others just navigate normally) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: nl-page-out .28s var(--ease-out) both; }
::view-transition-new(root) { animation: nl-page-in .5s var(--ease-out) both; }
@keyframes nl-page-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes nl-page-in { from { opacity: 0; transform: translateY(16px); } }
.nav { view-transition-name: nav; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- LOGO: the Meridian ----------
   A 1.5px orange north line through the "o" of Northing, drawn with the same pen as the ladder rails
   and survey lines. In the nav it spans the full bar height so it reads as a grid line, not a text cursor. */
.meridian {
  position: relative;
  display: inline-block;
  font-style: normal;
}
.meridian::after {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--meridian-ext, -.28em);
  bottom: var(--meridian-ext, -.28em);
  width: 1.5px;
  margin-left: -.75px;
  background: var(--signal);
  transform-origin: 50% 0;
  pointer-events: none;
}
/* nav: run edge to edge of the 72px bar (font-size 18px, line-height 1) */
.nav .meridian { --meridian-ext: -27px; }
.titleblock__v--lg span { color: var(--muted-on-dark); }
/* the line drops in once, on the home page only, so page-to-page navigation stays calm */
html.js:not(.reduce-motion) body[data-page="home"] .nav .meridian::after {
  animation: nl-meridian-drop .9s var(--ease-out) .2s both;
}
@keyframes nl-meridian-drop { from { transform: scaleY(0); } }
