/* GENERATED by build.mjs from base.css, shell.css, tech.css, form.css, work.css, contact.css, clients.css: edit those, not this file. */
/* ==== base.css ==== */
/* Inventiff design system — tokens, reset, typography, buttons, utilities. Shared by all pages. */

/* DM Sans, self-hosted — same four static weights the staging2 theme ships
   (Wptiff/fonts/). No Light: the system has no 300, emphasis comes from size. */
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
    /* ── Brand (DS §02, §04) ─────────────────────────────────────────────────
       Two brand colours, no more. Yellow is the strongest emphasis in the system
       and stays valuable by being rare: primary CTA, key accents. Never a generic
       hover, never a badge default. Navy is the primary dark structural colour —
       text, icons, functional borders — so no near-black alternative is needed. */
    --amber: #ffbd0e;
    --navy:  #04113a;

    /* ── Light neutral palette (DS §04) ──────────────────────────────────────
       Eight values, and these are the eight. Before the first pass the sheets
       carried 31 distinct light greys, most of them within 2–3 points of each
       other. The I2 document splits the hover grey in two — #F2F4F8 for
       lightweight interactive states, #EFF1F5 for the menu and tab surfaces —
       so the two are declared apart and never stand in for each other. */
    --white:        #ffffff;   /* primary light surface, cards, menus            */
    --off-white:    #f8f9fb;   /* subtle differentiation where white isn't enough */
    --soft-hover:   #f2f4f8;   /* lightweight interactive states                 */
    --menu-hover:   #eff1f5;   /* THE menu surface: mega-menu row, nav item, tab  */
    --light-bg:     #e9edf5;   /* larger light sections and supporting surfaces   */
    --light-border: #d9dee8;   /* the subtle border, divider and input boundary   */
    --mid-neutral:  #aab2c0;   /* low-emphasis UI details — sparingly            */
    --muted-text:   #667085;   /* secondary info, labels, metadata (5.4:1 on white) */

    /* ── Role aliases ────────────────────────────────────────────────────────
       Kept so every existing call site resolves, but each now points at one of
       the palette values above rather than at a private hex. Two text tones only:
       navy for primary text, --muted-text for supporting. */
    --bg:              var(--white);
    /* One header band for every content page. The five Master frames all draw it
       730 tall (1355:169 and its four siblings), and the copy starts at the same
       place on each — so the padding and the minimum live here rather than being
       respelled per family, which is how blog posts ended up at 180/96 and the AI
       and awards pages at 168/96 against everyone else's 210/120. */
    --hero-pt: 156px; --hero-pb: 64px; --hero-min: 730px;
    --bg-soft:         var(--off-white);
    --bg-alt:          var(--light-bg);
    --card:            var(--white);
    --card-border:     var(--light-border);
    --card-border-0:   rgba(217, 222, 232, 0);   /* --light-border at zero alpha, for the card stroke */
    --ink:             var(--navy);
    --text:            var(--navy);        /* was #46516e — body copy is primary text */
    --text-dim:        var(--muted-text);  /* was #5c6788 */
    --muted:           var(--muted-text);  /* was #6c7590 */
    --muted-on-soft:   var(--muted-text);  /* was #666f8a — one muted tone, not two */
    --slate:           var(--muted-text);  /* was #606e9c as text; the dark gradient
                                              keeps its own literal stop below      */
    --amber-text:      var(--navy);        /* amber never sets type on light         */
    --amber-dark:      var(--amber);       /* hover feedback is shadow/lift, not gold */
    --amber-soft:      #fff4d6;            /* the one pale amber tint                */

    /* The one colour on this site that is not ours. Clutch's red, taken from the
       Clutch wordmark and star marks we already ship (assets/clutch-wordmark.svg,
       assets/clutch-stars.svg). It exists so the single outbound action into
       Clutch can wear Clutch's identity instead of our amber Primary — see
       .clutch-cta in home.css. It is never used for anything else, and never for type
       on a light ground: #EF4335 on white is 3.8:1, which is enough for a control's
       edge (§17 asks 3:1 there) and not enough for a label. */
    --clutch-red:      #ef4335;

    /* ── Radius (DS §08) ─────────────────────────────────────────────────────
       Five steps. Small for compact UI, medium for controls and standard cards,
       large for softer editorial compositions, pill where intentionally designed.
       23 distinct corner values were in play before this pass.                  */
    --r-xs:   4px;
    --r-sm:   8px;
    --r-md:  12px;
    --r:     16px;
    --r-lg:  24px;
    --r-pill: 100px;
    /* The button's pill, spelled as its own half-height (48px tall). 100px draws the
       same shape at rest, but the morph to --r-md then spends its first 86% between
       100 and 24 where nothing is visible, so the corners moved only after the label
       and arrow had finished. From 24 the shape changes with them, from frame one. */
    --r-btn:  24px;

    /* ── Spacing (DS §07) ────────────────────────────────────────────────────
       The preferred token set. Not mandatory for every relationship — an
       intermediate value is allowed where it is structurally necessary — but no
       arbitrary one-off where a token draws the same thing.                     */
    --s-1:   8px;
    --s-2:  16px;
    --s-3:  24px;
    --s-4:  32px;
    --s-5:  48px;
    --s-6:  64px;
    --s-7:  96px;
    --s-8: 120px;

    /* ── Motion (DS §14) ─────────────────────────────────────────────────────
       A small shared vocabulary: five durations, two curves. Fourteen different
       durations were in play before this pass, which is not a vocabulary — it is
       one number per component. --dur-morph and --ease-morph carry the Primary
       Button's signature verbatim; §02 says keep that interaction as it is. */
    --dur-fast:   .15s;   /* colour and background feedback                */
    --dur:        .25s;   /* the default: transform, shadow, border        */
    --dur-slow:    .4s;   /* panels — mega menu, accordion                 */
    --dur-morph:  .55s;   /* the button's shape change and arrow march     */
    --dur-reveal:  .7s;   /* scroll-in                                     */
    --ease:       cubic-bezier(.22,.61,.36,1);
    --ease-morph: cubic-bezier(.23,1,.32,1);

    /* ── Elevation (DS §08) — used minimally, only for layering/floating ── */
    --shadow-sm: 0 4px 14px rgba(4,17,58,0.06);
    --shadow:    0 8px 26px rgba(4,17,58,0.10);
    --shadow-lg: 0 16px 50px rgba(4,17,58,0.14);

    /* ── Sticky header glass (DS §12) ────────────────────────────────────────
       The exact values the document specifies. The fallback is not a "close
       enough" — it is the stated substitute for browsers without backdrop-filter,
       opaque enough that the header never reads as a smudge. */
    --nav-glass:       rgba(255,255,255,0.78);
    --nav-glass-solid: rgba(255,255,255,0.96);
    --nav-blur: 18px;

    /* Approved 2025 gradients — preserved verbatim, not re-derived (DS §04). */
    --grad-gray: linear-gradient(89.75deg, rgba(255,255,255,0) -32.95%, rgba(255,255,255,0.619792) 7.87%, #ffffff 97.68%), linear-gradient(242.37deg, #ffffff 0.8%, #6c82a6 105.35%);
    --grad-card: linear-gradient(213.25deg, rgba(255,255,255,0) -6.52%, #eef1f5 69.45%);
    --grad-dark: linear-gradient(53.1deg, #04113a 4.05%, #606e9c 115.37%);
    --error: #d9534f;   /* the one error red; start.css drew it raw, the contact form reads it from here */
    --error-text: #b42318;   /* the error red as text: #d9534f is 4.0:1 on white, this is 6.6:1 (QA #682) */
    /* single source of truth for the hero grey — must match the backdrop baked into hero-animation.mp4 */
    --hero-bg: #edeff3;
    --hero-bg-t: rgba(237,239,243,0);
    --maxw: 1180px;
    --ff: 'DM Sans', system-ui, sans-serif; }

/* ── Breakpoints ────────────────────────────────────────────────────────────
   Four, and they are the ones the layout actually turns on:

     480   phone
     680   the mobile boundary — where the nav bar hands over to the burger CTA,
           where the sticky action bar switches on (shell.js matches this exact
           value), and where two-column blocks become one
     940   where the wide two-column layouts stack
    1280   full desktop

   They are not CSS custom properties: a media query cannot read one. They are the
   contract — QA against these four widths, and any rule that needs a different
   number carries a comment saying why. Fifteen thresholds used to be in play
   (380, 560, 600, 720, 860, 980 …); each of them was a private decision, and the
   gaps between them are where the layout broke (a decoration that folded at 980
   landing on a grid that folded at 940).

   The three deliberate exceptions, each a component rather than the page:
     480/481 and 980/981   the type scale, ported verbatim from the staging theme
     1023/1024             where the nav collapses — a property of the nav's own width
     1100                  where the process rail and the AI grid stop fitting

*/

/* ── Typographic scale ──────────────────────────────────────────────────────
   Ported verbatim from the staging2 theme (Wptiff/_assets/css/wptiff-fonts.css).
   Four steps, same breakpoints as the theme: ≥1280 / 981–1279 / 481–980 / ≤480.
   --fs-h1-hero is the one addition: the theme's Divi hero module overrides h1 to
   48px on desktop, so this token carries what staging actually renders.        */
:root {
    --fs-h2-big: 56px; --fw-h2-big: 500; --lh-h2-big: 1.0em;   /* every large numeral on the site (stats, results, figures); 72 read as too big (Victor, 2026-10-10) */
    --fs-h2-bigger: 48px; --fw-h2-bigger: 400; --lh-h2-bigger: 1.125em;
    --fs-h1-hero: 48px; --fw-h1-hero: 400; --lh-h1-hero: 1.2em;
    --fs-h1-big: 54px; --fw-h1-big: 500; --lh-h1-big: 1.2em;
    --fs-h1: 42px; --fw-h1: 400; --lh-h1: 1.2em;
    --fs-h2: 36px; --fw-h2: 400; --lh-h2: 1.2em;
    --fs-h3: 32px; --fw-h3: 500; --lh-h3: 1.2em;
    --fs-h4: 28px; --fw-h4: 500; --lh-h4: 1.2em;
    --fs-h5: 24px; --fw-h5: 500; --lh-h5: 1.2em;
    --fs-h6: 16px; --fw-h6: 500; --lh-h6: 1.4em;
    --fs-p: 18px; --fw-p: 400; --lh-p: 1.7em;
    --fs-p-small: 16px; --fw-p-small: 400; --lh-p-small: 1.7em;
    --fs-p-smallest: 12px; --fw-p-smallest: 400; --lh-p-smallest: 1.7em;
    /* Two paragraph roles the token file doesn't name but staging renders distinctly:
       the hero lead (22px/1.2, dropping to 18 on phones) and the section subtitle
       (20px/1.7, flat). Measured off staging2 at 1440/1100/800/390. */
    --fs-lead: 22px; --lh-lead: 1.2em;
    --fs-descriptor: 15px; --lh-descriptor: 1.4em; /* one-line service/list descriptors */
    /* Button and Navigation are roles in the DS §05 hierarchy but had no token — the
       sizes were spelled in px at each call site, which is how the nav CTA drifted. */
    --fs-btn: 16px; --fs-btn-sm: 14px;
    --fs-label: 14px; --lh-label: 20px;   /* the Label role the document names (§05): a caption inside a control */
    --fs-nav: var(--fs-p-small);
    --fs-subtitle: 20px; --lh-subtitle: 1.7em;
}
@media (min-width: 981px) and (max-width: 1279px) {
  :root {
    /* h2-big is 56 here, not 42. It is the size of every large numeral on the site —
       the stat band, the "60%" cards, the case-study results — and it fell from 72
       straight to 42 at 1279px: on a 1024 laptop the numbers were smaller than the
       section headings around them. 56 is the step between the two. */
    --fs-h2-big: 56px; --fs-h2-bigger: 42px; --fs-h1-hero: 48px; --fs-h1-big: 50px;
    --fs-h1: 36px; --fs-h2: 32px; --fs-h3: 28px; --fs-h4: 24px; --fs-h5: 20px;
    --fs-h6: 14px; --fs-p: 18px;
 }
}
@media (min-width: 481px) and (max-width: 980px) {
  :root {
    /* h1-hero tracks h2-bigger at every step. On desktop the two are both 48 and the
       hero reads as the page's biggest line; the two smaller steps had the hero at 36
       and 32 against a 42 and 38 section heading, so on a phone the largest type on
       the page was a heading halfway down it. */
    --fs-h2-big: 42px; --fs-h2-bigger: 42px; --fs-h1-hero: 42px; --fs-h1-big: 38px;
    --fs-h1: 36px; --fs-h2: 32px; --fs-h3: 28px; --fs-h4: 24px; --fs-h5: 20px;
    --fs-h6: 14px; --fs-p: 18px;
 }
}
@media (max-width: 480px) {
  :root {
    --fs-h2-big: 38px; --fs-h2-bigger: 38px; --fs-h1-hero: 38px; --fs-h1-big: 34px;
    --fs-h1: 32px; --fs-h2: 28px; --fs-h3: 24px; --fs-h4: 20px; --fs-h5: 18px;
    /* h6 holds at 14 instead of dropping to the theme's 12. It is the token behind
       every small piece of *text* on the site — testimonial roles, "Read article",
       figure captions, the case-study fact list, breadcrumbs — and 12px of that on a
       phone is the one place this scale, ported from a desktop-first theme, asks too
       much of the reader. 14 is the same value the step above it already uses, so the
       scale simply stops shrinking rather than gaining a new number. Badges and pills
       keep their 12px through --fs-p-smallest. */
    --fs-h6: 14px; --fs-p: 16px; --fs-lead: 18px;
 }
}
/* box-sizing, in the sheet every page loads. The full reset lives in home.css,
   tech.css, landing.css and start.css, and every family pulls in one of those four —
   so nothing showed that base.css lacked this, until /download arrived loading
   base.css and its own sheet only. It inherited content-box, and its stage's padding
   then added to a height:100% child and pushed the slide out under the bar.
   Only box-sizing moves here: the `margin: 0; padding: 0` half of those resets runs
   AFTER base.css on purpose and zeroes element margins this sheet sets, so hoisting
   it would quietly re-space 35 pages. */
* { box-sizing: border-box; }
/* DS 02: DM Sans only. A form control does not inherit the page font, so the
   icon-only buttons -- the burger, the slider arrows -- were sitting in the UA's
   Arial. They draw no text, so nothing looked wrong; the first label added to one
   would have. Every control that already names the family still wins over this. */
button, input, select, textarea { font-family: inherit; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* ── headline wrapping on a phone ───────────────────────────────────────────
   The <br> in a hero headline is placed for a 1440px screen. On a 390px one each half
   wraps again on its own, and the default greedy algorithm fills the first line and
   drops whatever is left onto the second — which is how "solutions /" ended up alone
   under a full line. `balance` divides each half evenly instead. The break itself
   stays: it separates the two halves of the sentence, and removing it would put the
   amber slash in the middle of a line, where it stops reading as a separator. */
@media (max-width: 680px) {
  .hero h1, .post-hero h1 { text-wrap: balance; }
}

body { font-family: var(--ff); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
/* element defaults straight from the tokens — mirrors wptiff-fonts.css.
   The theme sets no tracking on headings; the LP's old -0.015em was a deviation. */
h1, h2, h3 { font-family: var(--ff); color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: var(--fw-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h4); font-weight: 400; line-height: var(--lh-h4); }
p  { font-size: var(--fs-p); font-weight: var(--fw-p); line-height: var(--lh-p); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
/* The content column is the header's. The bar is 1340 wide inside 24 of page gutter
   with a 32 inset to the logo: 1388 outside, 56 in. So the column is 1388 on 56 —
   (W-1276)/2 from the edge above 1388, which is the logo's x (82 at 1440, the frames'
   80 give or take the bar's own 2), and 56 below it, where the bar stops at the gutter.
   shell.css narrows the bar's inset to 24 at 680 and the page gutter to 16 at 480;
   the column follows both, so heading, logo and footer share one x at every width.
   Sections that deliberately run to the bar's own edge (the homepage's client grid,
   the Expect slider) say so with their own max-width; everything else inherits this. */
.wrap { max-width: 1388px; margin: 0 auto; padding: 0 calc(var(--s-3) + var(--s-4)); }
@media (max-width: 680px) { .wrap { padding: 0 var(--s-5); } }
@media (max-width: 480px) { .wrap { padding: 0 calc(var(--s-2) + var(--s-3)); } }
/* Under 360 the column's 40 left a 240px measure on a 320 screen (QA #153): 20 here.
   The header logo stays at 40 on these phones — its bar needs its own gutter — so this
   is the one width where the column does not sit on the logo. */
@media (max-width: 360px) { .wrap { padding: 0 calc(var(--s-2) + 4px); } }
/* Selected text is navy with white type instead of the browser blue (QA #709). On the dark
   grounds navy would vanish into the section, so there it inverts: white with navy type.
   The list is every container a site-wide sweep found setting light text on a dark ground. */
::selection { background: var(--navy); color: var(--white); }
:is(.ai-dark, .pi-dark, .mx-card, .pi-card, .pi-node, .tm-card-dark, .mega-promo-ai, .qf-head,
    .trust-sec, .trust-card, .case-hero, .btn-dark, .skip-link) ::selection,
:is(.ai-dark, .pi-dark, .mx-card, .pi-card, .pi-node, .tm-card-dark, .mega-promo-ai, .qf-head,
    .trust-sec, .trust-card, .case-hero, .btn-dark, .skip-link)::selection { background: var(--white); color: var(--navy); }

/* Scrollbars: white track, navy thumb, no arrow buttons (QA #710). Chrome and Safari take the
   ::-webkit-scrollbar parts. Firefox only reads the standard pair, and must be the only one
   that gets it: Chrome 121+ drops the webkit parts on any element with scrollbar-color, and
   its standard bar keeps the arrows. Firefox 153 answers yes to selector(::-webkit-scrollbar),
   so the gate is -moz-appearance, which only Firefox knows; "thin" is what removes its arrows.
   The sliders that hide their bar keep doing so: their own ::-webkit-scrollbar { display: none }
   and scrollbar-width: none still win. */
::-webkit-scrollbar { width: 10px; height: 10px; background: var(--white); }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--navy); border: 2px solid var(--white); border-radius: var(--r-pill); }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports (-moz-appearance: none) {
  html { scrollbar-color: var(--navy) var(--white); scrollbar-width: thin; }
}
/* The phone reviews slider bleeds past the column to the screen edge, by 24 (tech.css) or
   32 (home.css). Under 360 the gutter is only 20, so it ran 4px past the screen and the
   page scrolled sideways (QA #704). The bleed follows the gutter; the cards keep their
   width because the padding comes off with it. The extra .wrap outranks both files, which
   load after this one. */
@media (max-width: 360px) {
  .wrap .testi-slider .track { flex-basis: calc(100% + 24px); margin-right: -20px; padding-right: 20px; }
}
/* DS 02 admits one typeface, so a filename in prose is set in it too and reads as
   code through its surface, not through a second family. */
code { font-family: var(--ff); background: var(--soft-hover);
  border-radius: var(--r-xs); padding: 1px 6px; }
.slash { color: var(--amber); font-weight: 500; }
/* ── focus ──────────────────────────────────────────────────────────────────
   Every interactive element gets one visible ring. The browser default is drawn in
   its own colour and disappears on an amber pill and on the navy panels, so it is
   restated here: navy on light, amber on dark. :focus-visible, not :focus, so a
   mouse click does not leave a ring behind. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: var(--r-pill);
}
/* the form fields draw their own focus state — amber border and halo, in form.css */
/* An accordion row and an FAQ question are full-width rows, not pills, so the ring
   above drew a thick navy capsule around a rectangle — and it turns up under a mouse
   too: press Esc after a click, or hold the click, and the browser decides the focus is
   a keyboard one. The row keeps a focus state (§17), but one that belongs to it: the
   question underlines. No outline, no change of shape. */
.acc-head:focus-visible, .qa-q:focus-visible {
  outline: none; border-radius: inherit;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}

/* ── skip link (A11Y-06) ────────────────────────────────────────────────────
   Seven nav items and a mega-menu sit before the content on every page; without
   this, a keyboard user tabs through all of them on every single page. */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 16px 24px; border-radius: var(--r-sm);
  font-size: var(--fs-p-small); font-weight: 600; transition: top var(--dur-fast); }
/* keyboard focus only. On plain :focus it also dropped in whenever focus landed on it
   without a Tab — which is how it came to be seen "at random" by people using a mouse */
.skip-link:focus-visible { top: 16px; }

/* springy easing borrowed from the staging .inff-button interaction */
/* .inff-button from wptiff-base.css: 16px/600, uppercase, 3px tracking, 16/36 padding */
/* One button family (DS §09). Same sizing, typography, icon size and motion for
   every type — only the fill and the border tell Primary from Secondary. Labels are
   uppercase; tracking is normal (the 3px the staging theme carried is a deviation
   this document overrules). */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1); font-family: var(--ff); font-weight: 600; font-size: var(--fs-btn); line-height: 1; text-transform: uppercase; letter-spacing: normal; padding: var(--s-2) var(--s-4); border-radius: var(--r-btn); cursor: pointer; border: none; white-space: nowrap;
  transition: border-radius var(--dur-morph) var(--ease-morph), box-shadow var(--dur-morph) var(--ease-morph), padding var(--dur-morph) var(--ease-morph), background var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease, transform var(--dur) ease; }
.btn:hover { border-radius: var(--r-md); }       /* pill → soft rounded-rect morph */
.btn:active { transform: scale(.96); }

/* Primary — the strongest action. Interaction preserved verbatim (DS §02): the
   shape morphs, the arrow marches, the fill stays amber and the type stays navy. */
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 8px 22px rgba(255,189,14,0.30), 0 0 0 0 rgba(255,189,14,0.5); }
.btn-primary:hover { background: var(--amber); box-shadow: 0 12px 26px rgba(255,189,14,0.38), 0 0 0 12px rgba(255,189,14,0); }  /* ring expands + fades */

/* Secondary — supports Primary without competing with it (DS §09). Transparent
   fill, navy border, navy label; the same size, shape family and arrow march as
   Primary. On hover it fills navy and the label and arrow go white — the document
   names those four values, and it is never yellow and never the menu/tab grey. The
   arrow is drawn from currentColor, so it turns with the label on its own.
   15px of padding, not 16: the border is part of the box, so 16 drew a taller
   button than the filled one beside it. */
.btn-book { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); font-weight: 600;
  padding-top: 15px; padding-bottom: 15px; }
.btn-book:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-sm { padding: 13px var(--s-3); font-size: var(--fs-btn-sm); font-weight: 600; }   /* 40px tall — 8×5 */
/* an outlined small button carries 3px of border the filled one does not, so it
   gives that back in padding and both draw 40px */
.btn-book.btn-sm { padding-top: 11px; padding-bottom: 11px; }
/* The small button draws 40px tall — comfortable under a mouse. A finger needs 44,
   so touch devices get the height without changing the padding. */
@media (hover: none) and (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  /* the review card's two controls: .ti-more is in the markup, .testi-more is
     appended by home.js. 27px of underlined type either way. */
  .ti-more, .testi-more, .testi-all a { min-height: 44px; }
  /* The nav CTA is deliberately drawn at 40 — shell.css sizes it as "the same height
     as .btn-sm" for the 78px bar. .btn-sm is raised to 44 two lines up, so the button
     that was built to match it follows it here rather than staying 4px short. */
  .nav-cta .btn { min-height: 44px; }
}

/* Disabled is a state, not a fade. Opacity alone dropped the label to ~2:1 against
   its own background; this keeps the shape and hands it a readable pair (DS §09). */
.btn:disabled, .btn[aria-disabled="true"], button:disabled.sl-arrow {
  background: var(--soft-hover); color: var(--muted-text); border-color: var(--light-border);
  box-shadow: none; cursor: not-allowed; transform: none; opacity: 1; }

/* There is one button on this site: the .inff-button pill above, filled amber for a
   primary action and white-on-navy-outline for a secondary one. Two other styles used
   to exist beside it — .btn-ghost (a white pill on a pale grey outline) and .btn-line
   (the 2025 Figma homepage button, 14/500 on a thin outline, drawn 56px tall) — so
   three different buttons could sit within a screen of each other at three different
   heights. Both are retired; their markup now says .btn-book. */

