/* Fox Global homepage, direction 2: full-bleed bands, sharp corners, visible structure.
 * Colour, type and spacing values come from the Fox Global design system's tokens.json.
 * This direction departs from the system in three places, on purpose: no radius, no card shadows,
 * and the page is built from ruled grids between two vertical rails instead of floating cards.
 * Breakpoints are container queries on .fg-page so the same source reflows in a 390px frame. */
:root {
  --fox-red-500: #e5383c; --fox-red-600: #da2227; --fox-red-700: #b81b20; --fox-red-800: #96171a; --fox-red-950: #3d0a0c;
  --ink-950: #0b0b0c; --ink-900: #161618; --ink-800: #232427;
  --steel-600: #54595f; --steel-500: #6b7076; --steel-300: #a7abb0; --steel-200: #d6d8da;
  --paper-100: #ebe9e6; --paper-50: #f5f4f2; --white: #ffffff;
  --color-text: var(--ink-950); --color-text-muted: var(--steel-600); --color-text-inverse-muted: #c9cbce;
  --color-action: var(--fox-red-600); --color-action-hover: var(--fox-red-700);
  --color-accent: var(--fox-red-600); --color-accent-on-inverse: var(--fox-red-500);
  --color-success: #1f7a4d;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --font-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1); --dur: 220ms;
}
@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; } }

.fg-page {
  container: page / inline-size;
  --text-display: clamp(2.75rem, 1.4rem + 5cqi, 6.25rem);
  --text-h2: clamp(2rem, 1.4rem + 2.4cqi, 3.5rem);
  --text-h3: clamp(1.25rem, 1.15rem + .5cqi, 1.5rem);
  --text-lead: clamp(1.0625rem, 1rem + .3cqi, 1.25rem);
  --gutter: clamp(0px, -16px + 4cqi, 40px);
  --inset: clamp(20px, 12px + 1.8cqi, 40px);
  --head-top: clamp(56px, 32px + 4.4cqi, 96px);
  --head-bottom: clamp(32px, 20px + 2.4cqi, 56px);
  --bg: var(--paper-50); --line: var(--steel-200); --muted: var(--steel-600); --accent: var(--fox-red-600); --hover: var(--paper-100);
  background: var(--bg); color: var(--color-text);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.fg-page *, .fg-page *::before, .fg-page *::after { box-sizing: border-box; }
.fg-page img { max-width: 100%; display: block; }
.fg-page a { color: inherit; }
.fg-page :focus-visible { outline: 2px solid var(--fox-red-600); outline-offset: 3px; }
.fg-page .fg-band--ink :focus-visible { outline-color: var(--white); }
.fg-page p, .fg-page ul, .fg-page ol, .fg-page figure, .fg-page blockquote { margin: 0; }
.fg-page ul, .fg-page ol { padding: 0; list-style: none; }

/* ---------- Structure: bands, rails, ruled grids ---------- */
/* A band runs edge to edge. Its container draws the two vertical rails every band shares. */
.fg-band { background: var(--bg); color: var(--color-text); border-top: 1px solid var(--line); }
.fg-band--white { --bg: var(--white); --hover: var(--paper-50); }
.fg-band--ink { --bg: var(--ink-950); --line: #2c2d31; --muted: var(--color-text-inverse-muted); --accent: var(--fox-red-500); --hover: var(--ink-900); color: var(--white); }
.fg-container { position: relative; width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; border-inline: 1px solid var(--line); }
/* Registration ticks where the rails meet the top of a band: the one recurring mark. */
.fg-container::before, .fg-container::after { content: ""; position: absolute; top: -6px; width: 11px; height: 11px; z-index: 2; pointer-events: none;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 11px 1px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1px 11px no-repeat; }
.fg-container::before { left: -6px; } .fg-container::after { right: -6px; }
.fg-inset { padding-inline: var(--inset); }
/* A ruled grid: cells share 1px lines, no gaps, no shadows. */
.fg-grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.fg-grid > * { background: var(--bg); min-width: 0; }
.fg-cell { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-6) var(--inset); text-decoration: none; transition: background var(--dur) var(--ease); }
a.fg-cell:hover { background: var(--hover); }
a.fg-cell:hover .fg-arrow, .fg-link:hover .fg-arrow { transform: translateX(4px); }
/* Diagonal hatch, cut at the angle of the slash in the logo. Used sparingly as a quiet tie-through. */
.fg-hatch { height: 14px; border-top: 1px solid var(--line); background: repeating-linear-gradient(-58deg, var(--line) 0 1px, transparent 1px 7px); }

.fg-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5) var(--space-7); align-items: end; padding: var(--head-top) var(--inset) var(--head-bottom); }
.fg-head > div { display: grid; gap: var(--space-5); justify-items: start; align-content: end; }
@container page (max-width: 860px) { .fg-head { grid-template-columns: minmax(0, 1fr); } }

.fg-stack { display: grid; gap: var(--space-4); align-content: start; justify-items: start; }
.fg-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ---------- Type ---------- */
.fg-display { font-size: var(--text-display); line-height: .98; letter-spacing: -0.04em; font-weight: 500; margin: 0; text-wrap: balance; }
.fg-h2 { font-size: var(--text-h2); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; margin: 0; text-wrap: balance; }
.fg-h3 { font-size: var(--text-h3); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; margin: 0; }
.fg-h4 { font-size: 1.125rem; line-height: 1.3; font-weight: 500; margin: 0; }
.fg-lead { font-size: var(--text-lead); line-height: 1.5; color: var(--muted); max-width: 44ch; }
.fg-muted { color: var(--muted); }
.fg-small { font-size: .875rem; line-height: 1.5; }
.fg-spec { font: 400 .75rem/1.5 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fg-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.fg-eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; }
.fg-index { font: 500 .75rem/1 var(--font-mono); letter-spacing: .06em; color: var(--accent); }

/* ---------- Buttons and links ---------- */
.fg-btn { --_bg: var(--color-action); --_fg: var(--white); --_bd: var(--color-action);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border-radius: 0;
  background: var(--_bg); color: var(--_fg) !important; border: 1px solid var(--_bd);
  font: 500 .9375rem/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.fg-btn:hover { --_bg: var(--color-action-hover); --_bd: var(--color-action-hover); }
.fg-arrow { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease); }
.fg-btn:hover .fg-arrow { transform: translateX(3px); }
.fg-btn--secondary { --_bg: transparent; --_fg: var(--ink-950); --_bd: var(--ink-950); }
.fg-btn--secondary:hover { --_bg: var(--ink-950); --_fg: var(--white); --_bd: var(--ink-950); }
.fg-band--ink .fg-btn--secondary { --_fg: var(--white); --_bd: rgba(255,255,255,.55); }
.fg-band--ink .fg-btn--secondary:hover { --_bg: var(--white); --_fg: var(--ink-950); --_bd: var(--white); }
.fg-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.fg-link .fg-arrow, .fg-cell .fg-arrow { color: var(--accent); }

