/* Jugrafiya — design tokens and styles.
   Concept: a precise survey sheet. Calm paper surfaces, ink typography in one
   variable family (condensed width for display, normal for reading), the brand
   teal from the logo, and a single expressive element: the globe. */

@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans-var.woff') format('woff');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour: light (default) */
  --paper: #F8FAF9;
  --surface: #FFFFFF;
  --ink: #102A35;
  --ink-2: #45606A;
  --line: #D6E1E1;
  --line-strong: #A9BDC0;
  --teal: #166785;
  --teal-ink: #0F5068;
  --teal-wash: #E7F0F2;
  --on-teal: #FFFFFF;
  --amber: #8F5A0A;
  --amber-wash: #FBF1DF;
  --land: #2C4A55;
  --land-muted: #C9D8DB;
  --sea-1: #FFFFFF;
  --sea-2: #E3EDEF;
  --focus: #0F5068;
  --link: #0F5068;
  --control: #6F878D;
  --shadow: 0 1px 2px rgb(16 42 53 / 6%), 0 8px 24px -12px rgb(16 42 53 / 18%);
  --contour-opacity: .055;

  /* type */
  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 1.0625rem;
  --text-sm: 0.9375rem;
  --text-xs: 0.8125rem;
  --h1-hero: clamp(2.5rem, 1.6rem + 3.9vw, 4.6rem);
  --h1: clamp(2.25rem, 1.75rem + 2.3vw, 3.5rem);
  --h2: clamp(1.625rem, 1.35rem + 1.15vw, 2.25rem);
  --h3: 1.25rem;
  --display-stretch: 82%;

  /* space */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --gutter: 16px;
  --section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --max: 1200px;

  /* shape and motion */
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 140ms;
  --med: 260ms;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0B1C22;
  --surface: #10262D;
  --ink: #E4EEEE;
  --ink-2: #A6BCC0;
  --line: #22404A;
  --line-strong: #3B5E69;
  --teal: #6CC4D6;
  --teal-ink: #9AD9E6;
  --teal-wash: #12323D;
  --on-teal: #06181E;
  --amber: #E3A84A;
  --amber-wash: #2E2412;
  --land: #9FC3CB;
  --land-muted: #2B4952;
  --sea-1: #17343E;
  --sea-2: #0E242B;
  --focus: #9AD9E6;
  --link: #7FD0E0;
  --control: #5F8794;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px -14px rgb(0 0 0 / 60%);
  --contour-opacity: .05;
  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
html { background: var(--paper); }
body {
  margin: 0;
  position: relative;
  isolation: isolate;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
/* Faint topographic contours behind the page: meaningful for a GIS company,
   too light to compete with text. Fixed so it reads as paper, not content. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--ink);
  -webkit-mask: url('/img/bg/contours.svg') center / cover no-repeat;
  mask: url('/img/bg/contours.svg') center / cover no-repeat;
  opacity: var(--contour-opacity);
}
@media print { body::before { display: none; } }

img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  margin: 0;
  font-stretch: var(--display-stretch);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--h1); letter-spacing: -0.025em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--teal); color: var(--on-teal); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--s2) var(--s4); border-radius: var(--r);
}
.skip-link:focus { top: var(--s4); }
main:focus { outline: none; }

/* ── review markers ── */
.review-banner {
  background: var(--amber-wash); color: var(--ink); border-bottom: 1px solid var(--line);
  font-size: var(--text-sm); padding: var(--s2) var(--gutter); text-align: center;
}
.pending {
  display: inline-block; margin-left: var(--s1);
  font-size: var(--text-xs); line-height: 1.4; font-weight: 500;
  color: var(--amber); background: var(--amber-wash);
  border: 1px dashed var(--amber); border-radius: var(--r-sm); padding: 0 var(--s2);
  vertical-align: middle;
}
.pending--block { display: block; margin: var(--s4) 0; padding: var(--s3) var(--s4); font-size: var(--text-sm); }
.pending--sample { margin: 0; }

/* ── buttons and links ── */
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.button {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  font: inherit; font-weight: 600; font-size: var(--text-sm); line-height: 1;
  border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color var(--fast), border-color var(--fast), color var(--fast);
}
.button--primary { background: var(--teal); color: var(--on-teal); }
.button--primary:hover { background: var(--teal-ink); color: var(--on-teal); }
:root[data-theme="dark"] .button--primary:hover { background: var(--teal-ink); }
.button--secondary { background: transparent; color: var(--ink); border-color: var(--control); }
.button--secondary:hover { border-color: var(--ink); color: var(--ink); }
.button--small { min-height: 40px; padding: 0 var(--s4); }
.button[disabled], .button[aria-disabled="true"] { opacity: .6; cursor: progress; }
:root[data-theme="dark"] .button--primary, :root[data-theme="dark"] .button--primary:hover { color: var(--on-teal); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link:hover { border-bottom-width: 2px; }
.link-button { font: inherit; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.more { margin-top: var(--s6); }

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--s4);
  max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: var(--s2) var(--gutter);
  min-height: 64px;
}
.logo { display: inline-flex; align-items: center; flex: none; border-radius: var(--r-sm); }
.logo__img { height: 38px; width: auto; }
.logo__img--dark { display: none; }
:root[data-theme="dark"] .logo__img--light { display: none; }
:root[data-theme="dark"] .logo__img--dark { display: block; }
.primary-nav { margin-left: auto; }
.primary-nav__list { list-style: none; display: flex; gap: var(--s1); }
.primary-nav__list a {
  display: block; padding: var(--s2) var(--s3); border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--text-sm); white-space: nowrap;
}
.primary-nav__list a:hover { background: var(--teal-wash); }
.primary-nav__list a[aria-current="page"] { color: var(--link); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.primary-nav__toggle { display: none; }
.site-header__actions { display: flex; align-items: center; gap: var(--s2); }

.theme { position: relative; }
.theme__toggle {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: transparent; color: var(--ink); border: 1px solid var(--control); border-radius: var(--r); cursor: pointer;
}
.theme__toggle:hover { border-color: var(--line-strong); }
.icon { width: 20px; height: 20px; }
.theme__menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  display: grid; min-width: 180px; padding: var(--s1);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.theme__menu[hidden] { display: none; }
.theme__menu button {
  text-align: left; font: inherit; font-size: var(--text-sm); color: var(--ink);
  background: none; border: 0; border-radius: var(--r-sm); padding: var(--s2) var(--s3); cursor: pointer;
}
.theme__menu button:hover { background: var(--teal-wash); }
.theme__menu button[aria-pressed="true"]::after { content: ''; float: right; width: 8px; height: 8px; margin-top: .5em; border-radius: 50%; background: var(--teal); }

@media (max-width: 1059px) {
  .primary-nav__toggle {
    display: inline-flex; align-items: center; gap: var(--s2); height: 40px; padding: 0 var(--s3);
    font: inherit; font-size: var(--text-sm); font-weight: 600; color: var(--ink);
    background: none; border: 1px solid var(--control); border-radius: var(--r); cursor: pointer;
  }
  .primary-nav__bars, .primary-nav__bars::before, .primary-nav__bars::after {
    display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; position: relative;
    transition: transform var(--fast) var(--ease);
  }
  .primary-nav__bars::before, .primary-nav__bars::after { content: ''; position: absolute; left: 0; }
  .primary-nav__bars::before { top: -5px; }
  .primary-nav__bars::after { top: 5px; }
  [aria-expanded="true"] > .primary-nav__bars { background: transparent; }
  [aria-expanded="true"] > .primary-nav__bars::before { transform: translateY(5px) rotate(45deg); }
  [aria-expanded="true"] > .primary-nav__bars::after { transform: translateY(-5px) rotate(-45deg); }
  .primary-nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: var(--s2) var(--gutter) var(--s5);
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .js .primary-nav__list:not(.is-open) { display: none; }
  .primary-nav__list a { padding: var(--s3) 0; font-size: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: var(--s3); }
  .primary-nav { margin-left: auto; }
  .site-header__actions .button { display: none; }
}
@media (max-width: 1059px) { .no-js .primary-nav__list { position: static; box-shadow: none; } }
@media (max-width: 380px) { .logo__img { height: 32px; } }

/* ── sub-menu (Company) ── */
.has-sub { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 4px; padding: var(--s2) var(--s3); border: 0; background: none; font: inherit; font-size: var(--text-sm); font-weight: 500; color: var(--ink); border-radius: var(--r-sm); cursor: pointer; white-space: nowrap; }
.sub-toggle:hover { background: var(--teal-wash); }
.has-sub.is-active > .sub-toggle { color: var(--link); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.sub-toggle__caret { width: 12px; height: 12px; transition: transform var(--fast) var(--ease); }
.sub-toggle[aria-expanded="true"] .sub-toggle__caret { transform: rotate(180deg); }
.sub { list-style: none; }
.sub a { white-space: normal; }
.sub__label { display: block; font-weight: 600; }
.sub__text { display: block; font-size: var(--text-xs); color: var(--ink-2); font-weight: 400; margin-top: 2px; }
@media (min-width: 1060px) {
  .sub { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 60; width: 280px; padding: var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); display: grid; gap: 2px; }
  .js .sub-toggle[aria-expanded="false"] + .sub { display: none; }
  .no-js .has-sub:not(:hover):not(:focus-within) .sub { display: none; }
  .sub a { padding: var(--s3); border-radius: var(--r); }
  .sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); border-radius: var(--r); background: var(--teal-wash); }
}
@media (max-width: 1059px) {
  .sub-toggle { display: none; }
  .has-sub::before { content: 'Company'; display: block; padding: var(--s4) 0 var(--s1); font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
  .sub__text { display: none; }
  .sub__label { font-weight: 500; }
}

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding-block: clamp(1.75rem, .75rem + 3.5vw, 3.75rem) var(--s5); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; gap: var(--s6); align-items: center; }
.hero__place { font-weight: 500; color: var(--ink-2); margin-bottom: var(--s4); }
.hero__title { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 16ch; font-weight: 640; }
.hero__lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--ink-2); max-width: 34rem; margin-top: var(--s4); }
.hero .actions { margin-top: var(--s5); }
.hero__proof { margin-top: var(--s4); font-size: var(--text-sm); color: var(--ink-2); }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