/* CTA arrow that "marches" on hover — the trailing arrow exits right, a new one enters from the left */
:root { --ar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z'/%3E%3C/svg%3E"); }
/* .ar is the directional-arrow primitive: the mask, the size, the colour. It was
   only ever styled *inside* .btn, so the same <i class="ar"> on a tertiary link —
   "See all articles" — rendered 0x0 and the arrow the product language is built on
   simply was not there. Declared here it is an inline 16px icon that slides on
   hover (§09 Tertiary Actions: restrained directional movement, never a filled
   button); .btn re-declares it below as the absolute one that marches. */
.ar { display: inline-block; width: 16px; height: 16px; background: currentColor; flex-shrink: 0;
  -webkit-mask: var(--ar) center / contain no-repeat; mask: var(--ar) center / contain no-repeat;
  transition: transform var(--dur) var(--ease); }
a:not(.btn):hover > .ar { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { a:not(.btn):hover > .ar { transform: none; } }

/* resting arrow (right) — absolute, so the label centres on its own and can glide */
.btn .ar { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; background: currentColor; pointer-events: none;
  -webkit-mask: var(--ar) center / contain no-repeat; mask: var(--ar) center / contain no-repeat;
  transform: translateY(-50%);
  transition: transform var(--dur-morph) var(--ease-morph), opacity var(--dur-slow) var(--ease-morph); }
/* label sits slightly left of centre so [text + right arrow] read centred as a group; on hover the paddings swap so the label glides right to stay centred with the new left arrow */
.btn:has(.ar) { padding-left: var(--s-3); padding-right: var(--s-5); }
.btn:has(.ar):hover { padding-left: var(--s-5); padding-right: var(--s-3); }
.btn-sm:has(.ar) { padding-left: var(--s-2); padding-right: 40px; }
.btn-sm:has(.ar):hover { padding-left: 40px; padding-right: var(--s-2); }
.btn:has(.ar)::before { content: ""; position: absolute; left: 16px; top: 50%;
  width: 16px; height: 16px; background: currentColor; pointer-events: none;
  -webkit-mask: var(--ar) center / contain no-repeat; mask: var(--ar) center / contain no-repeat;
  transform: translate(-14px, -50%); opacity: 0;
  transition: transform var(--dur-morph) var(--ease-morph), opacity var(--dur-slow) var(--ease-morph); }
.btn:hover .ar { transform: translateY(-50%) translateX(26px); opacity: 0; }
.btn:hover:has(.ar)::before { transform: translate(0, -50%); opacity: 1; }
/* The same march with a different mark. "Let's chat" carries a speech bubble (and, on
   the team page, the WhatsApp glyph) where other buttons carry the arrow. Those were
   inline SVGs, which the march does not know about — the button morphed and nothing
   else moved. As .ar variants they are the same primitive with another mask, so the
   mark leaves to the right and its twin arrives from the left exactly as the arrow
   does. */
:root {
  --ic-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-1.1 4.2A8.5 8.5 0 0 1 12.5 20a8.4 8.4 0 0 1-4.2-1.1L3 20l1.9-5.3A8.4 8.4 0 0 1 3.8 10.5 8.5 8.5 0 0 1 12 2h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E");
  --ic-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.61-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.01-1.04 2.47s1.06 2.87 1.21 3.07c.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.69.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.42-.07-.13-.27-.2-.57-.35z'/%3E%3C/svg%3E");
}
.ar.ar-chat, .btn .ar.ar-chat, .btn:has(.ar-chat)::before { -webkit-mask-image: var(--ic-chat); mask-image: var(--ic-chat); }
.ar.ar-wa, .btn .ar.ar-wa, .btn:has(.ar-wa)::before { -webkit-mask-image: var(--ic-wa); mask-image: var(--ic-wa); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn .ar, .btn::before { transition: background var(--dur), color var(--dur); }
  .btn:hover { border-radius: var(--r-btn); }
  /* keep the rest layout on hover — no arrow march or label glide. These must stay
     equal to the resting values above or the button jumps under reduced motion. */
  .btn:has(.ar):hover { padding-left: var(--s-3); padding-right: var(--s-5); }
  .btn-sm:has(.ar):hover { padding-left: var(--s-2); padding-right: 40px; }
  .btn:hover .ar { transform: translateY(-50%); opacity: 1; }
  .btn:hover:has(.ar)::before { opacity: 0; }
}
/* ── Segmented Navigation / Tab Switcher (DS §10) ────────────────────────────
   One component, declared once, for every category selector, content switch and
   navigation tab on the site. It was five: a pill container with a 1px border and
   dimmed labels (landing, tech, /start), an 8px container with a shadow and navy
   labels (home), and a row of separately-bordered pills that filled navy when
   selected (/work). §10 makes this a fixed system component, so the five are gone.

   Its rules are independent from the CTA button system — no uppercase, no arrow
   march, no shape morph, no scale or lift. The state is the background and only
   the background:

     inactive  transparent
     hover     #EFF1F5          (--menu-hover, the same grey the mega menu uses)
     active    #FFBD0E          and Active always wins over Hover

   Container: white, no border or stroke, the approved subtle elevation. Item
   radius nests inside it exactly — 8px container less 4px of padding is 4px.
   Margins are deliberately absent: where the switcher sits is composition, so
   each family sheet sets its own. */
.toggle { display: inline-flex; gap: 5px; padding: 4px; border-radius: var(--r-sm);
  background: var(--white); border: none; box-shadow: var(--shadow-sm); }
.toggle button { font-family: var(--ff); font-weight: 500; font-size: var(--fs-p-small);
  line-height: 19px; padding: 8px 24px; border-radius: var(--r-xs); border: none;
  background: transparent; color: var(--navy); cursor: pointer;
  text-transform: none; letter-spacing: normal;
  transition: background var(--dur-fast) ease; }
.toggle button:hover { background: var(--menu-hover); }
/* Active has priority over hover, so it is restated for the hovered case. */
.toggle button.active, .toggle button.active:hover,
.toggle button.on, .toggle button.on:hover { background: var(--amber); color: var(--navy); }
/* A finger needs 44px; the padding and the look are untouched. */
@media (hover: none) and (pointer: coarse) {
  .toggle button { min-height: 44px; }
}
/* On a phone the switcher is one row, the width of its column. Three tabs at 16px on
   24px of padding need 406–454px, so below that they wrapped — two rows at 375, three
   at 320, with the last tab alone on its own line. The tabs share the row instead:
   8px of side padding and the small label size, and under 375 the smallest size on
   4px, which is what "Tech Partner / Creative Partner / AI Partner" takes to fit 272.
   `body` so this still wins where a family sheet lets the switcher wrap. */
@media (max-width: 480px) {
  body .toggle { display: flex; flex-wrap: nowrap; width: 100%; gap: 2px; }
  .toggle button { flex: 1 1 auto; min-width: 0; padding-left: 8px; padding-right: 8px;
    font-size: var(--fs-btn-sm); white-space: nowrap; }
}
@media (max-width: 374px) {
  .toggle button { padding-left: 4px; padding-right: 4px; font-size: var(--fs-p-smallest); }
}

section { position: relative; }
/* Section rhythm — three levels, and only three (DS §07):
     compact  64px  utility strips, trust logos, small supporting blocks
     standard 96px  most website content
     large   120px  hero, portfolio, major CTA                                */
.sec { padding: var(--s-7) 0; }
.sec.compact { padding: var(--s-6) 0; }
.sec.large { padding: var(--s-8) 0; }
.sec.soft { background: var(--grad-gray); }
/* One step between two sections on the same surface, not two. Each section pads
   itself, so two white sections in a row stacked 96 + 96 and showed ~200px of
   nothing — while a change of surface reads as one 96 step either side of the
   edge. The QA pass (Resolution Check-Up, Oct 2026) measured both and called
   the doubled ones "missing content". The second section gives up its top
   padding; the classes listed paint their own surface and keep theirs, and
   .process keeps its scroll runway. Same-surface dark and soft pairs join too.
   .answer-sec ends on no padding of its own, and the blog's article sections
   (.post-sec) follow a flush hero image, so both keep the step they set. */
.sec:not(.soft, .ai-dark, .qband, .tmg-sec, .trust-sec, .why-band, .process, .answer-sec)
  + .sec:not(.soft, .ai-dark, .qband, .tmg-sec, .trust-sec, .why-band, .post-sec),
.sec.ai-dark:not(.process) + .sec.ai-dark,
.sec.soft + .sec.soft,
.pi-dark + .pi-dark { padding-top: 0; display: flow-root; }
/* With its top padding gone, nothing stopped the heading's 16px top margin from
   collapsing through the section and out above it — a 16px strip of the white body
   between the two sections. Invisible between white pairs, a white stripe between
   dark ones. flow-root keeps the margin inside, painted in the section's colour.
   (overflow: clip on .ai-process does not do this; only hidden/auto would.) */
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
/* 8 under the headline, not 16. The frame sets its section heads 4 apart — both of
   them, projects (1317:332) and reviews (1317:625) — which reads as one block rather
   than two lines with air between. 4 is optical rather than a spacing step, so this
   takes §07's first rung. */
.sec-head h2 { font-weight: 400; line-height: var(--lh-h2); font-size: var(--fs-h2); margin: 16px 0 8px; }
.sec-head p { font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); color: var(--text-dim); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (max-width: 680px) {
  .sec { padding: var(--s-6) 0; }
  /* fixed-px body copy never scales down on its own — the clamped headings do */
  .sec-head { margin-bottom: 32px; }
}
/* On a phone a nowrap CTA ("Talk to us about your project") sets a
   min-content wider than the column and drags whole grids off-screen. */
/* `body` prefix so this still wins where a family sheet re-declares .btn later */
@media (max-width: 480px) {
  body .btn { white-space: normal; text-align: center; }
  body .btn:has(.ar) { padding-left: 22px; padding-right: 40px; }
  body .btn-sm:has(.ar) { padding-left: 20px; padding-right: 38px; }
}

/* "Book a call" on a dark ground — the outline button inverted, so it reads as
   the secondary action beside the amber one rather than disappearing into the
   panel. An existing dark section, so §04 leaves its palette as it was. */
.case-hero .btn-book { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.28); box-shadow: none; }
.case-hero .btn-book:hover { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.4); }

/* ── sticky mobile CTA ───────────────────────────────────────────────────── */
/* Service pages run 10–20 screens on a phone, so the primary action is off
   screen for almost the whole visit. This brings it back once the hero has
   scrolled away. Desktop keeps the action in the nav bar and does not need it.
   It lives here rather than in shell.css because /download uses it as well, and
   that page loads no shell (DS §18: one solution, one place). */
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--nav-glass-solid);   /* no blur anywhere on the site (2026-10-05) */
  border-top: 1px solid var(--card-border); box-shadow: 0 -6px 24px rgba(4,17,58,0.10);
  transform: translateY(110%); transition: transform var(--dur) var(--ease); }
.mcta.on { transform: none; }
/* two equal actions; each one keeps the 44px a finger needs */
.mcta-row { display: flex; gap: 8px; }
/* nowrap: the ≤480 rule that lets a long CTA wrap must not reach these two — a
   two-row button in a bar this short is the bar breaking, not the label fitting */
.mcta .btn { flex: 1 1 auto; width: auto; min-height: 44px; min-width: 0; padding-left: 12px; padding-right: 12px; white-space: nowrap; }
.mcta .btn:has(.ar) { padding-left: 14px; padding-right: 30px; }
.mcta .btn:has(.ar):hover { padding-left: 30px; padding-right: 14px; }
.mcta .btn .ar { right: 10px; }
/* WhatsApp is an icon, not a third label: at 390px three worded buttons would each
   be too narrow to read, and the glyph is the one everyone already recognises. */
.mcta-wa { flex: 0 0 auto; display: inline-grid; place-items: center; width: 44px; min-height: 44px;
  border-radius: var(--r-pill); border: 1.5px solid var(--ink); color: var(--ink);
  transition: background var(--dur) ease, color var(--dur) ease; }
.mcta-wa:hover { background: var(--ink); color: #fff; }
/* the only line of copy in the sticky bar — it has to be readable at arm's length */
.mcta .mcta-note { display: block; text-align: center; margin: 7px 0 0;
  font-size: var(--fs-h6); color: var(--muted); }
.mcta .mcta-note b { color: var(--ink); font-weight: 700; }
@media (max-width: 680px) {
  .mcta { display: block; }
}
/* At 320 the two labels need 237px and the row had 232, so "Book a call" took a second
   row. Tighter gutters and paddings find the room; the buttons size to their labels
   rather than splitting the row evenly, and the note keeps to its first clause so the
   bar stays one line of buttons and one line of copy. */
@media (max-width: 350px) {
  .mcta { padding-left: 10px; padding-right: 10px; }
  .mcta-row { gap: 6px; }
  .mcta .btn { flex: 1 1 auto; padding-left: 8px; padding-right: 8px; }
  .mcta .btn:has(.ar), .mcta .btn:has(.ar):hover { padding-left: 10px; padding-right: 28px; }
  .mcta .btn .ar { right: 8px; }
  .mcta .mcta-note-more { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mcta { transition: none; }
}

/* FAQ (generated by build.mjs on home + service pages; .qa-* so it never clashes with landing .faq-*)
   Rows between hairlines, full width, heading left — the Tech (1460:9552), Agency
   (1460:9519) and AI (1446:9462) master frames all draw it that way. It had been a
   centred 780px column of white cards, read off the homepage frame's FAQ, which is
   a flattened raster with toggle icons laid over it; three vector frames outrank
   one raster. The accordion is shared by build.mjs across every page that declares
   `faq:` front matter, so this is the component's look everywhere. */
.qa { max-width: none; }
/* Left and full width, with the frame's 72 under it. Scoped to .qa-sec rather than
   reusing .sec-head.flush, which only tech.css declares — the homepage and the
   landing families carry a FAQ too. Size stays the section-title role: the masters
   draw this heading at 36 on Tech and 48 on Agency and AI, and one page should not
   run two sizes of section head, so §05's single role settles it. */
.qa-sec .sec-head { max-width: none; text-align: left; margin-bottom: var(--s-5); }
.qa-sec .sec-head h2 { margin: 0; }
/* No card, no border: the separator sits BETWEEN items (the frame has none above
   the first or below the last), with the 32px gap living on the item itself so the
   rule lands centred in it. */
.qa-item + .qa-item { border-top: 1px solid var(--card-border); }
/* 24 — the h5 role. The question is the largest thing in the row and reads as a
   heading, which is what the 18/600 card version could not do. */
.qa-q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; background: none; border: none; cursor: pointer; padding: var(--s-4) var(--s-2); font-family: var(--ff); line-height: var(--lh-h5); font-size: var(--fs-h5); font-weight: 400; color: var(--ink); text-align: left; }
.qa-ic { flex-shrink: 0; margin-top: 4px; color: var(--slate); transition: transform var(--dur) var(--ease); }
.qa-item.open .qa-ic { transform: rotate(180deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease); }
.qa-a-in { padding: 0 var(--s-2) var(--s-4); }
.qa-a-in p { font-size: var(--fs-p); color: var(--text-dim); max-width: 1100px; line-height: 1.6; }
/* must sit after the .qa-* block above — an earlier media query would lose the cascade */
@media (max-width: 680px) {
  .qa-q { padding: var(--s-3) 0; }
  .qa-a-in { padding: 0 0 var(--s-3); }
}

/* ── Clutch review card ───────────────────────────────────────────────────────
   Shared: the homepage runs it in a slider, Work Master (1432:4568) as a static
   three-up with the same card — stars, client, the pulled quote, the reviewer and
   "Read full review". It lived in home.css, which only the homepage loads. The
   slider machinery (.testi-slider, .ti-arrow, the clamp toggle) stays there. */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
/* one review rather than three: the grid would leave it a third of the row */
.testi-solo { max-width: 720px; margin: 0 auto; }
.testi { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: var(--grad-card); border: 1px solid transparent; transition: transform var(--dur); }
/* the frame strokes its cards with a gradient rather than a flat line — #D9DBE1 at the
   top fading to nothing at the bottom, top to bottom (handles 0.5,0 -> 0.5,1). The
   border stays in the box at 1px transparent so nothing shifts; the ring is a masked
   pseudo-element, which is the only way to stroke a rounded box with a gradient. */
.testi::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--card-border) 0%, var(--card-border-0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; }

.testi:hover { }
/* Clutch's five marks, in Clutch's red — these are Clutch reviews, and the frame
   (1317:634) draws them at #EF4335. They were amber, which read as our own accent
   rating our own work. Same mark the hero badge and the bento card already use. */
.testi .stars { display: block; margin-bottom: 16px; }
.testi .stars img { display: block; width: 83px; height: 14px; }
.testi h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; margin-bottom: 16px; }
.testi .body { font-size: var(--fs-descriptor); line-height: var(--lh-p); color: var(--text-dim); margin-bottom: 24px;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
/* quote + author pinned to the card bottom so quotes line up across all cards regardless of title/body length */
.testi .ti-pull { display: flex; gap: 16px; align-items: flex-start; min-height: 52px; margin-top: auto; margin-bottom: 16px; }
.testi .ti-chat { width: 32px; height: 32px; flex-shrink: 0; color: var(--mid-neutral); margin-top: 1px; }
.testi .ti-pull p { font-size: var(--fs-descriptor); color: var(--ink); font-style: italic; line-height: 1.5; }
.testi .who { display: flex; align-items: center; gap: 16px; }
/* 360 and under: beside a 32px icon the quote was down to ~120px and ran to eight
   lines of two words. Icon on top, quote the full width of the card. */
@media (max-width: 360px) {
  .testi .ti-pull { flex-direction: column; gap: 8px; }
}
.testi .ti-av { width: 32px; height: 32px; flex-shrink: 0; color: var(--mid-neutral); }
.testi .ti-av svg { width: 100%; height: 100%; display: block; }
.testi .who b { display: block; font-size: var(--fs-descriptor); font-weight: 700; color: var(--ink); line-height: 1.25; }
.testi .who small { display: block; color: var(--muted); font-size: var(--fs-p-smallest); line-height: var(--lh-h6); }
/* "Read full review" on every card and "See all 38 reviews" under the row — the
   frame has both (1317:653, 1317:723). The card link did not exist in the markup at
   all, and the section link was inheriting nothing: .testi-all is declared in
   tech.css, which this page never loads, and its .ar-ext arrow was declared nowhere,
   so it drew as bare left-aligned text with an invisible icon. */
.ti-more, .testi-all a { display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-p-small); font-weight: 400; color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px; }
.ti-more { margin-top: 24px; align-self: flex-start; }
.ti-ar { width: 16px; height: 16px; flex-shrink: 0;
  transition: transform var(--dur-morph) var(--ease); }
.ti-more:hover .ti-ar, .testi-all a:hover .ti-ar { transform: translateX(3px); }
/* One hover for every underlined text button: the underline turns amber, as
   .link-all and .testi-more already did. */
.ti-more, .testi-all a, .hero-proof a { transition: text-decoration-color var(--dur-fast); }
.ti-more:hover, .testi-all a:hover, .hero-proof a:hover { text-decoration-color: var(--amber); }
.testi-all { margin-top: 32px; text-align: center; font-size: var(--fs-p-small); }
/* ── Review cards line up, row by row ─────────────────────────────────────────
   Each card was its own flex column, so a title on two lines pushed that card's text
   down past its neighbours', and the quote and the name landed wherever the copy above
   them ended. The slider track is a grid instead and every card a subgrid of it: the
   stars, the title, the body, the quote, the name and the link each sit in a row the
   whole track shares, so a row is as tall as its tallest entry and every card's
   title, quote and name start on the same line.
   The children are placed by name rather than by order, because the cards are not
   all the same — the homepage's carry a body paragraph and, when it is clamped, a
   "Read more" button that home.js adds; the service pages' have neither.
   Columns: three to a view, two from 1100 down (three were cramped at 1024), and
   one — with the next peeking — on a phone. */
@supports (grid-template-rows: subgrid) {
  .track:has(> .testi) { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, auto);
    grid-auto-columns: calc((100% - 48px) / 3); column-gap: 24px; row-gap: 0; }
  .track > .testi { display: grid; grid-template-rows: subgrid; grid-row: span 7; align-content: start; }
  .track > .testi > .stars { grid-row: 1; }
  .track > .testi > h3 { grid-row: 2; }
  .track > .testi > .body { grid-row: 3; }
  .track > .testi > .testi-more { grid-row: 4; justify-self: start; }
  .track > .testi > .ti-pull { grid-row: 5; margin-top: 0; align-self: start; }
  .track > .testi > .who { grid-row: 6; align-self: start; }
  .track > .testi > .ti-more { grid-row: 7; justify-self: start; align-self: end; }
  @media (max-width: 1100px) {
    .track:has(> .testi) { grid-auto-columns: calc((100% - 24px) / 2); }
  }
  /* one card from 768 down (QA #142): two cards at 768 left each body 204px wide */
  @media (max-width: 768px) {
    .track:has(> .testi) { grid-auto-columns: 88%; }
  }
}
.testi .clutch:hover { color: var(--amber-text); }

/* ── A/B: one founder, never two ──────────────────────────────────────────────
   The "Hi! I'm …" card is a single conversion prompt with two variants, not a pair
   — two of them on one page compete with each other. Every variant is in the
   markup; the one that shows is chosen per visitor by shell.js and stamped on
   <html>. The server default is stamped in the head partial, so a visitor without
   JavaScript sees one card rather than none. */
[data-ab-variant] { display: none; }
:root[data-ab="sorel"] [data-ab-variant="sorel"],
:root[data-ab="victor"] [data-ab-variant="victor"] { display: block; }

/* Visible to screen readers and to the document outline, not on screen. Used where
   a section is self-evident visually but would otherwise leave a gap in the
   heading structure. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Proof at the point of decision, not eight screens further down (audit #14).
   Defined here because home/index/websites do not load tech.css. */
/* Navy, not the muted grey. DS 04 qualifies muted text with "where contrast remains
   sufficient" -- on the hero's --hero-bg it measures 4.32:1, under the 4.5 this size
   needs, and this line sits on the most-read screen on the site. */
.hero-proof { margin: 24px 0 0; font-size: var(--fs-descriptor); color: var(--ink); }
.hero-proof a { text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--card-border); transition: color var(--dur-fast); }
.hero-proof a:hover { color: var(--ink); }
.hero-proof b { color: var(--ink); font-weight: 700; }
/* Sends a visitor who landed on the wrong one of two neighbouring services
   straight to the other. Sits under the proof line, deliberately quieter than it. */
.hero-xref { margin: 8px 0 0; font-size: var(--fs-descriptor); color: var(--muted); }
.hero-xref a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--card-border); transition: text-decoration-color var(--dur-fast); }
.hero-xref a:hover { text-decoration-color: var(--amber); }

/* ── the answer block ───────────────────────────────────────────────────────
   One paragraph, 40–60 words, directly after the hero: it answers the question the
   page's title implies, in whole sentences, with the specifics a model can attribute.
   It sits here rather than inside the hero on purpose — dropping it above the CTA
   would push the primary action below the fold on a phone, and extraction only cares
   that it is the first content paragraph after the <h1>. */
.answer-sec { padding: 48px 0 0; }
/* It reads as a continuation of the hero, so it keeps the hero's axis: centred on the
   pages whose hero is centred, which is all of them except the two funnel landings
   (index.css and websites.css set it back to the left, where their heroes are). It had
   an amber rule down its left edge at first — that made a left-aligned block with a
   decorative bar sit between a centred hero and a centred stat row, and it read as a
   stray pull quote rather than the page's opening paragraph. */
.answer { max-width: 760px; margin: 0 auto; text-align: center;
  font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); color: var(--text-dim); }
@media (max-width: 680px) {
  .answer-sec { padding-top: 24px; }
  /* centred is right for the four or five lines this is on a desktop; the same
     paragraph runs to ten on a phone, and ten centred lines are ragged on both edges
     and slow to read. Below the mobile boundary it aligns left like body copy. */
  .answer { font-size: var(--fs-p); text-align: left; }
}

/* ==== shell.css ==== */
/* Inventiff shell — header/nav/mega-menu + footer. Shared by home, tech, landing. */
/* --bar-h is the one place the bar's height is written. The glass, the bar and the
   mobile panel's offset all have to agree, and when the bar went 88 -> 78 the panel
   kept 88 and hung 10px clear of the bar on every page from 681 to 1023. */
header.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 24px; --bar-h: 78px; }
/* ── the header glass (DS §12) ───────────────────────────────────────────────
   The header is permanently fixed, so it is permanently the sticky state. The
   blur has to be clipped to the header's own shape — the page content passing
   directly behind the bar is blurred and nothing else is — which is why it is a
   layer of its own rather than a background on .nav-inner.

   The reason is mechanical: backdrop-filter makes its element the containing
   block for every positioned descendant. Put it on .nav-inner (or on .nav-bar)
   and the mobile menu panel, which is absolutely positioned against header.nav
   and deliberately escapes .nav-inner's overflow:hidden, would be re-anchored and
   then clipped away. A pseudo-element carries the filter and owns no descendants,
   so nothing moves. z-index:-1 keeps it behind the logo, the labels and the CTA —
   they stay fully opaque and sharp — and inside header.nav's own stacking context,
   so it never sinks below the page.

   It is sized to .nav-bar rather than to .nav-inner: when the mega menu opens, the
   panel below is opaque white (§12: "Mega Menu container: #FFFFFF"), and the glass
   stays exactly the height of the bar. */
header.nav::before {
  content: ""; position: absolute; z-index: -1; top: 0; left: 24px; right: 24px;
  height: var(--bar-h); max-width: 1340px; margin: 0 auto;
  border-radius: var(--r-lg);
  background: var(--white);   /* solid — see below */
  pointer-events: none;
  transition: border-radius var(--dur-slow) var(--ease); }
/* No backdrop blur (Victor, 2026-10-05): over the dark sections the frosted bar read
   as a smear, and nothing else on the site blurs. No transparency either (Victor,
   2026-10-07): §12's white at 0.96 let the dark sections tint the bar grey as they
   passed behind it, so it is plain white. The layer stays a pseudo-element for the
   reasons above. */
/* with the menu open the white panel continues below the bar, so the glass squares
   off its bottom corners rather than leaving a light notch at the seam */
header.nav:has(.mega-open)::before { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* No border and no stroke on the navigation container (§12); the surface it used to
   paint is the glass layer above. The shadow stays here, not on the glass, so it
   keeps growing with the mega panel when the menu opens — §12 says preserve the
   existing subtle shadow treatment, and the panel is part of what it sits under. */
.nav-inner { display: flex; flex-direction: column; max-width: 1340px; margin: 0 auto; background: transparent; border: none; border-radius: var(--r-lg); box-shadow: 0 10px 34px rgba(4,17,58,0.10); overflow: hidden; }
.nav-bar { display: flex; align-items: center; justify-content: flex-start; height: var(--bar-h); padding: 0 16px 0 32px; }
/* The nav CTA is the standard button at ~85%: every proportion of it — type scale,
   arrow offset, the padding swap that drives the arrow march — scaled by the same
   factor, so it reads as the same button rather than a different one.
   40px tall against the page's 48px: sized for the 78px bar without dominating it,
   and still well clear of the 32px chip it used to be. */
.nav-cta .btn { font-size: var(--fs-btn-sm); padding: 13px var(--s-3); }   /* 40px — the same height as .btn-sm */
.nav-cta .btn:has(.ar) { padding-left: var(--s-2); padding-right: 40px; }
.nav-cta .btn:has(.ar):hover { padding-left: 40px; padding-right: var(--s-2); }
.nav-cta .btn .ar, .nav-cta .btn:has(.ar)::before { width: 15px; height: 15px; }
.nav-cta .btn .ar { right: 16px; }
.nav-cta .btn:has(.ar)::before { left: 16px; }
.nav-cta .btn:hover .ar { transform: translateY(-50%) translateX(22px); }
.logo { display: inline-block; padding: 8px 0; margin: -8px 0; }   /* hit area only — negative margin keeps the bar metrics identical */
.logo svg { height: 35px; width: auto; display: block; }   /* 35 on desktop, 30 on mobile (Victor, 2026-10-11) */
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 48px; margin-right: auto; }
.nav-cta { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
/* scoped to .nav-links so the family sheets' own `.btn { display: inline-flex }`
   (index.css / websites.css re-declare it after this file) can't win on specificity */
/* descendant, not child: shell.js wraps the rows in .nav-root for the mobile
   drill-down, so the mobile CTA is no longer a direct child of .nav-links and a
   child combinator stopped hiding it — it appeared in the middle of the desktop bar. */
.nav-sub, .nav-links .nav-cta-mobile { display: none; }
/* display: contents, so the wrapper shell.js adds for the mobile drill-down generates
   no box of its own up here. Without this the nav items stop being flex children of
   .nav-links and the desktop bar stacks them down the page instead of across it. The
   burger breakpoint gives it a real box again. */
.nav-root { display: contents; }
.nav-item > a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: var(--fs-nav); color: var(--ink); padding: 8px 16px; border-radius: var(--r-pill); transition: color var(--dur-fast), background var(--dur-fast); }
/* the same Menu / Tab Hover surface as the mega menu rows below it (§04) */
.nav-item:hover > a, .nav-item.active > a { color: var(--ink); background: var(--menu-hover); }
.nav-item .caret { transition: transform var(--dur); }
.nav-item.active .caret { transform: rotate(180deg); }
/* Seven items only just clear the CTA at the narrowest desktop width — tighten the
   gaps there so "Contact" never ends up touching the Book a call button. */
@media (min-width: 1024px) and (max-width: 1149px) {
  .nav-links { margin-left: 24px; gap: 0; }
  .nav-item > a { padding-left: 8px; padding-right: 8px; }
}
/* the Mega Menu container is #FFFFFF (§12) — opaque, so the menu itself never
   inherits the bar's translucency */
.mega-area { max-height: 0; overflow: hidden; background: var(--white); transition: max-height var(--dur-slow) var(--ease); }
.nav-inner.mega-open .mega-area { max-height: 520px; }
.mega { display: none; padding: 2px 16px 16px; }
.mega.active { display: block; }
.mega-inner { display: grid; grid-template-columns: 1.95fr 1fr; gap: 16px; }
/* §12 names the two surfaces: the column/group is the off-white, the hovered row
   is the menu grey. The polarity used to run the other way — a darker column with
   rows that went white on hover — so the hovered item read as a hole rather than a
   fill. No border, no stroke, no shadow, no lift: background only. */
.mega-items { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; background: var(--off-white); border-radius: var(--r); padding: 8px; }
.mega-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 16px; border-radius: var(--r-md); transition: background var(--dur-fast) ease; }
.mega-item:hover { background: var(--menu-hover); }
/* The design's icons are duotone artwork that carries its own amber, not a glyph
   sitting on a tile — so the amber tile that stood in for them is gone and the
   icon is drawn at its native 24px. */
.mega-item .mi-ic { width: 24px; height: 24px; flex-shrink: 0; display: block; }
.mega-item .mi-ic img { display: block; width: 24px; height: 24px; }
/* DS §11 names scaling in the Mega Menu as something to avoid — the hover surface
   already carries the state. */
.mega-item b { display: block; font-size: var(--fs-p-small); font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 3px; }
/* the design sets the descriptor at 12/1.2, not the 16px h6 token that stood in */
.mega-item small { display: block; font-size: var(--fs-p-smallest); color: var(--muted-on-soft); line-height: 1.2; }   /* the panel behind it is var(--off-white), not white */
/* no min-height: the floor was taller than the promo actually needs (207px), so on
   the shorter menus it stretched the whole row and left a hole under the last link.
   Content decides now; the footer stays pinned by its own margin-top:auto. */
.mega-promo { position: relative; overflow: hidden; border-radius: var(--r); background: linear-gradient(200deg, var(--off-white), var(--light-bg)); padding: 24px; display: flex; flex-direction: column; }
/* a label on a promo panel, not a section heading — it used to be an <h3>, which
   put four identical headings in the document outline of every page */
.mega-promo .mp-title { font-size: var(--fs-h3); font-weight: 500; color: var(--ink); line-height: var(--lh-h3); }
.mega-promo .plane { position: absolute; top: 24px; right: 16px; width: 130px; height: auto; }
.mega-promo .pfoot { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.mega-promo .pfoot small { font-size: var(--fs-p-small); color: var(--text-dim); line-height: 1.45; }
/* A fill, not a button of its own: shape, type and interaction come from .btn in
   base.css — this only says "navy" for the promo panel it sits on. */
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 0 0 0 rgba(4,17,58,0.35); }
.btn-dark:hover { box-shadow: 0 12px 26px rgba(4,17,58,0.28), 0 0 0 12px rgba(4,17,58,0); }

/* AI-native teaser (Tech menu promo variant) */
.mega-promo-ai { background: radial-gradient(120% 90% at 85% 0%, #12235a 0%, var(--navy) 55%, #030b24 100%); }
.mega-promo-ai .mp-title { color: #fff; }
.mega-promo-ai .mp-glow { position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,189,14,0.55) 0%, rgba(255,189,14,0) 70%); pointer-events: none; }
.mega-promo-ai .mp-tag { position: relative; z-index: 1; align-self: flex-start; font-size: var(--fs-p-smallest); font-weight: 700;
 text-transform: uppercase; color: var(--navy); background: var(--amber);
  padding: 5px 8px; border-radius: var(--r-pill); margin-bottom: 16px; }
.mega-promo-ai .mp-sub { position: relative; z-index: 1; font-size: var(--fs-h6); line-height: 1.5; color: #aeb8d4; margin-top: 8px; }
.mega-promo-ai .pfoot small { color: #aeb8d4; }
.menu-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: var(--s-1); line-height: 0;
  /* the icon is 26 here and 22 on a phone, so 8px of padding left the site's primary
     mobile control a 42 and then a 38px target. Both comments here already claimed
     44; a minimum delivers it at either icon size without leaving the spacing scale. */
  min-width: 44px; min-height: 44px; }
/* ── footer ─────────────────────────────────────────────────────────────────
   Mirrors the Figma frame "Footer" (Website 2.0 → Tech template, node 1:4447).
   Reference frame is 1440×547: content from y=74, four columns on a 97px gutter,
   16/18px body copy, 36/47px headings, everything in navy. Every number below is
   the Figma value, so the two can be diffed against each other later. */
/* #f9fafc — the frame is white with the design's #d3dbe8 panel over it at 15%.
   Reading the fill colour alone gives a far heavier blue-grey than the design. */
footer { padding: 64px 0 32px; background: var(--off-white); color: var(--ink); }
/* no column override: the footer's logo sits under the header's, on base.css's .wrap */
/* row 1 is pinned to the height of a heading + four 36px lines (47 + 18 + 126).
   Left to auto, the two columns that span both rows would grow row 1 and push the
   "Get in touch" row below them — in the design it sits alongside them, at y=327. */
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 191px auto; column-gap: 96px; row-gap: 64px; margin-bottom: 96px; align-items: stretch;
  /* 4×245 + 3×97 = the 1271px content block of the Figma frame. Left-aligned inside
     the site wrap so the columns land on the same x as the design, and fluid below it. */
  max-width: 1271px; }
.foot-brand, .foot-col { display: flex; flex-direction: column; }
.foot-brand { grid-row: 1 / 3; }
.foot-meet { grid-row: 1 / 3; }
.foot-brand .logo img { height: 32px; width: auto; display: block; }
/* logo is 32px tall and the first link sits at y=139 → 106 + 33 */
.foot-legal-col { margin-top: var(--s-3); }
.foot-legal-col a { display: block; font-size: var(--fs-p-small); line-height: 18px;
  color: var(--ink); margin-bottom: 16px; transition: color var(--dur-fast); }
/* 16px text on an 18px line is an 18px target. On touch, pad every footer link out
   to 44px — and grow the pitch to match: trimming the margin instead made adjacent
   hit areas overlap by 8px, so a tap near the edge hit the wrong link. The Figma
   frame is a desktop one; a fine pointer keeps its exact 36px rhythm. */
@media (hover: none) and (pointer: coarse) {
  /* 44px exactly, from min-height rather than 16px of padding on an 18px line —
     that made every row 50px and the column six pixels taller per link for nothing.
     Still no margin between them, so adjacent targets stay flush and cannot overlap. */
  /* The link rows are no longer grown to 44px here (QA #149): the min-height
     changed the footer's layout on a touch screen against the frame's 36px rhythm.
     Rows keep that rhythm on every pointer; §17's clear usable area is the full
     18px line plus the 18px of rhythm around it. */
  /* The social icons draw at 25px, which is the artwork, not the target. Pad the
     link out to 44px and drop the gap to keep the row the same width on screen. */
  .foot-social { gap: 0; margin-left: -8px; }
  .foot-social a { width: 44px; height: 44px; align-items: center; justify-content: center; }
  .foot-talk { min-height: 44px; }   /* 24px of type; 8px of padding stopped at 40 */
  /* .nav-bar .logo no longer grows to 44 here (QA #152): the bar is 70 tall on a phone, which is the target */
}
/* margin-top 0, not auto (QA): auto pinned legal@ to the bottom of the stretched
   brand cell, 106px under Terms & Conditions (80 at tablet) where the list pitch is 34;
   the last link's 16px margin now puts it on that same 34px pitch. */
.foot-brand .foot-email { display: inline-block; margin-top: 0; font-size: var(--fs-p-small);
  line-height: 20px; color: var(--ink); transition: color var(--dur-fast); }
/* Footer links are navy at rest, so the site's ordinary "hover to navy" is a no-op
   here and the sheet had them fading to the muted grey instead -- the one place on
   the site where a link loses contrast when you point at it, which reads as
   disabled rather than interactive and drops it from 16:1 to 5.4:1 exactly when the
   reader is aiming at it. DS 09 lists underline behaviour among the restrained
   interactions a link may use; it gains emphasis instead of shedding it, and every
   link on the site now moves the same direction. */
.foot-brand .foot-email:hover, .foot-legal-col a:hover, .foot-col a:hover {
  color: var(--ink); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px; }
.foot-h { font-size: var(--fs-h2); font-weight: 400; line-height: 47px; color: var(--ink); margin: 0 0 16px; }
.foot-col a { display: block; font-size: var(--fs-p-small); line-height: 18px;
  color: var(--ink); margin-bottom: 16px; transition: color var(--dur-fast); }
.foot-office b, .foot-office span { display: block; font-size: var(--fs-p-small);
  line-height: 18px; color: var(--ink); margin-bottom: 16px; }
.foot-office b { font-weight: 700; }
.foot-office span:last-child { margin-bottom: 0; }
/* Cluj block ends at y=229, London starts at y=282 */
.foot-office + .foot-office { margin-top: 48px; }
.foot-touch { grid-column: 3 / -1; grid-row: 2; align-self: start; display: flex;
  flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.foot-touch .foot-h { margin: 0; }
/* 8px of gap plus 4px of padding on each mark reads as the same 16px pitch the
   design has, with a plate to hover. The plate must come from padding and nothing
   else: the touch-target block above sets width/height/margin on this same selector
   at the same specificity but earlier in the file, so any box property declared here
   would beat it and quietly shrink the tap target from 44px back to the artwork. */
.foot-social { display: flex; align-items: center; gap: 8px; }
.foot-social a { display: inline-flex; align-items: center; justify-content: center;
  padding: 4px; color: var(--ink); border-radius: var(--r-sm);
  transition: background var(--dur-fast) ease; }
.foot-social img { width: 24px; height: 24px; display: block; }
.foot-social a:hover { background: var(--soft-hover); color: var(--ink); }
.foot-talk { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-subtitle);
  font-weight: 400; line-height: 24px; color: var(--ink); text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 1px; }
.foot-talk svg { width: 24px; height: 24px; flex-shrink: 0; }
.foot-talk svg { transition: transform var(--dur) var(--ease); }
.foot-talk:hover svg { transform: translateX(3px); }
.foot-talk { transition: text-decoration-color var(--dur-fast); }
.foot-talk:hover { text-decoration-color: var(--amber); }
@media (prefers-reduced-motion: reduce) { .foot-talk:hover svg { transform: none; } }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px 24px; flex-wrap: wrap; max-width: 1271px; }
.foot-badges { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
/* the four badges are the Figma exports at their own intrinsic sizes (128/165/138/129
   wide) — forcing a common height made the row 73px wider than the design and it
   wrapped onto a second line once the images actually loaded */
.foot-badges img { display: block; }
.foot-badge-link { display: block; border-radius: var(--r-sm); }   /* the Clutch badge links to the profile it quotes */   /* size comes from the width/height attributes = the Figma node sizes */
.foot-copy { display: flex; flex-direction: column; gap: 5px; text-align: right; }
/* the copyright and the certification line are sentences, not badges */
/* 12, not 16: the frame sets both lines at 12 (1333:367/368), and the size is what
   lets them sit on the badge row instead of wrapping under it. At 16 the ISO
   sentence alone runs ~790px, which blows past what .foot-bottom has left beside
   632px of badges and drops the whole block onto its own line. */
.foot-copy b { color: var(--ink); font-size: var(--fs-p-smallest); font-weight: 700; line-height: 1.3; }
.foot-copy p { font-size: var(--fs-p-smallest); font-weight: 400; line-height: 1.3; color: var(--ink); }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 95%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* The client's name, shown over whichever logo is under the pointer (shell.js places
   it). Navy on white type, the small radius, the fast fade — nothing here is new. */
.logo-tip { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; white-space: nowrap;
  padding: 8px 16px; border-radius: var(--r-sm); background: var(--navy); color: var(--white);
  font-size: var(--fs-btn-sm); font-weight: 500; line-height: 1.2; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-fast) ease, visibility 0s var(--dur-fast); }
.logo-tip.on { opacity: 1; visibility: visible; transition: opacity var(--dur-fast) ease; }
.logo-tip.inv { background: var(--white); color: var(--navy); }
.logo-tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px;
  background: inherit; transform: translate(-50%, -50%) rotate(45deg); }
/* 60 and .82, the same cap and the same tone the client grid uses further down the
   homepage — the two logo strips were drawing 68 at .9 up here against 48 at .82
   down there, so the same mark changed size and weight between them. The frame
   caps its grid marks at 60 (1315:1794). */
.marquee-track img { height: 60px; width: auto; object-fit: contain; opacity: 0.82; flex-shrink: 0; }
/* A 68px logo is ~200px wide, so a 390px phone showed one and a half of them and
   the mask cut the second mid-word. Smaller marks and a tighter gap put three on
   screen, which is what makes it read as a row of clients rather than a mistake. */
@media (max-width: 680px) {
  .marquee-track { gap: 32px; }
  .marquee-track img { height: 40px; }
}
/* The desktop bar (logo + 6 items + CTA) needs ~950px; below that it clipped the
   "Book a call" button clean off the edge — so the burger takes over at 1023px. */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  /* the right-hand push came from .nav-links' margin-right:auto — with the links
     hidden, the CTA/burger cluster collapsed back against the logo */
  .nav-cta { margin-left: auto; }
  .mega-area { display: none; }
  /* The desktop rule gives .nav-links a margin-left to sit clear of the logo.
   On the absolutely-positioned mobile panel that margin survives and pushed
   the panel 44px right of the header bar while left/right:0 held it flush to
   the screen edge. Pin it to the bar's own 24px inset and clear the margin. */
.nav-links.open { display: flex; position: absolute; top: var(--bar-h); left: 24px; right: 24px; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--white); padding: var(--s-2); border: none; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--bar-h) - 42px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-links.open .nav-item { width: 100%; }
  .nav-links.open .nav-item > a { padding: 16px 16px; width: 100%; border-radius: var(--r-md); justify-content: space-between; }
  .nav-links.open .nav-item.open > a { background: var(--menu-hover); }
  /* the mega-menu is desktop-only, so its links are re-exposed here as sub-lists
     (built by shell.js) — otherwise no service page is reachable on a phone.
     They are a drill-down, not an accordion: opening one slides it in from the right
     and replaces the root list, so a phone shows one level at a time and gets a back
     button rather than a long scroll of expanded sections. */
  /* the row drills sideways now, so the caret points the way it goes rather than
     down, which is accordion language */
  .nav-links.open .nav-item.has-drop .caret { transform: rotate(-90deg); }
  /* Both levels are in the drawer at once and slide past each other, so the move is
     animated in both directions rather than only on the way in. The root sits in a
     wrapper shell.js adds; the panel is absolute over it, and shell.js animates the
     drawer's own height between the two so nothing jumps. */
  .nav-links.open { overflow: hidden; transition: height var(--dur) var(--ease), opacity var(--dur) var(--ease); }
  /* shell.js opens the drawer from height 0 and closes it back to 0; this is the fade
     that goes with the close, and it stops a tap landing on a panel that is leaving */
  .nav-links.open.closing { opacity: 0; pointer-events: none; }
  /* Both levels scroll inside the drawer when a phone is short. The bar itself is
     noise in a panel this narrow — the list still scrolls, it just does not draw one. */
  .nav-links.open, .nav-root, .nav-links.open .nav-sub { scrollbar-width: none; -ms-overflow-style: none; }
  .nav-links.open::-webkit-scrollbar, .nav-root::-webkit-scrollbar, .nav-links.open .nav-sub::-webkit-scrollbar { display: none; }
  .nav-root { display: flex; flex-direction: column; align-items: stretch; gap: 2px; max-height: 100%; overflow-y: auto;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
  .nav-links.open.drilled .nav-root { transform: translateX(-32px); opacity: 0; visibility: hidden; }
  /* z-index and a ground of its own: on the way back the panel slides out OVER the
     root list rather than cross-fading through it, which was the muddy part of the
     return. Without a background the drawer showed both levels at once mid-slide. */
  .nav-links.open .nav-sub { display: block; position: absolute; z-index: 2;
    left: var(--s-2); right: var(--s-2); top: var(--s-2); max-height: calc(100% - var(--s-4)); overflow-y: auto;
    background: var(--white); border-radius: var(--r-md);
    transform: translateX(100%); opacity: 0; visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility var(--dur); }
  .nav-links.open .nav-sub.open { transform: none; opacity: 1; visibility: visible; }
  /* Coming back, the panel does not travel. Sliding it out meant watching a screen of
     text move sideways and get clipped at the drawer's edge, which is the part that
     kept reading as wrong. It stays where it is and fades, and the root list slides
     back underneath it — the motion belongs to the level that is arriving, not the one
     that is leaving. Later than the .open rule so it wins the exit. */
  .nav-links.open .nav-sub.leaving { transform: none; opacity: 0; visibility: visible;
    transition: opacity var(--dur-fast) var(--ease); pointer-events: none; }
  /* min-height rather than taller padding: the row still needs §17's 44px, and 12px
     of padding is not on the spacing scale */
  /* direct children only. .nav-sub a also matched the promo's own button, and at
     0,2,0 it outranked .btn — so the CTA lost btn-sm's padding and picked up this
     row's 16px gap, which is what pushed the arrow away from the label. */
  .nav-sub > a { display: flex; align-items: center; min-height: 44px; padding: var(--s-1) var(--s-2); border-radius: var(--r-sm); font-size: var(--fs-p-small); font-weight: 500; color: var(--text-dim); }
  .nav-sub > a:hover, .nav-sub > a:focus-visible { background: var(--menu-hover); color: var(--ink); }
  /* the back control reads as a heading with an affordance, so it carries the section
     name — on a panel of nine links, "Back" alone does not say back to what */
  .nav-back { display: flex; align-items: center; gap: var(--s-1); width: 100%; min-height: 44px;
    padding: var(--s-1) var(--s-2); margin-bottom: 4px; border: 0; border-radius: var(--r-md);
    background: var(--menu-hover); color: var(--ink); font: inherit; font-weight: 600;
    text-align: left; cursor: pointer; }
  .nav-back svg { width: 16px; height: 16px; flex-shrink: 0; }
  .nav-back:hover, .nav-back:focus-visible { background: var(--soft-hover); }
  /* the icon cloned from the mega item sits where it does on desktop, ahead of the
     label, at the same 24px */
  .nav-sub > a { gap: var(--s-2); }
  .nav-sub > a .mi-ic { width: 24px; height: 24px; flex-shrink: 0; display: block; }
  .nav-sub > a .mi-ic img { display: block; width: 24px; height: 24px; }
  /* the promo is the mega-menu's third column, cloned in under the links. It is
     already a fluid flex column, so it only needs room above it and its plane pulled
     in — 130px of aeroplane at the top right of a 300px panel sat on the title. */
  .nav-sub .mega-promo { margin-top: var(--s-2); padding: var(--s-3); }
  .nav-sub .mega-promo .plane { width: 96px; top: var(--s-2); right: var(--s-1); }
  .nav-sub .mega-promo .pfoot { flex-wrap: wrap; }
  .nav-sub .mega-promo .btn { min-height: 44px; }
}
/* below ~680px the logo + "Book a call" + burger no longer fit on one line,
   so the CTA moves inside the panel instead of being pushed off the edge */
@media (max-width: 680px) {
  .nav-bar { padding: 0 16px 0 24px; }
  .nav-cta .btn { display: none; }
  /* .nav-root is a capped, scrolling flex column, so the CTA was a flex item that
     could shrink: it gave up its padding and rendered 32px tall (QA #679). It holds
     the 48px content-button height here, and drops the glow the panel clips anyway —
     scoped to this button, .btn-primary everywhere else keeps its shadow. */
  .nav-links.open .nav-cta-mobile, .nav-links.open .nav-cta-mobile:hover { display: inline-flex; flex-shrink: 0; min-height: 48px; margin: 8px 6px 4px; box-shadow: none; }
  /* whole bar scaled ~20% down for phones — height, logo, burger and radii move
     together, and .nav-links.open's offset must track the new bar height */
  .nav-inner { border-radius: var(--r-lg); }
  header.nav { top: 13px; --bar-h: 70px; }
  .logo svg { height: 30px; }
  .menu-toggle svg { width: 22px; height: 22px; }   /* 22 + 2×11 = exactly 44px of hit area */
  .nav-links.open { border-radius: var(--r); }
}
@media (max-width: 480px) {
  header.nav { padding: 0 16px; }
  header.nav::before { left: 16px; right: 16px; }   /* tracks the header's inset */
  /* the header tightens its inset here, and the panel has to follow it */
  .nav-links.open { left: 12px; right: 12px; }
  .logo svg { height: 30px; }
}
/* The frame's 96px gutter is drawn for a 1440 page. On a narrower desktop the four
   columns it leaves are too thin for their own headings — "Come meet us" took a second
   row at 1280 — so the gutter halves before the columns have to give. */
@media (max-width: 1366px) {
  .foot-grid { column-gap: 48px; }
}
/* Below ~1328 the copyright block no longer fits beside the 632px of badges and wraps
   under them; right-aligned there, its bold line started ~380px right of the ISO line
   (QA). Left-aligned it shares x=56 with the badges. 1345 leaves room for a classic
   scrollbar narrowing the layout before the query fires. */
