/* =========================================================================
   Pin&Notch design system (mockups, Phase 3)
   One file: tokens, base, layout, components. Mobile first.
   Signature: the cyan pin dot. Structure: the notch (stepped tick marks).
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* colour */
  --ink: #0D1114;          /* P&N black */
  --paper: #FFFFFF;        /* white */
  --pin: #0E93CF;          /* P&N cyan-blue: blocks, dots, large type */
  --pin-text: #0B78AA;     /* cyan for small text on white (AA 4.9:1) */
  --pin-on-ink: #3FB2E6;   /* cyan for small text on black (AA 7.9:1) */
  --steel: #8C969D;        /* supporting grey: rules, ticks, large meta */
  --steel-text: #5D666C;   /* grey for small text on white (AA 5.9:1) */
  --mist: #EEF1F3;         /* supporting light grey: quiet blocks */
  --ink-2: #1B2126;        /* raised surface on black */
  --line: #D5DBDF;         /* hairlines on white */
  --line-ink: #2B3238;     /* hairlines on black */

  /* type */
  --serif: "Bodoni 72", "Bodoni Moda", Didot, "Bodoni MT", serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --serif-opsz: "opsz" 20;   /* calmer contrast for the Bodoni Moda fallback */

  /* fluid type scale (ratio ~1.25 at mobile, ~1.414 at desktop) */
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 3.2rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.8rem);
  --step-5: clamp(3rem, 1.8rem + 5.6vw, 7.5rem);
  --step-6: clamp(4.2rem, 1.9rem + 9.4vw, 12rem);

  /* spacing (4/8 rhythm) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(4rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --max: 1440px;
  --measure: 66ch;

  /* shape and motion */
  --radius-pill: 999px;
  --radius-s: 4px;
  --dot: 0.22em;            /* pin dot size relative to the headline it ends */
  --ease: cubic-bezier(.2,.7,.1,1);
  --t-fast: 160ms;
  --t-mid: 320ms;
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-variation-settings: var(--serif-opsz);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--pin); color: var(--paper); }

:focus-visible {
  outline: 3px solid var(--pin);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-ink :focus-visible, .on-pin :focus-visible { outline-color: var(--paper); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-s); text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.on-ink { background: var(--ink); color: var(--paper); }
.on-pin { background: var(--pin); color: var(--ink); }
.on-mist { background: var(--mist); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5) var(--gutter); }
.measure { max-width: var(--measure); }

/* ---------- 4. Type helpers ---------- */
.display { font-size: var(--step-6); line-height: 0.9; letter-spacing: -0.025em; }
.h-xl { font-size: var(--step-5); line-height: 0.95; letter-spacing: -0.02em; }
.h-l { font-size: var(--step-4); }
.h-m { font-size: var(--step-3); }
.h-s { font-size: var(--step-2); line-height: 1.1; }
.lede { font-size: var(--step-1); line-height: 1.45; font-weight: 300; max-width: 38ch; }
.small { font-size: var(--step--1); }
.muted { color: var(--steel-text); }
.on-ink .muted { color: #A9B2B8; }

/* Kicker: sentence case, a pin dot instead of capitals */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6em;
  font: 500 var(--step--1)/1.2 var(--sans);
  letter-spacing: 0.01em;
  margin-bottom: var(--s-5);
}
.kicker::before {
  content: ""; width: 0.6em; height: 0.6em; border-radius: 50%;
  background: var(--pin); flex: none;
}
.on-pin .kicker::before { background: var(--ink); }

/* The pin: a cyan full stop that ends key headlines */
.pin {
  display: inline-block;
  width: var(--dot); height: var(--dot);
  margin-left: 0.04em;
  border-radius: 50%;
  background: var(--pin);
  vertical-align: baseline;
  transform-origin: 50% 100%;
}
.on-pin .pin { background: var(--ink); }

