/* Redlab — the shared system for every page.
   Every size, colour, radius and space comes from the tokens below; components only combine them.
   Page files (home.css, contact.css, …) add their own sections on top and never redefine tokens.
   Order: tokens → base → type → layout → controls → header → shared blocks → footer → motion → breakpoints. */

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  /* Light surfaces and ink: one warm family. */
  --paper: #fcfbfa;
  --surface: #f4f2ef;
  --surface-2: #eeebe6;
  --white: #fff;
  --ink: #171919;
  --ink-2: #3d3a37;
  --muted: #7a756f;
  --faint: #a8a29b;
  --hair: #e8e5e1;
  --graphic: #cfc9c1;
  /* Dark chapters: one dark, one raised dark, one line; text greys from the same warm family. */
  --dark: #131414;
  --dark-2: #1b1c1c;
  --dark-line: #2d2e2e;
  --on-dark: #f4f2ef;
  --on-dark-2: #aaa59f;
  --on-dark-3: #6f6b66;
  /* One red. */
  --red: #e5372a;
  --red-hover: #c62a1e;
  --red-on-dark: #ff6d60;

  /* Type: ten styles. */
  --font: 'Manrope', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  --t-display: clamp(52px, 8.4vw, 168px);     /* H1 */
  --t-display-s: clamp(48px, 7vw, 120px);     /* the closing statement */
  --t-title: clamp(52px, 7.4vw, 128px);       /* H1 on inner pages: services, hub */
  --t-numeral: clamp(72px, 6vw + 16px, 136px); /* proof numbers, weight 300 */
  --t-h2: clamp(32px, 1.2vw + 22px, 44px);
  --t-h3: clamp(20px, .5vw + 16px, 24px);
  --t-lead: clamp(17px, .25vw + 14.5px, 18px);
  --t-body: 16px;
  --t-small: 14px;
  --t-label: 12px;                             /* uppercase labels and mono indices */

  /* Space. */
  --gutter: clamp(16px, 5vw, 120px);
  --max: 1400px;
  --edge: max(var(--gutter), (100vw - var(--max)) / 2);
  --section: clamp(72px, 4vw + 40px, 128px);
  --head-gap: 48px;
  --card-pad: clamp(24px, 2.2vw, 32px);
  --gap: clamp(14px, 1.4vw, 20px);

  /* Shape. */
  --r-s: 8px;
  --r-m: 16px;
  --r-l: 24px;
  --r-pill: 999px;
  --control: 44px;
  --control-l: 52px;

  --ease: cubic-bezier(.22, .68, 0, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 6px; }
.ai :focus-visible, .process :focus-visible, .dark :focus-visible, .agent :focus-visible { outline-color: #fff; }
[id] { scroll-margin-top: 84px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; z-index: 60; top: 12px; left: 16px; padding: 12px 18px; border-radius: var(--r-s); background: var(--ink); color: #fff; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ==========================================================================
   Type styles
   ========================================================================== */
h1 { font-size: var(--t-display); line-height: .94; letter-spacing: -.055em; }
h2 { font-size: var(--t-h2); line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.lead { font-size: var(--t-lead); line-height: 1.5; }
.label { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.index { font-family: var(--mono); font-size: var(--t-label); }
.descriptor { font-size: var(--t-small); color: var(--muted); }
/* Display lines break where the markup says on wider screens. */
@media (min-width: 760px) { h1 > span { display: block; } }

/* ==========================================================================
   Layout: column, section rhythm, section head
   ========================================================================== */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
main > section { padding-block: var(--section); }
.rule { position: relative; }
.rule::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--hair); }

/* Every chapter opens the same way: the title on the left; a line of context and any action on the right. */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: var(--head-gap); }
.section-sub { max-width: 24em; font-size: var(--t-body); line-height: 1.5; color: var(--muted); }
.section-aside { display: flex; align-items: center; gap: 24px 32px; }
.section-aside .section-sub { text-align: right; }

/* ==========================================================================
   Controls
   ========================================================================== */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--control); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #000; }
.button-outline { border-color: var(--hair); background: var(--white); box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.button-outline:hover { border-color: #cfcac4; }
.button-light { background: var(--white); color: var(--ink); }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: var(--surface); }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--red-hover); }
.button-large { min-height: var(--control-l); padding: 0 30px; font-size: var(--t-body); }
.button-small { padding: 0 20px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: var(--control); font-weight: 500; text-decoration: none; transition: color .2s var(--ease); }
.arrow-link::after { content: '→'; transition: transform .25s var(--ease); }
.arrow-link:hover { color: var(--red); }
.arrow-link:hover::after { transform: translateX(4px); }