/* Marks anything that is not final. */
.fg-draft { display: inline-flex; align-items: center; padding: 5px 8px; border: 1px dashed var(--steel-500); background: rgba(255,255,255,.94); color: var(--ink-950); font: 500 .6875rem/1.2 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.fg-draft--pin { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* ---------- Header ---------- */
.fg-header { --line: #2c2d31; background: var(--ink-950); color: var(--white); border-bottom: 1px solid var(--line); }
.fg-header .fg-container::before, .fg-header .fg-container::after { display: none; }
.fg-header__bar { position: relative; display: flex; align-items: stretch; justify-content: space-between; min-height: 68px; }
.fg-header__logo { display: flex; align-items: center; padding-inline: var(--inset); border-right: 1px solid var(--line); }
.fg-header__logo img { height: 24px; width: auto; }
.fg-header__nav { display: flex; height: 100%; }
.fg-header__nav a { display: flex; align-items: center; height: 100%; padding: 0 18px; text-decoration: none; font-size: .9375rem; color: var(--color-text-inverse-muted); transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.fg-header__nav a:hover { color: var(--white); background: var(--ink-900); }
.fg-header__actions { display: flex; align-items: stretch; }
.fg-header__phone { display: grid; gap: 4px; align-content: center; padding-inline: var(--space-5); border-left: 1px solid var(--line); text-decoration: none; white-space: nowrap; }
.fg-header__phone small { font: 500 .625rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-inverse-muted); }
.fg-header__phone b { font: 500 .9375rem/1 var(--font-mono); }
.fg-header__actions > .fg-btn { min-height: 68px; padding-inline: 28px; }
.fg-mnav { display: none; border-left: 1px solid var(--line); }
.fg-mnav > summary { list-style: none; display: flex; align-items: center; height: 100%; padding: 0 20px; font: 500 .875rem/1 var(--font-sans); cursor: pointer; }
.fg-mnav > summary::-webkit-details-marker { display: none; }
.fg-mnav__panel { position: absolute; left: -1px; right: -1px; top: 100%; display: grid; background: var(--ink-950); border: 1px solid var(--line); }
.fg-mnav__panel nav { display: grid; }
.fg-mnav__panel nav a { padding: 16px var(--inset); border-bottom: 1px solid var(--line); font-size: 1.375rem; letter-spacing: -0.015em; text-decoration: none; }
.fg-mnav__panel .fg-btn { min-height: 60px; }
@container page (max-width: 1100px) {
  .fg-header__nav, .fg-header__phone { display: none; }
  .fg-mnav { display: block; }
  .fg-header__bar { min-height: 60px; }
  .fg-header__logo { border-right: 0; margin-right: auto; }
  .fg-header__actions > .fg-btn { min-height: 60px; padding-inline: 18px; font-size: .875rem; }
}

/* ---------- Hero ---------- */
.fg-hero { border-top: 0; background:
  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%,
  radial-gradient(70% 120% at 12% 118%, var(--fox-red-700) 0%, var(--fox-red-950) 42%, var(--ink-950) 76%); }
.fg-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fg-hero__copy { display: grid; gap: var(--space-6); align-content: space-between; padding: var(--space-8) var(--inset) var(--space-7); }
.fg-hero__copy > div { display: grid; gap: var(--space-5); justify-items: start; }
.fg-hero__copy .fg-lead { max-width: 40ch; }
.fg-hero__media { position: relative; min-height: 560px; border-left: 1px solid var(--line); background: var(--ink-950); overflow: hidden; }
.fg-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; }
.fg-hero__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: var(--ink-950); border-top: 1px solid var(--line); font: 400 .6875rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-inverse-muted); }
.fg-speed { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fg-speed > li { display: grid; gap: 10px; align-content: start; padding: var(--space-5) var(--inset) var(--space-6); background: transparent; }
.fg-speed.fg-grid { background: transparent; gap: 0; }
.fg-speed > li + li { border-left: 1px solid var(--line); }
.fg-speed b { font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.fg-speed li > span:last-child { font-size: .875rem; line-height: 1.45; color: var(--muted); }
@container page (max-width: 980px) {
  .fg-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .fg-hero__copy { padding-block: var(--space-7) var(--space-6); }
  .fg-hero__media { min-height: 0; aspect-ratio: 4 / 3; border-left: 0; border-top: 1px solid var(--line); }
  .fg-speed { grid-template-columns: minmax(0, 1fr); }
  .fg-speed > li { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: baseline; padding-block: var(--space-4); }
  .fg-speed > li + li { border-left: 0; border-top: 1px solid var(--line); }
  .fg-speed b { font-size: 1.0625rem; }
}

/* ---------- Clients ---------- */
.fg-clients { grid-template-columns: 1.4fr repeat(8, minmax(0, 1fr)); border-top: 0; }
.fg-clients > * { display: flex; align-items: center; justify-content: center; min-height: 88px; padding: var(--space-3); text-align: center; font-weight: 500; font-size: .875rem; color: var(--muted); }
.fg-clients > :first-child { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding-inline: var(--inset); text-align: left; color: var(--color-text); }
@container page (max-width: 1100px) { .fg-clients { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fg-clients > :first-child { grid-column: 1 / -1; min-height: 0; padding-block: var(--space-5); flex-direction: row; justify-content: space-between; align-items: center; } }
@container page (max-width: 560px) { .fg-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fg-clients > * { min-height: 64px; } }

/* ---------- Three ways in ---------- */
.fg-doors { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 0; }
.fg-door { gap: var(--space-8); align-content: space-between; padding-block: var(--space-7) var(--space-6); }
.fg-door--ink { --muted: var(--color-text-inverse-muted); --accent: var(--fox-red-500); background: radial-gradient(80% 110% at 100% 110%, var(--fox-red-800) 0%, var(--fox-red-950) 38%, var(--ink-950) 72%) !important; color: var(--white); }
.fg-door--ink .fg-btn--secondary { --_fg: var(--white); --_bd: rgba(255,255,255,.55); }
.fg-door__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); font-weight: 500; font-size: .9375rem; }
@container page (max-width: 980px) { .fg-doors { grid-template-columns: minmax(0, 1fr); } .fg-door { gap: var(--space-6); padding-block: var(--space-6); } }

/* ---------- Whole system ---------- */
.fg-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fg-steps .fg-cell { padding-block: var(--space-6) var(--space-7); }
.fg-steps .fg-cell > div { display: grid; gap: 8px; }
.fg-kit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.fg-kit__intro { grid-row: span 2; gap: var(--space-4); padding-block: var(--space-6); }
.fg-kit__part { gap: 6px; padding-block: var(--space-5); align-content: center; }
.fg-kit__part b { font-weight: 500; font-size: 1.0625rem; }
@container page (max-width: 980px) { .fg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fg-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fg-kit__intro { grid-column: 1 / -1; grid-row: auto; } }
@container page (max-width: 560px) { .fg-steps { grid-template-columns: minmax(0, 1fr); } .fg-steps .fg-cell { grid-template-columns: 40px minmax(0, 1fr); padding-block: var(--space-5); } }

/* ---------- Solutions ---------- */
.fg-solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fg-solution { grid-template-columns: minmax(0, 1fr) auto; gap: 10px var(--space-5); padding-block: var(--space-6); }
.fg-solution p { grid-column: 1; color: var(--muted); font-size: .9375rem; max-width: 46ch; }
.fg-solution .fg-arrow { grid-column: 2; grid-row: 2; align-self: center; }
.fg-solution .fg-spec { grid-column: 1 / -1; }
@container page (max-width: 860px) { .fg-solutions { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sectors ---------- */
.fg-sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fg-sector { grid-template-rows: auto auto 1fr auto; gap: var(--space-3); min-height: 208px; padding-block: var(--space-5); }
.fg-sector .fg-index { margin-bottom: var(--space-4) !important; }
.fg-sector__moves { font-size: .9375rem; color: var(--muted); }
.fg-sector__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); }
@container page (max-width: 1100px) { .fg-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (max-width: 560px) { .fg-sectors { grid-template-columns: minmax(0, 1fr); } .fg-sector { min-height: 0; } .fg-sector .fg-index { margin-bottom: 0 !important; } }

/* ---------- Expertise ---------- */
.fg-expert { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.fg-expert__who { display: grid; align-content: start; }
.fg-portrait { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; background: var(--paper-100); border-bottom: 1px solid var(--line); }
.fg-portrait img { width: 100%; height: 252px; object-fit: cover; object-position: 50% 0; }
.fg-portrait figcaption { display: grid; gap: var(--space-3); padding: var(--space-5) var(--inset) var(--space-5) var(--space-2); }
.fg-stats { display: grid; }
.fg-stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-4); padding: 18px var(--inset); border-bottom: 1px solid var(--line); }
.fg-stat__value { font-size: clamp(2.25rem, 1.8rem + 1.8cqi, 3.5rem); line-height: 1; letter-spacing: -0.04em; font-weight: 400; font-variant-numeric: tabular-nums; }
.fg-stat__value span { color: var(--accent); }
.fg-stat__label { font-size: .9375rem; color: var(--muted); text-align: right; max-width: 24ch; }
.fg-standards { display: grid; gap: var(--space-3); padding: var(--space-5) var(--inset); }
.fg-standards > div { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.fg-standards ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.fg-mosaic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); align-content: start; }
.fg-shot { position: relative; overflow: hidden; background: var(--ink-950); aspect-ratio: 4 / 3; }
.fg-shot--wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.fg-shot img { width: 100%; height: 100%; object-fit: cover; }
.fg-shot figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: var(--ink-950); color: var(--color-text-inverse-muted); font: 400 .6875rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
@container page (max-width: 860px) { .fg-expert { grid-template-columns: minmax(0, 1fr); } }
@container page (max-width: 560px) { .fg-portrait img { height: 200px; } }

/* ---------- Proof ---------- */
.fg-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fg-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: background var(--dur) var(--ease); }
a.fg-card:hover { background: var(--hover); }
a.fg-card:hover .fg-arrow { transform: translateX(4px); }
.fg-card__media { aspect-ratio: 16 / 9; background: var(--ink-950); overflow: hidden; }
.fg-card__media img { width: 100%; height: 100%; object-fit: cover; }
.fg-card__body { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5) var(--inset) var(--space-6); }
.fg-card__foot { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-2); font-weight: 500; font-size: .9375rem; }
.fg-card__foot .fg-arrow { color: var(--accent); }
.fg-quote { display: grid; gap: var(--space-5); align-content: space-between; padding: var(--space-6) var(--inset); background: repeating-linear-gradient(-58deg, var(--line) 0 1px, transparent 1px 9px), var(--bg) !important; }
.fg-quote blockquote { font-size: var(--text-h3); line-height: 1.3; letter-spacing: -0.015em; color: var(--muted); background: var(--bg); padding: var(--space-4); }
.fg-quote figcaption { background: var(--bg); padding: var(--space-3) var(--space-4); justify-self: start; }
@container page (max-width: 980px) { .fg-proof { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Range ---------- */
.fg-search { display: flex; width: 100%; max-width: 520px; border: 1px solid var(--ink-950); background: var(--white); }
.fg-search input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; background: transparent; font: inherit; color: var(--color-text); }
.fg-search input:focus { outline: none; }
.fg-search:focus-within { box-shadow: 0 0 0 3px rgba(218,34,39,.18); }
.fg-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fg-tile { display: grid; gap: 4px; align-content: start; padding: var(--space-4) var(--space-5) var(--space-5); text-decoration: none; transition: background var(--dur) var(--ease); }
.fg-tile:hover { background: var(--hover); }
.fg-tile__media { aspect-ratio: 3 / 2; margin-bottom: var(--space-3); overflow: hidden; }
.fg-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 6% 12%; transition: transform 500ms var(--ease); }
.fg-tile:hover img { transform: scale(1.05); }
.fg-tile b { font-weight: 500; }
.fg-refs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-5); align-items: baseline; padding: var(--space-6) var(--inset); border-top: 1px solid var(--line); }
.fg-refs ul { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
@container page (max-width: 980px) { .fg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fg-tiles > :last-child { grid-column: span 3; } .fg-refs { grid-template-columns: minmax(0, 1fr); } }
@container page (max-width: 560px) { .fg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fg-tiles > :last-child { grid-column: auto; } .fg-tile { padding-inline: var(--space-4); } .fg-refs ul { display: grid; } }

/* ---------- Quote form ---------- */
.fg-rfq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-top: 0; scroll-margin-top: 68px; }
.fg-rfq__intro { display: grid; gap: var(--space-5); align-content: start; justify-items: start; padding: var(--head-top) var(--inset) var(--space-7); }
.fg-rfq__promise { display: grid; width: 100%; border-top: 1px solid var(--ink-950); }
.fg-rfq__promise li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--line); font-size: .9375rem; }
.fg-rfq__promise b { font: 500 .75rem/1.9 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.fg-person { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-4); align-items: center; width: 100%; }
.fg-person img { width: 56px; height: 56px; object-fit: cover; object-position: 50% 12%; background: var(--paper-100); }
.fg-rfq__form { padding: var(--head-top) var(--inset) var(--space-7); }
.fg-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); align-content: start; }
.fg-form__group { grid-column: 1 / -1; padding-top: var(--space-4); border-top: 1px solid var(--ink-950); margin-top: var(--space-3) !important; }
.fg-form__group:first-child { margin-top: 0 !important; padding-top: 0; border-top: 0; }
.fg-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.fg-field--full { grid-column: 1 / -1; }
.fg-field > label, .fg-field > legend { font: 500 .6875rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; }
.fg-field input, .fg-field select, .fg-field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--steel-300); border-radius: 0; background: var(--paper-50); color: var(--color-text); font: inherit; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.fg-field textarea { min-height: 80px; resize: vertical; }
.fg-field input[type="file"] { padding: 11px 12px; font-size: .875rem; color: var(--muted); }
.fg-field input::file-selector-button { margin-right: 12px; padding: 6px 12px; border: 1px solid var(--ink-950); border-radius: 0; background: var(--white); color: var(--color-text); font: inherit; cursor: pointer; }
.fg-field input:hover, .fg-field select:hover, .fg-field textarea:hover { border-color: var(--steel-500); }
.fg-field input:focus, .fg-field select:focus, .fg-field textarea:focus { outline: none; border-color: var(--ink-950); background: var(--white); box-shadow: 0 0 0 3px rgba(218,34,39,.18); }
.fg-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 0; margin: 0; padding: 0; min-width: 0; }
.fg-chips legend { margin-bottom: 8px; }
.fg-chip { position: relative; display: block; }
.fg-chip + .fg-chip { margin-left: -1px; }
.fg-chip input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.fg-chip span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 52px; padding: 8px 12px; border: 1px solid var(--steel-300); text-align: center; font: 400 .9375rem/1.2 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--color-text); cursor: pointer; transition: all var(--dur) var(--ease); }
.fg-chip input:checked + span { position: relative; background: var(--ink-950); color: var(--white); border-color: var(--ink-950); }
.fg-chip input:focus-visible + span { outline: 2px solid var(--fox-red-600); outline-offset: 2px; }
.fg-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-3); }
.fg-form__foot span { flex: 1 1 240px; font-size: .8125rem; color: var(--muted); }
.fg-sent { display: grid; gap: var(--space-4); align-content: center; justify-items: start; padding: var(--space-6); border: 1px solid var(--ink-950); }
.fg-sent b { color: var(--color-success); font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
@container page (max-width: 860px) { .fg-rfq { grid-template-columns: minmax(0, 1fr); } .fg-rfq__intro, .fg-rfq__form { padding-block: var(--space-7); } }
@container page (max-width: 560px) { .fg-form { grid-template-columns: minmax(0, 1fr); } .fg-chips { grid-template-columns: minmax(0, 1fr); } .fg-chip + .fg-chip { margin-left: 0; margin-top: -1px; } .fg-form__foot .fg-btn { width: 100%; } }

/* ---------- Footer ---------- */
.fg-footer { color: var(--color-text-inverse-muted); }
.fg-footer__grid { grid-template-columns: 1.5fr repeat(3, 1fr); border-top: 0; }
.fg-footer__grid > * { padding: var(--space-7) var(--inset); }
.fg-footer__brand { display: grid; gap: var(--space-4); align-content: start; justify-items: start; font-size: .9375rem; }
.fg-footer__brand img { height: 32px; width: auto; }
.fg-footer h3 { margin: 0 0 var(--space-5); font: 500 .75rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.fg-footer nav ul { display: grid; gap: 10px; font-size: .9375rem; }
.fg-footer a { text-decoration: none; }
.fg-footer a:hover { color: var(--white); }
.fg-footer__phone { font: 500 1.5rem/1 var(--font-mono); letter-spacing: -0.01em; color: var(--white); }
.fg-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--inset); border-top: 1px solid var(--line); font-size: .8125rem; }
@container page (max-width: 860px) { .fg-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fg-footer__brand { grid-column: 1 / -1; } .fg-footer__grid > * { padding-block: var(--space-6); } }

/* =====================================================================
   Calmer pass: the grid still sets every position, but it is no longer drawn.
   Rails, ticks, hatching and cell borders are removed. Structure is carried by
   alignment, white space and a single hairline above each item.
   ===================================================================== */
.fg-page { --head-top: clamp(56px, 32px + 4cqi, 88px); --sec-bottom: clamp(48px, 32px + 2.4cqi, 72px); --col-gap: clamp(20px, 8px + 2.8cqi, 48px); }
.fg-band { border-top: 0; }
.fg-container { border-inline: 0; padding-bottom: var(--sec-bottom); }
.fg-container::before, .fg-container::after, .fg-hatch { display: none; }
.fg-page .fg-grid { gap: 0 var(--col-gap); background: none; border-top: 0; padding-inline: var(--inset); }
.fg-grid > * { background: none; }
.fg-cell { padding-inline: 0; border-top: 1px solid var(--line); }
a.fg-cell:hover { background: none; }
a.fg-cell:hover h3 { color: var(--accent); }

.fg-header { border-bottom: 0; }
.fg-header .fg-container, .fg-footer .fg-container { padding-bottom: 0; }
.fg-header__logo { border-right: 0; }
.fg-header__phone { border-left: 0; }
.fg-mnav { border-left: 0; }

.fg-hero { background: radial-gradient(70% 120% at 12% 118%, var(--fox-red-700) 0%, var(--fox-red-950) 42%, var(--ink-950) 76%); }
.fg-hero .fg-container { padding-bottom: 0; }
.fg-hero__media { border-left: 0; }
.fg-hero__media figcaption { border-top: 0; }
.fg-page .fg-speed.fg-grid { gap: 0 var(--col-gap); border-top: 1px solid rgba(255,255,255,.16); margin-inline: var(--inset); padding-inline: 0; }
.fg-speed > li { padding-inline: 0; }
.fg-speed > li + li { border-left: 0; }

.fg-page .fg-clients.fg-grid { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); padding-block: var(--space-6) 0; }
.fg-clients > * { display: block; min-height: 0; padding: 0; font-size: 1rem; }
.fg-clients > :first-child { display: flex; flex-direction: row; align-items: center; gap: var(--space-3); padding: 0; margin-right: auto; }
.fg-band:has(.fg-clients) .fg-container { padding-bottom: 0; }

.fg-page .fg-doors.fg-grid { gap: var(--space-4); padding-top: var(--sec-bottom); }
.fg-door { padding: var(--space-6); border-top: 0; background: var(--white) !important; }
.fg-door--ink { background: radial-gradient(80% 110% at 100% 110%, var(--fox-red-800) 0%, var(--fox-red-950) 38%, var(--ink-950) 72%) !important; }
a.fg-door:hover h2 { color: var(--accent); }

.fg-steps .fg-cell { padding-block: var(--space-5) 0; }
.fg-solution { padding-block: var(--space-5) var(--space-6); }
.fg-solution .fg-spec { display: none; }
.fg-solution .fg-arrow { grid-row: 1; }
.fg-sector { min-height: 176px; padding-block: var(--space-5) var(--space-4); }
.fg-sector .fg-index { display: none; }

.fg-portrait { border-bottom: 0; }
.fg-stat, .fg-standards { padding-inline: 0; }
.fg-stat:last-child { border-bottom: 0; }
.fg-standards { padding-bottom: 0; border-top: 1px solid var(--line); }
.fg-mosaic { gap: var(--space-3); background: none; }

.fg-page .fg-proof.fg-grid { gap: var(--space-5); }
.fg-card__body { padding-inline: 0; padding-bottom: 0; }
.fg-quote { background: var(--white) !important; padding: var(--space-6); }
.fg-quote blockquote, .fg-quote figcaption { background: none; padding: 0; }

.fg-page .fg-tiles.fg-grid { gap: var(--space-6) var(--col-gap); }
.fg-tile { padding: 0; }
.fg-tile:hover { background: none; }
.fg-tile:hover b { color: var(--accent); }
.fg-tile__media { background: var(--paper-50); }
.fg-refs { border-top: 1px solid var(--line); margin: var(--space-7) var(--inset) 0; padding: var(--space-5) 0 0; }

.fg-page .fg-rfq.fg-grid { padding-inline: 0; gap: 0 var(--col-gap); }
.fg-band:has(.fg-rfq) .fg-container { padding-bottom: 0; }
.fg-rfq__intro, .fg-rfq__form { padding-bottom: var(--head-top); }
.fg-form__group { border-top-color: var(--line); }

.fg-page .fg-footer__grid.fg-grid { padding-inline: 0; gap: 0; }
.fg-footer__grid > * { padding-block: var(--space-8) var(--space-7); }
@container page (max-width: 560px) {
  .fg-page .fg-clients.fg-grid { gap: var(--space-2) var(--space-5); }
  .fg-clients > :first-child { flex-basis: 100%; }
  .fg-steps .fg-cell { padding-bottom: var(--space-5); }
  .fg-page .fg-tiles.fg-grid { gap: var(--space-5) var(--space-4); }
}

/* =====================================================================
   Line builder: the hero's interactive half. Top-down pipe pieces on a 56px module.
   The world layer slides so the next open slot is always at the centre of the frame.
   ===================================================================== */
.fg-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: clamp(600px, 100vh - 68px, 820px); }
.fg-build { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; background: var(--ink-950); overflow: hidden; }
.fg-build__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-5) 0; position: relative; z-index: 2; }
.fg-build__count { font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-inverse-muted); }
.fg-build__stage { position: relative; overflow: hidden; }
.fg-build__stage::before, .fg-build__stage::after { content: ""; position: absolute; z-index: 2; pointer-events: none; }
.fg-build__stage::before { inset: 0; background: radial-gradient(closest-side, transparent 55%, var(--ink-950) 100%); }
.fg-build__stage::after { left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 1px dashed rgba(255,255,255,.55); }
.fg-build__world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transition: transform 480ms var(--ease); }
.fg-pipe { position: absolute; display: block; width: 56px; height: 56px; margin: -28px 0 0 -28px; overflow: hidden; }
.fg-pipe i, .fg-pipe b { position: absolute; display: block; }
.fg-pipe i { left: 50%; top: -1px; bottom: -1px; width: 18px; margin-left: -9px; background: #b9bcc0; }
.fg-pipe--hose i { background: repeating-linear-gradient(0deg, #4a4c52 0 3px, #6b6e75 3px 6px); }
.fg-pipe--elbowl i, .fg-pipe--elbowr i { top: 19px; bottom: auto; width: 74px; height: 74px; margin: 0; border: 18px solid #b9bcc0; border-radius: 50%; background: none; box-sizing: border-box; }
.fg-pipe--elbowl i { left: -37px; }
.fg-pipe--elbowr i { left: 19px; }
.fg-pipe--valve b { left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #eeeff0; }
.fg-pipe--valve b::after { content: ""; position: absolute; left: -9px; right: -9px; top: 11px; height: 8px; background: var(--fox-red-500); }
.fg-pipe--camlock b { left: 50%; top: 14px; width: 32px; height: 9px; margin-left: -16px; background: #eeeff0; box-shadow: 0 19px 0 #eeeff0; }
.fg-pipe--flange b { left: 50%; top: 24px; width: 42px; height: 8px; margin-left: -21px; background: #eeeff0; }
.fg-pipe--bauer b { left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; background: #eeeff0; transform: rotate(45deg); }
.fg-pipe--start i { bottom: 28px; }
.fg-pipe--start b { left: 10px; top: 10px; width: 36px; height: 36px; background: #eeeff0; }
.fg-pipe--start b::after { content: ""; position: absolute; left: 13px; top: 13px; width: 10px; height: 10px; background: var(--fox-red-600); }
.fg-build__tray { position: relative; z-index: 2; display: grid; gap: var(--space-3); padding: 0 var(--space-5) var(--space-5); }
.fg-build__opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.fg-opt { display: grid; justify-items: center; gap: 6px; min-height: 112px; padding: 10px 6px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 0; background: var(--ink-900); color: var(--white); font: 500 .8125rem/1.25 var(--font-sans); text-align: center; cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.fg-opt:hover { border-color: var(--white); background: var(--ink-800); }
.fg-opt .fg-pipe { position: relative; margin: 0; }
.fg-build__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.fg-build__reset { min-height: 44px; padding: 0; border: 0; background: none; color: var(--color-text-inverse-muted); font: 500 .875rem/1 var(--font-sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.fg-build__reset:hover { color: var(--white); }
@container page (max-width: 980px) {
  .fg-hero__grid { grid-template-columns: minmax(0, 1fr); height: auto; }
  .fg-build { height: 560px; }
  .fg-opt { min-height: 104px; font-size: .75rem; }
}

/* Header runs the full width of the page, closed by a hairline. */
.fg-header { border-bottom: 1px solid rgba(255,255,255,.22); }
.fg-header .fg-container { width: 100%; max-width: none; }

/* Line builder sits inside one hairline frame; no vignette over the pipe. */
.fg-build { border: 1px solid rgba(255,255,255,.22); }
.fg-build__stage::before { display: none; }

/* Builder options: one edge-to-edge strip, no outlines, no gaps. */
.fg-build__tray { padding: 0; gap: 0; }
.fg-build__opts { gap: 0; }
.fg-opt { border: 0; }
.fg-build__foot { padding: var(--space-3) var(--space-5); }

/* Hero headline, one step smaller. */
.fg-hero__copy .fg-display { font-size: clamp(2.5rem, 1.3rem + 3.6cqi, 4.5rem); line-height: 1.02; }

/* Hero runs edge to edge: copy stays on the page's left alignment, the builder is pinned to the right edge of the screen. */
.fg-page { --edge: calc(max(var(--gutter), (100cqi - 1360px) / 2) + var(--inset)); }
.fg-hero .fg-container { width: 100%; max-width: none; }
.fg-hero__copy { padding-left: var(--edge); }
.fg-page .fg-speed.fg-grid { margin-inline: var(--edge); }
.fg-build { border-right: 0; border-top: 0; }
@container page (max-width: 980px) { .fg-build { border-left: 0; } }

/* Hero copy sits in the vertical middle of its half. */
.fg-hero__copy { align-content: center; gap: var(--space-6); }

/* Speed promises: their own light band directly under the hero. */
.fg-band--strip .fg-container { padding-block: var(--space-7); }
.fg-page .fg-band--strip .fg-speed.fg-grid { margin-inline: 0; padding-inline: var(--inset); border-top: 0; }
.fg-band--strip .fg-speed > li { padding-block: 0; }
@container page (max-width: 980px) { .fg-band--strip .fg-speed > li { padding-block: var(--space-4); } .fg-band--strip .fg-container { padding-block: var(--space-4); } }

/* Builder reset: icon only. */
.fg-build__reset { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -12px; text-decoration: none; color: var(--white); }
.fg-build__reset:hover svg { transform: rotate(-45deg); }
.fg-build__reset svg { transition: transform var(--dur) var(--ease); }

/* Builder: reset and quote link sit above the pipe options. */
.fg-build__foot { order: -1; }

/* Client logos: two rows of four, label to the left. */
.fg-page .fg-clients.fg-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, minmax(0, 1fr)); gap: var(--space-3); align-items: stretch; padding-block: var(--sec-bottom) 0; }
.fg-clients > * { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: var(--space-3); background: var(--white); text-align: center; font-size: 1rem; }
.fg-clients > :first-child { grid-row: span 2; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--space-3); margin: 0; padding: 0; background: none; }
@container page (max-width: 980px) {
  .fg-page .fg-clients.fg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fg-clients > :first-child { grid-column: 1 / -1; grid-row: auto; min-height: 0; flex-direction: row; align-items: center; }
}
@container page (max-width: 560px) {
  .fg-page .fg-clients.fg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
  .fg-clients > * { min-height: 64px; font-size: .9375rem; }
}

/* Hero split: copy 60%, line builder 40%. */
@container page (min-width: 981px) { .fg-hero__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }

/* Speed band: dark, one short phrase per promise. */
.fg-band--strip.fg-band--ink { border-top: 1px solid rgba(255,255,255,.22); }
.fg-band--strip .fg-speed b { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.01em; }
.fg-band--strip .fg-speed b::before { content: ""; width: 7px; height: 7px; background: var(--fox-red-500); flex: none; }
.fg-band--strip .fg-container { padding-block: var(--space-6); }
@container page (max-width: 980px) { .fg-band--strip .fg-speed > li { grid-template-columns: minmax(0, 1fr); padding-block: var(--space-3); border-top: 0; } }

/* Builder prompt: sits over the pipe until the first piece is chosen, then fades. */
.fg-build__bar { justify-content: flex-end; }
.fg-build__prompt { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); padding: 10px 18px; background: rgba(11,11,12,.82); color: var(--white); font-size: var(--text-h3); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; white-space: nowrap; pointer-events: none; transition: opacity 500ms var(--ease); }
.fg-build__prompt--gone { opacity: 0; }

/* Speed band: icon beside each phrase, no dots, lines wrapped evenly. */
.fg-page .fg-band--strip .fg-speed.fg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5) var(--col-gap); }
.fg-band--strip .fg-speed > li { display: flex; align-items: center; gap: 14px; grid-template-columns: none; }
.fg-band--strip .fg-speed svg { flex: none; color: var(--fox-red-500); }
.fg-band--strip .fg-speed b { display: block; max-width: 16ch; text-wrap: balance; }
.fg-band--strip .fg-speed b::before { display: none; }
@container page (max-width: 980px) { .fg-page .fg-band--strip .fg-speed.fg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fg-band--strip .fg-speed > li { padding-block: 0; } .fg-band--strip .fg-container { padding-block: var(--space-6); } }
@container page (max-width: 560px) { .fg-page .fg-band--strip .fg-speed.fg-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } .fg-band--strip .fg-speed b { max-width: none; } }

/* Clients: title above, then two rows of four dummy logo tiles. */
.fg-clients__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); padding: var(--sec-bottom) var(--inset) var(--space-5); }
.fg-clients__head .fg-eyebrow::before { display: none; }
.fg-page .fg-clients.fg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 0; }
.fg-clients > *, .fg-clients > :first-child { grid-row: auto; grid-column: auto; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; min-height: 112px; margin: 0; padding: var(--space-4); background: var(--white); color: var(--steel-500); text-align: left; }
.fg-clients svg { flex: none; }
.fg-clients span { font: 500 .8125rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
@container page (max-width: 560px) { .fg-page .fg-clients.fg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fg-clients > *, .fg-clients > :first-child { min-height: 88px; flex-direction: column; text-align: center; gap: 8px; } }

/* Clients: generous space above and below. */
.fg-clients__head { padding-top: var(--head-top); }
.fg-band:has(.fg-clients) .fg-container { padding-bottom: var(--head-top); }
.fg-page .fg-doors.fg-grid { padding-top: 0; }

/* Speed band: equal gaps between the five points, first flush left, last flush right. */
@container page (min-width: 981px) {
  .fg-page .fg-band--strip .fg-speed.fg-grid { display: flex; justify-content: space-between; gap: var(--space-5); }
  .fg-band--strip .fg-speed b { max-width: none; white-space: nowrap; }
  .fg-band--strip .fg-speed b { white-space: normal; width: min-content; min-width: 10ch; }
}
@container page (min-width: 981px) { .fg-band--strip .fg-speed b { width: auto; min-width: 0; max-width: 18ch; white-space: normal; text-wrap: balance; } }

/* Starter pipe sits at half strength until the first piece is chosen. */
.fg-build__world { transition: transform 480ms var(--ease), opacity 500ms var(--ease); }
.fg-build__prompt--idle ~ .fg-build__world { opacity: .5; }

/* Clients: centred title, logos sit directly on the page with no tiles. */
.fg-clients__head { flex-direction: column; justify-content: center; text-align: center; }
.fg-clients > *, .fg-clients > :first-child { background: none; min-height: 88px; }

/* Doors: urgent door takes the left half, the other two stack on the right. */
@container page (min-width: 981px) {
  .fg-page .fg-doors.fg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fg-door--ink { grid-row: span 2; }
  .fg-door:not(.fg-door--ink) { gap: var(--space-6); }
}

/* Builder: part count and quote link combined, top right. */
.fg-build__quote { display: inline-flex; align-items: center; gap: var(--space-4); min-height: 44px; text-decoration: none; }
.fg-build__quote .fg-build__count { padding-right: var(--space-4); border-right: 1px solid rgba(255,255,255,.3); }
.fg-build__quote-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.fg-build__quote .fg-arrow { color: var(--fox-red-500); }
.fg-build__quote:hover .fg-arrow { transform: translateX(4px); }

/* Builder stage: faint grid on the pipe module, aligned to the next-piece slot. */
.fg-build__stage { background: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) center / 84px 84px, linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) center / 84px 84px; }

/* Clients: triple section padding. */
.fg-clients__head { padding-top: calc(var(--head-top) * 3); }
.fg-band:has(.fg-clients) .fg-container { padding-bottom: calc(var(--head-top) * 3); }

/* Urgent door: section-heading scale for its title. */
.fg-door--ink h2 { font-size: var(--text-h2) !important; line-height: 1.05 !important; letter-spacing: -0.03em !important; max-width: 14ch; }

/* Builder: finer grid that runs behind the top bar and the refresh row. */
.fg-build { grid-template-rows: minmax(0, 1fr) auto; }
.fg-build__bar { position: absolute; left: 0; right: 0; top: 0; z-index: 4; }
.fg-build__stage { grid-row: 1; background: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) calc(50% - 21px) calc(50% - 21px) / 42px 42px, linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) calc(50% - 21px) calc(50% - 21px) / 42px 42px; }
.fg-build__tray { grid-row: 2; position: static; }
.fg-opt { height: 112px; min-height: 0; }
.fg-build__foot { position: absolute; left: 0; right: 0; bottom: 112px; z-index: 4; }
@container page (max-width: 980px) { .fg-opt { height: 104px; } .fg-build__foot { bottom: 104px; } }

/* Clients: back to the standard section spacing. */
.fg-clients__head { padding-top: var(--head-top); }
.fg-band:has(.fg-clients) .fg-container { padding-bottom: var(--head-top); }

/* Clients: five columns, two rows of five. */
@container page (min-width: 981px) { .fg-page .fg-clients.fg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* One-word emphasis inside a heading on a dark ground. */
.fg-em { color: var(--fox-red-500); }

/* Urgent door: tagline as a full-width red bar with hazard stripes along the top edge. */
.fg-door--ink .fg-eyebrow { justify-self: stretch; display: flex; margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-4); padding: 16px var(--space-6); color: var(--white);
  background: repeating-linear-gradient(-45deg, rgba(11,11,12,.22) 0 12px, transparent 12px 24px), var(--fox-red-600); }
.fg-door--ink .fg-eyebrow::before { background: var(--white); }

/* Builder grid lives in the moving layer, so it slides with the pipe. */
.fg-build__stage { background: none; }
.fg-build__grid { position: absolute; left: -3948px; top: -3948px; width: 7896px; height: 7896px; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 28px 28px; }

/* Urgent bar: no marker, bold label, hazard stripes on the right half only. */
.fg-door--ink .fg-eyebrow { font-weight: 700; background: repeating-linear-gradient(-45deg, rgba(11,11,12,.22) 0 12px, transparent 12px 24px) right center / 50% 100% no-repeat, var(--fox-red-600); }
.fg-door--ink .fg-eyebrow::before { display: none; }