/* ---------- 5. Notch ruler (stepped ticks) ---------- */
.notches {
  --n: 20; --tick: 2px; --h: 14px;
  display: grid; grid-template-columns: repeat(var(--n), 1fr);
  align-items: end; height: calc(var(--h) * 2.2);
  color: var(--steel);
}
.notches i {
  justify-self: start; width: var(--tick); height: var(--h);
  background: currentColor; transform-origin: 50% 100%;
}
.notches i:nth-child(5n+1) { height: calc(var(--h) * 2.2); }
.notches i.is-on { background: var(--pin); }
.on-ink .notches { color: #4A535A; }
.on-pin .notches { color: rgba(13,17,20,.35); }
.on-pin .notches i.is-on { background: var(--ink); }

/* ---------- 6. Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid) var(--ease), background var(--t-mid);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.header-ink { background: rgba(13,17,20,.96); color: var(--paper); }
.site-header.header-ink.is-scrolled { border-bottom-color: var(--line-ink); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(132px, 10vw + 80px, 176px); height: auto; }
.nav-primary { display: none; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav-primary a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 500; font-size: 0.98rem; position: relative;
}
.nav-primary a::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--pin); transform: translateX(-50%) scale(0);
  transition: transform var(--t-fast) var(--ease);
}
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.btn.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-width: 44px; min-height: 44px; padding: 0 0 0 0.75rem; margin-right: -2px;
  background: none; border: 0; cursor: pointer; font-weight: 500;
}
.menu-toggle .bars { position: relative; width: 26px; height: 12px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform var(--t-mid) var(--ease), top var(--t-mid) var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 10px; right: 8px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 5px; right: 0; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + var(--s-6)) var(--gutter) var(--s-7);
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  visibility: hidden; clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path 600ms var(--ease), visibility 0s linear 600ms;
}
.menu-overlay.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 40px) 36px); transition: clip-path 700ms var(--ease); }
.menu-overlay ul { list-style: none; margin: 0; padding: 0; }
.menu-overlay li { overflow: hidden; }
.menu-overlay a.big {
  display: inline-flex; align-items: baseline; gap: 0.15em; min-height: 44px;
  font: 700 clamp(2.4rem, 9vw, 4.5rem)/1.12 var(--serif); font-variation-settings: var(--serif-opsz);
  text-decoration: none;
}
.menu-overlay a.big:hover .pin, .menu-overlay a.big:focus-visible .pin { transform: scale(1.4); }
.menu-overlay .pin { --dot: 0.18em; transition: transform var(--t-mid) var(--ease); }
.menu-overlay .menu-foot { display: grid; gap: var(--s-2); margin-top: var(--s-7); color: #C4CBD0; }
.menu-overlay .menu-foot a { color: var(--paper); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--ink); color: var(--paper); }

@media (min-width: 1024px) {
  .nav-primary { display: block; }
  .btn.header-cta { display: inline-flex; }
  .menu-toggle, .menu-overlay { display: none; }
}

/* ---------- 7. Buttons and links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 52px; padding: 0 1.6em; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--fg); border: 2px solid var(--bg);
  font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  will-change: transform;
}
.btn::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pin);
  transition: transform var(--t-mid) var(--ease);
}
.btn:hover::after { transform: scale(1.5); }
.btn-pin { --bg: var(--pin); --fg: var(--ink); }
.btn-pin::after { background: var(--ink); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn-light { --bg: var(--paper); --fg: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 1.2em; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.link-line {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px;
  font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
  transition: background-size var(--t-mid) var(--ease);
}
.link-line:hover { background-size: 0% 1px; background-position: 100% calc(100% - 8px); }
.text-pin { color: var(--pin-text); }
.on-ink .text-pin { color: var(--pin-on-ink); }

/* ---------- 8. Hero (home) ---------- */
.hero { padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(2rem, 1rem + 3vw, 4rem); overflow: hidden; }
.hero .display { margin: 0 0 var(--s-6); }
.hero .display .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero .display .line > span { display: inline-block; }
.hero .display .pin { --dot: 0.2em; }
.hero-foot { display: grid; gap: var(--s-6); align-items: end; }
/* The giant pin: the logo's dot, inflated, cropped by the right edge */
.hero { position: relative; isolation: isolate; }
.hero-disc {
  position: absolute; z-index: -1; border-radius: 50%; background: var(--pin);
  width: 46vw; height: 46vw; max-width: 760px; max-height: 760px;
  right: -12vw; top: 50%; transform: translateY(-58%);
}
@media (max-width: 899px) { .hero-disc { width: 44vw; height: 44vw; right: -16vw; top: 72px; transform: none; } }
@media (min-width: 900px) {
  .hero-foot { max-width: 58%; }
}
.hero .notches { margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); }
.hero-meta { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-3); }

/* ---------- 9. Pin / Notch split ---------- */
.split { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--gutter); } }
.split h3 { font-size: var(--step-5); line-height: 0.95; margin-bottom: var(--s-5); }
.split p { max-width: 40ch; font-size: var(--step-1); font-weight: 300; line-height: 1.5; }
.split .col + .col { border-top: 1px solid var(--line-ink); padding-top: var(--s-7); }
@media (min-width: 900px) { .split .col + .col { border-top: 0; border-left: 1px solid var(--line-ink); padding: 0 0 0 var(--gutter); } }