/* Round icon buttons: slider arrows. */
.slider-btn {
  display: grid; place-items: center; width: var(--control); height: var(--control);
  border: 1px solid var(--hair); border-radius: 50%; background: var(--white);
  font-size: 18px; cursor: pointer; transition: border-color .2s var(--ease), opacity .2s var(--ease);
}
.slider-btn:hover:not(:disabled) { border-color: var(--ink); }
.slider-btn:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 76px; }
.wordmark { justify-self: start; font-size: 32px; font-weight: 750; letter-spacing: -.08em; line-height: 1; text-decoration: none; }
.wordmark span { color: var(--red); }
/* The Redlab logo from redlab.bz (23 Nov 2026), drawn in the text colour. */
.wordmark { display: inline-flex; align-items: center; color: var(--ink); }
.wordmark svg { display: block; width: auto; height: 26px; overflow: visible; } /* the "b" touches the viewBox edge; Safari clipped it */
.header-nav { display: flex; }
.header-nav a { display: inline-flex; align-items: center; min-height: var(--control); padding: 0 16px; font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s var(--ease); }
.header-nav a:hover { color: var(--red); }
/* The page you are on: a red dot under its name. */
.header-nav a[aria-current] { position: relative; }
.header-nav a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.ft-cols a[aria-current] { color: var(--muted); }
/* A link to the page you are on: no pointer, no reload (js/site.js initHere). */
a.is-here { cursor: default; pointer-events: none; }
.header-cta { justify-self: end; }
.mobile-menu { display: none; }

/* The Clutch mark, drawn after the concept. */
.clutch-badge { display: inline-flex; color: var(--ink); text-decoration: none; }
.clutch-mark { display: block; width: 150px; height: auto; }

/* ==========================================================================
   Dark chapters share one dark, one line and one grain.
   ========================================================================== */
.ai, .process, .dark { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.ai::after, .process::after, .dark::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .14; mix-blend-mode: overlay; pointer-events: none; }
.ai .section-sub, .process .section-sub, .dark .section-sub { color: var(--on-dark-2); }

