/* ==========================================================================
   Hacuk Tech Solutions — Design System
   Monochrome: neutral greys on a white ground, set in Tenorite. No hue
   anywhere in the chrome — weight, scale and lightness carry every
   distinction the palette used to carry with colour.

   Categorical ladder (light surfaces), fixed order, never cycled:
     #1a1a1a Cloud · #333333 Engineering · #474747 Data · #595959 AI ·
     #6a6a6a Implementation
   Every step clears 4.5:1 both as text on the surfaces in use (down to
   --accent-tint-2) and as a fill behind white text, so one value does
   every job the old hue did. The on-dark counterparts live in --vc-light
   and run #b0b0b0-#e6e6e6.
   ========================================================================== */

:root{
  /* --- Brand ------------------------------------------------------------ */
  --accent:#1a1a1a;
  --accent-dark:#000000;
  --accent-tint:#f7f7f7;
  --accent-tint-2:#ebebeb;
  --accent-2:#333333;

  /* The logo lock-up: near-black wordmark, mid-grey strapline. */
  --brand-mark:#1a1a1a;
  --brand-sub:#4a4a4a;
  --brand-sub-on-dark:#9a9a9a;

  /* --- Vertical hues (fixed order, never cycled) ------------------------ */
  --v-cloud:#1a1a1a;
  --v-eng:#333333;
  --v-data:#474747;
  --v-ai:#595959;
  --v-impl:#6a6a6a;

  /* --- Ink & surfaces --------------------------------------------------- */
  --ink:#141414;
  --ink-2:#333333;
  --ink-3:#565656;
  --ink-4:#8d8d8d;
  --line:#e6e6e6;
  --line-2:#f0f0f0;
  --surface:#ffffff;
  --surface-2:#f7f7f7;
  --surface-3:#f1f1f1;
  --deep:#131313;
  --deep-2:#232323;

  /* --- Figure ramp ------------------------------------------------------
     Orbit rule 3 caps strokes at 1-1.6px and makes colour carry the weight.
     These two values are the floor: no figure geometry is drawn lighter
     than --fig-line, no figure annotation lighter than --fig-ink.
     ---------------------------------------------------------------------- */
  --fig-ink:#6e6e6e;
  --fig-line:#bdbdbd;

  /* --- Type -------------------------------------------------------------
     One voice across the whole site: Tenorite where the reader has it
     (it ships with Microsoft 365), Figtree as the webfont stand-in — same
     warm humanist skeleton, same tall x-height, so the fallback is a
     substitution rather than a different design.

     Tenorite ships Regular and Bold only, so the weight ladder stops at
     700: nothing here asks the browser to synthesise a heavier face.
     --font-label is the small-caps voice for eyebrows and meta; real
     monospace is reserved for actual code.
     ---------------------------------------------------------------------- */
  --font-display:'Tenorite','Figtree','Segoe UI','Helvetica Neue',Arial,sans-serif;
  --font-body:'Tenorite','Figtree','Segoe UI','Helvetica Neue',Arial,sans-serif;
  --font-label:'Tenorite','Figtree','Segoe UI','Helvetica Neue',Arial,sans-serif;
  --font-mono:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;

  /* --- Rhythm ----------------------------------------------------------- */
  --wrap:1200px;
  --wrap-narrow:760px;
  --gut:clamp(20px,5vw,48px);
  --sec:clamp(64px,9vw,118px);
  --r:3px;
  --r-lg:6px;
  /* Cards that borrow the softer, more product-like corner. Deliberately the
     only place the 3px house radius is relaxed. */
  --r-card:14px;

  --shadow:0 1px 2px rgba(19,19,19,.04),0 8px 24px -12px rgba(19,19,19,.14);
  --shadow-lg:0 2px 4px rgba(19,19,19,.05),0 22px 48px -20px rgba(19,19,19,.22);
  --ease:cubic-bezier(.22,.61,.36,1);
}

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

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  color-scheme:light;
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--surface);
  color:var(--ink-3);
  font-family:var(--font-body);
  font-size:16.75px;
  line-height:1.68;
  letter-spacing:-.003em;     /* Tenorite sets a touch wide; close it slightly. */
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-optical-sizing:auto;
  font-kerning:normal;
  font-variant-numeric:lining-nums proportional-nums;
  overflow-x:hidden;
}

img,svg{max-width:100%}
img{height:auto;display:block}

/* --- Headings ------------------------------------------------------------
   Two weights only, 400 and 700 — both real faces in Tenorite and in
   Figtree, so the page looks the same whichever one the reader gets.
   Tracking tightens as size grows, the way metal type was cut: display
   sizes need the air taken out, small sizes need it left in.
   ------------------------------------------------------------------------ */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  color:var(--ink);
  margin:0 0 .6em;
  font-weight:700;
  line-height:1.14;
  letter-spacing:-.028em;
  text-wrap:balance;          /* no one-word last lines */
  hyphens:none;
}
h1{font-size:clamp(2.1rem,5.2vw,3.6rem);letter-spacing:-.034em;line-height:1.08}
h2{font-size:clamp(1.65rem,3.5vw,2.45rem);letter-spacing:-.029em;line-height:1.12}
h3{font-size:clamp(1.15rem,2vw,1.42rem);letter-spacing:-.019em;line-height:1.26}
h4{font-size:1.02rem;letter-spacing:-.012em;line-height:1.35}
p{margin:0 0 1.15em;text-wrap:pretty}
p:last-child{margin-bottom:0}

a{color:var(--accent);text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--accent-dark)}

strong{color:var(--ink-2);font-weight:700;letter-spacing:-.006em}
em{font-style:italic}

/* Inline code — the only place a true monospace belongs. */
code{
  font-family:var(--font-mono);
  font-size:.875em;
  font-weight:400;
  letter-spacing:0;
  padding:.1em .34em;
  background:var(--surface-3);
  border-radius:2px;
  color:var(--ink-2);
  word-break:break-word;
}

::selection{background:var(--accent);color:#fff}

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

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.wrap-narrow{max-width:var(--wrap-narrow);margin-inline:auto;padding-inline:var(--gut)}
.section{padding-block:var(--sec)}
.section--tint{background:var(--surface-2);border-block:1px solid var(--line)}
.section--deep{background:var(--deep);color:#c3c3c3}
.section--deep h2,.section--deep h3,.section--deep h4{color:#fff}

.grid{display:grid;gap:clamp(18px,2.4vw,30px)}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:900px){.g3,.g4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.g2,.g3,.g4{grid-template-columns:minmax(0,1fr)}}

/* Centred measure is for a wide column. On a phone it rags badly and costs
   the reader a fixed left edge, so section heads go left below 680px. */
@media (max-width:680px){
  .sec-head--center{text-align:left;margin-inline:0}
  .sec-head--center .eyebrow{justify-content:flex-start}
}

/* ==========================================================================
   Section headers
   ========================================================================== */

/* The rule before it marks where a section starts — that is structural.
   The words are set at reading size in sentence case: a caps-and-tracking
   label above every heading is chrome, and says nothing the heading doesn't. */
.eyebrow{
  font-family:var(--font-body);
  font-size:.845rem;
  font-weight:700;
  letter-spacing:-.004em;
  color:var(--fig-ink);
  margin:0 0 .95em;
  display:flex;
  align-items:center;
  gap:.72em;
}
.eyebrow::before{
  content:"";
  width:22px;height:2px;
  background:var(--vc,var(--accent));   /* tracks the eyebrow colour, incl. per-vertical */
  flex:none;
}
.eyebrow--center{justify-content:center}
.section--deep .eyebrow{color:#a7a7a7}

.sec-head{max-width:770px;margin-bottom:clamp(38px,5vw,62px)}
.sec-head--center{margin-inline:auto;text-align:center}
.sec-head--center .eyebrow{justify-content:center}
.sec-head p{font-size:1.09rem;line-height:1.62;color:var(--ink-3);margin-bottom:0;
  max-width:62ch;text-wrap:pretty}
.section--deep .sec-head p{color:#a2a2a2}

.lede{font-size:1.16rem;line-height:1.6;letter-spacing:-.008em;color:var(--ink-3);
  max-width:58ch;text-wrap:pretty}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  display:inline-flex;align-items:center;gap:.6em;
  font-family:var(--font-display);
  font-size:.875rem;font-weight:700;letter-spacing:0.007em;
  padding:.92em 1.75em;
  border-radius:var(--r);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:all .22s var(--ease);
  text-decoration:none;
  line-height:1;
}
.btn svg{width:15px;height:15px;transition:transform .22s var(--ease)}
.btn:hover svg{transform:translateX(3px)}

.btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn-primary:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff;transform:translateY(-2px);box-shadow:0 10px 22px -10px rgba(26,26,26,.6)}

.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-2px)}

.btn-light{background:#fff;color:var(--ink);border-color:#fff}
.btn-light:hover{background:#f0f0f0;color:var(--ink);transform:translateY(-2px)}

.btn-outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}
.btn-outline-light:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.07);transform:translateY(-2px)}

.btn-row{display:flex;flex-wrap:wrap;gap:13px;align-items:center}

.textlink{
  font-family:var(--font-display);
  font-weight:700;font-size:.85rem;
  display:inline-flex;align-items:center;gap:.5em;
  color:var(--accent);
}
.textlink svg{width:14px;height:14px;transition:transform .2s var(--ease)}
.textlink:hover svg{transform:translateX(4px)}

/* ==========================================================================
   Header / nav
   --------------------------------------------------------------------------
   The Services item opens a full-bleed mega panel: the practice list on the
   left, a photograph and a line about how we staff on the right. The panel is
   position:fixed and pinned to --navh so it meets the header edge exactly —
   no floating card, no hover gap to bridge.
   ========================================================================== */

:root{--navh:72px}

.site-header{
  position:sticky;top:0;z-index:900;
  background:rgba(255,255,255,.93);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s var(--ease);
}
.site-header.is-stuck{box-shadow:0 1px 18px rgba(19,19,19,.09)}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:28px;height:var(--navh);
  max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut);
}

/* The lock-up. HACUK is the company; the practice name is set as a
   two-line stack beside it at a fraction of the size, so it reads as a
   subtitle to the mark rather than as a second word in it. The rule between
   them is near-black — the one place in the header the brand mark
   appears as a graphic rather than as type. */
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex:none}
.brand__mark{
  font-family:var(--font-display);
  /* Set as written — Hacuk — not in caps. Mixed case carries less optical
     weight than caps at the same size, so it is set a little larger, and
     tracked tighter: the near-zero tracking that suits caps pulls mixed
     case apart. */
  font-weight:700;font-size:1.5rem;letter-spacing:-.03em;
  color:var(--accent);line-height:1;
}
.brand__sub{
  position:relative;display:grid;gap:2px;
  padding-left:12px;
  font-family:var(--font-display);
  /* Set as written — Tech Solutions — so the tracking stays near zero;
     letterspacing that suits small caps pulls mixed case apart. */
  font-size:.665rem;font-weight:700;letter-spacing:0.012em;
  color:var(--ink-3);line-height:1.08;
}
.brand__sub::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:2px;height:21px;border-radius:2px;
  background:var(--accent);
  transition:height .26s var(--ease);
}
.brand__sub i{font-style:normal;display:block}
.brand:hover .brand__sub{color:var(--accent)}
.brand:hover .brand__sub::before{height:25px}
@media (max-width:420px){.brand__sub{display:none}}

