/* SynaptrixAI — site styles (November 2026 redesign).
 *
 * Porcelain page, graphite ink, brand teal. Archivo at its expanded width
 * carries the headlines; IBM Plex Sans the reading; Plex Mono the labels and
 * data. The one dark object on a light page is the status board in the hero:
 * the brand's old dark palette, kept as the thing it was always about, the
 * software we run.
 */

:root {
  --paper: #f2f4f5;
  --card: #ffffff;
  --ink: #0b1215;
  --ink-2: #111b1f;
  --ink-3: #1d2a30;
  --text: #0b1215;
  --muted: #4b585e;
  --faint: #5f6d73; /* 4.85:1 on --paper, 5.3:1 on white (was #66747a, 4.4:1 on paper) */
  --rule: #d9dfe2;
  --rule-strong: #c3ccd0;
  --teal: #0a6e65;
  --teal-hover: #075a52;
  --teal-band: #0b5f58;
  --synapse: #6ee7dc;
  --amber: #8f5500;
  --amber-dark: #f5b851;
  --on-ink: #e6ecee;
  --on-ink-muted: #9aa9af;
  --down: #f28b82;

  --f-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(64px, 8vw, 112px);
  --radius: 14px;
  --radius-sm: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-hover); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
/* In-page links (#case, #board-title, the work shelves) land below the sticky masthead. */
[id] { scroll-margin-top: 96px; }
@media (max-width: 760px) { [id] { scroll-margin-top: 124px; } }
.band--ink :focus-visible, .board :focus-visible, .foot :focus-visible, .cta :focus-visible { outline-color: var(--synapse); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

/* ── type ─────────────────────────────────────────────────────────────── */

.display,
h2,
.tile__name,
.shelf__head h2 {
  font-family: var(--f-display);
  font-stretch: 118%;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}
.display {
  font-size: clamp(2.35rem, 1rem + 3.6vw, 4rem);
  font-stretch: 125%;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.display--article { font-size: clamp(2rem, 1rem + 2.6vw, 3.1rem); font-stretch: 112%; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 1rem + 1.9vw, 2.55rem); }
h3 { font: 600 1.12rem/1.3 var(--f-display); font-stretch: 104%; letter-spacing: -0.005em; }

.eyebrow {
  font: 500 12.5px/1.2 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.lede { font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 40em; text-wrap: pretty; }

/* ── buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 500 15.5px/1 var(--f-body);
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn .arrow { width: 16px; height: 16px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--small { min-height: 40px; padding: 9px 16px; font-size: 14.5px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--synapse); border-color: var(--synapse); color: var(--ink); }
.btn--off { background: transparent; color: var(--faint); border: 1px dashed var(--rule-strong); cursor: default; }
.btn--off:hover { background: transparent; color: var(--faint); border-color: var(--rule-strong); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.more {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 15px/1.3 var(--f-body); color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px;
}
.more .arrow { width: 15px; height: 15px; transition: transform 0.2s; }
.more:hover { color: var(--teal); border-color: var(--teal); }
.more:hover .arrow { transform: translateX(3px); }

/* ── masthead ─────────────────────────────────────────────────────────── */

.mast {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.mast__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 650 19px/1 var(--f-display); font-stretch: 112%; letter-spacing: -0.01em; }
.brand b { color: var(--teal); font-weight: 650; }
.brand .mark { width: 24px; height: 24px; color: var(--teal); }
.brand:hover { color: var(--ink); }
.brand--inverse { color: #fff; }
.brand--inverse b, .brand--inverse .mark { color: var(--synapse); }
.brand--inverse:hover { color: #fff; }
.mast__nav { display: flex; gap: 4px; margin-left: auto; }
.mast__nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
}
.mast__nav a:hover { color: var(--ink); background: rgba(11, 18, 21, 0.05); }
.mast__nav a[aria-current='page'] { color: var(--ink); background: rgba(11, 18, 21, 0.07); }

@media (max-width: 760px) {
  .mast__in { flex-wrap: wrap; gap: 6px 12px; padding-block: 10px; }
  .mast .btn--small { margin-left: auto; }
  .mast__nav { order: 3; width: 100%; margin-left: -12px; overflow-x: auto; scrollbar-width: none; }
  .mast__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; }
  .mast__in { padding-block: 8px 2px; }
}

/* ── bands and section heads ──────────────────────────────────────────── */

.band { padding-block: var(--band); }
.band--white { background: var(--card); border-block: 1px solid var(--rule); }
.band--ink { background: var(--ink); color: var(--on-ink); }
.band--ink .eyebrow { color: var(--synapse); }
.band--ink .head__lede p { color: var(--on-ink-muted); }

.head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px);
}
.head__lede { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.head__lede p { color: var(--muted); font-size: 1.06rem; max-width: 38em; }
.head__lede:empty { display: none; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

.pagehead { padding-block: clamp(56px, 8vw, 104px) clamp(8px, 2vw, 24px); }
.pagehead h1 { font-family: var(--f-display); text-wrap: balance; font-size: clamp(2.2rem, 1rem + 3vw, 3.6rem); font-stretch: 122%; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.pagehead .head { margin-bottom: clamp(28px, 4vw, 48px); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .pagehead .head { grid-template-columns: 1fr; } }

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero .lede { margin-top: 28px; }

/* The promise and its proof: "run" in the headline, and under the buttons the result of the
   status board's live check, which the board's script fills in as the products answer. */
.display .run { color: var(--teal); }
.live {
  display: inline-grid; grid-template-columns: 8px minmax(0, auto); gap: 4px 12px; align-items: start;
  margin-top: 28px; max-width: 100%; padding: 12px 18px 12px 16px;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  font: 500 13px/1.45 var(--f-mono); color: var(--ink); text-decoration: none;
  transition: border-color 0.2s;
}
.live:hover { border-color: var(--ink); color: var(--ink); }
.live__dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--teal); }
.live[data-state='running'] .live__dot { animation: pulse-teal 1.2s ease-out infinite; }
.live[data-state='partial'] .live__dot { background: var(--amber); }
.live__go { grid-column: 2; color: var(--teal); white-space: nowrap; }
.live:hover .live__go { text-decoration: underline; text-underline-offset: 3px; }
@keyframes pulse-teal { 0% { box-shadow: 0 0 0 0 rgba(10, 110, 101, 0.45); } 100% { box-shadow: 0 0 0 9px rgba(10, 110, 101, 0); } }
@media (max-width: 1040px) { .hero__grid { grid-template-columns: 1fr; } }

/* ── the status board (signature) ─────────────────────────────────────── */

.board {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 40px 80px -40px rgba(11, 18, 21, 0.55), 0 12px 24px -16px rgba(11, 18, 21, 0.35);
  overflow: hidden;
}
.board__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--ink-3); }
.board__title { flex: 1; font: 500 12.5px/1.35 var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-ink-muted); }
.board__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--synapse); box-shadow: 0 0 0 0 rgba(110, 231, 220, 0.5); flex: none; }
.board[data-running] .board__pulse { animation: pulse 1.2s ease-out infinite; }
.board__again {
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.04em;
  color: var(--synapse); background: transparent;
  border: 1px solid var(--ink-3); border-radius: 999px; padding: 9px 14px; min-height: 34px; cursor: pointer;
  position: relative;
}
/* A 44px hit area around the small pill, without making it look bigger. */
.board__again::after { content: ''; position: absolute; inset: -5px -2px; }
.board__again:hover:not(:disabled) { border-color: var(--synapse); }
.board__again:disabled { opacity: 0.45; cursor: progress; }