@media (max-width: 1345px) {
  .foot-copy { text-align: left; }
}
/* 1100, not 940. Four columns were held down to 941px, where each is about 200 wide:
   every heading was on two rows from 1100, the addresses wrapped, and by 1024 the
   "Get in touch" row sat on top of the phone numbers above it — row 1 is pinned at
   191px and the columns had outgrown it. The two-column layout takes over while four
   still fit. */
@media (max-width: 1100px) {
  /* the Figma frame is desktop-only; below it the four columns fold to two and the
     97px gutter / 85px tail would leave craters, so they scale with the layout */
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto;
    column-gap: 48px; row-gap: 48px; margin-bottom: 64px; }
  /* the badges and the copyright no longer share a row here, and a right-aligned
     block under a left-aligned one put the © line adrift in the middle of the page */
  .foot-copy { text-align: left; }
  .foot-touch { align-self: auto; }
  /* the desktop row/column spans assume 4 columns — reset them or the browser
     invents a 3rd column and shoves the block outside the footer */
  .foot-brand, .foot-meet { grid-row: auto; }
  .foot-touch { grid-column: 1 / -1; grid-row: auto; }
}
/* Tablet (681-1100) no longer centres the pair with space-around (QA): that put the
   footer at x=160 at 1024 / 86 at 768 while every section above sits on the 56px
   column, and the centred badge row matched neither. The <=1100 rule above already
   gives two equal halves from the column edge and a left-aligned bottom row. */
@media (max-width: 680px) {
  .svc-grid, .testi-grid, .foot-grid { grid-template-columns: 1fr; }
  /* stacked, the five blocks run down the screen instead of across it, so the gap
     that separates columns on a wide screen reads as a gulf between rows */
  .foot-grid { gap: var(--s-3); margin-bottom: var(--s-3); }
  footer { padding: var(--s-5) 0 var(--s-3); }
  .foot-badges { gap: 16px; }
  .foot-badges img { max-width: 100%; height: auto; }
  .foot-bottom { align-items: flex-start; gap: var(--s-2); }
  .foot-copy { text-align: left; }
  /* One column per section, but the link lists inside each section pair up two-across —
     a single stacked column made the footer several screens tall on a phone. */
  /* …two across where two fit, and never by breaking a line to make them fit. As a
     fixed 1fr 1fr grid the pairs were squeezed instead: "Cluj-Napoca, / 400569",
     "1st floor, 770 High / Road," at 375, and every phone number in two pieces at
     320. Each entry now keeps its own line whole (nowrap) and claims half the row;
     when its neighbour cannot fit beside it, the neighbour drops to the next row. */
  .foot-legal-col, .foot-meet, .foot-give { display: flex; flex-direction: row; flex-wrap: wrap; column-gap: 24px; }
  .foot-legal-col a, .foot-give a, .foot-office { flex: 1 1 calc(50% - 12px); min-width: max-content; white-space: nowrap; }
  .foot-meet { row-gap: 24px; }
  .foot-meet .foot-h, .foot-give .foot-h { flex: 0 0 100%; }
  .foot-meet .foot-h { margin-bottom: 0; }   /* the row-gap is the space under it here */
  .foot-office + .foot-office { margin-top: 0; }
  .foot-touch { justify-content: flex-start; gap: 16px 24px; }
  .foot-touch .foot-talk { margin-left: 0; }
  .foot-h { margin-bottom: 16px; }
  .foot-brand .logo img { height: 29px; }
  /* The legal links as a true 2x2 grid (QA): as wrapping flex items "Terms & Conditions"
     could not pair, so the list read Cookies|GDPR, Privacy, Terms - a ragged half-column.
     max-content tracks: 108 + 24 + 146 = 278 fits the 280px column at 320. */
  .foot-legal-col { display: grid; grid-template-columns: repeat(2, minmax(max-content, 1fr)); column-gap: 24px; }
  /* One 24px gap above every stacked heading (QA): the last link of a list kept its 16px
     margin, so "All set?" and "Get in touch" sat 40 below their block, the others 24.
     The ping list uses row-gap for its rhythm so no trailing margin is left over. */
  .foot-give { row-gap: 16px; }
  .foot-give .foot-h { margin-bottom: 0; }
  .foot-give a, .foot-col a:last-child { margin-bottom: 0; }
}

/* the sticky mobile CTA moved to base.css — /download uses it too and does not
   load this sheet. What stays here is the one rule that is about the footer. */
@media (max-width: 680px) {
  /* only where the bar can still be up at the bottom of the page. shell.js adds
     .mcta-clears when it wires the observer that hides the bar over the contact
     section, which every page with a form has directly above its footer. */
  body.has-mcta:not(.mcta-clears) footer { padding-bottom: 96px; }   /* keep the last footer row reachable */
}


/* ── the rich logo card (Website AI 2.1, Groups 239806 / 239807) ───────────────────
   269 wide, radius 24, 32/40 inside and 16 at the foot; the client's category at 20,
   then the services line at 16 or a Clutch review (stars, 15/26 italic quote, 15/700
   name, 13 title), and the mark in white at the foot, sized by shell.js to the mark
   it covers. Fixed, like the plain label, so a clipping or masked grid cannot cut it. */