.nav__links{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.nav__links > li > a{
  position:relative;
  font-family:var(--font-display);
  font-size:.818rem;font-weight:700;letter-spacing:0.002em;
  color:var(--ink-2);
  padding:.62em .78em;
  display:flex;align-items:center;gap:.4em;
  transition:color .18s var(--ease);
}
/* The indicator wipes in from the left rather than fading a background panel. */
.nav__links > li > a::after{
  content:"";position:absolute;left:.78em;right:.78em;bottom:-2px;height:2px;
  background:var(--accent);border-radius:2px;
  transform:scaleX(0);transform-origin:left;
  transition:transform .28s var(--ease);
}
.nav__links > li > a:hover,
.nav__links > li > a[aria-current="page"]{color:var(--accent)}
.nav__links > li > a:hover::after,
.nav__links > li > a[aria-current="page"]::after,
.nav__has-sub.is-hover > a::after,
.nav__has-sub:focus-within > a::after{transform:scaleX(1)}
.nav__has-sub.is-hover > a{color:var(--accent)}

.nav__chev{width:9px;height:9px;flex:none;transition:transform .26s var(--ease);opacity:.65}
.nav__has-sub.is-hover > a .nav__chev,
.nav__has-sub:focus-within > a .nav__chev,
.nav__has-sub.is-open > a .nav__chev{transform:rotate(180deg)}

/* --- the mega panel ------------------------------------------------------ */
.nav__has-sub{position:static}
.nav__panel{
  position:fixed;left:0;right:0;top:var(--navh);
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  box-shadow:0 24px 46px -28px rgba(19,19,19,.44);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-8px);
  transition:opacity .22s var(--ease),transform .22s var(--ease),visibility .22s;
}
/* Dims the page under the open panel without needing a separate element. */
.nav__panel::after{
  content:"";position:fixed;left:0;right:0;top:100%;height:100vh;
  background:rgba(19,19,19,.26);
  opacity:0;pointer-events:none;transition:opacity .22s var(--ease);
}
.nav__has-sub.is-hover .nav__panel,
.nav__has-sub:focus-within .nav__panel{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);
}
.nav__has-sub.is-hover .nav__panel::after,
.nav__has-sub:focus-within .nav__panel::after{opacity:1}

.nav__panel-in{
  max-width:var(--wrap);margin-inline:auto;
  padding:clamp(18px,2vw,26px) var(--gut) clamp(20px,2.2vw,28px);
  display:grid;grid-template-columns:minmax(0,3fr) minmax(0,.78fr);
  gap:10px clamp(20px,2.4vw,38px);align-items:start;
}
.nav__panel-k{
  grid-column:1/-1;
  font-family:var(--font-label);font-size:.615rem;letter-spacing:0.09em;
  text-transform:uppercase;color:var(--ink-4);
  margin:0 0 2px;padding-left:2px;
}
/* --- the panel body ------------------------------------------------------
   Every panel is the same object: a three-column grid of equal cards that
   always closes on a full row, plus a photograph of people on the right.
   The grid used to be text rows, which left a ragged hole at the end of
   Services (5) and Industries (8) and made the three menus look like three
   different designs even though the markup was identical. The last cell is
   now always a "see everything" card, so 5+1, 8+1 and 8+1 all land square. */
.nav__panel-links{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(7px,0.7vw,10px);
}
@media (max-width:1160px){.nav__panel-links{grid-template-columns:repeat(2,minmax(0,1fr))}}