/* Light doors: the destination link sits at the top in place of a tagline. */
.fg-door .fg-stack > .fg-door__foot { justify-self: stretch; padding: 0 0 var(--space-4); border-top: 0; border-bottom: 1px solid var(--line); margin-bottom: var(--space-3); }

/* Light doors: two columns. Title and text on the left, button with arrow on the right. */
.fg-door:not(.fg-door--ink) { align-content: center; }
.fg-door:not(.fg-door--ink) .fg-stack { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-6); align-items: center; justify-items: start; width: 100%; }
.fg-door:not(.fg-door--ink) .fg-stack > h2, .fg-door:not(.fg-door--ink) .fg-stack > p { grid-column: 1; }
.fg-door .fg-stack > .fg-door__foot { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 0 20px; border: 1px solid var(--ink-950); white-space: nowrap; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
a.fg-door:hover .fg-door__foot { background: var(--ink-950); color: var(--white); }
a.fg-door:hover .fg-door__foot .fg-arrow { color: var(--white); }
a.fg-door:hover h2 { color: inherit; }
@container page (max-width: 560px) {
  .fg-door:not(.fg-door--ink) .fg-stack { grid-template-columns: minmax(0, 1fr); }
  .fg-door .fg-stack > .fg-door__foot { grid-column: 1; grid-row: 3; justify-self: start; margin-top: var(--space-3); }
}

/* Light doors: the button column runs the full height of the block, flush to its right edge. */
.fg-door:not(.fg-door--ink) { padding: 0; align-content: stretch; }
.fg-door:not(.fg-door--ink) .fg-stack { height: 100%; grid-template-rows: 1fr 1fr; align-items: stretch; column-gap: 0; row-gap: var(--space-3); }
.fg-door:not(.fg-door--ink) .fg-stack > h2 { align-self: end; padding: var(--space-6) var(--space-6) 0; }
.fg-door:not(.fg-door--ink) .fg-stack > p { align-self: start; padding: 0 var(--space-6) var(--space-6); }
.fg-door .fg-stack > .fg-door__foot { align-self: stretch; justify-self: stretch; min-height: 0; height: 100%; padding: 0 var(--space-6); border: 0; border-left: 1px solid var(--line); }
@container page (max-width: 560px) {
  .fg-door:not(.fg-door--ink) .fg-stack { grid-template-rows: auto; }
  .fg-door .fg-stack > .fg-door__foot { height: auto; min-height: 56px; margin-top: 0; justify-content: space-between; border-left: 0; border-top: 1px solid var(--line); }
}
@container page (min-width: 561px) { .fg-door:not(.fg-door--ink) .fg-stack { grid-template-columns: minmax(0, 1fr) 212px; } .fg-door .fg-stack > .fg-door__foot { justify-content: center; } }

/* Builder prompt in the mono label style. */
.fg-build__prompt { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* Doors: every heading and paragraph wraps to balanced lines. */
.fg-doors h2, .fg-doors p { text-wrap: balance; }

/* Builder prompt on two centred lines. */
.fg-build__prompt { white-space: normal; width: 12ch; text-align: center; text-wrap: balance; line-height: 1.3; }

/* Builder prompt back on one line. */
.fg-build__prompt { white-space: nowrap; width: auto; }

/* Emphasised word in the Line's down title: bold. */
.fg-page .fg-em { font-weight: 700; }

/* Client logos: story tooltip on hover, focus or tap. */
.fg-clients > li { position: relative; cursor: default; outline: 0; transition: color .2s ease; }
.fg-clients > li:hover, .fg-clients > li:focus-visible { color: var(--fox-red-600); }
.fg-clients .fg-tip { position: absolute; left: 50%; bottom: calc(100% - 12px); z-index: 5; width: min(280px, 72cqi); padding: 16px 18px 18px; background: var(--ink-950); color: #fff; text-align: left; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; pointer-events: none; }
.fg-clients .fg-tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; background: var(--ink-950); transform: translate(-50%, -50%) rotate(45deg); }
.fg-clients > li:hover .fg-tip, .fg-clients > li:focus .fg-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.fg-clients .fg-tip small { display: block; margin-bottom: 10px; font: 500 .625rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.fg-clients .fg-tip strong { display: block; margin-bottom: 6px; font: 600 .9375rem/1.25 var(--font-sans, inherit); letter-spacing: -0.01em; text-transform: none; }
.fg-page .fg-clients .fg-tip p { margin: 0; font: 400 .8125rem/1.5 var(--font-sans, inherit); letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.82); text-wrap: pretty; }
@container page (max-width: 980px) {
  .fg-clients > li:nth-child(4n+1) .fg-tip { left: 0; transform: translate(0, 6px); }
  .fg-clients > li:nth-child(4n+1):hover .fg-tip, .fg-clients > li:nth-child(4n+1):focus .fg-tip { transform: none; }
  .fg-clients > li:nth-child(4n+1) .fg-tip::after { left: 28px; }
  .fg-clients > li:nth-child(4n) .fg-tip { left: auto; right: 0; transform: translate(0, 6px); }
  .fg-clients > li:nth-child(4n):hover .fg-tip, .fg-clients > li:nth-child(4n):focus .fg-tip { transform: none; }
  .fg-clients > li:nth-child(4n) .fg-tip::after { left: auto; right: 18px; }
}
@container page (max-width: 560px) {
  .fg-clients > li:nth-child(odd) .fg-tip { left: 0; right: auto; transform: translate(0, 6px); }
  .fg-clients > li:nth-child(even) .fg-tip { left: auto; right: 0; transform: translate(0, 6px); }
  .fg-clients > li:nth-child(n):hover .fg-tip, .fg-clients > li:nth-child(n):focus .fg-tip { transform: none; }
  .fg-clients > li:nth-child(odd) .fg-tip::after { left: 28px; right: auto; }
  .fg-clients > li:nth-child(even) .fg-tip::after { left: auto; right: 18px; }
}

/* Secondary header bar: hours, phone, search. */
.fg-util { display: flex; align-items: stretch; justify-content: space-between; min-height: 36px; border-bottom: 1px solid rgba(255,255,255,.14); font: 500 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-inverse-muted, rgba(255,255,255,.62)); }
.fg-page .fg-util__hours { display: flex; align-items: center; gap: 8px; margin: 0; padding-inline: var(--inset); white-space: nowrap; font: inherit; color: inherit; }
.fg-util__hours i { width: 6px; height: 6px; background: var(--fox-red-500); flex: none; margin-right: 2px; }
.fg-util__sep { opacity: .45; }
.fg-util__right { display: flex; align-items: stretch; }
.fg-util__phone { display: flex; align-items: center; gap: 8px; padding-inline: 20px; color: var(--white); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.fg-util__phone svg { color: var(--fox-red-500); }
.fg-util__phone:hover { color: var(--fox-red-500); }
.fg-util__search { display: flex; align-items: center; gap: 10px; width: 300px; padding-inline: 16px; border-left: 1px solid rgba(255,255,255,.14); color: var(--color-text-inverse-muted, rgba(255,255,255,.62)); transition: background .2s ease; }
.fg-util__search:focus-within { background: var(--ink-900, #17181a); color: var(--white); }
.fg-util__search svg { flex: none; }
.fg-page .fg-util__search input { flex: 1; min-width: 0; height: 35px; padding: 0; border: 0; outline: 0; border-radius: 0; background: none; color: var(--white); font: 400 .8125rem/1 var(--font-sans); letter-spacing: 0; text-transform: none; appearance: none; -webkit-appearance: none; }
.fg-util__search input::placeholder { color: rgba(255,255,255,.5); }
.fg-util__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@container page (min-width: 981px) { .fg-hero__grid { height: clamp(600px, 100vh - 105px, 820px); } }
.fg-rfq { scroll-margin-top: 105px; }
@container page (max-width: 860px) {
  .fg-util__search { width: 220px; }
}
@container page (max-width: 560px) {
  .fg-util__hours { display: none !important; }
  .fg-util__right { flex: 1; }
  .fg-util__phone { padding-inline: var(--inset); }
  .fg-util__search { flex: 1; width: auto; }
  .fg-util__search input { font-size: 1rem; }
}

/* Emergency work bar along the baseline of the hero copy. */
.fg-hero__copy { position: relative; padding-bottom: calc(var(--space-7) + 56px); }
.fg-hero__sos { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: stretch; min-height: 56px; background: var(--fox-red-600); color: #fff; text-decoration: none; font: 700 .75rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; transition: background .2s ease; }
.fg-hero__sos:hover { background: var(--fox-red-500); }
.fg-hero__sos i { flex: none; width: calc(var(--edge) - 20px); min-width: 56px; background: repeating-linear-gradient(-45deg, rgba(11,11,12,.22) 0 12px, transparent 12px 24px); }
.fg-hero__sos-label { display: flex; align-items: center; padding-left: 20px; }
.fg-hero__sos-go { display: flex; align-items: center; gap: 10px; margin-left: auto; padding-inline: 24px; font-weight: 500; white-space: nowrap; }
.fg-hero__sos-go b { font-weight: 700; }
.fg-hero__sos .fg-arrow { transition: transform .2s ease; }
.fg-hero__sos:hover .fg-arrow { transform: translateX(4px); }
@container page (max-width: 560px) {
  .fg-hero__sos { flex-wrap: wrap; align-items: center; padding: 12px var(--inset); gap: 4px 16px; }
  .fg-hero__sos i { display: none; }
  .fg-hero__sos-label { padding-left: 0; }
  .fg-hero__sos-go { margin-left: 0; padding-inline: 0; }
  .fg-hero__copy { padding-bottom: calc(var(--space-6) + 76px); }
}

/* Secondary header bar: everything grouped on the right. */
.fg-util { justify-content: flex-end; }
.fg-page .fg-util__hours { padding-inline: 20px; }

/* Eyebrow marker: the top-left to bottom-right stroke of the X in the Fox logo. */
.fg-eyebrow::before { width: 10px; height: 14px; clip-path: polygon(0 0, 42% 0, 100% 100%, 58% 100%); }

/* Line builder: boxed-in state. White call-to-action block over the pipe. */
.fg-build__stuck { position: absolute; left: 50%; top: 50%; z-index: 4; width: min(340px, calc(100% - 48px)); padding: 24px; display: grid; gap: 12px; justify-items: start; background: var(--white); color: var(--ink-950); transform: translate(-50%, -50%); animation: fg-stuck-in .28s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fg-stuck-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 10px)); } }
.fg-build__stuck .fg-eyebrow { --accent: var(--fox-red-600); color: var(--ink-950); }
.fg-page .fg-build__stuck h3 { margin: 0; font: 600 1.375rem/1.15 var(--font-sans); letter-spacing: -0.02em; text-wrap: balance; }
.fg-page .fg-build__stuck > p:not(.fg-eyebrow) { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--steel-600, #55585e); text-wrap: pretty; }
.fg-build__stuck-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 8px; }
.fg-build__stuck-actions .fg-btn { justify-content: center; min-height: 48px; padding-inline: 12px; }
.fg-page .fg-build__stuck .fg-btn--secondary { --_bg: transparent; --_fg: var(--ink-950); --_bd: var(--ink-950); }
.fg-page .fg-build__stuck .fg-btn--secondary:hover { --_bg: var(--ink-950); --_fg: var(--white); --_bd: var(--ink-950); }
/* Sit the block low in the frame so the trapped pipe stays in view above it. */
.fg-build__stuck { top: auto; bottom: 24px; transform: translateX(-50%); }
@keyframes fg-stuck-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Eyebrow marker: three logo slashes, building from faint to full strength. */
.fg-eyebrow::before { width: 22px; height: 14px; margin-inline: 3px 4px; clip-path: none; transform: skewX(23deg);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 28%, transparent) 0 4px, transparent 4px 9px, color-mix(in srgb, var(--accent) 60%, transparent) 9px 13px, transparent 13px 18px, var(--accent) 18px 22px); }