.logo-tip.rich { width: 269px; white-space: normal; text-align: left; padding: var(--s-4) calc(var(--s-2) + var(--s-3)) var(--s-2);
  background: var(--navy); color: #d9dbe1; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); font-weight: 400; }
.logo-tip.rich::after { content: none; }
.logo-tip .lt-cat { line-height: 1.2; font-size: var(--fs-subtitle); color: #d9dbe1; margin: 0; max-width: none; }
.logo-tip .lt-svc { line-height: 1.2; font-size: var(--fs-p-small); color: #d9dbe1; margin: calc(var(--s-1) + 4px) 0 0; max-width: none; }
.logo-tip .lt-stars { display: block; width: 83px; height: 14px; margin: calc(var(--s-1) + 4px) 0 0; }
.logo-tip .lt-quote { line-height: 1.75; font-size: var(--fs-descriptor); font-style: italic; color: #d9dbe1; margin: calc(var(--s-1) + 4px) 0 0; max-width: none; }
.logo-tip .lt-who { margin: calc(var(--s-1) + 4px) 0 0; line-height: 1.3; max-width: none; }
.logo-tip .lt-who b { display: block; font-size: var(--fs-descriptor); font-weight: 700; color: #d9dbe1; }
.logo-tip .lt-who span { display: block; font-size: var(--fs-h6); color: #667085; margin-top: 2px; }
.logo-tip .lt-logo { display: block; margin: var(--s-3) auto 0; max-width: none; max-height: none; object-fit: contain; filter: brightness(0) invert(1); }
/* flipped below the mark (shell.js adds .down near the top of the window): the white
   mark heads the card and the padding mirrors, 16 above it and 32 under the copy */
.logo-tip.rich.down { padding-top: var(--s-2); padding-bottom: var(--s-4); }
.logo-tip.rich.down .lt-logo { margin: 0 auto var(--s-3); }
/* on a navy ground the card needs an edge of its own */
.logo-tip.rich.on-dark { border: 1px solid rgba(255,255,255,0.14); }

/* ==== tech.css ==== */
/* tech.css */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Tech Master's hero (1355:168). Its ground is the #EEF1F5 wash the services panel
   and the review cards carry — --grad-card — not the flat hero grey, and there is no
   grid floor in it: 1355:169 is one gradient rectangle and nothing else. */
.hero { position: relative; padding: 156px 0 64px; text-align: center; overflow: hidden; background: var(--grad-card); }
.hero .wrap { position: relative; z-index: 1; }
/* 54/500 — §05's h1-big, which is exactly what the frame draws (1355:177). The hero
   role at 48/400 is the homepage's, and the homepage keeps it in home.css. */
.hero h1 { line-height: var(--lh-h1-big); font-size: var(--fs-h1-big); font-weight: var(--fw-h1-big); margin-bottom: 16px; }
/* 16 and navy (1355:179), not the 22px muted lead. Both sizes are roles the document
   names; the frame picks the smaller one for this hero and darkens it, which is what
   lets a two-line subtitle sit under a 54px headline without competing with it.
   783 is the frame's measure. */
.hero .lead { font-size: var(--fs-subtitle); line-height: var(--lh-lead); color: var(--ink); max-width: 783px; margin: 0 auto 32px; }
.hero-visual { position: relative; margin: 48px auto 0; max-width: 1000px; background: var(--hero-bg); border: none; box-shadow: none; }
.hero-visual video { display: block; width: 100%; height: auto; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(to bottom, var(--hero-bg), var(--hero-bg-t) 14px),
      linear-gradient(to top, var(--hero-bg), var(--hero-bg-t) 14px),
      linear-gradient(to right, var(--hero-bg), var(--hero-bg-t) 56px),
      linear-gradient(to left, var(--hero-bg), var(--hero-bg-t) 56px); }
/* Same strip the homepage carries and the same frame treatment: 1355:824 is 1514
   wide inside a 1440 board, so it runs edge to edge, and its label is navy at 16
   (1355:825) rather than muted at 18 — which is also what the flat ground requires,
   since --slate measures 4.32:1 on it. */
.trust { padding: 32px 0; background: var(--grad-card); }   /* the same above and below the strip (QA #146/#150) */
/* the label starts where the column does — the logo's x, (W-1276)/2 but never under
   56 — while the strip itself runs on to the edge; it stacks at 680 below */
.trust-row { display: flex; align-items: center; gap: 48px; padding-left: max(56px, calc(50% - 638px)); }
.trust-label { flex-shrink: 0; font-family: var(--ff); font-weight: 500; font-size: var(--fs-p-small); color: var(--ink); }
/* the switcher is the system component in base.css (DS §10) — only its placement
   is this page's business */
.toggle { margin-top: 24px; }
.work-card .cats { line-height: var(--lh-h6); font-size: var(--fs-h6); color: var(--amber-text); font-weight: 600; margin-bottom: 16px; }
.work-dots i.on { background: var(--amber); width: 22px; border-radius: var(--r-pill); }
#services .wrap { max-width: 1440px; padding-left: max(56px, calc((min(100%, 1440px) - 1276px) / 2)); padding-right: max(56px, calc((min(100%, 1440px) - 1276px) / 2)); }   /* a viewport-wide wrap; the % is of the section, hence the min() before deriving the column */
.ay-right .toggle { margin: 0; }
/* one internal padding for every instance of the switcher (§10) */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 0; }
.svc { display: flex; align-items: center; gap: 16px; padding: 24px 2px; border-bottom: 1px solid var(--card-border); cursor: pointer; }
.svc h3 { line-height: var(--lh-h5); font-size: var(--fs-h5); font-weight: 400; margin-bottom: 8px; }   /* 24/400 (1355:1010) */
.svc p { font-size: var(--fs-descriptor); line-height: var(--lh-descriptor); color: var(--ink); max-width: 500px; }   /* a readable measure in the two-up list (QA #147/#151) */
.svc-arrow { flex-shrink: 0; }
.svc-gap { flex: 1 1 0; min-width: 12px; transition: flex-grow var(--dur-morph) var(--ease); }
.svc:not(.is-soon):hover .svc-gap { flex-grow: 0; }
.svc-txt { flex: 0 1 auto; align-self: flex-start; }   /* a grid row stretches both cells to the taller one; centred, a one-line description sat its title 11px below its neighbour's */
.svc-arrow { width: 24px; height: 24px; color: var(--ink); transition: transform var(--dur-morph) var(--ease); }
.svc:not(.is-soon):hover .svc-arrow { transform: rotate(45deg); }
.svc-grid[hidden] { display: none; }
@media (max-width: 940px) {   /* two-up to the stacking breakpoint (QA #700, #701, #702) */
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
}

.clients { padding: 64px 0 96px; }
.clients .wrap { max-width: 1440px; padding-left: max(56px, calc((min(100%, 1440px) - 1276px) / 2)); padding-right: max(56px, calc((min(100%, 1440px) - 1276px) / 2)); }
.client { box-shadow: 2px 0 0 var(--card-border), 0 2px 0 var(--card-border); }
.client { display: grid; place-items: center; min-height: 138px; padding: 16px 24px; }
.client img { max-width: 86%; max-height: 78px; width: auto; height: auto; object-fit: contain; opacity: .82; transition: opacity var(--dur), transform var(--dur); }
.client:hover img { opacity: 1; transform: scale(1.05); }
.expect { position: relative; overflow: hidden; background: linear-gradient(200deg, var(--off-white) 30%, var(--light-bg) 120%); border-top: 3px solid var(--amber); }
.expect .dots { display: inline-flex; gap: 7px; align-items: center; margin: 8px 0 24px; }
.expect .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--mid-neutral); }
.expect .dots i:first-child { background: var(--amber); width: 20px; border-radius: var(--r-pill); }
.expect h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 500; margin-bottom: 16px; }
.expect p { font-size: var(--fs-p); color: var(--text-dim); max-width: 440px; margin-bottom: 24px; }
.iso span.dashed { background: none; border: 1.5px dashed var(--slate); box-shadow: none; opacity: 0.5; }
/* The Clutch review card lives in base.css — the homepage and Work Master draw
   the same component. A whole older copy of it sat here: white card, amber
   stars, the title at 500 and the reviewer role at 16, and because tech.css
   loads after base.css it won every colliding property on /work. The two
   landing pages that still use the old markup carry their own copy in
   landing.css and never load this sheet. */
@media (max-width: 680px) {
  /* align-items:flex-start let the marquee size to its own 3500px track instead of
     the row width, so the logo strip ran off the page — the same fix home.css
     already carries. No tech page used the strip until the IoT one, so it sat here
     unnoticed. */
  .trust-row { flex-direction: column; gap: 24px; align-items: stretch; padding-left: var(--s-5); }   /* the column's 48 */
  .trust-label { align-self: flex-start; }
}
@media (max-width: 480px) {
  .trust-row { padding-left: calc(var(--s-2) + var(--s-3)); }   /* the column's 40 */
}
@media (max-width: 360px) { .trust-row { padding-left: calc(var(--s-2) + 4px); } #services .wrap, .clients .wrap { padding-left: calc(var(--s-2) + 4px); padding-right: calc(var(--s-2) + 4px); } }   /* QA #153 */
@keyframes marquee { to { transform: translateX(-50%); } }
.sl-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--card-border); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.sl-arrow:hover { background: var(--soft-hover); border-color: var(--navy); color: var(--navy); }
.sl-arrow:disabled { cursor: default; transform: none; background: var(--soft-hover); color: var(--muted-text); border-color: var(--light-border); }
.port-dots i.on { background-color: var(--amber); }
.work-visual .wv-name { color: #fff; line-height: var(--lh-h3); font-size: var(--fs-h3); font-weight: 500; text-align: center; }
/* The review slider frame. tech.css already owns .track and .sl-arrow; these are the
   only pieces that lived in home.css, which neither family loads. Same geometry as the
   homepage: 48px of control plus 24px of clearance on each side, so the arrows sit
   beside the cards rather than on top of the first card's stars. */
.testi-slider { position: relative; padding: 0 72px; }
.ti-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
.sl-arrow.ti-arrow:hover { transform: translateY(-50%) scale(1.08); }
/* keep the vertical centring when disabled — .sl-arrow:disabled sets transform: none */
.sl-arrow.ti-arrow:disabled { transform: translateY(-50%); }
.ti-prev { left: 0; }
.ti-next { right: 0; }
/* scroll-padding matches the 4px the track pads itself by for the card shadows.
   Without it a snapped card sat on the track's border edge, 4px left of where the
   padding puts it at rest: 20px from the left arrow and 28px from the right one. */
.track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scroll-behavior: smooth; padding: 4px 4px 8px; margin: -4px -4px 0; -ms-overflow-style: none; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: 0 0 calc((100% - 40px) / 3); }
@media (max-width: 940px) {
  .track > * { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 680px) {
  .track > * { flex-basis: 88%; }
  /* one card fills the screen, so an overhanging arrow would sit on the quote */
  .testi-slider { display: flex; flex-wrap: wrap; align-items: center; padding: 0; }
  .ti-arrow, .sl-arrow.ti-arrow:hover, .sl-arrow.ti-arrow:disabled { position: static; transform: none; }
  /* the pair sits centred under the cards. Above them and pushed to the right edge,
     the two arrows lined up with nothing — not the heading over them (centred), not
     the card under them (which starts at the left) — and read as misplaced. */
  /* the track runs to the right edge of the screen, so the next card is cut by the
     screen and not by the page gutter; its own right padding gives the last card
     the gutter back once the row is scrolled to the end */
  .testi-slider .track { order: 1; flex: 0 0 calc(100% + 28px); min-width: 0; margin-right: -24px; padding-right: 24px; }
  .ti-prev { order: 2; margin-left: auto; margin-top: 16px; }
  .ti-next { order: 3; margin-left: 8px; margin-right: auto; margin-top: 16px; }
}
@media (max-width: 940px) {
  .client { min-height: 116px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero { padding: 120px 0 48px; }
}
.bnum-card.weeks { grid-area: weeks; }
/* the small button from the system (.inff-button.small): 14/500, 0.24px tracking,
   uppercase. It used to draw 16/600 with no tracking and no caps — the one amber
   pill on the page that did not match the others. */
/* .bnum-see is retired — it was a fifth amber pill with its own size, weight and
   hover, sitting beside the site's one button family. Markup now says
   .btn .btn-primary .btn-sm, so it inherits the shape morph and arrow march. */
.hero, .sec, .process { --panel-grad: var(--grad-card); }
/* The frame's hero ground is #EEF1F5 washed 5% -> 60% (1355:169) — the same wash the
   services panel and the review cards carry, which is --grad-card. This rule sits
   after the one at the top of the file and was quietly winning with its own
   off-white -> light-bg ramp, so the ground never actually changed when I set it
   there. It keeps the padding, which is what it is really for. */
/* The band is one height on every page. Fixed padding could not do that: the hero
   carries four blocks on /tech and seven on /agency/website-development — pill,
   h1, lead, actions, proof, xref, note — so its content runs 352 to 493 and a
   min-height only ever sets a floor. The padding is a minimum now and the content
   centres in what is left, which lands every page on 730. A column, not a row:
   two pages put .hero-proof outside .wrap, and as a row that line became a
   second item beside the copy, hanging off the right edge. */
.hero { background: var(--grad-card); padding: var(--hero-pt) 0 var(--hero-pb);
  min-height: var(--hero-min); display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
/* this override sits after the mobile block above, so it has to restate the phone
   padding — 210px left a dead band between the bar and the first line of copy */
@media (max-width: 680px) {
  .hero { padding: 120px 0 64px; min-height: 0; }
}
/* The hero floor — a perspective grid with amber bolts running its lines. I had
   taken it out because the frame draws the hero as one flat rectangle; Victor wants
   it back, so the frame is overruled here on purpose.
   It is absolutely positioned, so it stays out of the hero's flex flow, and its
   height is a percentage of the hero — 78% of the 730 the band now stands at, rising
   from the floor and masked out before it reaches the copy. */
/* top/bottom rather than height: 78%. Both resolve to the same 569 against the
   hero's 730 — the offsets are simply the pair that cannot be caught out by a box
   sized from min-height. Note the floor measures 190 by getBoundingClientRect and
   569 by offsetHeight: the rect is post-transform, and rotateX(57deg) through a
   760px perspective is meant to foreshorten it. */
.hero-grid { position: absolute; left: -55%; right: -55%; top: 22%; bottom: 0;
    /* longer focal length + gentler tilt: the horizon lands above the CTAs, so the
       lines stay legible all the way up to where the copy begins */
    transform: perspective(760px) rotateX(57deg);
    transform-origin: bottom center;
    -webkit-mask-image: linear-gradient(to top, #000 8%, rgba(0,0,0,0.6) 42%, rgba(0,0,0,0.25) 70%, transparent 95%);
    mask-image: linear-gradient(to top, #000 8%, rgba(0,0,0,0.6) 42%, rgba(0,0,0,0.25) 70%, transparent 95%);
    pointer-events: none; z-index: 0; overflow: hidden;
    background-image:
      repeating-linear-gradient(90deg, rgba(4,17,58,0.10) 0 1px, transparent 1px 64px),
      repeating-linear-gradient(0deg,  rgba(4,17,58,0.10) 0 1px, transparent 1px 64px); }
.bolt { position: absolute; border-radius: var(--r-pill); will-change: transform; }
.bolt.h { height: 3px; background: linear-gradient(90deg, rgba(255,189,14,0) 0%, rgba(255,189,14,0.45) 50%, rgba(255,210,90,1) 88%, #fffbe8 100%); box-shadow: 0 0 12px rgba(255,189,14,0.85), 0 0 26px rgba(255,189,14,0.45); }
.bolt.h.rev { background: linear-gradient(270deg, rgba(255,189,14,0) 0%, rgba(255,189,14,0.45) 50%, rgba(255,210,90,1) 88%, #fffbe8 100%); }
.bolt.v { width: 3px; background: linear-gradient(180deg, rgba(255,189,14,0) 0%, rgba(255,189,14,0.45) 50%, rgba(255,210,90,1) 88%, #fffbe8 100%); box-shadow: 0 0 12px rgba(255,189,14,0.85), 0 0 26px rgba(255,189,14,0.45); }
.bolt.v.rev { background: linear-gradient(0deg, rgba(255,189,14,0) 0%, rgba(255,189,14,0.45) 50%, rgba(255,210,90,1) 88%, #fffbe8 100%); }
@media (prefers-reduced-motion: reduce) {
  .bolt { display: none; }
}
/* The frame's pill is 53x29 with its label at 13 (1355:189/191). 13 is on no scale
   in the document, so the label takes the 12px step and the padding brings the pill
   back to the frame's height. Radius likewise: the frame says 5, §08 starts at 8. */
.hero-pill { display: inline-block; background: #fff; border-radius: var(--r-sm); padding: var(--s-1) var(--s-2); line-height: 1.2; font-size: var(--fs-p-smallest); color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.hero p.lead { max-width: 783px; }   /* the frame's measure for the hero subtitle (1355:179) */
.lede-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
/* Equal columns forced "99.9%" (232px on its own) to share a 323px cell with its
   label, leaving 75px for a word that needs 100. Flex lets each stat take what it
   needs and the narrow ones give up their slack — same approach as .stats-3. */
/* nowrap above the fold-to-two-up breakpoint: every stat stays on one line and the
   labels give up width instead, which is what widening them to the frame's 200px
   had broken — four stats with wide numerals (80+, 2.5x, 99.9%, 10+) no longer fit
   and the fourth dropped to a second row. */
/* nowrap, and mandatory: above the two-up breakpoint the band is one row or it is
   nothing. With the labels no longer crushable that means a band which will not fit
   has one stat too many — the answer is to drop a stat, not to let the row break.
   Below 1280 the media block turns this into a two-column grid, where wrap is moot. */
.stats { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 24px 32px; align-items: center; }
/* 0 1 auto, deliberately: an equal basis gives every stat the same width, which
   starves the ones with a wide numeral — "2.5x average conversion lift" and
   "99.9% uptime maintained" both broke to three lines under it. Natural widths
   with proportional shrink is the right shape; where a label still does not fit,
   the label is too long. min-width:0, or a flex item will not shrink below its
   content. */
/* min-width: min-content, not 0. At 0 a stat may shrink below its own longest word,
   and with overflow-wrap: break-word on the label that is what produced "threat/s"
   and "cybersecuri/ty" at widths between the breakpoints. At min-content the label
   can never be crushed narrower than its widest word, so the two lines the markup
   authors with <br> are the two lines that render. */
.stats .stat { flex: 0 1 auto; min-width: min-content; }
/* nowrap: the label must never drop under the number. It shrinks and wraps its own
   text instead, which is why it carries min-width:0 below. */
.stat { display: flex; align-items: center; gap: 8px 16px; justify-content: center; flex-wrap: nowrap; }
.stat b { line-height: var(--lh-h2-big);
  font-size: var(--fs-h2-big); font-weight: 500; color: var(--ink); flex-shrink: 0; }
/* flex-basis 0 is the point: wrapping is decided from the hypothetical size, so a
   label with a wide max-content (e.g. "uptime maintained" next to "99.9%") used to
   push itself onto a second line. With basis 0 it grows into whatever room is left
   and wraps its own text instead, keeping number and label on one row. */
/* tabular figures only while the digits are changing, and only on the digits — the
   decimal point sits outside these spans (tech.js), so it keeps its own narrow advance */
.stat b .tn { font-variant-numeric: tabular-nums; font-style: normal; }
/* white-space: nowrap is what makes "two rows" a guarantee rather than a coincidence.
   A <br> is a hard break and still fires under nowrap, so the label renders as exactly
   the two lines it is authored with — the browser is no longer allowed to invent a
   third. With nowrap the min-content width is the wider of those two lines, not the
   longest word, so the flex band cannot squeeze a line into wrapping either. Both
   halves of the rule (band on one row, label on two) fall out of that. Dropping the
   200px cap is part of it: a cap under nowrap only produces overflow, never a wrap. */
.stat span { flex: 0 1 auto; min-width: min-content; white-space: nowrap; overflow-wrap: normal;
  font-size: var(--fs-h5); font-weight: 400; color: var(--ink); line-height: 1.2; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-visual { border-radius: var(--r-lg); background: linear-gradient(150deg, var(--light-bg), var(--soft-hover)); aspect-ratio: 6 / 7; max-height: 660px; }
/* the technology pages carry three accordion rows where a service page carries
   six — the tall visual left a half-screen of white space beside them */
.split-compact .split-visual { aspect-ratio: 5 / 4; max-height: 420px; }
.acc-item { border-bottom: 1px solid var(--card-border); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: none; border: none; cursor: pointer; padding: 32px 4px; font-family: var(--ff); line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 500; color: var(--ink); text-align: left; }
/* …and the row itself is a whole number of pixels tall. The title's line-height is
   1.2em — 33.6px — so each row started a fraction of a pixel lower than the one before
   and every icon was rasterised at a different offset. Rounded up to the pixel, all the
   rows, and all the icons in them, land the same way. */
.acc-head { line-height: round(up, var(--lh-h4), 1px); }
.acc-head i { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.acc-head i::before, .acc-head i::after { content: ""; position: absolute; background: var(--ink); transition: transform var(--dur), opacity var(--dur); }
/* 2px, on whole pixels. At 1.6px a bar covers one device pixel or two depending on where
   the row happens to land, so on an ordinary (1x) screen some pluses drew thicker than
   others, and a bar could be thicker than the one crossing it. */
.acc-head i::before { left: 0; top: 9px; width: 20px; height: 2px; }
.acc-head i::after { left: 9px; top: 0; width: 2px; height: 20px; }
.acc-item.open .acc-head i::after { transform: scaleY(0); opacity: 0; }
/* The panel opens to the height of what is in it, not to a guessed cap. It used to
   animate max-height to 260px, and on a phone a long answer is 290-390px tall: the
   last line was cut off at the divider. A 0fr -> 1fr grid row animates to the real
   height at every width. The 32px under the copy is a generated block rather than
   padding, because padding cannot shrink below itself and would leave every closed
   row 32px open. */
.acc-body { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows var(--dur-slow) var(--ease); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-in { min-height: 0; overflow: hidden; padding: 0 4px; }
.acc-body-in::after { content: ""; display: block; height: 32px; }
.acc-body h3 { line-height: var(--lh-h5); font-size: var(--fs-h5); font-weight: 400; margin-bottom: 16px; }
.acc-body p { font-size: var(--fs-p); color: var(--text-dim); }
.quote-panel { background: var(--panel-grad); border: 1px solid var(--card-border); border-radius: var(--r-lg); padding: var(--s-6) 8% var(--s-6); text-align: center; }
.quote-panel > p { font-size: var(--fs-h4); font-style: italic; color: var(--ink); line-height: 1.45; margin-bottom: 48px; }
.quote-panel .qn { line-height: var(--lh-h5); font-size: var(--fs-h5); font-style: italic; color: var(--ink); margin-bottom: 6px; }
.quote-panel .qr { font-size: var(--fs-p-small); color: var(--text-dim); }
.process { padding-bottom: 8px; }
.proc-pin { position: relative; }
.proc-sticky { padding: 0 0 8px; background: var(--bg); }
/* pinned by the browser, not by a scroll handler — see tech.js. 130px clears the
   header; the pin (.proc-pin) is as tall as the stage plus the scroll it is held for */
.proc-sticky { position: sticky; top: 130px; z-index: 2; }
.proc-sticky .sec-head { margin-bottom: 48px; }
.proc-rail { position: relative; overflow: hidden; padding-top: 96px; }
/* The frame runs the rail through the middle of each marker — Line 9 sits at y=1786
   and the step indicator spans 1753 to 1819, so the line crosses its centre and the
   marker's white ring masks it. The marker centre here is 96 of padding minus the
   dot's 67 plus half its 34, which is 46. At 54 the rail crossed the numerals low. */
.proc-rail::before { content: ""; position: absolute; top: 46px; left: 0; right: 0; height: 1px; background: var(--card-border); }
.proc-track { display: flex; align-items: stretch; gap: 24px; padding: 0 var(--tl-pad, 2.5vw); width: max-content; will-change: transform; }
.proc-track { cursor: grab; }
.proc-track.is-dragging { cursor: grabbing; user-select: none; }
/* --dot-c is the marker's centre, and the stem reads it rather than carrying its own
   number: the two had drifted 5.5px apart, so the line under each numeral hung to the
   right of it on all 22 pages that draw this component. */
.tl { position: relative; flex: 0 0 var(--tl-w, 24%); --dot-c: 48px; }
/* The frame's marker, layer for layer (1361:1743-1746): a 66px WHITE disc, a 48px
   amber one at 35% over it, a 34px solid amber core, and the numeral on that core.
   I read the two amber ellipses as one and filled the whole 48 solid — which is not
   what it draws at all. Built from the core outwards instead: 34 of amber, +7 of
   amber at 35% takes it to 48, +9 of white takes it to 66. */
.tl .dot { position: absolute; top: -67px; left: calc(var(--dot-c) - 17px); width: 34px; height: 34px; border-radius: 50%;
    border: none;
    background: var(--amber);
    box-shadow: 0 0 0 7px rgba(255,189,14,0.35),   /* 34 -> 48, the amber at 35% */
                0 0 0 16px #fff,                    /* 48 -> 66, the white disc */
                0 0 0 17px var(--amber),            /* its 1px amber rim (1361:1743) */
                0 0 14px rgba(255,189,14,0.30);
    /* White, as the frame draws it (1361:1746). This is a knowing exception to §17:
       white on #FFBD0E measures 1.67:1 where the rule asks 4.5 at 18px, and Victor
       took that call on 2026-08-26 after seeing the number. page-audit counts .dot
       under __excluded rather than reporting it, so the exception stays visible in
       one place instead of turning the audit permanently red.
       It is the numeral only. Amber still takes navy everywhere else in the system —
       the Primary Button and the active tab both. */
    display: grid; place-items: center; font-weight: 700; font-size: var(--fs-p); color: #fff;
    z-index: 0; }
.tl .stem { position: absolute; top: -18px; left: var(--dot-c); transform: translateX(-50%);
            width: 1px; height: 18px; background: var(--card-border); }
.tl-card { position: relative; background: var(--panel-grad);
            border: 1px solid transparent; border-radius: var(--r); padding: 32px 32px 32px; height: 100%; }
/* the frame strokes its cards with a gradient rather than a flat line — #D9DBE1 at the
   top fading to nothing at the bottom, top to bottom (handles 0.5,0 -> 0.5,1). The
   border stays in the box at 1px transparent so nothing shifts; the ring is a masked
   pseudo-element, which is the only way to stroke a rounded box with a gradient. */
.tl-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--card-border) 0%, var(--card-border-0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; }

/* 28/500 — the frame's process step (1361:1714's titles sit at 28), which is §05's
   h4. It had been the 32px h3, one step above what the frame draws. */
.tl-card h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; margin-bottom: 24px; }
.tl-card p { font-size: var(--fs-descriptor); line-height: var(--lh-p); color: var(--ink); }
/* Step titles run to one line or two, and each card set its text under its own title,
   so the copy started at a different height from card to card. The track is a grid
   with a title row and a text row, and every step is a subgrid of it — through .tl
   into .tl-card — so all titles share one row and all the text starts on one line.
   The dot and stem are absolutely placed and take no cell. Column widths are what
   the flex-basis was: --tl-w from tech.js when pinned, 42% / 84% when it scrolls. */
@supports (grid-template-rows: subgrid) {
  .proc-track { display: grid; grid-auto-flow: column; grid-template-rows: auto 1fr; grid-auto-columns: var(--tl-w, 24%); row-gap: 0; }
  .tl, .tl-card { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
  .tl-card { align-content: start; }
}
.tech-panel { background: var(--panel-grad); border: 1px solid var(--card-border); border-radius: var(--r-lg); padding: 64px 48px; text-align: center; }
.tech-panel h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; margin-bottom: 48px; }
.tech-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; max-width: 1080px; margin: 0 auto; }
/* The frame draws the wall as marks alone, all of them navy and nothing under them
   (1365:1779). Ours were the vendors' own colours with a 16px caption below, which
   made every item 78px tall against the frame's 48 — the reason they read as larger
   even though the mark itself is 48 in both.
   The caption goes; the img's alt already carries the name for a screen reader and
   for the link.
   The colour does NOT: the frame's wall is navy throughout, and a filter cannot get
   there. Half of these marks are knockouts — the TS and JS squares, MySQL, MongoDB —
   where the glyph is white ON the shape rather than a hole through it, so flattening
   them to one colour turns them into solid blobs. Matching the frame needs
   single-colour mark files, which is asset work, not a rule. The vendors' own marks
   stay until those exist. */
.tech-item { width: 48px; }
.tech-item { display: flex; flex-direction: column; align-items: center; }
.tech-item img { width: 48px; height: 48px; object-fit: contain; display: block; }
.tech-item small { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* tech-wall entries link to /technologies/<name> — an anchor has to inherit the
   div's typography or the wall picks up link colour and underlines */
a.tech-item { color: inherit; text-decoration: none; transition: transform var(--dur) ease; }
a.tech-item:hover { transform: translateY(-3px); }
a.tech-item:hover small { color: var(--ink); }
a.tech-item:hover .tech-chip { border-color: var(--navy); }
@media (prefers-reduced-motion: reduce) { a.tech-item, a.tech-item:hover { transform: none; transition: none; } }
.tech-more { margin-top: 32px; font-size: var(--fs-p-small); color: var(--muted); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.head-row h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; }
.head-row p { font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); color: var(--text-dim); }
/* heading over its subtitle: the 8 .sec-head uses, not 0 (QA: 'glued' on /ai) */
.head-row h2 + p { margin-top: 8px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px; align-items: stretch; }
.bento-label { background: var(--panel-grad); border: 1px solid var(--card-border); border-radius: var(--r); display: grid; place-items: end center; padding: 32px 24px; font-weight: 600; font-size: var(--fs-p); color: var(--ink); text-align: center; min-height: 210px; }
.bento-img { border-radius: var(--r); background: linear-gradient(140deg, var(--light-border), var(--mid-neutral)); min-height: 210px; }
.bento-card { position: relative; grid-column: span 2; background: #fff; border: 1px solid transparent; border-radius: var(--r); padding: 32px 32px; }
/* the frame strokes its cards with a gradient rather than a flat line — #D9DBE1 at the
   top fading to nothing at the bottom, top to bottom (handles 0.5,0 -> 0.5,1). The
   border stays in the box at 1px transparent so nothing shifts; the ring is a masked
   pseudo-element, which is the only way to stroke a rounded box with a gradient. */
.bento-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--card-border) 0%, var(--card-border-0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; }

.bento-card .kicker { font-size: var(--fs-h4); font-weight: 500; color: var(--ink); line-height: var(--lh-h4); }
.bento-card .num { display: block; font-size: var(--fs-h2-big); font-weight: 500; color: var(--ink); line-height: var(--lh-h2-big); margin-bottom: 16px; }
.bento-card h3 { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; margin-bottom: 16px; }
.bento-card p { font-size: var(--fs-p); color: var(--text-dim); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* The frame's card is white on a white ground and its edge is what separates the
   two — #EFF0F3 in the render (1365:1810). Ours had border:none, so on a near-white
   section the cards had nothing to stand on and the section read as one flat white
   field. --card-border is the token for exactly this. */
.why { position: relative; background: #fff; border: 1px solid transparent; border-radius: var(--r); padding: 32px 32px 32px; }
/* the frame strokes its cards with a gradient rather than a flat line — #D9DBE1 at the
   top fading to nothing at the bottom, top to bottom (handles 0.5,0 -> 0.5,1). The
   border stays in the box at 1px transparent so nothing shifts; the ring is a masked
   pseudo-element, which is the only way to stroke a rounded box with a gradient. */
.why::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--card-border) 0%, var(--card-border-0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; }
.why .ic { color: var(--amber); margin-bottom: 24px; display: block; width: 48px; height: 48px; }
/* the mark fills the box it is given — the inline SVGs carry a viewBox and no
   width/height, so without this they fall back to the replaced-element default
   and draw at whatever the intrinsic size resolves to instead of the frame's 44 */
.why .ic svg { display: block; width: 100%; height: 100%; }
.why h3, .why h4 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; margin-bottom: 16px; }
.why p { font-size: var(--fs-p-small); color: var(--ink); }
/* The cards in a row line up part by part: every icon, then every title, then every
   body, on a row the whole grid shares — so a title that needs two lines no longer
   pushes its own card's text below its neighbours'. Each card is a subgrid of
   .why-grid spanning three rows (icon / title / body); a card with no icon simply
   leaves the first row empty, and a row with no icons at all has no height.
   A subgrid inherits the parent's row gap between its own rows, which would put the
   24px that separates two rows of cards between a card's icon and its title too. So
   the parent keeps only its column gap here, each card carries the 24 as its own
   bottom margin, and the grid takes it back once at the end. */
@supports (grid-template-rows: subgrid) {
  .why-grid { row-gap: 0; margin-bottom: -24px; }
  .why-grid > .why { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; margin-bottom: 24px; }
  .why-grid > .why > .ic { grid-row: 1; }
  .why-grid > .why > h3, .why-grid > .why > h4 { grid-row: 2; }
  .why-grid > .why > p, .why-grid > .why > ul { grid-row: 3; }
}

/* ── The tinted card ──────────────────────────────────────────────────────────
   The masters draw two card grounds, not one. "What you get either way" (tech
   1365:1836) and "What AI-native actually changes" (1428:3085) are the white card
   above. "How the work is scoped" (1432:3332), "The choices that decide the
   outcome" (1431:3272), "What we stand for" (1432:3732) and Work's "Three ways we
   get involved" (1432:4445) are a filled card: 628x269 at r24, 36 of padding, a
   44px mark and a 32px title over a 15px descriptor whose first line is bold.
   The frame fills it #D3DBE8 under a 50px background blur, which resolves over
   white to the surface §04 already names — so it is --off-white, flat, with no
   backdrop-filter to make the card a containing block for anything inside it. */
.why.tint { background: var(--off-white); border-color: transparent; border-radius: var(--r-lg); padding: var(--s-4); box-shadow: none; }
.why.tint::before { content: none; }
.why.tint .ic { width: 44px; height: 44px; margin-bottom: 24px; }
.why.tint h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; margin-bottom: 24px; }
.why.tint p { font-size: var(--fs-descriptor); line-height: 1.5; color: var(--ink); }
.why.tint p b { display: block; font-weight: 600; }
/* Work's three routes are the same card, centred, ending on a link instead of copy */
.why.tint.mid { padding: var(--s-3); text-align: center; }
.why.tint.mid .ic { margin: 0 auto 24px; }
.why.tint.mid h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; margin-bottom: 24px; }
.why.tint.mid p { font-size: var(--fs-p-small); color: var(--text-dim); margin-bottom: 24px; }
.why.tint.mid .link-all { justify-content: center; margin-top: auto; font-size: var(--fs-p-small); }
.why.tint.mid { display: flex; flex-direction: column; }
/* The link is a line of text, not a flex row: as inline-flex a label that wrapped took
   the full width and pushed its arrow ~60-100px off to the right edge. As a block, the
   arrow follows the last word (which src/pages carry in a nowrap .nw with the arrow).
   And the three cards line up part by part like every other .why-grid row — the
   display:flex above (three classes) outranked the subgrid (two), so a title that
   wrapped at 980 pushed its own body 29px below its neighbours'. Four rows here:
   icon / title / body / link, every link starting on one line. */
.why.tint.mid .link-all { display: block; }
.why.tint.mid .link-all .nw { white-space: nowrap; }
.why.tint.mid .link-all svg { display: inline-block; vertical-align: middle; margin: -2px 0 0 var(--s-1); }
@supports (grid-template-rows: subgrid) {
  .why-grid > .why.tint.mid { display: grid; grid-row: span 4; }
  .why-grid > .why.tint.mid > .link-all { grid-row: 4; margin-top: 0; }
}

/* ── "See all …" ──────────────────────────────────────────────────────────────
   The frame ends a section head with a labelled link and a 30px arrow (1428:1855),
   not with a Secondary Button — the button is for an action, this is a way out to
   another page. 20/400 navy, underlined, which is the direction §09 wants a navy
   link to take on hover (it cannot darken, so it keeps the rule and moves the arrow). */
.link-all { display: inline-flex; align-items: center; gap: var(--s-1); flex-shrink: 0;
  line-height: var(--lh-subtitle); font-size: var(--fs-subtitle); color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px; }
.link-all svg { width: 24px; height: 24px; flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.link-all:hover { text-decoration-color: var(--amber); }
.link-all:hover svg { transform: translateX(3px); }
/* the contact block and its form now live in form.css — one component,
   loaded by every family that renders it, including the homepage */
/* A service name stays on one row. On two rows the label's box is as wide as its column,
   so there is no gap left for the arrow to travel across and the hover did nothing —
   "Digital product development" was on two rows on 43 pages. The label is the h5 size
   rather than h4, the gaps inside the row are 8px, and the column count follows what the
   longest name needs (the breakpoints are at the end of this file). */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
/* the rule over the first row is each link's own top edge, drawn as a shadow so it lands
   on the previous row's bottom border — which makes it right for any number of columns
   (it used to be :nth-child(-n+3), restated at every breakpoint) */
.more-link { display: flex; align-items: center; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--card-border); box-shadow: 0 -1px 0 var(--card-border); line-height: var(--lh-h5); font-size: var(--fs-h5); font-weight: 500; color: var(--ink); transition: color var(--dur); }
.more-gap { flex: 1 1 0; min-width: 14px; transition: flex-grow var(--dur-morph) var(--ease); }
.more-link > span:first-child { min-width: 0; }   /* still allowed to wrap as a last resort — nowrap would push the arrow out of the row */
.more-link:hover .more-gap { flex-grow: 0; }
.more-link svg { width: 24px; height: 24px; flex-shrink: 0; transition: transform var(--dur-morph) var(--ease); }
.more-link:hover svg { transform: rotate(45deg); }
@media (max-width: 1100px) {
  .proc-pin { height: auto !important; }
  .proc-sticky { position: static !important; }
  .proc-rail { overflow: visible; }
  /* The numbered dots sit above the cards, outside the track's own box, and a box that
     scrolls sideways clips whatever is outside it on every side — so from here down the
     numbers were cut off and only the line they sat on was left. The track is drawn
     96px taller instead (the room .proc-rail already keeps for them) and pulled back
     up by the same amount, which puts the dots inside it.
     The inline padding is the page gutter, the same steps .wrap takes in base.css
     (56 / 48 at 680 / 40 at 480 / 20 at 360), so the first card starts on the heading's
     edge. It was a flat 24, which put the first card 16-32px outside the column on every
     page that draws this rail. scroll-padding has to say the same number: the snap
     ignores the track's own padding and would pull the card flush to the screen edge. */
  .proc-track { width: auto; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; transform: none !important;
    --proc-gut: 56px; padding: 96px var(--proc-gut) 0; margin-top: -96px; scroll-padding: 0 var(--proc-gut); cursor: grab; }
  .proc-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
  .proc-track::-webkit-scrollbar { display: none; }
  .tl { flex-basis: 42%; scroll-snap-align: start; }
  .proc-track { grid-auto-columns: 42%; }
}
/* the rail's gutter, step for step with .wrap (base.css) — after the 1100 block on purpose */
@media (max-width: 680px) { .proc-track { --proc-gut: var(--s-5); } }
@media (max-width: 480px) { .proc-track { --proc-gut: calc(var(--s-2) + var(--s-3)); } }
@media (max-width: 360px) { .proc-track { --proc-gut: calc(var(--s-2) + 4px); } }
@media (max-width: 940px) {
  /* two per row from here down, so the stats never squeeze on a tablet */
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; align-items: start; }
  .stat span { max-width: none; }
  .stat { flex: 0 1 46%; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-visual { aspect-ratio: 16 / 10; }
  /* the compact variant too. Its own rule (5:4, capped at 420 tall) carries two classes
     and outranked the line above, so stacked it stayed 525px wide and sat against the
     left edge of a 720px column on every technology page. */
  .split-compact .split-visual { aspect-ratio: 16 / 10; max-height: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-card { grid-column: auto; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .tl { flex-basis: 84%; }
  .proc-track { grid-auto-columns: 84%; }
  .why-grid { grid-template-columns: 1fr; }
  /* .why-grid.cols-2 and .pairs both carry two class selectors, so they outrank
     the plain .why-grid rule above and need collapsing explicitly */
  .why-grid.cols-2, .pairs { grid-template-columns: 1fr; }
  .pairs .pair:nth-child(2) { border-top: none; }   /* one column — only the first row has a top edge */
  /* Two stats per row, label under the number. .stats is flex, so the old
     grid-template-columns here was inert — hence the ragged 1+1+1 wrap. */
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; align-items: start; }
  /* centred in the cell, not flush left. The grid was already symmetric — 24px of
     wrap on each side — but the content hugged the left of each column, so the band
     read as pushed to one side: the left column started hard against the edge while
     the right one trailed off well short of it. */
  .stat { flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; text-align: center; }
  .stat span { max-width: none; }   /* the label owns the full column now, not the leftover beside the number */
}
.tech-chip { display:grid;place-items:center;height:46px;padding: 0 16px;border-radius:var(--r-sm);background:var(--bg-alt);line-height: var(--lh-h6); font-size: var(--fs-h6);font-weight:600;color:var(--ink);white-space:nowrap; }
.tech-text { width:auto; }

/* --- page-specific overrides of base/shell --- */
/* The column is base.css's: 1388 on 56, the header's own geometry. This sheet used
   to set 1328 on 24 — the frames' 1280 at x=80 — which met the logo only at exactly
   1440 and drifted 32px left of it on every narrower desktop. */
.sec-head { max-width: 900px; }
.sec-head h2 { font-weight: 400; line-height: var(--lh-h2); font-size: var(--fs-h2); }
/* Every section subtitle in all five master frames is #667085 — including
   1355:1085, the node this rule already cited while painting it navy. A
   subtitle supports the heading above it; §04 gives supporting text the muted
   tone. base.css already had it right, so only the weight override stays. */
.sec-head p { font-weight: 400; font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); }
/* Full-width, left-aligned section head ("More services", "Related work"). It was
   21 copies of an inline max-width/text-align plus a clamp(30px,4vw,46px) headline
   that belonged to no step of the scale; the role is the theme's h2.bigger. */
.sec-head.big h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; }   /* one section-title size site-wide (2026-10-10) */
.sec-head.flush { max-width: none; text-align: left; margin-bottom: 32px; }
/* 36, not 48. Every section head in the frame is 36/400 — "What we build" (1355:1084),
   "How an engagement runs" and "What you get either way" alike — which is §05's h2 and
   the size the homepage's heads already use. .flush keeps its alignment and measure;
   only the size it was bumping is gone. */
.sec-head.flush h2 { font-size: var(--fs-h2); font-weight: 400; line-height: var(--lh-h2); }

/* review scroll-highlight: words fade from light grey to ink as the panel scrolls by.
   Intended (Victor, 2026-10-19: QA #680 was not a bug), so keep it. */
.quote-panel p .w { color: #cdd5e1; transition: color var(--dur) ease; }
.quote-panel p .w.on { color: var(--ink); }

/* hero-proof lives in base.css; only the dark AI hero needs an override */
.ai-dark .hero-proof { color: var(--ai-dim); }
.ai-dark .hero-proof a { text-decoration-color: rgba(255,255,255,0.25); }
.ai-dark .hero-proof a:hover { color: #fff; }
.ai-dark .hero-proof b { color: #fff; }

/* Accreditations wall — badge over caption, as published by the certifying bodies. */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 8px; }
.cert { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: 24px 16px 24px; background: #fff; border: 1px solid var(--card-border); border-radius: var(--r);
  transition: box-shadow var(--dur) ease, transform var(--dur) ease, border-color var(--dur) ease; }
.cert:hover { box-shadow: var(--shadow-sm); border-color: var(--mid-neutral); }
.cert img { width: 80px; height: 80px; object-fit: contain; }
.cert span { font-size: var(--fs-p-smallest); line-height: 1.45; color: var(--text-dim); }
@media (max-width: 480px) {
  .cert-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .cert { padding: 24px 8px 16px; gap: 16px; }
  .cert img { width: 64px; height: 64px; }
}

/* the accordion trigger is the section heading — wrapping it in h2 keeps the
   document outline consecutive without changing a pixel */
.acc-h { margin: 0; font: inherit; }

/* ── Sales agent ────────────────────────────────────────────────────────────
   The design file's "Sales Agent - v2" frame, which sits on the tech, agency and
   about templates alike. It lived in agency.css; moved here so the tech family can
   use it too — agency.css loads after this file, so those pages are unaffected. */
.founders { display: grid; gap: 24px; }
.founder { position: relative; text-align: center; background: var(--bg-soft); border: 1px solid transparent;
  border-radius: var(--r-lg); padding: 64px 32px 48px; }
/* the frame strokes its cards with a gradient rather than a flat line — #D9DBE1 at the
   top fading to nothing at the bottom, top to bottom (handles 0.5,0 -> 0.5,1). The
   border stays in the box at 1px transparent so nothing shifts; the ring is a masked
   pseudo-element, which is the only way to stroke a rounded box with a gradient. */
.founder::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--card-border) 0%, var(--card-border-0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; }

/* the same 279 plate the Sales Agent card carries in the frame — this was 168 */
/* a circle at any width: 279 where there is room, the card's own width where there is
   not. With both sides fixed at 279 the image's max-width:100% narrowed it on a small
   phone while the height stayed put, and the portrait was squeezed into an oval. */
.founder .fphoto { width: min(279px, 100%); height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; margin: 0 auto 24px; display: block;
  background: radial-gradient(circle at 50% 40%, var(--off-white) 0%, var(--light-bg) 70%); }
/* the frame runs the founder line at the h2-bigger role, centred (1432:3974) */
.founder h3 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; margin-bottom: 16px; }
.founder p { line-height: var(--lh-h5); font-size: var(--fs-h5); font-weight: 400; color: var(--ink); margin-bottom: 24px; }
/* .btn-chat is retired: it was an amber pill at 700/16 with its own hover and no
   arrow march — a page-specific button beside the site's one button family. Its
   markup now says .btn .btn-primary (DS §09). */
.founder .btn svg { width: 16px; height: 16px; }
/* on a phone the 32px sides left 216-231px for the button, and "Start your project"
   needs 233 — it broke onto two lines at 64px tall, the only button on the site that
   did. 16px sides keep it on one line at the homepage's 48. */
@media (max-width: 480px) { .founder { padding-left: var(--s-2); padding-right: var(--s-2); } }

/* ── IoT template additions ─────────────────────────────────────────────────
   Sections the "IoT Software" frame (design file → IoT Software Development,
   node 1062:1449) needs and the tech template did not have yet. All three reuse
   the existing scale and palette — no new type sizes, no new colours. */

/* hero headline in two weights, the way .ai-hero h1 .hl already does it */
.hero h1 .hl { font-weight: 700; }

/* ── technology pages: the long-form sections ─────────────────────────────── */
/* running prose, wider measure than .sec-head but still short enough to read */
/* Two paragraphs — and every one of the 63 technology pages has exactly two. As a
   single 920px column they stopped 460px short of the section head and the link grid
   above them, which reads as an unfinished block; and they still ran to about 102
   characters, well past a comfortable measure. Two columns at the section's own width
   answer both: the text reaches the end of the line like everything else on the page,
   and each column lands near 73 characters. The 1fr 1fr on a 64px gutter is .split's,
   which is how this page already does two columns (DS §18). */
.prose { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.prose p { font-size: var(--fs-p); color: var(--text-dim); line-height: 1.65; }
@media (max-width: 940px) {
  .prose { grid-template-columns: 1fr; gap: 16px; }
}
/* the fit / does-not-fit pair, and the four-card "what goes wrong" row */
.why-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fit-list { list-style: none; display: grid; gap: 16px; align-content: start; }   /* the shorter of the two lists is stretched to its sibling's height by the subgrid row; pack its items to the top instead of spreading them */
.fit-list li { position: relative; padding-left: 32px; font-size: var(--fs-p); color: var(--text-dim); line-height: 1.45; }
.fit-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber); -webkit-mask: var(--tick) center / 12px no-repeat; mask: var(--tick) center / 12px no-repeat; }
.fit-list-no li::before { background: var(--muted); -webkit-mask-image: var(--cross); mask-image: var(--cross); }
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4l5.6 5.6L5 17.6 6.4 19l5.6-5.6 5.6 5.6 1.4-1.4-5.6-5.6z'/%3E%3C/svg%3E"); }
/* "what we run alongside it" — a definition list, two columns on desktop */
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.pair { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--card-border);
  align-content: start; }   /* a row stretched to a two-line neighbour used to share its slack between dt and dd, so a one-line dd dropped ~11px; the slack now goes under the dd */
.pairs .pair:nth-child(-n+2) { border-top: 1px solid var(--card-border); }
.pair dt { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 500; color: var(--ink); }
.pair dd { font-size: var(--fs-p-small); color: var(--text-dim); line-height: 1.45; }
/* the comparison accordion is full width — it has no visual beside it */
.acc-wide { max-width: 1000px; }

/* the frame's "End-to-end IoT development" row is four of the .why cards, not three */
.why-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-grid.cols-4 .why { padding: 32px 24px 32px; }
/* the four-column variant used to set its heading one step LARGER than the
   three-column one, in narrower cards. It takes the same h4 as its sibling. */
.why-grid.cols-4 .why p { font-size: var(--fs-p-small); }

/* "Building products that work as one": copy and numbered points beside the art */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pillars h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; margin-bottom: 32px; }
/* the design runs this column on a 1.6 line and a 147px pitch between the points */
.pillars > div > p { font-size: var(--fs-p); line-height: 1.6; color: var(--text-dim); margin-bottom: 64px; max-width: 600px; }
.pillar { display: grid; grid-template-columns: 66px 1fr; gap: 0 24px; margin-bottom: 64px; }
.pillar:last-child { margin-bottom: 0; }
/* four concentric circles in the design: a 66px white disc ringed in amber, a 48px
   amber wash at 35%, a 34px solid amber core, and the numeral in white on top.
   One element: the ring is the border, the two inner discs are colour stops. */
.pillar i { grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--amber); font-style: normal; color: #fff;
  /* the 35% ring has to fall on the white disc, as it does in the design — without
     the colour underneath it composites over the section wash and goes grey */
  background-color: #fff;
  background-image: radial-gradient(circle,
    var(--amber) 0 16.5px,
    rgba(255,189,14,0.35) 17.5px 23.5px,
    #fff 24.5px 100%);
  font-weight: 700; font-size: var(--fs-p); line-height: 1; }
/* the design wraps these at a ~500px measure; the site column is wider, so cap it
   or the lines break in different places than the frame does */
.pillar b, .pillar span { max-width: 478px; }
.pillar b { font-size: var(--fs-p); font-weight: 700; color: var(--ink); line-height: 1.6; }
.pillar span { font-size: var(--fs-p); color: var(--text-dim); line-height: 1.6; }
/* the frame is a 20px-radius rectangle with the artwork as its fill and nothing
   behind it — the export keeps its transparency, so the section shows through */
.pillars-art { border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.pillars-art img { display: block; width: 100%; height: auto; }

/* "Our work": three case cards, as the masters draw them (agency 1428:1874 and the
   same component on AI, About and the three Work rows): 411x428 at r24, a 409x237
   plate on top, then a 32px body holding the title, one meta line and the CTA. The
   card had carried a category row with a country flag, a rule, and a paragraph of
   copy above the button; the frame has none of them, and the title leads. */
.wcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wcase { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid transparent;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--dur-fast), box-shadow var(--dur-fast); }
/* the frame strokes its cards with a gradient rather than a flat line — #D9DBE1 at the
   top fading to nothing at the bottom, top to bottom (handles 0.5,0 -> 0.5,1). The
   border stays in the box at 1px transparent so nothing shifts; the ring is a masked
   pseudo-element, which is the only way to stroke a rounded box with a gradient. */
.wcase::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--card-border) 0%, var(--card-border-0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; }

.wcase:hover { box-shadow: var(--shadow-lg); }
.wcase-img { aspect-ratio: 409 / 237; overflow: hidden; background: var(--bg-alt); }
.wcase-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the reel puts a <video> in this box, and the rule above only reached <img>: the
   clip laid out at its own 720x417 width/height attributes inside a 409x237 box,
   so overflow:hidden cropped it to a magnified top-left corner with the --bg-alt
   ground showing through wherever the poster did not reach. */
.wcase-img video { display: block; width: 100%; height: 100%; object-fit: cover; }
.wcase-body { display: flex; flex-direction: column; flex: 1; padding: var(--s-4); }
.wcase h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; margin-bottom: var(--s-1); }
/* the sector and what the thing is, on one line — 16/400 muted (1428:1879) */
.wcase-meta { font-size: var(--fs-p-small); color: var(--text-dim); margin-bottom: 24px; }
.wcase .btn-book { align-self: flex-start; margin-top: auto; }

@media (max-width: 1100px) {
  .why-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .wcase-grid { grid-template-columns: 1fr 1fr; }
  .pillars { gap: 48px; }
}
@media (max-width: 940px) {
  .why-grid.cols-4, .wcase-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .pillars-art { order: -1; }
}

/* CRO-01: the reviews carousel used to end each card with its own link to Clutch —
   nine doors out of the page. The proof stays on the page; one link leaves it. */
/* .testi-all is declared beside the card in base.css */

/* Responsive collapses, kept last on purpose.
   .why-grid.cols-2 and .pairs are two-class selectors declared further up this file
   than the @media block at 680 that collapses them, and a media query adds no
   specificity — so the later two-column rule won and the cards stayed side by side
   all the way down to 320, where a card's text box is 58px and every heading and
   bold run overflowed it. Collapsing them here, after their base rules, is the fix
   the four earlier same-weight collisions in this project should have taught. */
@media (max-width: 680px) {
  .why-grid.cols-2, .pairs { grid-template-columns: 1fr; }
  /* same collision: shell.css collapses .testi-grid at 680, but this file's
     two-column rule at 940 is later in the cascade and outlived it, so the review
     cards stayed paired down to 320 — where a bare 1fr track cannot shrink below
     its own min-content and the second card ran off the page entirely. */
  .testi-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 34px of underlined type is a fine-pointer target; on a phone it is short of the
   44 the rest of the site holds to. */
@media (hover: none) and (pointer: coarse) {
  .link-all { min-height: 44px; }
}

/* The stats band goes two-up from 1279 rather than 940: at 980 four stats with wide
   numerals shared the row so narrowly that even "store uptime" broke to three lines.
   1023 is the nav's own breakpoint, so the page changes shape in one place. Kept last
   because .stats.stats-3 in agency.css carries two classes and would otherwise win. */
@media (max-width: 1279px) {
  .stats, .stats.stats-3 { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 32px 24px; }
  .stats .stat span, .stats.stats-3 .stat span { max-width: none; }
}


/* The four-up variant sets its own 16px gap further up, after the subgrid block, so its
   row gap is taken back here — last in the file, where nothing can restate it. */
@supports (grid-template-rows: subgrid) {
  .why-grid.cols-4 { row-gap: 0; margin-bottom: -16px; }
  .why-grid.cols-4 > .why { margin-bottom: 16px; }
}

/* "More services" columns. Three while the longest name fits a third of the row, two
   below that, one once it no longer fits a half. Measured against "Digital product
   development", which needs 378px of row at 24px, 324 at 20 and 297 at 18. The two-column
   variant is for the legal pages, whose longest label is half as long again. */
@media (max-width: 1340px) { .more-grid { column-gap: 24px; } }
@media (max-width: 1150px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .more-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px)  {
  .more-link { font-size: var(--fs-p-small); padding-left: 0; padding-right: 0; }
  .more-gap { min-width: 8px; }
}
.more-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 940px) { .more-grid.cols-2 { grid-template-columns: minmax(0, 1fr); } }

/* "Challenges we solve", stacked (940 and under). It used to become one column of
   seven full-width blocks, with the label and its picture — a pair of squares on the
   desktop — each stretched across the row, and the middle row leading with its text
   card because that is its order in the markup. Now every row reads the same way:
   the two squares side by side, then the text card under them. */
@media (max-width: 940px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card { grid-column: 1 / -1; }
  .bento.flip .bento-card { order: 2; }
}
@media (max-width: 480px) {
  .bento { gap: 16px; margin-bottom: 16px; }
  .bento-label, .bento-img { min-height: 160px; }
  .bento-label { padding: 24px 16px; }
}

/* The technology wall on a phone. 48px marks on 48px of side padding left three to a
   row on a 390px screen and a panel two screens tall. The marks draw at 36 — inside a
   44px link, so the target a finger needs is unchanged — and the panel gives the
   width back. */
@media (max-width: 680px) {
  .tech-panel { padding: 48px 16px; }
  .tech-panel h2 { margin-bottom: 32px; }
  .tech-wall { gap: 16px; }
  .tech-item { min-height: 44px; justify-content: center; }
  .tech-item:not(.tech-text) { width: 44px; }   /* a name set as a text chip keeps its own width */
  .tech-item img { width: 36px; height: 36px; }
}

/* Fewer stats sit closer together. The band spreads its stats to both edges, which is
   right for four or five and wrong for two or three — a number at each end of a
   1280px row with nothing between them. A short band is narrower and centred. */
.stats:has(> .stat:nth-child(3):last-child) { max-width: 1040px; margin-left: auto; margin-right: auto; }
.stats:has(> .stat:nth-child(2):last-child) { max-width: 720px; margin-left: auto; margin-right: auto; }

/* The stat band on a phone: one stat per row, the label beside its number. It was two
   per row with the label UNDER the number, and at 375 and below the labels no longer
   fitted their half of the screen. Numbers in one column, labels in the next, so the
   rows line up like a short table — and the table starts on the page column, numbers
   flush left, the same left edge the two-up grid above 680 keeps (it used to be
   centred, 25-65px in from the column, a different indent on every page). `body`,
   because .stats.stats-3 is restated in agency.css, which loads after this sheet. */
@media (max-width: 680px) {
  body .stats, body .stats.stats-3 { display: grid; grid-template-columns: auto auto; justify-content: start;
    align-items: center; gap: 24px 16px; max-width: none; }
  body .stats .stat { display: contents; }
  body .stats .stat b { justify-self: start; text-align: left; }
  body .stats .stat span { justify-self: start; text-align: left; }
}

/* One stat band, one behaviour (QA Oct 2026). Measured on all 21 pages that carry it:
   - 1280 and up, one row edge to edge on the column. At the 72px numeral four stats
     needed up to 1,330px (devops; shopify 1,287, agency 1,295, cybersecurity 1,240)
     against a column that is never wider than 1,276, so the row ran 6-86px past the
     column edge at 1440 and up to 172px at 1280, with the gaps crushed to the 32px
     minimum. The numeral takes the 56px step the band already uses from 981 to 1279,
     the labels take the 20px h5 step until the column is full width, and the minimum
     gap is 48 — the widest band (devops) now needs 1,146 of 1,168 at 1280.
   - 681 to 1279, two up, every stat flush left in its cell. Centred in the cell, the
     numbers of the two rows started 15-57px apart and the band floated 40-135px in
     from the column. minmax(0,1fr), not 1fr, so a long label cannot widen its column.
   `body` (0,1,1 / 0,2,1) outranks .stats.stats-3 in agency.css and .pi-numbers in ai.css,
   which load after this sheet. */
@media (min-width: 1280px) {
  body .stats, body .stats.stats-3 { column-gap: var(--s-5); }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  body .stats { --fs-h5: 20px; }
}
@media (min-width: 681px) and (max-width: 1279px) {
  body .stats .stat { justify-content: flex-start; text-align: left; }
  body .stats:not(.stats-3) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Website AI 2.1 › Tech frames: the pictures ───────────────────────────────
   Services (3139:4065): the open item's picture fills the 608-wide slot beside the
   accordion; every item has one, cross-faded in tech.js. Challenges (3139:3870): a
   387-wide photo beside an 833-wide card, sides alternating, where the bento tiles
   were. Why work with us (3139:3895): a full-width band, grey to white, with the
   three cards white and centred. */
.split-visual { position: relative; overflow: hidden; }
.split-visual .sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity var(--dur-slow) var(--ease); }
.split-visual .sv-img.is-on { opacity: 1; }

.chal { display: grid; grid-template-columns: 387px minmax(0, 1fr); gap: var(--s-6); align-items: stretch; margin-bottom: var(--s-6); }
.chal:last-child { margin-bottom: 0; }
.chal.flip { grid-template-columns: minmax(0, 1fr) 387px; }
.chal.flip .chal-img { order: 2; }
.chal-img { display: block; width: 100%; height: 100%; min-height: 367px; object-fit: cover; border-radius: var(--r-lg); }
.chal-card { background: var(--white); border: 1px solid var(--light-border); border-radius: var(--r-lg); padding: var(--s-5) var(--s-4); display: flex; flex-direction: column; justify-content: center; }
.chal-card .kicker { line-height: 1.3; font-size: var(--fs-subtitle); font-weight: 500; color: var(--ink); }
.chal-card .num { display: block; line-height: var(--lh-h2-big); font-size: var(--fs-h2-big); font-weight: 500; color: var(--ink); margin: var(--s-3) 0; }
.chal-card h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; margin-bottom: var(--s-3); }
.chal-card p { line-height: 1.6; font-size: var(--fs-p-small); color: var(--text-dim); margin: 0; }

.why-band { background: linear-gradient(90deg, var(--light-border) 0%, var(--white) 100%); }
.why-band .why { border-radius: var(--r-lg); padding: var(--s-5) var(--s-4); text-align: center; justify-items: center; }
.why-band .why::before { display: none; }
.why-band .why .ic { margin-left: auto; margin-right: auto; }
.why-band .why h3 { font-weight: 400; }
.why-band .why p { line-height: 1.4; color: var(--text-dim); }

@media (max-width: 940px) {
  .chal, .chal.flip { grid-template-columns: 1fr; gap: var(--s-3); }
  .chal.flip .chal-img { order: 0; }
  .chal-img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .chal-card { padding: var(--s-4) var(--s-3); }
}

/* The viewport-wide wraps above find the column with max(56px, …), which is right on a
   desktop but held them at 56 on a phone while the page's column had gone to 48 and 40
   — the services tab switcher was crushed at 390 (Victor, 2026-10-05). Below 680 they
   take the column's own gutters, like every other .wrap in base.css. */
@media (max-width: 680px) { #services .wrap, .clients .wrap { padding-left: var(--s-5); padding-right: var(--s-5); } }
@media (max-width: 480px) { #services .wrap, .clients .wrap { padding-left: calc(var(--s-2) + var(--s-3)); padding-right: calc(var(--s-2) + var(--s-3)); } }

/* ── An odd card out in a two-column grid ─────────────────────────────────────
   One rule for every card grid on the site: when a three-up grid steps down to two
   columns and the count is odd, the last card takes the whole row instead of sitting
   next to an empty cell that reads as a missing card. A text card (.why) just widens.
   A card with a picture (.wcase here; .blog-card in blog.css, .pf-card in work.css)
   turns on its side — picture in the left column's width, copy in the right — so the
   picture stays the size it is in the row above rather than doubling. The picture's
   column is 50% less half the gap less the card's 1px border, which puts its edge on
   the edge of the card above. Scoped to the widths where each grid is two-up, so
   1440 and phones are untouched. Same pattern: blog.css, work.css (.pf-grid). */
@media (min-width: 681px) and (max-width: 940px) {
  .why-grid > .why:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 941px) and (max-width: 1100px) {
  .why-grid.cols-4 > .why:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wcase-grid > .wcase:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid;
    grid-template-columns: calc(50% - 13px) minmax(0, 1fr); }
}
/* …and the column's 20 under 360. The QA #153 rule near the top of this file says the same, but
   the 480 line above is later in the cascade and outranked it, so at 320 the services split sat 20px inside the text column. */
@media (max-width: 360px) { #services .wrap, .clients .wrap { padding-left: calc(var(--s-2) + 4px); padding-right: calc(var(--s-2) + 4px); } }

/* ── Technologies hub: one row per group (Victor, 2026-10-12: "align all the
   technologies"). Fifteen bands of one to nine links became ten groups, and each
   group is the same row: its name in a fixed left column, the links in the grid
   beside it, a hairline between groups — so every list starts on the same edge
   whatever its length. Stacks below 981. */
/* `body` + both classes: `.sec + .sec` zeroes a following section's top padding */
body .sec.hub-group { padding: var(--s-5) 0; }
body .sec.hub-group + .sec.hub-group { padding-top: 0; }
body .sec.hub-group + .sec.hub-group .hub-row { border-top: 1px solid var(--card-border); padding-top: var(--s-5); }
.hub-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: var(--s-4); align-items: start; }
.hub-head { padding-top: var(--s-3); }
.hub-head h2 { font-size: var(--fs-h2); font-weight: 400; line-height: var(--lh-h2); margin: 0 0 var(--s-1); }
.hub-head p { font-size: var(--fs-p-small); line-height: 1.5; color: var(--text-dim); margin: 0; }
@media (max-width: 980px) {
  .hub-row { grid-template-columns: minmax(0, 1fr); }
  .hub-head { padding-top: 0; margin-bottom: var(--s-2); }
}

/* ── Technology pages: "<Name>, explained simply" (Victor, 2026-10-12). One
   sentence a non-technical reader can repeat, three short paragraphs side by
   side, then four terms they will hear in meetings. */
.plain-what { font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); color: var(--ink); max-width: 880px; margin: 0 0 var(--s-4); }
.plain-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.plain-body p { font-size: var(--fs-p); line-height: 1.65; color: var(--text-dim); margin: 0; }
.plain-terms-h { margin: var(--s-6) 0 var(--s-3); }
.plain-terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin: 0; }
.plain-terms > div { border-top: 1px solid var(--card-border); padding-top: var(--s-2); }
.plain-terms dt { font-size: var(--fs-h5); font-weight: 500; line-height: var(--lh-h5); color: var(--ink); margin: 0 0 var(--s-1); }
.plain-terms dd { font-size: var(--fs-p-small); line-height: 1.6; color: var(--text-dim); margin: 0; }
@media (max-width: 1150px) { .plain-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .plain-body { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); } }
@media (max-width: 680px) { .plain-terms { grid-template-columns: minmax(0, 1fr); } .plain-terms-h { margin-top: var(--s-5); } }

/* in-text links between technology pages — quiet, so a paragraph with three of
   them still reads as prose */
.tlink { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--muted-text); transition: color var(--dur-fast), text-decoration-color var(--dur-fast); }
.tlink:hover { color: var(--navy); text-decoration-color: currentColor; }

/* ==== form.css ==== */
/* ── forms ──────────────────────────────────────────────────────────────────
   Enqueued wherever a form appears. The base field rules below serve the portfolio
   PDF form on /work; the contact section, at the foot of this file, draws its own
   in-field controls over them. Everything resolves to the design-system tokens in
   base.css. */
.form-body { padding: 32px 32px 32px; }
/* The frame's field is 44 tall on 20px of inset with the value at 16 (1315:2010),
   and the groups sit 24 apart. Ours drew 58 — 18px type on 16px of padding — which
   put the card 42px longer over three fields before anything else was counted.
   44 is also exactly §17's floor for a touch target, so this is as tight as it goes. */
.form-body input, .form-body select, .form-body textarea { width: 100%; font-family: var(--ff); font-size: var(--fs-p-small); color: var(--ink); background: #fff; border: 1px solid var(--card-border); border-radius: var(--r-sm); padding: 11px 20px; margin-bottom: 24px; }
.form-body textarea { min-height: 120px; resize: vertical; padding-top: 14px; }
/* The dropdown draws the site's own chevron — the one in the nav — on the field's
   20px inset. Left to the browser it was the system arrow, a different glyph on every
   platform, pressed against the right border. */
.form-body select { -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='%2304113A' fill-rule='evenodd' clip-rule='evenodd' d='M3.705 5.105a.7.7 0 0 1 .99 0L7 7.41l2.305-2.305a.7.7 0 1 1 .99.99l-2.8 2.8a.7.7 0 0 1-.99 0l-2.8-2.8a.7.7 0 0 1 0-.99Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; background-size: 14px 14px; }
.form-body ::placeholder { color: var(--ink); opacity: 0.8; }
/* The amber border marks focus for everyone; the outline is only suppressed for a
   pointer focus. It used to be suppressed for both — and because form.css loads
   after base.css at equal specificity, it beat the :focus-visible ring there and
   left every field on 121 pages with no keyboard focus indicator at all (§17). */
.form-body input:focus, .form-body select:focus, .form-body textarea:focus { border-color: var(--amber); }
.form-body input:focus:not(:focus-visible), .form-body select:focus:not(:focus-visible), .form-body textarea:focus:not(:focus-visible) { outline: none; }
/* One focus indicator, and it is gold. A text field is :focus-visible even under a
   mouse, so base.css's navy ring drew on every click — a thin amber border inside a
   thick navy one. The ring is replaced, not removed: the amber border plus a 3px
   amber halo, which is what a keyboard user gets too (§17). */
.form-body input:focus-visible, .form-body select:focus-visible, .form-body textarea:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(255,189,14,0.35); }

/* form labels — placeholders alone vanish the moment someone starts typing,
   which leaves the field unidentifiable on review and unusable to a screen reader */
.form-body label { display: block; font-size: var(--fs-p-small); font-weight: 600;
  color: var(--ink); margin-bottom: 7px; }
/* the required marker carries meaning, so it cannot be amber-on-white (1.67:1) —
   the system resolves accent-as-text on light backgrounds to navy */
.form-body label .req { color: var(--ink); }
.form-body ::placeholder { color: var(--muted); opacity: 1; }
/* the legal line is the last thing read before submitting, and it was the least
   readable text in the form: 12px of --muted on a phone */
/* The frame's marketing opt-in (unchecked, optional). It sits above the consent
   copy, the way the frame stacks them. 24px of box is short of §17's 44 on its own,
   so the label carries the target: the whole row is clickable, not just the square. */
/* .form-body .form-optin, not .form-optin: `.form-body label` above is 0,1,1 and this
   was 0,1,0, so display:flex, align-items and gap were all being dropped and the label
   stayed a block. What looked like an 8px gap was the whitespace between the tags. */
/* The 44px target comes from 24px of padding under the text rather than a 44px
   min-height (QA): min-height left 22px of slack under a one-line label and none under
   a wrapped one, so the consent line sat 32px below it on desktop and 10px on a phone.
   Now it is ~34px below at every width, and the target is 46px+. */
.form-body .form-optin { display: flex; align-items: flex-start; gap: var(--s-1);
  cursor: pointer; min-height: 0; padding-bottom: var(--s-3); margin-top: 8px; }
/* .form-body label is a field caption — 600 and navy. This one is a sentence beside
   a checkbox, so it takes the supporting tone the frame gives it. */
.form-body .form-optin span { font-size: var(--fs-p-small); font-weight: 400; color: var(--text-dim); line-height: 1.4; }
/* The box matches the text it sits beside — 16px of --fs-p-small — rather than
   standing 4px taller than it. align-items is flex-start, not center, because the
   sentence wraps on a narrow screen and a centred box then floats between the lines.
   2.5px is measured, not derived: the text's ink box is 21px inside a 22.4px line
   box, so the arithmetic answer of 3.2px lands half a pixel low. This centres the
   box on the FIRST line whether the sentence takes one line or three. */
.form-body .form-optin input { width: 16px; height: 16px; flex-shrink: 0; margin: 2.5px 0 0;
  accent-color: var(--navy); cursor: pointer; }
.form-consent { font-size: var(--fs-p-small); color: var(--text-dim); line-height: 1.65; margin: 0 0 24px; }
.form-consent a { color: var(--ink); text-decoration: underline; }

/* ── form submit states ─────────────────────────────────────────────────────
   Replaces the form body once the request is actually accepted, so the visitor
   gets a confirmation instead of the old silence after a mailto: submit. */
.form-state { padding: 8px 0 2px; }
.form-state h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 500; margin-bottom: 8px; }
.form-state p { font-size: var(--fs-p-small); color: var(--text-dim); line-height: var(--lh-p); }
.form-state .btn { margin-top: var(--s-3); }
/* The tick and the headline are one row, centred on each other. The tick used to be
   an inline box nudged by a fixed vertical-align: -6px, which was measured against
   one heading size — so it sat low at every size, and lower still on a phone. */
.form-state.is-ok h3 { display: flex; align-items: center; gap: var(--s-2); }
.form-state.is-ok h3::before { content: "✓"; display: grid; place-items: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%; line-height: 1;
  background: var(--amber); color: var(--navy); font-size: var(--fs-h6); }
.form-state.is-err { margin-top: 16px; padding: 16px 24px; border-radius: var(--r-md);
  background: var(--amber-soft); border: 1px solid var(--card-border); }
.form-state.is-err h3 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.form-state-mail { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
form.is-sending button[type="submit"] { opacity: .6; cursor: progress; }
/* the honeypot must be unreachable for people but present for bots */
.form-body .hp { position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* the one secondary action, identical on every form: proof + the booking path */


/* the other ways to talk: labelled links, each with its own 16px mark after the words */
.ca-links { display: flex; align-items: center; gap: var(--s-1) var(--s-3); flex-wrap: wrap; }   /* row-gap 8: wrapped, the 24 + the touch padding put the two links 54px apart (QA) */
.ca-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-p-small);
  color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ca-ic { width: 16px; height: 16px; flex-shrink: 0; }
.ca-link, .form-consent a, .form-state-mail { transition: text-decoration-color var(--dur-fast); }
.ca-link:hover, .form-consent a:hover, .form-state-mail:hover { text-decoration-color: var(--amber); }
/* 44px of target under a finger, grown with padding so the row keeps its size (§17) */
@media (hover: none) and (pointer: coarse) {
  .ca-link { padding: 12px 0; }
}

/* ── The smallest phones (320–400px) ─────────────────────────────────────────
   Last in the file on purpose: a media query adds no specificity, so these have to
   come after every rule they adjust. At 320 the section's 32px gutter plus the card's
   32px of padding left a 192px field — the form read as cramped and "Send my request"
   needed two rows. The gutter drops to the page's ordinary 24, the card's side padding
   to 16, and the submit button takes the card's full width on one row. */
@media (max-width: 400px) {
  .form-body { padding: 24px 16px; }
  .form-body button[type="submit"] { width: 100%; white-space: nowrap; }
}

/* ── one-click questions (budget, timeline) ─────────────────────────────────
   Optional radios drawn as chips. A chip is a label, so `.form-body label`'s block
   caption style is undone here; the whole chip is the 44px target. */
.form-body .qf-chips { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.form-body .qf-chips legend { padding: 0; font-size: var(--fs-p-small); font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-body .qf-chips legend .opt { font-weight: 400; color: var(--text-dim); }
.form-body .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form-body .chip { display: inline-flex; margin: 0; font-weight: 400; cursor: pointer; position: relative; }
.form-body .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; }
.form-body .chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--card-border);
  border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: var(--fs-p-small); line-height: 1.2;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.form-body .chip:hover span { border-color: var(--navy); }
.form-body .chip input:checked + span { background: var(--amber); border-color: var(--amber); }
.form-body .chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255,189,14,0.35); border-color: var(--amber); }

/* ── what a visitor gets for getting in touch (2026-10-10) ──────────────────
   Three short promises above the reply line, each with a navy tick. */
.qh-copy .ca-offers { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: var(--s-1); }
.qh-copy .ca-offers li { position: relative; padding-left: calc(var(--s-3) + 8px); font-size: var(--fs-p); line-height: 1.45; color: var(--ink); }
.qh-copy .ca-offers li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304113A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ══ The contact section (QA #684) ══════════════════════════════════════════════
   One design on every page: the "Give us a ping!" band from the Contact frame
   (3060:2036), rendered by build.mjs (contactSection). It moved here from
   contact.css, which only /contact and the Work pages load. */
/* ── the band ──────────────────────────────────────────────────────────────── */
.qh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 571px); gap: var(--s-4); align-items: start; }   /* start, not stretch: after submit the card wraps its confirmation while the column keeps the band's height */
.qh-copy { position: relative; display: flex; flex-direction: column; min-height: 817px; }   /* the form's resting height (3060:2050): the plane and the addresses are placed absolutely, so the band must not follow a shorter form after submit (QA #154) */
.qh-head { padding-top: 16px; }
.qh-head h1 { line-height: var(--lh-h1-big); font-size: var(--fs-h1-big); font-weight: var(--fw-h1-big); color: var(--ink); margin: 0; }
.qh-head h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; color: var(--ink); margin: 0; }
.qh-head p { line-height: 1.6; font-size: var(--fs-subtitle); color: var(--ink); margin: 4px 0 0; max-width: none; }
.qh-head p + p { margin-top: var(--s-2); }   /* a page's subtitle, intro and reply line, in order */
.qh-alt { margin-top: var(--s-6); }
.qh-copy .ca-offers { margin: var(--s-4) 0 0; }   /* the offers list adds ~120px, so the plane and the addresses below sit 120 lower than the frame's 261/442 */
.qh-alt h2, .qh-alt h3 { line-height: 1.3; font-size: var(--fs-subtitle); font-weight: 400; color: var(--ink); margin: 0 0 8px; }
/* the frame's plane and dashed flight path, free-placed between the links and the
   addresses (Graphics 3060:2040 at 286,261 in the copy column) */
/* Anchored to the column's right edge, not its left (QA): left:286 is the frame's value
   for a 673px column, so as the column narrowed to 565 at 1280 the trail ran 108px
   further into the form card and its loop drew over the fields. right:-152 is the same
   spot at 1440 and keeps the trail ending at the card edge at every width. */
/* The plane and the addresses sit in .qh-fly at the column's foot (QA #684). On the
   frame's own copy they land where they always did — plane at 381, addresses at 562
   in an 817 column — and a page with more copy above pushes them down instead of
   drawing the plane over its text: 34 of air, the plane's 181, the addresses, 71. */
.qh-fly { position: relative; margin-top: auto; }
.qh-fly::before { content: ""; display: block; height: 215px; }   /* plane room — geometry, not spacing */
.qh-fly::after { content: ""; display: block; height: 71px; }
.qh-plane { position: absolute; right: -152px; top: 34px; width: 539px; height: 413px; max-width: none; pointer-events: none; }
.qh-addr { position: relative; margin: 0; display: flex; flex-direction: column; gap: var(--s-5); }
.qh-addr dt { line-height: 1.6; font-size: var(--fs-p); font-weight: 400; color: var(--ink); }
.qh-addr dd { line-height: 1.3; font-size: var(--fs-h5); font-weight: 400; color: var(--ink); margin: 8px 0 0; }
.qh-slash { font-size: var(--fs-p-small); }

/* ── the form card ─────────────────────────────────────────────────────────── */
.qform { position: relative; z-index: 1; background: var(--white); border-radius: var(--r-lg); overflow: hidden; }   /* above .qh-plane: the dashed trail runs under the card, never across it */
.qf-head { background: var(--grad-dark); color: var(--white); padding: var(--s-3) var(--s-4); }
.qf-head h2, .qf-head h3 { line-height: 1.3; font-size: var(--fs-h5); font-weight: 400; color: var(--white); margin: 0; }
.qf-head p { line-height: 1.4; font-size: var(--fs-p-small); color: var(--white); margin: 8px 0 0; max-width: none; }
.qform .form-body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding: var(--s-4); }
.qform .form-body > * { align-self: stretch; }
.qform .form-body > .btn { align-self: flex-start; }   /* 154 wide in the frame, not the card */
.form-body .qf-fields { display: flex; flex-direction: column; gap: 20px; }
/* The frame's control: label and value in one bordered box, 60 tall (Frame 39799).
   8 + 20 + 4 + 20 + 8. form.css's loose label/field rules are undone here, in a more
   specific selector, so the shared form on the other 111 pages is untouched. */
.form-body .qf-field { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px 16px; min-height: 60px;
  background: var(--off-white); border: 1px solid var(--light-border); border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.form-body .qf-field label, .form-body .qf-field .qf-label { display: block; line-height: var(--lh-label); font-size: var(--fs-label); font-weight: 600; color: var(--ink); margin: 0; }
.form-body .qf-field .req { color: var(--ink); }
.form-body .qf-field input, .form-body .qf-field select, .form-body .qf-field textarea { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent;
  line-height: var(--lh-label); font-size: var(--fs-p-small); color: var(--ink); min-height: 20px; }
.form-body .qf-field input:focus, .form-body .qf-field select:focus, .form-body .qf-field textarea:focus { border-color: transparent; }
.form-body .qf-field input:focus-visible, .form-body .qf-field select:focus-visible, .form-body .qf-field textarea:focus-visible { outline: none; box-shadow: none; }
/* one focus indicator for the whole box, the form's amber (form.css) */
.form-body .qf-field:focus-within { border-color: var(--amber); background: var(--white); box-shadow: 0 0 0 3px rgba(255,189,14,0.35); }
.form-body .qf-field:hover:not(:focus-within) { border-color: var(--mid-neutral); }
.form-body .qf-area { min-height: 120px; }
.form-body .qf-area textarea { flex: 1; min-height: 76px; resize: none; padding-top: 0; }
.form-body .qf-select select { -webkit-appearance: none; appearance: none; background-image: none; padding-right: 40px; cursor: pointer; }
.form-body .qf-select select:invalid { color: var(--text-dim); }
.qf-ic { position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); color: var(--ink); pointer-events: none; }
/* The topic dropdown (QA #711): shell.js puts a combobox over the <select> on desktop
   pointers. Closed it reads exactly as the select did; open, the list is a white card
   under the field in the menu's language: 12 radius, the light border, the soft shadow,
   rows on the lightweight hover tint, the chosen row in 600 with a tick. Phones keep the
   native picker, so none of this applies there. */
.form-body .qf-dd { cursor: pointer; }
.form-body .qf-dd select { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.form-body .qf-dd-btn { display: block; min-height: 20px; padding-right: 40px; line-height: var(--lh-label); font-size: var(--fs-p-small); color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; outline: none; }
.form-body .qf-dd-btn.is-placeholder { color: var(--text-dim); }
.form-body .qf-dd .qf-ic { transition: transform var(--dur-fast) var(--ease); }
.form-body .qf-dd.is-open .qf-ic { transform: translateY(-50%) rotate(180deg); }
.form-body .qf-dd-list { position: absolute; z-index: 30; left: -1px; right: -1px; top: calc(100% + var(--s-1)); margin: 0; padding: var(--s-1);
  list-style: none; max-height: 320px; overflow-y: auto; background: var(--white); border: 1px solid var(--light-border);
  border-radius: var(--r-md); box-shadow: var(--shadow); }
.form-body .qf-dd.is-up .qf-dd-list { top: auto; bottom: calc(100% + var(--s-1)); }
.form-body .qf-dd-list[hidden] { display: none; }
.form-body .qf-dd-list li { display: flex; align-items: center; gap: var(--s-2); padding: 12px var(--s-2); border-radius: var(--r-sm);
  line-height: var(--lh-label); font-size: var(--fs-p-small); color: var(--ink); cursor: pointer; }
.form-body .qf-dd-list li span { flex: 1; }
.form-body .qf-dd-list li.is-active { background: var(--soft-hover); }
.form-body .qf-dd-list li[aria-selected="true"] { font-weight: 600; }
.qf-dd-tick { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink); visibility: hidden; }
.form-body .qf-dd-list li[aria-selected="true"] .qf-dd-tick { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .form-body .qf-dd .qf-ic { transition: none; } }

/* the file field (File attachment input, 3070:713): default, hover, focus, file
   added and error, each the component's own; the <input> stays in the tab order */
.form-body .qf-attach { cursor: pointer; }
.form-body .qf-attach input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; min-height: 0; }
.form-body .qf-attach-row { display: flex; align-items: center; gap: 8px; line-height: var(--lh-label); font-size: var(--fs-label); color: var(--ink); }
.form-body .qf-attach .qf-ic-up { position: static; transform: none; width: 20px; height: 20px; margin: 0; color: var(--text-dim); }
.form-body .qf-attach-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-body .qf-attach-action { position: relative; z-index: 1; font-weight: 600; color: var(--text-dim); }
.form-body .qf-attach.has-file .qf-attach-name { font-weight: 600; }
.form-body .qf-attach:not(.has-file) .qf-attach-name { white-space: normal; }   /* the prompt wraps on a phone ("Add project files (opt…" at 320/375); only a file name truncates */
.form-body .qf-attach:hover:not(:focus-within) { background: var(--soft-hover); }
.form-body .qf-attach.is-err { border-color: var(--error); }
.form-body .qf-attach.is-err .qf-attach-name, .form-body .qf-attach.is-err .qf-attach-action, .form-body .qf-attach.is-err .qf-ic-up { color: var(--error); }
.form-body .qf-help { line-height: 1.4; font-size: var(--fs-p-smallest); color: var(--text-dim); margin: 8px 0 0; }
.form-body .qf-help.is-err { color: var(--error); }

.form-body .qf-legal { display: flex; flex-direction: column; gap: 12px; }
.form-body .qf-legal .form-consent { margin: 0; }
.form-body .qf-legal .form-optin { margin: 0; min-height: 0; padding-bottom: 0; }
.form-body .qf-check span { line-height: 1.5; }
/* padding 0: the touch rule's 12px of block padding on .ca-link grew this inline link's
   line to 36px inside a 24px-pitch sentence (QA). An inline link in a sentence is
   exempt from the 44px target. */
.form-body .qf-nda .ca-link { display: inline-flex; vertical-align: baseline; font-size: inherit; margin-left: 4px; padding: 0; }
.form-body .qf-nda .ca-link .ca-ic { width: 20px; height: 20px; }

/* ── narrower than the frame ───────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .qh-copy { min-height: 0; }
  .qh-plane { display: none; }
  .qh-fly { margin-top: var(--s-6); }
  .qh-fly::before, .qh-fly::after { content: none; }
}
@media (max-width: 940px) {
  .qh-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .qh-head { padding-top: 0; }
}
@media (max-width: 480px) {
  /* page gutter 16 + bar inset 24: the logo is at 40 */
  .qform .form-body { padding: var(--s-2); }
  .qf-head { padding: var(--s-3); }
  .form-body .qf-field { padding-left: 12px; padding-right: 12px; }
  .qf-ic { right: 12px; }
  .qform .btn { width: 100%; }
}

/* ── the same band, mid-page (Website AI 2.1 › Work frames end on the Contact Form
   component, 3232:5302): the section's own 96, the band's grey, left-aligned ── */
.qband { background: var(--light-bg); text-align: left; }

/* ── field errors (QA #682) ──────────────────────────────────────────────────
   shell.js writes the message under the box and links it with aria-describedby.
   The red edge is not the only signal: the sentence says what is wrong. The box
   column's 20px gap is pulled to 8 so the line reads as the field's own. */
.form-body .qf-field.is-invalid, .form-body .qf-field.is-invalid:focus-within { border-color: var(--error); }
.form-body .qf-err, .form-body .qf-count { margin: -12px 0 0; line-height: 1.4; font-size: var(--fs-p-smallest); font-weight: 500; color: var(--error-text); max-width: none; }
.form-body .qf-err[hidden], .form-body .qf-count[hidden] { display: none; }
.form-body .qf-count { font-weight: 400; color: var(--text-dim); text-align: right; }
.form-body .qf-count.is-over { font-weight: 500; color: var(--error-text); }

/* ==== work.css ==== */
/* Portfolio (Work) pages — case rows: client + facts + client voice, side by side.
   Layers on top of tech.css, which already supplies the hero, stat band and contact. */

.wk-list { margin-top: 8px; }

/* Three columns separated by hairlines, exactly as the case reads: who they are,
   what the engagement looked like, what they said about it. */
.wk-case { display: grid; grid-template-columns: 1.73fr 1fr 1fr; align-items: stretch; padding: 0 0 64px; margin-bottom: 64px; border-bottom: 1px solid var(--card-border); }
.wk-list .wk-case:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.wk-col { display: flex; flex-direction: column; min-width: 0; padding: 0 32px; }
.wk-col:first-child { padding-left: 0; }
.wk-col:last-child { padding-right: 0; }
.wk-col + .wk-col { border-left: 1px solid var(--card-border); }

/* the strip above the hairline: industry + country on the left column, platforms on the middle one */
/* Fixed height, not min-height: the three columns hold different things (text +
   flag / platform icons / nothing) and a min-height let each one settle at its own
   size, so the rule underneath sat lower in the first column than in the other two. */
.wk-cap { display: flex; align-items: center; gap: 8px; height: 44px; padding-bottom: 16px; margin-bottom: 32px; border-bottom: 1px solid var(--card-border); }
.wk-col:first-child .wk-cap { justify-content: space-between; }
.wk-tag { font-size: var(--fs-p-small); color: var(--ink); }
.wk-country { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-p-small); color: var(--ink); }
.wk-flag { width: 20px; height: 14px; border-radius: var(--r-pill); flex-shrink: 0; box-shadow: 0 0 0 1px rgba(4,17,58,0.10); }
.wk-plat { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.wk-preview { display: inline-flex; align-items: center; gap: var(--s-1); margin-left: auto;
  background: #fff; border-radius: var(--r-sm); padding: var(--s-1) var(--s-2);
  font-size: var(--fs-btn-sm); font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur), transform var(--dur) var(--ease); }
.wk-preview svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform var(--dur-morph) var(--ease); }
.wk-preview:hover { box-shadow: var(--shadow); }
.wk-preview:hover svg { transform: rotate(45deg); }

/* The h3 role (§05), not h2-bigger: at 48/400 the project names out-sized the 36px
   "Case studies" h2 they sit under — the only Work page where a title outranked its
   section (Victor, 2026-10-07: "everything should be aligned"). */
.wk-col h3 { font-size: var(--fs-h4); font-weight: 400; line-height: var(--lh-h4); color: var(--ink); margin-bottom: 24px; overflow-wrap: break-word; }
.wk-col h3 + p { font-size: var(--fs-p-small); line-height: 1.65; color: var(--text); margin: 0; }

/* Facts — one row per number, hairline-separated so they scan like a spec sheet. */
.wk-fact { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--card-border); }
.wk-fact:last-child { border-bottom: none; padding-bottom: 0; }
/* the small tile of the same family: 24 in a 48px tile is 16 in a 32px one */
.wk-fact .wk-ic > svg { width: 16px; height: 16px; }
.wk-fact .wk-ic { width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--amber-soft); color: var(--ink); }
.wk-fact p { font-size: var(--fs-p-small); line-height: 1.4; color: var(--text-dim); margin: 0; }
.wk-fact b { font-weight: 600; color: var(--ink); }

/* Client voice */
.wk-quote { font-size: var(--fs-p); font-style: italic; line-height: 1.55; color: var(--ink); margin: 0 0 auto; }
.wk-by { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--card-border); }
.wk-by b { display: inline-block; font-size: var(--fs-descriptor); font-weight: 700; color: var(--ink); margin-right: 8px; }
.wk-stars { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; }
/* Clutch's stars in Clutch's red, the same call the homepage and Work Master
   already took — amber here reads as our own accent rating our own work. */
.wk-stars svg { width: 13px; height: 12px; color: var(--clutch-red); }   /* the design's star is 11:10, not square */
.wk-stars svg.off { color: var(--light-border); }
.wk-stars small { margin-left: 7px; font-size: var(--fs-p-smallest); color: var(--muted); }
.wk-by > small { display: block; font-size: var(--fs-p-smallest); line-height: var(--lh-h6); color: var(--muted); margin-top: 4px; }

/* Shown instead of a quote when the client did not leave one publicly. */
.wk-note { margin-top: auto; border: 1px solid var(--card-border); border-radius: var(--r); background: var(--grad-card); padding: 24px; }
.wk-note p { font-size: var(--fs-p-small); line-height: 1.5; color: var(--text); margin: 0 0 16px; }
.wk-note ul { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.wk-note li { font-size: var(--fs-p-smallest); font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--card-border); border-radius: var(--r-pill); padding: 5px 16px; }
/* Roles, when the engagement is defined by the seniority we placed rather than a headcount. */
.wk-roles { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.wk-roles li { font-size: var(--fs-p-smallest); font-weight: 600; color: var(--ink); background: var(--amber-soft); border-radius: var(--r-pill); padding: 5px 16px; }

/* ══ Project showcases (tech / agency portfolios) ══════════════════════════ */

.wk-shot { display: block; background: var(--grad-card); overflow: hidden; }
.wk-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Where a project has a motion reel it takes the still's place in the same
   frame, so the grid keeps its rhythm whether a clip exists or not. */
.wk-shot video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Lead project: the story on the left, the product on the right. */
.wk-feat { display: grid; grid-template-columns: 0.92fr 1.18fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.wk-feat .wk-shot { aspect-ratio: 16 / 10; border: 1px solid var(--card-border); border-radius: var(--r-lg); }
.wk-feat h2 { font-size: var(--fs-h2); font-weight: 400; line-height: var(--lh-h2); color: var(--ink); margin-bottom: 16px; }
.wk-feat > div > p { font-size: var(--fs-p-small); line-height: 1.65; color: var(--text); margin: 0 0 24px; }
.wk-feat .wk-quote { font-size: var(--fs-p-small); border-left: 2px solid var(--amber); padding-left: 24px; margin: 0 0 24px; }

.wk-projs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.wk-proj { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--card-border); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow var(--dur) ease, transform var(--dur) ease; }
.wk-proj:hover { box-shadow: var(--shadow); }
.wk-proj .wk-shot { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--card-border); }
.wk-proj-body { display: flex; flex-direction: column; flex: 1; padding: 24px 32px 32px; }
.wk-proj-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.wk-proj h3 { font-size: var(--fs-h4); font-weight: 500; line-height: var(--lh-h4); color: var(--ink); margin-bottom: 8px; }
.wk-proj h3 a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: text-decoration-color var(--dur-fast); }
/* the title is the link and the whole card is its target */
.wk-proj:has(h3 a) { position: relative; }
.wk-proj h3 a::after { content: ""; position: absolute; inset: 0; }
.wk-proj h3 a:hover { text-decoration-color: var(--amber); }
.wk-proj p { font-size: var(--fs-p-small); line-height: 1.6; color: var(--text); margin: 0 0 24px; }
.wk-svc { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: auto 0 0; padding: 0; }
.wk-svc li { font-size: var(--fs-p-smallest); color: var(--muted-text); background: var(--off-white); border-radius: var(--r-pill); padding: 5px 16px; }

/* Client voices */

@media (max-width: 940px) {
  .wk-feat { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .wk-projs { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .wk-proj-body { padding: 24px 24px 24px; }
}

/* ══ Single case study ═════════════════════════════════════════════════════ */

/* A case study reads like a document, not a landing page — so the hero is
   left-aligned and the copy measure is capped, unlike the section heroes. */
/* Case hero: centred, like every other hero on the site.
   It used to be left-aligned inside a 1380px wrap with the h1 clamped to 15ch,
   so every title broke onto three lines and two thirds of the band sat empty
   for no reason a reader could see. Centring removes the empty side without
   adding anything, and matches the service and section heroes. */
/* ── Case study hero (1416:15) ────────────────────────────────────────────────
   The project's own artwork, full bleed, under the frame's navy scrim, with the
   client name, the lead and the two actions sitting on its lower left. It used to
   be a light centred hero carrying a breadcrumb, a tag, a flag, the client logo
   and a Clutch line; the frame keeps none of those and moves the breadcrumb out
   from under the nav to the top of the article. */
/* the index hero takes the same title role as the case pages it lists (1351:5) */
#top.hero .wrap h1.cs-title { line-height: var(--lh-h1-big); font-size: var(--fs-h1-big); font-weight: var(--fw-h1-big); }
.hero.case-hero { display: flex; align-items: flex-end; min-height: 748px;
  padding: var(--s-8) 0 var(--s-5); text-align: left; background: var(--navy); }
.hero.case-hero > .wrap { width: 100%; }
/* The frame runs this template on a narrower column than the rest of the family:
   1200 for the article and the closing band (1416:27, 1416:16), 1220 for the hero
   copy (1416:61), against the 1280 the master pages use. tech.css opens .wrap to
   1428 for the whole family, so both have to be taken back here. */
.hero.case-hero > .wrap { max-width: 1248px; }   /* the article's column, so the hero copy and the breadcrumb share one left edge (was 10px apart) */
.case-sec > .wrap { max-width: 1248px; }
.case-hero-media { position: absolute; inset: 0; z-index: 0; }
.case-hero-media img, .case-hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The frame's stops are 10% at the top, 67% at two thirds, solid navy at the foot
   (1416:15) — drawn over one particular dark collage. Over the nine plates we
   actually ship, several of them near-white UI screenshots, that left the white
   headline at 3.59:1. §17 outranks the frame on contrast, so the shape is the
   frame's and the floor is raised until the worst plate clears 4.5:1. */
.case-hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,17,58,0.22) 0%, rgba(6,20,62,0.84) 58%, var(--navy) 100%); }
.hero.case-hero > .wrap { position: relative; z-index: 1; }
.case-hero h1 { max-width: none; margin: 0 0 var(--s-3); line-height: var(--lh-h1-big); font-size: var(--fs-h1-big); font-weight: var(--fw-h1-big); color: #fff; }
.case-hero .lead { max-width: 789px; margin: 0 0 48px; font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); color: #fff; }
.case-hero .lede-actions { justify-content: flex-start; }

/* The trail is its own row above the article now, not a line under the nav. */
.case-crumb { display: flex; align-items: center; gap: var(--s-1); margin-bottom: var(--s-3);
  font-size: var(--fs-p-small); line-height: 1.8; color: var(--text-dim); }
/* the global a { color: --ink } beats the row's inherited colour, so the links
   have to take it back — the frame paints the whole trail #667085 (1416:55) */
.case-crumb a { color: inherit; }
.case-crumb a:hover { color: var(--ink); text-decoration: underline; }
.case-crumb span { color: var(--light-border); }
.case-crumb b { font-weight: 400; color: var(--text-dim); }
/* A phone wraps the trail between its items, never inside one ('Case / studies'). */
.case-crumb { flex-wrap: wrap; row-gap: 0; }
.case-crumb > a, .case-crumb > span { white-space: nowrap; }

/* The payoff sits directly under the hero, before anyone has to scroll for it. */
/* It used to ride up over the light hero by 48px. The frame puts the breadcrumb
   directly under the hero, so the pull-up now covers the trail — the band is a
   normal row inside the article. */
.case-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px;
  background: var(--card-border); border: 1px solid var(--card-border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s-4); box-shadow: var(--shadow); }
.case-results > div { background: #fff; padding: 32px 32px; }
.case-results b { display: block; font-size: var(--fs-h2-big); font-weight: 500; line-height: 1; color: var(--ink); }
.case-results span { display: block; margin-top: 16px; font-size: var(--fs-p-small); line-height: 1.45; color: var(--text-dim); }
.case-results small { display: block; margin-top: 8px; font-size: var(--fs-p-smallest); color: var(--muted); }

/* the article and its sticky "At a glance" card */
.case-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.case-body > section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--card-border); }
.case-body > section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.case-body h2 { font-size: var(--fs-h2); font-weight: 400; line-height: var(--lh-h2); margin-bottom: var(--s-3); }
.case-body p { font-size: var(--fs-p); line-height: 1.8; color: var(--text-dim); margin-bottom: var(--s-3); }
.case-body p:last-child { margin-bottom: 0; }
/* the frame sets the closing line in navy at the same size, not as a rule-and-italic
   pull quote — it reads as the section's conclusion, which is what it is */
.case-body .case-pull { font-size: var(--fs-p-small); font-weight: 500; line-height: 1.8; color: var(--ink); margin: var(--s-3) 0 0; }
.case-body figure { margin: var(--s-5) 0 0; }
.case-body .case-shot { display: block; width: 100%; height: auto; aspect-ratio: 816 / 510; object-fit: cover;
  border: 1px solid var(--card-border); border-radius: var(--r-lg); }
/* a screenshot that already carries its own browser frame: cropping it to 816/510
   cuts the frame's top bar off, so it keeps its own proportions and border */
.case-body .case-shot.is-framed { aspect-ratio: auto; border: 0; }
.case-body .case-shot.is-phone { max-width: 300px; margin: 0 auto; }
/* "Key features": two-up title + line pairs. Titles sit at body size and weight 500,
   under the section's h2 (the type-hierarchy rule) */
.case-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.case-feats li { border-top: 1px solid var(--card-border); padding-top: var(--s-3); }
.case-feats b { display: block; font-size: var(--fs-p); font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: var(--s-1); }
.case-feats span { display: block; font-size: var(--fs-p-small); line-height: 1.7; color: var(--text-dim); }
.case-body h3 { font-size: var(--fs-h5); font-weight: 400; line-height: var(--lh-h5); color: var(--ink); margin: var(--s-4) 0 var(--s-2); }
@media (max-width: 680px) { .case-feats { grid-template-columns: 1fr; } }

/* Facts stay in view while the narrative scrolls past them. The frame draws the
   panel with no heading over it and no button under it (1416:27 › Key Info) —
   five label/value pairs, nothing else, on the approved card gradient. */
.case-meta { position: sticky; top: 114px; border: 1px solid var(--card-border); border-radius: var(--r-lg); background: var(--grad-card); padding: var(--s-4); }
.case-meta dl { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin: 0; }
.case-meta dl > div { display: grid; gap: var(--s-1); }
.case-meta dt { font-size: var(--fs-p-small); line-height: 1.2; color: var(--text-dim); }
.case-meta dd { margin: 0; line-height: var(--lh-subtitle); font-size: var(--fs-subtitle); font-weight: 500; color: var(--ink); }
/* engagement and services link to their service pages (SEO audit, Nov 2026: case studies had no link to a service) */
.case-meta dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--light-border); text-underline-offset: 4px; transition: text-decoration-color var(--dur-fast); }
.case-meta dd a:hover { text-decoration-color: var(--amber); }

/* ── The closing band (1416:16) ───────────────────────────────────────────────
   Two actions on the approved grey, in place of the "More of our work" trio and
   the full contact form the page used to end on. */
.case-cta { text-align: center; background: var(--grad-gray); }
.case-cta h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; color: var(--ink); margin-bottom: var(--s-1); }
.case-cta p { font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); color: var(--text-dim); margin-bottom: var(--s-4); }
.case-cta .lede-actions { justify-content: center; }

@media (max-width: 940px) {
  .hero.case-hero { padding-bottom: 64px; }
  .case-hero h1 { max-width: none; }
  .case-results { grid-template-columns: 1fr; }
  .case-results > div { padding: 24px 24px; }
  .case-split { grid-template-columns: 1fr; gap: 48px; }
  .case-meta { position: static; }
}

.wk-outro { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border: 1px solid var(--card-border); border-radius: var(--r-lg); background: var(--grad-card); padding: 48px 48px; }
/* the frame gives this band the section-title role over the subtitle role,
   not an h3 over compact copy (1504:6098) */
.wk-outro h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; margin-bottom: var(--s-1); }
.wk-outro p { font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); color: var(--text-dim); margin: 0; }

/* ── Tablet: the client column takes the full width, facts and voice split below ── */
@media (max-width: 1023px) {
  .wk-case { grid-template-columns: 1fr 1fr; }
  .wk-col { padding: 0; }
  .wk-col + .wk-col { border-left: none; }
  .wk-col:first-child { grid-column: 1 / -1; padding-bottom: 32px; }
  .wk-col:nth-child(2), .wk-col:nth-child(3) { padding-top: 32px; border-top: 1px solid var(--card-border); }
  .wk-col:nth-child(3) { padding-left: 32px; margin-left: 32px; border-left: 1px solid var(--card-border); }
  .wk-col:nth-child(2) .wk-cap, .wk-col:nth-child(3) .wk-cap { display: none; }
}

/* ── Phone: one column, hairlines become the rhythm ── */
@media (max-width: 680px) {
  .wk-case { grid-template-columns: 1fr; padding-bottom: 48px; margin-bottom: 48px; }
  .wk-col:nth-child(3) { padding-left: 0; margin-left: 0; border-left: none; }
  .wk-col:first-child { padding-bottom: 24px; }
  .wk-col:nth-child(2), .wk-col:nth-child(3) { padding-top: 24px; }
  .wk-col:first-child .wk-cap { justify-content: flex-start; }
  .wk-col h3 { margin-bottom: 16px; }
  .wk-outro { padding: 32px 24px; }
}

/* Client mark above the name. Heights are normalised rather than widths, so marks
   with very different aspect ratios still read as one row of logos. */
.wk-logo { display: block; height: 38px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; margin-bottom: 24px; }
/* Compact / stacked marks need more height than a wide wordmark to carry the same
   visual weight next to one another. */
.wk-logo-tall { height: 54px; }
/* Veilleurr only publishes their wordmark reversed out of navy — used as the plate it is. */
.wk-logo-plate { border-radius: var(--r-pill); }
@media (max-width: 680px) {
  .wk-logo { height: 32px; margin-bottom: 16px; }
  .wk-logo-tall { height: 44px; }
}

/* Case-study visuals — 760x475 frames from the design file, so a fixed 1.6 ratio. */
.case-shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--card-border); border-radius: var(--r-lg); background: var(--grad-card); }
.case-body figure { margin: 24px 0 0; }
/* A clip carries its own proportions. The stills were all cut to 1.6; forcing a
   4:3 dashboard recording or a 16:9 render into that frame crops the subject
   out, so a video sizes from its own width/height attributes instead. */

/* ══ Case-study grid head (the grid itself is .pf-grid) ═══════════════════════ */

.reel-head { position: relative; }   /* the head over the case-study grid; the name outlived the reel */
.reel-head .sec-head { margin-bottom: var(--s-5); }

/* Touch targets: these controls draw at the size the design file specifies,
   which is comfortable under a mouse and short of the 44px a finger needs.
   Adding a minimum height leaves the padding and the look untouched. */
@media (hover: none) and (pointer: coarse) {
  .case-crumb a, .case-crumb b { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 680px) {
  /* the last fact had its bottom padding stripped for the desktop column, where
     nothing follows it; stacked, the next block's hairline sat on the icon */
  .wk-fact:last-child { padding-bottom: 16px; }
}
@media (max-width: 340px) {
  .wk-outro p { font-size: var(--fs-p-small); line-height: 1.5; }
}

/* ── Portfolio showcase — Website AI 2.1 › Work frames ────────────────────────
   Featured_Nomaka (3359:9650): a white card, 40 of padding, copy beside a 582x400
   visual, sides alternating. Case Study Image Container (3359:9616): three-up cards,
   a 380-tall image over the copy. CTA See all projects (3359:8619): the gradient card
   that closes every portfolio page and every case study. The frame's 40s are the
   scale's 48 and 32; its 30 gutter is 32. Off-palette #eaedf1 tags → --light-bg. */
.pf-stack { display: flex; flex-direction: column; gap: var(--s-4); }
.pf-feat { display: grid; grid-template-columns: minmax(0, 1fr) 582px; gap: var(--s-5); align-items: center;
  background: var(--white); border: 1px solid var(--light-border); border-radius: var(--r-lg); padding: calc(var(--s-2) + var(--s-3)); }   /* the frame's 40 */
.pf-feat.flip { grid-template-columns: 582px minmax(0, 1fr); }
.pf-feat.flip .pf-visual { order: -1; }
/* height:auto, or the <img height> attribute wins over the aspect-ratio and the card grows to the file's own height */
.pf-visual { display: block; width: 100%; height: auto; aspect-ratio: 582 / 400; object-fit: cover; object-position: top center; border-radius: var(--r-lg); background: var(--grad-card); }
.pf-cat { line-height: 1.4; font-size: var(--fs-p-small); color: var(--text-dim); margin: 0; max-width: none; }
.pf-feat h2, .pf-feat h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; color: var(--ink); margin: 8px 0 0; }
/* the case-studies spotlight: the same featured card, one step down in type (h3, under
   the section's own h2) and sitting above the grid it was taken out of */
.cs-spot { margin-bottom: var(--s-4); }
.cs-spot h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; color: var(--ink); margin: 8px 0 0; }
.cs-spot .cs-label { margin-bottom: var(--s-2); }
.cs-spot .pf-tags { margin-top: var(--s-3); }
.cs-spot .pf-link { display: inline-flex; margin-top: var(--s-4); }
.pf-desc { line-height: 1.6; font-size: var(--fs-p-small); color: var(--ink); margin: var(--s-3) 0 0; max-width: none; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s-3) 0 0; }
.pf-tags li { line-height: 1.2; font-size: var(--fs-label); color: var(--ink); background: var(--light-bg); border-radius: var(--r-pill); padding: 6px calc(var(--s-1) + 4px); }   /* the frame's 6/12 */
.pf-link { margin-top: var(--s-3); }
.pf-link .ca-ic { width: 20px; height: 20px; }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.pf-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--light-border); border-radius: var(--r-lg); overflow: hidden; }
.pf-card[hidden] { display: none; }
.pf-media { display: block; width: 100%; height: auto; aspect-ratio: 405 / 380; object-fit: cover; object-position: top center; background: var(--grad-card); }
.pf-card-body { display: flex; flex-direction: column; flex: 1; padding: calc(var(--s-2) + var(--s-3)) calc(var(--s-2) + var(--s-3)) var(--s-5); }   /* 40 / 40 / 48, as drawn */
.pf-card-body h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; color: var(--ink); margin: 8px 0 0; }
.pf-card-body h3 a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--dur-fast); }
.pf-card-body h3 a:hover { text-decoration-color: var(--amber); }
.pf-card-body .pf-tags { margin-top: auto; padding-top: var(--s-3); }
.pf-card-body .pf-link { margin-top: auto; padding-top: var(--s-3); align-self: flex-start; }   /* links share one baseline across a row */
.pf-more { text-align: center; margin: var(--s-6) 0 0; }
.pf-more[hidden] { display: none; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); background: var(--grad-card); border-radius: var(--r-lg); padding: var(--s-5); }
.cta-card h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; color: var(--ink); margin: 0; }
.cta-card p { line-height: 1.3; font-size: var(--fs-subtitle); color: var(--text-dim); margin: 8px 0 0; max-width: none; }
.cta-card .btn { flex-shrink: 0; }
@media (max-width: 1100px) {
  .pf-feat, .pf-feat.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4); }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .pf-feat, .pf-feat.flip { grid-template-columns: 1fr; }
  .pf-feat.flip .pf-visual, .pf-feat .pf-visual { order: -1; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-feat, .pf-feat.flip { padding: var(--s-3); }   /* .flip is (0,2,0); a bare .pf-feat here lost to the 1100 rule */
  .pf-card-body { padding: var(--s-3); }
  .cta-card { padding: var(--s-4) var(--s-3); }
}

/* ── the Work frames' hero (3372:10830, 3114:1869, 1351:5, 3082:5278) ───────────
   960 tall on the card gradient, content from y=284: pill, 48/700 title on one or two
   lines, 16/26 lead in an 800 column, the frame's button(s) 40 below, the Clutch line
   40 under those at 14/20. No perspective grid — the frame draws a flat gradient. */
.hero.wk-hero { min-height: 960px; padding: 284px 0 var(--s-7); background: var(--grad-card); align-items: flex-start; }   /* tech.css centres hero copy; the frame pins it at 284 */
.wk-hero .wrap > * { max-width: 800px; margin-left: auto; margin-right: auto; }
/* Type is the site's hero role, not the frame's: the frame sets DM Sans Bold 48 with a
   16/26 lead and a 14 proof line, which no other hero on the site uses — §05 wants one
   typography per role and no weight variation for emphasis. So: 54/500 (h1-big), the
   20px lead at 1.2, the 15px proof with its bold numbers, exactly as /tech/* draw them.
   The frame's geometry (960, copy from 284, one button, 40s between blocks) stays. */
.wk-hero h1 { margin: var(--s-3) auto; }
.wk-hero .lead { margin: 0 auto; }
.wk-hero .lede-actions { margin-top: calc(var(--s-2) + var(--s-3)); gap: var(--s-3); }
.wk-hero .hero-proof { margin-top: calc(var(--s-2) + var(--s-3)); }
@media (max-width: 940px) {
  .hero.wk-hero { min-height: 0; padding-top: var(--hero-pt); }
}
/* "FEATURED CASE STUDY" (3094:2059): 16/500 uppercase, first in the copy column */
.cs-label { line-height: 1.3; font-size: var(--fs-p-small); font-weight: 500; text-transform: uppercase; letter-spacing: normal; color: var(--ink); margin: 0; max-width: none; }
/* the reel head sits left with the arrows at the right (1354:376) */
.reel-head .sec-head { text-align: left; margin-left: 0; max-width: 710px; }
.reel-head .sec-head h2 { font-weight: 400; }
.reel-head .sec-head p { margin: 4px 0 0; }
/* the individual case (3351:6016): 18/500 key-info values; the hero title keeps its own 48/700 from work.css above */
.case-meta dd { font-size: var(--fs-p); line-height: 1.3; }
/* the case hero is the frame's 960 too (3351:5992), copy ending 77 above the floor */
.hero.case-hero { min-height: 960px; padding-bottom: calc(var(--s-4) + var(--s-5)); }
@media (max-width: 940px) { .hero.case-hero { min-height: 0; padding-bottom: var(--s-6); } }
/* pill → title is one 24 in the frame; the pill's own bottom margin was stacking with the title's */
.wk-hero .hero-pill { margin-bottom: 0; }
.case-hero .lead { line-height: 1.3; }   /* 20/26 (3351:6041) */

/* the odd card out at two-up spans the row on its side (see the note in tech.css).
   Counted over the visible cards only: the filter and "show more" hide and reveal
   cards, so :last-child would miss. 17 = half the 32px gap plus the 1px border. */
@media (min-width: 681px) and (max-width: 1100px) {
  .pf-grid > .pf-card:nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) {
    grid-column: 1 / -1; display: grid; grid-template-columns: calc(50% - 17px) minmax(0, 1fr); }
  .pf-grid > .pf-card:nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) > .pf-media { height: 100%; }
}
/* the three related case studies at the foot of a case study use .pf-grid as is (2026-10-10) */
.pf-grid.case-more { margin-top: 0; }

/* the portfolio-PDF offer on /work and /work/case-studies (2026-10-10) */
.pdf-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: var(--s-5); align-items: center;
  background: var(--grad-card); border: 1px solid var(--card-border); border-radius: var(--r-lg); padding: var(--s-5); }
.pdf-copy h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; color: var(--ink); margin: 0; }
.pdf-copy p { margin: var(--s-2) 0 0; font-size: var(--fs-p); line-height: var(--lh-p); color: var(--text-dim); max-width: 560px; }
.pdf-form { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--card-border); }
.pdf-form .form-body { padding: var(--s-4); }
@media (max-width: 940px) { .pdf-offer { grid-template-columns: 1fr; padding: var(--s-4); } }
@media (max-width: 480px) { .pdf-offer { padding: var(--s-3); } .pdf-form .form-body { padding: var(--s-3); } }

/* ==== contact.css ==== */
/* ── /contact — Website AI 2.1 › Contact (3060:2036) ─────────────────────────
   Two blocks the tech shell does not have: the question band (copy column, the
   paper plane, the form card with its navy header) and the team grid.
   Everything resolves to base.css tokens; where the frame drew an off-palette value
   (#eaedf1 ground, #c5d1e1 strokes, #fbfbfb fills, 10px corners) the system's
   nearest value is used instead, as §01 asks. The frame is desktop-only (§18);
   the two breakpoints below are the site's own. */

/* ── the band as a hero ───────────────────────────────────────────────────────
   The band itself (copy column, plane, form card) is the shared contact section in
   form.css (QA #684); /contact only opens with it, as its hero. */
/* .hero is kept for the header-clearance padding exemption and the shell's hero
   hooks; everything it draws for the service pages is undone here. */
.hero.qhero { background: var(--light-bg); text-align: left; min-height: 0; overflow: visible;
  padding: calc(var(--hero-pt) + var(--s-6)) 0 var(--s-7); }

/* ── Trusted by ─────────────────────────────────────────────────────────────── */
/* The strip is the service pages' (tech.css); there it continues the hero's gradient.
   Here it continues the band's flat grey instead, and the grid below fades out of it. */
.qhero + .trust { background: var(--light-bg); }

/* ── The faces behind the work (team-members-grid, 3340:6116) ──────────────── */


/* ==== clients.css ==== */
/* The client-logo lattice with its call-to-action tile in the middle. It started as
   the homepage's CLIENTS band and is shared now: /work/case-studies closes its case
   list on it. Only the grid lives here; each page keeps its own section and column.
   clients.js cycles the logos CSS hides below 940. */
/* The lattice ends flush against nothing, which reads as a cut. Fading it out at the
   four edges is the same move .ai-rule already makes on its hairlines. The fade is
   40px sideways and 20 top and bottom — enough to soften the line ends, short of
   the 24px the outer cells pad their logos by. */
.clients-grid { display: grid; grid-template-columns: repeat(6, 1fr); overflow: hidden; padding-bottom: 1px;
  --edge-x: 40px; --edge-y: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--edge-x), #000 calc(100% - var(--edge-x)), transparent 100%),
                      linear-gradient(180deg, transparent 0, #000 var(--edge-y), #000 calc(100% - var(--edge-y)), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--edge-x), #000 calc(100% - var(--edge-x)), transparent 100%),
              linear-gradient(180deg, transparent 0, #000 var(--edge-y), #000 calc(100% - var(--edge-y)), transparent 100%);
  mask-composite: intersect; }
.client, .clients-cta { box-shadow: 1px 0 0 var(--card-border), 0 1px 0 var(--card-border); }
/* The frame's cell is 216.7 wide and its mark 178 of that (1315:1794), so the mark
   gets 20 either side and the rest of the cell. Ours had 24 of padding AND a further
   82% cap on top of it, which left the mark 140 — smaller than the same logo in the
   marquee at the top of the page. */
.client { display: grid; place-items: center; min-height: 106px; padding: var(--s-2) var(--s-3); }   /* 425/4 in the frame */
.client img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; opacity: .82; transition: opacity var(--dur) ease, transform var(--dur) ease; }
.client:hover img { opacity: 1; transform: scale(1.05); }
.clients-cta { grid-column: 3 / span 2; grid-row: 2 / span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 32px; text-align: center; }
/* 24px, not the 32 of an h3: the frame sets this at 24 and it has two columns to
   live in, not a section's full measure */
.clients-cta p { font-size: var(--fs-h5); font-weight: 700; color: var(--ink); line-height: var(--lh-h5); max-width: 340px; }

@media (max-width: 940px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  /* The CTA sits in the middle, two rows of logos above it and two below (Victor,
     2026-10-07). The 2x2 block at cols 2-3 was off-centre and left six rows under
     it. Full width, it is centred at every column count. Children 7-8 and 16 onwards
     are hidden so there are six logos above and six below; clients.js cycles the
     hidden eight through the visible tiles, as it does on a phone. */
  .clients-cta { grid-column: 1 / -1; grid-row: auto; }
  .clients-grid .client:nth-child(n+7):nth-child(-n+8),
  .clients-grid .client:nth-child(n+16) { display: none; }
  .client { min-height: 116px; }
}
@media (max-width: 680px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  /* Four logos above the CTA and four below it, two rows of two each. The other
     twelve are not dropped — clients.js cycles them through these eight tiles. The grid
     has 21 children: 1-8 are logos, 9 is the CTA, 10-21 are the rest. */
  .clients-grid .client:nth-child(n+5):nth-child(-n+8),
  .clients-grid .client:nth-child(n+14) { display: none; }
  .client img { transition: opacity var(--dur) ease; }
}
@media (max-width: 400px) {
  .clients-cta { padding-left: 8px; padding-right: 8px; }
}
/* a cell with the rich card keeps its mark still on hover: the card's own white copy
   is drawn over it, pixel for pixel, and a scaled original would peek out behind */
.client:hover img[data-cat] { transform: none; }