.npc{
  position:relative;display:flex;flex-direction:column;
  min-height:0;
  padding:clamp(11px,1vw,14px);
  border:1px solid var(--line);border-radius:var(--r-card);
  background:var(--surface);
  font-family:var(--font-body);
  transition:border-color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease);
}
.npc:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--tile,var(--accent)) 36%,var(--line));
  box-shadow:0 2px 4px rgba(19,19,19,.04),0 14px 26px -16px color-mix(in srgb,var(--tile,var(--accent)) 52%,transparent);
}
.npc__tile{
  width:28px;height:28px;border-radius:8px;flex:none;
  display:grid;place-items:center;margin-bottom:9px;
  background:color-mix(in srgb,var(--tile) 11%,#fff);
  color:var(--tile);
  transition:background .2s var(--ease);
}
.npc__tile svg{width:16px;height:16px}
.npc:hover .npc__tile{background:color-mix(in srgb,var(--tile) 18%,#fff)}
.npc__t{
  font-family:var(--font-display);font-weight:700;font-size:.825rem;
  color:var(--ink);line-height:1.24;letter-spacing:-.012em;
}
.npc:hover .npc__t{color:var(--tile,var(--accent))}
.npc__d{
  font-size:.71rem;color:var(--ink-4);line-height:1.44;margin-top:4px;
}

/* the closing cell */
.npc--all{
  --tile:var(--accent);
  justify-content:flex-end;
  background:linear-gradient(145deg,var(--accent-tint) 0%,#fff 72%);
  border-color:rgba(26,26,26,.18);
}
.npc--all .npc__t{color:var(--accent)}
.npc__go{
  position:absolute;top:clamp(14px,1.2vw,18px);right:clamp(14px,1.2vw,18px);
  width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:#fff;color:var(--accent);border:1px solid rgba(26,26,26,.18);
  transition:transform .22s var(--ease),background .22s var(--ease),color .22s var(--ease);
}
.npc__go svg{width:13px;height:13px}
.npc--all:hover .npc__go{transform:translateX(3px);background:var(--accent);color:#fff}

/* --- the photograph side ------------------------------------------------- */
.nav__aside{
  border-left:1px solid var(--line);
  padding-left:clamp(20px,2.4vw,34px);
}
.nav__aside-img{
  display:block;width:100%;aspect-ratio:16/10;object-fit:cover;
  border-radius:var(--r-card);background:var(--surface-3);
  margin-bottom:12px;
}

/* --- V1, the fluted panel ------------------------------------------------
   Ribbed red glass. Entirely CSS, so it weighs nothing and never has to be
   re-shot: the ridges are one repeating gradient, the bevel is a second
   pass at half the pitch, and the sheen is a single skewed highlight. */
.nav__art{
  display:block;position:relative;overflow:hidden;
  width:100%;aspect-ratio:16/10;border-radius:var(--r-card);
  margin-bottom:12px;
}
.nav__art--flute{
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.17) 0 1px,
      rgba(255,255,255,.055) 1px 4px,
      rgba(0,0,0,.10) 7px 9px,
      rgba(255,255,255,.055) 11px 12px),
    linear-gradient(150deg,#333333 0%,#1a1a1a 46%,#080808 100%);
}
.nav__art__sheen{
  position:absolute;inset:-20% -40% auto -10%;height:150%;
  background:linear-gradient(100deg,rgba(255,255,255,.26),rgba(255,255,255,0) 46%);
  transform:skewX(-14deg);pointer-events:none;
}

/* --- V3, the vector mark ------------------------------------------------- */
.nav__art--vec{
  background:linear-gradient(150deg,var(--accent-tint) 0%,#fff 62%,var(--accent-tint-2) 100%);
  border:1px solid rgba(26,26,26,.12);
  display:grid;place-items:center;
}
.nav__art--vec svg{width:82%;height:auto;display:block}

/* --- V4, no side block at all -------------------------------------------- */
.nav__panel--v4 .nav__panel-in{grid-template-columns:minmax(0,1fr)}
.nav__panel--v4 .nav__panel-links{grid-template-columns:repeat(4,minmax(0,1fr))}
/* Four columns do not divide 6 or 9 cells, so the closing card stretches to
   the end of whichever row it lands on and the grid never shows a hole. */
.nav__panel--v4 .npc--all{grid-column-end:-1}
@media (max-width:1160px){.nav__panel--v4 .nav__panel-links{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* --- the preview page pins one panel of each design open ----------------- */
.mpreview{position:relative}
.mpreview .nav__panel{
  position:relative;top:auto;left:auto;right:auto;
  opacity:1;visibility:visible;pointer-events:auto;transform:none;
  border:1px solid var(--line);border-radius:var(--r-card);
  box-shadow:0 2px 4px rgba(19,19,19,.04),0 18px 40px -26px rgba(19,19,19,.3);
}
.mpreview .nav__panel::after{display:none}
.mpreview .nav__panel-in{padding-inline:clamp(18px,2vw,28px)}
.nav__aside-t{
  font-family:var(--font-display);font-weight:700;font-size:.855rem;
  line-height:1.42;color:var(--ink);margin:0 0 6px;letter-spacing:-.008em;
}
.nav__aside-d{font-size:.745rem;line-height:1.52;color:var(--ink-4);margin:0 0 11px}
.nav__aside-cta{
  font-family:var(--font-display);font-weight:700;font-size:.78rem;color:var(--accent);
  display:inline-flex;align-items:center;gap:.45em;
}
.nav__aside-cta svg{width:13px;height:13px;transition:transform .22s var(--ease)}
.nav__aside-cta:hover svg{transform:translateX(4px)}

.nav__cta{flex:none}
.nav__cta .btn{padding:.72em 1.3em;font-size:.81rem}

.nav__toggle{
  display:none;background:none;border:1px solid var(--line);
  border-radius:var(--r);width:40px;height:40px;cursor:pointer;
  align-items:center;justify-content:center;flex:none;
}
.nav__toggle span{display:block;width:17px;height:1.5px;background:var(--ink);position:relative;transition:.2s var(--ease)}
.nav__toggle span::before,.nav__toggle span::after{
  content:"";position:absolute;left:0;width:17px;height:1.5px;background:var(--ink);transition:.2s var(--ease)
}
.nav__toggle span::before{top:-5.5px}
.nav__toggle span::after{top:5.5px}
.nav__toggle[aria-expanded="true"] span{background:transparent}
.nav__toggle[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.nav__toggle[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}

/* Narrower desktop: the panel stops being a two-up and gives the links the room. */
@media (max-width:1120px) and (min-width:1001px){
  .nav__panel-in{grid-template-columns:1fr}
  .nav__aside{display:none}
}

@media (max-width:1000px){
  .nav__toggle{display:flex}
  .nav__cta{display:none}
  .nav__links{
    position:fixed;inset:var(--navh) 0 auto;
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;border-bottom:1px solid var(--line);
    padding:14px var(--gut) 26px;
    max-height:calc(100dvh - var(--navh));overflow-y:auto;
    transform:translateY(-12px);opacity:0;visibility:hidden;
    transition:all .24s var(--ease);
    box-shadow:0 18px 32px -20px rgba(19,19,19,.4);
  }
  .nav__links.is-open{transform:translateY(0);opacity:1;visibility:visible}
  .nav__links > li > a{padding:.82em 0;border-bottom:1px solid var(--line-2);border-radius:0}
  .nav__links > li > a::after{display:none}

  /* On touch the panel is an inline accordion, opened by .is-open from main.js —
     hover/focus must not reveal it, so those rules are neutralised here. */
  .nav__panel,
  .nav__has-sub.is-hover .nav__panel,
  .nav__has-sub:focus-within .nav__panel{
    position:static;transform:none;width:auto;
    opacity:1;visibility:visible;pointer-events:auto;
    box-shadow:none;border:none;background:none;
    display:none;
  }
  .nav__panel::after,
  .nav__has-sub.is-hover .nav__panel::after{display:none}
  .nav__has-sub.is-open .nav__panel{display:block}
  .nav__panel-in{display:block;padding:6px 0 12px;max-width:none}
  .nav__panel-k{display:none}
  /* Cards collapse to two narrow ones per row on a phone — one per row makes
     the drawer eight screens long. */
  .nav__panel-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .npc{min-height:0;padding:11px 12px;border-radius:var(--r-lg)}
  .npc__tile{width:26px;height:26px;border-radius:7px;margin-bottom:8px}
  .npc__tile svg{width:15px;height:15px}
  .npc__t{font-size:.79rem}
  .npc__d{display:none}
  .npc--all{grid-column:1/-1}
  .npc--all .npc__d{display:block}
  .npc__go{width:26px;height:26px;top:10px;right:11px}
  .nav__aside{display:none}
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  position:relative;overflow:hidden;
  background:var(--surface);
  padding-block:clamp(56px,8vw,96px) clamp(60px,8vw,104px);
  border-bottom:1px solid var(--line);
}
.hero__grid-bg{
  position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(var(--line-2) 1px,transparent 1px),linear-gradient(90deg,var(--line-2) 1px,transparent 1px);
  background-size:58px 58px;
  -webkit-mask-image:radial-gradient(ellipse 75% 62% at 72% 42%,#000 0%,transparent 78%);
  mask-image:radial-gradient(ellipse 75% 62% at 72% 42%,#000 0%,transparent 78%);
}
.hero__inner{
  position:relative;
  display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(36px,5vw,72px);
  align-items:center;
}
@media (max-width:980px){.hero__inner{grid-template-columns:1fr;gap:46px}}

.hero h1{margin-bottom:.3em}
.hero h1 .accent{color:var(--accent)}
.hero__lede{font-size:clamp(1.03rem,1.6vw,1.19rem);line-height:1.62;letter-spacing:-.007em;
  max-width:52ch;margin-bottom:2em;text-wrap:pretty}

.hero__pills{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:2em}
.pill{
  font-family:var(--font-label);font-size:.69rem;letter-spacing:0.050em;text-transform:uppercase;
  color:var(--ink-3);background:var(--surface-2);
  border:1px solid var(--line);border-radius:100px;
  padding:.46em 1em;
}

.hero__proof{
  margin-top:2.4em;padding-top:1.7em;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;gap:12px 34px;align-items:center;
}
.hero__proof-label{
  font-family:var(--font-label);font-size:.69rem;letter-spacing:0.062em;text-transform:uppercase;
  color:var(--ink-4);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(22px,2.6vw,30px);
  transition:transform .26s var(--ease),box-shadow .26s var(--ease),border-color .26s var(--ease);
  position:relative;overflow:hidden;
}
.card:hover{border-color:#d2d2d2}
.card h3{margin-bottom:.5em}
.card p{font-size:.945rem;color:var(--ink-3);margin-bottom:0}
.card__icon{
  width:42px;height:42px;border-radius:var(--r);
  display:grid;place-items:center;margin-bottom:17px;
  background:var(--accent-tint);color:var(--accent);
}
.card__icon svg{width:21px;height:21px;stroke-width:1.6}

/* Vertical card — the 4+1 pillars */
.vcard{display:flex;flex-direction:column;text-decoration:none;color:inherit}
.vcard::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--vc);transform:scaleX(0);transform-origin:left;
  transition:transform .4s var(--ease);
}
.vcard:hover::before{transform:scaleX(1)}
.vcard__num{
  font-family:var(--font-label);font-size:.69rem;letter-spacing:0.062em;
  color:var(--ink-4);margin-bottom:14px;display:block;
}
.vcard__ico{
  width:44px;height:44px;border-radius:var(--r);
  display:grid;place-items:center;margin-bottom:18px;
  background:color-mix(in srgb,var(--vc) 9%,#fff);
  color:var(--vc);
  transition:background .26s var(--ease);
}
.vcard:hover .vcard__ico{background:color-mix(in srgb,var(--vc) 16%,#fff)}
.vcard__ico svg{width:22px;height:22px;stroke-width:1.6}
.vcard h3{color:var(--ink)}
.vcard:hover h3{color:var(--vc)}
.vcard__list{
  list-style:none;padding:0;margin:17px 0 0;
  display:flex;flex-wrap:wrap;gap:6px;
}
.vcard__list li{
  font-family:var(--font-label);font-size:.675rem;letter-spacing:0.028em;
  color:var(--ink-3);background:var(--surface-2);
  border:1px solid var(--line);border-radius:2px;
  padding:.34em .62em;
}
.vcard__more{
  margin-top:auto;padding-top:20px;
  font-family:var(--font-display);font-weight:700;font-size:.8rem;
  color:var(--vc);display:inline-flex;align-items:center;gap:.5em;
}
.vcard__more svg{width:13px;height:13px;transition:transform .22s var(--ease)}
.vcard:hover .vcard__more svg{transform:translateX(4px)}

/* ==========================================================================
   Figures / diagrams
   ========================================================================== */

/* A figure is not a card. It gets a hairline frame and room to breathe;
   elevation is reserved for things the reader can click. */
.figure{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);
  padding:clamp(24px,3.4vw,42px);
}
.figure--flush{padding:0;overflow:hidden}
.figure__head{
  display:flex;justify-content:space-between;align-items:baseline;gap:16px;
  flex-wrap:wrap;margin-bottom:22px;
  padding-bottom:14px;border-bottom:1px solid var(--line-2);
}
.figure__title{
  font-family:var(--font-display);font-weight:700;font-size:1.06rem;
  color:var(--ink);letter-spacing:-.014em;
}
.figure__tag{
  font-family:var(--font-body);font-size:.76rem;letter-spacing:0;
  color:var(--ink-4);font-variant-numeric:tabular-nums;
}
.figure__cap{
  font-size:.9rem;color:var(--ink-3);line-height:1.62;max-width:72ch;
  margin-top:24px;padding-top:16px;border-top:1px solid var(--line-2);
}
.figure svg{display:block;width:100%;height:auto}
.scroll-x{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* SVG diagram shared atoms.
   Inline <text> inherits the page family instead of naming one, so the
   whole site — chrome, prose and every figure — changes face from the
   --font-* tokens alone. Class rules below override where a figure wants
   the body voice rather than the display one. */
svg text,svg tspan{font-family:var(--font-display);font-variant-numeric:tabular-nums}

.d-label{font-family:var(--font-label);font-size:10px;letter-spacing:0.05em;text-transform:uppercase;fill:var(--fig-ink)}
.d-title{font-family:var(--font-display);font-size:13px;font-weight:700;fill:#141414}
.d-sub{font-family:var(--font-body);font-size:10.5px;fill:#565656}
.d-box{fill:#fff;stroke:#d9d9d9;stroke-width:1}
.d-line{stroke:#c6c6c6;stroke-width:1.25;fill:none}

/* ==========================================================================
   Stats
   ========================================================================== */

.stat-row{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;
}
@media (max-width:760px){.stat-row{grid-template-columns:repeat(2,1fr)}}
.stat{background:#fff;padding:clamp(20px,2.6vw,30px) clamp(18px,2.4vw,28px);text-align:left}
.stat__n{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(1.6rem,2.5vw,2.05rem);
  color:var(--ink);letter-spacing:-.03em;line-height:1;
  display:block;font-variant-numeric:tabular-nums lining-nums;
}
.stat__l{
  font-size:.875rem;color:var(--ink-3);line-height:1.5;
  display:block;margin-top:10px;max-width:22ch;
}
.section--deep .stat{background:var(--deep-2)}
.section--deep .stat-row{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}
.section--deep .stat__n{color:#fff}
.section--deep .stat__l{color:#a2a2a2}

/* ==========================================================================
   Globe / map
   ========================================================================== */

.geo{display:grid;grid-template-columns:1fr 1.5fr;gap:clamp(30px,4vw,60px);align-items:center}
@media (max-width:980px){.geo{grid-template-columns:1fr}}
.geo__map{position:relative}
.map-dot{fill:#242424}
.map-ping{fill:#e6e6e6}

.hub-list{list-style:none;padding:0;margin:26px 0 0;display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.1);border-radius:var(--r)}
@media (max-width:540px){.hub-list{grid-template-columns:1fr}}
.hub-list li{background:var(--deep);padding:13px 16px;display:flex;align-items:center;gap:10px}
.hub-list .hd{width:6px;height:6px;border-radius:50%;background:#e6e6e6;flex:none}
.hub-list .hn{font-family:var(--font-display);font-weight:700;font-size:.83rem;color:#fff}
.hub-list .hr{font-family:var(--font-label);font-size:.64rem;letter-spacing:0.050em;text-transform:uppercase;color:#888888;margin-left:auto}

/* --- Global section: region columns --------------------------------------
   These were .stat__n with inline colour. They are headings, and
   .section--deep already states what a heading looks like on this ground. */
.geo-region{font-size:clamp(1.18rem,1.9vw,1.4rem);letter-spacing:-.02em;margin-bottom:.4em}
.geo-region__d{font-size:.9rem;line-height:1.6;margin-top:0;max-width:34ch}

/* ==========================================================================
   Industries
   ========================================================================== */

/* ==========================================================================
   Industry bento
   --------------------------------------------------------------------------
   One lead card carries the domain we are deepest in; the rest sit at equal
   weight around it. The oversized glyph bleeding out of each card's corner is
   the same icon as the small one in the header — scale is the only difference,
   which is cheaper than eight illustrations and stays on-brand.
   ========================================================================== */
.bento{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  grid-auto-rows:minmax(clamp(196px,19vw,238px),auto);
  gap:clamp(12px,1.4vw,18px);
}
.bento__card{
  position:relative;overflow:hidden;isolation:isolate;
  grid-column:span 2;
  border-radius:var(--r-card);
  background:var(--accent-tint);
  border:1px solid rgba(26,26,26,.09);
  padding:clamp(22px,2.2vw,30px);
  display:flex;flex-direction:column;
  color:var(--ink);
  transition:transform .32s var(--ease),box-shadow .32s var(--ease),background .32s var(--ease);
}
.bento__card--feature{grid-column:span 4;grid-row:span 2}
.bento__card--tall{grid-row:span 2}
@media (max-width:980px){
  .bento{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bento__card--feature{grid-column:span 4;grid-row:span 1}
  .bento__card--tall{grid-column:span 4;grid-row:span 1}
}
@media (max-width:620px){
  .bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(168px,auto)}
  .bento__card,.bento__card--feature,.bento__card--tall{grid-column:span 2}
}

.bento__card:hover{
  transform:translateY(-3px);
  box-shadow:0 2px 4px rgba(26,26,26,.06),0 18px 34px -18px rgba(26,26,26,.34);
  background:var(--accent-tint-2);
}

/* --------------------------------------------------------------------------
   Photo-backed domain cards
   Each card carries a photograph of that domain being worked in, so the grid
   is readable before you read a word of it. Two things keep it from fighting
   the rest of the page:

   - the scrim. Type sits at the bottom of the card, so the gradient is
     heaviest there and never lighter than .68 anywhere. Against the worst
     case — a blown-out white patch of photograph — .68 of #0e0e0e still
     leaves white text at 6.5:1 and the description at 5.4:1.
   - saturate(.86), the same restraint already used on the photographs
     elsewhere on the site. The photographs stay in colour, but they sit
     down next to a monochrome page instead of shouting over it.
   -------------------------------------------------------------------------- */
.bento__card--photo{
  color:#fff;
  background:#141414;
  border-color:rgba(10,10,10,.42);
  box-shadow:0 2px 4px rgba(10,10,10,.14),0 22px 42px -22px rgba(10,10,10,.46);
}
.bento__bg{
  position:absolute;inset:0;z-index:-2;
  border-radius:inherit;overflow:hidden;pointer-events:none;
}
.bento__bg img{
  width:100%;height:100%;object-fit:cover;display:block;
  filter:saturate(.86);
  transform:scale(1.02);
  transition:transform .6s var(--ease);
}
.bento__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,
    rgba(14,14,14,.74) 0%,
    rgba(14,14,14,.54) 30%,
    rgba(14,14,14,.86) 70%,
    rgba(14,14,14,.96) 100%);
}
.bento__card--photo:hover{
  background:#141414;
  box-shadow:0 2px 4px rgba(10,10,10,.18),0 30px 54px -24px rgba(10,10,10,.56);
}
.bento__card--photo:hover .bento__bg img{transform:scale(1.07)}
@media (prefers-reduced-motion:reduce){
  .bento__bg img,.bento__card--photo:hover .bento__bg img{transition:none;transform:none}
}

/* the type and marks, reversed out over the photograph */
.bento__card--photo .bento__ico,
.bento__card--photo .bento__art{color:#fff}
.bento__card--photo .bento__art{opacity:.14}
.bento__card--photo:hover .bento__art{opacity:.18}
.bento__card--photo .bento__d{color:rgba(255,255,255,.86)}
.bento__card--photo .bento__cta{color:#fff}
.bento__card--photo .bento__arrow{background:#fff;color:#141414}
.bento__card--photo:hover .bento__arrow{background:#fff;color:#000}

/* the small header mark */
.bento__ico{width:27px;height:27px;color:var(--accent);margin-bottom:auto}
.bento__ico svg{width:27px;height:27px;display:block}

/* the oversized watermark, cropped by the card */
.bento__art{
  position:absolute;right:-7%;bottom:-16%;width:54%;max-width:230px;aspect-ratio:1;
  color:var(--accent);opacity:.10;z-index:-1;pointer-events:none;
  transition:transform .5s var(--ease),opacity .5s var(--ease);
}
.bento__art svg{width:100%;height:100%;display:block}
.bento__card:hover .bento__art{transform:scale(1.07) rotate(-3deg);opacity:.14}

.bento__t{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(1.06rem,1.38vw,1.26rem);line-height:1.22;letter-spacing:-.02em;
  margin-top:clamp(18px,2vw,26px);
}
.bento__d{
  font-size:.835rem;line-height:1.55;color:var(--ink-3);
  margin-top:8px;max-width:34ch;text-wrap:pretty;
}
.bento__cta{
  margin-top:clamp(16px,2vw,22px);
  display:inline-flex;align-items:center;gap:11px;
  font-family:var(--font-display);font-weight:700;font-size:.80rem;color:var(--ink);
}
.bento__arrow{
  width:28px;height:28px;border-radius:50%;flex:none;
  display:grid;place-items:center;
  background:#fff;color:var(--accent);
  box-shadow:0 1px 2px rgba(19,19,19,.08);
  transition:transform .32s var(--ease),background .32s var(--ease),color .32s var(--ease);
}
.bento__arrow svg{width:14px;height:14px}
.bento__card:hover .bento__arrow{transform:translateX(3px);background:var(--accent);color:#fff}

/* --- the lead card ------------------------------------------------------- */
.bento__card--feature{
  background:
    radial-gradient(120% 140% at 88% 108%, rgba(176,176,176,.42), transparent 58%),
    linear-gradient(142deg, #2e2e2e 0%, var(--accent) 42%, #0a0a0a 100%);
  border-color:rgba(26,26,26,.5);
  color:#fff;
  box-shadow:0 2px 4px rgba(10,10,10,.14),0 22px 42px -22px rgba(10,10,10,.46);
}
.bento__card--feature:hover{
  background:
    radial-gradient(120% 140% at 88% 108%, rgba(186,186,186,.48), transparent 58%),
    linear-gradient(142deg, #333333 0%, #262626 42%, #0a0a0a 100%);
  box-shadow:0 2px 4px rgba(10,10,10,.16),0 30px 54px -24px rgba(10,10,10,.54);
}
.bento__card--feature .bento__ico,
.bento__card--feature .bento__art{color:#fff}
.bento__card--feature .bento__art{opacity:.16;right:-4%;bottom:-14%;width:46%;max-width:300px}
.bento__card--feature:hover .bento__art{opacity:.2}
.bento__card--feature .bento__t{font-size:clamp(1.55rem,2.7vw,2.4rem);letter-spacing:-.03em}
.bento__card--feature .bento__d{color:rgba(255,255,255,.86);font-size:.95rem;max-width:30ch}
.bento__card--feature .bento__cta{color:#fff;margin-top:auto;padding-top:clamp(20px,2.4vw,30px)}
.bento__card--feature .bento__arrow{background:#fff;color:var(--accent)}
.bento__card--feature:hover .bento__arrow{background:#fff;color:var(--accent-dark)}

/* the tall card gets the extra height as breathing room, not as a stretched
   paragraph */
.bento__card--tall .bento__cta{margin-top:auto;padding-top:clamp(18px,2vw,26px)}

/* --------------------------------------------------------------------------
   Hover colour, nailed down
   These cards are <a> elements, so the global `a:hover{color:var(--accent-dark)}`
   applies to them. Its specificity is (0,1,1) — one element, one pseudo-class —
   which BEATS a plain component class like .bento__card--photo at (0,1,0). On
   hover the card's inherited colour therefore flipped to near-black, and
   .bento__t, which sets no colour of its own, went black on a black scrim and
   vanished. .bento__d, .bento__cta and the marks were unaffected only because
   they each happen to set their own colour.

   Fixed at the root rather than per-element: the rules below are (0,2,0) or
   higher, so they outrank a:hover in both states, and the title is given an
   explicit colour so it never depends on what it inherits. Keep these last in
   the bento block — .bento__card:hover .bento__arrow above is (0,3,0) and would
   otherwise win on source order.
   -------------------------------------------------------------------------- */
.bento__card--photo,
.bento__card--photo:hover,
.bento__card--feature,
.bento__card--feature:hover{color:#fff}

.bento__card--photo .bento__t,
.bento__card--photo:hover .bento__t,
.bento__card--feature .bento__t,
.bento__card--feature:hover .bento__t{color:#fff}

.bento__card--photo .bento__d,
.bento__card--photo:hover .bento__d{color:rgba(255,255,255,.86)}

.bento__card--photo .bento__cta,
.bento__card--photo:hover .bento__cta{color:#fff}

/* the arrow pill stays white with a dark glyph in both states, instead of
   inverting to the near-black pill the generic .bento__card:hover rule sets */
.bento__card--photo .bento__arrow,
.bento__card--photo:hover .bento__arrow{background:#fff;color:#141414}

/* ==========================================================================
   Process / steps
   ========================================================================== */

.steps{counter-reset:s;display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.step{background:#fff;padding:clamp(22px,2.8vw,32px);display:grid;grid-template-columns:auto 1fr;gap:clamp(18px,2.4vw,30px);align-items:start}
@media (max-width:620px){.step{grid-template-columns:1fr;gap:14px}}
.step__n{
  counter-increment:s;
  font-family:var(--font-label);font-size:.7rem;letter-spacing:0.062em;
  color:var(--vc,var(--accent));
  border:1px solid color-mix(in srgb,var(--vc,var(--accent)) 18%,#fff);
  background:color-mix(in srgb,var(--vc,var(--accent)) 7%,#fff);
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
}
.step__n::before{content:"0" counter(s)}
.step h3{margin-bottom:.38em}
.step p{font-size:.94rem;margin-bottom:0}
.step__meta{
  font-family:var(--font-label);font-size:.67rem;letter-spacing:0.056em;text-transform:uppercase;
  color:var(--ink-4);margin-top:12px;display:block;
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(24px,2.8vw,32px);
  transition:transform .26s var(--ease),box-shadow .26s var(--ease);
}
.team-card:hover{border-color:#d2d2d2}
.team-card__av{
  width:62px;height:62px;border-radius:50%;
  background:linear-gradient(140deg,var(--accent),#2e2e2e);
  color:#fff;display:grid;place-items:center;
  font-family:var(--font-display);font-weight:700;font-size:1.26rem;letter-spacing:-.02em;
  margin-bottom:19px;
}
.team-card h3{margin-bottom:.2em}
.team-card__role{
  font-family:var(--font-label);font-size:.69rem;letter-spacing:0.062em;text-transform:uppercase;
  color:var(--accent);display:block;margin-bottom:16px;
}
.team-card p{font-size:.91rem;line-height:1.68}
.team-card__tags{list-style:none;padding:0;margin:17px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.team-card__tags li{
  font-family:var(--font-label);font-size:.665rem;letter-spacing:0.031em;
  color:var(--ink-3);background:var(--surface-2);border:1px solid var(--line);
  border-radius:2px;padding:.32em .6em;
}

/* ==========================================================================
   Form
   ========================================================================== */

.form-shell{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(30px,4vw,62px);align-items:start}
@media (max-width:900px){.form-shell{grid-template-columns:1fr}}

.form{display:grid;gap:17px}
.field{display:grid;gap:7px}
.field--row{grid-template-columns:1fr 1fr;gap:17px;display:grid}
@media (max-width:560px){.field--row{grid-template-columns:1fr}}
.field label{
  font-family:var(--font-display);font-size:.78rem;font-weight:700;
  color:var(--ink-2);letter-spacing:0.002em;
}
.field label .req{color:var(--accent)}
.field input,.field select,.field textarea{
  font-family:var(--font-body);font-size:.93rem;color:var(--ink);
  background:#fff;border:1px solid var(--line);border-radius:var(--r);
  padding:.78em .92em;width:100%;
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease);
}
.field textarea{resize:vertical;min-height:112px;line-height:1.6}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint-2);
}
.field input::placeholder,.field textarea::placeholder{color:#b4b4b4}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238d8d8d' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}

.chipset{display:flex;flex-wrap:wrap;gap:7px}
.chip input{position:absolute;opacity:0;width:0;height:0}
.chip span{
  display:block;cursor:pointer;
  font-family:var(--font-label);font-size:.7rem;letter-spacing:0.031em;
  color:var(--ink-3);background:#fff;
  border:1px solid var(--line);border-radius:100px;padding:.48em 1em;
  transition:all .18s var(--ease);
}
.chip:hover span{border-color:#c9c9c9}
.chip input:checked + span{background:var(--accent);border-color:var(--accent);color:#fff}
.chip input:focus-visible + span{outline:2px solid var(--accent);outline-offset:2px}

.form__note{font-size:.79rem;color:var(--ink-4);line-height:1.6}
.form__status{
  display:none;padding:.9em 1.1em;border-radius:var(--r);
  font-size:.88rem;line-height:1.55;
}
.form__status.is-ok{display:block;background:#f4f4f4;border:1px solid #e4e4e4;color:#3a3a3a}
.form__status.is-err{display:block;background:var(--accent-tint);border:1px solid var(--accent-tint-2);color:var(--accent-dark)}


/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band{
  background:var(--deep);color:#c3c3c3;
  position:relative;overflow:hidden;
  padding-block:clamp(54px,7vw,86px);
}
.cta-band::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 54% 110% at 88% 50%,rgba(26,26,26,.26),transparent 68%);
}
.cta-band__in{position:relative;display:flex;justify-content:space-between;align-items:center;gap:34px;flex-wrap:wrap}
.cta-band h2{color:#fff;margin-bottom:.3em;max-width:16em}
.cta-band p{max-width:40em;margin-bottom:0;color:#a2a2a2}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{background:#101010;color:#959595;padding-block:clamp(48px,6vw,70px) 0;font-size:.885rem}
.footer__top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:clamp(24px,3vw,44px);padding-bottom:44px}
@media (max-width:900px){.footer__top{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer__top{grid-template-columns:1fr}}
.footer__brand .brand__mark{font-size:1.32rem}
.footer__brand p{margin-top:15px;max-width:30em;line-height:1.72;color:#848484;font-size:.875rem}
/* These rules used to be written as `.footer …`, but the element carries
   `.site-footer` — so none of them applied and every footer link fell back
   to the global brand red on a near-black ground. */
.site-footer h4{
  font-family:var(--font-label);font-size:.675rem;letter-spacing:0.081em;text-transform:uppercase;
  color:#fff;margin-bottom:15px;font-weight:700;
}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.site-footer a{color:#959595;text-decoration:none}
.site-footer a:hover{color:#fff}
.footer__bot{
  border-top:1px solid rgba(255,255,255,.08);
  padding-block:22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:.79rem;color:#696969;
}
.footer__bot a{color:#696969}

/* ==========================================================================
   Service page specifics
   ========================================================================== */

.page-hero{
  position:relative;overflow:hidden;
  background:var(--deep);color:#c3c3c3;
  padding-block:clamp(56px,7vw,92px);
}
.page-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:54px 54px;
  -webkit-mask-image:radial-gradient(ellipse 72% 76% at 76% 50%,#000,transparent 76%);
  mask-image:radial-gradient(ellipse 72% 76% at 76% 50%,#000,transparent 76%);
}
.page-hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 48% 92% at 86% 46%,color-mix(in srgb,var(--vc,#1a1a1a) 30%,transparent),transparent 70%);
}
.page-hero__in{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(32px,4.6vw,64px);align-items:center}
@media (max-width:980px){.page-hero__in{grid-template-columns:1fr;gap:40px}}
.page-hero h1{color:#fff}
.page-hero .eyebrow{color:#a7a7a7}
.page-hero__lede{font-size:clamp(1rem,1.5vw,1.14rem);line-height:1.64;letter-spacing:-.006em;
  color:#b5b5b5;max-width:54ch;text-wrap:pretty}

.crumb{
  font-family:var(--font-label);font-size:.68rem;letter-spacing:0.056em;text-transform:uppercase;
  color:#787878;margin-bottom:24px;position:relative;z-index:1;
}
.crumb a{color:#787878}
.crumb a:hover{color:#fff}
.crumb span{margin-inline:.55em;opacity:.5}

/* Offering list */
.offer{
  display:grid;grid-template-columns:auto 1fr;gap:clamp(16px,2vw,26px);
  padding:clamp(20px,2.5vw,28px);background:#fff;
}
@media (max-width:620px){.offer{grid-template-columns:1fr;gap:13px}}
.offer__ico{
  width:40px;height:40px;border-radius:var(--r);display:grid;place-items:center;
  background:color-mix(in srgb,var(--vc) 9%,#fff);color:var(--vc);
}
.offer__ico svg{width:20px;height:20px;stroke-width:1.6}
.offer h3{font-size:1.06rem;margin-bottom:.42em}
.offer p{font-size:.925rem;margin-bottom:0}
.offer__tags{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.offer__tags li{
  font-family:var(--font-label);font-size:.665rem;letter-spacing:0.028em;color:var(--ink-3);
  background:var(--surface-2);border:1px solid var(--line);border-radius:2px;padding:.32em .6em;
}
.offer-list{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}

/* Platform stack */
.plat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.2vw,26px)}
@media (max-width:860px){.plat-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.plat-grid{grid-template-columns:1fr}}
.plat{border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(18px,2.2vw,24px);background:#fff;transition:border-color .24s var(--ease),transform .24s var(--ease)}
.plat:hover{border-color:color-mix(in srgb,var(--vc) 40%,#e6e6e6);transform:translateY(-3px)}
.plat__h{display:flex;align-items:center;gap:11px;margin-bottom:13px}
.plat__logo{
  width:34px;height:34px;border-radius:var(--r);flex:none;display:grid;place-items:center;
  font-family:var(--font-display);font-weight:700;font-size:.8rem;color:#fff;letter-spacing:-.02em;
}
.plat__n{font-family:var(--font-display);font-weight:700;font-size:.97rem;color:var(--ink);letter-spacing:-.012em}
.plat ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.plat li{font-size:.855rem;color:var(--ink-3);padding-left:17px;position:relative;line-height:1.55}
.plat li::before{
  content:"";position:absolute;left:0;top:.56em;width:6px;height:6px;
  border-radius:50%;background:var(--vc);opacity:.5;
}

/* ==========================================================================
   Case studies / article
   ========================================================================== */

.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.4vw,28px)}
@media (max-width:920px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.post-grid{grid-template-columns:1fr}}

.post-card{
  display:flex;flex-direction:column;background:#fff;
  border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(20px,2.4vw,27px);text-decoration:none;color:inherit;
  transition:transform .26s var(--ease),box-shadow .26s var(--ease),border-color .26s var(--ease);
  position:relative;overflow:hidden;
}
.post-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--vc,#1a1a1a);
  transform:scaleX(0);transform-origin:left;transition:transform .4s var(--ease);
}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.post-card:hover::before{transform:scaleX(1)}
.post-card__meta{display:flex;align-items:center;gap:9px;margin-bottom:15px}
.post-card__cat{
  font-family:var(--font-label);font-size:.655rem;letter-spacing:0.062em;text-transform:uppercase;
  color:var(--vc,#1a1a1a);
}
.post-card__dot{width:3px;height:3px;border-radius:50%;background:var(--ink-4)}
.post-card__time{font-family:var(--font-label);font-size:.655rem;letter-spacing:0.043em;color:var(--ink-4)}
.post-card h3{font-size:1.09rem;line-height:1.33;margin-bottom:.5em}
.post-card:hover h3{color:var(--vc,#1a1a1a)}
.post-card p{font-size:.885rem;color:var(--ink-3);margin-bottom:0}
.post-card__cta{
  margin-top:auto;padding-top:19px;
  font-family:var(--font-display);font-weight:700;font-size:.78rem;color:var(--vc,#1a1a1a);
  display:inline-flex;align-items:center;gap:.5em;
}
.post-card__cta svg{width:13px;height:13px;transition:transform .22s var(--ease)}
.post-card:hover .post-card__cta svg{transform:translateX(4px)}

/* Article body */
.article-hero{padding-block:clamp(44px,5.5vw,72px) clamp(30px,4vw,46px);border-bottom:1px solid var(--line)}
.article-hero h1{font-size:clamp(1.85rem,4.2vw,3rem);max-width:26ch}
.article-meta{
  display:flex;flex-wrap:wrap;gap:9px 18px;align-items:center;margin-top:24px;
  font-family:var(--font-label);font-size:.69rem;letter-spacing:0.050em;text-transform:uppercase;color:var(--ink-4);
}
.article-meta .am-cat{color:var(--accent)}

.answer-box{
  background:color-mix(in srgb,var(--vc,var(--accent)) 5%,#fff);
  border:1px solid color-mix(in srgb,var(--vc,var(--accent)) 16%,#fff);
  border-left:3px solid var(--vc,var(--accent));border-radius:var(--r);
  padding:clamp(20px,2.6vw,28px);margin-bottom:clamp(30px,4vw,44px);
}
.answer-box__k{
  font-family:var(--font-label);font-size:.675rem;letter-spacing:0.081em;text-transform:uppercase;
  color:var(--accent);display:block;margin-bottom:11px;
}
.answer-box p{font-size:1.05rem;line-height:1.64;letter-spacing:-.006em;
  color:var(--ink-2);margin-bottom:0;text-wrap:pretty}
.answer-box p + p{margin-top:.8em}

.toc{
  border:1px solid var(--line);border-radius:var(--r-lg);
  padding:22px 24px;margin-bottom:clamp(30px,4vw,44px);background:var(--surface-2);
}
.toc__k{font-family:var(--font-label);font-size:.665rem;letter-spacing:0.081em;text-transform:uppercase;color:var(--ink-4);display:block;margin-bottom:13px}
.toc ol{margin:0;padding-left:1.25em;display:grid;gap:7px}
.toc li{font-size:.9rem;color:var(--ink-3)}
.toc a{color:var(--ink-2);font-weight:400}
.toc a:hover{color:var(--accent)}

.prose{font-size:1.045rem;line-height:1.72;
  hanging-punctuation:first last;text-wrap:pretty}
/* Running text keeps a 70ch measure; figures and tables stay full-column. */
.prose > p,.prose > ul,.prose > ol{max-width:70ch}
.prose h2{
  font-size:clamp(1.38rem,2.6vw,1.78rem);
  margin-top:2.1em;margin-bottom:.62em;
  scroll-margin-top:92px;
}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:1.1rem;margin-top:1.75em;margin-bottom:.5em;scroll-margin-top:92px}
.prose ul,.prose ol{margin:0 0 1.3em;padding-left:1.3em;display:grid;gap:.58em}
.prose li{line-height:1.7}
.prose li::marker{color:var(--vc,var(--accent))}
.prose .figure{margin-block:2em}
.prose blockquote{
  margin:2em 0;padding:4px 0 4px 24px;border-left:3px solid var(--vc,var(--accent));
  font-size:1.12rem;line-height:1.56;letter-spacing:-.01em;
  color:var(--ink-2);font-style:normal;text-wrap:pretty;
}
.prose blockquote p{margin-bottom:0}

.table-wrap{overflow-x:auto;margin-block:2em;border:1px solid var(--line);border-radius:var(--r-lg)}
table{border-collapse:collapse;width:100%;font-size:.89rem;min-width:520px;background:#fff}
th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line-2);vertical-align:top;line-height:1.6}
th{
  font-family:var(--font-display);font-weight:700;font-size:.76rem;
  letter-spacing:0.022em;text-transform:uppercase;color:var(--ink);
  background:var(--surface-2);border-bottom:1px solid var(--line);white-space:nowrap;
}
tbody tr:last-child td{border-bottom:none}
tbody tr:hover{background:#fcfcfc}
td strong{color:var(--ink)}

.callout{
  border:1px solid var(--line);border-left:3px solid var(--vc,var(--accent));
  border-radius:var(--r);background:var(--surface-2);
  padding:19px 22px;margin-block:2em;font-size:.95rem;
}
.callout__k{
  font-family:var(--font-label);font-size:.655rem;letter-spacing:0.074em;text-transform:uppercase;
  color:var(--vc,var(--accent));display:block;margin-bottom:8px;
}
.callout p{margin-bottom:0}

.faq{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;margin-top:1.4em}
.faq details{background:#fff}
.faq summary{
  cursor:pointer;list-style:none;padding:18px 22px;
  font-family:var(--font-display);font-weight:700;font-size:.97rem;color:var(--ink);
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  transition:color .2s var(--ease);line-height:1.45;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{color:var(--vc,var(--accent))}
.faq summary::after{
  content:"";flex:none;width:11px;height:11px;
  border-right:1.8px solid var(--ink-4);border-bottom:1.8px solid var(--ink-4);
  transform:rotate(45deg) translate(-2px,-2px);transition:transform .25s var(--ease);
}
.faq details[open] summary{color:var(--vc,var(--accent))}
.faq details[open] summary::after{transform:rotate(225deg) translate(-3px,-3px);border-color:var(--vc,var(--accent))}
.faq__a{padding:0 22px 20px;font-size:.945rem;line-height:1.72;color:var(--ink-3)}
.faq__a p{margin-bottom:.8em}
.faq__a p:last-child{margin-bottom:0}

.article-cta{
  background:var(--deep);border-radius:var(--r-lg);color:#b5b5b5;
  padding:clamp(26px,3.4vw,40px);margin-top:clamp(36px,4.6vw,56px);
  position:relative;overflow:hidden;
}
.article-cta::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 60% 120% at 92% 50%,rgba(26,26,26,.25),transparent 70%);
}
.article-cta > *{position:relative}
.article-cta h3{color:#fff;font-size:1.3rem;margin-bottom:.5em}
.article-cta p{font-size:.95rem;margin-bottom:1.5em;max-width:46em}

.related{margin-top:clamp(40px,5vw,64px);padding-top:clamp(30px,4vw,44px);border-top:1px solid var(--line)}

/* ==========================================================================
   Range charts
   Same grammar as the figures: dotted geometry, hairlines, tabular numerals,
   the vertical hue carrying the value and nothing carrying decoration.
   A range is drawn as a range — the subject is decisions under uncertainty,
   and a single point value would claim precision the source does not have.
   ========================================================================== */

.figure--chart{padding-block:clamp(22px,2.8vw,32px)}
/* A chart needs more measure than a paragraph. Inside the narrow article
   column it breaks out symmetrically, and stops breaking out before it can
   reach the viewport edge. */
@media (min-width:1080px){
  .prose .figure--chart{margin-inline:-110px}
}
.rc{display:block;width:100%;height:auto}
.rc-grid{stroke:var(--fig-line);stroke-width:1;stroke-dasharray:0 6;stroke-linecap:round}
.rc-tick{font-family:var(--font-label);font-size:10.5px;letter-spacing:.04em;
  fill:var(--fig-ink);font-variant-numeric:tabular-nums}
.rc-lbl{font-family:var(--font-body);font-size:12.6px;fill:var(--ink-2)}
.rc-bar{fill:var(--vc,var(--accent));opacity:.9}
.rc-val{font-family:var(--font-display);font-size:12.4px;font-weight:700;
  fill:var(--ink);font-variant-numeric:tabular-nums}
.rc-note{font-family:var(--font-body);font-size:11.6px;fill:var(--ink-4)}
.rc-na{font-family:var(--font-body);font-size:12.2px;fill:var(--ink-4);font-style:italic}

@media (max-width:620px){
  .rc-lbl{font-size:12px}
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

/* A fade-and-slide on every section is scroll decoration: it delays content
   the reader has already asked for. Only the hero is choreographed (one
   moment, on load); .reveal now just fades, fast, and never moves the page. */
.reveal{opacity:0;transition:opacity .42s var(--ease)}
.reveal.is-in{opacity:1}
.reveal[data-d="1"]{transition-delay:.03s}
.reveal[data-d="2"]{transition-delay:.06s}
.reveal[data-d="3"]{transition-delay:.09s}
.reveal[data-d="4"]{transition-delay:.12s}
.reveal[data-d="5"]{transition-delay:.15s}

@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transition:none}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.skip{
  position:absolute;left:-9999px;top:0;z-index:1000;
  background:var(--accent);color:#fff;padding:.7em 1.2em;
  font-family:var(--font-display);font-weight:700;font-size:.85rem;border-radius:0 0 var(--r) 0;
}
.skip:focus{left:0;color:#fff}

/* ==========================================================================
   The Hacuk Orbit System  —  © Hacuk Business Solutions Pvt. Ltd.
   --------------------------------------------------------------------------
   One visual grammar for every diagram on this site, so the hero globe, the
   capability core and the domain figure read as the same object seen from
   different angles.

     1. Everything orbits a centre.      A core disc states the one idea; the
                                         parts sit on rings around it.
     2. Geometry is dotted, never solid. Land masses, rings and rails are all
                                         drawn as dot lattices or 0-length
                                         round-cap dashes.
     3. Hairlines only.                  1–1.6px strokes; weight comes from
                                         colour, never thickness.
     4. One accent travels.              A single red token moves along a path
                                         to show direction. Nothing else moves
                                         fast.
     5. Labels are small caps, not mono. Tenorite uppercase at 8-10px, lightly
                                         letter-spaced — they annotate, they
                                         do not shout.
     6. Hue is semantic.                 Cloud red, Engineering violet, Data
                                         cyan, AI amber. Never decorative.
     7. Motion is opt-in.                Nothing animates until the figure is
                                         on screen, and nothing animates at all
                                         under prefers-reduced-motion.
   ========================================================================== */

.bos{display:block;width:100%;height:auto}
.bos text{paint-order:stroke}

/* --- rings, rails, cores ------------------------------------------------ */
.bos-ring{fill:none;stroke:var(--fig-line);stroke-width:1.7;stroke-dasharray:0 7;stroke-linecap:round}
.bos-ring--solid{stroke-dasharray:none;stroke:#dedede}
.bos-rail{fill:none;stroke:#d0d0d0;stroke-width:1.3}
.bos-core{fill:#fff;stroke:var(--accent);stroke-width:1.5}
.bos-core-t{font-family:var(--font-display);font-weight:700;font-size:17px;letter-spacing:-.02em}
.bos-arc-t{font-family:var(--font-label);font-size:9.8px;letter-spacing:0.138em;fill:var(--fig-ink);text-transform:uppercase}

/* --- travelling accent -------------------------------------------------- */
.bos-pulse{stroke-dasharray:6 200;stroke-dashoffset:206;animation:bosflow 3.6s linear infinite;animation-play-state:paused}
.bos.is-live .bos-pulse{animation-play-state:running}
@keyframes bosflow{to{stroke-dashoffset:0}}

.bos-spin{animation:bosspin 64s linear infinite;animation-play-state:paused}
.bos-spin--rev{animation:bosspin 92s linear infinite reverse;animation-play-state:paused}
.bos.is-live .bos-spin,.bos.is-live .bos-spin--rev{animation-play-state:running}
@keyframes bosspin{to{transform:rotate(360deg)}}

.bos-rise{animation:bosrise .7s cubic-bezier(.22,.61,.36,1) both;animation-play-state:paused}
.bos.is-live .bos-rise{animation-play-state:running}
@keyframes bosrise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  .bos *{animation:none!important}
  .bos-pulse{stroke-dasharray:none;stroke-dashoffset:0;opacity:.3}
}

/* --- clickable regions -------------------------------------------------- */
.bos-hit{fill:transparent;cursor:pointer}
.bos-panel{fill:#fff;stroke:var(--line);stroke-width:1;transition:stroke .22s var(--ease),filter .22s var(--ease)}
.bos-link{cursor:pointer}
.bos-link:focus{outline:none}
.bos-link:hover .bos-panel,.bos-link:focus-visible .bos-panel{stroke:var(--bc,var(--accent));filter:drop-shadow(0 10px 22px rgba(19,19,19,.13))}
.bos-link:hover .bos-go,.bos-link:focus-visible .bos-go{opacity:1;transform:translateX(3px)}
.bos-go{opacity:.42;transition:opacity .22s var(--ease),transform .22s var(--ease)}
.bos-link:focus-visible .bos-panel{stroke-width:2}

.bos-node-t{font-family:var(--font-display);font-weight:700;font-size:17.5px;fill:var(--ink);letter-spacing:-.016em}
.bos-eyebrow{font-family:var(--font-label);font-size:9.4px;letter-spacing:0.081em;text-transform:uppercase}
.bos-item{font-family:var(--font-body);font-size:12.1px;fill:var(--ink-3)}

/* --- vendor logo chips (hover reveals the name, click opens the vendor) -- */
.bos-logo{cursor:pointer}
.bos-logo use{fill:#929292;transition:fill .2s var(--ease),transform .2s var(--ease);transform-box:fill-box;transform-origin:center}
.bos-logo:hover use,.bos-logo:focus-visible use{fill:var(--bc,var(--ink))}
.bos-logo:hover use,.bos-logo:focus-visible use{transform:translateY(-1.5px)}
.bos-logo__lbl{
  font-family:var(--font-label);font-size:8.4px;letter-spacing:0.050em;text-transform:uppercase;
  fill:var(--ink-4);text-anchor:middle;opacity:0;transition:opacity .18s var(--ease);
}
.bos-logo:hover .bos-logo__lbl,.bos-logo:focus-visible .bos-logo__lbl{opacity:1}
.bos-logo--dark use{fill:#888888}
.bos-logo--dark:hover use,.bos-logo--dark:focus-visible use{fill:#fff}
.bos-logo--dark .bos-logo__lbl{fill:#959595}

/* ==========================================================================
   Capability section — four designs, one set of parts
   --------------------------------------------------------------------------
   Markup is identical in all four; only the modifier on .cap changes, and
   build/capability_cards.py decides which one index.html gets.
   preview-capabilities.html shows them all.

   All four are red. The earlier version gave each practice its own hue and
   four saturated colours in one row read as a chart legend, not a brand.
   ========================================================================== */
.cap{display:grid;gap:clamp(12px,1.4vw,18px)}

/* --- the outcome row, common to all four --------------------------------- */
.cap-out{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px 22px;
  border-radius:var(--r-card);
  padding:clamp(14px,1.6vw,19px) clamp(18px,2vw,26px);
  background:linear-gradient(104deg,#f7f7f7 0%,#f2f2f2 62%,#fff 100%);
  border:1px solid rgba(26,26,26,.12);
}
.cap-out__k{
  font-family:var(--font-label);font-size:.645rem;letter-spacing:0.095em;
  text-transform:uppercase;color:var(--ink-4);
}
.cap-out__set{display:flex;flex-wrap:wrap;gap:8px}
.cap-out__o{
  font-family:var(--font-display);font-weight:700;font-size:.835rem;color:var(--accent-dark);
  background:#fff;border:1px solid rgba(26,26,26,.16);border-radius:100px;
  padding:.36em 1.05em;letter-spacing:-.008em;
}

/* --- vendor marks, shared by every capability design -------------------------------
   Each mark names itself on hover. The native title attribute stays for
   assistive tech, but it takes a second to appear and cannot be styled, and
   a row of unlabelled glyphs is a guessing game. */
.mkw{position:relative;display:inline-flex;align-items:center}
svg.mk{
  width:19px;height:19px;fill:var(--ink-4);opacity:.72;
  transition:opacity .22s var(--ease),fill .22s var(--ease);
}
svg.mk--dark{fill:rgba(255,255,255,.72);opacity:.9}
.mkw::after{
  content:attr(data-n);position:absolute;top:calc(100% + 9px);left:50%;
  transform:translate(-50%,-3px);
  font-family:var(--font-label);font-size:.62rem;font-weight:700;
  letter-spacing:0.062em;text-transform:uppercase;white-space:nowrap;
  color:#fff;background:var(--ink);border-radius:4px;padding:.35em .6em;
  opacity:0;pointer-events:none;
  transition:opacity .16s var(--ease),transform .16s var(--ease);
  z-index:4;
}
.mkw::before{
  content:"";position:absolute;top:calc(100% + 5px);left:50%;
  transform:translate(-50%,-3px);
  border:4px solid transparent;border-bottom-color:var(--ink);
  opacity:0;pointer-events:none;
  transition:opacity .16s var(--ease),transform .16s var(--ease);
  z-index:4;
}
.mkw:hover::after,.mkw:hover::before{opacity:1;transform:translate(-50%,0)}
.mkw:hover svg.mk{opacity:1;fill:var(--ink)}


/* ==========================================================================
   The tile — structure shared by all four designs
   ========================================================================== */
.ctiles{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,1.4vw,18px);
}
@media (max-width:820px){.ctiles{grid-template-columns:1fr}}

.ctile{
  position:relative;display:flex;flex-direction:column;isolation:isolate;
  min-height:clamp(286px,26vw,350px);
  border-radius:var(--r-card);
  padding:clamp(24px,2.4vw,34px);
  /* NOT overflow:hidden — the vendor-mark tooltip hangs below the marks row,
     which is the last thing in the card, so clipping the card clips the
     tooltip. The decorative layer clips itself instead. */
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),
             background-color .3s var(--ease),border-color .3s var(--ease),color .3s var(--ease);
}
.ctile--wide{grid-column:1/-1;min-height:0}
.ctile__fx{position:absolute;inset:0;z-index:-1;pointer-events:none;
  border-radius:inherit;overflow:hidden;}
.ctile:hover{transform:translateY(-4px)}

.ctile__top{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.ctile__n{
  font-family:var(--font-display);font-weight:700;font-size:.78rem;
  letter-spacing:0.06em;font-variant-numeric:tabular-nums;
}
.ctile__role{
  font-family:var(--font-label);font-size:.615rem;letter-spacing:0.11em;
  text-transform:uppercase;text-align:right;
}
.ctile__t{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(1.42rem,2.5vw,2.05rem);line-height:1.12;letter-spacing:-.03em;
  margin-top:clamp(16px,2vw,26px);
}
.ctile__d{font-size:.885rem;line-height:1.55;margin-top:10px;max-width:40ch}
.ctile__list{
  list-style:none;margin:clamp(16px,1.8vw,22px) 0 0;padding:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 18px;
}
@media (max-width:1080px){.ctile__list{grid-template-columns:1fr}}
.ctile__list li{position:relative;padding-left:15px;font-size:.795rem;line-height:1.45}
.ctile__list li::before{
  content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;
  background:currentColor;opacity:.42;
}
.ctile__steps{display:flex;flex-wrap:wrap;gap:7px;margin-top:clamp(16px,1.8vw,22px)}
.ctile__steps i{
  font-style:normal;font-family:var(--font-label);font-size:.635rem;letter-spacing:0.09em;
  text-transform:uppercase;border:1px solid currentColor;border-radius:100px;
  padding:.36em .9em;opacity:.78;
}
.ctile__foot{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-top:auto;padding-top:clamp(20px,2.2vw,28px);
}
.ctile__marks{display:flex;align-items:center;gap:clamp(12px,1.5vw,20px);flex-wrap:wrap}
.ctile__go{
  width:38px;height:38px;border-radius:50%;flex:none;display:grid;place-items:center;
  transition:background .26s var(--ease),transform .26s var(--ease),color .26s var(--ease);
}
.ctile__go svg{width:16px;height:16px}
.ctile:hover .ctile__go{transform:translateX(3px)}

/* ==========================================================================
   A — swatch: white at rest, iridescent the moment you touch it
   The one place colour appears on this site. At rest the card is pure
   monochrome; the hover floods it with an oil-slick sheen — violet into
   indigo into teal — so the interaction has some life without putting a
   hue anywhere in the resting page.
   ========================================================================== */
.cap--swatch .ctile{
  background:var(--surface);border:1px solid var(--line);color:var(--ink);
  box-shadow:0 1px 2px rgba(19,19,19,.03);
}
.cap--swatch .ctile__n{color:var(--accent)}
.cap--swatch .ctile__role{color:var(--ink-4)}
.cap--swatch .ctile__d{color:var(--ink-3)}
.cap--swatch .ctile__list li{color:var(--ink-3)}
.cap--swatch .ctile__list li::before{background:var(--accent);opacity:.5}
.cap--swatch .ctile__steps i{color:var(--ink-3);border-color:var(--line);opacity:1}
.cap--swatch .ctile__go{background:var(--accent-tint);color:var(--accent)}
/* the flood: painted by the ::before so the text can cross-fade over it */
.cap--swatch .ctile__fx{
  background:
    /* the shine: a soft diagonal highlight, so it reads as polished rather
       than merely coloured */
    linear-gradient(118deg,
      rgba(255,255,255,0) 30%,
      rgba(255,255,255,.14) 47%,
      rgba(255,255,255,0) 64%),
    /* the iridescence. Every stop is deep enough that the faintest text on
       the hovered card — .ctile__role at rgba(255,255,255,.66) — still
       clears 4.5:1 against it; the lightest stop, #125055, is the binding
       one at 4.99:1. Lighten these and that text starts to fail. */
    linear-gradient(140deg,
      #241640 0%,
      #351d63 26%,
      #193d6b 52%,
      #125055 74%,
      #3f1a52 100%);
  opacity:0;transition:opacity .3s var(--ease);
}
.cap--swatch .ctile:hover{
  border-color:transparent;color:#fff;
  /* the lift picks up the gradient's violet so the card glows rather than
     just casting a grey shadow */
  box-shadow:0 2px 4px rgba(16,10,34,.18),0 28px 50px -26px rgba(43,22,86,.72);
}
.cap--swatch .ctile:hover .ctile__fx{opacity:1}
.cap--swatch .ctile:hover .ctile__n{color:rgba(255,255,255,.72)}
.cap--swatch .ctile:hover .ctile__role{color:rgba(255,255,255,.66)}
.cap--swatch .ctile:hover .ctile__d{color:rgba(255,255,255,.8)}
.cap--swatch .ctile:hover .ctile__list li{color:rgba(255,255,255,.92)}
.cap--swatch .ctile:hover .ctile__list li::before{background:#fff;opacity:.6}
.cap--swatch .ctile:hover .ctile__steps i{color:rgba(255,255,255,.84);border-color:rgba(255,255,255,.3)}
.cap--swatch .ctile:hover .ctile__go{background:#fff;color:#241640}
.cap--swatch .ctile:hover svg.mk{fill:rgba(255,255,255,.82)}
.cap--swatch .ctile:hover .mkw::after{color:var(--ink);background:#fff}
.cap--swatch .ctile:hover .mkw::before{border-bottom-color:#fff}

/* ==========================================================================
   B — fluted: ribbed glass, lit from the left
   ========================================================================== */
.cap--flute .ctile{
  background:linear-gradient(142deg,#2e2e2e 0%,var(--accent) 40%,#080808 100%);
  color:#fff;border:1px solid rgba(10,10,10,.4);
  box-shadow:0 2px 4px rgba(10,10,10,.16),0 22px 42px -24px rgba(10,10,10,.6);
}
.cap--flute .ctile__fx{
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.17) 0 1px,
      rgba(255,255,255,.06) 1px 5px,
      rgba(0,0,0,.11) 9px 12px,
      rgba(255,255,255,.06) 15px 16px),
    linear-gradient(100deg,rgba(255,255,255,.2),rgba(255,255,255,0) 52%);
}
.cap--flute .ctile__n{color:rgba(255,255,255,.7)}
.cap--flute .ctile__role{color:rgba(255,255,255,.62)}
.cap--flute .ctile__d{color:rgba(255,255,255,.82)}
.cap--flute .ctile__list li{color:rgba(255,255,255,.93)}
.cap--flute .ctile__list li::before{background:#fff;opacity:.55}
.cap--flute .ctile__steps i{color:rgba(255,255,255,.82);border-color:rgba(255,255,255,.26);opacity:1}
.cap--flute .ctile__go{background:rgba(255,255,255,.16);color:#fff}
.cap--flute .ctile:hover{box-shadow:0 2px 4px rgba(10,10,10,.2),0 32px 58px -26px rgba(10,10,10,.75)}
.cap--flute .ctile:hover .ctile__go{background:#fff;color:var(--accent-dark)}
.cap--flute svg.mk{fill:rgba(255,255,255,.72);opacity:.9}
.cap--flute .mkw:hover svg.mk{fill:#fff;opacity:1}
.cap--flute .mkw::after{color:var(--ink);background:#fff}
.cap--flute .mkw::before{border-bottom-color:#fff}

/* ==========================================================================
   C — material: a soft wash with one arc cut through it
   ========================================================================== */
.cap--material .ctile{
  background:linear-gradient(148deg,#262626 0%,#0d0d0d 52%,#080808 100%);
  color:#fff;border:1px solid rgba(8,8,8,.42);
  box-shadow:0 2px 4px rgba(8,8,8,.16),0 22px 42px -24px rgba(8,8,8,.6);
}
.cap--material .ctile__fx{
  background:
    radial-gradient(42% 58% at 84% 8%, rgba(208,208,208,.34), transparent 62%),
    radial-gradient(60% 70% at 6% 104%, rgba(168,168,168,.30), transparent 64%),
    conic-gradient(from 210deg at 110% 86%, rgba(255,255,255,.14), transparent 28%);
}
/* the arc — one ring, cropped by the card */
.cap--material .ctile__fx::after{
  content:"";position:absolute;pointer-events:none;
  width:132%;aspect-ratio:1;right:-56%;bottom:-62%;
  border-radius:50%;border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 0 0 26px rgba(255,255,255,.045);
  transition:transform .55s var(--ease);
}
.cap--material .ctile:hover .ctile__fx::after{transform:scale(1.07) translate(-2%,-2%)}
.cap--material .ctile__n{color:rgba(255,255,255,.7)}
.cap--material .ctile__role{color:rgba(255,255,255,.62)}
.cap--material .ctile__d{color:rgba(255,255,255,.84)}
.cap--material .ctile__list li{color:rgba(255,255,255,.93)}
.cap--material .ctile__list li::before{background:#fff;opacity:.55}
.cap--material .ctile__steps i{color:rgba(255,255,255,.82);border-color:rgba(255,255,255,.26);opacity:1}
.cap--material .ctile__go{background:rgba(255,255,255,.16);color:#fff}
.cap--material .ctile:hover{box-shadow:0 2px 4px rgba(8,8,8,.2),0 32px 58px -26px rgba(8,8,8,.75)}
.cap--material .ctile:hover .ctile__go{background:#fff;color:#000000}
.cap--material svg.mk{fill:rgba(255,255,255,.72);opacity:.9}
.cap--material .mkw:hover svg.mk{fill:#fff;opacity:1}
.cap--material .mkw::after{color:var(--ink);background:#fff}
.cap--material .mkw::before{border-bottom-color:#fff}

/* ==========================================================================
   D — paper: white card, solid red number block, hairline rail
   ========================================================================== */
.cap--paper .ctile{
  background:var(--surface);border:1px solid var(--line);color:var(--ink);
  padding-left:calc(clamp(24px,2.4vw,34px) + 6px);
  box-shadow:0 1px 2px rgba(19,19,19,.03);
}
.cap--paper .ctile__fx{
  background:linear-gradient(180deg,var(--accent) 0%,#0a0a0a 100%);
  inset:0 auto 0 0;width:6px;z-index:0;
  border-radius:var(--r-card) 0 0 var(--r-card);
  transition:width .3s var(--ease);
}
.cap--paper .ctile:hover .ctile__fx{width:10px}
.cap--paper .ctile__n{
  position:relative;z-index:1;
  background:var(--accent);color:#fff;border-radius:5px;
  padding:.34em .62em;font-size:.72rem;letter-spacing:.05em;
}
.cap--paper .ctile__top{align-items:center}
.cap--paper .ctile__role{color:var(--ink-4)}
.cap--paper .ctile__d{color:var(--ink-3)}
.cap--paper .ctile__list li{color:var(--ink-3)}
.cap--paper .ctile__list li::before{background:var(--accent);opacity:.5}
.cap--paper .ctile__steps i{color:var(--ink-3);border-color:var(--line);opacity:1}
.cap--paper .ctile__go{background:var(--accent-tint);color:var(--accent)}
.cap--paper .ctile:hover{
  border-color:rgba(26,26,26,.3);
  box-shadow:0 2px 4px rgba(19,19,19,.04),0 22px 40px -24px rgba(26,26,26,.45);
}
.cap--paper .ctile:hover .ctile__go{background:var(--accent);color:#fff}

/* ==========================================================================
   Domain — one section, two halves
   --------------------------------------------------------------------------
   How we learn a domain, then the domains themselves. They used to be a
   boxed figure followed by a card grid, which read as two unrelated things
   stacked. Now they share one column, one radius and one rhythm, and a
   photograph does the dividing: a breath between the halves rather than a
   rule across them.
   ========================================================================== */
.domain{display:grid;gap:clamp(12px,1.4vw,18px)}


/* --- the four things we settle first ------------------------------------ */
.dsteps{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(12px,1.4vw,18px);
}
@media (max-width:900px){.dsteps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.dsteps{grid-template-columns:1fr}}

.dstep{
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;
  min-height:clamp(210px,21vw,268px);
  background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r-card);
  padding:clamp(20px,2vw,28px);
  transition:border-color .28s var(--ease),transform .28s var(--ease),box-shadow .28s var(--ease);
}
/* the colour sits in a wash behind the number, not in a rule on the edge */
.dstep::before{
  content:"";position:absolute;inset:0 auto auto 0;width:58%;height:58%;
  background:radial-gradient(closest-side at 0% 0%, color-mix(in srgb,var(--vc) 11%,transparent), transparent 100%);
  pointer-events:none;
}
.dstep:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--vc) 32%,var(--line));
  box-shadow:0 2px 4px rgba(19,19,19,.04),0 18px 34px -20px color-mix(in srgb,var(--vc) 50%,transparent);
}
.dstep__n{
  position:relative;
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(1.55rem,2.4vw,2.05rem);line-height:1;letter-spacing:-.04em;
  color:var(--vc);font-variant-numeric:tabular-nums;margin-bottom:clamp(14px,1.8vw,22px);
}
.dstep__t{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(1rem,1.3vw,1.14rem);line-height:1.24;letter-spacing:-.02em;color:var(--ink);
}
.dstep__d{font-size:.8rem;line-height:1.56;color:var(--ink-3);margin-top:9px}
.dstep__chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto;padding-top:18px}
.dstep__chips i{
  font-style:normal;font-family:var(--font-label);font-size:.6rem;letter-spacing:0.07em;
  text-transform:uppercase;color:var(--ink-3);
  background:var(--surface-2);border:1px solid var(--line);border-radius:3px;
  padding:.34em .6em;
}

/* --- the hinge ----------------------------------------------------------- */
/* The lead-in to the eight domains. This used to be a photograph with the
   sentence reversed out of it; the photographs now sit on the cards below,
   where each one says something about its domain. What is left is the
   sentence, set large on the section tint, with a short rule to mark the
   hinge. */
.domain__split{
  margin-top:clamp(18px,2.4vw,32px);
}
.domain__split-in{
  max-width:min(100%,62ch);
  padding-top:clamp(20px,2.4vw,30px);
  border-top:1px solid var(--line);
}
.domain__quote{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(1.1rem,2.1vw,1.62rem);line-height:1.26;letter-spacing:-.026em;
  color:var(--ink);margin:0;text-wrap:pretty;
}
.domain__sub{
  font-size:.84rem;line-height:1.55;color:var(--ink-3);
  margin:11px 0 0;max-width:46ch;
}
/* ==========================================================================
   Hero globe
   ========================================================================== */

.globe-wrap{position:relative}
.globe{display:block;width:100%;height:auto;overflow:visible}
.globe-sphere{fill:url(#globeFill)}
.globe-edge{fill:none;stroke:#dedede;stroke-width:1}
.globe-land{fill:none;stroke-linecap:round}
.globe-land--far{stroke:#d7d7d7;stroke-width:2.2}
.globe-land--near{stroke:#969696;stroke-width:2.7}
.globe-arc{fill:none;stroke:var(--accent);stroke-width:1.15;opacity:.42}
.globe-grat{fill:none;stroke:#eeeeee;stroke-width:.9}
.globe-pin{fill:var(--accent)}
.globe-halo{fill:none;stroke:var(--accent);stroke-width:1.1}
.globe-city{
  font-family:var(--font-label);font-size:9.2px;letter-spacing:0.056em;text-transform:uppercase;
  fill:var(--ink-2);
}
@media (max-width:980px){.globe-wrap{max-width:540px;margin-inline:auto}}

/* --- WebGL planet --------------------------------------------------------
   The canvas sits in the same square box as the SVG globe and replaces it
   once three.js has painted a frame (.is-3d). The bloom behind it is CSS,
   not a render pass: on a white page a soft red wash under the planet does
   the job of a bloom for none of the cost. */
.globe3d{position:relative;aspect-ratio:1/1;width:100%}
.globe3d::before{
  content:"";position:absolute;inset:-14% -14% -10%;
  background:
    radial-gradient(closest-side circle at 50% 52%, rgba(142,142,142,.13), rgba(142,142,142,.035) 62%, transparent 78%),
    radial-gradient(closest-side circle at 62% 70%, rgba(26,26,26,.05), transparent 74%);
  opacity:0;transition:opacity .9s var(--ease);pointer-events:none;
}
.globe3d.is-3d::before{opacity:1}
/* a contact shadow, so the planet sits in the page instead of floating on it */
.globe3d::after{
  content:"";position:absolute;left:14%;right:14%;bottom:1%;height:9%;
  background:radial-gradient(closest-side ellipse at 50% 50%, rgba(19,19,19,.16), transparent 72%);
  opacity:0;transition:opacity .9s var(--ease);pointer-events:none;
}
.globe3d.is-3d::after{opacity:1}
.globe3d__canvas{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  cursor:grab;touch-action:pan-y;              /* the page still scrolls over it */
  opacity:0;transition:opacity .8s var(--ease);
}
.globe3d.is-3d .globe3d__canvas{opacity:1}
.globe3d.is-grabbing .globe3d__canvas{cursor:grabbing}

/* --- the hub names -------------------------------------------------------
   Chips, not plain text: a label has to stay readable whether it lands on
   the near-black planet or on the white page behind it, and only an opaque
   plate does both. Positioned from JS every frame; the transition is on
   opacity alone so a name fades in and out as its hub turns past the limb
   rather than sliding across the page. */
.globe3d__labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.g3l{
  position:absolute;top:0;left:0;will-change:transform;
  display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
  font-family:var(--font-display);font-size:.72rem;font-weight:700;
  letter-spacing:-.004em;
  color:var(--ink-2);background:rgba(255,255,255,.94);
  border:1px solid var(--line);border-radius:100px;
  padding:.33em .68em .33em .58em;
  box-shadow:0 1px 2px rgba(19,19,19,.07),0 6px 16px -10px rgba(19,19,19,.4);
  opacity:0;transition:opacity .34s var(--ease);
}
.g3l.is-on{opacity:1}
/* A leader from the chip's bottom-left corner down to the hub it names, so
   the pairing survives a crowded limb where two chips sit close together. */
.g3l::after{
  content:"";position:absolute;left:0;bottom:0;width:14px;height:1px;
  background:linear-gradient(90deg,var(--line),rgba(26,26,26,.55));
  transform-origin:left center;transform:rotate(135deg);
}
/* chips that had to sit on the left of their dot point the other way */
.g3l--l::after{left:auto;right:0;transform-origin:right center;transform:rotate(45deg)}
.g3l i{width:5px;height:5px;border-radius:50%;background:var(--ink-4);flex:none}
.g3l--key{color:var(--ink);border-color:rgba(26,26,26,.26)}
.g3l--key i{background:var(--accent);box-shadow:0 0 0 3px rgba(26,26,26,.14)}
@media (max-width:560px){
  .g3l{font-size:.58rem;padding:.3em .55em .3em .46em;gap:5px}
}
/* display:none, not visibility — it also stops the SVG globe's own rAF loop,
   which only runs while its IntersectionObserver reports it on screen. */
.globe3d.is-3d .globe{display:none}

/* ==========================================================================
   Team — portraits
   ========================================================================== */

.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.2vw,26px);max-width:900px}
@media (max-width:680px){.team-grid{grid-template-columns:1fr}}
.team-card__photo{
  width:92px;height:92px;border-radius:50%;object-fit:cover;display:block;
  margin-bottom:19px;background:var(--surface-3);
  border:1px solid var(--line);
}
.team-card__av--lg{width:92px;height:92px;font-size:1.72rem}
.team-card__line{font-size:.93rem;line-height:1.66;margin:0}

/* ==========================================================================
   Footer brand lock-up — matches the hacuk.com logo (wordmark + strapline)
   ========================================================================== */

.footer__lockup{display:block}
.footer__lockup .brand__mark{color:#fff;display:block;font-size:1.62rem;letter-spacing:-.03em}
.footer__strap{
  display:block;margin-top:5px;
  font-family:var(--font-display);font-weight:700;font-size:.84rem;letter-spacing:-.005em;
  /* The strapline is part of the footer lock-up and has to read as one mark
     with the wordmark above it. --accent is the ON-WHITE near-black, so it
     cannot be used here: against the dark footer it lands at 1.1:1 and
     disappears. This is the on-dark half of the pair — 6.6:1 on --deep,
     clear of AA, and still plainly subordinate to the white wordmark. */
  color:var(--brand-sub-on-dark);
}
.globe-halo{transform-box:fill-box;transform-origin:center;opacity:.5;animation:globeping 3.4s ease-out infinite}
@keyframes globeping{0%{transform:scale(.3);opacity:.55}70%,100%{transform:scale(1.35);opacity:0}}
@media (prefers-reduced-motion:reduce){.globe-halo{animation:none;opacity:.22}}

/* ==========================================================================
   People — photography
   --------------------------------------------------------------------------
   Every photograph on this site is of real people doing real work (sources and
   licences in assets/img/people/CREDITS.md). Three components carry them:

     .pband    a full-width band — image one side, copy the other
     .pfigure  a single framed photograph with a caption
     .post-card__media  the 16:9 lead image on a case-study card

   All of them set width/height so the browser reserves the box before the
   file lands, and lazy-load everything below the first screen.
   ========================================================================== */

.pband{
  display:grid;grid-template-columns:1.05fr .95fr;
  gap:clamp(26px,4vw,64px);align-items:center;
}
.pband--flip .pband__media{order:2}
@media (max-width:860px){
  .pband{grid-template-columns:1fr;gap:clamp(22px,3.4vw,34px)}
  .pband--flip .pband__media{order:0}
}
.pband__media{position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--surface-3)}
.pband__media img{
  display:block;width:100%;height:100%;object-fit:cover;
  aspect-ratio:16/9;
}
/* A thin accent rule along the top edge, in the section's vertical colour. */
.pband__media::after{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--vc,var(--accent));
}
.pband__cap{
  font-family:var(--font-label);font-size:.67rem;letter-spacing:0.062em;
  text-transform:uppercase;color:var(--ink-4);
  margin:11px 0 0;
}
.pband h3{font-size:clamp(1.15rem,2.1vw,1.5rem);margin-bottom:.55em}
.pband p{color:var(--ink-3);margin-bottom:0}
.section--deep .pband p{color:#959595}
.section--deep .pband h3{color:#fff}
.section--deep .pband__cap{color:#7e7e7e}

/* A standalone framed photograph, used on the service pages. */
.pfigure{position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--surface-3)}
.pfigure img{display:block;width:100%;height:auto;aspect-ratio:21/9;object-fit:cover}
@media (max-width:700px){.pfigure img{aspect-ratio:16/9}}
.pfigure__cap{
  position:absolute;left:0;right:0;bottom:0;
  padding:clamp(28px,4vw,40px) clamp(18px,2.4vw,28px) clamp(14px,1.8vw,20px);
  background:linear-gradient(to top,rgba(16,16,16,.84),rgba(16,16,16,.42) 55%,transparent);
  color:#fff;
  font-family:var(--font-display);font-weight:700;font-size:clamp(.88rem,1.5vw,1.05rem);
  line-height:1.4;letter-spacing:-.008em;
  margin:0;
}

/* The lead image on a case-study card. Bleeds to the card's edges, so the
   card's own padding has to be lifted off the top. */
.post-card--photo{padding-top:0}
.post-card__media{
  margin:0 calc(-1 * clamp(20px,2.4vw,27px)) clamp(17px,2vw,21px);
  background:var(--surface-3);overflow:hidden;
}
.post-card__media img{
  display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
  transition:transform .5s var(--ease);
}
.post-card:hover .post-card__media img{transform:scale(1.04)}
@media (prefers-reduced-motion:reduce){
  .post-card:hover .post-card__media img{transform:none}
}

/* The lead photograph on a case study itself. */
.cs-lead{
  position:relative;border-radius:var(--r-lg);overflow:hidden;
  background:var(--surface-3);margin-bottom:clamp(28px,3.6vw,42px);
}
.cs-lead img{display:block;width:100%;height:auto;aspect-ratio:16/7;object-fit:cover}
@media (max-width:600px){.cs-lead img{aspect-ratio:3/2}}
.cs-lead::after{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--vc,var(--accent));
}

/* The photograph beside the contact form. */
.contact-photo{
  border-radius:var(--r-lg);overflow:hidden;background:var(--surface-3);
  margin-bottom:clamp(22px,2.8vw,30px);
}
.contact-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
@media (max-width:900px){.contact-photo{display:none}}