/* Utility bar: no rule under it; a slightly lighter band instead. */
.fg-util { border-bottom: 0; background: #1b1c1f; }
.fg-util__search:focus-within { background: #26272b; }

/* Header logo: larger. */
.fg-header__logo img { height: 36px; }
@container page (max-width: 560px) { .fg-header__logo img { height: 30px; } }

/* Primary nav: uppercase items, red underline along the bottom of each item's box on hover. */
.fg-header__bar > nav { display: flex; align-items: stretch; margin-left: auto; }
.fg-header__nav { margin: 0; padding: 0; list-style: none; align-items: stretch; }
.fg-header__nav li { display: flex; }
.fg-header__nav a { position: relative; padding-inline: 28px; text-transform: uppercase; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; }
.fg-header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--fox-red-500); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.fg-header__nav a:hover::after, .fg-header__nav a:focus-visible::after { transform: scaleX(1); }
/* Header CTA: uppercase to match the menu. */
.fg-header__actions > .fg-btn { text-transform: uppercase; font-size: .8125rem; letter-spacing: .08em; }

/* Line builder reused as a full-width call to action above the quote form. */
.fg-linecta { scroll-margin-top: 105px; }
.fg-linecta__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6) var(--col-gap, 48px); align-items: end; padding: var(--head-top) var(--edge) var(--space-7); }
.fg-linecta__head > div:first-child { display: grid; gap: var(--space-4); justify-items: start; }
.fg-page .fg-linecta__head h2 { margin: 0; max-width: 16ch; text-wrap: balance; }
.fg-linecta__side { display: grid; gap: var(--space-5); justify-items: start; }
.fg-page .fg-linecta__side .fg-lead { margin: 0; max-width: 44ch; color: var(--muted); text-wrap: pretty; }
.fg-build--wide { height: 620px; border: 0; border-top: 1px solid rgba(255,255,255,.22); }
.fg-build--wide .fg-build__bar { padding-inline: var(--edge); }
.fg-build--wide .fg-build__foot { padding-inline: var(--edge); }
.fg-build--wide .fg-build__tray { background: var(--ink-900); }
.fg-build--wide .fg-build__opts { width: min(880px, 100%); margin-inline: auto; }
@container page (max-width: 980px) {
  .fg-linecta__head { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--space-6); }
  .fg-build--wide { height: 560px; }
}

/* Builder band: copy sits inside the band on the left; the builder's centre moves to the right. */
@container page (min-width: 981px) {
  .fg-linecta { position: relative; }
  .fg-linecta__head { position: absolute; left: 0; top: 0; bottom: 0; z-index: 5; width: 44%; grid-template-columns: minmax(0, 1fr); align-content: center; gap: var(--space-5); padding: var(--space-7) var(--space-8) var(--space-7) var(--edge); background: linear-gradient(90deg, var(--ink-950) 0, var(--ink-950) 72%, rgba(11,11,12,0) 100%); pointer-events: none; }
  .fg-linecta__head a, .fg-linecta__head .fg-btn { pointer-events: auto; }
  .fg-build--wide { border-top: 0; }
  .fg-build--wide .fg-build__world, .fg-build--wide .fg-build__prompt, .fg-build--wide .fg-build__stuck { left: 70%; }
  .fg-build--wide .fg-build__stage::after { left: 70%; }
  .fg-build--wide .fg-build__opts { width: auto; margin-left: 44%; margin-right: 0; }
  .fg-build--wide .fg-build__foot { left: 44%; padding-inline: var(--space-5); }
}

/* Builder band: the part counter as a tagline, top right. */
.fg-page .fg-build__tag { margin: 0; min-height: 44px; color: var(--white); }

/* Utility bar fades out to the nav's colour on the left; the logo spans both header rows. */
.fg-util { height: 36px; background: linear-gradient(90deg, var(--ink-950) 0, var(--ink-950) 30%, #1b1c1f 62%); }
@container page (min-width: 1101px) {
  .fg-header__logo { position: absolute; left: 0; top: -36px; bottom: 0; z-index: 2; }
  .fg-header__logo img { height: 64px; }
}

/* Solutions: heading locks on the left while the six items scroll past on the right (desktop). */
@container page (min-width: 981px) {
  #solutions > .fg-container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; column-gap: var(--col-gap, 48px); }
  #solutions .fg-head { position: sticky; top: 104px; grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--space-5); padding: var(--head-top) 0 var(--head-top) var(--inset); }
  #solutions .fg-head .fg-lead { max-width: 34ch; }
  .fg-page #solutions .fg-solutions.fg-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: var(--head-top) var(--inset) var(--head-top) 0; counter-reset: sol; }
  #solutions .fg-solution { counter-increment: sol; grid-template-columns: 56px minmax(0, 1fr) auto; align-content: center; gap: 14px var(--space-5); min-height: 240px; padding-block: var(--space-7); border-top: 1px solid var(--line); }
  #solutions .fg-solution:last-child { border-bottom: 1px solid var(--line); }
  #solutions .fg-solution::before { content: counter(sol, decimal-leading-zero); grid-column: 1; grid-row: 1; align-self: start; padding-top: .55em; font: 500 .75rem/1 var(--font-mono); letter-spacing: .08em; color: var(--fox-red-500); }
  .fg-page #solutions .fg-solution h3 { grid-column: 2; grid-row: 1; font-size: clamp(1.75rem, 1rem + 1.6cqi, 2.5rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
  #solutions .fg-solution .fg-arrow { grid-column: 3; grid-row: 1; align-self: start; margin-top: .7em; }
  #solutions .fg-solution p { grid-column: 2; grid-row: 2; font-size: 1.0625rem; line-height: 1.5; max-width: 44ch; }
  #solutions .fg-hatch { grid-column: 1 / -1; }
}
/* Items brighten as they pass the middle of the screen, where the browser supports scroll-linked animation. */
@supports (animation-timeline: view()) {
  @container page (min-width: 981px) {
    @media (prefers-reduced-motion: no-preference) {
      #solutions .fg-solution { animation: fg-sol-pass linear both; animation-timeline: view(); animation-range: entry 10% exit 90%; }
    }
  }
}
@keyframes fg-sol-pass { 0% { opacity: .22; } 35% { opacity: 1; } 65% { opacity: 1; } 100% { opacity: .22; } }

/* Solutions v3: each item has a key image; its number and title form a bar that stacks at the top as you scroll. */
.fg-sols { --bar: 56px; padding: 0 var(--inset) var(--head-top); }
.fg-sol__bar { display: flex; align-items: center; gap: 20px; min-height: var(--bar); padding-block: 8px; border-top: 1px solid var(--line); background: var(--ink-950); color: var(--white); text-decoration: none; }
.fg-sol__num { flex: none; width: 36px; font: 500 .75rem/1 var(--font-mono); letter-spacing: .08em; color: var(--fox-red-500); }
.fg-page .fg-sol__bar h3 { margin: 0; font: 500 1.25rem/1.2 var(--font-sans); letter-spacing: -0.015em; transition: color .2s ease; }
.fg-sol__bar:hover h3 { color: var(--fox-red-500); }
.fg-sol__body { display: grid; gap: var(--space-5); padding: 8px 0 var(--space-8) 56px; }
.fg-sol__media { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-900); }
.fg-sol__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fg-sol__text { display: grid; gap: var(--space-4); justify-items: start; }
.fg-page .fg-sol__text p { margin: 0; max-width: 46ch; font-size: 1.0625rem; line-height: 1.5; color: var(--muted); }
.fg-sol__text .fg-link { color: var(--white); }
@container page (max-width: 560px) { .fg-sol__body { padding-left: 0; } }
@container page (min-width: 981px) {
  .fg-sols { padding: var(--head-top) var(--inset) var(--head-top) 0; }
  .fg-sol__bar { position: sticky; top: calc(104px + var(--i) * var(--bar)); z-index: calc(5 + var(--i)); }
  .fg-sol__body { scroll-margin-top: calc(104px + (var(--i) + 1) * var(--bar) + 8px); }
  .fg-sol__body:last-child { padding-bottom: var(--space-6); }
}
@container page (min-width: 981px) {
  .fg-sols { --bar: 50px; }
  .fg-sol__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: var(--space-6); padding-top: 4px; }
  .fg-sol__media { aspect-ratio: 16 / 10; }
}

/* Solutions v4: image cards. The number and title sit inside the image on a white box;
   cards stack under the header with a gap, each leaving its title strip showing. */
