/* 00-tokens.css */
/* ---------------------------------------------------------------- tokens
   Values follow the measured style reference (docs/research/ref-style.md, internal).
   Sizes are in rem; the root size is fluid on desktop with floors, fixed on tablet, fluid on phones. */
:root {
  --page: #F7F9FC;      /* draft C: a breath of porcelain blue-white (was #F9FAFB), so heads, sections and cobalt plates belong together */
  --card: #FAFBFE;
  --panel: #F0F3F8;
  --white: #FFFFFF;

  /* porcelain blue and white (draft C, 28.10., Valentin: "blue and white like porcelain"): the strong plates are
     underglaze cobalt, the footer deep navy, so the light-blue heads, the white sections and the plates read as one
     family. No black surfaces are left; black stays only as text ink.
     Softer underglaze cobalt (refine 28.10.): the same OKLCH lightness as the first cut (#0F3B8F > #0B2C6B), about 10 %
     less chroma and 3 degrees more hue (HSL 223/64 % instead of 219/81 %), so large areas read as porcelain blue, not royal
     blue. All text ratios moved by less than 0.1. Back to the first cut: --cobalt #0F3B8F, --cobalt-deep #0B2C6B,
     --plate #0D347E, glaze rgba(40, 92, 186), card tint rgba(110, 160, 255), grid %2324519F, --grad-end #1D4EA4
     (side by side: .qa/shots/compare_cobalt.jpg). */
  --cobalt: #1E3C88;            /* plate top */
  --cobalt-deep: #152C66;       /* plate bottom */
  --plate: #1A3478;             /* solid cobalt where no gradient can go (the timeline dots sit at about this height) */
  --plate-bg: radial-gradient(72% 46% at 50% 0, rgba(54, 92, 178, .3), rgba(54, 92, 178, 0) 72%),
              linear-gradient(180deg, var(--cobalt), var(--cobalt-deep));
  --plate-lift: 0 1px 0 rgba(21, 44, 102, .08), 0 30px 60px -36px rgba(21, 44, 102, .55);   /* sits on the page like the heads */
  --plate-card: linear-gradient(180deg, rgba(121, 159, 247, .14), rgba(121, 159, 247, .06));   /* a quiet tonal step of the same cobalt (white would grey it) */
  --plate-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 .5H80M.5 0V80' fill='none' stroke='%23305199' stroke-dasharray='4 4'/%3E%3C/svg%3E");
  --navy: #0A1F44;              /* footer top */
  --navy-deep: #071633;         /* footer bottom: the page still closes firmly */
  --footer-bg: radial-gradient(64% 34% at 50% 0, rgba(26, 70, 150, .3), rgba(26, 70, 150, 0) 70%),
               linear-gradient(180deg, var(--navy), var(--navy-deep) 70%);
  --on-blue: #D4E0F5;           /* running text on the cobalt plates (>= 6.8:1, APCA Lc 74-80; 1.33:1 below the white headings) */
  --on-navy: #C9D7F0;           /* text in the navy footer (>= 11:1, Lc about 80) */
  --on-blue-muted: #C9D7F0;     /* small caps and eyebrows on cobalt (>= 5.2:1 at the worst pixel of the step cards) */
  --on-blue-link: #A9CFFF;      /* links and line icons on cobalt and navy: porcelain light blue, so a link reads as one */
  --on-blue-ring: #D6E6FF;      /* focus ring on cobalt and navy */
  --blue-hair: rgba(200, 222, 255, .16);   /* card hairlines on cobalt: white with a breath of blue */
  /* blue glaze for pills, icon tiles and monograms on cobalt and in the footer: white overlays would grey the blue */
  --glaze-fill: rgba(150, 190, 255, .12);
  --glaze-line: rgba(190, 215, 255, .22);
  --grad-end: #2B4E9D;          /* hover light of a linked cobalt card */

  --blue: #1266DF;
  --blue-deep: #0A3779;
  --blue-link: #1F69DA;
  --blue-hover: #2452F0;
  --sky: 134, 191, 242;
  --line: #E4E7EC;

  --ink: #030712;
  --text: #374151;
  --muted: #5B6472;      /* AA on light — the reference's #9CA3AF stays dark-only */
  --grey: #9CA3AF;
  --lead-dark: #E4E7EC;
  --star: #F53878;

  --font-d: "RCB", "RCB fallback", "Arial", sans-serif;
  --font-t: "Manrope", "Manrope fallback", "Arial", sans-serif;
  --track-d: calc(0.06rem - 0.0106em);
  --track-caps: calc(0.19rem - 0.0199em);

  --r8: .5rem; --r10: .625rem; --r12: .75rem; --r16: 1rem; --r24: 1.5rem; --r32: 2rem;

  /* light card hairline: white top edge into a closed, cool grey frame (the reference's blue mid-band and open
     bottom read as broken lines on tall cards) */
  --frame-blue: linear-gradient(#fff, #E1E6EE 38%, #DAE1EB);
  --frame-white: linear-gradient(#fff 25%, rgba(255, 255, 255, .2) 64%, rgba(255, 255, 255, .83) 80%, transparent);
  --light-lift: 0 4px 16px rgba(255, 255, 255, .16), 0 12px 30px -2px rgba(7, 22, 51, .06), 0 2px 6px -1px rgba(7, 22, 51, .12);
  --dark-inset: inset 0 1px 0 rgba(214, 230, 255, .08), inset 0 24px 48px rgba(170, 204, 255, .045);
  --btn-blue: linear-gradient(#1266DF 50%, #0A3779);
  --progress: linear-gradient(90deg, #1266DF, #009AF3 29%, #6ABBF5 72%);

  /* light heads (draft A, 28.10.): daylight at the top, a cool blue floor at the bottom; the blue light comes from the art */
  --hero-hi: #FFFFFF;
  --hero-lo: #EDF2FA;
  --hero-lo-rgb: 237, 242, 250;   /* = --hero-lo, for the marquee's see-through fade stops */
  --hero-hair: rgba(10, 55, 121, .08);
  /* the same floor as a panel (light plate, FAQ): white cards and rows stand out on it */
  --floor: linear-gradient(180deg, #F3F7FC, var(--hero-lo) 45%);
  --floor-edge: inset 0 0 0 1px var(--hero-hair), inset 0 1px 0 #fff;
  --grid-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 .5H80M.5 0V80' fill='none' stroke='%23D3DCE8' stroke-dasharray='4 4'/%3E%3C/svg%3E");

  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(0, 0, .58, 1);
  --ease-in: cubic-bezier(.42, 0, 1, 1);
  --ease-in-out: cubic-bezier(.42, 0, .58, 1);

  --nav-top: 1.25rem;
  --gutter: 6.875rem;      /* 110 px content edge at 1440 */
}

/* fluid root: 16 px at >= 1440, scales with the viewport down to a floor (the reference shrinks to 11 px) */
html { font-size: 16px; }
@media (max-width: 1439.98px) and (min-width: 992px) { html { font-size: max(14.5px, 1.1111vw); } }
@media (max-width: 991.98px) and (min-width: 600px) { html { font-size: 14.5px; } :root { --gutter: 2.5rem; } }
@media (max-width: 599.98px) { html { font-size: clamp(15px, 4.07125vw, 16px); } :root { --gutter: 1rem; --nav-top: 1rem; } }

/* 10-base.css */
/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 400 1rem/1.5 var(--font-t);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: var(--r8); font-weight: 600; box-shadow: 0 0 0 1px var(--hero-hair), 0 8px 20px -10px rgba(10, 55, 121, .3); }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
/* light ring only where the ground is dark (heads, nav, FAQ and light plates are light in this draft) */
.plate:not(.plate--light) :focus-visible, .footer :focus-visible { outline-color: var(--on-blue-ring); }
/* light panels inside dark areas (footer form) get the dark blue ring back */
.formpanel :focus-visible, .footer .frame :focus-visible { outline-color: var(--blue); }

/* ---------------------------------------------------------------- type scale */
.h1, .h2, .h36, .h28, .h24, .eyebrow {
  font-family: var(--font-d); font-weight: 590; color: var(--ink);
  letter-spacing: var(--track-d); word-spacing: -.022em;
}
.h1 { font-size: 4.625rem; line-height: 1.08; }
.h1--home { font-size: 4.0625rem; }
.h2 { font-size: 4rem; line-height: 1.09; }
.h36 { font-size: 2.25rem; line-height: 1.16; }
.h28 { font-size: 1.75rem; line-height: 1.1; }
.h24 { font-size: 1.5rem; line-height: 1.16; }
.h2--light { color: var(--white); }
.eyebrow {
  font-weight: 400; font-size: 1rem; line-height: 1.1; text-transform: uppercase;
  letter-spacing: var(--track-caps); color: var(--text);
}
.eyebrow--muted { color: var(--on-blue-muted); }   /* only on the cobalt plates (light plates set their own) */
.eyebrow--light { color: #D1D5DB; }
.lead { font-size: 1.25rem; line-height: 1.4; color: var(--text); }
/* no orphans in display type; even rag in running text */
.h1, .h2, .h36, .h28, .h24, .step__card .h24, .slide__title, .side-item dd { text-wrap: balance; }
p, .lead, .head__lead { text-wrap: pretty; }
strong { font-weight: 700; }

@media (max-width: 991.98px) and (min-width: 600px) {
  .h1 { font-size: 3.5rem; } .h1--home { font-size: 3.25rem; } .h2 { font-size: 3rem; }
}
@media (max-width: 599.98px) {
  .h1 { font-size: 3rem; line-height: 1.08; } .h1--home { font-size: 2.625rem; }
  .h2 { font-size: 2.25rem; } .h36 { font-size: 1.75rem; line-height: 1.21; }
  .h28, .h24 { font-size: 1.5rem; } .lead { font-size: 1.125rem; }
}

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

.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* 20-layout.css */
/* ---------------------------------------------------------------- containers */
.container { max-width: calc(76.25rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 90rem; margin: 0 auto; padding: 0 2.875rem; position: relative; }
.container-narrow { max-width: calc(46.875rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.plate-wrap { max-width: 90rem; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 991.98px) { .container-wide { padding: 0 var(--gutter); } .plate-wrap { padding: 0 1rem; } }

/* sections butt together; the rhythm comes from 50 px top/bottom padding (100 between light blocks) */
.section { padding: 3.125rem 0; position: relative; }
.section--plate { padding: 3.125rem 0; }
.page-home .hero + .section { padding-top: 6.25rem; }
@media (max-width: 599.98px) { .section { padding: 2.5rem 0; } .page-home .hero + .section { padding-top: 3.75rem; } }

.center { display: flex; justify-content: center; margin-top: 3.75rem; }

/* section header: pill -> 20 -> H2 -> 24 -> lead; header -> content 60 */
.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; margin: 0 auto 3.75rem; max-width: 62rem; }
.head .h2 + .head__lead { margin-top: .25rem; }
.head__lead { max-width: 42rem; }
.head--left { align-items: flex-start; text-align: left; margin-left: 0; }
.head--dark .head__lead { color: var(--on-blue); }
@media (max-width: 599.98px) { .head { gap: 1rem; margin-bottom: 2.5rem; } }

/* ---------------------------------------------------------------- cobalt plate (draft C: underglaze blue instead of black)
   A calm top-to-bottom cobalt with a soft glaze light at the top centre; a hairline of light on the top edge and a
   cobalt shadow below, the same language as the heads' rounded floor. Static paint only (no filter). */
.plate {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--plate-bg); border-radius: var(--r32); padding: 5rem 3.75rem; color: var(--on-blue);
  box-shadow: inset 0 1px 0 rgba(214, 230, 255, .12), var(--plate-lift);
}
.plate__grid {
  position: absolute; inset: 0 0 auto 0; height: 28rem; z-index: -1; pointer-events: none;
  background-image: var(--plate-grid);
  background-size: 5rem 5rem; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(60% 100% at 50% 0, #000 25%, transparent 100%);
          mask-image: radial-gradient(60% 100% at 50% 0, #000 25%, transparent 100%);
}
@media (max-width: 599.98px) { .plate { padding: 2.5rem 1rem; } }
/* icon tiles on cobalt: a blue glaze, not white (the WeChat card keeps its own light tile) */
.plate:not(.plate--light) .ico-tile { background: var(--glaze-fill); border-color: var(--glaze-line); color: var(--on-blue-link); }

/* light plate (About team, draft A): the light heads' floor (--hero-lo) with white cards, so About does not stack a
   dark plate on the dark footer. Home's "Why us" stays dark as the page's deliberate accent. The plate and everything
   that changes inside it are kept together here. */
.plate--light { color: var(--text); background: var(--floor); box-shadow: var(--floor-edge); }
.plate--light .plate__grid { background-image: var(--grid-light); opacity: .55; }
/* light plates and the FAQ on tablets and phones: one text column, so the grid would run through the headings */
@media (max-width: 991.98px) { .plate--light .plate__grid, .faq__plate .plate__grid { display: none; } }
.plate--light .eyebrow--muted { color: var(--muted); }
.plate--light .team-note { color: var(--text); }
.plate--light .card-dark { background: var(--white); border-color: rgba(10, 55, 121, .1); color: var(--text);
  box-shadow: 0 1px 2px rgba(7, 22, 51, .04), 0 12px 28px -18px rgba(10, 55, 121, .32); }
.plate--light .card-dark::before { display: none; }
.plate--light .card-dark .h24 { color: var(--ink); }
/* the monogram becomes a solid cobalt seal, the same mark as the logo */
.plate--light .name-card__mono { border-color: rgba(10, 55, 121, .5); background: linear-gradient(145deg, #1463D6, var(--blue-deep)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px -8px rgba(10, 55, 121, .55); }
.plate--light .name-card__org { color: var(--text); }
.plate--light .name-card__mail { color: var(--blue); }
.plate--light .name-card__mail:hover { color: var(--blue-deep); }
.plate--light .name-card__mail:is(:hover, :focus-visible) > span { text-decoration-color: rgba(18, 102, 223, .45); }
.plate--light .name-card__mail--static, .plate--light .name-card__mail--static:hover { color: var(--muted); }   /* WeChat ID as plain text; as a button (WeChat card) it takes the blue above */
.plate--light .contact-pill { background: var(--white); border-color: rgba(10, 55, 121, .12); color: var(--text); box-shadow: 0 1px 2px rgba(7, 22, 51, .04); }
.plate--light .contact-pill .icon { color: var(--blue); }
.plate--light .contact-pill::before { background: linear-gradient(90deg, rgba(18, 102, 223, .08), transparent); }
.plate--light a.contact-pill:hover, .plate--light button.contact-pill:hover { color: var(--ink); }

/* ---------------------------------------------------------------- tile grid */
/* tile grid: lines run in the gutters between the 150 px check tiles (pitch 171 px), dots on the crossings;
   one vertical line sits on the page centre. Anchored to the tile list, so it never cuts through a tile. */
.tiles-wrap { position: relative; }
.tilegrid {
  position: absolute; left: 0; right: 0; top: -21.375rem; bottom: -10.6875rem; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='171' height='171' viewBox='0 0 171 171'%3E%3Cpath d='M85.5 0V171M0 85.5H171' fill='none' stroke='%23E4E7EC'/%3E%3Ccircle cx='85.5' cy='85.5' r='1.5' fill='%23D5DAE2'/%3E%3C/svg%3E");
  background-size: 10.6875rem 10.6875rem;
  background-position: 50% calc(21.375rem + 4.6875rem);   /* row gap centre = 150 + 10.5 px below the list top */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 35%, #000 78%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 35%, #000 78%, transparent);
}
@media (max-width: 767.98px) { .tilegrid { display: none; } }

/* 30-components.css */
/* ---------------------------------------------------------------- icons */
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill { fill: currentColor; stroke: none; opacity: .12; }
.arrow, .chev { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- buttons: ring -> inner ring -> row (tile + label) */
.btn { display: inline-flex; border-radius: var(--r12); --tile: var(--btn-blue); --tile-ico: #fff; --l-rest: #fff; --l-hover: var(--blue); }
.btn__ring { display: block; padding: 3px; border-radius: var(--r12); background: rgba(18, 102, 223, .3); }
.btn__inner { display: block; padding: 3px; border-radius: var(--r10); background: var(--btn-blue); }
.btn__row { position: relative; isolation: isolate; display: flex; align-items: center; gap: .625rem; height: 2.5rem; padding-right: .875rem; border-radius: var(--r8); overflow: hidden; }
.btn__tile { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: var(--r8); background: #fff; color: var(--blue); }
.btn .arrow { transition: transform 250ms var(--ease-out); }
.btn__label { font: 600 1.06rem/1 var(--font-t); letter-spacing: -.5px; white-space: nowrap; color: var(--l-rest); }
/* hover copy: mask from the left, content counter-moves so it stays put */
.btn__fill, .nav__cta-fill { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; transform: translateX(-101%); transition: transform 250ms var(--ease-out); }
.btn__fill-in, .nav__cta-fill-in { position: absolute; inset: 0; display: flex; align-items: center; transform: translateX(101%); transition: inherit; }
.btn__fill { border-radius: var(--r8); background: #fff; }
.btn__fill-in { gap: .625rem; padding-right: .875rem; }
.btn__fill .btn__label { color: var(--l-hover); }
/* white on dark (the cobalt price block): a blue-tinted ring, not a grey one */
.btn--white .btn__ring { background: rgba(190, 215, 255, .35); }
.btn--white .btn__inner { background: #fff; }
.btn--white .btn__tile { background: var(--btn-blue); color: #fff; }
.btn--white .btn__fill { background: var(--btn-blue); }
.btn--white { --l-rest: var(--blue); --l-hover: #fff; }
/* secondary on light */
.btn--ghost .btn__ring { background: rgba(18, 102, 223, .08); }
.btn--ghost .btn__inner { background: transparent; padding: 0; }
.btn--ghost .btn__row { height: 2.875rem; padding-left: 3px; }
.btn--ghost .btn__fill-in { padding-left: 3px; }
.btn--ghost .btn__tile { background: var(--btn-blue); color: #fff; width: 2.5rem; height: 2.5rem; }
.btn--ghost .btn__fill { background: var(--btn-blue); }
.btn--ghost { --l-rest: #1163D8; --l-hover: #fff; }   /* AA 4.7:1 on the tinted ring (var(--blue) was 4.48) */
@media (hover: hover) and (min-width: 992px) {
  .btn:hover .btn__fill, .btn:hover .btn__fill-in { transform: translateX(0); }
  .btn:hover .arrow { transform: translateX(.5rem); }
}
.btn:focus-visible .btn__fill, .btn:focus-visible .btn__fill-in { transform: translateX(0); }
.btn:focus-visible .arrow { transform: translateX(.5rem); }

.textlink { font: 600 1.0625rem/1.4 var(--font-t); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  text-decoration-color: rgba(18, 102, 223, .45); transition: color .25s var(--ease-out), text-decoration-color .25s var(--ease-out); }
.textlink:hover { color: var(--blue); text-decoration-color: currentColor; }

/* ---------------------------------------------------------------- label pill */
.pill { display: inline-flex; padding: 1px; border-radius: var(--r12); background: var(--frame-white); box-shadow: var(--light-lift); width: max-content; max-width: 100%; align-self: flex-start; flex: none; }
.head .pill { align-self: center; }
.head--left .pill { align-self: flex-start; }
.pill__in { display: flex; align-items: center; gap: .5rem; padding: .4375rem .875rem; border-radius: calc(var(--r12) - 1px); background: #fff; font: 500 1rem/1.4 var(--font-t); color: var(--ink); }
.icon--pill { color: var(--blue); }
.pill--dark { background: none; box-shadow: inset 0 12px 36px -16px rgba(190, 215, 255, .2); }
.pill--dark .pill__in { background: var(--glaze-fill); border: 1px solid var(--glaze-line); box-shadow: inset 0 12px 36px -17px rgba(190, 215, 255, .18); color: #fff; }
.pill--dark .icon--pill { color: var(--on-blue-link); }

/* ---------------------------------------------------------------- light frame (gradient hairline) */
.frame { padding: 1px; border-radius: var(--r16); background: var(--frame-blue); box-shadow: var(--light-lift); }
.frame__in { height: 100%; border-radius: calc(var(--r16) - 1px); background: var(--card); }

.card-light .frame__in { display: flex; flex-direction: column; overflow: hidden; }
.card-light__art { border-bottom: 1px solid #EEF0F4; }
.card-light__art .art { width: 100%; height: auto; }
.card-light__text { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 2rem 1.75rem; }

/* ---------------------------------------------------------------- card on a cobalt plate: one tonal step lighter, white hairline */
.card-dark {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: .75rem;
  padding: 1.5rem; border-radius: var(--r16); border: 1px solid var(--blue-hair); background: var(--plate-card);
  box-shadow: var(--dark-inset); color: var(--on-blue); transition: border-color 300ms var(--ease-in-out);
}
.card-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent, var(--grad-end)); opacity: 0; transition: opacity 300ms var(--ease-out); }
.card-dark .h24 { color: #fff; }
a.card-dark:hover, a.card-dark:focus-visible { border-color: rgba(200, 222, 255, .45); transition-timing-function: var(--ease-out); }
a.card-dark:hover::before, a.card-dark:focus-visible::before { opacity: 1; }

/* icon tile: calm outline, same language as the mega-menu tiles */
.ico-tile { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: var(--r10);
  background: rgba(18, 102, 223, .16); border: 1px solid rgba(var(--sky), .2); color: #8EC2FF; }
.ico-tile .icon { width: 1.375rem; height: 1.375rem; stroke-width: 1.5; }
.ico-tile--light { width: 3rem; height: 3rem; border-radius: var(--r12); background: rgba(18, 102, 223, .07); border-color: rgba(18, 102, 223, .18); color: var(--blue); }
.ico-tile--light .icon { width: 1.625rem; height: 1.625rem; stroke-width: 1.6; }
.ico-tile--light .icon .fill { opacity: .16; }

/* arrow chip: translucent ring, white tile, blue arrow; the label slides out on hover */
.chip { display: inline-flex; padding: 3px; border-radius: var(--r12); background: rgba(255, 255, 255, .2); }
.chip__in { display: inline-flex; align-items: center; justify-content: flex-end; gap: .25rem; height: 2.5rem; min-width: 2.5rem; padding: 0 .5rem;
  border-radius: var(--r10); background: #fff; color: var(--blue); }
.chip .arrow { width: 1.375rem; height: 1.375rem; }
.chip__label { max-width: 0; overflow: hidden; white-space: nowrap; font: 600 .95rem/1 var(--font-t); opacity: 0; transition: max-width 300ms var(--ease-out), opacity 300ms var(--ease-out); }
a:hover .chip__label, a:focus-visible .chip__label { max-width: 6rem; opacity: 1; padding-left: .25rem; }
@media (hover: none), (max-width: 991.98px) { .chip__label { max-width: 6rem; opacity: 1; padding-left: .25rem; } }

/* ---------------------------------------------------------------- tabs + slider */
.tabs { position: relative; display: flex; flex-direction: column; }
.tabs::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tab {
  position: relative; display: flex; align-items: center; width: 100%; padding: .875rem 0 .875rem 1rem; text-align: left;
  font: 600 1rem/1.2 var(--font-t); color: var(--text); border-left: 2px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease);
}
.tab:hover { color: var(--blue-hover); }
.tab.is-active { color: var(--blue); border-left-color: var(--blue); }
/* active tab: the arrow fades in from the left and the label moves aside (transform + opacity only) */
.tab__chev { position: absolute; left: 1.4375rem; top: 50%; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-top: -.625rem;
  opacity: 0; transform: translateX(-.5rem); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.tab.is-active .tab__chev { opacity: 1; transform: none; }
.tab__chev .arrow { width: 1.25rem; height: 1.25rem; }
.tab__label { display: block; max-width: calc(100% - 2.125rem); transition: transform .3s var(--ease); }
.tab.is-active .tab__label { transform: translateX(2.125rem); }

.slider__viewport { position: relative; overflow: hidden; margin-right: -2rem; touch-action: pan-y; }
.slider__viewport.is-dragging { user-select: none; -webkit-user-select: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  .slider__viewport { cursor: grab; }
  .slider__viewport.is-dragging { cursor: grabbing; }
}
.slider__track { display: flex; gap: 1.5rem; transition: transform 700ms var(--ease); will-change: transform; }
/* draft D: each group shows its still life (AI illustration) at the image's own 4:3, never cropped; the slide grew
   so the picture carries the group (was 37.5rem with a 21rem line drawing) */
.slide { position: relative; flex: none; display: grid; grid-template-columns: minmax(0, 14.5rem) minmax(0, 1fr); gap: 1.5rem; width: min(46rem, 88%); min-height: 18.75rem; padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-radius: var(--r16); border: 1px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--frame-blue) border-box; box-shadow: var(--light-lift); }
.slide__text { display: flex; flex-direction: column; justify-content: flex-start; gap: 1rem; padding-top: .25rem; }
.slide__title { color: var(--blue); font-size: 1.75rem; line-height: 1.15; }
.slide__art { align-self: center; justify-self: stretch; width: 100%; }
.slide__pic { display: block; }
.slide__pic img { display: block; width: 100%; height: auto; border-radius: var(--r10); background: #F1F2F5; box-shadow: 0 0 0 1px rgba(10, 55, 121, .06); }
.slider__fade { position: absolute; top: 0; right: 0; bottom: 0; width: 11.875rem; pointer-events: none;
  background: linear-gradient(90deg, rgba(250, 251, 254, 0), rgba(250, 251, 254, .2) 20%, rgba(250, 251, 254, .55) 45%, rgba(250, 251, 254, .85) 70%, var(--card)); }
.slider__bar { display: flex; align-items: center; gap: 2rem; margin-top: 2rem; }
.progress { position: relative; flex: 1; height: 3px; }
.progress::before { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 1px; background: var(--line); }
.progress__fill { position: absolute; left: 0; top: 0; height: 3px; width: 100%; border-radius: 3px; background: var(--progress);
  transform-origin: 0 50%; transform: scaleX(var(--p, .2)); transition: transform 700ms var(--ease); }
.arrows { display: flex; gap: .75rem; }
.arrow-btn { display: grid; place-items: center; width: 3.125rem; height: 2.25rem; border-radius: var(--r12); background: var(--card); border: 1px solid #fff; color: var(--ink);
  box-shadow: 0 -1px 1px rgba(255,255,255,.16), 0 4px 16px rgba(255,255,255,.16), 0 12px 30px -2px rgba(7,22,51,.06), 0 2px 6px -1px rgba(7,22,51,.12); transition: border-color .3s var(--ease), opacity .3s var(--ease); }
.arrow-btn svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow-btn:hover { border-color: #CBDCF5; }
.arrow-btn:disabled { opacity: .25; cursor: default; }

.art--product .art__line { stroke: #B7BFCB; transition: stroke .25s var(--ease-out); }
.slide:hover .art__line, .slide.is-current .art__line { stroke: var(--blue); }

/* ---------------------------------------------------------------- faq */
/* light panel in this draft: Home keeps exactly two dark plates + the dark footer, so the FAQ before the footer is light.
   Same material as .plate--light (the heads' floor tint), so the white rows stand out on it. */
.faq__plate { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r24); padding: 2rem; color: var(--text);
  background: var(--floor); box-shadow: var(--floor-edge); }
.faq__plate .plate__grid { background-image: var(--grid-light); opacity: .55; }
.faq__plate .eyebrow { color: var(--muted); }
.faq__plate .h36 { margin: 1.25rem 0 2rem; }
.faq__list { display: flex; flex-direction: column; gap: .75rem; }
.faq__row { border: 1px solid var(--line); border-radius: var(--r16); background: var(--white); box-shadow: 0 1px 2px rgba(7, 22, 51, .04); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq__row:hover { border-color: #CBD6E6; }
.faq__row.is-open { border-color: rgba(18, 102, 223, .4); box-shadow: 0 1px 2px rgba(7, 22, 51, .04), 0 10px 24px -16px rgba(10, 55, 121, .3); }
.faq__q button { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; width: 100%; padding: 1.5rem; text-align: left; }
.faq__q .h24 { color: var(--ink); }
.faq__chev { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.5; transition: transform .3s var(--ease); }
.faq__row.is-open .faq__chev { transform: rotate(180deg); }
/* closed answers are hidden from screen readers and Tab, after the 300 ms close has run */
.faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease), visibility 0s .3s; }
.faq__row.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s var(--ease), visibility 0s; }
.faq__row.is-instant .faq__a { transition: none; }   /* an open answer above the tapped question (30-faq.js) */
.faq__a-in { overflow: hidden; }
.faq__a p { padding: 0 1.5rem 1.5rem; max-width: 36rem; line-height: 1.4; }
@media (min-width: 600px) { .faq__plate { padding: 3rem 3rem 3.25rem; } }
@media (max-width: 599.98px) { .faq__plate { padding: 1.75rem 1rem 1rem; border-radius: var(--r16); } .faq__q button { padding: 1.125rem 1rem; } .faq__q .h24 { font-size: 1.0625rem; line-height: 1.3; } .faq__a p { padding: 0 1rem 1.25rem; } }

/* ---------------------------------------------------------------- forms */
.form { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { position: relative; display: flex; flex-direction: column; gap: .625rem; min-height: 5.5rem; padding: 1.25rem 1.25rem 1.1rem; scroll-margin-top: 7.5rem; border-radius: var(--r16); background: #fff; border: 1px solid rgba(7, 22, 51, .1); cursor: text; transition: border-color .15s; }
.field--wide { grid-column: 1 / -1; }
.field__label { display: block; font: 600 .88rem/1.2 var(--font-t); color: var(--ink); }
.field__label i { font-style: normal; color: var(--star); margin-left: 2px; }
.field input, .field textarea, .field select { display: block; margin-top: auto; width: 100%; scroll-margin-top: 9rem; border: 0; outline: 0; padding: 0; background: transparent; font: 500 1rem/1.2 var(--font-t); letter-spacing: -.01em; color: var(--ink); }
.field textarea { resize: vertical; min-height: 4.2rem; line-height: 1.4; }
.field select { appearance: none; cursor: pointer; }
.field ::placeholder { color: #6B7280; opacity: 1; }   /* 4.83:1 on the white field (was #8A93A1, 3.1:1), still lighter than typed text */
.field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 102, 223, .14); }   /* 5.2:1 against white */
.field select { padding-right: 1.5rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%231266DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 1.25rem no-repeat; text-overflow: ellipsis; }
.field.is-invalid { border-color: #D3325A; }
.field__hint { position: absolute; top: 1.25rem; right: 1.25rem; font: 600 .8rem/1.2 var(--font-t); color: #C02750; }
.field.is-invalid .field__label { padding-right: 8.5rem; }
.form__error { display: flex; align-items: center; gap: .625rem; padding: .75rem 1rem; border-radius: var(--r12); background: #FFF5F7; border: 1px solid rgba(211, 50, 90, .28);
  color: #B0234A; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.form__error .icon { color: #C02750; }
.form__status:empty { display: none; }
.form__done { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.25rem 1.375rem; border-radius: var(--r16); background: #fff;
  border: 1px solid rgba(18, 102, 223, .22); box-shadow: 0 12px 30px -12px rgba(10, 55, 121, .18); animation: done-in 300ms var(--ease-out); }
@keyframes done-in { from { opacity: 0; transform: translateY(.375rem); } }
.form__done-title { display: flex; align-items: flex-start; gap: .75rem; font: 590 1.125rem/1.3 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); }
.form__done-ico { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; margin-top: -.25rem; border-radius: var(--r8); background: rgba(18, 102, 223, .08); color: var(--blue); }
.form__done-text { color: var(--text); line-height: 1.45; padding-left: 2.75rem; }
.form__done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem 1rem; padding-left: 2.75rem; }
.form__done-mail { font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-color: rgba(18, 102, 223, .35); text-underline-offset: 4px; overflow-wrap: anywhere; }
.form__done-mail:hover { text-decoration-color: currentColor; }
.minibtn { display: inline-flex; align-items: center; height: 2.375rem; padding: 0 .875rem; border-radius: var(--r10); background: var(--card); border: 1px solid var(--line);
  font: 600 .92rem/1 var(--font-t); color: var(--ink); transition: border-color .2s var(--ease-out), color .2s var(--ease-out); }
.minibtn:hover { border-color: #CBDCF5; color: var(--blue); }
.minibtn.is-done { color: var(--blue); border-color: rgba(18, 102, 223, .4); }
@media (max-width: 599.98px) { .form__done-text, .form__done-actions { padding-left: 0; } }
.form .btn { align-self: flex-start; }
@media (max-width: 599.98px) { .form__grid { grid-template-columns: 1fr; } .form { padding: 1rem; } }

/* ---------------------------------------------------------------- contact pill (on navy: footer; light plates and the sheet set the white one) */
.contact-pill { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .625rem; padding: .5625rem .875rem; border-radius: var(--r10);
  background: rgba(110, 160, 255, .07); border: 1px solid var(--glaze-line); color: var(--on-navy); font-size: 1rem; line-height: 1.4; }   /* blue glaze on navy, not slate */
.contact-pill .icon { width: 1.5rem; height: 1.5rem; color: var(--on-blue-link); }
.contact-pill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(76, 155, 255, .22), transparent); opacity: 0; transition: opacity 250ms var(--ease-out); }
a.contact-pill:hover::before, button.contact-pill:hover::before { opacity: 1; }
a.contact-pill:hover, button.contact-pill:hover { color: #fff; }
button.contact-pill { text-align: left; }

/* ---------------------------------------------------------------- WeChat card (partials/wechat.html: popover in the top layer)
   centred card on tablet/desktop, bottom sheet on phones; touch devices get "Open WeChat", mouse devices the phone steps */
.wechat-pop { display: none; position: fixed; inset: 0; margin: auto; width: min(24rem, calc(100vw - 2rem)); height: fit-content; max-height: calc(100dvh - 2rem);
  overflow: auto; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r16); background: var(--white); color: var(--text);
  box-shadow: 0 24px 64px -12px rgba(7, 22, 51, .38), 0 2px 8px rgba(7, 22, 51, .08); }
.wechat-pop:popover-open { display: flex; flex-direction: column; gap: 1rem; }
.wechat-pop.is-open { display: flex; flex-direction: column; gap: 1rem; z-index: 1000; }   /* no Popover API (45-wechat.js) */
.wechat-veil { position: fixed; inset: 0; z-index: 999; background: rgba(7, 22, 51, .42); }   /* its veil, as ::backdrop (no display: [hidden] hides it) */
.wechat-pop::backdrop { background: rgba(7, 22, 51, .42); }   /* a navy veil, not black */
.wechat-pop__head { display: flex; align-items: flex-start; gap: .875rem; }
.wechat-pop__tile { background: rgba(18, 102, 223, .08); color: var(--blue); }
.wechat-pop__title { font: 600 1.25rem/1.25 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); }
.wechat-pop__who { margin-top: .15rem; font-size: .92rem; line-height: 1.35; color: var(--muted); }
.wechat-pop__close { position: relative; display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; margin: -.375rem -.375rem 0 auto; border-radius: var(--r10);
  color: var(--muted); transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.wechat-pop__close::after { content: ""; position: absolute; inset: -.25rem; }   /* a 44 px tap area around the 36 px button */
.wechat-pop__close:hover { background: var(--panel); color: var(--ink); }
.wechat-pop__close .icon { width: 1.25rem; height: 1.25rem; }
.wechat-pop__id { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; padding: .875rem 1rem; border-radius: var(--r12); background: var(--panel); }
.wechat-pop__label { grid-column: 1 / -1; font: 600 .78rem/1.2 var(--font-t); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wechat-pop__value { font: 600 1.5rem/1.2 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; }
.wechat-pop__status { display: flex; align-items: center; gap: .5rem; min-height: 1.5rem; margin: -.25rem 0; font-size: .95rem; font-weight: 600; color: var(--muted); }
.wechat-pop__status.is-ok { color: var(--blue); }
.wechat-pop__ok { display: none; }
.wechat-pop__status.is-ok .wechat-pop__ok { display: inline-grid; }
.wechat-pop__ok .icon { width: 1.25rem; height: 1.25rem; }
.wechat-pop__steps { display: flex; flex-direction: column; gap: .625rem; counter-reset: step; }
.wechat-pop__steps li { display: flex; align-items: center; gap: .75rem; counter-increment: step; line-height: 1.35; }
.wechat-pop__steps li::before { content: counter(step); display: grid; place-items: center; flex: none; width: 1.625rem; height: 1.625rem; border-radius: 50%;
  background: rgba(18, 102, 223, .08); color: var(--blue); font: 600 .82rem/1 var(--font-t); }
.wechat-pop__steps b { font-weight: 600; color: var(--ink); }
.wechat-pop .btn { align-self: flex-start; }
html:not(.js) .wechat-pop__copy, html:not(.js) .wechat-pop__status { display: none; }   /* copying needs JavaScript */
@media (hover: hover) and (pointer: fine) { .wechat-pop__steps--touch, .wechat-pop__open { display: none; } }
@media (hover: none), (pointer: coarse) { .wechat-pop__steps--desk { display: none; } }
@media (max-width: 599.98px) { .wechat-pop { inset: auto 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); margin: 0; width: auto; } }

/* ---------------------------------------------------------------- client names (static, no motion) */
/* ---------------------------------------------------------------- client marquee (20.10.: wieder als Laufband, Valentin) */
.marquee { position: relative; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18.75rem; z-index: 1; pointer-events: none; }
/* the fades end in the hero's flat floor colour (--hero-lo; on Home the still life's own floor, set on the hero), so no edge shows */
.marquee::before { left: 0; background: linear-gradient(90deg, var(--hero-lo), rgba(var(--hero-lo-rgb), .57) 39%, rgba(var(--hero-lo-rgb), 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--hero-lo), rgba(var(--hero-lo-rgb), .57) 39%, rgba(var(--hero-lo-rgb), 0)); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 34s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { display: flex; align-items: center; height: 2rem; padding: 0 2.75rem; font: 590 1.375rem/1 var(--font-d); letter-spacing: .01em; color: #4B5770; white-space: nowrap; position: relative; }
.marquee__item::after { content: ""; position: absolute; right: 0; top: .375rem; width: 1px; height: 1.25rem; background: rgba(10, 55, 121, .14); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 599.98px) { .marquee::before, .marquee::after { width: 5rem; } .marquee__item { font-size: 1.125rem; padding: 0 1.75rem; } }
@media (prefers-reduced-motion: reduce) { .marquee::before, .marquee::after, .marquee__item::after { display: none; } .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee__group[aria-hidden] { display: none; } .marquee__group { flex-wrap: wrap; justify-content: center; } .marquee__item[aria-hidden] { display: none; } }
/* form sending: honeypot off-screen, busy button, primary mail button in the fallback panel */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { cursor: progress; opacity: .75; }
.minibtn--blue { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.minibtn--blue:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.field__aside { display: block; margin-top: .5rem; font-size: .8125rem; color: var(--muted); } .field__aside a { color: var(--blue-link); font-weight: 600; } .field__aside a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* FAQ: two columns from 992 px (shared partial: Home, Services, AQL) */
.faq__col { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 992px) { .faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; align-items: start; } .faq__q .h24 { font-size: 1.1875rem; line-height: 1.3; } }
/* one-column FAQ (AQL page, long answers): from 992 px the heading sits left and the questions right, the same split as
   the price band, so the panel has no empty half */
@media (min-width: 992px) {
  .faq__plate--one { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 4rem; align-items: start; }
  .faq__plate--one > .eyebrow { grid-column: 1; grid-row: 1; }
  .faq__plate--one > .h36 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .faq__plate--one > .faq__list { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); }
}

/* 40-chrome.css */
/* ---------------------------------------------------------------- logo */
.logo { display: inline-flex; align-items: center; gap: .625rem; color: #fff; }
.logo__mark { width: 1.875rem; height: 1.875rem; flex: none; }
.logo__seal { fill: var(--blue); stroke: var(--blue); stroke-width: 1.5; }   /* one solid seal in the nav and the footer */
.logo__tick { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font: 700 1.125rem/1 var(--font-d); letter-spacing: .08em; }
.logo__suffix { font: 500 .72rem/1 var(--font-t); letter-spacing: .06em; color: var(--on-navy); margin-top: .25rem; }   /* footer; the nav sets its own */

/* the nav's logo on light: ink word, muted suffix */
.nav .logo { color: var(--ink); }
.nav .logo__suffix { color: var(--muted); }

/* ---------------------------------------------------------------- nav (fixed)
   Light heads: at the top the bar is clear (ink text on the light head); once the page has moved it is one solid white
   capsule everywhere, over light and dark sections alike. The bar's content sits on the page's content column (logo on
   the H1's left edge, CTA / burger on its right edge); only the capsule, the bar's ::before layer, reaches past it
   (--cap-l / --cap-r), so it fades in without anything moving. 10-nav.js sets .is-solid from an IntersectionObserver
   (no scroll handler); only the capsule's opacity changes. Without JavaScript the bar is solid from the start. */
.nav { position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); pointer-events: none;
  --cap-l: 1.125rem; --cap-r: .5rem; }
.nav__bar {
  pointer-events: auto; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: 76.25rem; height: 4rem; margin: 0 auto; border-radius: var(--r16);
}
.nav__bar::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--cap-r)) 0 calc(-1 * var(--cap-l)); z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--white);   /* opaque: nothing shows through, so the ink text keeps its contrast over the dark plates */
  box-shadow: 0 0 0 1px var(--hero-hair), 0 1px 2px rgba(7, 22, 51, .05), 0 12px 32px -14px rgba(10, 55, 121, .3);
  transition: opacity .25s var(--ease-out);
}
html.js .nav:not(.is-solid) .nav__bar::before { opacity: 0; }
html.js .nav.is-sheet-scrolled .nav__bar::before { opacity: 1; }   /* a scrolled menu sheet passes under the bar (10-nav.js) */
/* the services menu always opens on the solid capsule, so bar and panel read as one piece */
html.js .nav .nav__bar:has(.nav__item--menu.is-open)::before { opacity: 1; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__link { display: inline-flex; align-items: center; gap: .25rem; font: 400 1rem/1.3 var(--font-t); letter-spacing: .04em; color: var(--ink); transition: color .25s var(--ease-out); padding: .5rem 0; }
.nav__link:hover { color: var(--blue); }
.nav__link.is-current, .nav__link.is-current:hover { color: var(--ink); }
.nav__link.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(18, 102, 223, .55); }
/* Services: link + chevron toggle; both fill the bar's height so the pointer never crosses a dead strip on its way down to the panel */
.nav__menu-head { display: inline-flex; align-items: center; gap: .25rem; }
.nav__item--menu .nav__link { padding-block: 1.375rem; margin-block: -.875rem; }
.nav__chev { display: grid; place-items: center; width: 1.5rem; margin: -.875rem -.25rem; padding-block: 1.375rem; color: var(--ink); transition: color .25s var(--ease-out); }
.nav__chev:hover { color: var(--blue); }
.nav__chev .chev { width: 1rem; height: 1rem; transition: transform .3s var(--ease-out); }
.nav__item--menu.is-open .chev { transform: rotate(180deg); }
.nav__right { display: flex; align-items: center; gap: .75rem; }
/* navy button (the footer's navy), the blue hover copy slides in (the hero's own CTA is the blue one) */
.nav__cta { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; height: 2.875rem; padding: 0 1.25rem;
  border-radius: var(--r12); background: var(--navy); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 2px rgba(7, 22, 51, .16), 0 6px 16px -8px rgba(7, 22, 51, .45); }
.nav__cta-fill { border-radius: var(--r12); background: var(--blue); }      /* mask + counter-move: see .btn__fill */
.nav__cta-fill-in { justify-content: center; padding: 0 1.25rem; }
.nav__cta-label { font: 600 1rem/1 var(--font-t); letter-spacing: -.3px; color: #fff; white-space: nowrap; }
.nav__cta-fill .nav__cta-label { color: #fff; }
@media (hover: hover) and (min-width: 992px) {
  .nav__cta:hover .nav__cta-fill, .nav__cta:hover .nav__cta-fill-in { transform: translateX(0); }
}
.nav__cta:focus-visible .nav__cta-fill, .nav__cta:focus-visible .nav__cta-fill-in { transform: translateX(0); }
html:not(.js) .nav__burger { display: none !important; }
.nav__burger { display: none; width: 2.625rem; height: 2.625rem; border-radius: var(--r10); padding: 3px; box-shadow: 0 0 0 1px rgba(10, 55, 121, .12) inset; background: rgba(255, 255, 255, .7); }
.nav__burger-in { position: relative; display: block; width: 100%; height: 100%; border-radius: .5rem; background: var(--navy); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.nav__burger-in span { position: absolute; left: 50%; width: 1.375rem; height: 2px; margin-left: -.6875rem; border-radius: 2px; background: #fff; transition: transform 300ms var(--ease); }
.nav__burger-in span:first-child { top: calc(50% - 4px); }
.nav__burger-in span:last-child { top: calc(50% + 2px); }
.nav.is-sheet .nav__burger-in span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-sheet .nav__burger-in span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* mega menu (services) */
.nav__item--menu { position: static; }
.mega {
  position: absolute; left: calc(-1 * var(--cap-l) - 1px); right: calc(-1 * var(--cap-r) - 1px); top: calc(100% + .6875rem); display: none;
  padding: 2rem 1.875rem 1.75rem; border-radius: var(--r16); border: 1px solid var(--hero-hair);
  background: linear-gradient(var(--white) 40%, #F6F8FC);
  box-shadow: 0 2px 6px rgba(7, 22, 51, .05), 0 28px 56px -28px rgba(10, 55, 121, .34);
}
/* at the top of a page the panel covers part of the light head's H1; a white veil under it (the last, lowest shadow)
   fades out the cut-off glyphs. Only there: once scrolled, the panel can sit over a dark plate. */
html.js .nav:not(.is-solid) .mega {
  box-shadow: 0 2px 6px rgba(7, 22, 51, .05), 0 28px 56px -28px rgba(10, 55, 121, .34), 0 22px 28px -6px rgba(255, 255, 255, .94);
}
.nav__item--menu.is-open .mega { display: block; animation: mega-in 300ms var(--ease-out); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-.375rem); } }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; } /* hover bridge */
.mega__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mega .eyebrow { color: var(--muted); }
.mega__all { display: inline-flex; align-items: center; gap: .375rem; color: var(--ink); font-weight: 600; font-size: .95rem; transition: color .2s var(--ease-out); }
.mega__all:hover { color: var(--blue); }
.mega__all .arrow { width: 1.125rem; height: 1.125rem; }
.mega__links { display: inline-flex; align-items: center; gap: 1.75rem; }
.mega__links .mega__all:first-child { color: var(--blue); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.mega__card { display: flex; align-items: center; gap: .75rem; padding: .5rem; border-radius: var(--r12); transition: background-color .15s var(--ease); }
.mega__card:hover, .mega__card:focus-visible { background: #EEF3FA; }
.mega__tile { display: grid; place-items: center; width: 2.625rem; height: 2.625rem; flex: none; border-radius: var(--r10); background: rgba(18, 102, 223, .07); border: 1px solid rgba(18, 102, 223, .18); color: var(--blue); }
.mega__text { display: flex; flex-direction: column; gap: .2rem; }
.mega__stage { font: 400 max(.72rem, 11.5px)/1.1 var(--font-d); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.mega__title { font: 600 .875rem/1.3 var(--font-t); color: var(--ink); }

/* full-screen sheet (tablet + phone) */
.sheet {
  pointer-events: auto; position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; gap: 2rem;
  padding: calc(var(--nav-top) + 6rem) var(--gutter) 2rem; background: linear-gradient(var(--hero-hi) 30%, var(--hero-lo)); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity 300ms var(--ease);
}
.nav.is-sheet .sheet { opacity: 1; }
/* the sheet is light like the heads and, like their one-column versions, has no grid (it would run through the logo
   and the links); its mail pill is the white one */
.sheet .contact-pill { background: var(--white); border-color: rgba(10, 55, 121, .12); color: var(--text); box-shadow: 0 1px 2px rgba(7, 22, 51, .04); }
.sheet .contact-pill .icon { color: var(--blue); }
.sheet .contact-pill::before { background: linear-gradient(90deg, rgba(18, 102, 223, .08), transparent); }
.sheet a.contact-pill:hover { color: var(--ink); }
.sheet__nav { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
/* items enter in 35 ms steps; they reset only after the sheet has faded out (is-sheet-in) */
.sheet__link, .sheet__cta, .sheet__mail { opacity: 0; transform: translateY(-1.5rem); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.nav.is-sheet-in .sheet__link, .nav.is-sheet-in .sheet__cta, .nav.is-sheet-in .sheet__mail { opacity: 1; transform: none; }
.sheet__link:nth-child(2) { transition-delay: 35ms; }
.sheet__link:nth-child(3) { transition-delay: 70ms; }
.sheet__link:nth-child(4) { transition-delay: 105ms; }
.sheet__link:nth-child(5) { transition-delay: 140ms; }
.sheet__cta { transition-delay: 175ms; }
.sheet__mail { transition-delay: 210ms; }
.nav:not(.is-sheet-in) .sheet * { transition-delay: 0s; }
.sheet__link { font: 590 1.75rem/1.13 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); }
.sheet__cta { align-self: center; }
.sheet__mail { align-self: flex-start; margin-top: auto; }
/* taller than the screen (phones held sideways, a small phone with its bars): the sheet scrolls (data-lenis-prevent in
   partials/nav.html; Lenis is stopped while it is open) and no item shrinks (the mail pill, overflow: hidden, would
   drop to its padding); Tab keeps the focused item clear of the bar (3.75rem below 992 px) and the bottom edge */
.sheet > * { flex-shrink: 0; }
.sheet { scroll-padding: calc(var(--nav-top) + 3.75rem + .75rem) 0 1rem; }

@media (max-width: 991.98px) {
  .nav { --cap-l: .5rem; --cap-r: .5rem; }   /* logo and burger dock in the capsule's ends */
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__bar { height: 3.75rem; border-radius: .83rem; }
}

/* ---------------------------------------------------------------- footer (draft C: deep navy, the closing note of the blue family) */
.footer { background: var(--footer-bg); border-radius: var(--r32) var(--r32) 0 0; color: var(--on-navy); margin-top: 3.125rem; }
.footer__in { max-width: calc(76.25rem + 2 * var(--gutter)); margin: 0 auto; padding: 3.75rem var(--gutter) 3.3rem; } /* on the 110 px content edge */
/* the form panel: porcelain white-blue (the heads' floor) instead of grey, so it reads as white on navy */
.formpanel { display: grid; grid-template-columns: 24.375rem 1fr; gap: 1.5rem; padding: 1.875rem; border-radius: var(--r32);
  background: linear-gradient(180deg, #F4F7FC, var(--hero-lo)); box-shadow: inset 0 1px 0 #fff; }
.formpanel .frame { background: linear-gradient(#fff 24%, rgba(18, 102, 223, .24) 64%, rgba(255, 255, 255, .83) 80%, transparent); }
.formpanel__intro-in { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; }
.formpanel__title { font-size: 3.5rem; }
.formpanel__note { font-size: 1.125rem; line-height: 1.4; color: var(--text); }
.formpanel__alt { margin-top: auto; font-weight: 600; color: var(--ink); }
.footer__row { display: flex; justify-content: space-between; gap: 3rem; padding: 3.75rem 0 3rem; }
.footer__row:first-child { padding-top: 0; } /* contact page: no footer form, the row opens the footer */
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.footer__logo { margin-bottom: .75rem; }
.footer__logo .logo__mark { width: 2.5rem; height: 2.5rem; }
.footer__logo .logo__word { font-size: 1.375rem; }
.contact-pill--static { cursor: default; }
.footer__cols { display: flex; gap: 6rem; padding-right: 4.75rem; }
.footer__contact .contact-pill { min-width: 15.3rem; }
.footer__head { font: 600 1.06rem/1.4 var(--font-t); color: #fff; margin-bottom: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer__col a { color: var(--on-navy); transition: color .2s var(--ease-out); }
.footer__col a:hover, .footer__col a[aria-current] { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(190, 215, 255, .14); font-size: .88rem; line-height: 1.4; letter-spacing: .02em; }
.footer__policies { display: flex; gap: 1.5rem; }
.footer__policies a { color: var(--on-navy); transition: color .4s var(--ease); }
.footer__policies a:hover { color: #fff; }
@media (max-width: 991.98px) {
  .footer__in { padding: 2.5rem var(--gutter) 2.5rem; }
  .formpanel { grid-template-columns: 1fr; padding: 1rem; }
  .footer__row { flex-direction: column; }
  .footer__cols { gap: 2.5rem; padding-right: 0; }
}
@media (min-width: 992px) and (max-width: 1199.98px) { .footer__cols { gap: 3rem; padding-right: 0; } .footer__col a { white-space: nowrap; } }
@media (max-width: 599.98px) {
  .footer__cols { flex-wrap: wrap; row-gap: 2rem; }
  .footer__col:first-child { flex: 0 0 100%; }
  .formpanel__title { font-size: 2.25rem; }
  .footer__legal { flex-direction: column-reverse; gap: 1rem; }
}
/* print: the fixed nav would repeat on every page over the content */
@media print { .nav, .skip, .sheet { display: none !important; } }

/* language switch (09.11., German version): EN / DE before the CTA, also beside the menu button on phones; the
   mobile sheet and the footer carry the same link written out */
.nav__lang { display: inline-flex; align-items: center; justify-content: center; min-width: 2.625rem; height: 2.625rem; padding: 0 .625rem;
  border-radius: var(--r10); font: 600 .875rem/1 var(--font-t); letter-spacing: .06em; color: var(--muted);
  transition: color .2s var(--ease-out), background-color .2s var(--ease-out); }
.nav__lang:hover { color: var(--ink); background: rgba(10, 55, 121, .06); }

/* 50-sections.css */
/* ---------------------------------------------------------------- hero (light draft A, 28.10.: full bleed, rounded bottom)
   Daylight: white at the top, a flat cool-blue floor under the client strip (--hero-lo, the marquee fades end in it).
   It stays its own section through the rounded bottom edge, a hairline + soft shadow and a blue light pool, never a band. */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--text);
  background: linear-gradient(180deg, var(--hero-hi) 0, #F7F9FD 42%, var(--hero-lo));
  border-radius: 0 0 var(--r32) var(--r32);
  /* box-shadow, not filter: drop-shadow — a filter here re-renders the whole hero in every frame of the hero animation */
  box-shadow: 0 1px 0 rgba(10, 55, 121, .08), 0 18px 40px -24px rgba(10, 55, 121, .26);
}
.hero__glow { position: absolute; left: 50%; bottom: -8.5rem; width: 33rem; height: 21rem; transform: translateX(-50%); z-index: -1; pointer-events: none;
  /* a wide, soft gradient instead of filter: blur — a blur next to the animated hero art re-rasterised on every loop frame */
  background: radial-gradient(closest-side, rgba(18, 102, 223, .12), rgba(18, 102, 223, .045) 55%, rgba(18, 102, 223, 0)); }
/* Home (draft F, 29.10.): the four labelled glass rings as a photo scene, a plate flies through them (a ~13 s seamless
   video loop, 24-hero-video.js). The whole hero is the video's own studio wall (--hv-bg, measured on its edges as Chrome
   paints the frames), so the frame has no edge: gradient layers in that colour feather its left, top and bottom edges
   over the video (never a mask or a filter on the video itself). The frame always keeps its own ratio (--media-ar).
   Its right edge stands --inset from the screen edge, so the carton (it reaches 98.75 % of the frame) never touches it;
   there is no room to feather that edge, so the strip between frame and screen edge continues the frame's own right
   edge colours (::after, sampled by the build from the poster and the still: --edge-poster, --edge-still) and fades
   into the wall towards its far end.
   - >= 1200 px: the frame stands right of the text, as wide (--w) as it can be while the AUDIT ring (its left edge at
     --ring-x of the frame width, measured on the empty keyframe) stays --clear away from the text column's box
     (--text-r: the container's offset + 6.875 + 41 rem) and its right edge --inset from the screen edge. Its empty left
     side lies under the text. Text and frame share one vertical centre; the cap (--media-max) keeps it in scale on wide
     screens, where it stays anchored to the text (the same 44 px) and the wall simply continues on the right.
   - 992-1199 px: text, then the frame right-aligned (60rem), its empty top beside the buttons, then chips and strip.
   - < 992 px: text, then the loop's 4:3 cut (the -n set: the scene fills it, only empty wall is cut), then the fact
     chips, the client strip; tablets centred at up to 46rem, phones at the screen's width minus the right inset.
   The frame's ratio and edge colours come in two sets from the markup (-w: the 16:9 frame, -n: the 4:3 cut). */
.hero--home { --hv-bg: #E1EAF3; --hv-bg-rgb: 225, 234, 243; --hero-lo: var(--hv-bg); --hero-lo-rgb: var(--hv-bg-rgb);
  --ring-x: .3841; --clear: 44px; --media-max: 1600px; --inset: clamp(12px, 2vw, 48px);
  --pt: calc(var(--nav-top) + 6.75rem); --pb: 2rem;
  --media-ar: var(--media-ar-w); --edge-poster: var(--edge-poster-w); --edge-still: var(--edge-still-w); --edge-ramp: var(--edge-ramp-w);
  display: grid; grid-template-columns: minmax(0, 1fr); background: var(--hv-bg); }
/* the text grid lies over the stage (>= 1200 px) or over its empty top (below): clicks pass through to the pause button */
.hero--home .hero__grid { grid-area: 1 / 1; z-index: 1; display: flex; align-items: center; width: 100%; padding-top: var(--pt); padding-bottom: var(--pb);
  pointer-events: none; }
.hero--home .hero__text { max-width: 41rem; pointer-events: auto; }
.hero--home .hero__facts { flex-direction: column; align-items: flex-start; }   /* a short spec list, clear of the rings */
.hero__stage { --text-r: calc(max(0px, (100% - 90rem) / 2) + 47.875rem);
  --w: min(var(--media-max), calc((100% - var(--inset) - var(--text-r) - var(--clear)) / (1 - var(--ring-x))));
  grid-area: 1 / 1; align-self: center; justify-self: start; position: relative; z-index: 0;   /* its feathers stay under the text */
  width: var(--w); margin: var(--pt) 0 var(--pb) calc(var(--text-r) + var(--clear) - var(--ring-x) * var(--w)); }
.hero__media { position: relative; aspect-ratio: var(--media-ar); background: var(--hv-bg); }
.hero__poster, .hero__poster img, .hero__nojs, .hero__nojs img, .hero__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero__poster img, .hero__nojs img, .hero__video { object-fit: contain; }   /* the box has the frame's ratio: contain = the whole frame */
.hero__video { opacity: 0; }   /* 60-motion.css fades it in over the poster */
/* the still fading in over the poster when autoplay is refused or the file fails (24-hero-video.js) */
.hero__alt { opacity: 0; transition: opacity 600ms var(--ease-out); }
.hero__alt.is-in { opacity: 1; }
/* the strip right of the frame: the frame's right edge colours (opaque), under a fade into the wall at its far end;
   at least 4 % wide, so it also reaches the screen edge (clipped by the hero) or, capped, blends into the wall */
.hero__media::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: max(var(--inset), 4%); pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--hv-bg-rgb), 0), var(--hv-bg)), var(--edge, var(--edge-poster)); }
/* while the video plays (Chrome paints it 1-3.5 levels lighter than the poster): its right edge blends into the strip's
   colours over the frame's free right edge, 6 % wide where the scene leaves room, about 1 % beside the carton's flap
   (build.py, edge_ramp; faded in with the video in 60-motion.css) */
.hero__media::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; right: -1px; width: calc(6% + 1px); pointer-events: none; opacity: 0;
  background: var(--edge-ramp) 0 0 / 100% 100% no-repeat; }   /* 1 px over the strip: the video layer snaps to whole pixels */
.hero__media.is-still { --edge: var(--edge-still); }   /* Save-Data (inline script in home.html), or after a failure */
@media (prefers-reduced-motion: reduce) { .hero__media { --edge: var(--edge-still); } }
@media (scripting: none) { .hero__media { --edge: var(--edge-still); } }
/* the feathers: the wall colour over the frame's edge, eased out to clear (the left one ends far left of the AUDIT ring,
   the top one above it, the bottom one under the carton; top and bottom also run over the strip) */
.hero__feather { position: absolute; z-index: 1; pointer-events: none; }
.hero__feather--l { inset: 0 auto 0 0; width: 24%;
  background: linear-gradient(90deg, var(--hv-bg), rgba(var(--hv-bg-rgb), .94) 14%, rgba(var(--hv-bg-rgb), .78) 30%, rgba(var(--hv-bg-rgb), .55) 46%, rgba(var(--hv-bg-rgb), .31) 62%, rgba(var(--hv-bg-rgb), .12) 80%, rgba(var(--hv-bg-rgb), 0)); }
.hero__feather--t { inset: 0 calc(-1 * max(var(--inset), 4%)) auto 0; height: 12%;   /* the AUDIT ring's top edge is at 13.2 % */
  background: linear-gradient(180deg, var(--hv-bg), rgba(var(--hv-bg-rgb), .85) 25%, rgba(var(--hv-bg-rgb), .52) 52%, rgba(var(--hv-bg-rgb), .2) 78%, rgba(var(--hv-bg-rgb), 0)); }
.hero__feather--b { inset: auto calc(-1 * max(var(--inset), 4%)) 0 0; height: 4.5%;
  background: linear-gradient(0deg, var(--hv-bg), rgba(var(--hv-bg-rgb), .6) 45%, rgba(var(--hv-bg-rgb), 0)); }
/* pause / play (WCAG 2.2.2): a small white disc in the frame's empty top-right corner (bottom-left on phones, where the
   empty top is lower than the button); hidden until the loop plays, never with reduced motion, Save-Data or no JS */
.hero__toggle { position: absolute; z-index: 2; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0;
  border: 1px solid rgba(10, 55, 121, .14); border-radius: 50%; background: rgba(255, 255, 255, .82); color: var(--ink); cursor: pointer;
  box-shadow: 0 1px 2px rgba(7, 22, 51, .05), 0 6px 14px -10px rgba(10, 55, 121, .35); transition: background-color .2s var(--ease-out); }
.hero__toggle[hidden] { display: none; }   /* display: grid would beat the hidden attribute */
.hero__toggle::after { content: ""; position: absolute; inset: -.3125rem; border-radius: 50%; }   /* a 44 px tap area (46 on desktop) */
.hero__toggle:hover { background: #fff; }
.hero__toggle:focus-visible { border-radius: 50%; }   /* the global ring would square it to 4 px */
.hero__toggle svg { display: block; width: .875rem; height: .875rem; fill: currentColor; }
.hero__toggle .hero__toggle-play { display: none; transform: translateX(1px); }   /* the triangle's optical centre */
.hero__toggle.is-paused .hero__toggle-pause { display: none; }
.hero__toggle.is-paused .hero__toggle-play { display: block; }
/* the client strip stands on the same wall, without the hairline */
.hero--home .strip { grid-area: 2 / 1; }
.hero--home .strip::before { display: none; }
/* hover blue on the wall: the brand blue reaches only 4.3:1 on it, this deeper one 5:1 (4.8:1 on its darkest tone);
   also for the clear nav bar over it (6:1 on the white capsule, should the menu open it) */
.hero--home .textlink:hover { color: #105CCB; }
html.js .page-home .nav:not(.is-solid) :is(.nav__link:not(.is-current), .nav__chev):hover { color: #105CCB; }
.hero__below { display: none; }
@media (max-width: 1199.98px) {
  /* tablets and phones: text, the whole frame (its left edge is the screen's below 992 px: no left feather), then the
     chips in a row */
  .hero--home { --pb: 1.25rem; }
  .hero--home .hero__grid { padding-top: 8.25rem; }
  .hero--home .hero__facts--text { display: none; }
  .hero__stage { grid-area: 2 / 1; justify-self: stretch; width: auto; margin: 0 var(--inset) 0 0; }
  .hero__feather--l { display: none; }
  .hero__below { display: block; grid-area: 3 / 1; position: relative; z-index: 1; width: 100%; }   /* auto margins would shrink it to its chips (centred on 430 px phones) */
  .hero--home .hero__facts--below { flex-direction: row; margin-top: .5rem; }
  .hero--home .strip { grid-area: 4 / 1; }
}
/* small laptops and iPads in landscape: the frame right-aligned at 60rem instead of the full width (a 1000-1200 px wide
   frame pushed most of the rings below the first screen); its empty top (13 % of its height) slides up beside the
   buttons' row, its left edge is feathered again */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero__stage { justify-self: end; width: min(100% - var(--inset), 60rem); margin-top: -4.5rem; }
  .hero__feather--l { display: block; }
}
/* from 1100 px the AUDIT ring stands 110+ px right of the buttons' row, so the rings can rise beside it: the whole
   scene, carton included, fits 1180 x 820 (iPad Air in landscape) */
@media (min-width: 1100px) and (max-width: 1199.98px) { .hero__stage { margin-top: -8rem; } }
/* the 4:3 cut (build.py, hero-narrow-*): 9.7 % wall left of the AUDIT ring, the carton at 98.3 %, the ring's top edge
   at 5.3 %, the carton's foot at 94 % — so the feathers shrink to that wall: left 7 % (tablets, where the frame stands
   free), top 4.5 %, bottom 5 % */
@media (max-width: 991.98px) {
  .hero--home { --media-ar: var(--media-ar-n); --edge-poster: var(--edge-poster-n); --edge-still: var(--edge-still-n); --edge-ramp: var(--edge-ramp-n); }
  .hero--home .hero__grid { padding-top: 8rem; }
  .hero__stage { justify-self: center; width: min(100% - 2 * var(--inset), 46rem); margin: .75rem 0 0; }
  .hero__feather--l { display: block; width: 7%; background: linear-gradient(90deg, var(--hv-bg), rgba(var(--hv-bg-rgb), .7) 30%, rgba(var(--hv-bg-rgb), .25) 65%, rgba(var(--hv-bg-rgb), 0)); }
  .hero__feather--t { height: 4.5%; }
  .hero__feather--b { height: 5%; }
}
/* phones held sideways (600-991 px wide, at most 540 px tall): the 4:3 frame no taller than the screen below the nav
   capsule (72 px plus some air), so the whole scene, rings to carton, fits on screen at once */
@media (min-width: 600px) and (max-width: 991.98px) and (max-height: 540px) {
  .hero__stage { width: min(100% - 2 * var(--inset), 46rem, (100svh - var(--nav-top) - 5.5rem) * 4 / 3); }
}
@media (max-width: 599.98px) {
  /* phones: H1, lead and buttons, then the rings from the screen's left edge (the cut's own wall, no feather) to 1.25rem
     before its right edge (the strip there gives the carton room), then the chips; button and link share a row where
     they fit (375 px and wider) */
  .hero--home { --pb: 0px; --inset: 1.25rem; }
  .hero--home .hero__grid { padding-top: 5.5rem; }
  /* the H1 in three lines instead of four: "tableware, kitchenware" fits one line, about 35 px on a 390 px phone; the
     space saved lifts the rings into Safari's first screen (390 x 664). It needs 9.7-9.85 em incl. tracking in the web
     font and 10.04-10.13 em in its metric-matched fallback (base.html, measured 320-450 px): 10.3 fits both, so the
     headline keeps its three lines when the web font arrives after the first paint (nothing below it jumps) */
  .hero--home .h1--home { font-size: min(2.625rem, calc((100vw - 2 * var(--gutter)) / 10.3)); }
  .hero__stage { justify-self: stretch; width: auto; margin: .5rem var(--inset) 0 0; }
  .hero__feather--l { display: none; }
  .hero__toggle { top: auto; right: auto; bottom: .625rem; left: var(--gutter); width: 2.125rem; height: 2.125rem; }
  .hero--home .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
  .hero--home .hero__facts--below { flex-direction: column; margin-top: .25rem; }
}
.hero--sub .hero__grid { width: 100%; }
.hero__grid { display: grid; grid-template-columns: 41rem 1fr; align-items: center; gap: 1rem; flex: 1; padding-top: 9.75rem; padding-bottom: 2rem; }
.hero__text { display: flex; flex-direction: column; gap: 1.25rem; position: relative; z-index: 1; }
.hero__lead { color: var(--text); max-width: 31.25rem; }
.hero__mail { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(18, 102, 223, .45);
  transition: color .25s var(--ease-out); white-space: nowrap; }
.hero__mail:hover { color: var(--blue); }
.hero__actions { display: flex; align-items: center; gap: 2rem; margin-top: .75rem; flex-wrap: wrap; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem .625rem; margin-top: 1.25rem; }
/* fact chips: white tickets on the light stage */
.hero__fact { display: inline-flex; align-items: center; gap: .5rem; padding: .4375rem .75rem .4375rem .5625rem; border-radius: var(--r10);
  border: 1px solid rgba(10, 55, 121, .1); background: var(--white); color: var(--text); font: 500 .9375rem/1.3 var(--font-t);
  box-shadow: 0 1px 2px rgba(7, 22, 51, .04), 0 6px 14px -10px rgba(10, 55, 121, .3); }
.hero__fact .icon { width: 1.125rem; height: 1.125rem; color: var(--blue); }
.hero__fact b { color: var(--ink); font-weight: 650; }
.hero__fact > span { text-wrap: balance; }
@media (min-width: 600px) { .hero__fact br { display: none; } }   /* phones: "within 24 h" on one line, the chip as narrow as its text */
.hero__fact-arrow { width: 1rem; height: 1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; color: var(--blue); transition: transform 250ms var(--ease-out); }
a.hero__fact:hover .hero__fact-arrow { transform: translateX(.2rem); }
a.hero__fact { transition: border-color .25s var(--ease-out); } a.hero__fact:hover { border-color: rgba(18, 102, 223, .4); }
@media (max-width: 599.98px) { .hero__facts { flex-direction: column; align-items: flex-start; } }

.hero__art { margin: 0 -10rem 0 -4rem; position: relative; }
.hero__art img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 50%, #000 62%, transparent 100%); }

.strip { position: relative; padding: 1.5rem 0 2rem; }
.strip::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, rgba(18, 102, 223, .22) 50%, transparent); }
.strip__caption { text-align: center; font-size: .88rem; letter-spacing: .04em; color: #4F5A6B; margin-bottom: 1.25rem; }

/* small laptops: the 14.5 px root floor would squeeze the text column, so the H1 gives way */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .h1--home { font-size: 3.5rem; }
}
@media (max-width: 991.98px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 8rem; }
  .hero__art { margin: 0 -1rem; max-width: 40rem; justify-self: center; }
}
@media (max-width: 599.98px) {
  .hero { border-radius: 0 0 var(--r24) var(--r24); }
  .hero__grid { padding-top: 7.5rem; gap: 1rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .strip__caption { margin-bottom: .75rem; }
}

/* subpage hero */
.hero--sub { min-height: 44.375rem; display: flex; align-items: center; }
.hero--sub .hero__grid { grid-template-columns: minmax(0, 40rem) 1fr; padding-top: 9.875rem; padding-bottom: 5rem; }
.hero--sub .hero__art { margin: 0 -3rem 0 0; }
/* compact page head (about, contact, legal): crumbs + H1 left, lead + action right, on the bottom line */
.hero--page { padding: calc(var(--nav-top) + 4rem + 4.75rem) 0 4.5rem; }
/* light grid: fades in below the clear nav (no lines behind the links), out towards the sides and the bottom */
.hero .plate__grid { background-image: var(--grid-light);
  -webkit-mask-image: linear-gradient(transparent 5rem, #000 10rem), radial-gradient(62% 100% at 50% 0, #000 30%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
          mask-image: linear-gradient(transparent 5rem, #000 10rem), radial-gradient(62% 100% at 50% 0, #000 30%, transparent 100%); }
.hero--page .plate__grid { height: 100%; }
/* the grid only where the head has two columns (H1 left, lead right); a one-column head would have it run through the
   H1 and the lead (small laptops, tablets, phones) */
@media (max-width: 1199.98px) { .hero .plate__grid { display: none; } }
/* draft D: the page heads drop the dashed grid (Holger: "technical") and keep a softer light, so they read as the same
   calm studio wall and floor as the still life on Home (the rules above stay for an easy way back) */
.hero .plate__grid { display: none; }
.hero--page .hero__glow, body.page-404 .hero__glow { bottom: -10rem; width: 64rem; height: 20rem; opacity: .5; }
@media (max-width: 599.98px) { .hero--page .hero__glow, body.page-404 .hero__glow { bottom: -7rem; width: 30rem; height: 14rem; } }
/* Home: below 992 px the bottom glow would sit under the marquee's edge fades (flat --hero-lo) and show them as boxes */
@media (max-width: 991.98px) { .hero--home .hero__glow { display: none; } }
.pagehead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26.25rem); gap: 2.5rem 4rem; align-items: end; position: relative; }
.pagehead--solo { grid-template-columns: minmax(0, 1fr); }
.pagehead__title { font-size: 4rem; line-height: 1.08; max-width: 14em; }
.pagehead__side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-bottom: .5rem; }
.pagehead__side .hero__actions { margin-top: 0; }
@media (max-width: 1199.98px) { .pagehead { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } .pagehead__side { padding-bottom: 0; max-width: 36rem; } }
@media (max-width: 991.98px) { .hero--page { padding: 8.5rem 0 3rem; } .pagehead__title { font-size: 3rem; } }
@media (max-width: 599.98px) { .hero--page { padding: 7rem 0 2.5rem; } .pagehead__title { font-size: 2.5rem; } }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: 1rem; line-height: 1.5; color: var(--muted); margin-bottom: .75rem; }
.crumbs a { font-weight: 500; transition: color .25s var(--ease-out); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
@media (max-width: 991.98px) { .hero--sub { min-height: 0; } .hero--sub .hero__grid { grid-template-columns: 1fr; padding-top: 8rem; padding-bottom: 3rem; } .hero--sub .hero__art { display: none; } }

/* ---------------------------------------------------------------- pillars (staggered 2 x 2) */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.svc-grid__card { display: flex; flex-direction: column; gap: .75rem; padding: 1.375rem 1.375rem 1.25rem; transition: background-color .25s var(--ease-out); }
.svc-grid__card:hover { background: var(--white); }
.svc-grid__top { display: flex; align-items: center; gap: .75rem; }
.svc-grid__tile { width: 2.5rem; height: 2.5rem; border-radius: var(--r10); }
.svc-grid__tile .icon { width: 1.375rem; height: 1.375rem; }
.svc-grid__stage { font-size: max(.72rem, 11.5px); letter-spacing: .14em; line-height: 1.2; color: var(--muted); }
.svc-grid__title { font: 590 1.25rem/1.2 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); text-wrap: balance; }
.svc-grid__text { font-size: .9375rem; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.svc-grid__more { margin-top: auto; display: inline-flex; align-items: center; gap: .375rem; font: 600 .9375rem/1.4 var(--font-t); color: var(--blue); }
.svc-grid__more .arrow { width: 1.125rem; height: 1.125rem; transition: transform 250ms var(--ease-out); }
.svc-grid__card:hover .svc-grid__more .arrow { transform: translateX(.25rem); }
@media (max-width: 1199.98px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) {   /* phones: compact rows like the mega menu; the short text stays in the HTML */
  .svc-grid { grid-template-columns: 1fr; gap: .5rem; }
  .svc-grid__card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "tile stage" "tile title";
    column-gap: .875rem; row-gap: .2rem; align-items: center; padding: .75rem .875rem; }
  .svc-grid__top { display: contents; }
  .svc-grid__tile { grid-area: tile; } .svc-grid__stage { grid-area: stage; align-self: end; }
  .svc-grid__title { grid-area: title; align-self: start; font-size: 1.0625rem; }
  .svc-grid__text, .svc-grid__more { display: none; }
}

/* ---------------------------------------------------------------- why plate (head + 4 cards) */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.why__card { min-height: 0; gap: 1rem; }

@media (max-width: 1199.98px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599.98px) { .why { grid-template-columns: 1fr; } .why__card { min-height: 0; border-radius: var(--r16); } }

/* ---------------------------------------------------------------- what we check (tiles) */
.checks { position: relative; isolation: isolate; }
.tiles { display: grid; grid-template-columns: repeat(6, 9.375rem); justify-content: center; gap: 1.3125rem; }
.tile__in { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .875rem; height: calc(9.375rem - 2px); padding: 2rem 1rem 1rem; text-align: center; font: 600 .95rem/1.25 var(--font-t); color: var(--ink); }
.tile__label { display: block; min-height: 2.5em; }
.icon--tile { width: 2.25rem; height: 2.25rem; color: var(--blue); stroke-width: 1.4; }
@media (max-width: 1199.98px) { .tiles { grid-template-columns: repeat(4, 9.375rem); } }
@media (max-width: 767.98px) { .tiles { grid-template-columns: 1fr 1fr; gap: .5rem; } .tile__in { flex-direction: row; justify-content: flex-start; align-items: center; height: auto; min-height: 3.5rem; padding: .625rem .75rem; text-align: left; gap: .625rem; font-size: .875rem; } .tile__label { min-height: 0; } .icon--tile { width: 1.5rem; height: 1.5rem; } }
.checks__more { margin-top: 2.25rem; text-align: center; text-wrap: balance; color: var(--text); }
.checks__more .arrowlink { display: inline-flex; white-space: nowrap; }

/* ---------------------------------------------------------------- services bento (2 wide + 3 + 3) */

/* ---------------------------------------------------------------- products (tabs + slider) */
.products { display: grid; grid-template-columns: 19.6875rem minmax(0, 1fr); gap: 2.0625rem; }
.products__main, .products__tabs { min-width: 0; }
.products__tabs .frame__in { display: flex; flex-direction: column; padding: 1.75rem 1.5rem; }
.products__tabs .tab { padding: 1.125rem 0 1.125rem 1rem; }
.products__more { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.products__tabs .tabs { margin-bottom: 2rem; }
.products__tabs .tabs li { display: flex; }
.products__more p:not(.eyebrow) { color: var(--text); line-height: 1.45; }
.eyebrow--small { font-size: .78rem; letter-spacing: .16em; color: var(--muted); }
.arrowlink { display: inline-flex; align-items: center; gap: .375rem; margin-top: .25rem; font: 600 1rem/1.4 var(--font-t); color: var(--blue); }
.arrowlink .arrow { width: 1.125rem; height: 1.125rem; transition: transform 250ms var(--ease-out); }
.arrowlink:hover { color: var(--blue-hover); }
.arrowlink:hover .arrow { transform: translateX(.25rem); }
.products__tabs .eyebrow { margin-bottom: 1.5rem; }
.products__main .frame__in { padding: 2.5rem 2rem 2rem 2.5rem; overflow: hidden; }
.products__main .head { margin-bottom: 2.5rem; }
@media (max-width: 991.98px) {
  .products { grid-template-columns: minmax(0, 1fr); }
  .products__tabs { display: none; }
}
@media (max-width: 599.98px) {
  .products__main .frame__in { padding: 1.5rem 1rem; }
  .slider__viewport { margin-right: -1rem; }
  .slide { width: min(19.25rem, 82vw); grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; min-height: 0; gap: 1.25rem; padding: .75rem .75rem 1.5rem; }
  .slide__art { order: -1; align-self: start; }
  .slide__text { padding: 0 .5rem; }
  .slide__title { font-size: 1.5rem; }
  .slider__fade { display: none; }
}

/* ---------------------------------------------------------------- process steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding-bottom: 2.75rem; }
.steps::after { content: ""; position: absolute; left: 0; right: 0; bottom: .5rem; height: 1px; background: rgba(214, 228, 255, .22); }
.step { position: relative; }
.step__card { height: 100%; min-height: 0; }
.step__card .eyebrow { margin-bottom: .5rem; }
.step__dot { position: absolute; left: 1.5rem; bottom: calc(-2.75rem + .5px); /* centre on the 1 px timeline, .5rem above the list bottom */ width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid #8EC2FF; background: var(--plate); box-shadow: 0 0 0 4px rgba(142, 194, 255, .14); z-index: 1; }
@media (max-width: 1199.98px) { .steps { grid-template-columns: repeat(3, 1fr); padding-bottom: 0; } .steps::after, .step__dot { display: none; } }
@media (min-width: 768px) and (max-width: 1199.98px) { .steps { grid-template-columns: repeat(6, 1fr); } .step { grid-column: span 2; } .step:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } .step__card { min-height: 0; } }
.plate-price { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--blue-hair); }
.plate-price .eyebrow { margin-bottom: 1rem; }
.plate-price__side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.plate-price__side p { color: var(--on-blue); font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 991.98px) { .plate-price { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; padding-top: 2rem; } }
@media (max-width: 767.98px) {   /* phones: dot, line, text; no card frames */
  .steps { gap: 0; }
  .step { padding-left: 1.75rem; }
  .step::before { content: ""; position: absolute; left: .4375rem; top: 1.25rem; bottom: -1.25rem; width: 1px; background: rgba(214, 228, 255, .22); }
  .step:last-child::before { display: none; }
  .step__dot { display: block; left: 0; top: .9rem; bottom: auto; width: .875rem; height: .875rem; }  /* reuse the desktop dot (A2 animates it) */
  .step__card { padding: .5rem 0 1.25rem; border: 0; box-shadow: none; border-radius: 0; gap: .5rem; background: none; }
  .step__card::before { display: none; }
  .step__card .eyebrow { margin-bottom: 0; font-size: .8rem; }
}


/* ---------------------------------------------------------------- CTA band */
.band-cta__in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; padding: 3.5rem 3.75rem; }
.band-cta .eyebrow { margin-bottom: 1.25rem; }
.band-cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.band-cta__side p { font-size: 1.125rem; line-height: 1.44; }
@media (max-width: 991.98px) { .band-cta__in { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 2.5rem; } .band-cta .eyebrow { margin-bottom: 1rem; } }
@media (max-width: 767.98px) { .band-cta__in { padding: 2rem 1.5rem; } }

/* ---------------------------------------------------------------- services page */
.section--first { padding-top: 6.25rem; }
@media (max-width: 599.98px) { .section--first { padding-top: 3.75rem; } }
/* ---------------------------------------------------------------- services explorer (/services/)
   One DOM: >= 992 px master–detail (index left, open service right; all panels share one grid cell, so the tallest
   sets the height and nothing below moves); < 992 px accordion. html.js is set in <head>. */
.section--explorer { padding-top: 5rem; }
.explorer { border-radius: var(--r24); }
.explorer > .frame__in { border-radius: calc(var(--r24) - 1px); }
.explorer__in { position: relative; display: grid; grid-template-columns: minmax(0, 20.5rem) minmax(0, 1fr);
  grid-template-rows: auto repeat(var(--rows), auto) 1fr; column-gap: 3.5rem; padding: 1.75rem 2.5rem 2.25rem 2rem; }
.explorer__bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.25rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); }
.explorer__title { font-size: .875rem; letter-spacing: .18em; }
.explorer__aql { margin: 0; font-size: .95rem; }
/* index: stage labels + one button per service; the rail is their left border */
.explorer__group, .explorer__item { grid-column: 1; margin: 0; border-left: 1px solid var(--line); }
.explorer__group { display: flex; align-items: baseline; gap: .625rem; padding: .875rem 0 .375rem 1.25rem;
  font: 400 max(.75rem, 11.5px)/1.2 var(--font-d); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.explorer__bar + .explorer__light + .explorer__group { padding-top: .75rem; }
.explorer__num { color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.explorer__toggle { display: flex; align-items: center; gap: .875rem; width: 100%; min-height: 3.25rem;
  padding: .4375rem .75rem .4375rem 1.25rem; border-radius: 0 var(--r12) var(--r12) 0; text-align: left;
  font: 600 1rem/1.3 var(--font-t); color: var(--text);
  transition: color .25s var(--ease-out), background-color .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.explorer__toggle:hover { color: var(--blue-hover); }
.explorer__toggle:focus-visible { outline-offset: -2px; border-radius: 0 var(--r12) var(--r12) 0; } /* global ring would reset to 4px */
.explorer__toggle[aria-expanded="true"] { color: var(--ink); background: var(--white);
  box-shadow: 0 1px 2px rgba(7, 22, 51, .06), 0 6px 16px -8px rgba(10, 55, 121, .18); }
.explorer__toggle[aria-disabled="true"] { cursor: default; }
.explorer__tile { width: 2.5rem; height: 2.5rem; border-radius: var(--r10); }
.explorer__tile .icon { width: 1.375rem; height: 1.375rem; }
.explorer__label { flex: 1; min-width: 0; }
.explorer__chev { display: none; width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
/* the light on the rail: one 2 px bar that glides to the open row (transform/opacity only) */
.explorer__light { overflow-anchor: none; position: absolute; top: 0; left: calc(2rem - .5px); z-index: 1; width: 2px; height: 1px; pointer-events: none;
  background: var(--blue); transform-origin: 0 0; transform: translateY(var(--y, 0)) scaleY(var(--h, 0)); opacity: 0; }
.explorer.is-ready .explorer__light { transition: transform .45s var(--ease), opacity .3s var(--ease); }
/* panels: column 2, all in one cell; scroll-margin + html scroll-padding (7rem) land the card top just under the nav */
.explorer__panel { grid-column: 2; grid-row: 2 / -1; align-self: start; display: grid; grid-template-columns: minmax(0, 1fr);
  row-gap: 1.5rem; padding-top: 1.125rem; scroll-margin-top: 3.75rem; }
.explorer__main { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.explorer__stage, .explorer__checks-label { font: 400 max(.75rem, 11.5px)/1.2 var(--font-d); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.explorer__checks-label { margin-bottom: .5rem; color: var(--text); }
.explorer__name { margin-top: -.25rem; }
.explorer__short { max-width: 40rem; font-size: 1.125rem; line-height: 1.5; color: var(--text); }
.explorer__when { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding-top: 1rem; border-top: 1px solid var(--line); line-height: 1.45; }
.explorer__when-label { flex: none; min-width: 3.5rem; font: 500 max(.75rem, 11.5px)/1.45 var(--font-d); text-transform: uppercase; letter-spacing: .16em; color: var(--text); }
.explorer__when-label + span { color: var(--ink); font-weight: 500; }
.explorer__checks li { display: flex; gap: .75rem; padding: .625rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; line-height: 1.4; }
.explorer__checks li .icon { margin-top: .05rem; color: var(--blue); }
.explorer__checks li > span { text-wrap: pretty; }   /* no single word alone on the last line */
.explorer__cta { display: flex; }

@media (min-width: 992px) {
  html.js .explorer__panel { visibility: hidden; }
  html.js .explorer__panel.is-open,
  html.js .explorer:not(.is-ready) .explorer__panel:target { visibility: visible; }
  /* separate rule: a browser without :has() would drop a whole selector list */
  html.js .explorer:not(.is-ready):not(.has-target):not(:has(.explorer__panel:target)) .explorer__panel[data-default] { visibility: visible; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .explorer__in { grid-template-columns: minmax(0, 18.5rem) minmax(0, 1fr); column-gap: 2.5rem; }
}
@media (max-width: 991.98px) {
  .explorer__in { display: block; padding: 1.25rem 1.25rem .25rem; }
  .explorer__light, .explorer__stage, .explorer__name { display: none; }
  .explorer__group, .explorer__item { border-left: 0; }
  .explorer__group { padding: 1.5rem 0 .625rem; }
  .explorer__bar + .explorer__light + .explorer__group { padding-top: .75rem; }
  .explorer__item { border-top: 1px solid var(--line); }
  .explorer__toggle { min-height: 4rem; padding: .75rem 0; border-radius: 0; }
  .explorer__toggle:focus-visible { border-radius: var(--r8); }
  .explorer__toggle[aria-expanded="true"] { color: var(--blue); background: none; box-shadow: none; }
  .explorer__chev { display: block; }
  .explorer__toggle[aria-expanded="true"] .explorer__chev { transform: rotate(180deg); }
  .explorer__panel { padding: 0 0 1.5rem; row-gap: 1.25rem; scroll-margin-top: 4.25rem; }
  html.js .explorer__panel { display: none; }
  html.js .explorer__panel.is-open, html.js .explorer:not(.is-ready) .explorer__panel:target { display: grid; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .explorer__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; }
  .explorer__cta { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  .section--explorer { padding-top: 3.75rem; }   /* the same air under the page head as .section--first */
  .explorer { border-radius: var(--r16); }
  .explorer > .frame__in { border-radius: calc(var(--r16) - 1px); }
  .explorer__in { padding: 1rem 1rem .25rem; }
  .explorer__short { font-size: 1rem; }
}
/* without JavaScript (no html.js): every service open, one after the other, at every width */
html:not(.js) .explorer__in { display: block; }
html:not(.js) .explorer__light, html:not(.js) .explorer__chev, html:not(.js) .explorer__stage, html:not(.js) .explorer__name { display: none; }
html:not(.js) .explorer__group, html:not(.js) .explorer__item { border-left: 0; }
html:not(.js) .explorer__panel { padding: 0 0 1.5rem; }
@media print {
  .explorer__in { display: block; }
  .explorer__panel { display: grid !important; visibility: visible !important; padding: 0 0 1rem; }
  .explorer__light, .explorer__chev, .explorer__stage, .explorer__name { display: none !important; }
  .explorer__toggle[aria-expanded="true"] { background: none; box-shadow: none; color: inherit; }
}

/* ---------------------------------------------------------------- about page */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 5rem; align-items: start; }
.split__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.split__text { display: flex; flex-direction: column; gap: 1.25rem; font-size: 1.125rem; line-height: 1.6; margin-top: .75rem; }
.split .h2 { font-size: 3rem; max-width: 9.5em; } /* breaks as 'Quality management / from Chaozhou' */
@media (max-width: 1199.98px) { .split .h2 { font-size: 2.5rem; } }
.facts { margin-top: 3.75rem; border-radius: var(--r16); padding: 4px; background: #fff; box-shadow: var(--light-lift); }
/* the plates' cobalt with the same top glaze and light from above (was a 135-degree gradient, light from the bottom right) */
.facts__in { border-radius: calc(var(--r16) - 4px); background: var(--plate-bg); padding: 2rem 2.25rem 2.25rem; color: #fff; }
.facts .eyebrow { color: #fff; font-weight: 600; letter-spacing: .2em; margin-bottom: 1.75rem; }
.facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 2rem; margin: 0; }
.facts dl > div { padding-left: 1.25rem; border-left: 1px solid rgba(200, 222, 255, .3); }
.facts dt { font: 500 .78rem/1.2 var(--font-d); text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: .625rem; }
.facts dl dd { font-size: 1.25rem; }
@media (max-width: 1199.98px) { .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts dl > div:first-child { grid-column: 1 / -1; } }
.facts dd { margin: 0; font: 590 1.375rem/1.2 var(--font-d); letter-spacing: var(--track-d); color: #fff; text-wrap: balance; }
.team { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem 4rem; align-items: end; }
.team__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; max-width: 40rem; }
.team-note { font-size: 1.125rem; line-height: 1.5; color: var(--on-blue); max-width: 34rem; }
.team__actions { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; min-width: 17rem; }
.team__actions .btn, .team__actions .btn__ring { display: flex; flex: 1 1 auto; }
.team__actions .btn__inner { flex: 1 1 auto; }
.team__actions .contact-pill { justify-content: flex-start; padding-left: 1rem; }
@media (max-width: 767.98px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 1199.98px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } .split__text { padding-top: 0; max-width: 42rem; } }
@media (max-width: 767.98px) { .facts { margin-top: 2.5rem; } .team__actions { min-width: 0; align-self: stretch; } }
@media (max-width: 599.98px) { .facts__in { padding: 1.5rem 1.25rem; } .facts dl { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ---------------------------------------------------------------- contact page */
.section--quote { padding-top: 4.5rem; }
@media (max-width: 599.98px) { .section--quote { padding-top: 3.75rem; } }   /* as .section--first */
.quote { display: grid; grid-template-columns: 1fr 22rem; gap: 1.5rem; align-items: start; }
@media (min-width: 992px) and (max-width: 1199.98px) { .quote { grid-template-columns: 1fr 18rem; } .quote__side .frame__in { padding: 1.5rem; } }
.quote__form .form { padding: 2rem; }
.quote__side .frame__in { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.quote__side dl { display: flex; flex-direction: column; margin: 0; }
.side-item { position: relative; padding: .75rem 0 .75rem 2.375rem; border-top: 1px solid var(--line); }
.side-item:first-child { border-top: 0; padding-top: 0; }
.side-item .icon { position: absolute; left: 0; top: calc(.75rem + .1rem); width: 1.5rem; height: 1.5rem; color: var(--blue); }
.side-item:first-child .icon { top: .1rem; }
.side-item dt { font: 600 .88rem/1.3 var(--font-t); color: var(--muted); }
.side-item dd { margin: .25rem 0 0; font: 590 1.0625rem/1.35 var(--font-d); color: var(--ink); letter-spacing: var(--track-d); overflow-wrap: anywhere; }
.side-item dd a, .side-item__btn { color: var(--blue); }
.side-item__btn { text-align: left; letter-spacing: inherit; }   /* WeChat ID: opens the WeChat card */
@media (min-width: 992px) { .quote__side { position: sticky; top: 7rem; } }
@media (max-width: 767.98px) { .quote__side { order: -1; } }
.form__note { font-size: .88rem; color: var(--muted); }
@media (max-width: 991.98px) { .quote { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- legal / article */
.legal { padding-top: 2.5rem; }
.legal .rich > h2:first-child { margin-top: 1.5rem; }
@media (max-width: 599.98px) { .legal .rich > h2:first-child { margin-top: 1.25rem; } }   /* 3.75rem in all, as .section--first */
.rich h2 { font: 590 1.75rem/1.2 var(--font-d); color: var(--ink); margin: 2.5rem 0 1rem; }
.rich p, .rich li { font-size: 1rem; line-height: 1.62; margin-bottom: 1rem; }
.rich ul { list-style: disc; padding-left: 1.875rem; }
.rich a { color: var(--blue-link); }
.legal .rich p, .legal .rich li { max-width: 32rem; }
.rich address { font-style: normal; line-height: 1.62; margin-bottom: 1rem; }

/* ---------------------------------------------------------------- 404 */
.notfound { min-height: 44.375rem; display: grid; place-items: center; text-align: center; padding: 10rem var(--gutter) 5rem; }
.notfound__in { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; max-width: 36rem; }
.notfound__code { font: 590 8rem/1 var(--font-d); color: transparent; -webkit-text-stroke: 1.5px rgba(18, 102, 223, .5); letter-spacing: .05em; }
/* 404: a light head like every page (glow: see .hero--page), then the usual gap and the dark footer */

/* ---------------------------------------------------------------- real photos (never cropped) */
.photo { margin: 0; padding: 4px; border-radius: var(--r16); background: rgba(255, 255, 255, .06); border: 1px solid rgba(var(--sky), .16); }
.photo img { width: 100%; height: auto; border-radius: calc(var(--r16) - 4px); }
.why-head { display: grid; grid-template-columns: 1fr minmax(0, 26rem); gap: 3rem; align-items: end; margin-bottom: 3.75rem; }
.why-head__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding-bottom: .5rem; }
.why-head__lead { color: var(--on-blue); max-width: 32rem; }
.why-head .pill { white-space: nowrap; }
.why__card { border-radius: var(--r16); }
@media (max-width: 1199.98px) { .why-head { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; margin-bottom: 2.5rem; } .why-head__lead { max-width: 36rem; padding-bottom: 0; } }


/* ---------------------------------------------------------------- person card (real portrait, background removed) */
.person-card { position: relative; margin: 0; overflow: hidden; isolation: isolate; border-radius: var(--r16); border: 1px solid var(--blue-hair);
  background: radial-gradient(85% 55% at 50% 38%, rgba(76, 155, 255, .32), transparent 72%), linear-gradient(180deg, var(--cobalt), var(--cobalt-deep) 78%);
  box-shadow: var(--dark-inset); display: flex; flex-direction: column; justify-content: flex-end; }
.person-card img { display: block; width: 100%; height: auto; }
.person-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, rgba(7, 22, 51, .88)); pointer-events: none; }
.person-card__cap { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; display: flex; flex-direction: column; gap: .2rem; }
.person-card__name { font: 590 1.375rem/1.15 var(--font-d); letter-spacing: var(--track-d); color: #fff; }
.person-card__org { font-size: .9rem; color: var(--on-blue); }

/* why plate: head, the four benefit cards, then the team as a row of name cards */
.why-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "cards" "person"; row-gap: 1rem; }
.why-layout .why-head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; margin: 0 0 1.5rem; }
.why-layout .why-head__lead { max-width: 34rem; }
.why-layout .why { grid-area: cards; }
.why-layout .why-team { grid-area: person; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

/* name cards (team, no photos yet) */
.name-card { flex-direction: row; align-items: flex-start; gap: 1.125rem; }
.name-card__mono { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; flex: none; border-radius: var(--r12);
  border: 1px solid var(--glaze-line); background: linear-gradient(145deg, rgba(150, 190, 255, .2), rgba(150, 190, 255, .06));   /* blue glaze, not white */
  font: 590 1.25rem/1 var(--font-d); letter-spacing: .04em; color: #fff; }
.name-card__text { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.name-card__text .eyebrow { font-size: .8rem; }
.name-card__org { font-size: .95rem; line-height: 1.45; color: var(--on-blue); }
.name-card__mail { display: inline-flex; align-items: center; gap: .5rem; margin-top: .35rem; color: var(--on-blue-link); font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.name-card__mail .icon { width: 1.125rem; height: 1.125rem; }
.name-card__mail { position: relative; }
.name-card__mail::after { content: ""; position: absolute; inset: -.1875rem 0; }   /* taller tap areas, meeting in the gap between the links */
.name-card__mail:hover { color: #fff; }
/* the links read as links at rest (porcelain light blue) and underline on hover and keyboard focus */
.name-card__mail:is(:hover, :focus-visible) > span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(214, 230, 255, .6); }
button.name-card__mail { text-align: left; }   /* WeChat ID: opens the WeChat card */
.team-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .why-layout .why-team, .team-cards { grid-template-columns: 1fr; } }
/* from 992 px: Holger and Yiboo stacked on the left, Jo's contact card (with the mail, phone and WeChat lines) on the
   right over both rows, so no card is stretched half-empty to the height of Jo's */
@media (min-width: 992px) {
  .why-layout .why-team, .team-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-team > .name-card--contact, .team-cards > .name-card--contact { grid-column: 2; grid-row: 1 / span 2; }
}

/* client wall: one framed panel, hairline-ruled cells (names only until logos are cleared) */
.clients-wall { position: relative; border-radius: var(--r24); }
.clients-wall__in { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.clients-wall .frame__in { border-radius: calc(var(--r24) - 1px); }
.clients-wall__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); overflow: hidden; }
.clients-wall__cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; min-height: 9.5rem; padding: 1.5rem 1rem; background: var(--card); text-align: center; transition: background-color 300ms var(--ease-in-out); }
.clients-wall__cell:hover { background: var(--white); }
.clients-wall__name { font: 590 1.75rem/1.1 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); }
.clients-wall__meta { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.clients-wall__arrow { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 250ms var(--ease-out); }
@media (max-width: 991.98px) { .clients-wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .clients-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .clients-wall__cell { min-height: 7rem; padding: 1.25rem .5rem; } .clients-wall__name { font-size: 1.3rem; } .clients-wall__meta { font-size: .6875rem; } }

/* ---------------------------------------------------------------- AQL calculator */
.aql { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.5rem; align-items: start; }
.aql__hint { font-weight: 500; color: var(--muted); }
.aql__result-in { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 2rem; }
.aql__stats { display: grid; grid-template-columns: auto 1fr; gap: 1rem; width: 100%; }
.aql__stats > div { padding: 1.25rem 1.5rem; border-radius: var(--r16); background: var(--white); border: 1px solid var(--line); }
.aql__stats dt { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.aql__stats dd { margin-top: .5rem; text-align: left; font: 590 3rem/1 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); font-variant-numeric: tabular-nums; }
.aql__stats dd small { font: 600 1rem/1 var(--font-t); color: var(--muted); }
.aql__stats > div:last-child dd { color: var(--blue); }
.aql__table-wrap { width: 100%; overflow-x: auto; }
.aql__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.aql__table th, .aql__table td { padding: .75rem .5rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.aql__table th:first-child { text-align: left; padding-left: 0; }
.aql__table thead th { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.aql__table tbody th { font-weight: 600; color: var(--ink); }
.aql__table td { color: var(--text); }
.aql__table td[data-k="ac"], .aql__table td[data-k="re"] { font-weight: 700; color: var(--ink); }
.aql__table tr.is-off td, .aql__table tr.is-off th { color: var(--grey); font-weight: 500; }
.aql__notes { display: flex; flex-direction: column; gap: .5rem; width: 100%; }
.aql__notes:empty { display: none; }
.aql__notes li { position: relative; padding: .625rem .875rem .625rem 2.25rem; border-radius: var(--r10); background: rgba(18, 102, 223, .06); color: var(--text); font-size: .9375rem; line-height: 1.45; }
.aql__notes li::before { content: "i"; position: absolute; left: .75rem; top: .7rem; display: grid; place-items: center; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--blue); color: #fff; font: 700 .7rem/1 var(--font-t); }
.aql__read { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.aql.is-empty .aql__result { opacity: .45; }
/* the lot hint ("Enter a lot size of 2 pieces or more", about 204 px, also on an empty field) is longer than the
   8.5rem the shared field keeps free beside the label: here it sits under the input */
.aql .field__hint { position: static; }
.aql .field.is-invalid .field__label { padding-right: 0; }
@media (max-width: 991.98px) { .aql { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599.98px) { .aql__result-in { padding: 1.25rem; } .aql__stats dd { font-size: 2.25rem; } .aql__stats > div { padding: 1rem; } }

.ref-table { border-radius: var(--r24); }
.ref-table__in { border-radius: calc(var(--r24) - 1px); overflow-x: auto; }
.ref-table__hint { display: none; margin-top: .75rem; font-size: .875rem; color: var(--muted); }
@media (max-width: 767.98px) { .ref-table__hint { display: block; } }   /* phones: the table is wider than the screen */
.ref-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 46rem; }
.ref-table th, .ref-table td { padding: .875rem 1rem; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ref-table thead th { position: sticky; top: 0; background: var(--panel); font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ref-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.ref-table tbody td { color: var(--text); }
.ref-table tbody tr:last-child th, .ref-table tbody tr:last-child td { border-bottom: 0; }
.ref-table tbody tr:hover { background: var(--white); }
.ref-table td small { color: var(--muted); }
.ref-table th:first-child { padding-left: 1.5rem; }
.ref-table thead th:first-child { text-align: left; }   /* over the left-aligned lot sizes */
@media (max-width: 767.98px) {
  /* the table scrolls sideways here: the lot size column stays put, so every row keeps its label (opaque, with a 1 px
     line on its right edge as a background layer: table cells drop an outer box-shadow) */
  .ref-table th:first-child { --edge: linear-gradient(to left, var(--line) 1px, transparent 1px); position: sticky; left: 0; z-index: 1; background: var(--edge), var(--card); }
  .ref-table thead th:first-child { z-index: 2; background: var(--edge), var(--panel); }
  .ref-table tbody tr.is-match th:first-child { background: var(--edge), linear-gradient(rgba(18, 102, 223, .07), rgba(18, 102, 223, .07)), var(--card); }
}
@media (max-width: 599.98px) {
  .aql__table th, .aql__table td { padding: .625rem .3rem; font-size: .875rem; }
  .aql__table thead th { white-space: normal; font-size: .6875rem; letter-spacing: .03em; vertical-align: bottom; }
  .aql__table tbody th { white-space: normal; }
}
.aql__s { display: none; }
@media (max-width: 1199.98px) { .aql__l { display: none; } .aql__s { display: inline; } .ref-table th, .ref-table td { padding: .75rem .5rem; } .ref-table th:first-child { padding-left: 1rem; } }
@media (max-width: 991.98px) { .ref-table table { font-size: .875rem; min-width: 40rem; } .ref-table th, .ref-table td { padding: .625rem .375rem; } .ref-table thead th { font-size: .6875rem; } }
.side-item__note { display: block; margin-top: .3rem; font: 500 .875rem/1.4 var(--font-t); letter-spacing: 0; color: var(--muted); }
.clients-wall__cell--more { background: var(--white); }
.clients-wall__cell--more .clients-wall__name { color: var(--blue); }
.clients-wall__link { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 600; color: var(--blue-link); }
.clients-wall__link:hover .clients-wall__arrow { transform: translateX(.25rem); }
.clients-wall__nowrap { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }

/* ---------------------------------------------------------------- real photos (Jo's set, 22.10.): light frame, ratio = photo */
.pic { position: relative; margin: 0; }
.pic__frame { position: relative; display: block; padding: 4px; border-radius: var(--r16); background: var(--frame-blue); box-shadow: var(--light-lift); }
.pic__frame img { display: block; width: 100%; height: auto; border-radius: calc(var(--r16) - 4px); background: #E9EDF3; }
.pic__shutter { position: absolute; inset: 4px; border-radius: calc(var(--r16) - 4px); background: #E9EDF3; transform-origin: 100% 50%; transform: scaleX(0); pointer-events: none; }
.pic__cap { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .625rem; max-width: calc(100% - 2rem);
  padding: .4375rem .875rem .4375rem .4375rem; border-radius: var(--r10); background: rgba(7, 22, 51, .8); color: #fff; font: 600 .9375rem/1.3 var(--font-t); text-wrap: balance; }
.pic__num { display: grid; place-items: center; flex: none; min-width: 1.75rem; height: 1.75rem; padding: 0 .375rem; border-radius: var(--r8); background: var(--blue); color: #fff; font: 600 .75rem/1 var(--font-d); letter-spacing: .06em; }
.pic__cap:not(:has(.pic__num)) { padding-left: .875rem; }

/* Home: inspection photos, 2 + 3 (all 4:3, so both rows line up without cropping); a swipe row on phones */
.shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; max-width: 76.25rem; margin: 0 auto; }
.shots__note { margin: 1.25rem auto 3.75rem; text-align: center; font-size: .9375rem; color: var(--muted); }
.shot--1, .shot--2 { grid-column: span 3; }
.shot--3, .shot--4, .shot--5 { grid-column: span 2; }
.shot--3 .pic__cap, .shot--4 .pic__cap, .shot--5 .pic__cap { left: .75rem; bottom: .75rem; max-width: calc(100% - 1.5rem); font-size: .875rem; }
@media (max-width: 599.98px) {
  .shots__note { margin: 1rem auto 2.5rem; padding: 0 var(--gutter); }
  .shots { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) .5rem; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 84%; scroll-snap-align: center; }
}
@media (max-width: 991.98px) {
  .shot .pic__cap, .shot--3 .pic__cap, .shot--4 .pic__cap, .shot--5 .pic__cap { position: static; max-width: none; margin-top: .625rem; padding: 0; background: none; color: var(--text); font-size: .875rem; align-items: flex-start; }
}

/* About: the packing hall under the heading */
.split__pic { width: 100%; }
@media (max-width: 1199.98px) { .split__pic { margin-top: .5rem; } }

.name-card__mail + .name-card__mail { margin-top: 0; }
/* service cards: the title link covers the whole card */
.svc-grid__card { position: relative; }
.svc-grid__link { color: inherit; }
.svc-grid__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-grid__link:focus-visible { outline: none; }
.svc-grid__card:has(.svc-grid__link:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }

/* 52-service.css */
/* ---------------------------------------------------------------- service pages (/services/<slug>/, 09.11.) */
/* At a glance: the About page's cobalt facts box with four values (2 x 2 below 1200 px, stacked on phones) */
.facts--4 dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .facts--4 dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts--4 dl > div:first-child { grid-column: auto; } }
@media (max-width: 599.98px) { .facts--4 dl { grid-template-columns: 1fr; } }

/* What we check: two columns of points with a short explanation; beside a worked AQL example on the pre-shipment page */
.svc-checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.svc-checks--example { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.5rem 4rem; align-items: start; }
.svc-checks__main .h36 { margin-bottom: 1.75rem; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.svc-checks--example .checklist { grid-template-columns: 1fr; }
.checklist__item { display: flex; gap: 1rem; padding: 1.25rem 0 1.375rem; border-top: 1px solid var(--line); }
.checklist__ico { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: var(--r10); background: rgba(18, 102, 223, .07); color: var(--blue); }
.checklist__ico .icon { width: 1.125rem; height: 1.125rem; stroke-width: 1.8; }
.checklist__t { font: 590 1.125rem/1.3 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); margin-bottom: .375rem; text-wrap: balance; }
.checklist__d { font-size: 1rem; line-height: 1.55; color: var(--text); text-wrap: pretty; }
@media (max-width: 991.98px) { .svc-checks--example { grid-template-columns: minmax(0, 1fr); } .checklist { grid-template-columns: 1fr; } }

.aql-example__in { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.75rem 1.75rem 1.5rem; }
.aql-example__text { font-size: 1rem; line-height: 1.55; color: var(--text); }
.aql-example__rows { width: 100%; margin: .25rem 0 .5rem; }
.aql-example__rows > div { display: flex; flex-direction: column; gap: .1875rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.aql-example__rows dt { font-size: .875rem; line-height: 1.4; color: var(--muted); }
.aql-example__rows dd { margin: 0; font: 590 1.0625rem/1.35 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); }
@media (min-width: 992px) { .aql-example { position: sticky; top: 7rem; } }

/* How it works with three or four steps (Home has five) */
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--3 .step, .steps--4 .step, .steps--4 .step:nth-child(n+4) { grid-column: auto; }
}
@media (max-width: 767.98px) { .steps--3, .steps--4 { grid-template-columns: 1fr; } }

/* Related services: three cards in a row; one column below 900 px (phones: the compact rows of .svc-grid) */
.svc-related__title { margin-bottom: 1.75rem; }
@media (min-width: 900px) { .svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 899.98px) { .svc-grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* /services/ explorer: the request button and the link to the service's own page side by side */
.explorer__cta { flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------------------------------------------------------------- managing director (Home, 03.12.) */
.md { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem 4.5rem; align-items: center; }
.md__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.md__text > p { font-size: 1.125rem; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.md__title { font-size: 3rem; max-width: 11em; }
.md__sign { display: flex; flex-direction: column; gap: .25rem; margin-top: .25rem; padding-left: 1rem; border-left: 2px solid var(--blue); }
.md__sign strong { font: 590 1.25rem/1.2 var(--font-d); letter-spacing: var(--track-d); color: var(--ink); }
.md__sign span { font-size: .95rem; line-height: 1.4; color: var(--muted); }
.md__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: .5rem; }
@media (max-width: 1199.98px) { .md { grid-template-columns: minmax(0, 1fr); } .md__title { font-size: 2.5rem; } .md__text { max-width: 42rem; } }
@media (max-width: 599.98px) { .md__title { font-size: 2rem; } }

/* name card with a portrait instead of the monogram: the picture keeps its own 3:4 ratio (never cropped) */
.name-card__photo { display: block; flex: none; width: 4.5rem; border-radius: var(--r12); overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); background: #E9EDF3; }
.name-card__photo img { display: block; width: 100%; height: auto; }
.plate--light .name-card__photo { border-color: rgba(10, 55, 121, .14); }
@media (max-width: 599.98px) { .name-card__photo { width: 4rem; } }

/* 55-hero-art.css */
/* ---------------------------------------------------------------- hero art: four stages (SVG, drawn in code)
   Markup: partials/hero_art.html (generated by tools/heroart.py). Motion: js/25-hero.js.
   Only opacity and transform attributes change while it runs; no filters, masks or blur. */
.ha { display: block; width: 100%; height: auto; }
.ha-map { opacity: .5; }
.ha-floor { opacity: 1; }

/* slabs: light glass (white top, cool blue shaded side, pale blue screen), crisp ink-blue hairlines, cobalt light when lit.
   Gradient stops are in tools/heroart.py; flat fills and strokes here. */
.ha-dots { opacity: .13; }
.ha-right { fill: #C8D6EE; }   /* = the corner gradient's first stop (tools/heroart.py) */
.ha-top { fill: #FBFCFE; }
.ha-bedge { fill: none; stroke: rgba(10, 55, 121, .16); stroke-width: 1; }
.ha-ring { stroke: #C4D1E3; stroke-width: 1; }   /* the whole front contour, so white glass never melts into the white stage */
.ha-edge { fill: none; stroke: #AEBFD8; stroke-width: 1.2; stroke-linejoin: round; }
.ha-open { fill: none; stroke: rgba(10, 55, 121, .2); stroke-width: 1; }
.ha-rim path { fill: none; stroke-linejoin: round; }
.ha-rim .g3 { stroke: rgba(18, 102, 223, .08); stroke-width: 20; }
.ha-rim .g2 { stroke: rgba(18, 102, 223, .16); stroke-width: 7; }
.ha-rim .g1 { stroke: #2F7FF0; stroke-width: 1.6; }
.ha-rim .g0 { stroke: rgba(18, 102, 223, .55); stroke-width: 1.5; }

/* labels on the top surfaces: slate at rest, deep cobalt when the slab is lit */
.ha-label { font: 500 30px/1 var(--font-d); letter-spacing: .11em; fill: #5D6B82; }
.ha-label--lit { fill: var(--blue-deep); stroke: rgba(18, 102, 223, .12); stroke-width: 6; stroke-linejoin: round; paint-order: stroke; }
.ha-uline { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; }

/* screen signs: white line drawings on the lit (cobalt) screen */
.ha-sign { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ha-sign .ha-sg-t { stroke: #D3E8FF; stroke-width: 2.4; }
.ha-sign .ha-sg-l { stroke: rgba(255, 255, 255, .62); stroke-width: 1.6; }

/* rail, gates, light */
.ha-rail { fill: none; stroke-width: 1.4; }
.ha-feet { fill: none; stroke: rgba(18, 102, 223, .24); stroke-width: 1.4; stroke-linecap: round; }
.ha-arrow { fill: rgba(18, 102, 223, .55); }
.ha-pulse .w { opacity: .35; }
.ha-tr-w { opacity: .3; }

/* items: white objects drawn in ink-blue lines */
.ha-it-line { stroke: #2A5296; stroke-width: 1.8; stroke-linejoin: round; }
.ha-it-fill { fill: #fff; }
.ha-it-back { fill: #E2EAF6; stroke: rgba(42, 82, 150, .45); stroke-width: 1.2; }
.ha-it-clip { fill: var(--blue); }
.ha-it-box { fill: none; stroke: rgba(42, 82, 150, .62); stroke-width: 1.4; stroke-linejoin: round; }
.ha-it-row { stroke: rgba(42, 82, 150, .3); stroke-width: 3; stroke-linecap: round; }
.ha-tick { fill: none; stroke: var(--blue); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.ha-it-top { fill: #EEF3FB; }
.ha-it-well { fill: #DCE6F5; stroke: rgba(42, 82, 150, .4); stroke-width: 1.2; }
.ha-plates--ok .ha-it-line { stroke: var(--blue); }
.ha-plates--ok .ha-it-top { fill: #E3EEFF; }
.ha-plates--ok .ha-it-well { fill: #D2E3FB; stroke: rgba(18, 102, 223, .6); }
.ha-seal-box { fill: var(--blue); stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.ha-seal-tick { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ha-ct { stroke: #2A5296; stroke-width: 1.6; stroke-linejoin: round; }
.ha-ct-side { fill: #D3DEEF; }
.ha-ct-top { fill: #F7FAFE; }
.ha-ct-front { fill: #E6EDF8; }
.ha-ct-rib { fill: none; stroke: rgba(42, 82, 150, .28); stroke-width: 1.2; }
.ha-ct-door { fill: none; stroke: rgba(42, 82, 150, .5); stroke-width: 1.4; stroke-linecap: round; }

/* hero layout with the art: large next to the H1, full width under the text on phones */
.hero__art--anim { margin: -3rem -7rem -4rem -3rem; container-type: inline-size; justify-self: stretch; }
.hero--sub .hero__art--anim { margin: -4rem -5rem -5rem -1rem; }
@media (max-width: 991.98px) {
  .hero__art--anim { margin: 0 -1rem -1rem; justify-self: center; width: calc(100% + 2rem); max-width: 40rem; }
}
/* narrow art (phones): larger caps, tighter tracking, so the stage names stay readable */
@container (max-width: 480px) { .ha-label { font-size: 34px; letter-spacing: .07em; } }

/* 60-motion.css */
/* ---------------------------------------------------------------- motion (round 22.10.)
   One-shot stories, transform/opacity only, start states only under html.motion (set in <head> without reduced
   motion). The end state is the static design, so no JavaScript, reduced motion and print show it. */

/* F1 — Home hero (draft F): the video loop fades in over its poster once its first frame is on screen
   (24-hero-video.js adds .is-playing). The poster is that same first frame, so only the motion starts; opacity only.
   The poster itself is never faded (an image first painted at opacity 0 would not count as the LCP element). Without
   html.motion (reduced motion, also when switched on mid-visit) the video stays hidden and the still shows. The blend
   at the frame's right edge (.hero__media::before, 50-sections.css) fades in with it, and so does the pause button
   (it leaves display: none when the loop plays, which starts the animation; the JS stays as it is). */
@media screen {
  html.motion .hero__media.is-playing .hero__video, html.motion .hero__media.is-playing::before { opacity: 1; transition: opacity 700ms var(--ease-out); }
  html.motion .hero__toggle:not([hidden]) { animation: hero-toggle-in 700ms var(--ease-out) both; }
}
@keyframes hero-toggle-in { from { opacity: 0; } }

/* A2 — Home "How it works": a beam runs from step 1 to step 5 */
.steps-wrap { position: relative; }
.steps-track { position: absolute; left: 0; right: 0; bottom: .5rem; height: 0; z-index: 1; pointer-events: none; }
/* on cobalt the brand blue would vanish: the beam runs from a light cobalt to porcelain white */
.steps-track__beam { position: absolute; left: 0; right: 0; bottom: -.5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #6FA8FF, #A9CFFF 40%, #E4F0FF 80%); transform-origin: 0 50%; }
.steps-track__head { position: absolute; left: -5px; bottom: -4.5px; width: 10px; height: 10px; border-radius: 50%; background: #CFEAFF; opacity: 0;
  box-shadow: 0 0 0 4px rgba(76, 155, 255, .22), 0 0 18px 5px rgba(76, 155, 255, .45); }   /* painted once, then only translated */
.step__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #A9CFFF; }
.step__dot::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(143, 216, 255, .75); opacity: 0; }
@media (max-width: 1199.98px) { .steps-track { display: none; } }
@media (max-width: 767.98px) {
  .step::after { content: ""; position: absolute; left: calc(.4375rem - .5px); top: 1.25rem; bottom: -1.25rem; width: 2px; border-radius: 2px;
    background: linear-gradient(#6FA8FF, #CFE5FF); transform-origin: 50% 0; }
  .step:last-child::after { display: none; }
}
@keyframes step-ring { 0% { opacity: 0; transform: scale(.5); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.7); } }
@media screen {
  html.motion .steps-wrap:not(.is-in) .steps-track__beam { transform: scaleX(0); }
  html.motion .steps-wrap:not(.is-in) .step__card { opacity: .4; transform: translateY(.5rem); }
  html.motion .steps-wrap:not(.is-in) .step__dot::after { transform: scale(0); }
  html.motion .steps-wrap:not(.is-in) .step::after { transform: scaleY(0); }
  html.motion .steps-wrap.is-in .step__card { transition: opacity 500ms var(--ease-out) var(--dd, 0ms), transform 500ms var(--ease-out) var(--dd, 0ms), border-color 300ms var(--ease-in-out); }
  html.motion .steps-wrap.is-in .step__dot::after { transition: transform 300ms var(--ease-out) var(--dd, 0ms); }
  html.motion .steps-wrap.is-in .step__dot::before { animation: step-ring 700ms var(--ease-out) var(--dd, 0ms) both; }
  html.motion .steps-wrap.is-done .step__dot::before { animation: none; }
  html.motion .steps-wrap.is-in .step::after { transition: transform 300ms var(--ease-in-out) var(--dd, 0ms); }
}

/* A3 — client wall: a scan line passes and the names appear behind it */
.clients-wall__scan { position: absolute; inset: 1px; z-index: 2; overflow: hidden; pointer-events: none; border-radius: calc(var(--r24) - 1px); }
.clients-wall__scan span { position: absolute; top: -25%; bottom: -25%; left: 0; width: 16rem; opacity: 0;
  background: linear-gradient(90deg, rgba(18,102,223,0) 0, rgba(18,102,223,.05) 34%, rgba(18,102,223,.13) 49.4%, rgba(18,102,223,.85) 49.7%,
    rgba(18,102,223,.85) 50.3%, rgba(18,102,223,.13) 50.6%, rgba(18,102,223,.05) 66%, rgba(18,102,223,0)); }
@media screen {
  html.motion .clients-wall:not(.is-in) .clients-wall__in { opacity: 0; transform: translateY(10px); }
  html.motion .clients-wall.is-in .clients-wall__in { transition: opacity 450ms var(--ease-out) var(--d, 0ms), transform 450ms var(--ease-out) var(--d, 0ms); }
}

/* A4 — AQL calculator: changed values tick in; the reference row for the current lot lights up */
.tick { display: inline-block; }
.aql__table th, .aql__table td { transition: color .2s var(--ease); }
.ref-table tbody tr { transition: background-color .3s var(--ease); }
.ref-table tbody tr.is-match { background: rgba(18, 102, 223, .07); }
.ref-table tbody tr.is-match th { box-shadow: inset 3px 0 0 var(--blue); }

/* the marquee rests when it is off screen (25-hero.js) */
.marquee.is-paused .marquee__track, .marquee.is-scrolling .marquee__track { animation-play-state: paused; }

/* photos: a shutter opens once over each photo, the caption follows (60-reveals.js waits until the images are decoded) */
@media screen {
  html.motion [data-pics]:not(.is-in) .pic__shutter { transform: scaleX(1); }
  html.motion [data-pics]:not(.is-in) .pic__cap { opacity: 0; transform: translateY(.5rem); }
  html.motion [data-pics].is-in .pic__shutter { transition: transform 900ms cubic-bezier(.65, 0, .25, 1) var(--d, 0ms); }
  html.motion [data-pics].is-in .pic__cap { transition: opacity 500ms var(--ease-out) calc(var(--d, 0ms) + 500ms), transform 500ms var(--ease-out) calc(var(--d, 0ms) + 500ms); }
}