/* ---------- 10. Numbers (cyan block) ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-7) var(--gutter); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat .num {
  font: 700 var(--step-6)/0.85 var(--serif); font-variation-settings: var(--serif-opsz);
  letter-spacing: -0.03em; color: var(--paper); display: block;
}
.stat .lbl { display: block; margin-top: var(--s-4); font-weight: 500; max-width: 18ch; }
.stat .notches { margin-top: var(--s-4); --h: 10px; width: min(100%, calc(var(--n) * 12px)); }

/* ---------- 11. Services: expanding rows (home) and cards (what we do) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc { border-bottom: 1px solid var(--line); }
.svc-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-4);
  padding: clamp(1.1rem, 0.8rem + 1.2vw, 2rem) 0; background: none; border: 0; cursor: pointer; text-align: left;
}
.svc-title { font: 700 var(--step-3)/1.05 var(--serif); font-variation-settings: var(--serif-opsz); }
.svc-line { display: block; font: 400 var(--step-0)/1.4 var(--sans); color: var(--steel-text); margin-top: 0.35rem; }
.svc-ind {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); position: relative; flex: none;
  transition: background var(--t-mid) var(--ease), border-color var(--t-mid);
}
.svc-ind::before, .svc-ind::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform var(--t-mid) var(--ease), background var(--t-mid);
}
.svc-ind::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc-btn:hover .svc-ind { background: var(--pin); border-color: var(--pin); }
.svc-btn[aria-expanded="true"] .svc-ind { background: var(--ink); }
.svc-btn[aria-expanded="true"] .svc-ind::before, .svc-btn[aria-expanded="true"] .svc-ind::after { background: var(--paper); }
.svc-btn[aria-expanded="true"] .svc-ind::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc-panel { overflow: hidden; }
.svc-panel[hidden] { display: none; }
.svc-panel-inner { display: grid; gap: var(--s-5); padding: 0 0 var(--s-7); }
@media (min-width: 900px) { .svc-panel-inner { grid-template-columns: 1.2fr 1fr; padding-right: 64px; } }
.svc-panel p { font-size: var(--step-1); font-weight: 300; line-height: 1.5; max-width: 44ch; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tags li { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.4em 0.9em; font-size: var(--step--1); }

/* ---------- 12. Clients ---------- */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line-ink); border-left: 1px solid var(--line-ink); }
@media (min-width: 700px) { .clients { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.client {
  border-right: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink);
  aspect-ratio: 16 / 9; display: grid; place-items: center; padding: var(--s-5); position: relative;
}
.client img { width: 92%; max-height: 150px; object-fit: contain; }
.client .wordlogo { font: 700 clamp(1.3rem, 1rem + 1.4vw, 2.2rem)/1 var(--serif); font-variation-settings: var(--serif-opsz); text-align: center; }
.client .wordlogo small { display: block; font: 400 0.72rem/1.3 var(--sans); color: #A9B2B8; margin-top: 0.5rem; letter-spacing: 0.02em; }
.client::after {
  content: ""; position: absolute; right: 12px; top: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pin); transform: scale(0); transition: transform var(--t-mid) var(--ease);
}
.client:hover::after { transform: scale(1); }

/* ---------- 13. Editorial lists (articles, work) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.row a {
  display: grid; gap: var(--s-2) var(--gutter); padding: var(--s-6) 0; text-decoration: none;
  border-bottom: 1px solid var(--line); position: relative;
}
@media (min-width: 900px) { .row a { grid-template-columns: 11rem 1fr 14rem; align-items: baseline; } }
.row .date { font-size: var(--step--1); color: var(--steel-text); }
.row h3 { font-size: var(--step-2); line-height: 1.12; transition: color var(--t-fast); }
.row .sf { color: var(--steel-text); font-size: var(--step--1); }
.row a:hover h3 { color: var(--pin-text); }
.row a::before {
  content: ""; position: absolute; left: -22px; top: calc(var(--s-6) + 0.55em); width: 10px; height: 10px; border-radius: 50%;
  background: var(--pin); transform: scale(0); transition: transform var(--t-mid) var(--ease);
}
.row a:hover::before { transform: scale(1); }

.cases { display: grid; gap: var(--gutter); }
@media (min-width: 900px) { .cases { grid-template-columns: 1.4fr 1fr 1fr; } }
.case {
  min-height: 260px; padding: var(--s-6); display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; position: relative; overflow: hidden;
}
@media (min-width: 900px) { .case { min-height: 380px; } .case.on-ink { min-height: 440px; } }
.case > * { position: relative; z-index: 1; }
.case.on-ink h3 { max-width: 13ch; }
.case h3 { font-size: var(--step-3); line-height: 1.05; }
.case .case-client { font-weight: 600; }
.case .tag-draft { display: inline-block; font-size: var(--step--1); border: 1px dashed currentColor; border-radius: var(--radius-pill); padding: 0.2em 0.8em; }
.case .big-dot {
  position: absolute; right: -70px; bottom: -70px; width: 170px; height: 170px; border-radius: 50%; z-index: 0 !important;
  background: var(--pin); transition: transform 600ms var(--ease);
}
.case:hover .big-dot { transform: scale(1.12); }

/* ---------- 14. Monthly Notch teaser ---------- */
.mn { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .mn { grid-template-columns: 1fr 1fr; } }
.mn-graphic { position: relative; aspect-ratio: 4 / 3; background: var(--paper); padding: var(--s-6); display: flex; flex-direction: column; justify-content: space-between; }
.mn-graphic .title { font: 700 var(--step-3)/1 var(--serif); font-variation-settings: var(--serif-opsz); }
.mn-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 46%; }
.mn-bars i { display: block; background: var(--ink); height: var(--v); transform-origin: 50% 100%; }
.mn-bars i:nth-child(7) { background: var(--pin); }
.mn-caption { font-size: var(--step--1); color: var(--steel-text); }

/* ---------- 15. Memberships ---------- */
.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .badges { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .badges { grid-template-columns: repeat(5, 1fr); } }
.badges li { padding: var(--s-5) var(--s-4) var(--s-5) 0; border-bottom: 1px solid var(--line); }
.badges strong { display: block; font: 700 var(--step-2)/1.05 var(--serif); font-variation-settings: var(--serif-opsz); margin-bottom: 0.4rem; }
.badges span { font-size: var(--step--1); color: var(--steel-text); }

/* ---------- 16. CTA block ---------- */
.cta-block { text-align: left; }
.cta-block h2 { font-size: var(--step-5); line-height: 0.95; max-width: 14ch; margin-bottom: var(--s-6); }
.cta-block .contact-inline { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin-top: var(--s-6); }
.cta-block .contact-inline a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--s-9) var(--s-6); border-top: 1px solid var(--line-ink); }
.footer-grid { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 600 var(--step--1)/1.2 var(--sans); color: #A9B2B8; margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.site-footer li a:hover { color: var(--pin-on-ink); }
.footer-brand img { width: 200px; margin-bottom: var(--s-5); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line-ink); color: #A9B2B8; font-size: var(--step--1); }

/* ---------- 18. Page heads (inner pages) ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-head .h-xl { margin-bottom: var(--s-6); }
.crumbs { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.4em; font-size: var(--step--1); }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: "/"; margin-right: 0.4em; color: var(--steel); }
.crumbs a { display: inline-flex; min-height: 44px; align-items: center; }

/* Service cards that expand (what we do) */
.cards { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-5); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.card {
  background: var(--paper); border: 1px solid var(--line); padding: var(--s-6); display: flex; flex-direction: column;
  transition: background var(--t-mid) var(--ease), color var(--t-mid), border-color var(--t-mid);
}
.card.is-open { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card .card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); margin-bottom: var(--s-6); }
.card .card-n { font-size: var(--step--1); color: var(--steel-text); }
.card.is-open .card-n { color: #A9B2B8; }
.card.is-open .notches { color: #4A535A; }
.card .notches { --n: 6; --h: 10px; --tick: 3px; width: 96px; height: 22px; }
.card h3 { font-size: var(--step-3); line-height: 1.02; margin-bottom: var(--s-3); }
.card .card-line { font-size: var(--step-1); font-weight: 300; margin-bottom: var(--s-5); }
.card .card-more[hidden] { display: none; }
.card .card-more { overflow: hidden; }
.card .card-more p { color: inherit; }
.card .card-more .tags li { border-color: var(--line-ink); }
.card .card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: space-between; }
.card .toggle {
  display: inline-flex; align-items: center; gap: 0.6em; min-height: 44px; padding: 0 1.1em; border-radius: var(--radius-pill);
  border: 1.5px solid currentColor; background: none; cursor: pointer; font-weight: 500;
}
.card .toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pin); }
.card.is-open .link-line { color: var(--paper); }