/* Dither smoke is drawn by script at screen resolution (see initPixelFields). */
[data-pixels] canvas { display: block; }
.bg-pixel { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ai .bg-pixel {
  -webkit-mask-image: linear-gradient(to bottom, transparent 45%, #000 95%), linear-gradient(to right, transparent 15%, #000 75%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 45%, #000 95%), linear-gradient(to right, transparent 15%, #000 75%); mask-composite: intersect;
}

/* ==========================================================================
   Questions: the title holds its place while the list scrolls.
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(24px, 4vw, 72px); }
.faq-head { align-self: start; position: sticky; top: 110px; display: grid; gap: 16px; }
.faq-head .section-sub a { color: var(--ink); text-underline-offset: 3px; }
.faq-head .section-sub a:hover { color: var(--red); }
.faq-list { border-bottom: 1px solid var(--hair); }
.faq details { border-top: 1px solid var(--hair); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding-block: 20px; font-size: var(--t-lead); line-height: 1.35; cursor: pointer; list-style: none; transition: color .2s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
/* A drawn plus, centred in its circle; it turns into a cross when open. */
.faq summary::after {
  content: ''; flex: none; width: 36px; height: 36px; border: 1px solid var(--hair); border-radius: 50%; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg); border-color: var(--ink);
  background: linear-gradient(#fff, #fff) center / 12px 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 12px no-repeat, var(--ink);
}
.faq details p { max-width: 38em; padding-bottom: 24px; font-size: var(--t-body); color: var(--ink-2); }

/* ==========================================================================
   Closing statement: the card that ends most pages.
   ========================================================================== */
main > .contact { padding-top: 0; }
.contact-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(44px, 5vw, 88px) clamp(28px, 5vw, 88px);
  border: 1px solid var(--hair); border-radius: var(--r-l); clip-path: inset(0 round var(--r-l));
  background: var(--white); color: var(--ink);
}
.contact-card .bg-pixel { left: 38%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.contact-card h2 { font-size: var(--t-display-s); line-height: .94; letter-spacing: -.06em; text-wrap: initial; }
@media (min-width: 760px) { .contact-card h2 > span { display: block; } }
.contact-row { display: grid; justify-items: start; gap: 24px; max-width: 30em; margin-top: clamp(24px, 3vw, 40px); }
.contact-row > p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); }
.contact-row .actions { gap: 16px 28px; }
.contact-email { font-size: var(--t-lead); font-weight: 500; text-underline-offset: 6px; }
.contact-email:hover { color: var(--red); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-block: clamp(56px, 5vw, 88px) 32px; border-top: 1px solid var(--hair); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px clamp(32px, 5vw, 96px); }
.ft-pitch { max-width: 24em; font-size: var(--t-lead); line-height: 1.5; color: var(--muted); }
.ft-pitch b { font-weight: 500; color: var(--ink); }
.ft-mail { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 460px; margin-top: 28px; padding: 6px 6px 6px 24px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--surface); }
.ft-mail a { font-size: var(--t-lead); text-decoration: none; }
.ft-mail a:hover { color: var(--red); }
.ft-copy { min-height: var(--control); padding: 0 20px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--white); font-size: 15px; font-weight: 500; cursor: pointer; box-shadow: 0 1px 3px rgb(0 0 0 / .06); transition: background-color .25s var(--ease), color .25s var(--ease); }
.ft-copy:hover, .ft-copy.is-done { background: var(--ink); color: #fff; }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft-cols > div { display: grid; align-content: start; gap: 4px; }
.ft-label { margin-bottom: 14px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ft-cols a, .ft-soon { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--t-body); text-decoration: none; transition: color .2s var(--ease); }
.ft-cols a:hover { color: var(--red); }
.ft-all { font-weight: 500; }
.ft-all::after { content: '→'; transition: transform .25s var(--ease); }
.ft-all:hover::after { transform: translateX(4px); }
.ft-soon { color: var(--faint); }
.ft-soon i { padding: 3px 8px; border-radius: var(--r-s); background: var(--surface); font-size: var(--t-label); font-style: normal; color: var(--muted); }
.ft-zones { margin-top: clamp(56px, 6vw, 96px); }
.clocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.clocks li { display: flex; align-items: center; gap: 18px; }
.clock { flex: none; width: 76px; height: 76px; }
.clock line { stroke-linecap: round; }
.clock .ticks line { stroke: var(--graphic); stroke-width: 1.4; }
.clock .h-hour, .clock .h-min, .clock .h-sec { transform-origin: 32px 32px; }
.clock .h-hour { stroke: var(--ink); stroke-width: 2.6; }
.clock .h-min { stroke: var(--ink); stroke-width: 1.8; }
.clock .h-sec { stroke: var(--red); stroke-width: 1; }
.clock circle { fill: var(--red); }
.clocks time { display: block; font-size: var(--t-h3); font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.clocks b { display: block; margin-top: 2px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.clocks span { font-size: var(--t-small); color: var(--muted); }
.ft-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: clamp(48px, 5vw, 80px); padding-top: 24px; border-top: 1px solid var(--hair); font-size: var(--t-small); color: var(--muted); }
.ft-mark { display: block; width: 34px; transition: transform .5s var(--ease); }
.ft-mark:hover { transform: translateY(-4px) rotate(-6deg); }
.ft-mark svg { display: block; width: 100%; }
/* Where to look us up: a twin of the email pill — a label on the left, the brand marks as the same
   white chips as "Copy email", turning ink on hover. Clutch keeps its red dot. */
.ft-social { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 460px; margin-top: 10px; padding: 6px 6px 6px 24px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--surface); }
.ft-social-label { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ft-social ul { display: flex; gap: 6px; }
.ft-social a { display: grid; place-items: center; width: var(--control); height: var(--control); border: 1px solid var(--hair); border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .06); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.ft-social svg { fill: currentColor; transition: transform .35s var(--ease); }
.ft-social .ft-dot { fill: var(--red); }
.ft-social a:hover, .ft-social a:focus-visible { border-color: var(--ink); background: var(--ink); color: #fff; }
.ft-social a:hover svg { transform: scale(1.08); }
/* The bottom line: documents and the language. */
.ft-end { justify-self: end; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 28px; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ft-legal a { color: var(--ink); text-decoration: none; }
.ft-legal a:hover { color: var(--red); }
.ft-cookies { margin-left: 20px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.ft-cookies:hover { color: var(--red); }
.ft-lang { position: relative; }
.ft-lang summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 12px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--white); font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; transition: border-color .2s var(--ease); }
.ft-lang summary::-webkit-details-marker { display: none; }
.ft-lang summary::after { content: ''; width: 6px; height: 6px; margin: -3px 0 0 2px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .25s var(--ease); }
.ft-lang[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.ft-lang summary:hover, .ft-lang[open] summary { border-color: var(--ink); }
.ft-lang ul { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5; display: grid; min-width: 180px; padding: 6px; border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--white); box-shadow: 0 12px 32px rgb(0 0 0 / .1); }
.ft-lang li > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: var(--r-s); text-decoration: none; }
.ft-lang a { color: var(--ink); }
.ft-lang a[aria-current]::after { content: '✓'; color: var(--red); }
.ft-lang a:hover { background: var(--surface); }
.ft-lang span { color: var(--faint); }
.ft-lang i { padding: 2px 7px; border-radius: var(--r-s); background: var(--surface); font-size: var(--t-label); font-style: normal; color: var(--muted); }

/* ==========================================================================
   Assistant dock: a pill that opens the assistant page; an orb on phones.
   ========================================================================== */
.agent { position: fixed; z-index: 40; left: 50%; bottom: 20px; display: grid; justify-items: center; transform: translateX(-50%); pointer-events: none; }
.agent > * { pointer-events: auto; }
.agent-bar {
  display: flex; align-items: center; gap: 10px; width: 340px; padding: 6px 6px 6px 10px; border-radius: var(--r-pill);
  background: rgb(23 25 25 / .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -18px rgb(0 0 0 / .55), inset 0 0 0 1px rgb(255 255 255 / .06);
  opacity: 0; transform: translateY(140%); transition: transform .5s var(--ease), opacity .4s var(--ease), width .45s var(--ease), box-shadow .2s;
}
.agent.is-visible .agent-bar { opacity: 1; transform: none; }
.agent.is-away .agent-bar { opacity: 0; transform: translateY(140%); pointer-events: none; }
.agent-bar:focus-within { width: min(620px, calc(100vw - 32px)); box-shadow: 0 20px 50px -18px rgb(0 0 0 / .55), inset 0 0 0 1px rgb(229 55 42 / .7); }
.agent-bar input { flex: 1; min-width: 0; height: var(--control); border: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; outline: none; }
.agent-bar input::placeholder { color: #8f8a85; }
.agent-send { flex: none; display: grid; place-items: center; width: var(--control); height: var(--control); border: 0; border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; cursor: pointer; transition: background-color .2s var(--ease); }
.agent-send:hover { background: var(--red-hover); }
.agent-orb { flex: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffc2b3, var(--red) 50%, #7a0f08); box-shadow: 0 0 18px rgb(229 55 42 / .7); }
.agent-orb-sm { width: 26px; height: 26px; }
.agent-fab { display: none; }

/* ==========================================================================
   Motion
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .agent-orb { animation: orb 4s ease-in-out infinite; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes orb { 50% { transform: scale(1.06); box-shadow: 0 0 28px rgb(229 55 42 / .95); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1080px) {
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .ft-top { grid-template-columns: 1fr; }
  .clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 760px) {
  :root { --head-gap: 32px; }
  [id] { scroll-margin-top: 72px; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 8px; min-height: 64px; }
  .wordmark { font-size: 28px; }
  .wordmark svg { height: 22px; }
  .header-nav { display: none; }
  .header-cta { padding: 0 16px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; place-content: center; gap: 6px; width: var(--control); height: var(--control); border-radius: 50%; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .mobile-menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--hair); }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--hair); font-size: 22px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .section-aside { flex-wrap: wrap; }
  .section-aside .section-sub { text-align: left; }
  .actions .button { flex: 1 1 180px; }

  .contact-card { padding: 44px 24px 200px; }
  .contact-card .bg-pixel { left: 0; top: 64%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
  .contact-row .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .contact-row .actions .button { flex: none; }
  .contact-email { text-align: center; }

  .ft-cols { grid-template-columns: 1fr 1fr; }
  .ft-cols > div:last-child { grid-column: 1 / -1; }
  .ft-mail, .ft-social { padding-left: 18px; }
  .clocks { grid-template-columns: 1fr; }
  .ft-bottom { grid-template-columns: auto 1fr; }
  .ft-mark { order: -1; }
  .ft-end { grid-column: 1 / -1; justify-self: stretch; justify-content: flex-start; }
  .ft-lang ul { right: auto; left: 0; }

  .agent { left: auto; right: 16px; bottom: 16px; transform: none; }
  .agent-bar { display: none; }
  .agent-fab { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); box-shadow: 0 16px 40px -12px rgb(0 0 0 / .5); }
  .agent-fab .agent-orb { width: 34px; height: 34px; }
}

/* Safari: while a child is scaled on hover, overflow:hidden stops clipping to border-radius and the corners turn
   square for the length of the transition. An opaque mask makes Safari keep the rounded clip. (23 Nov 2026) */
.pcard, .icase-media, .wcard-cover, .wy-cover, .sv-case-pic, .lms-case-pic, .ab-era-art, .lms-who-art {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