/* ── globe ── */
.globe { margin: 0; justify-self: center; width: min(78%, 420px); }
@media (min-width: 960px) { .globe { width: min(40vw, 520px); justify-self: end; margin-right: calc(var(--gutter) * -0.5); } }
.globe__stage { position: relative; aspect-ratio: 1; pointer-events: none; }
.globe__stage > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe__sphere {
  inset: 2%; width: auto; height: auto; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--sea-1) 0%, var(--sea-2) 72%, color-mix(in srgb, var(--sea-2) 80%, var(--ink) 20%) 100%);
  box-shadow: 0 30px 60px -40px rgb(16 42 53 / 45%);
}
.globe__grid, .globe__land { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.globe__grid { background: var(--line-strong); -webkit-mask-image: url('/img/globe/grid.svg'); mask-image: url('/img/globe/grid.svg'); opacity: .7; }
.globe__land { background: var(--land-muted); -webkit-mask-image: url('/img/globe/land.svg'); mask-image: url('/img/globe/land.svg'); }
.globe__clients { background: var(--teal); -webkit-mask-image: url('/img/globe/clients.svg'); mask-image: url('/img/globe/clients.svg'); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.globe__overlay { overflow: visible; }
.globe__routes path { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 4 5; stroke-linecap: round; }
.globe__home { fill: var(--surface); }
.globe__halo { fill: var(--surface); opacity: .22; }
.globe__canvas { opacity: 0; transition: opacity 600ms var(--ease); }
.globe.is-live .globe__canvas { opacity: 1; }
.globe.is-live .globe__grid, .globe.is-live .globe__land, .globe.is-live .globe__clients, .globe.is-live .globe__overlay { opacity: 0; transition: opacity 600ms var(--ease); }
.globe__caption { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: center; margin-top: var(--s3); font-size: var(--text-xs); color: var(--ink-2); text-align: center; }
.globe__key { display: inline-flex; align-items: center; gap: var(--s2); }
.globe__dot { width: 12px; height: 12px; border-radius: 3px; background: var(--teal); }

/* ── stats (hero legend) ── */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); margin: 0; }
.stats__item { display: flex; flex-direction: column-reverse; gap: var(--s1); border-top: 1px solid var(--line-strong); padding-top: var(--s3); }
.stats dt { color: var(--ink-2); font-size: var(--text-sm); }
.stats dd { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 620; font-stretch: var(--display-stretch); line-height: 1; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats--hero { margin-top: var(--s6); }
.stats__note { margin-top: var(--s3); font-size: var(--text-xs); color: var(--ink-2); }

/* ── buyer routes ── */
.routes { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .routes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.route { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--r); background: var(--surface); }
.route h3 { font-size: 1.1875rem; }
.route p { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.route .text-link { margin-top: auto; align-self: flex-start; }
.route__label { display: block; font-size: var(--text-xs); font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.route__deliver, .route__proof { color: var(--ink) !important; }
.subhead { font-size: 1.25rem; margin: var(--s7) 0 var(--s5); }
.subhead:first-child { margin-top: 0; }
.flagships { display: grid; gap: var(--s7) var(--s6); }
@media (min-width: 900px) { .flagships { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flagships .story--lead { grid-column: 1 / -1; } }
.story--lead { margin-bottom: 0; }

/* portfolio flagships */
.flag-list { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .flag-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.flag { display: grid; gap: var(--s2); align-content: start; color: var(--ink); text-decoration: none; }
.flag__media { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); margin-bottom: var(--s2); }
.flag__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.flag__problem { font-size: var(--text-sm); font-weight: 600; color: var(--link); }
.flag__name { font-size: 1.375rem; font-weight: 620; font-stretch: var(--display-stretch); }
.flag__text { font-size: var(--text-sm); color: var(--ink-2); }
.flag:hover .flag__name { text-decoration: underline; text-underline-offset: .2em; }

/* service intro CTA and fit */
.intro-cta { display: grid; gap: var(--s4); align-content: end; padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.intro-cta .button { justify-self: start; }
.intro-cta__proof { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
@media (min-width: 960px) { .page-head:has(.intro-cta) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; } }
.fit { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .fit { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fit h3 { font-size: 1.0625rem; margin-bottom: var(--s3); }
.fit .ticks { gap: var(--s2); font-size: var(--text-sm); }
.fit__how { margin-top: var(--s6); max-width: 46rem; color: var(--ink-2); }

/* case evidence */
.evidence { list-style: none; display: grid; gap: var(--s4); max-width: 44rem; }
.evidence li { border-left: 3px solid var(--teal); padding-left: var(--s4); }
.evidence p { margin: 0; }
.evidence__src { font-size: var(--text-sm); color: var(--ink-2); margin-top: var(--s1) !important; }
.subtle { font-size: var(--text-sm); color: var(--ink-2); margin-top: var(--s3); }

/* contact context */
.context { margin-bottom: var(--s5); padding: var(--s3) var(--s4); border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); }
.context p { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2); align-items: baseline; }
.context .route__label { display: inline; margin: 0; }
.field__opt { font-weight: 400; color: var(--ink-2); }
.steps--compact { gap: var(--s2); font-size: var(--text-sm); margin-bottom: var(--s4); }

/* ── hub pages (services, industries) ── */
.motif { width: 100%; height: auto; }
.hub-hero { padding-block: var(--s7) var(--s6); background: radial-gradient(1200px 500px at 85% 20%, var(--teal-wash), transparent 70%); border-bottom: 1px solid var(--line); }
.hub-hero__inner { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .hub-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hub-hero h1 { font-size: var(--h1-hero); line-height: 1.02; letter-spacing: -0.03em; }
.hub-hero__art { max-width: 460px; justify-self: center; }
.hub-index { list-style: none; margin-top: var(--s6); border-top: 1px solid var(--line-strong); }
.hub-index a { display: grid; gap: 2px var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
@media (min-width: 640px) { .hub-index a { grid-template-columns: 14rem minmax(0, 1fr); align-items: baseline; } }
.hub-index__name { font-weight: 620; font-stretch: var(--display-stretch); font-size: 1.125rem; }
.hub-index__text { font-size: var(--text-sm); color: var(--ink-2); }
.hub-index a:hover .hub-index__name { color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.svc-row { padding-block: var(--section); border-bottom: 1px solid var(--line); scroll-margin-top: 5rem; }
.svc-row--flip { background: color-mix(in srgb, var(--surface) 82%, transparent); }
.svc-row__inner { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) {
  .svc-row__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); }
  .svc-row--flip .svc-row__art { order: 2; }
}
.svc-row__art { max-width: 480px; justify-self: center; width: 100%; }
.svc-row h2 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem); letter-spacing: -0.02em; }
.svc-row h2 a { color: var(--ink); text-decoration: none; }
.svc-row h2 a:hover { color: var(--link); text-decoration: underline; text-decoration-thickness: 2px; }
.svc-row__intro { font-size: 1.0625rem; color: var(--ink-2); margin-top: var(--s4); max-width: 38rem; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.pills li { font-size: var(--text-sm); padding: 6px 12px; border-radius: 999px; background: var(--teal-wash); color: var(--ink); }
.svc-row__tools { font-size: var(--text-sm); color: var(--ink-2); margin-top: var(--s5); }
.svc-proof { display: inline-flex; align-items: center; gap: var(--s3); margin-top: var(--s4); padding: var(--s2); padding-right: var(--s4); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--paper); font-weight: 600; font-size: var(--text-sm); }
.svc-proof:hover { border-color: var(--teal); }
.svc-proof__thumb { display: block; width: 88px; border-radius: var(--r-sm); overflow: hidden; }
.svc-proof__thumb img { width: 88px; height: 56px; object-fit: cover; object-position: top center; }
.svc-proof__thumb .illus__tag { display: none; }
.svc-row .actions { margin-top: var(--s5); }
.ind-grid { list-style: none; display: grid; gap: var(--s5); }
@media (min-width: 700px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ind-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color var(--fast), transform var(--med) var(--ease), box-shadow var(--med); }
.ind-card a:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.ind-card__art { display: block; padding: var(--s4) var(--s6) 0; background: radial-gradient(400px 200px at 50% 60%, var(--teal-wash), transparent 80%); }
.ind-card__body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); flex: 1; }
.ind-card__name { font-size: 1.5rem; font-weight: 640; font-stretch: var(--display-stretch); }
.ind-card__text { color: var(--ink-2); font-size: var(--text-sm); }
.ind-card__flows { display: flex; flex-wrap: wrap; gap: 6px; }
.ind-card__flows span { font-size: var(--text-xs); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.ind-card__meta { margin-top: auto; font-size: var(--text-sm); font-weight: 600; color: var(--link); }
.head-art { max-width: 360px; justify-self: center; width: 100%; }
@media (min-width: 960px) { .page-head:has(.head-art) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; } }

/* ── technologies ── */
.tech-grid { list-style: none; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tech-grid--strip { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.tech-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); min-height: 120px; padding: var(--s4) var(--s3); text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color var(--fast), transform var(--med) var(--ease); }
.section--tint .tech-tile { background: var(--surface); }
.section:not(.section--tint) .tech-tile { background: var(--surface); }
.tech-tile__logo { width: 40px; height: 40px; background: var(--ink-2); opacity: .7; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: background-color var(--fast), opacity var(--fast); }
.tech-tile__name { font-size: var(--text-sm); font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.tech-tile__note { position: absolute; top: 6px; right: 6px; font-size: 10px; font-weight: 600; color: var(--amber); background: var(--amber-wash); border-radius: 999px; padding: 2px 6px; }
.tech-tile:hover { border-color: var(--teal); transform: translateY(-2px); }
.tech-tile:hover .tech-tile__logo { background: var(--teal); opacity: 1; }
.tech-tile:hover .tech-tile__name { color: var(--ink); }
.tech-jump { display: flex; flex-wrap: wrap; gap: var(--s2); padding-bottom: var(--s6); }
.tech-jump a { font-size: var(--text-sm); text-decoration: none; color: var(--ink); border: 1px solid var(--control); border-radius: 999px; padding: 6px 14px; }
.tech-jump a:hover { border-color: var(--teal); color: var(--link); }
.tech-legal { font-size: var(--text-xs); color: var(--ink-2); max-width: 60rem; }

/* ── clientele map ── */
.cm { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1000px) { .cm { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.cm__map { position: relative; }
.cm__svg { width: 100%; height: auto; overflow: visible; }
.cm__land { fill: var(--land-muted); stroke: var(--paper); stroke-width: .6; }
.cm__c { fill: var(--teal); stroke: var(--paper); stroke-width: .6; cursor: pointer; transition: fill var(--fast); }
.cm__c:hover, .cm__c.is-on { fill: var(--amber); }
.cm__c:focus-visible { outline: none; stroke: var(--ink); stroke-width: 2; fill: var(--amber); }
.cm__tip {
  position: absolute; transform: translate(-50%, -100%); pointer-events: none; white-space: nowrap;
  background: var(--ink); color: var(--paper); font-size: var(--text-sm); font-weight: 600;
  padding: 6px 10px; border-radius: var(--r-sm); box-shadow: var(--shadow);
}
.cm__tip[hidden] { display: none; }
.cm__list { display: grid; gap: var(--s4); columns: 2; }
@media (min-width: 1000px) { .cm__list { max-height: 460px; overflow: auto; padding-right: var(--s2); } }
.cm__region h3 { display: flex; justify-content: space-between; font-size: var(--text-sm); font-stretch: 100%; font-weight: 600; margin-bottom: var(--s2); padding-bottom: var(--s1); border-bottom: 1px solid var(--line); }
.cm__count { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cm__region ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.cm__chip { font: inherit; font-size: var(--text-xs); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; cursor: pointer; min-height: 28px; }
.cm__chip:hover, .cm__chip.is-on { border-color: var(--amber); background: var(--amber-wash); }
.clientele { background: transparent; }

/* ── sections ── */
.section { padding-block: var(--section); }
.section + .section:not(.section--tint):not(.section--quote) { border-top: 1px solid var(--line); }
.section--tint { background: color-mix(in srgb, var(--surface) 82%, transparent); border-block: 1px solid var(--line); }
.section--flush { padding-top: var(--s5); }
.section__head { max-width: 44rem; margin-bottom: var(--s7); }
.section__head p { color: var(--ink-2); margin-top: var(--s3); font-size: 1.0625rem; }
.split { display: grid; gap: var(--s4) var(--s7); }
.split + .split { margin-top: var(--s7); padding-top: var(--s7); border-top: 1px solid var(--line); }
.split__aside p { color: var(--ink-2); margin-top: var(--s3); }
.split__aside .text-link { display: inline-block; margin-top: var(--s4); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split__aside { position: sticky; top: 6rem; align-self: start; }
}
.prose { max-width: 42rem; }
.prose--doc h2 { font-size: 1.375rem; margin: var(--s6) 0 var(--s3); }
.prose--doc h2:first-child { margin-top: 0; }

.page-head { display: grid; gap: var(--s6); padding-block: var(--s6) var(--s7); }
.page-head__kicker { font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--s3); }
.page-head__kicker a { text-decoration: none; }
.page-head__kicker a::before { content: '← '; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 40rem; margin-top: var(--s4); }
@media (min-width: 960px) { .page-head:has(.facts) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; } }

.breadcrumbs { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: var(--s4) var(--gutter) 0; font-size: var(--text-xs); color: var(--ink-2); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.breadcrumbs li + li::before { content: '/'; margin-right: var(--s2); color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-2); }

/* ── lists ── */
.ticks { list-style: none; display: grid; gap: var(--s3); max-width: 42rem; }
.ticks li { position: relative; padding-left: var(--s5); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--teal); }
.plain { list-style: none; display: grid; gap: var(--s2); }
.steps { display: grid; gap: var(--s3); padding-left: 1.25rem; max-width: 40rem; }
.steps li::marker { font-weight: 600; color: var(--link); }

/* services index (home) */
.service-index { list-style: none; border-top: 1px solid var(--line-strong); }
.service-index__item a {
  display: grid; gap: var(--s1) var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; transition: padding var(--med) var(--ease);
}
.service-index__name { font-size: 1.375rem; font-weight: 620; font-stretch: var(--display-stretch); letter-spacing: -0.01em; }
.service-index__text { color: var(--ink-2); }
.service-index__item a:hover .service-index__name { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (min-width: 720px) { .service-index__item a { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; } }

.service-rows { list-style: none; display: grid; }
.service-row { padding: var(--s6) 0; border-top: 1px solid var(--line); display: grid; gap: var(--s3); max-width: 52rem; }
.service-row h2 a { color: var(--ink); text-decoration: none; }
.service-row h2 a:hover { color: var(--link); text-decoration: underline; }
.service-row__tools { font-size: var(--text-sm); color: var(--ink-2); }

/* tech */
.tech { display: grid; gap: var(--s6) var(--s7); }
@media (min-width: 720px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tech { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tech__group { border-top: 2px solid var(--ink); padding-top: var(--s3); }
.tech__group h3 { font-size: 1.0625rem; margin-bottom: var(--s2); }
.tech__group p { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.7; }

/* industries */
.industry-list { list-style: none; display: grid; column-gap: var(--s7); }
@media (min-width: 900px) { .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.industry-list a { display: grid; gap: var(--s1); padding: var(--s4) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.industry-list__name { font-weight: 620; font-size: 1.1875rem; font-stretch: var(--display-stretch); }
.industry-list__text { color: var(--ink-2); font-size: var(--text-sm); }
.industry-list a:hover .industry-list__name { color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.industry-list--large .industry-list__name { font-size: 1.5rem; }

/* process: genuine sequence, so numbered */
.process { list-style: none; counter-reset: step; display: grid; gap: var(--s7) var(--s5); }
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.process li { counter-increment: step; position: relative; padding-top: var(--s5); border-top: 1px solid var(--line-strong); }
.process li::before {
  content: counter(step); position: absolute; top: -0.85rem; left: 0;
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-strong); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: tabular-nums;
}
.section--tint .process li::before { background: var(--surface); }
.process h3 { font-size: 1.0625rem; margin-bottom: var(--s2); }
.process p { font-size: var(--text-sm); color: var(--ink-2); }

.timeline { list-style: none; display: grid; gap: 0; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 var(--s5) var(--s6); }
.timeline li::before { content: ''; position: absolute; left: -5px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.timeline__year { display: block; font-weight: 620; font-stretch: var(--display-stretch); font-size: 1.375rem; font-variant-numeric: tabular-nums; }

/* definition grids */
.uses { display: grid; gap: var(--s5) var(--s7); margin: 0; }
@media (min-width: 720px) { .uses:not(.uses--stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.uses dt { font-weight: 620; font-size: 1.125rem; font-stretch: var(--display-stretch); }
.uses dd { margin: var(--s1) 0 0; color: var(--ink-2); }
.uses--stack { max-width: 44rem; }
.stack { display: grid; gap: var(--s3); margin: 0; max-width: 44rem; }
.stack > div { display: grid; gap: var(--s1) var(--s5); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .stack > div { grid-template-columns: 10rem minmax(0, 1fr); } }
.stack dt { font-weight: 600; font-size: var(--text-sm); }
.stack dd { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.tool-line { color: var(--ink-2); max-width: 44rem; }

.facts { margin: 0; display: grid; gap: var(--s3); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s3); font-size: var(--text-sm); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; min-width: 0; }

/* ── work ── */
.story { display: grid; gap: var(--s5); }
.story__media { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--teal-wash); }
.story__media .plate { aspect-ratio: 16 / 9; }
.story__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; transition: transform 600ms var(--ease); }
.story__media:hover img { transform: scale(1.015); }
.story__client { font-size: var(--text-sm); color: var(--ink-2); margin-bottom: var(--s2); }
.story h3 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); margin-bottom: var(--s3); }
.story h3 a { color: var(--ink); text-decoration: none; }
.story h3 a:hover { color: var(--link); text-decoration: underline; }
.story__outcome { font-weight: 500; }
.story__role { font-size: var(--text-sm); color: var(--ink-2); }
.story--lead { margin-bottom: var(--s8); }
@media (min-width: 960px) {
  .story--lead { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: var(--s7); }
  .story--lead h3 { font-size: 2.25rem; }
}
.story-grid { display: grid; gap: var(--s7) var(--s6); }
@media (min-width: 760px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.work-grid { display: grid; gap: var(--s7) var(--s5); }
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-card { display: grid; gap: var(--s4); align-content: start; }
.work-card[hidden] { display: none; }
.work-card__media { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--teal-wash); }
.work-card__media img, .work-card__media .plate { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.work-card__title { font-size: 1.25rem; margin-bottom: var(--s1); }
.work-card__title a { color: var(--ink); text-decoration: none; }
.work-card__title a:hover { color: var(--link); text-decoration: underline; }
.work-card__client { font-size: var(--text-sm); color: var(--ink-2); margin-bottom: var(--s2); }
.work-card__role { font-size: var(--text-sm); color: var(--ink-2); }

/* illustrations: generated artwork, always labelled */
.illus { position: relative; display: block; }
.illus img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story__media .illus img { aspect-ratio: 16 / 9; }
.illus__tag {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 10px; font-weight: 500; line-height: 1; letter-spacing: .01em; color: #3E5862;
  background: rgb(255 255 255 / 80%); border-radius: 999px; padding: 3px 7px;
}
.case-media .illus img { border-radius: var(--r-lg); border: 1px solid var(--line); aspect-ratio: auto; }
.case-media__note { margin-top: var(--s2); font-size: var(--text-xs); color: var(--ink-2); }
.case-media { margin-inline: auto; }

/* plate: for projects without approved imagery — contour lines, not a fake screenshot */
.plate {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s1);
  padding: var(--s5); color: var(--ink); text-decoration: none; height: 100%;
  background:
    repeating-radial-gradient(circle at 78% 28%, transparent 0 17px, color-mix(in srgb, var(--teal) 22%, transparent) 17px 18px),
    var(--teal-wash);
}
a:has(> .plate) { text-decoration: none; color: var(--ink); }
.plate__name { font-size: 1.375rem; font-weight: 640; font-stretch: var(--display-stretch); line-height: 1.1; }
.plate__meta { font-size: var(--text-xs); color: var(--ink-2); }

.case-media { margin-bottom: var(--s7); }
.case-media img { border-radius: var(--r-lg); border: 1px solid var(--line); width: 100%; }

/* case-study gallery */
.gallery { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.gallery__item figcaption { margin-top: var(--s2); font-size: var(--text-sm); color: var(--ink-2); }

/* filters */
.filters { display: grid; gap: var(--s3); margin-bottom: var(--s7); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.filters[hidden] { display: none; }
.filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.filters__label { font-size: var(--text-sm); font-weight: 600; min-width: 5rem; }
.chip {
  min-height: 40px; padding: 0 var(--s4); font: inherit; font-size: var(--text-sm);
  color: var(--ink); background: var(--surface); border: 1px solid var(--control); border-radius: 999px; cursor: pointer;
}
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters__status { font-size: var(--text-sm); color: var(--ink-2); margin: 0; }
.empty { padding: var(--s7) 0; text-align: center; }
.empty[hidden] { display: none; }
.empty p { margin-bottom: var(--s4); }

/* ── quote ── */
.section--quote { background: var(--teal); color: var(--on-teal); }
.section--quote + .section { border-top: 0 !important; }
.quote { margin: 0; max-width: 56rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); line-height: 1.3; font-weight: 500; font-stretch: 90%; letter-spacing: -0.01em; }
.quote blockquote p::before { content: '“'; }
.quote blockquote p::after { content: '”'; }
.quote--long blockquote p { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; }
.quote figcaption { margin-top: var(--s5); display: grid; gap: 2px; }
.quote__name { font-weight: 620; }
.quote__org { opacity: .85; font-size: var(--text-sm); }

.quotes__title { font-size: var(--text-sm); font-stretch: 100%; font-weight: 600; letter-spacing: .02em; margin-bottom: var(--s5); opacity: .85; }
.quotes { display: grid; gap: var(--s5); margin-top: var(--s7); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote-card { margin: 0; padding: var(--s5); border-radius: var(--r-lg); background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 18%); display: flex; flex-direction: column; gap: var(--s4); }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-size: var(--text-sm); line-height: 1.65; }
.quote-card blockquote p::before { content: '“'; }
.quote-card blockquote p::after { content: '”'; }
.quote-card figcaption { margin-top: auto; display: grid; gap: 2px; }
.quote__link { color: inherit !important; font-size: var(--text-sm); margin-top: var(--s2); text-decoration: underline; }
:root[data-theme="dark"] .section--quote { background: #0E3A48; }

/* ── models ── */
.models { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.model { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); background: var(--surface); }
.model h2 { font-size: 1.5rem; }
.model__fit { color: var(--ink-2); margin: var(--s3) 0 var(--s5); }
.model dl { margin: 0; display: grid; gap: var(--s4); }
.model dt { font-weight: 600; font-size: var(--text-sm); }
.model dd { margin: var(--s1) 0 0; font-size: var(--text-sm); color: var(--ink-2); }

/* ── team ── */
.team-strip, .team-grid { list-style: none; display: grid; gap: var(--s5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .team-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team-strip .person__photo { aspect-ratio: 1; }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.person__photo { display: block; aspect-ratio: 1; border-radius: var(--r); background: var(--teal-wash); border: 1px solid var(--line); margin-bottom: var(--s3); overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__bio { color: var(--ink-2); margin-top: var(--s2); }
.person__links { margin-top: var(--s2); font-size: var(--text-sm); font-weight: 600; }
.person--placeholder .person__photo { border-style: dashed; border-color: var(--amber); background: repeating-linear-gradient(135deg, transparent 0 10px, var(--amber-wash) 10px 11px); }
.person__name { font-weight: 620; font-size: 1.0625rem; margin-bottom: 0; }
.person__role { color: var(--ink-2); font-size: var(--text-sm); }
.person p { font-size: var(--text-sm); }

/* ── faq ── */
.faq { border-top: 1px solid var(--line-strong); max-width: 46rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; gap: var(--s4); align-items: baseline;
  padding: var(--s4) 0; cursor: pointer; list-style: none; font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-weight: 400; font-size: 1.25rem; line-height: 1; color: var(--link); }
.faq__item[open] summary::after { content: '−'; }
.faq__answer { padding-bottom: var(--s5); color: var(--ink-2); }

/* ── CTA band ── */
.cta-band { padding-block: var(--section); background: var(--ink); color: var(--paper); }
.cta-band__inner h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); max-width: 18ch; letter-spacing: -0.025em; }
.cta-band__inner p { max-width: 36rem; margin-top: var(--s4); opacity: .85; font-size: 1.125rem; }
.cta-band .button--primary { background: var(--paper); color: var(--ink); }
.cta-band .button--primary:hover { background: var(--teal-wash); color: var(--ink); }
.cta-band .button--secondary { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); }
.cta-band .button--secondary:hover { border-color: var(--paper); color: var(--paper); }
:root[data-theme="dark"] .cta-band { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); }
:root[data-theme="dark"] .cta-band .button--primary { background: var(--teal); color: var(--on-teal); }
:root[data-theme="dark"] .cta-band .button--secondary { color: var(--ink); border-color: var(--line-strong); }

/* ── contact ── */
.contact { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.contact__aside h2 { font-size: 1.0625rem; margin: var(--s6) 0 var(--s2); }
.contact__aside h2:first-child { margin-top: 0; }
.big-link { font-size: 1.25rem; font-weight: 600; word-break: break-word; }
.field { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field__hint { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: var(--s3) var(--s4);
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--control); border-radius: var(--r);
}
.field textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }
:root[data-theme="dark"] .field [aria-invalid="true"] { border-color: #F2B8B5; }
.field__error { margin: 0; font-size: var(--text-sm); font-weight: 600; color: #B3261E; }
:root[data-theme="dark"] .field__error { color: #F2B8B5; }
.field__error::before { content: '! '; }
.field-grid { display: grid; gap: 0 var(--s5); padding-top: var(--s4); }
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.optional { margin-bottom: var(--s5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.optional summary { padding: var(--s4) 0; cursor: pointer; font-weight: 600; color: var(--link); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--text-sm); color: var(--ink-2); }
.form-errors { border: 2px solid #B3261E; border-radius: var(--r); padding: var(--s4) var(--s5); margin-bottom: var(--s5); background: var(--surface); }
:root[data-theme="dark"] .form-errors { border-color: #F2B8B5; }
.form-errors h2 { font-size: 1.125rem; margin-bottom: var(--s2); }
.form-errors ul { padding-left: 1.25rem; }
.form-status { margin-top: var(--s4); }
.form-status:empty { display: none; }
.form-status .notice { padding: var(--s4) var(--s5); border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); }
.form-status .notice--ok { border-color: var(--teal); }
.form-status .notice--error { border-color: #B3261E; }
.spinner { width: 18px; height: 18px; }
.spinner circle { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 6 4; animation: contour 1.2s linear infinite; transform-origin: center; }
.spinner circle:nth-child(2) { animation-duration: 1.8s; animation-direction: reverse; }
@keyframes contour { to { transform: rotate(360deg); } }

/* ── contact page ── */
.contact-hero { padding-block: var(--s6) var(--s5); }
.contact-hero__inner { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .contact-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.contact-hero h1 { font-size: var(--h1-hero); line-height: 1.02; letter-spacing: -0.03em; max-width: 14ch; }
.contact-hero__art { width: 100%; max-width: 360px; justify-self: center; overflow: visible; }
.ch-contour { stroke: var(--teal); stroke-width: 1.3; opacity: .35; stroke-dasharray: 600; stroke-dashoffset: 600; animation: ch-draw 1.6s var(--ease) forwards; animation-delay: var(--d); }
.ch-route { stroke: var(--amber); stroke-width: 3; stroke-dasharray: 8 8; }
.ch-start { fill: var(--surface); stroke: var(--amber); stroke-width: 3; }
.ch-pin { fill: var(--teal); }
.ch-pin-dot { fill: var(--surface); }
@keyframes ch-draw { to { stroke-dashoffset: 0; } }

.contact { align-items: start; }
.brief { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, .75rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.brief__step { border: 0; margin: 0 0 var(--s6); padding: 0; min-width: 0; }
.brief__step + .brief__step { padding-top: var(--s6); border-top: 1px dashed var(--line-strong); }
.brief__step > legend { display: flex; align-items: center; gap: var(--s3); font-size: 1.25rem; font-weight: 640; font-stretch: var(--display-stretch); margin-bottom: var(--s5); padding: 0; }
.brief__num { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--teal); color: var(--on-teal); font-size: var(--text-sm); font-stretch: 100%; font-variant-numeric: tabular-nums; }
.brief .field-grid { padding-top: 0; }
.field--wide { grid-column: 1 / -1; }
.brief__send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); padding-top: var(--s5); border-top: 1px solid var(--line); }
.brief__send .form-note { margin: 0; }
.button--big { min-height: 56px; padding: 0 var(--s6); font-size: 1rem; }

.svc-pick { border: 0; padding: 0; margin: 0 0 var(--s5); min-width: 0; }
.svc-pick > legend { font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--s3); padding: 0; }
.svc-pick__grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s2); padding: var(--s3) var(--s3) var(--s4); text-align: center; border: 1px solid var(--control); border-radius: var(--r); background: var(--paper); cursor: pointer; transition: border-color var(--fast), background-color var(--fast), transform var(--med) var(--ease); }
.svc-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.svc-card__art { display: block; width: 100%; max-width: 120px; aspect-ratio: 520 / 420; }
.svc-card__art img { width: 100%; height: 100%; }
.svc-card__q { display: grid; place-items: center; font-size: 2.75rem; font-weight: 640; color: var(--ink-2); border: 2px dashed var(--line-strong); border-radius: var(--r); aspect-ratio: auto; height: 72px; max-width: 72px; margin-block: 12px; }
.svc-card__name { font-size: var(--text-sm); font-weight: 600; line-height: 1.25; }
.svc-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.svc-card:has(input:checked) { border-color: var(--teal); border-width: 2px; background: var(--teal-wash); }
.svc-card:has(input:checked)::after { content: ''; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.svc-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

.starters { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s1) 0 var(--s2); }
.starters[hidden] { display: none; }
.starter { font: inherit; font-size: var(--text-xs); color: var(--ink); background: var(--paper); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 6px 12px; cursor: pointer; text-align: left; }
.starter:hover { border-color: var(--amber); border-style: solid; background: var(--amber-wash); }
.field__count { margin: 0; font-size: var(--text-xs); color: var(--ink-2); min-height: 1.2em; }

.pills-field { border: 0; padding: 0; margin: 0 0 var(--s4); min-width: 0; }
.pills-field > legend { font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--s2); padding: 0; }
.pill-set { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); font-size: var(--text-sm); border: 1px solid var(--control); border-radius: 999px; background: var(--paper); transition: background-color var(--fast), border-color var(--fast), color var(--fast); }
.pill:hover span { border-color: var(--teal); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.field--phone.is-collapsible:not(.is-shown) { display: none; }

.contact__aside { display: grid; gap: var(--s4); }
@media (min-width: 960px) { .contact__aside { position: sticky; top: 5.5rem; } }
.aside-card { background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }
.aside-card h2 { font-size: 1.125rem; margin: 0 0 var(--s4) !important; }
.journey { list-style: none; position: relative; display: grid; gap: var(--s4); }
.journey::before { content: ''; position: absolute; left: 9px; top: 12px; bottom: 18px; border-left: 2px dashed var(--amber); }
.journey li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s3); }
.journey__pin { width: 20px; height: 20px; margin-top: 2px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--teal); }
.journey__pin--end { background: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.journey h3 { font-size: var(--text-sm); font-stretch: 100%; font-weight: 600; margin-bottom: 2px; }
.journey p { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.aside-card--mail { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.aside-card--mail h2 { color: var(--paper); }
.aside-card--mail .big-link { color: var(--paper); font-size: 1.125rem; }
:root[data-theme="dark"] .aside-card--mail { background: var(--teal-wash); border-color: var(--line); color: var(--ink); }
:root[data-theme="dark"] .aside-card--mail h2, :root[data-theme="dark"] .aside-card--mail .big-link { color: var(--ink); }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.copy-btn { font: inherit; font-size: var(--text-xs); font-weight: 600; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; cursor: pointer; opacity: .85; }
.copy-btn:hover { opacity: 1; }
.copy-btn[hidden] { display: none; }
.clock { display: flex; align-items: center; gap: var(--s2); font-size: var(--text-xs); opacity: .85; margin: 0; }
.clock__dot { width: 8px; height: 8px; border-radius: 50%; background: #5DCB8C; box-shadow: 0 0 0 3px rgb(93 203 140 / 25%); flex: none; }
.link-cards { list-style: none; display: grid; gap: var(--s2); }
.link-cards a { display: grid; gap: 2px; padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color var(--fast); }
.link-cards a:hover { border-color: var(--teal); }
.link-cards__name { font-weight: 600; font-size: var(--text-sm); }
.link-cards__text { font-size: var(--text-xs); color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .ch-contour { stroke-dashoffset: 0; animation: none; } }

/* ── How we work ── */
.glyph { display: inline-block; width: 24px; height: 24px; flex: none; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.glyph--sm { width: 16px; height: 16px; }
.glyph--md { width: 28px; height: 28px; }
.glyph--lg { width: 30px; height: 30px; }
.how-hero { padding-block: var(--s6) var(--s7); background: radial-gradient(900px 400px at 90% 10%, var(--teal-wash), transparent 70%); }
.how-hero h1 { font-size: var(--h1-hero); line-height: 1.02; letter-spacing: -0.03em; }
.chooser { margin-top: var(--s6); }
.chooser__q { font-weight: 600; margin-bottom: var(--s3); }
.chooser__opts { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.chooser__opt { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); border: 1px solid var(--control); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color var(--fast), transform var(--med) var(--ease), background-color var(--fast); }
.chooser__opt .glyph { color: var(--teal); width: 28px; height: 28px; }
.chooser__opt:hover { border-color: var(--teal); transform: translateY(-2px); }
.chooser__opt[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chooser__opt[aria-current="true"] .glyph { color: var(--paper); }
.chooser__result { margin-top: var(--s3); font-size: var(--text-sm); font-weight: 600; color: var(--link); min-height: 1.4em; }
.model { display: flex; flex-direction: column; gap: var(--s4); transition: box-shadow var(--med), border-color var(--med), transform var(--med) var(--ease); scroll-margin-top: 6rem; }
.model.is-picked { border-color: var(--teal); border-width: 2px; box-shadow: var(--shadow); transform: translateY(-3px); }
.model__top { display: flex; gap: var(--s4); align-items: flex-start; }
.model__top .glyph { color: var(--on-teal); background-color: var(--teal); padding: 0; width: 48px; height: 48px; border-radius: var(--r); -webkit-mask: none; mask: none; position: relative; }
.model__top .glyph::after { content: ''; position: absolute; inset: 10px; background: var(--on-teal); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.model__top h3 { font-size: 1.375rem; }
.model__top .model__fit { margin: var(--s2) 0 0; }
.model__tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.model__tags li { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--teal-wash); color: var(--ink); }
.model__tags .glyph { color: var(--teal); }
.model__how { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.checks { list-style: none; display: grid; gap: 6px; margin-top: var(--s2); }
.checks li { position: relative; padding-left: 24px; font-size: var(--text-sm); }
.checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.model__more summary { cursor: pointer; font-size: var(--text-sm); font-weight: 600; color: var(--link); }
.model__more p { font-size: var(--text-sm); color: var(--ink-2); margin: var(--s2) 0 0; }
.model .text-link { margin-top: auto; align-self: flex-start; }

.route-map { list-style: none; position: relative; display: grid; gap: var(--s6) var(--s4); }
.route-map::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; border-left: 3px dashed var(--amber); }
.route-map__stop { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--s4); }
.route-map__stop h3 { font-size: 1.125rem; grid-column: 2; align-self: end; }
.route-map__stop p { grid-column: 2; margin: var(--s1) 0 0; font-size: var(--text-sm); color: var(--ink-2); }
.route-map__marker { grid-row: span 2; position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 2px solid var(--teal); color: var(--teal); z-index: 1; }
.route-map__n { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: #fff; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.route-map__stop:last-child .route-map__marker { background: var(--teal); color: var(--on-teal); }
@media (min-width: 1000px) {
  .route-map { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .route-map::before { left: 28px; right: 28px; top: 27px; bottom: auto; border-left: 0; border-top: 3px dashed var(--amber); }
  .route-map__stop { grid-template-columns: 1fr; row-gap: var(--s3); text-align: left; }
  .route-map__stop h3, .route-map__stop p { grid-column: 1; }
  .route-map__marker { grid-row: auto; }
  .route-map__stop:nth-child(even) { padding-top: var(--s7); }
  .route-map__stop:nth-child(even) .route-map__marker { margin-top: calc(var(--s7) * -1); }
}
.answers { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .answers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .answers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.answer { padding: var(--s5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.answer .glyph { color: var(--teal); margin-bottom: var(--s3); }
.answer h3 { font-size: 1.0625rem; margin-bottom: var(--s2); }
.answer p { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.begin { list-style: none; display: grid; gap: var(--s4); counter-reset: b; }
@media (min-width: 800px) { .begin { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.begin li { position: relative; padding: var(--s6) var(--s5) var(--s5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.begin__n { position: absolute; right: var(--s4); top: -10px; font-size: 6rem; font-weight: 700; font-stretch: var(--display-stretch); color: var(--teal); opacity: .14; line-height: 1; }
.begin h3 { font-size: 1.25rem; margin-bottom: var(--s2); }
.begin p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }

/* ── About ── */
.about-hero { padding-block: var(--s6) var(--s7); background: radial-gradient(800px 420px at 85% 20%, var(--teal-wash), transparent 70%); overflow: hidden; }
.about-hero__grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .about-hero__grid { grid-template-columns: 1.15fr 1fr; } }
.about-hero__word { font-size: clamp(3.5rem, 2rem + 6vw, 6.5rem); line-height: 1.1; color: var(--teal); opacity: .16; margin: 0 0 calc(var(--s5) * -1); text-align: left; font-weight: 700; user-select: none; }
.about-hero h1 { font-size: var(--h1-hero); line-height: 1.02; letter-spacing: -0.03em; position: relative; }
.about-hero .lede { max-width: 38rem; }
.tally { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin: 0; }
.tally__item { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tally__item::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; border: 1px solid var(--teal); opacity: .18; box-shadow: 0 0 0 14px transparent, 0 0 0 15px color-mix(in srgb, var(--teal) 18%, transparent), 0 0 0 29px transparent, 0 0 0 30px color-mix(in srgb, var(--teal) 12%, transparent); }
.tally__item:nth-child(1) { background: var(--ink); border-color: var(--ink); }
.tally__item:nth-child(1) dd, .tally__item:nth-child(1) dt { color: var(--paper); }
.tally dd { margin: 0; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 650; font-stretch: var(--display-stretch); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; color: var(--teal); }
.tally dt { font-size: var(--text-sm); color: var(--ink-2); }
.story__track { position: relative; }
.profile { display: none; }
.story__stops { list-style: none; display: grid; gap: var(--s5); position: relative; padding-left: var(--s6); }
.story__stops::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; border-left: 2px dashed var(--amber); }
.story__stop { position: relative; }
.story__stop::before { content: ''; position: absolute; left: calc(var(--s6) * -1 + 2px); top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); }
.story__stop--now::before { background: var(--amber); border-color: var(--amber); }
.story__year { display: block; font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem); font-weight: 700; font-stretch: var(--display-stretch); line-height: 1; color: var(--teal); letter-spacing: -0.02em; }
.story__stop p { margin: var(--s2) 0 0; color: var(--ink-2); max-width: 22rem; }
@media (min-width: 800px) {
  .profile { display: block; width: 100%; height: 220px; overflow: visible; }
  .profile__fill { fill: var(--teal-wash); }
  .profile__contour { fill: none; stroke: var(--teal); stroke-width: 1; opacity: .18; vector-effect: non-scaling-stroke; }
  .profile__line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; }
  .js .story:not(.is-in) .profile__line { stroke-dashoffset: 1; }
  .profile__line { transition: stroke-dashoffset 1.8s var(--ease); }
  .profile__stem { stroke: var(--teal); stroke-width: 1; stroke-dasharray: 3 4; opacity: .5; vector-effect: non-scaling-stroke; }
  .profile__pin { fill: var(--paper); stroke: var(--teal); stroke-width: 3; vector-effect: non-scaling-stroke; }
  .profile__pin--now { fill: var(--amber); stroke: var(--amber); }
  .story__stops { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 0; margin-top: var(--s4); gap: var(--s4); text-align: center; }
  .story__stops::before, .story__stop::before { display: none; }
  .story__stop p { margin-inline: auto; }
}
.principles { list-style: none; display: grid; gap: var(--s4); }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.principle { position: relative; padding: var(--s6) var(--s5) var(--s5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--med) var(--ease), border-color var(--fast); }
.principle:hover { transform: translateY(-3px); border-color: var(--teal); }
.principle .glyph { color: var(--teal); margin-bottom: var(--s4); }
.principle__n { position: absolute; right: var(--s4); top: var(--s3); font-size: 3.5rem; font-weight: 700; font-stretch: var(--display-stretch); line-height: 1; color: var(--teal); opacity: .12; }
.principle h3 { font-size: 1.1875rem; margin-bottom: var(--s2); }
.principle p { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.leaders { list-style: none; display: grid; gap: var(--s4); }
@media (min-width: 820px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.leader { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: var(--s3); transition: box-shadow var(--med), border-color var(--fast); }
.leader:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.leader__head { display: flex; gap: var(--s4); align-items: center; }
.leader .person__photo { width: 84px; height: 84px; flex: none; margin: 0; border-radius: 50%; }
.leader__name { font-size: 1.25rem; font-weight: 650; margin: 0; }
.leader__role { margin: 2px 0 0; font-size: var(--text-sm); font-weight: 600; color: var(--link); }
.leader__focus { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.leader__focus li { font-size: var(--text-xs); font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--teal-wash); }
.leader__bio { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }

/* ── Insights ── */
.ins-hero { padding-block: var(--s6) var(--s6); background: radial-gradient(900px 380px at 88% 0%, var(--teal-wash), transparent 70%); }
.ins-hero h1 { font-size: var(--h1-hero); line-height: 1.02; letter-spacing: -0.03em; }
.ins-filter { margin-top: var(--s5); }
.ins-filter[hidden] { display: none; }
.ins-filter__chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip__n { font-size: var(--text-xs); opacity: .65; margin-left: 2px; font-variant-numeric: tabular-nums; }
.cat { display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--teal-wash); color: var(--link); text-decoration: none; }
.cat--geoai { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--ink); }
.cat--ai-ml { background: color-mix(in srgb, #7a5cc2 16%, transparent); color: var(--ink); }
.cat--full-stack { background: color-mix(in srgb, #3e8f5e 16%, transparent); color: var(--ink); }
.cat--teams { background: color-mix(in srgb, #c25c7a 14%, transparent); color: var(--ink); }
.post-card[data-cat="teams"] .post-card__art { background: color-mix(in srgb, #c25c7a 10%, var(--surface)); }
.cat--devops { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.post-grid { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-lead { margin-bottom: var(--s4); }
.post-lead[hidden] { display: none; }
.post-card[hidden] { display: none; }
.post-card__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform var(--med) var(--ease), border-color var(--fast), box-shadow var(--med); }
.post-card__link:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow); }
.post-card__art { display: block; aspect-ratio: 16 / 9; background: var(--teal-wash); overflow: hidden; }
.post-card[data-cat="geoai"] .post-card__art { background: color-mix(in srgb, var(--amber) 14%, var(--surface)); }
.post-card[data-cat="ai-ml"] .post-card__art { background: color-mix(in srgb, #7a5cc2 12%, var(--surface)); }
.post-card[data-cat="full-stack"] .post-card__art { background: color-mix(in srgb, #3e8f5e 12%, var(--surface)); }
.post-card[data-cat="devops"] .post-card__art { background: color-mix(in srgb, var(--ink) 9%, var(--surface)); }
.post-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.15); transition: transform var(--med) var(--ease); }
.post-card__link:hover .post-card__art img { transform: scale(1.22); }
.post-card__body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: var(--s3); font-size: var(--text-xs); color: var(--ink-2); }
.post-card__title { font-size: 1.1875rem; line-height: 1.25; margin: 0; }
.post-card__text { font-size: var(--text-sm); color: var(--ink-2); }
@media (min-width: 860px) {
  .post-card--lead .post-card__link { flex-direction: row; }
  .post-card--lead .post-card__art { flex: 0 0 52%; aspect-ratio: auto; min-height: 320px; }
  .post-card--lead .post-card__body { justify-content: center; padding: var(--s7) var(--s6); }
  .post-card--lead .post-card__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.02em; }
  .post-card--lead .post-card__text { font-size: var(--text); }
}
.section__head--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s3); }

.article__head { padding-block: var(--s5) var(--s6); background: radial-gradient(800px 380px at 90% 10%, var(--teal-wash), transparent 70%); border-bottom: 1px solid var(--line); }
.article__head-grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .article__head-grid { grid-template-columns: 1.4fr 1fr; } }
.article__head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.025em; margin-top: var(--s3); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); font-size: var(--text-sm); color: var(--ink-2); margin: 0; }
.article__by { font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); }
.article__art { width: 100%; max-width: 420px; height: auto; justify-self: center; }
@media (max-width: 959px) { .article__art { display: none; } }
.article__main { min-width: 0; }
.article__grid { display: grid; gap: var(--s6); padding-block: var(--s6) var(--s7); }
@media (min-width: 1000px) { .article__grid { grid-template-columns: 250px minmax(0, 720px); justify-content: space-between; } }
.article__side { display: grid; gap: var(--s4); align-content: start; }
@media (min-width: 1000px) { .article__side { position: sticky; top: 88px; order: 0; } }
.toc { border-left: 2px solid var(--line); padding-left: var(--s4); }
.toc__title, .side-card__title, .takeaways__title { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 var(--s2); }
.toc ol { list-style: none; display: grid; gap: 6px; }
.toc a { font-size: var(--text-sm); color: var(--ink-2); text-decoration: none; }
.toc a:hover, .toc a.is-current { color: var(--link); }
.side-card { padding: var(--s4); border-radius: var(--r-lg); background: var(--teal-wash); }
.side-card ul { list-style: none; display: grid; gap: 6px; }
.side-card a { font-size: var(--text-sm); font-weight: 600; }
.takeaways { padding: var(--s5); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); margin-bottom: var(--s6); }
.prose { font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: var(--s4); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); margin-top: var(--s7); scroll-margin-top: 90px; letter-spacing: -0.015em; }
.prose h3 { font-size: 1.1875rem; margin-top: var(--s6); scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 6px; }
.prose li::marker { color: var(--teal); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--teal-wash); padding: 1px 5px; border-radius: 4px; }
.prose pre.code { position: relative; background: #0d2129; color: #d9eef3; padding: var(--s5); border-radius: var(--r-lg); overflow-x: auto; font-size: .875rem; line-height: 1.55; }
.prose pre.code code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose pre.code[data-lang]::before { content: attr(data-lang); position: absolute; top: 8px; right: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8fb8c4; }
.article__end { margin-top: var(--s7); padding: var(--s5); border-radius: var(--r-lg); background: var(--ink); color: var(--paper); display: grid; gap: var(--s4); }
.article__end p { margin: 0; color: inherit; }
.article__end .button--primary { justify-self: start; background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ── Industry pages ── */
.ind-hero { padding-block: var(--s5) var(--s7); background: radial-gradient(900px 420px at 85% 30%, var(--teal-wash), transparent 70%); overflow: hidden; }
.ind-hero__grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .ind-hero__grid { grid-template-columns: 1.2fr 1fr; } }
.ind-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); line-height: 1.03; letter-spacing: -0.03em; }
.ind-hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.ind-hero__facts li { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--text-sm); color: var(--ink-2); }
.ind-hero__facts strong { font-size: 1.25rem; font-weight: 700; font-stretch: var(--display-stretch); color: var(--teal); }
.ind-hero__art { position: relative; justify-self: center; width: 100%; max-width: 480px; }
.ind-hero__art::before { content: ''; position: absolute; inset: 8% 6%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--teal) 40%, transparent); animation: ind-spin 60s linear infinite; }
.ind-hero__art .motif { position: relative; width: 100%; height: auto; animation: ind-float 7s ease-in-out infinite; }
@keyframes ind-spin { to { transform: rotate(360deg); } }
@keyframes ind-float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .ind-hero__art::before, .ind-hero__art .motif { animation: none; } }
@media (max-width: 959px) { .ind-hero__art { max-width: 320px; order: -1; } }
.wf-grid { list-style: none; display: grid; gap: var(--s4); counter-reset: wf; }
@media (min-width: 700px) { .wf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .wf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wf-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wf { position: relative; padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--med) var(--ease), border-color var(--fast), box-shadow var(--med); }
.wf:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow); }
.wf::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); transform: scaleY(0); transform-origin: top; transition: transform var(--med) var(--ease); }
.wf:hover::after { transform: scaleY(1); }
.wf__n { position: absolute; right: var(--s4); top: var(--s3); font-size: 2.6rem; font-weight: 700; font-stretch: var(--display-stretch); line-height: 1; color: var(--teal); opacity: .13; }
.wf__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--teal-wash); color: var(--teal); margin-bottom: var(--s4); }
.wf h3 { font-size: 1.125rem; margin-bottom: var(--s2); }
.wf p { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.ind-stack { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .ind-stack { grid-template-columns: 340px 1fr; align-items: start; } }
.ind-stack__text p { color: var(--ink-2); }
.ind-stack__svc-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: var(--s5); }
.ind-stack__svc { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s2); }
.ind-stack__svc a { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: var(--text-sm); transition: border-color var(--fast); }
.ind-stack__svc a:hover { border-color: var(--teal); }
.ind-stack__svc img { width: 52px; height: 42px; object-fit: cover; flex: none; }
.ind-others { list-style: none; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ind-others a { display: flex; flex-direction: column; gap: var(--s1); height: 100%; padding: var(--s4); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform var(--med) var(--ease), border-color var(--fast); }
.ind-others a:hover { transform: translateY(-3px); border-color: var(--teal); }
.ind-others img { width: 100%; height: 110px; object-fit: contain; margin-bottom: var(--s2); }
.ind-others__name { font-weight: 650; }
.ind-others__text { font-size: var(--text-xs); color: var(--ink-2); }

/* ── Trust row (home) ── */
.trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust__inner { display: grid; gap: var(--s4); padding-block: var(--s5); align-items: center; }
@media (min-width: 900px) { .trust__inner { grid-template-columns: 1.6fr 1fr; } }
.trust__quote { margin: 0; padding-left: var(--s4); border-left: 3px solid var(--teal); }
.trust__quote blockquote { margin: 0; }
.trust__quote p { margin: 0; font-size: 1.0625rem; color: var(--ink); }
.trust__quote figcaption { margin-top: var(--s2); font-size: var(--text-sm); color: var(--ink-2); }
.trust__reach { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.quote__more { margin-top: var(--s2); }
.quote__more summary { cursor: pointer; font-size: var(--text-sm); font-weight: 600; color: var(--link); }
.quote__more p { margin-top: var(--s2); }
.cta-band__more { margin-top: var(--s4); font-size: var(--text-sm); }
.cta-band__more a { color: inherit; }
.ind-hero__buyer { margin-top: var(--s4); font-weight: 600; color: var(--ink); max-width: 38rem; padding-left: var(--s3); border-left: 3px solid var(--amber); }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--teal-wash); font-weight: 650; }
.prose tbody th { font-weight: 600; }
.refs { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.refs h2 { font-size: 1.125rem; }
.refs ul { margin-top: var(--s3); padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--text-sm); }