/* Steps on a notch ruler */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-7); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding-top: var(--s-7); } }
.steps li { counter-increment: step; position: relative; padding-left: var(--s-7); }
@media (min-width: 900px) { .steps li { padding-left: 0; } }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1em;
  font: 700 var(--step-2)/1 var(--serif); color: var(--pin-on-ink);
}
@media (min-width: 900px) { .steps li::before { position: static; display: block; font-size: var(--step-4); margin-bottom: var(--s-4); } }
.steps h3 { font-size: var(--step-2); margin-bottom: var(--s-3); }
.steps-rail { display: none; }
@media (min-width: 900px) {
  .steps-rail { display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-ink); }
  .steps-rail span { display: block; height: 100%; width: 100%; background: var(--pin); transform-origin: 0 50%; }
}

/* FAQ (details/summary: works with JS off) */
.faq { border-top: 2px solid currentColor; }
.faq details { border-bottom: 1px solid var(--line); }
.on-ink .faq details { border-bottom-color: var(--line-ink); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: var(--s-4); align-items: center;
  padding: var(--s-5) 0; min-height: 44px; font: 700 var(--step-1)/1.25 var(--serif); font-variation-settings: var(--serif-opsz);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--pin); justify-self: end;
  transition: background var(--t-fast), transform var(--t-mid) var(--ease);
}
.faq details[open] summary::after { background: var(--pin); transform: scale(1.25); }
.faq .ans { padding: 0 0 var(--s-5); max-width: var(--measure); }

/* ---------- 19. Article ---------- */
.read-progress {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 6px; pointer-events: none;
  display: grid; grid-template-columns: repeat(40, 1fr); gap: 3px; padding: 0 3px; background: transparent;
}
.read-progress i { background: var(--mist); transition: background var(--t-fast); }
.read-progress i.is-on { background: var(--pin); }
.article-head { padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) var(--s-7); }
.article-head h1 { font-size: var(--step-5); line-height: 0.96; max-width: 14ch; margin-bottom: var(--s-6); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); font-size: var(--step--1); color: var(--steel-text); margin-top: var(--s-6); }
.article-meta strong { color: var(--ink); font-weight: 500; }
.article-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1100px) { .article-layout { grid-template-columns: 15rem minmax(0, 1fr) 15rem; gap: var(--gutter); } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; font-size: var(--step--1); }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .toc a { display: flex; min-height: 44px; align-items: center; padding-left: var(--s-4); text-decoration: none; color: var(--steel-text); position: relative; }
  .toc a.is-active { color: var(--ink); font-weight: 500; }
  .toc a.is-active::before { content: ""; position: absolute; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--pin); }
}
.prose { max-width: var(--measure); font-size: clamp(1.06rem, 1rem + 0.25vw, 1.2rem); line-height: 1.7; }
.prose h2 { font-size: var(--step-3); margin: var(--s-8) 0 var(--s-4); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 .pin { --dot: 0.18em; }
.prose sup a { color: var(--pin-text); text-decoration: none; font-weight: 600; padding: 0 2px; }
.keypoints { background: var(--mist); padding: var(--s-6); margin: 0 0 var(--s-7); }
.keypoints h2 { font: 600 var(--step-0)/1.2 var(--sans); margin: 0 0 var(--s-4); }
.keypoints ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-3); }
.keypoints li { position: relative; padding-left: 1.4em; }
.keypoints li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--pin); }
.pullquote {
  margin: var(--s-8) 0; padding: var(--s-6) 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line);
  font: 700 var(--step-3)/1.1 var(--serif); font-variation-settings: var(--serif-opsz);
}
.pullquote p { margin: 0; }
.figure-stat {
  margin: var(--s-7) 0; display: grid; gap: var(--s-4); padding: var(--s-6); background: var(--ink); color: var(--paper);
}
@media (min-width: 700px) { .figure-stat { grid-template-columns: 1fr 1fr; } }
.figure-stat .big { white-space: nowrap; font: 700 var(--step-4)/0.9 var(--serif); font-variation-settings: var(--serif-opsz); color: var(--paper); }
.figure-stat .big em { font-style: normal; color: var(--pin-on-ink); }
.figure-stat figcaption { font-size: var(--step--1); color: #C4CBD0; }
.sources { font-size: var(--step--1); color: var(--steel-text); border-top: 1px solid var(--line); margin-top: var(--s-8); padding-top: var(--s-5); }
.sources ol { padding-left: 1.4em; }
.aside-card { display: none; }
@media (min-width: 1100px) {
  .aside-card { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; background: var(--pin); color: var(--ink); padding: var(--s-5); }
  .aside-card h2 { font-size: var(--step-2); margin-bottom: var(--s-4); }
}
.share { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.share a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 1em; border: 1px solid var(--line); border-radius: var(--radius-pill); text-decoration: none; font-size: var(--step--1); }
.share a:hover { border-color: var(--ink); }

/* ---------- 20. Contact ---------- */
.contact-split { display: grid; }
@media (min-width: 1000px) { .contact-split { grid-template-columns: 5fr 7fr; min-height: calc(100vh - var(--header-h)); } }
.contact-left { padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-8); }
.contact-left h1 { font-size: var(--step-5); line-height: 0.92; margin-bottom: var(--s-6); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink); }
.contact-list li { border-bottom: 1px solid var(--line-ink); padding: var(--s-4) 0; display: grid; gap: 0.2rem; }
.contact-list .k { font-size: var(--step--1); color: #A9B2B8; }
.contact-list a, .contact-list .v { font: 700 var(--step-1)/1.3 var(--serif); font-variation-settings: var(--serif-opsz); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--pin-on-ink); }
.contact-right { padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gutter); }
.form { display: grid; gap: var(--s-5); max-width: 720px; }
.form-row { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label, .field legend { font-weight: 500; font-size: 0.98rem; }
.field .opt { color: var(--steel-text); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 0; border: 0; border-bottom: 2px solid var(--line); background: transparent;
  border-radius: 0; font-size: var(--step-1); transition: border-color var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--pin); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 2px 0 0 var(--pin); }