.fg-solstack { --bar: 46px; --gap: 28px; display: grid; gap: var(--space-5); padding: 0 var(--inset) var(--head-top); }
.fg-solcard__anchor { display: block; height: 0; margin-bottom: calc(var(--space-5) * -1); }
.fg-solcard { position: relative; overflow: hidden; height: clamp(260px, 56cqi, 360px); background: var(--ink-900); box-shadow: 0 -1px 0 var(--ink-950); }
.fg-solcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fg-solcard::after { content: ""; position: absolute; inset: 35% 0 0 0; background: linear-gradient(180deg, rgba(11,11,12,0) 0, rgba(11,11,12,.86) 78%); pointer-events: none; }
.fg-solcard__label { position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; height: var(--bar); padding: 0 18px 0 16px; background: var(--white); color: var(--ink-950); text-decoration: none; }
.fg-solcard__label span { font: 500 .75rem/1 var(--font-mono); letter-spacing: .08em; color: var(--fox-red-600); }
.fg-page .fg-solcard__label h3 { margin: 0; font: 600 1.0625rem/1.2 var(--font-sans); letter-spacing: -0.01em; white-space: nowrap; transition: color .2s ease; }
.fg-solcard__label:hover h3 { color: var(--fox-red-600); }
.fg-solcard__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: var(--space-5); padding: 20px 24px; color: var(--white); }
.fg-page .fg-solcard__text p { margin: 0; max-width: 40ch; font-size: 1.0625rem; line-height: 1.45; color: var(--white); text-wrap: pretty; }
.fg-solcard__text .fg-link { flex: none; color: var(--white); white-space: nowrap; }
.fg-solcard__draft { position: absolute; right: 12px; top: 12px; z-index: 2; }
@container page (max-width: 560px) { .fg-solcard__text { flex-direction: column; align-items: start; gap: 12px; padding: 16px; } .fg-page .fg-solcard__label h3 { font-size: .9375rem; } }
@container page (min-width: 981px) {
  .fg-solstack { gap: var(--space-7); padding: var(--head-top) var(--inset) var(--head-top) 0; }
  .fg-solcard__anchor { margin-bottom: calc(var(--space-7) * -1); scroll-margin-top: calc(104px + var(--gap) + var(--i) * var(--bar)); }
  .fg-solcard { position: sticky; top: calc(104px + var(--gap) + var(--i) * var(--bar)); z-index: calc(5 + var(--i)); height: 340px; }
  #solutions .fg-head { top: calc(104px + 28px - var(--head-top)); }
}
.fg-page .fg-solcard__label h3 { color: var(--ink-950); }
.fg-page .fg-solcard__label:hover h3 { color: var(--fox-red-600); }

/* Solutions heading: locked in the vertical middle of the screen while the cards scroll. */
@container page (min-width: 981px) {
  #solutions .fg-head { top: 104px; height: calc(100vh - 104px); min-height: 420px; align-content: center; padding-block: 0; }
}

/* Solutions cards: a card's photo darkens as the next card slides up over it, so only the card in focus is at full brightness.
   Scroll-linked; browsers without support simply keep every photo bright. */

/* Hero builder: restart control sits top left of the builder panel */
.fg-build:not(.fg-build--wide) .fg-build__foot { top: 0; bottom: auto; right: auto; padding: var(--space-4) var(--space-5) 0; }

/* Solutions v5: normal scroll on the right (image above content), title nav in the sticky left half */
.fg-solnav { display: grid; justify-items: start; gap: 2px; margin-top: var(--space-3); }
.fg-solnav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; font: 500 clamp(1.125rem, .9rem + .7cqi, 1.5rem)/1.2 var(--font-sans); letter-spacing: -0.015em; transition: color .2s ease; }
.fg-solnav a:hover { color: var(--fox-red-500); }
.fg-sollist { display: grid; padding: 0 var(--inset) var(--head-top); }
.fg-solitem { display: grid; gap: var(--space-5); padding-bottom: var(--space-8); scroll-margin-top: 132px; }
.fg-solitem:last-child { padding-bottom: 0; }
.fg-solitem__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-900); }
.fg-solitem__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fg-solitem__draft { position: absolute; right: 12px; top: 12px; }
.fg-solitem__body { display: grid; gap: var(--space-3); justify-items: start; }
.fg-page .fg-solitem__body h3 { margin: 0; color: var(--white); font: 500 clamp(1.5rem, 1.1rem + 1.2cqi, 2rem)/1.12 var(--font-sans); letter-spacing: -0.02em; text-wrap: balance; }
.fg-page .fg-solitem__body p { margin: 0; max-width: 46ch; font-size: 1.0625rem; line-height: 1.5; color: var(--color-text-inverse-muted); }
.fg-solitem__body .fg-link { color: var(--white); }
@container page (min-width: 981px) {
  #solutions > .fg-container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fg-sollist { padding: var(--head-top) var(--inset) var(--head-top) 0; }
}
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  @container page (min-width: 981px) {
    #solutions > .fg-container { timeline-scope: --sol1, --sol2, --sol3, --sol4, --sol5, --sol6; }
    .fg-solitem { view-timeline-axis: block; view-timeline-inset: 40% 59%; }
    #sol-1 { view-timeline-name: --sol1; } #sol-2 { view-timeline-name: --sol2; } #sol-3 { view-timeline-name: --sol3; }
    #sol-4 { view-timeline-name: --sol4; } #sol-5 { view-timeline-name: --sol5; } #sol-6 { view-timeline-name: --sol6; }
    .fg-solnav a { animation: fg-solnav-on linear both; }
    .fg-solnav a:nth-child(1) { animation-timeline: --sol1; } .fg-solnav a:nth-child(2) { animation-timeline: --sol2; } .fg-solnav a:nth-child(3) { animation-timeline: --sol3; }
    .fg-solnav a:nth-child(4) { animation-timeline: --sol4; } .fg-solnav a:nth-child(5) { animation-timeline: --sol5; } .fg-solnav a:nth-child(6) { animation-timeline: --sol6; }
  }
}
@keyframes fg-solnav-on { 0%, 100% { opacity: .5; } 4%, 96% { opacity: 1; } }

/* Solutions nav: smaller titles, red logo slash on the active one */
.fg-solnav { gap: 0; }
.fg-solnav a { min-height: 30px; font-size: 1.0625rem; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.fg-solnav a::before { content: ""; flex: none; width: 0; height: 14px; margin-right: 0; opacity: 0; background: var(--fox-red-500); transform: skewX(23deg); }
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  @container page (min-width: 981px) {
    .fg-solnav a::before { animation: fg-solnav-slash linear both; }
    .fg-solnav a:nth-child(1)::before { animation-timeline: --sol1; } .fg-solnav a:nth-child(2)::before { animation-timeline: --sol2; } .fg-solnav a:nth-child(3)::before { animation-timeline: --sol3; }
    .fg-solnav a:nth-child(4)::before { animation-timeline: --sol4; } .fg-solnav a:nth-child(5)::before { animation-timeline: --sol5; } .fg-solnav a:nth-child(6)::before { animation-timeline: --sol6; }
  }
}
@keyframes fg-solnav-slash { 0%, 100% { width: 0; margin-right: 0; opacity: 0; } 4%, 96% { width: 8px; margin-right: 12px; opacity: 1; } }

/* Hero builder: parts count and quote link sit in a strip along the bottom, under the part options */
.fg-build:not(.fg-build--wide) { grid-template-rows: minmax(0, 1fr) auto auto; }
.fg-build:not(.fg-build--wide) .fg-build__bar { position: relative; grid-row: 3; top: auto; padding: 4px var(--space-5); border-top: 1px solid rgba(255,255,255,.22); background: var(--ink-950); }

/* Solutions v8: each image locks under the header and the next one slides up over it; the white text box rides up with the scroll; text fades up once its panel is in place */
@property --sol-on { syntax: "<integer>"; inherits: true; initial-value: 0; }
.fg-solitem__in { display: grid; gap: var(--space-5); }
.fg-solitem__card { display: grid; gap: var(--space-3); justify-items: start; }
@container page (min-width: 981px) {
  #solutions > .fg-container { --stage: max(420px, calc(100vh - 104px)); width: 100%; margin: 0; padding-bottom: 0; column-gap: 0; }
  #solutions .fg-head { padding-left: var(--edge); padding-right: var(--col-gap, 48px); }
  .fg-sollist { display: block; padding: 0; }
  #solutions .fg-solitem { display: contents; view-timeline-name: none; scroll-margin-top: 104px; }
  .fg-solitem__in { display: contents; }
  .fg-solitem__media { position: sticky; top: 104px; height: var(--stage); aspect-ratio: auto; }
  .fg-solitem__draft { right: 16px; top: 16px; }
  .fg-solitem__body { position: relative; display: flex; align-items: flex-end; height: var(--stage); margin-top: calc(var(--stage) * -1); padding: 32px; pointer-events: none; }
  .fg-solitem__card { width: min(460px, 100%); padding: 28px 28px 24px; background: var(--white); color: var(--ink-950); pointer-events: auto; }
  .fg-page .fg-solitem__body h3 { color: var(--ink-950); font-size: 1.625rem; }
  .fg-page .fg-solitem__body p { color: #3a3b3f; }
  .fg-solitem__body .fg-link { color: var(--ink-950); }
}
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  @container page (min-width: 981px) {
    .fg-solitem__body { view-timeline-axis: block; view-timeline-inset: 40% 59%; animation: fg-sol-on linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    #sol-1 .fg-solitem__body { view-timeline-name: --sol1; } #sol-2 .fg-solitem__body { view-timeline-name: --sol2; } #sol-3 .fg-solitem__body { view-timeline-name: --sol3; }
    #sol-4 .fg-solitem__body { view-timeline-name: --sol4; } #sol-5 .fg-solitem__body { view-timeline-name: --sol5; } #sol-6 .fg-solitem__body { view-timeline-name: --sol6; }
    .fg-solitem__card > * { opacity: 0; translate: 0 16px; transition: opacity .5s ease, translate .5s ease; }
    .fg-solitem__card > :nth-child(2) { transition-delay: .08s; } .fg-solitem__card > :nth-child(3) { transition-delay: .16s; }
    @container style(--sol-on: 1) { .fg-solitem__card > * { opacity: 1; translate: 0 0; } }
    /* The white card itself slides up into place, then its text follows. */
    .fg-solitem__card { opacity: 0; translate: 0 56px; transition: opacity .45s ease, translate .65s cubic-bezier(.2,.7,.2,1); }
    .fg-solitem__card > :nth-child(1) { transition-delay: .18s; } .fg-solitem__card > :nth-child(2) { transition-delay: .26s; } .fg-solitem__card > :nth-child(3) { transition-delay: .34s; }
    @container style(--sol-on: 1) { .fg-solitem__card { opacity: 1; translate: 0 0; } }
  }
}
@keyframes fg-sol-on { 0%, 37.9% { --sol-on: 0; } 38%, 100% { --sol-on: 1; } }

/* Solutions nav: active marker is the same three fading slashes as the eyebrow */
.fg-solnav a::before { background: linear-gradient(90deg, color-mix(in srgb, var(--fox-red-500) 28%, transparent) 0 4px, transparent 4px 9px, color-mix(in srgb, var(--fox-red-500) 60%, transparent) 9px 13px, transparent 13px 18px, var(--fox-red-500) 18px 22px) left / 22px 100% no-repeat; }
@keyframes fg-solnav-slash { 0%, 100% { width: 0; margin-right: 0; margin-left: 0; opacity: 0; } 4%, 96% { width: 22px; margin-right: 12px; margin-left: 3px; opacity: 1; } }

/* Emergency bar: hazard stripes run continuously to the right, masked inside their block */
.fg-hero__sos i { position: relative; overflow: hidden; background: none; }
.fg-hero__sos i::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: -34px; background: repeating-linear-gradient(-45deg, rgba(11,11,12,.22) 0 12px, transparent 12px 24px); }
@media (prefers-reduced-motion: no-preference) {
  .fg-hero__sos i::before { animation: fg-sos-run 1.4s linear infinite; }
}
@keyframes fg-sos-run { to { transform: translateX(33.941px); } }