/* ── footer ── */
.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 70%, transparent); font-size: var(--text-sm); }
.site-footer__inner { display: grid; gap: var(--s6); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: var(--s8) var(--gutter) var(--s6); }
@media (min-width: 720px) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .site-footer__inner { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); } }
.site-footer__brand .logo { margin-bottom: var(--s4); }
.site-footer__brand p { color: var(--ink-2); max-width: 22rem; }
.site-footer h2 { font-size: var(--text-sm); font-stretch: 100%; font-weight: 600; letter-spacing: 0; margin-bottom: var(--s3); }
.site-footer ul { list-style: none; display: grid; gap: var(--s2); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: var(--s4) var(--gutter) var(--s6); border-top: 1px solid var(--line); color: var(--ink-2); }
.link-list { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* ── consent ── */
.consent { position: fixed; inset: auto var(--s4) var(--s4) var(--s4); z-index: 70; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent__inner { max-width: 40rem; padding: var(--s5); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.consent h2 { font-size: 1.125rem; margin-bottom: var(--s2); }
.consent p { font-size: var(--text-sm); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }

/* ── page transitions ── */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 72%, transparent); backdrop-filter: blur(2px); opacity: 0; transition: opacity 200ms var(--ease); }
.loader.is-on { opacity: 1; }
.loader[hidden] { display: none; }
.loader__mark { width: 96px; height: 96px; overflow: visible; }
.loader__core { fill: var(--teal); }
.loader__pin { fill: var(--paper); }
.loader__ring { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.4s var(--ease) infinite; }
.loader__ring.r2 { stroke: var(--amber); stroke-width: 2; animation-delay: .25s; }
@keyframes draw { 0% { stroke-dashoffset: 300; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ── motion preferences ── */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .loader__ring { stroke-dashoffset: 0; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .story__media:hover img { transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .review-banner, .globe { display: none; }
  body { background: #fff; color: #000; }
}