.board__rows { padding-block: 6px; }
.board__row {
  display: grid; grid-template-columns: 10px minmax(0, 1.05fr) minmax(0, 0.85fr) 9em 7.4em;
  align-items: center; gap: 14px;
  padding: 8.5px 20px; font-size: 14.5px; line-height: 1.3;
}
.board__row + .board__row { border-top: 1px solid rgba(255, 255, 255, 0.045); }
.board__dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #52636a; transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.board__row[data-tone='up'] .board__dot { border-color: rgba(110, 231, 220, 0.6); }
.board__row[data-tone='trial'] .board__dot { border-color: rgba(245, 184, 81, 0.6); }
.board__name { color: #f4f8f9; font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__name:hover { color: var(--synapse); text-decoration: underline; }
.board__sector { color: var(--on-ink-muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__state { font: 500 11.5px/1.2 var(--f-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-ink-muted); white-space: nowrap; }
.board__row[data-tone='up'] .board__state { color: var(--synapse); }
.board__row[data-tone='trial'] .board__state { color: var(--amber-dark); }
.board__ms { font: 400 12.5px/1.2 var(--f-mono); color: #74858b; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.board__row[data-result='pending'] .board__dot { animation: blink 0.9s ease-in-out infinite; }
.board__row[data-result='up'] .board__dot { background: var(--synapse); border-color: var(--synapse); box-shadow: 0 0 0 3px rgba(110, 231, 220, 0.16); animation: land 0.6s ease-out; }
.board__row[data-tone='trial'][data-result='up'] .board__dot { background: var(--amber-dark); border-color: var(--amber-dark); box-shadow: 0 0 0 3px rgba(245, 184, 81, 0.16); }
.board__row[data-tone='soon'][data-result='up'] .board__dot { background: var(--on-ink-muted); border-color: var(--on-ink-muted); box-shadow: 0 0 0 3px rgba(154, 169, 175, 0.14); }
.board__row[data-result='up'] .board__ms { color: var(--on-ink); }
.board__row[data-result='down'] .board__dot { background: var(--down); border-color: var(--down); }
.board__row[data-result='down'] .board__ms { color: var(--down); }

.board__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
  padding: 14px 20px 16px; border-top: 1px solid var(--ink-3);
  font: 400 12.5px/1.45 var(--f-mono); color: var(--on-ink-muted);
}
.board__foot [data-summary] { color: var(--on-ink); }
.board__note { max-width: 34em; }

/* Phones: the status drops under the name, the sector goes, the result keeps its column. */
@media (max-width: 560px) {
  .board__row {
    grid-template-columns: 10px minmax(0, 1fr) auto;
    grid-template-areas: 'dot name ms' '. state ms';
    gap: 3px 12px; padding: 9px 16px;
  }
  .board__dot { grid-area: dot; }
  .board__name { grid-area: name; }
  .board__state { grid-area: state; font-size: 10.5px; }
  .board__ms { grid-area: ms; }
  .board__sector { display: none; }
  .board__head, .board__foot { padding-inline: 16px; }
}

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(110, 231, 220, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(110, 231, 220, 0); } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes land { 0% { box-shadow: 0 0 0 0 rgba(110, 231, 220, 0.55); } 100% { box-shadow: 0 0 0 3px rgba(110, 231, 220, 0.16); } }

/* ── services ─────────────────────────────────────────────────────────── */

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.service { padding-block: 28px 32px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.service h2, .service h3 { font: 650 1.45rem/1.15 var(--f-display); font-stretch: 112%; letter-spacing: -0.015em; }
.service p { color: var(--muted); max-width: 36em; }
.service__proof { font-size: 15px; margin-top: auto; padding-top: 4px; }
.service__proof span { font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); margin-right: 8px; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* ── tiles ────────────────────────────────────────────────────────────── */

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(20px, 2.4vw, 32px); }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

.tile { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.tile__frame {
  display: block; aspect-ratio: 16 / 10; margin-bottom: 8px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--ink); border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(11, 18, 21, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tile__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tile:hover .tile__frame { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(11, 18, 21, 0.45); }
.tile__type {
  height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
  background:
    linear-gradient(rgba(110, 231, 220, 0.07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(110, 231, 220, 0.07) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--ink);
}
.tile__type span { font: 700 clamp(1.4rem, 2.6vw, 2rem)/1 var(--f-display); font-stretch: 125%; color: var(--synapse); letter-spacing: -0.02em; text-align: center; padding-inline: 16px; }
.tile__type small { font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-muted); }
.tile__meta { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.tile__name { font-size: 1.4rem; font-stretch: 112%; }
.tile:hover .tile__name { color: var(--teal); }
.tile__thesis { color: var(--muted); font-size: 15.5px; line-height: 1.5; }

.state { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.state[data-tone='up'] { color: var(--teal); }
.state[data-tone='up']::before { background: currentColor; }
.state[data-tone='trial'] { color: var(--amber); }

/* ── work index ───────────────────────────────────────────────────────── */

.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--rule);
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
.jump a:hover { border-color: var(--ink); }
.jump span { font: 500 12px/1 var(--f-mono); color: var(--faint); background: var(--paper); border-radius: 999px; padding: 4px 7px; }

.shelf { scroll-margin-top: 80px; }
.shelf__head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 12px 48px; align-items: baseline;
  padding-bottom: 24px; margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule);
}
.shelf__head h2 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); }
.shelf__head p { color: var(--muted); }
.shelf__count { font: 500 12.5px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
@media (max-width: 860px) { .shelf__head { grid-template-columns: 1fr; } }

/* ── operations (ink band) ────────────────────────────────────────────── */

.ops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ops__item { padding-top: 22px; border-top: 1px solid var(--ink-3); position: relative; }
.ops__item::before { content: ''; position: absolute; top: -1px; left: 0; width: 36px; height: 2px; background: var(--synapse); }
.ops__item h3 { color: #fff; margin-bottom: 10px; }
.ops__item p { color: var(--on-ink-muted); font-size: 15.5px; }
@media (max-width: 980px) { .ops { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ops { grid-template-columns: 1fr; } }

/* ── process (a real sequence, so it is numbered) ─────────────────────── */

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
/* The line runs from the first circle's centre to the last one's: each column
   is (100% - 4 gaps) / 5 wide, so the last centre sits 18px into the last column. */
.steps::before { content: ''; position: absolute; top: 17px; left: 18px; right: calc((100% - 112px) / 5 - 18px); height: 1px; background: var(--rule-strong); }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step__n {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px;
  background: var(--paper); border: 1px solid var(--rule-strong); color: var(--teal);
  font: 500 14px/1 var(--f-mono); position: relative;
}
.band--white .step__n { background: var(--card); }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 36px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .step__n { grid-row: span 2; margin: 0; }
}

/* ── services page: capabilities, engagement models ───────────────────── */

.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.caps li { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); font-weight: 500; display: flex; gap: 12px; align-items: baseline; }
.caps li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--teal); border-radius: 1px; transform: translateY(-2px); }
@media (max-width: 860px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.models--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.model { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.band:not(.band--white) .model { background: var(--card); }
.model h3 { font-size: 1.25rem; font-stretch: 110%; }
.model p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) { .models, .models--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .models, .models--four { grid-template-columns: 1fr; } }

/* ── company / contact ────────────────────────────────────────────────── */

.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 20px; font-size: 1.08rem; max-width: 38em; }
.about__text p:first-child { font-size: 1.2rem; color: var(--ink); }
.about__text p { color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 500 12px/1.6 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.facts dd { font-size: 15.5px; }

.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.contact .lede { margin-top: 24px; }
.contact__aside { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; }
.contact__aside h2 { font-size: 1.2rem; font-stretch: 108%; margin-bottom: 16px; }
.contact__aside > p { color: var(--muted); font-size: 14.5px; margin-top: 18px; }
.checklist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.checklist li::before { content: ''; flex: none; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) scale(0.8); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ── product page ─────────────────────────────────────────────────────── */

.crumbs { display: flex; align-items: center; gap: 10px; padding-top: 28px; font: 500 13px/1 var(--f-mono); letter-spacing: 0.04em; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }

.product__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(36px, 5vw, 64px); }
.product__title .display { font-size: clamp(2.6rem, 1rem + 5vw, 5.2rem); }
.product__title .lede { margin-top: 22px; }
.product__shot img { width: 100%; border-radius: 18px; border: 1px solid var(--rule); box-shadow: 0 40px 80px -48px rgba(11, 18, 21, 0.5); }
.product__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px); align-items: start; }
.product__text { display: flex; flex-direction: column; gap: 20px; font-size: 1.08rem; color: var(--muted); max-width: 40em; }
.product__text p:first-child { color: var(--ink); font-size: 1.18rem; }
.proves { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.proves h2 { font: 500 12px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.proves p { font-size: 1.05rem; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { font: 500 12.5px/1 var(--f-mono); padding: 8px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); color: var(--muted); }
@media (max-width: 860px) {
  .product__head, .product__body { grid-template-columns: 1fr; }
  .proves { position: static; }
}

/* ── writing ──────────────────────────────────────────────────────────── */

.notes { border-top: 1px solid var(--rule); }
.note {
  display: grid; grid-template-columns: 11em minmax(0, 5fr) minmax(0, 6fr); gap: 8px 40px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none;
}
.note time { font: 500 12.5px/1.5 var(--f-mono); color: var(--faint); letter-spacing: 0.03em; }
.note h3 { font-size: 1.22rem; font-stretch: 108%; }
.note p { color: var(--muted); font-size: 15.5px; }
.note:hover h3 { color: var(--teal); }
@media (max-width: 860px) { .note { grid-template-columns: 1fr; } }

.article { padding-block: clamp(32px, 5vw, 64px) var(--band); }
.article__head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.article__head .lede { margin-top: 20px; }
.prose { max-width: 42rem; font-size: 1.08rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.35rem, 1rem + 0.9vw, 1.7rem); margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose code { font: 0.88em var(--f-mono); background: rgba(11, 18, 21, 0.06); padding: 0.12em 0.4em; border-radius: 5px; }
.prose pre { background: var(--ink); color: var(--on-ink); padding: 20px 22px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 0.9rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose blockquote { border-left: 3px solid var(--teal); padding-left: 20px; color: var(--muted); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2.4em; }

/* ── closing call to action ───────────────────────────────────────────── */

.cta { background: var(--teal-band); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.cta__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 64px; align-items: end; }
.cta h2 { font-size: clamp(1.9rem, 1rem + 2.4vw, 3rem); font-stretch: 122%; font-weight: 700; }
.cta p { color: rgba(255, 255, 255, 0.86); margin-top: 18px; max-width: 38em; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta__mail { color: #fff; font: 500 15px/1 var(--f-mono); }
.cta__mail:hover { color: var(--synapse); }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* ── footer ───────────────────────────────────────────────────────────── */

.foot { background: var(--ink); color: var(--on-ink-muted); padding-top: clamp(56px, 6vw, 80px); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; padding-bottom: 48px; }
.foot__brand p { margin-top: 18px; max-width: 22em; color: var(--on-ink); }
.foot__mail { display: inline-block; margin-top: 18px; color: var(--synapse); font-family: var(--f-mono); font-size: 14px; }
.foot__mail:hover { color: #fff; }
.foot h2 { font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #74858b; margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; }
.foot ul li + li { margin-top: 8px; }
.foot a { color: var(--on-ink); text-decoration: none; }
.foot a:hover { color: var(--synapse); text-decoration: underline; }
.foot__products { columns: 2; column-gap: 24px; }
.foot__products li { break-inside: avoid; }
.foot address { font-style: normal; color: var(--on-ink); line-height: 1.55; }
.foot__col p { margin-top: 12px; line-height: 1.55; }
.foot__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; font: 400 12.5px/1.4 var(--f-mono); color: #74858b; }
.foot__base::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--ink-3); }
@media (max-width: 980px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .foot__grid { grid-template-columns: 1fr; }
  /* Finger-sized rows for the footer lists on phones. */
  .foot ul li + li { margin-top: 0; }
  .foot ul a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* ── home: the flagship case study leads the hero ─────────────────────── */

.flag {
  background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -48px rgba(11, 18, 21, 0.45), 0 1px 2px rgba(11, 18, 21, 0.05);
}
.flag__frame { display: block; aspect-ratio: 16 / 8.2; overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--rule); }
.flag__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.flag:hover .flag__frame img { transform: scale(1.015); }
.flag__body { padding: 22px 28px 28px; }
.flag__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.flag__kicker > span:first-child { color: var(--teal); }
.flag__name { font-size: clamp(1.6rem, 1rem + 1.2vw, 2.1rem); font-stretch: 118%; margin-top: 14px; }
.flag__name a { color: var(--ink); text-decoration: none; }
.flag__name a:hover { color: var(--teal); }
.flag__thesis { color: var(--muted); margin-top: 8px; font-size: 1.02rem; text-wrap: pretty; }
.flag__facts { margin: 16px 0 22px; border-top: 1px solid var(--rule); }
.flag__facts div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.flag__facts dt { font: 500 11.5px/1.75 var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); }
.flag__facts dd { font-size: 15px; line-height: 1.5; }
@media (max-width: 560px) {
  .flag__body { padding: 20px; }
  .flag__facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ── home: the status board inside the operations band ────────────────── */

.ops-live { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.ops--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.band--ink .board { background: var(--ink-2); box-shadow: 0 0 0 1px var(--ink-3), 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
@media (max-width: 1040px) { .ops-live { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ops--stack { grid-template-columns: 1fr; } }

/* ── product page: case study ─────────────────────────────────────────── */

.case { padding-block: clamp(48px, 6vw, 88px) 0; }
.case__head { margin-bottom: clamp(24px, 3vw, 36px); }
.case__head h2 { max-width: 20em; }
.case__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.case__part { padding: 24px 28px 8px 0; min-width: 0; }
.case__part + .case__part { padding-left: 28px; border-left: 1px solid var(--rule); }
.case__part h3 { font: 500 12px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.case__part p { color: var(--muted); font-size: 1.02rem; }
.case__part .checklist li { font-size: 15px; }
.case__part .checklist li:first-child { padding-top: 0; }
@media (max-width: 860px) {
  .case__grid { grid-template-columns: 1fr; }
  .case__part, .case__part + .case__part { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

.demo { margin-top: clamp(32px, 4vw, 48px); background: var(--ink); color: var(--on-ink); border-radius: 18px; padding: clamp(22px, 3vw, 32px); }
.demo__title { font: 500 12px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--synapse); margin-bottom: 18px; }
.demo__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; counter-reset: demo; }
.demo__steps li { counter-increment: demo; min-width: 0; }
.demo__steps p { font-size: 15px; margin-bottom: 10px; }
.demo__steps p::before { content: counter(demo) '. '; color: var(--synapse); font-family: var(--f-mono); }
.demo pre { margin: 0; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius-sm); padding: 16px 18px; overflow-x: auto; font: 400 13px/1.65 var(--f-mono); color: #d7e3e6; scrollbar-color: var(--ink-3) transparent; }
@media (max-width: 980px) { .demo__steps { grid-template-columns: 1fr; } }

/* ── contact: the enquiry form ────────────────────────────────────────── */

button.btn { cursor: pointer; }
.enquiry { margin-top: 36px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.enquiry__title { font-size: 1.3rem; font-stretch: 110%; margin-bottom: 20px; }
.enquiry__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label span { font: 400 11.5px/1 var(--f-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); margin-left: 6px; }
.field__hint { font-size: 14px; color: var(--muted); margin-top: -2px; }
.field input,
.field textarea {
  width: 100%; font: 400 16px/1.45 var(--f-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius-sm);
  padding: 11px 13px; transition: border-color 0.15s, background-color 0.15s;
}
.field textarea { resize: vertical; min-height: 9.5em; }
.field input:hover, .field textarea:hover { border-color: var(--faint); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); background: #fff; }
.field input:user-invalid, .field textarea:user-invalid,
.field [aria-invalid='true'] { border-color: #b3261e; background: #fff; }
.field [aria-invalid='true']:focus-visible { outline-color: #b3261e; }
/* Said in words with a mark, not by colour alone. */
.field__error { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; color: #b3261e; }
.field__error::before {
  content: '!'; flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
  background: #b3261e; color: #fff; font: 700 11px/17px var(--f-body); text-align: center;
}
.field__error[hidden] { display: none; }
.enquiry__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.enquiry__send p { font-size: 14px; color: var(--muted); max-width: 30em; }
.enquiry__send .btn:disabled { opacity: 0.6; cursor: progress; }
.enquiry__status { margin-top: 16px; font-size: 15px; }
.enquiry__status:empty { display: none; }
.enquiry__status[data-tone='error'] { color: #b3261e; }
.enquiry--done { border-color: var(--teal); }
.enquiry--done .enquiry__title { margin-bottom: 0; }
.enquiry--done p { color: var(--muted); margin-top: 10px; }
.contact__mail { margin-top: 18px; font-size: 15px; color: var(--muted); }
@media (max-width: 600px) { .enquiry__grid { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .contact__aside { position: sticky; top: 96px; } }

.next li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--rule); counter-increment: next; }
.next { counter-reset: next; }
.next li::before {
  content: counter(next); position: absolute; left: 0; top: 14px;
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule-strong); background: var(--card);
  display: grid; place-items: center; font: 500 12.5px/1 var(--f-mono); color: var(--teal);
}
.next h3 { font-size: 1.02rem; }
.next p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* ── motion preferences ───────────────────────────────────────────────── */

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

/* ── November 2026 uplift: ledger, proof thumbnails, browser windows ───── */

/* The company in four counted facts, as one ruled row under the hero. */
.ledger { border-top: 1px solid var(--rule); background: var(--paper); }
.ledger__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; }
.ledger__in div { padding: clamp(24px, 3vw, 36px) clamp(16px, 2.4vw, 32px) clamp(24px, 3vw, 36px) 0; display: flex; align-items: baseline; gap: 16px; }
.ledger__in div + div { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--rule); }
.ledger dt { font: 700 clamp(2.2rem, 1rem + 2.6vw, 3.4rem)/0.9 var(--f-display); font-stretch: 125%; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger dd { font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 13em; }
.band--after-ledger { border-top: 1px solid var(--rule); }
.hero { padding-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) {
  .ledger__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger__in div { padding-block: 20px; }
  .ledger__in div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ledger__in div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .ledger__in div { flex-direction: column; gap: 8px; }
}

/* Service lines: the products each one can be seen in, as small screenshots. */
.service { gap: 14px; padding-block: 32px 40px; }
.service__seen { font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); margin-top: auto; padding-top: 10px; }
.service p.service__seen { color: var(--faint); }
.proofs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.proof { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.3; }
.proof__frame { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); border: 1px solid var(--rule); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.proof__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.proof__type { height: 100%; display: grid; place-items: center; font: 700 0.95rem/1 var(--f-display); font-stretch: 118%; color: var(--synapse); }
.proof:hover { color: var(--teal); }
.proof:hover .proof__frame { transform: translateY(-2px); border-color: var(--rule-strong); box-shadow: 0 14px 24px -18px rgba(11, 18, 21, 0.5); }
@media (max-width: 420px) { .proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Screenshots sit in a browser window: three dots and the product's address. */
.window { border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); background: var(--card); box-shadow: 0 40px 80px -48px rgba(11, 18, 21, 0.5); }
.product__shot .window img { border: 0; border-radius: 0; box-shadow: none; }
.window__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 16px; background: var(--card); border-bottom: 1px solid var(--rule); }
.window__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-strong); }
.window__bar span { margin-left: 10px; font: 400 12px/1 var(--f-mono); color: var(--faint); letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag__frame { border-bottom: 1px solid var(--rule); }

/* The hero's live line reads as one sentence with its link at the end. */
.live { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; border-radius: var(--radius); padding: 12px 18px 12px 16px; }
.live__dot { margin-top: 0; }
.live__go { grid-column: auto; }

/* ── flexibility: the "part you need" strip (home) and the questions list (services) ── */

.pick { margin-top: clamp(36px, 4vw, 56px); padding-top: 26px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.pick__lead { font: 650 1.2rem/1.25 var(--f-display); font-stretch: 110%; letter-spacing: -0.01em; color: var(--ink); }
.pick__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pick__list li { font: 500 12.5px/1 var(--f-mono); padding: 9px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); color: var(--muted); }
@media (max-width: 980px) { .pick { grid-template-columns: 1fr; align-items: start; justify-items: start; } }

.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-block: 0; }
.qa__item { padding-block: 24px 26px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.qa dt { font: 650 1.15rem/1.25 var(--f-display); font-stretch: 108%; letter-spacing: -0.01em; color: var(--ink); }
.qa dd { margin: 0; color: var(--muted); max-width: 36em; }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }
