/* GENERATED by build.mjs from base.css, shell.css, form.css, home.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); }

/* ==== 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); }

/* ==== home.css ==== */
/* home.css */
* { margin: 0; padding: 0; box-sizing: border-box; }
.hero { position: relative; padding: 156px 0 64px; text-align: center; overflow: hidden; background: var(--hero-bg); }
.hero .wrap { position: relative; z-index: 1; }
/* The hero floor — a perspective grid with amber bolts running its lines — is
   gone: the frame's first section is one flat rectangle (1315:699, #EAEDF1 from
   0 to 1342) with no pattern in it at all. --hero-bg stays #edeff3, which is 3
   points off the frame's value and is the hero grey ds-check already sanctions.
   #heroGrid went with it; shell.js's bolt spawner guards on the element and is
   inert without it. */
.hero h1 { line-height: var(--lh-h1-big); font-size: var(--fs-h1-big); font-weight: 400; margin-bottom: 24px; }   /* the frame's gap to the lead (1317:180 ends 289, 1317:181 starts 313) */
/* first line bold against the 400 second line — 700 is the weight staging renders
   the hero at, and DMSans-Bold is one of the four faces we ship */
.hero h1 .h1-strong { font-weight: 700; }
.hero h1 .slash { font-weight: 700; }   /* the frame's "/" is part of the bold run (style 225) */
.hero h1 .h1-light { font-weight: 400; }
/* same reason as .hero-proof: the muted grey measures 4.32:1 on --hero-bg, and DS 04
   only sanctions it where contrast holds. Hierarchy here comes from size, which is
   what DS 05 asks for anyway -- 22px under a 48px headline. */
/* The frame stacks the two reassurances under the button as separate centred lines,
   reply first (1317:183 at y=444, 1317:182 at y=468) — the page had them spliced into
   one sentence with the reply second and turned into a link. They are 24px apart in
   the frame, which is one line pitch: 4px of margin between two 20px lines. */
.hero .hero-reply { margin: 32px 0 0; font-size: var(--fs-descriptor); line-height: var(--lh-descriptor); color: var(--ink); }
.hero .hero-reply + .hero-proof { margin-top: 4px; }
.hero .lead { font-size: var(--fs-subtitle); line-height: var(--lh-lead); color: var(--ink); max-width: 560px; 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; }
/* No edge fade over the clip. A ::after used to feather all four sides into
   --hero-bg (56px left and right), which read as a haze over the floating cards as
   they crossed it. The clip's own backdrop is --hero-bg to the pixel on every edge —
   measured across the loop on both encodes — so there is no seam for it to hide. */
/* The strip runs edge to edge. In the frame its container is 1514 wide inside a
   1440 board (1315:847, x=29 to x=1543) — it starts near the left edge and the marks
   carry on past the right one. Ours was capped at the page's 1380 and centred, which
   made it a contained row with the logos stopping short of the screen on both sides.
   The label keeps the 32px the frame gives it; everything to its right is marquee. */
.trust { padding: 32px 0 64px; background: var(--hero-bg); }   /* the frame's rectangle covers the strip too, flat, and cuts to white at the section edge */
.trust-row { display: flex; align-items: center; gap: 48px; padding-left: max(56px, calc(50% - 638px)); }   /* the label on the column's edge, the logo's x */
/* Navy at 16, which is what the frame draws (1315:848) — and what the flat ground
   now requires: --slate on --hero-bg measures 4.32:1, under the 4.5 this size needs.
   The gradient used to carry the label over a lighter stretch and hide that; §04
   qualifies the muted tone with "where contrast remains sufficient", and here it
   is not. */
.trust-label { flex-shrink: 0; font-family: var(--ff); font-weight: 500; font-size: var(--fs-p-small); color: var(--ink); }
/* The switcher itself is the system component in base.css (DS §10). Only where it
   sits belongs to this page. */
.toggle { margin-top: 24px; }
/* The hero and the "about" block are centred compositions the frame draws on an
   1180 column (1132 of content); they keep that width under the shared 56 gutter.
   Every left-aligned section — projects, blog, FAQ, the contact band — is on
   base.css's column, the header's own. */
.hero .wrap, #about .wrap { max-width: 1244px; }
.work-toggle-wrap { text-align: center; margin: 32px 0 64px; }
.work-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.work-col { display: flex; flex-direction: column; }
.work-split::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--card-border); }
.work-col { min-width: 0; }
/* 16/400, the frame's metadata size (1317:346 and 1317:368) — the row had been at
   18/500, a weight the frame never uses here and which made the industry compete
   with the client name under it. */
.work-label { display: flex; align-items: center; gap: 16px; height: 46px; border-bottom: 1px solid var(--card-border); font-size: var(--fs-p-small); font-weight: 400; color: var(--ink); }
/* Where the client is, said the way /work and every case study already say it: the
   flag rides immediately before the industry, at the metadata's own size and colour,
   with no pill or plate around it. 12px in from the flag, 16px out to the icon — so
   the flag reads as belonging to the words, not as a third item in the row.
   The box is the design's (Figma 1317:345 is 36x20, square): 20px tall, and the
   width follows the artwork's own 10:7 rather than the placeholder's 9:5, because
   stretching a national flag to fit a box is the one thing you cannot do here.
   Square, like the frame: --r-pill was drawing the flags as lozenges, and §08's
   smallest radius is 8, which would round a 20px flag almost as badly. */
.wl-geo { display: inline-flex; align-items: center; gap: var(--s-1); min-width: 0; }
.wl-flag { width: 29px; height: 20px; flex-shrink: 0; display: block;
  box-shadow: 0 0 0 1px rgba(4, 17, 58, 0.10); }
.work-cats { justify-content: space-between; color: var(--text-dim); }
.work-cats .wc-dev { display: inline-flex; color: var(--muted); }
.work-cats .wc-dev svg { width: 24px; height: 24px; }
/* The client name is the 32px role in the frame (1317:356), not the 48px section
   headline — at 48 it outweighed "We're letting our work do the talking" above it. */
.work-split h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400; margin: 48px 0 24px; }
.work-split .work-desc { font-size: var(--fs-p-small); line-height: var(--lh-p); color: var(--text-dim); max-width: 455px; }
.work-split .work-cta { align-self: flex-start; margin-top: auto; }   /* styling comes from .btn-book */
/* a project with no case study keeps the button's room, drawn but not shown (home.js) */
.work-split .work-cta.is-empty { visibility: hidden; pointer-events: none; }
/* the text column is never shorter than the tallest slide in its tab (home.js sets it) */
.work-split > .work-col:first-child { min-height: var(--port-min, 0px); }
/* The slide change. home.js adds port-out-* for the length of --dur-fast, swaps the
   contents, and releases port-in-* in the same frame it adds it, so the new columns
   start displaced and transparent and ease to rest. The divider belongs to the frame
   and stays put; only the two columns travel. */
.work-split > .work-col { transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.work-split.port-out-next > .work-col { opacity: 0; transform: translateX(-24px); transition-duration: var(--dur-fast); }
.work-split.port-out-prev > .work-col { opacity: 0; transform: translateX(24px); transition-duration: var(--dur-fast); }
.work-split.port-in-next > .work-col { opacity: 0; transform: translateX(24px); transition: none; }
.work-split.port-in-prev > .work-col { opacity: 0; transform: translateX(-24px); transition: none; }
@media (prefers-reduced-motion: reduce) {
  .work-split > .work-col { transition: none; }
}
.work-shot { margin-top: 24px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--card-border); box-shadow: var(--shadow); background: #fff; }
.work-chrome { display: flex; align-items: center; gap: 7px; padding: 16px 16px; background: var(--light-bg); border-bottom: 1px solid var(--card-border); }
.work-chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--mid-neutral); }
.work-chrome .wc-bar { flex: 1; height: 22px; border-radius: var(--r-pill); background: #fff; margin-left: 16px; }
.work-screen { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 48px; background: linear-gradient(160deg, #ffffff, var(--light-bg)); }
.work-screen img { max-width: 60%; max-height: 110px; width: auto; object-fit: contain; }
.work-screen .wv-name { line-height: var(--lh-h3); font-size: var(--fs-h3); font-weight: 500; color: var(--ink); text-align: center; }
/* A clip fills the browser frame edge to edge — the padding exists to give a
   logo room to breathe, and a recording of the product needs no such help. */
.work-screen.has-video { padding: 0; }
.work-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-panel { position: relative; }
/* 45px = the label's content box above its 1px rule, so the 32px arrows sit on the
   label's centre line with 6.5px of air above and below — at 40 they touched the rule */
.port-arrows { position: absolute; top: 0; height: 45px; right: calc(50% + 32px); display: flex; align-items: center; gap: var(--s-1); z-index: 3; }
.port-arrows .sl-arrow { position: relative; width: 32px; height: 32px; }
.port-arrows .sl-arrow svg { width: 16px; height: 16px; }
.port-nav { display: flex; align-items: center; justify-content: center; margin-top: 48px; }
.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)); }   /* viewport-wide for the slider. A % here is of the SECTION, not of this 1440 wrap, so it is clamped to the wrap first: (min(W,1440) - 1276) / 2 is the logo's x at every width */
/* The plane hangs well below the panel and its flight path runs off the left edge.
   overflow:hidden would need ~300px of dead space under the section to avoid cutting
   it; overflow-x:clip contains the sideways overflow without becoming a scroll
   container, so the vertical overhang stays free and no horizontal scrollbar appears. */
#services { position: relative; overflow-x: clip; }
/* max-width:100% from base.css was capping this at the panel width (436px), so the
   graphic rendered at ~63% of its size */
.ay-plane { position: absolute; right: 199px; bottom: -288px; width: 690px; max-width: none; height: auto; z-index: 2; pointer-events: none; }
/* stacked, the panel is full width and anything hanging off its bottom lands on top
   of the toggle. Drop .ay-left out of the positioning chain so the plane anchors to
   the section instead and flies below the whole block. */
/* 940, not 980: between the two the grid was still two columns while the plane
   had already switched to its stacked position, and it landed on the copy */
@media (max-width: 940px) {
  #services { padding-bottom: 150px; }
  #services .ay-left { position: static; }
  .ay-plane { width: 380px; right: -70px; bottom: 20px; }
}
/* Tablet: the plane stays whole, on the left (QA #698). Stacked it had hung 70px off the
   right edge and, side by side, up to 520px off the left one, clipped both times by
   overflow-x. 300 keeps it inside the 150px already reserved under the list, on the
   column edge. Side by side it fills the panel's width in the room under the panel.
   1280 and up keeps the desktop placement. */
@media (min-width: 681px) and (max-width: 940px) {
  .ay-plane { width: 300px; left: 56px; right: auto; bottom: 10px; }
}
@media (min-width: 941px) and (max-width: 1279px) {
  .ay-plane { width: 100%; left: 0; right: auto; bottom: auto; top: calc(100% + var(--s-3)); }
}
@media (max-width: 480px) {
  .ay-plane { width: 300px; right: -50px; bottom: 30px; }
}
.ay-left, .ay-right { position: relative; z-index: 1; }
/* minmax(0, …), not bare fr: an fr track cannot shrink below its own min-content,
   so the widest word inside the left column was setting its width. Once the CTA
   label started changing with the selected tab ("Start your project" vs "Talk to a
   creative partner"), that made the column — and with it the service list beside
   it, and the height of the whole section — move on every tab switch. The split is
   the layout's decision now, not the longest label's. */
.ay-grid { display: grid; grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr); gap: 64px; align-items: stretch; }
.ay-left { display: flex; flex-direction: column; background: var(--grad-card); border-radius: var(--r-lg); padding: 48px 48px 64px; }
.ay-left h2 { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; margin-bottom: 120px; }
.ay-left p { font-size: var(--fs-p-small); line-height: var(--lh-p); color: var(--text-dim); margin-top: auto; margin-bottom: 24px; max-width: 340px; }
.ay-left .btn { align-self: flex-start; }  /* don't stretch to the column width */
/* No top inset: the two columns start on the same line. The switcher is the first
   thing in the right column and the panel is the first thing in the left one, so
   64px here dropped the tabs below the panel's top edge and the section read as
   two blocks that had slipped past each other. */
.ay-right { padding-top: 0; }
/* Between the stack (940) and about 1200 the panel is a third of a narrow row — 301px
   at 1024, 205 once its 48px of padding is taken off — and the CTA is 243, so the
   button stood out past the panel's right edge. The panel takes two fifths of the row
   here and 32px of side padding, which leaves the button 274px at the tightest. */
@media (max-width: 1200px) {
  .ay-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
  .ay-left { padding-left: 32px; padding-right: 32px; }
}
.ay-switch { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.ay-switch-label { font-size: var(--fs-p); color: var(--ink); }
.ay-right .toggle { margin: 0; }
/* the services tabs used to run 16px taller than the work tabs two sections above —
   §10 gives every instance the same internal padding and height, and the amber fill
   is the only active cue the component is allowed. What carries the state for a
   visitor who cannot separate amber from white is aria-selected, which home.js sets
   on every switch (DS §10 + §17). */
.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; }
.svc p { font-size: var(--fs-descriptor); line-height: var(--lh-descriptor); color: var(--text-dim); }
.svc-arrow { flex-shrink: 0; }
/* On hover the arrow turns and travels left to sit beside the title — the same move
   "More services" makes on the tech pages, so the two lists behave as one component.
   The spacer between title and arrow collapses its flex-grow to do it. (It was held
   to a 3px nudge here for a while; the two lists disagreeing was the worse fault.) */
.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; }
.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); }
@media (prefers-reduced-motion: reduce) {
  .svc-gap { transition: none; }
  .svc:not(.is-soon):hover .svc-gap { flex-grow: 1; }
}
/* The three lists have different lengths (8 / 6 / 6), so display:none made the
   column — and with it the panel on the left — jump 46px on every tab switch.
   Stack them in one grid cell instead: the block is always as tall as the longest
   list and only the active one is painted. */
.svc-stack { display: grid; }
.svc-stack > .svc-grid { grid-area: 1 / 1; align-content: start; }   /* rows keep their natural height instead of stretching to fill the tallest tab */
.svc-grid[hidden] { display: grid; visibility: hidden; pointer-events: none; }
/* The one-column list up to 1280 belongs to the homepage only, whose list shares its row
   with the "about you" panel. Everywhere else the list has the full column and stays
   two-up down to the site's stacking breakpoint (QA #700, #701, #702). */
@media (max-width: 940px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1280px) {
  .svc-stack > .svc-grid { grid-template-columns: minmax(0, 1fr); }
  /* one column of eight rows is ~900px tall; stretched to it the panel opened a ~480px
     hole between its heading and its copy (QA). It keeps its own height instead and
     the paper plane flies in the room under it. */
  .ay-left { align-self: start; }
}

/* Clients — the frame's 6x4 logo grid (1317:384) with the middle 2x2 merged into
   the proof card. The stylesheet has carried these rules the whole time; the markup
   went missing before the repo had history, which left the page with the sentence
   as a one-line paragraph under the project carousel and no grid at all.
   The rules between cells are drawn with box-shadow rather than borders, so the
   last column and last row leave no stray line hanging off the edge — overflow
   clips the right-hand one and the 1px of padding keeps the bottom one. */
.clients { padding: 64px 0 96px; }
/* The grid has to line up with the nav bar, and it did not: this wrap was 1340 wide
   with 32px of its own padding, so the lattice drew at 1276 against the bar's 1340 —
   32px short on each side. .nav-inner is 1340 inside header.nav's 24px, so 1388 and
   24 here puts the two on the same edge at every width, not just at 1440. */
.clients .wrap { max-width: 1388px; padding-left: 24px; padding-right: 24px; }
.passion { text-align: center; }
.passion-title { line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 400; color: var(--ink); margin-bottom: 16px; }
.passion-lottie { width: 340px; max-width: 78%; margin: 4px auto 16px; }
.passion p { font-size: var(--fs-p); color: var(--text-dim); max-width: 520px; margin: 0 auto 32px; }
/* The section carried its own blue-grey gradient, a 3px amber top rule and a row of
   dots borrowed from a slider that isn't there — three inventions the rest of the
   site does not use. It now reads like every other statement section: the canonical
   grey wash, the .overline kicker, the h2.bigger headline role, and the same
   outlined button the "Firstly, it's about you" block above it uses. */
.expect { position: relative; overflow: hidden; }
/* The default 1180 wrap started the copy 100px right of the portfolio above it and
   the bento below, so the section read as indented. 1380 on 32px padding is the
   content edge this page settles on — the same rule .cta-lightbulb and the bento
   carry, lining up with the nav card. */
.expect .wrap { max-width: 1388px; padding-left: 24px; padding-right: 24px; }   /* the nav's edge, like .clients and .bynum */
.expect-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
/* ── Expect · Access · Find ───────────────────────────────────────────────────
   The three statements staging runs as a carousel, and the only slider on the site
   that has to hand the last slide back to the first. It does not run on a track:
   the slides are stacked in a single grid cell and cross-dissolve in place, so
   3 → 1 is the same 400ms as 1 → 2 — there is no rewind to unwind and no offset to
   snap back, which is where a looping track shows its seam. The cell is as tall as
   the tallest slide, so the section never changes height either. */
/* The section clips, not the stack: clipping at .ex-stack meant the slide entered
   and left at the wrap edge, so only the middle column appeared to move while the
   section sat still around it. Clipping the section and travelling a full viewport
   width sends the whole thing off the page and brings the next one on.
   The travel is 100% of the slide, not 100vw: at a viewport's travel the two are
   more than a screen apart and the section is empty at the midpoint. At its own
   width the outgoing slide's trailing edge meets the incoming one's leading edge,
   so something is always on screen. */
/* Full-bleed, so a slide is as wide as the section it travels across. At column
   width the two are 1340 wide in a 1440 viewport, so the outgoing slide finished at
   -1290..50 and left its last 50px sitting in the gutter — the previous slide, still
   on screen. At viewport width there is no gutter for it to sit in. The copy keeps
   the column: each slide pads itself back to 1340, or to 24px when the page is
   narrower than that. */
.ex-stack { display: grid; width: 100vw; margin-left: calc(50% - 50vw); }
/* the page column (56 / 1276), not the nav bar's edge (24 / 1340): the copy is text, and
   at the bar edge it started 32px left of the logo and every other heading (QA) */
.ex-slide { padding-inline: max(56px, calc(50vw - 638px)); }
@media (max-width: 680px) { .ex-slide { padding-inline: var(--s-5); } }
@media (max-width: 480px) { .ex-slide { padding-inline: calc(var(--s-2) + var(--s-3)); } }
@media (max-width: 360px) { .ex-slide { padding-inline: calc(var(--s-2) + 4px); } }
/* A slide, not a cross-dissolve. The stack is one grid cell, so the slides need a
   direction of their own: the incoming one comes in from the right, the outgoing
   one leaves to the left, and everything else waits off-stage right. home.js marks
   the one being replaced with .is-out for exactly the length of the move. */
.ex-slide { grid-area: 1 / 1; visibility: hidden; transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease), visibility 0s linear var(--dur-slow); }
.ex-slide.is-on { visibility: visible; transform: none;
  transition: transform var(--dur-slow) var(--ease), visibility 0s; }
.ex-slide.is-out { visibility: visible; transform: translateX(-100%);
  transition: transform var(--dur-slow) var(--ease), visibility 0s linear var(--dur-slow); }
/* going back: the arriving slide is parked off-stage left first (home.js) */
.ex-slide.is-pre { transform: translateX(-100%); }
/* a sideways drag changes the slide; an up-down one is still the page scrolling */
.ex-stack { touch-action: pan-y; }
/* The dots sit at the foot of the copy column, under the button — the design's
   arrangement (Figma 1317:405), not beside a kicker. An earlier pass took this
   section's shape from the staging carousel, which puts the word and the dots on
   one line and makes the word a 14px kicker; the approved frame does neither.
   --mid-neutral (#AAB2C0), not the frame's #9FAEC5: the two are a point apart and
   the first is the token §04 names. */
.ex-dots { display: flex; align-items: center; gap: 0; margin-top: 64px; margin-left: -6px; }
/* 12px of dot, as the frame draws it, but the control is bigger than the mark:
   content-box plus padding grows the hit area to 24 under a mouse and 44 under a
   finger (§17) while background-clip keeps the painted dot at 12. */
.ex-dot { width: 12px; height: 12px; box-sizing: content-box; padding: 6px; border: none; border-radius: 50%;
  background: var(--mid-neutral); background-clip: content-box; cursor: pointer;
  transition: background var(--dur) ease; }
/* background-color, not the background shorthand: the shorthand resets
   background-clip to border-box, so the active dot painted its whole 24px hit
   area amber instead of the 12px mark the frame draws. */
.ex-dot.on { background-color: var(--amber); }
/* The dwell, drawn. 6px on the section's own top edge, full-bleed past the wrap —
   it is the section that is advancing, not the column. It runs as an animation
   rather than a transition so a pointer entering the section can freeze it exactly
   where it stands with animation-play-state and resume from there; a transition
   would need its computed width read back and re-applied to do the same. */
.ex-prog { position: absolute; top: 0; left: 0; right: 0; height: 6px; overflow: hidden; z-index: 2; }
.ex-prog i { display: block; width: 100%; height: 100%; background: var(--amber);
  transform: scaleX(0); transform-origin: left center; }
.expect.is-running .ex-prog i { animation: ex-prog var(--ex-dwell) linear forwards; }
@keyframes ex-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Nothing advances on its own under reduced motion, so there is no progress to draw. */
@media (prefers-reduced-motion: reduce) {
  .expect.is-running .ex-prog i { animation: none; }
}
/* the two Lottie slides sit in the same slot the paper plane does, at the same cap.
   The box is reserved before the animation arrives so the stack does not resize
   when it does. */
/* All three slides carry the same artwork box in the frame — 358x410, the same node
   at the same size on Expect, Access and Find (1317:392, 1317:417, 1317:442). The
   Lottie slides were being forced square at 380, which drew them 30px shorter than
   the plane beside them and made the column change height and weight between slides.
   One box, one ratio, and the art fits inside it. */
.iso-anim { width: 100%; max-width: 358px; aspect-ratio: 358 / 410; }
.iso-anim svg { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  /* No travel here, so .is-out cannot be "the one on its way out" — with transform
     none and visibility visible it sat squarely behind the incoming slide for as
     long as the class lived, which is the previous slide showing through. Reduced
     motion wants a cut: the outgoing one goes straight to hidden. */
  .ex-slide { transform: none; transition: none; }
  .ex-slide.is-out { transform: none; visibility: hidden; transition: none; }
}
@media (hover: none) and (pointer: coarse) {
  .ex-dots { gap: 0; }
  /* 44px under a finger without touching the layout (QA #145: the 16px of padding
     grew every dot to 44 and pushed the row apart). The box stays 24; the hit area
     is a pseudo-element 10px past it on each side, which is also what keeps two
     neighbouring targets from stacking more than the row's own rhythm allows. */
  .ex-dot { position: relative; }
  .ex-dot::after { content: ""; position: absolute; inset: -10px; }
}
/* Expect / Access / Find is the headline here and the statement under it is the
   28px role — the hierarchy the approved frame draws (1317:412 is 48, 1317:413 is
   28). The build had these the other way round, with the word as a kicker.
   Weight comes from §05's scale, not the frame: the frame draws the 28 at 400 and
   the document gives that role 500. Gaps are the frame's, and all land on §07's
   scale already — 64 under the word, 8 under the statement, 64 under the copy. */
.expect h2 { line-height: var(--lh-h2); font-size: var(--fs-h2);
  font-weight: var(--fw-h2-bigger); margin-bottom: 64px; }
.expect h3 { line-height: var(--lh-h4); font-size: var(--fs-h4); font-weight: 400;
  color: var(--ink); margin-bottom: 8px; }
/* body copy (18/1.7), the frame's size — the 20px subtitle role was a size up */
.expect p { font-size: var(--fs-p); line-height: var(--lh-p); color: var(--text-dim);
  max-width: 610px; margin-bottom: 64px; }
/* the Figma brand element (paper plane, flight path, unfolded sheet) — this slot
   used to hold two skewed CSS cards standing in for it. Capped at 380: at its full
   451 it outweighed the headline it is supposed to sit beside. */
/* pushed to the far edge of its column, not centred in it — the gap between the copy
   and the plane is what makes the two columns read as one composition */
.iso { position: relative; display: flex; justify-content: flex-end; }
/* the plane's own file is 451x501, a slightly different ratio from the frame's box,
   so it is contained inside the box rather than setting it */
.iso img { width: 100%; max-width: 358px; aspect-ratio: 358 / 410; height: auto; object-fit: contain; object-position: right center; display: block; }
/* the reviews row carries its arrow gutters inside the wrap (below), so it keeps
   its own 32 of padding; the blog sits on the shared column */
#reviews .wrap { padding-left: 32px; padding-right: 32px; }
/* The frame's card row is 1236 wide (1317:627) — narrower than the projects and
   client bands above it, which is deliberate. Getting there means the wrap has to
   carry the gutters as well: 1236 of cards plus 2x72 of control gutter plus the
   wrap's own 2x32 of padding. The row lands on the frame's 396-per-card and the
   controls still shrink inwards with the viewport instead of running off it. */
#reviews .wrap { max-width: 1444px; }
/* The arrows sit beside the cards, not on them. In the frame the card row runs
   102 -> 1338 and the two controls are at x=46 and x=1362 (1317:718, 1317:715), so
   each clears the cards by 24px. They had been hung 22px INTO the row, which put a
   48px disc over the first card's stars and the last card's edge.
   72px of gutter is the whole of it: 48 of control plus that 24 of clearance. At
   1440 it leaves the row exactly the frame's 1236. */
.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); }
.sl-arrow.ti-arrow:disabled { transform: translateY(-50%); }  /* keep vertical centring even when disabled (overrides the shared .sl-arrow:disabled transform:none) */
.ti-prev { left: 0; }
.ti-next { right: 0; }
/* The review card itself moved to base.css — Work Master (1432:4568) draws the
   same component, and work.css never loads this sheet. Only the slider mechanics
   above are still the homepage's own. */
/* Footer CTA — "Got an idea? Let's make it real." The section itself now lives in
   form.css, which every family that carries a contact form loads; only the
   lightbulb's own animation is left here. */
/* only the filament fuses animate (subtle), like staging — the rays stay static */
@keyframes lightbulb-fuse { 0% { stroke-dasharray: 12 12; } 100% { stroke-dasharray: 12 32; } }
@media (max-width: 680px) {
  /* align-items:flex-start let the marquee size to its 6500px track instead of the
     row width, so the logo strip ran off the page */
  .trust-row { flex-direction: column; gap: 16px; align-items: stretch; padding-left: 0; }
  .trust-label { align-self: center; }   /* label centred over the logo strip, matching the rest of the stacked hero */
}
@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 { display: flex; align-items: center; justify-content: center; gap: 8px; }
/* Pagination is dots, active or inactive — the same 12px amber / mid-neutral pair the
   Expect slider draws further down the page. The active one used to stretch into a
   22px dash, which made two different paginations on one page. */
.port-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--mid-neutral); cursor: pointer; transition: background-color var(--dur) ease; }
/* background-color, not the background shorthand: on a touch device .port-dots i
   takes 16px of invisible tap padding held off the paint by background-clip:
   content-box, and a shorthand here resets that clip to border-box — which painted
   the active dot's whole 38x40 target solid amber. Longhand leaves the clip alone. */
.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; }
/* 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); }
}
/* one card from 768 down (QA #142): two 268px cards at 768 left each body 204px
   wide and nine lines deep; the second card had been shown down to 680 */
@media (max-width: 768px) {
  .track > * { flex-basis: 88%; }
}
@media (max-width: 940px) {
  /* minmax(0,1fr), not 1fr: an auto minimum lets a wide child (the pill toggle)
     stretch the track past the viewport instead of wrapping */
  .work-split, .ay-grid, .expect-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  /* The frame's 64px rhythm is drawn against a 48px headline in a 607px column.
     Stacked on a phone the headline is 38-42 and the column is the screen, and the
     same 64 leaves the word marooned above its own sentence. One step down the
     scale (§07) keeps the grouping the frame intends. */
  .expect h2 { margin-bottom: 32px; }
  .expect p { margin-bottom: 32px; }
  .ex-dots { margin-top: 32px; }
  /* Side by side, the artwork sits at the far edge of its column so the gap between
     copy and plane reads as one composition. Stacked there is no second column: the
     artwork is under the copy, and held to the right it just looks misplaced. It
     centres under the text instead. */
  .iso { justify-content: center; }
  .iso img { object-position: center; }
  /* the column divider only makes sense while the split is actually two columns —
     stacked, it draws a stray line straight through the copy */
  .work-split::after { display: none; }
  /* the arrows are parked left of the divider on desktop; stacked, that lands them
     on top of the project label. Move them above the card, like the blog slider. */
  .work-panel { display: flex; flex-direction: column; }
  .port-arrows { position: static; order: -1; height: auto; justify-content: flex-end; margin-bottom: 16px; }
  .port-arrows .sl-arrow { width: 48px; height: 48px; }
  .port-arrows .sl-arrow svg { width: 16px; height: 16px; }
  /* Stacked, the reserved height goes under the dots, not inside the card. In the copy
     column (QA) it left a 135-181px hole above the categories row; under the screenshot
     it left up to 225px above the dots. home.js measures the section with the tallest
     slide into --port-wrap-min, so nothing below the section moves between slides. */
  .work-split { align-content: start; }
  #work > .wrap { min-height: var(--port-wrap-min, 0px); }   /* the tallest slide's room, held under the dots — home.js */
  .work-split > .work-col:first-child { min-height: 0; }
  .work-split .work-cta.is-empty { display: none; }
  /* wrapping is layout; the radius is the component's and stays the component's */
  .toggle { flex-wrap: wrap; justify-content: center; }
  .ay-left { padding: 48px 24px 48px; }
  .ay-left h2 { margin-bottom: 24px; }
  .ay-right { padding-top: 0; }
}
@media (max-width: 680px) {
  /* The paper plane is decoration, and stacked it costs a phone a screenful of empty
     space under the panel — 150px of padding reserved for it, plus its own overhang.
     Both go on mobile. The section keeps the ordinary step under it, though: at 0,
     the passion section after it also gave up its top padding (the same-surface
     join in base.css), and "Then, it's about our passion" sat on the last service
     row's rule with no space at all (Victor, 2026-10-07). */
  .ay-plane { display: none; }
  /* One column on a phone, so nothing beside the list can jump when a tab changes. The
     height of the longest tab was only leaving a hole here: 263-347px above the next
     heading on the two shorter tabs (QA #699). The step matches the 32px above the tabs. */
  .svc-stack > .svc-grid[hidden] { display: none; }
  #services { padding-bottom: var(--s-4); }
  /* "View case study" sat flush against .work-desc — margin-top: auto resolves to 0
     once the card is content-height, which it is on a phone — and it was a full .btn
     at 16px/48px next to the sticky bar's 14px/44px, so it read as the louder of the
     two. 24px of air, and the DS's own small-with-arrow geometry, which lands it at
     exactly the sticky button's height and type size. */
  .work-split .work-cta.btn { margin-top: var(--s-3); min-height: 44px;
    font-size: var(--fs-btn-sm); padding: 13px 40px 13px var(--s-2); }
  .hero { padding: 120px 0 48px; }
  /* home.css is enqueued after shell.css, so its unscoped `.svc-grid { 1fr 1fr }`
     was beating shell's mobile rule and the services list stayed two-up */
  .svc-grid, .bynum-grid { grid-template-columns: minmax(0, 1fr); }
  /* one card fills the screen, so the -22px overhang would sit on top of the quote.
     Lift the arrows out of the card into a row above it, like the blog slider. */
  .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 */
  /* #reviews .wrap keeps its own 32 of gutter (the arrows' room, above), whatever the
     page column does — so the track reaches the screen edge by 32, plus the 4 of its
     own negative left margin, and gives the 32 back as padding at the end */
  .testi-slider .track { order: 1; flex: 0 0 calc(100% + 36px); min-width: 0; margin-right: -32px; padding-right: 32px; }
  .ti-prev { order: 2; margin-left: auto; margin-top: 16px; }
  .ti-next { order: 3; margin-left: 8px; margin-right: auto; margin-top: 16px; }
}
/* 1388 and 24, which is .nav-inner's 1340 plus header.nav's padding — 1340 with
   32px inside it drew 1276, the same 64px short the client grid was. */
/* (.wrap:has(.bynum-grid) no longer takes the bar's 24px edge: the title and copy are
   text and belong on the page column with every other heading - QA. base.css's .wrap
   and its 48/40/20 steps apply.) */
.bynum-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.bynum-title { font-size: var(--fs-h2); font-weight: 400; line-height: var(--lh-h2); color: var(--ink); margin-bottom: 24px; }
.bynum-title .am { color: var(--amber-text); }
.bynum-text { font-size: var(--fs-p); color: var(--text-dim); }
/* The three tracks exist so the two rows can mirror each other: the wide card is
   cols 1-2 on top and cols 2-3 underneath, which needs the outer tracks equal and
   the middle one narrow. 1.5 : 1 : 1.5 puts the cards on the frame's own split
   (1317:736 is 386 wide beside 1317:745 at 222); the previous 1.25 : .9 : .9 drew
   the Clutch card 43px narrower than that, and the review chip inside it had
   nowhere to sit — the label wrapped and the arrow hung outside the pill. */
.bynum-bento { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; grid-auto-rows: 1fr; gap: 16px; grid-template-areas: "big big clutch" "exp weeks weeks"; }
.bnum-card { position: relative; background: var(--off-white); border: 1px solid transparent; border-radius: var(--r-lg); padding: 24px 32px; display: flex; flex-direction: column; justify-content: center; }
/* 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. */
.bnum-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; }

.bnum-card.big { grid-area: big; }
/* Three of these four cards are a number and a label — nothing to click, nowhere to
   go. They used to lift and cast a shadow under the cursor anyway, which is the
   affordance §13 reserves for a surface that does something. Only the Clutch card
   holds a link, so only the Clutch card answers the pointer. */
.bnum-card.clutch { grid-area: clutch; justify-content: center; align-items: flex-start; gap: 2px;
  transition: box-shadow var(--dur) ease; }
.bnum-card.clutch:hover { box-shadow: var(--shadow); }
.bnum-card.exp { grid-area: exp; }
.bnum-card.weeks { grid-area: weeks; }
.bnum-num { font-family: var(--ff); font-size: var(--fs-h2-big); font-weight: 500; color: var(--ink); line-height: 1; }
.bnum-lbl { font-size: var(--fs-p-small); color: var(--text-dim); margin-top: 8px; }
.bnum-rating { display: flex; align-items: center; gap: 7px; }
.bnum-rating b { font-family: var(--ff); line-height: var(--lh-h2); font-size: var(--fs-h2); font-weight: 500; color: var(--ink); }
.bnum-rating svg { color: var(--clutch-red); }   /* Clutch's star is Clutch's red (Figma 1317:764), not our amber */
.bnum-clutch-name { font-family: var(--ff); font-weight: 600; line-height: var(--lh-h5); font-size: var(--fs-h5); color: var(--ink); margin: 2px 0 16px; }
/* 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. */
/* Clutch's action, in Clutch's own clothes — the design's review chip (Figma
   1317:749), not a member of our button family at all. That is the point: §09's
   family is how Inventiff asks for a conversion, and an outbound link to a review
   site must not borrow it. So this one steps out of the family deliberately —
   white pill, soft navy shadow, no border, 13px sentence-case label and the Clutch
   wordmark we already ship doing the identifying. It ranks visibly below "Get on
   board" while still reading as a control.
   Earlier passes had this as an amber Primary, then as a red-outlined member of the
   family; both were still our button wearing a costume. This is Clutch's.
   The label is navy: --clutch-red is 3.8:1 on white and never sets type here — the
   only red is the dot inside the wordmark, which is artwork, not a label. */
.clutch-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff);
  font-size: var(--fs-btn-sm); font-weight: 400; line-height: 1; color: var(--navy); text-decoration: none;
  background: var(--white); border-radius: var(--r-pill); padding: 13px 12px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(4, 17, 58, 0.08);
  transition: box-shadow var(--dur) ease, transform var(--dur) ease; }
.clutch-cta img { display: block; flex-shrink: 0; }   /* a squashed Clutch logo is worse than a wrapped one */
.clutch-cta .cc-ar { width: 10px; height: 10px; flex-shrink: 0; }
/* Subtle, as §14 asks and the brief repeats: the chip lifts a little and its shadow
   deepens. No colour change, no morph, no arrow march — those belong to our family. */
.clutch-cta:hover { box-shadow: 0 4px 14px rgba(4, 17, 58, 0.14); transform: translateY(-1px); }
.clutch-cta:active { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .clutch-cta:hover { transform: none; }
}
/* 40px of box under a mouse, 44 under a finger (§17) — the chip is 36px drawn, so
   the target is grown with padding, not with width/height, which is the mistake the
   footer social marks made. */
@media (hover: none) and (pointer: coarse) {
  .clutch-cta { padding-top: 17px; padding-bottom: 17px; }
}
/* The section stays two columns down to 1024 and only then stacks. It used to stack
   at 1366 — the Clutch card gets 222px of the designed bento and the chip inside it
   needs 150, so two columns squeezed it — and the stacked bento was capped at 860px,
   which left it sitting narrow against the left edge with a third of the row empty.
   Below 1366 the three tracks re-weight instead: the Clutch track is floored at
   200px (the chip plus its padding), the middle one gives the room up, and the cards
   take 24px of padding rather than 32. Stacked, the bento runs the full measure. */
@media (max-width: 1366px) {
  .bynum-grid { gap: 48px; }
  .bynum-bento { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr) minmax(200px, 1.4fr); }
  .bnum-card { padding: 24px; }
}
@media (max-width: 1023px) {
  .bynum-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bynum-bento { grid-template-columns: 1.5fr 1fr 1.5fr; }
}
@media (max-width: 680px) {
  .bynum-bento { grid-template-columns: 1fr 1fr; grid-template-areas: "big big" "clutch clutch" "exp weeks"; }
}
@media (max-width: 480px) { /* two 128px cards with 56px of padding leave nothing for the number */
  .bynum-bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "big" "clutch" "exp" "weeks"; }
  .bnum-card { padding: 24px; }
}

/* 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) {
  /* the dots are clickable, and 8px is a quarter of what a finger needs. The dot
     keeps its size; the padding around it becomes the target. */
  .port-dots { gap: 0; }
  .port-dots i { padding: 16px 8px; background-clip: content-box; box-sizing: content-box; }
}

/* .work-proof is gone with the paragraph it styled. An earlier pass had cut the
   client grid as "a second copy of the logos" and kept only its sentence, on the
   grounds that the marquee under the hero already shows them — but the frame runs
   both: the marquee is the "Trusted by:" strip at y=1262 and the grid is its own
   section at y=3596. The sentence lives in the grid's centre card again. */

/* MB-07: a clamped review with no way to open it left the visitor a single exit —
   Clutch. The clamp stays (nine full reviews would be a wall of text), the way out
   of it is now on the page. */
.testi .body.is-open { -webkit-line-clamp: unset; }
.testi-more { margin-top: 8px; background: none; border: none; padding: 4px 0; cursor: pointer;
  font-family: var(--ff); font-size: var(--fs-p-small); font-weight: 600; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; }
.testi-more:hover { text-decoration-color: var(--amber); }
/* .testi-more is built by home.js, not by the markup, and .ti-more is the static
   link beside it — two different controls. Both are raised in base.css so every
   family that ships a review card gets them, not just this one. */

/* RS-03 is answered by the gutter itself now: the controls live inside the slider's
   own padding, so they can no longer reach past the wrap however narrow it gets, and
   below 680 they move to a row of their own. The gutter stays 72 the whole way: at 56
   a 48px control left four pixels of daylight, which is not a gap, it is a near miss. */

/* the portfolio's prev/next are 32px of artwork; on a finger they need 44. The hit area
   grows, the button does not — a resized button is a layout change, and at 44 it ran
   over the label's rule. 4px sideways: the two areas meet in the 8px gap, not overlap. */
@media (hover: none) and (pointer: coarse) {
  .port-arrows .sl-arrow::after { content: ''; position: absolute; inset: -6px -4px; }
}

/* ── The smallest phones (≤ 400px) ────────────────────────────────────────────
   Last in the file, after every rule it adjusts. Two CTAs needed a second row at
   320–344: "Start your project" had 224px inside the services panel and takes 222
   plus rounding; "See all case studies" had 208 inside the client grid's card and
   takes 242. Both get their room from the box around them, not from a smaller label. */
@media (max-width: 400px) {
  .ay-left { padding-left: 16px; padding-right: 16px; }
}

/* ── review cards on a phone (QA #143, #144) ────────────────────────────────────
   Under 480 the card's 32px of padding on a 260px card left 196px of text and a
   690px-tall card at 320. 24 of padding, 16 between cards and a track that reaches
   the screen edge by the column's own 40 give the body 40–60px more measure.
   "Read more" sits 8px under its paragraph and 16 above the quote, not 32 and 0. */
@media (max-width: 480px) {
  /* column-gap, not gap: the track is a grid whose rows the cards subgrid (base.css), so a row gap here opens 16px between every row inside every card */
  .testi-slider .track { column-gap: 16px; }
  .testi-slider .testi { padding: 24px; }
  .testi-slider .testi .body { margin-bottom: 4px; }
  .testi-slider .testi-more { margin-top: 0; margin-bottom: 16px; }
}

/* 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 { padding-left: var(--s-5); padding-right: var(--s-5); } }
@media (max-width: 480px) { #services .wrap { padding-left: calc(var(--s-2) + var(--s-3)); padding-right: calc(var(--s-2) + var(--s-3)); } }

@media (max-width: 360px) { #services .wrap { padding-left: calc(var(--s-2) + 4px); padding-right: calc(var(--s-2) + 4px); } .trust-row { padding-left: calc(var(--s-2) + 4px); } }   /* QA #153: the column's 20 under 360 */



/* ==== 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; }