.field.has-error input, .field.has-error textarea { border-bottom-color: #B3261E; }
.field .err { color: #B3261E; font-size: var(--step--1); min-height: 1.2em; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; padding: 0 1em; border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  font-size: 0.95rem;
}
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--steel); transition: background var(--t-fast), border-color var(--t-fast); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--pin); border-color: var(--pin); }
.chip input:focus-visible + span { outline: 3px solid var(--pin); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; font-size: 0.95rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.form-status { padding: var(--s-5); background: var(--mist); display: none; }
.form-status.is-shown { display: block; }
.map-card {
  position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); overflow: hidden;
  background-image:
    linear-gradient(var(--line-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-ink) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-card .road { position: absolute; background: #3A434A; }
.map-card .pin-drop { position: absolute; left: 30%; top: 42%; width: 22px; height: 22px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 8px rgba(14,147,207,.25); }
.map-card .label { white-space: nowrap; position: absolute; left: calc(30% + 34px); top: calc(42% - 6px); font-size: var(--step--1); color: var(--paper); background: var(--ink); padding: 0.2em 0.6em; }
.map-card a { position: absolute; left: var(--s-4); bottom: var(--s-4); }

/* ---------- 21. Cursor follower ---------- */
.cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--pin);
  opacity: 0; transition: width var(--t-mid) var(--ease), height var(--t-mid) var(--ease), margin var(--t-mid) var(--ease), opacity var(--t-mid);
  mix-blend-mode: normal;
}
.cursor-dot.is-visible { opacity: 1; }
.cursor-dot.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(14,147,207,.25); box-shadow: inset 0 0 0 2px var(--pin); }
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none; } }

/* ---------- 22. Chat launcher and panel (static mock) ---------- */
.chat-launch {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80;
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: var(--pin); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(13,17,20,.22);
}
.chat-launch::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--pin); opacity: .5;
  animation: ping 2.8s var(--ease) infinite;
}
.chat-launch .core { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); transition: transform var(--t-mid) var(--ease); }
.chat-launch[aria-expanded="true"] .core { transform: scale(1.6); background: var(--ink); }
@keyframes ping { 0% { transform: scale(.9); opacity: .6; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.chat-panel {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 80;
  width: min(400px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 128px));
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(13,17,20,.25);
  display: flex; flex-direction: column; transform-origin: 100% 100%;
}
.chat-panel[hidden] { display: none; }
.chat-head { background: var(--ink); color: var(--paper); padding: var(--s-4) var(--s-5); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.chat-head .who { display: flex; align-items: center; gap: var(--s-3); }
.chat-head .who::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 4px rgba(14,147,207,.3); }
.chat-head strong { font: 700 1.15rem/1.1 var(--serif); font-variation-settings: var(--serif-opsz); display: block; }
.chat-head small { color: #A9B2B8; }
.chat-close { width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.chat-body { padding: var(--s-5); overflow-y: auto; display: grid; gap: var(--s-3); align-content: start; flex: 1; }
.msg { max-width: 88%; padding: 0.75rem 1rem; line-height: 1.45; font-size: 0.97rem; }
.msg.bot { background: var(--mist); justify-self: start; border-radius: 4px 16px 16px 16px; }
.msg.me { background: var(--ink); color: var(--paper); justify-self: end; border-radius: 16px 4px 16px 16px; }
.chat-suggest { display: grid; gap: var(--s-2); }
.chat-suggest button {
  text-align: left; min-height: 44px; padding: 0.6rem 0.9rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); cursor: pointer; font-size: 0.95rem;
}
.chat-suggest button:hover { border-color: var(--pin); }
.chat-form { display: flex; gap: var(--s-2); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); padding: 0 1rem; }
.chat-form button { min-width: 44px; min-height: 44px; border-radius: 50%; border: 0; background: var(--pin); cursor: pointer; display: grid; place-items: center; }
.chat-form button span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.chat-note { padding: 0 var(--s-5) var(--s-3); font-size: 0.78rem; color: var(--steel-text); }

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .cursor-dot { display: none; }
  .menu-overlay { clip-path: none !important; }
}

/* ---------- 24. Late fixes ---------- */
.cards { align-items: start; }

/* =========================================================================
   25. Build components (Phase 4)
   ========================================================================= */