/* Solutions nav: active marker is one full-strength slash */
.fg-solnav a::before { background: var(--fox-red-500); }
@keyframes fg-solnav-slash { 0%, 100% { width: 0; margin-right: 0; margin-left: 0; opacity: 0; } 4%, 96% { width: 4px; margin-right: 12px; margin-left: 3px; opacity: 1; } }

/* Urgent bar: hazard stripes on the right half run continuously, same motion as the hero emergency bar. */
.fg-door--ink .fg-eyebrow { position: relative; isolation: isolate; overflow: hidden; background: var(--fox-red-600); }
.fg-door--ink .fg-eyebrow::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 50%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(11,11,12,.22) 0 12px, transparent 12px 24px) 0 0 / 33.941px 100%; }
@media (prefers-reduced-motion: no-preference) {
  .fg-door--ink .fg-eyebrow::after { animation: fg-door-run 1.4s linear infinite; }
}
@keyframes fg-door-run { to { background-position: 33.941px 0; } }

/* Client logos: one row of ten on desktop. Logos sit in greyscale and come up in full colour on hover or focus.
   Drop each official logo in as <img> before the name; the name then becomes screen-reader only. */
.fg-clients img { display: block; height: 36px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s ease, opacity .25s ease; }
.fg-clients svg { filter: grayscale(1); transition: filter .25s ease; }
.fg-clients > li:hover img, .fg-clients > li:focus-visible img { filter: none; opacity: 1; }
.fg-clients > li:hover svg, .fg-clients > li:focus-visible svg { filter: none; }
.fg-clients > li:has(img) > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@container page (min-width: 981px) {
  .fg-page .fg-clients.fg-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--space-2); }
  .fg-clients > *, .fg-clients > :first-child { flex-direction: column; gap: 10px; min-height: 104px; padding: var(--space-3) 6px; text-align: center; }
  .fg-clients span { font-size: .6875rem; }
  .fg-clients > li:nth-child(n) .fg-tip { left: 50%; right: auto; transform: translate(-50%, 6px); }
  .fg-clients > li:nth-child(n):hover .fg-tip, .fg-clients > li:nth-child(n):focus .fg-tip { transform: translate(-50%, 0); }
  .fg-clients > li:nth-child(n) .fg-tip::after { left: 50%; right: auto; }
  .fg-clients > li:first-child .fg-tip { left: 0; transform: translate(0, 6px); }
  .fg-clients > li:first-child:hover .fg-tip, .fg-clients > li:first-child:focus .fg-tip { transform: none; }
  .fg-clients > li:first-child .fg-tip::after { left: 28px; }
  .fg-clients > li:last-child .fg-tip { left: auto; right: 0; transform: translate(0, 6px); }
  .fg-clients > li:last-child:hover .fg-tip, .fg-clients > li:last-child:focus .fg-tip { transform: none; }
  .fg-clients > li:last-child .fg-tip::after { left: auto; right: 18px; }
}

/* Hero builder: restart icon (left) and parts count / quote link (right) share one row directly above the part options */
.fg-build:not(.fg-build--wide) { grid-template-rows: minmax(0, 1fr) auto auto; }
.fg-build:not(.fg-build--wide) .fg-build__bar { grid-row: 2; border-top: 1px solid rgba(255,255,255,.22); }
.fg-build:not(.fg-build--wide) .fg-build__tray { grid-row: 3; }
.fg-build:not(.fg-build--wide) .fg-build__foot { top: auto; bottom: 112px; left: 0; right: auto; z-index: 5; padding: 4px var(--space-5); }
@container page (max-width: 980px) { .fg-build:not(.fg-build--wide) .fg-build__foot { bottom: 104px; } }
.fg-build:not(.fg-build--wide) .fg-build__tray { z-index: 5; }
/* Quote bar: no fill. The stage (and its grid) runs underneath it, so the grid texture shows through. */
.fg-build:not(.fg-build--wide) .fg-build__stage { grid-row: 1 / 3; }
.fg-build:not(.fg-build--wide) .fg-build__bar { background: none; z-index: 4; border-top: 0; }

/* Solutions nav: the active state is switched by scroll position but animated on a timer, so titles slide right smoothly
   to make room for the slash, and titles passed on the way to another one light up briefly. */
@property --nav-on { syntax: "<integer>"; inherits: true; initial-value: 0; }
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  @container page (min-width: 981px) {
    .fg-solnav a { animation-name: fg-solnav-flag; opacity: 1; }
    .fg-solnav a > span { opacity: .5; transition: opacity .35s ease; }
    .fg-solnav a::before { animation: none; transition: width .35s cubic-bezier(.2,.7,.2,1), margin .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease; }
    @container style(--nav-on: 1) {
      .fg-solnav a > span { opacity: 1; }
      .fg-solnav a::before { width: 4px; margin-right: 12px; margin-left: 3px; opacity: 1; }
    }
  }
}
@keyframes fg-solnav-flag { 0%, 100% { --nav-on: 0; } 0.1%, 99.9% { --nav-on: 1; } }

/* Client logos: marquee. Five logos in view, faded edges, endless loop; slows on hover (see logoRate in Main). */
.fg-marquee { container-type: inline-size; display: flex; overflow-x: clip; padding-top: 220px; margin-top: -220px; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.fg-page .fg-marquee__track { display: flex; flex: none; gap: 0; margin: 0; padding: 0; list-style: none; animation: fg-marquee 48s linear infinite; }
@keyframes fg-marquee { to { transform: translateX(-100%); } }
.fg-marquee .fg-clients > li, .fg-marquee .fg-clients > li:first-child { flex: 0 0 20cqi; min-height: 120px; padding: 16px 28px; background: none; pointer-events: auto; }
.fg-marquee .fg-clients img { height: 48px; width: auto; max-width: min(100%, 160px); opacity: .85; }
/* Slider: half the page width, centred; smaller logos to suit. */
@container page (min-width: 981px) {
  .fg-marquee { width: 50%; margin-inline: auto; }
  .fg-marquee .fg-clients > li, .fg-marquee .fg-clients > li:first-child { min-height: 96px; padding: 12px 16px; }
  .fg-marquee .fg-clients img { height: 30px; max-width: min(100%, 110px); }
}
.fg-marquee .fg-clients > li:nth-child(n) .fg-tip { left: 50%; right: auto; transform: translate(-50%, 6px); }
.fg-marquee .fg-clients > li:nth-child(n):hover .fg-tip, .fg-marquee .fg-clients > li:nth-child(n):focus .fg-tip { transform: translate(-50%, 0); }
.fg-marquee .fg-clients > li:nth-child(n) .fg-tip::after { left: 50%; right: auto; }
@container page (max-width: 980px) { .fg-marquee .fg-clients > li, .fg-marquee .fg-clients > li:first-child { flex-basis: 33.333cqi; } }
@container page (max-width: 560px) { .fg-marquee .fg-clients > li, .fg-marquee .fg-clients > li:first-child { flex-basis: 50cqi; min-height: 96px; padding-inline: 18px; } .fg-marquee .fg-clients img { height: 40px; } }
@media (prefers-reduced-motion: reduce) { .fg-page .fg-marquee__track { animation: none; } }

/* Secondary buttons: on hover the button lifts slightly and an underline draws in under the label, left to right. No fill swap. */
.fg-page .fg-btn--secondary { --_px: 24px; position: relative; transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.fg-page .fg-btn--secondary::after { content: ""; position: absolute; left: var(--_px); right: var(--_px); bottom: calc(50% - .5em - 6px); height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.fg-page .fg-btn--secondary:hover, .fg-page .fg-btn--secondary:focus-visible { --_bg: transparent; --_fg: var(--ink-950); --_bd: var(--ink-950); transform: translateY(-2px); }
.fg-page .fg-band--ink .fg-btn--secondary:hover, .fg-page .fg-band--ink .fg-btn--secondary:focus-visible,
.fg-page .fg-door--ink .fg-btn--secondary:hover, .fg-page .fg-door--ink .fg-btn--secondary:focus-visible { --_bg: transparent; --_fg: var(--white); --_bd: var(--white); }
.fg-page .fg-build__stuck .fg-btn--secondary:hover, .fg-page .fg-build__stuck .fg-btn--secondary:focus-visible { --_bg: transparent; --_fg: var(--ink-950); --_bd: var(--ink-950); }
.fg-page .fg-build__stuck .fg-btn--secondary { --_px: 12px; }
.fg-page .fg-btn--secondary:hover::after, .fg-page .fg-btn--secondary:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .fg-page .fg-btn--secondary:hover, .fg-page .fg-btn--secondary:focus-visible { transform: none; } }

/* Hero builder fix: keep stage, quote row and options in one column so the grid stage fills the whole panel (it had been pushed into a second column) */
.fg-build:not(.fg-build--wide) { grid-template-columns: minmax(0, 1fr); }
.fg-build:not(.fg-build--wide) > .fg-build__stage, .fg-build:not(.fg-build--wide) > .fg-build__bar, .fg-build:not(.fg-build--wide) > .fg-build__tray { grid-column: 1; }

/* Client logos v3: fuller title, edge-to-edge slider, black logos that go full colour on hover, no story tooltips. */
.fg-page .fg-clients__title { max-width: 22ch; margin: 4px auto 0; text-align: center; }
.fg-page .fg-clients__lead { max-width: 56ch; margin: 0 auto; text-align: center; color: var(--steel-600, #55585e); font-size: 1.0625rem; line-height: 1.5; text-wrap: balance; }
.fg-page .fg-marquee { width: 100cqi; margin-inline: calc(50% - 50cqi); padding-top: 0; margin-top: 0; }
@container page (min-width: 981px) { .fg-page .fg-marquee { width: 100cqi; margin-inline: calc(50% - 50cqi); } }
.fg-marquee .fg-clients > li { cursor: default; }
.fg-marquee .fg-clients img { filter: brightness(0); opacity: .85; transition: filter .3s ease, opacity .3s ease; }
.fg-marquee .fg-clients > li:hover img { filter: none; opacity: 1; }
@container page (min-width: 981px) { .fg-marquee .fg-clients img { height: 34px; max-width: min(100%, 130px); } }
/* Marquee v4: slower, logos closer together, softer black. */
.fg-page .fg-marquee__track { animation-duration: 80s; }
.fg-marquee .fg-clients > li, .fg-marquee .fg-clients > li:first-child { flex-basis: 14cqi; padding-inline: 12px; }
@container page (max-width: 980px) { .fg-marquee .fg-clients > li, .fg-marquee .fg-clients > li:first-child { flex-basis: 25cqi; } }
@container page (max-width: 560px) { .fg-marquee .fg-clients > li, .fg-marquee .fg-clients > li:first-child { flex-basis: 40cqi; } }
.fg-marquee .fg-clients img { opacity: .45; }