/* Header brand swap (dark logo by default, light logo when the menu is open) */
.brand { position: relative; }
.brand img { width: clamp(132px, 10vw + 80px, 176px); height: auto; }
.brand .brand-light { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
body.menu-open .brand .brand-light { opacity: 1; }
body.menu-open .brand .brand-dark { opacity: 0; }
.header-cta[aria-current="page"] { background: var(--pin); border-color: var(--pin); color: var(--ink); }
.header-cta[aria-current="page"]::after { background: var(--ink); }

/* Hero: the giant pin. No negative z-index and no reliance on JS, so it renders in every engine */
.hero { position: relative; overflow: hidden; isolation: auto; }
.hero-disc-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-disc {
  position: absolute; display: block; border-radius: 50%; background: var(--pin); z-index: 0;
  width: 46vw; height: 46vw; max-width: 760px; max-height: 760px;
  right: -12vw; top: 10%; transform: none;
}
@media (max-width: 899px) { .hero-disc { width: 44vw; height: 44vw; right: -16vw; top: 56px; } }
.hero-inner { position: relative; z-index: 1; }
.hero .hero-notches { margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); }

/* Notch rulers that respond to scroll */
.notches[data-scrub] i { transform-origin: 50% 100%; }

/* Photo treatment: one look everywhere. Black and white; colour returns on hover/focus for work */
.ph { display: block; position: relative; overflow: hidden; background: var(--ink-2); }
.ph img, .ph video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter 600ms var(--ease), transform 900ms var(--ease); }
.ph picture { display: block; width: 100%; height: 100%; }
.circle-crop { border-radius: 50%; aspect-ratio: 1 / 1; }

/* Page head with optional circular image */
.page-head { padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); overflow: hidden; }
.page-head-grid { display: grid; gap: var(--s-7); align-items: center; }
.page-head .h-xl { margin-bottom: var(--s-5); }
.page-head .lede { max-width: 40ch; }
.page-head-img { margin: 0; width: min(70vw, 420px); justify-self: end; }
@media (min-width: 900px) {
  .page-head.has-img .page-head-grid { grid-template-columns: 1.4fr 1fr; }
  .page-head-img { width: min(34vw, 500px); }
}
.page-head .notches { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); --h: 10px; }

/* Section header row */
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-4); margin-bottom: var(--s-7); }
.sec-head-row .h-l { margin: 0; }

/* Text + media */
.text-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) {
  .text-grid.two { grid-template-columns: 1.15fr 1fr; }
  .text-grid.two.media-left { grid-template-columns: 1fr 1.15fr; }
  .text-grid.media-left .text-media { order: -1; }
  .text-grid.split-text { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.text-col .h-l, .text-col .h-m { margin-bottom: var(--s-5); }
.text-media { margin: 0; width: min(100%, 480px); justify-self: center; }
.rich p { max-width: 62ch; }
.rich a { color: var(--pin-text); }
.on-ink .rich a, .on-pin .rich a { color: inherit; }
.lede-rich p { font-size: var(--step-1); font-weight: 300; line-height: 1.5; }
.rich ul { padding-left: 1.2em; }
.rich li { margin-bottom: .5em; }
.dot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.dot-list li { position: relative; padding-left: 1.6em; font-size: var(--step-1); font-weight: 300; line-height: 1.45; max-width: 46ch; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--pin); }
.dot-list strong { font-weight: 600; }

/* Full-bleed image band */
.band { position: relative; min-height: clamp(440px, 72vh, 780px); display: grid; align-items: end; overflow: hidden; color: var(--paper); background: var(--ink); }
.band-media { position: absolute; inset: -8% 0; }
.band-media img { filter: grayscale(1) contrast(1.1) brightness(.85); }
.band-overlay { position: relative; z-index: 1; width: 100%; padding-block: var(--s-9) var(--s-8); background: linear-gradient(to top, rgba(13,17,20,.92) 0%, rgba(13,17,20,.55) 55%, rgba(13,17,20,0) 100%); }
.band .h-xl { max-width: 13ch; margin-bottom: var(--s-5); }
.band-body p { max-width: 46ch; font-size: var(--step-1); font-weight: 300; color: #E3E8EB; }

/* Split after paragraph */
.split-after { margin-top: var(--s-8); }
.split-after p { color: #C4CBD0; font-size: var(--step-1); font-weight: 300; max-width: 52ch; }

/* Services: rows (home) with thumbnail */
.svc-panel-media { display: grid; gap: var(--s-5); grid-template-columns: 110px 1fr; align-items: start; }
.svc-thumb { width: 110px; }

/* Services: cards (what we do) */
.svc-cards { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); } }
@media (min-width: 1180px) { .svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-card { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-2) var(--s-5); align-content: start; background: var(--paper); border: 1px solid var(--line); padding: var(--s-6); text-decoration: none; transition: background var(--t-mid) var(--ease), color var(--t-mid), border-color var(--t-mid); }
.svc-card-img { width: 88px; grid-row: span 2; }
.svc-card-n { color: var(--steel-text); align-self: end; }
.svc-card-title { font: 700 var(--step-2)/1.08 var(--serif); font-variation-settings: var(--serif-opsz); align-self: start; }
.svc-card-line { grid-column: 1 / -1; font-size: var(--step-1); font-weight: 300; margin-top: var(--s-4); }
.svc-card-sum { grid-column: 1 / -1; color: var(--steel-text); }
.svc-card .link-line { grid-column: 1 / -1; justify-self: start; }
.svc-card:hover, .svc-card:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.svc-card:hover .svc-card-sum, .svc-card:hover .svc-card-n, .svc-card:focus-visible .svc-card-sum, .svc-card:focus-visible .svc-card-n { color: #C4CBD0; }
.svc-card:hover .ph img, .svc-card:focus-visible .ph img { filter: grayscale(0); }

/* Clients */
.client img { width: 92%; max-height: 150px; object-fit: contain; filter: none; }
.client picture { display: grid; place-items: center; width: 100%; }
.client .wordlogo small { color: #A9B2B8; }

/* Case cards */
.case-grid { display: grid; gap: var(--s-8) var(--gutter); }
@media (min-width: 760px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-card-link { display: block; text-decoration: none; }
.case-media { aspect-ratio: 16 / 10; }
.case-teaser { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms var(--ease), filter 600ms var(--ease); }
.case-card.is-playing .case-teaser { opacity: 1; }
.case-play { position: absolute; right: var(--s-4); bottom: var(--s-4); width: 56px; height: 56px; border-radius: 50%; background: var(--pin); display: grid; place-items: center; z-index: 2; transition: transform var(--t-mid) var(--ease); }
.case-play span { width: 0; height: 0; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.case-meta { display: grid; gap: var(--s-2); padding-top: var(--s-5); }
.case-client { font-weight: 600; font-size: var(--step--1); display: inline-flex; align-items: center; gap: .6em; }
.case-client::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--pin); }
.case-title { font: 700 var(--step-2)/1.12 var(--serif); font-variation-settings: var(--serif-opsz); transition: color var(--t-fast); }
.case-disc { color: var(--steel-text); }
.on-ink .case-disc { color: #A9B2B8; }
.case-card-link:hover .ph img, .case-card-link:focus-visible .ph img, .case-card-link:hover .ph video, .case-card.is-playing .ph video { filter: grayscale(0) contrast(1); }
.case-card-link:hover .ph img { transform: scale(1.03); }
.case-card-link:hover .case-title, .case-card-link:focus-visible .case-title { color: var(--pin-text); }
.case-card-link:hover .case-play { transform: scale(1.12); }

/* Article cards */
.art-grid { display: grid; gap: var(--s-7) var(--gutter); }
@media (min-width: 760px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.art-grid.art-grid-1 { grid-template-columns: 1fr; }
.art-card a { display: grid; gap: var(--s-3); text-decoration: none; }
.art-img { aspect-ratio: 4 / 3; }
.art-meta { display: flex; flex-wrap: wrap; gap: var(--s-4); color: var(--steel-text); }
.on-ink .art-meta { color: #A9B2B8; }
.art-topic::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pin); margin-right: .5em; vertical-align: middle; }
.art-title { font: 700 var(--step-2)/1.12 var(--serif); font-variation-settings: var(--serif-opsz); transition: color var(--t-fast); }
.art-sf { color: var(--steel-text); }
.on-ink .art-sf { color: #A9B2B8; }
.art-card a:hover .art-title { color: var(--pin-text); }
.on-ink .art-card a:hover .art-title { color: var(--pin-on-ink); }
.art-card a:hover .ph img { filter: grayscale(0); transform: scale(1.03); }
@media (min-width: 1100px) {
  .art-card-big { grid-column: span 2; }
  .art-card-big a { grid-template-columns: 1.2fr 1fr; align-content: center; column-gap: var(--gutter); }
  .art-card-big .art-img { grid-row: span 4; aspect-ratio: 16 / 11; }
  .art-card-big .art-title { font-size: var(--step-3); }
  .art-grid-1 .art-card-big { grid-column: auto; }
}
.art-card[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-7); }
.chip-btn { min-height: 44px; padding: 0 1.1em; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: transparent; cursor: pointer; font-size: .95rem; color: inherit; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Monthly Notch with photo */
.mn-graphic { position: relative; background: none; padding: 0; aspect-ratio: auto; display: block; }
.mn-photo { aspect-ratio: 4 / 3; }
.mn-card { background: var(--paper); padding: var(--s-6); display: grid; gap: var(--s-4); width: min(88%, 440px); margin: -22% 0 0 auto; position: relative; z-index: 1; box-shadow: 0 18px 50px rgba(13,17,20,.12); }
.mn-card .title { font: 700 var(--step-2)/1 var(--serif); font-variation-settings: var(--serif-opsz); }
.mn-card .mn-bars { height: 110px; }

/* CTA with image */
.cta-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .cta-media .cta-grid { grid-template-columns: 1.4fr 1fr; } }
.cta-img { margin: 0; width: min(70vw, 440px); justify-self: end; }

/* Team */
.team { display: grid; gap: var(--s-8); }
.person { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 800px) { .person { grid-template-columns: 200px 1fr; } }
.person-img, .person-mono { width: 200px; display: block; }
.person-img img { object-position: 50% 0; }
.person-mono { aspect-ratio: 1; border-radius: 50%; background: var(--pin); color: var(--ink); display: grid; place-items: center; font: 700 5rem/1 var(--serif); }
.person h3 { font-size: var(--step-3); margin-bottom: var(--s-2); }
.person-role { color: var(--steel-text); font-weight: 500; margin-bottom: var(--s-5); }
.person p { max-width: 62ch; }

/* Rows used for jobs and news */
.row.job summary { list-style: none; cursor: pointer; display: grid; gap: var(--s-2) var(--gutter); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.row.job summary::-webkit-details-marker { display: none; }
@media (min-width: 900px) { .row.job summary { grid-template-columns: 11rem 1fr 14rem; align-items: baseline; } }
.job-desc { padding: var(--s-5) 0 var(--s-7); }
.media-kit { margin-top: var(--s-6); }

/* Service page */
.includes { list-style: none; margin: 0; padding: var(--s-6) 0 0; display: grid; gap: var(--s-6) var(--gutter); border-top: 1px solid var(--line-ink); }
@media (min-width: 760px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.includes h3 { font-size: var(--step-2); margin-bottom: var(--s-3); display: flex; gap: .5em; align-items: baseline; }
.includes h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--pin); transform: translateY(-.15em); }
.includes p { color: #C4CBD0; max-width: 46ch; }
.case-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.other-svc { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); align-items: center; }
.other-svc a { min-height: 44px; display: inline-flex; align-items: center; }

/* Case study page */
.case-hero { padding-top: clamp(2.5rem, 2rem + 3vw, 5rem); }
.case-h1 { max-width: 18ch; margin-bottom: var(--s-5); }
.case-lede { color: #E3E8EB; max-width: 46ch; }
.case-visual-wrap { margin-top: var(--s-8); }
.case-visual { margin: 0 0 calc(var(--s-8) * -1); position: relative; z-index: 1; }
.case-video { display: block; width: 100%; aspect-ratio: 720 / 436; background: #000; }
.case-cover { aspect-ratio: 16 / 8; }
.case-cover img { filter: none; }
.case-body { display: grid; gap: var(--s-7); padding-top: calc(var(--s-8) + var(--s-9)); padding-bottom: var(--section); }
@media (min-width: 1000px) { .case-body { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--gutter); } }
.case-facts dl { margin: 0; display: grid; gap: var(--s-1); }
.case-facts dt { font-size: var(--step--1); color: var(--steel-text); margin-top: var(--s-4); }
.case-facts dd { margin: 0; font-weight: 500; }
.case-facts .notches { --h: 10px; width: 96px; margin-top: var(--s-6); }
@media (min-width: 1000px) { .case-facts { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.case-story { max-width: 70ch; }
.case-block { margin-bottom: var(--s-8); font-size: clamp(1.06rem, 1rem + .25vw, 1.2rem); line-height: 1.7; }
.case-block h2 { margin-bottom: var(--s-4); }
.case-block ul { padding-left: 1.2em; }
.case-block li { margin-bottom: .6em; }
.case-outcome { padding: var(--s-7); }
.case-outcome p { font-size: var(--step-1); line-height: 1.5; }
.case-gallery-sec { padding-top: 0; }
.case-gallery { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .case-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.gal-item { margin: 0; }
.gal-item img { width: 100%; height: auto; border: 1px solid var(--line); display: block; }
.gal-item figcaption { color: var(--steel-text); margin-top: var(--s-2); }
.next-case-link { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2) var(--gutter); align-items: center; padding-block: var(--s-8); text-decoration: none; }
.next-title { grid-column: 1; font: 700 var(--step-3)/1.1 var(--serif); font-variation-settings: var(--serif-opsz); }
.next-img { grid-column: 2; grid-row: 1 / span 2; width: clamp(96px, 14vw, 200px); }
.next-case-link:hover .next-title { color: var(--pin-on-ink); }
.next-case-link:hover .ph img { filter: grayscale(0); }

/* Article page additions */
.article-head-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1100px) { .article-head-grid { grid-template-columns: 1.6fr 1fr; } }
.article-cover { margin: 0; width: min(70vw, 420px); justify-self: end; }
.sources h2 { font: 600 var(--step-0)/1.2 var(--sans); margin: 0 0 var(--s-3); }
.sources a { color: var(--pin-text); }
.share button { min-height: 44px; padding: 0 1em; border: 1px solid var(--line); border-radius: var(--radius-pill); background: none; cursor: pointer; font-size: var(--step--1); }
.prose blockquote { margin: var(--s-6) 0; padding-left: var(--s-5); border-left: 3px solid var(--pin); font-family: var(--serif); font-variation-settings: var(--serif-opsz); font-size: var(--step-1); }
.prose blockquote p:last-child { font-family: var(--sans); font-size: var(--step--1); color: var(--steel-text); }
.release-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .release-layout { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.release-img { aspect-ratio: 4 / 3; margin: 0; }
.boilerplate { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--steel-text); }
.boilerplate h2 { font: 600 var(--step-0)/1.2 var(--sans); color: var(--ink); margin: 0 0 var(--s-3); }

/* Contact page (the H1 lives in the page head) */
.contact-split { display: grid; }
@media (min-width: 1000px) { .contact-split { grid-template-columns: 5fr 7fr; min-height: auto; } }
.contact-left { padding: clamp(2.5rem, 2rem + 3vw, 5rem) var(--gutter); justify-content: flex-start; gap: var(--s-7); }
.contact-list .follow { gap: var(--s-5); }
.contact-photo { margin: 0; aspect-ratio: 16 / 11; }
.contact-photo .btn { position: absolute; left: var(--s-4); bottom: var(--s-4); z-index: 2; }
.form-status.is-error { background: #FBE9E7; color: #8A1C14; }
.field .err, #consent-err { color: #B3261E; font-size: var(--step--1); min-height: 1.2em; display: block; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Chat lead capture */
.chat-lead { display: grid; gap: var(--s-2); padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); }
.chat-lead[hidden] { display: none; }
.chat-lead input, .chat-lead textarea { width: 100%; min-height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .8rem; font-size: .95rem; }
.chat-lead-actions { display: flex; gap: var(--s-3); align-items: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--pin-text); text-decoration: underline; cursor: pointer; font: inherit; min-height: 32px; }
.msg.bot a { color: var(--pin-text); }
.msg .src { display: block; margin-top: .5rem; font-size: .82rem; }
.msg.typing { color: var(--steel-text); }
.chat-note { line-height: 1.5; }

/* Footer */
.footer-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand p { color: #C4CBD0; max-width: 30ch; }
.footer-addr { color: #E3E8EB; }
.site-footer li.social { display: flex; gap: var(--s-5); }
.footer-base a { color: #C4CBD0; }

/* Reduced motion: never animate photos or play teasers */
@media (prefers-reduced-motion: reduce) {
  .ph img, .ph video { transition: none !important; transform: none !important; }
  .ph .case-teaser, .case-play { display: none; }
}

/* Work: client photos and films stay in full colour (cards, case cover, film, gallery, next case) */
.case-media img, .case-media video, .case-cover img, .case-cover video, .case-video,
.case-gallery img, .case-gallery video, .next-img img { filter: none !important; }
