/* Fox Global homepage, alt hero + floating nav.
 * Loaded after fox-home.css by Home-Alt.dc.html and SiteHeaderAlt.dc.html only.
 * Everything here is scoped to .fga-* classes so the main homepage is untouched. */

/* ---------- Alt header: utility bar locked to the top, floating boxed nav below it ---------- */
.fg-page.fga-headerpage { background: transparent; }
.fga-header { position: relative; color: var(--white); }
.fga-header .fg-util { background: #1b1c1f; border-bottom: 0; }

.fga-navwrap { padding: 16px var(--inset); pointer-events: none; }
.fga-nav { display: flex; align-items: stretch; gap: 6px; min-height: 56px; pointer-events: auto; }
.fga-box { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 56px;
  background: rgba(11,11,12,.72); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); text-decoration: none; }
.fga-nav__logo { padding-inline: 20px; }
.fga-nav__logo img { height: 30px; width: auto; }
.fga-nav__menu { display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.fga-nav__menu li { display: flex; }
.fga-nav__menu a { padding-inline: 20px; overflow: hidden; font: 500 .8125rem/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; transition: border-color .35s var(--ease); }
/* Hover: the brand red fills the box from left to right. */
.fga-nav__menu a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fox-red-600); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.fga-nav__menu a:hover::before, .fga-nav__menu a:focus-visible::before { transform: scaleX(1); }
.fga-nav__menu a:hover, .fga-nav__menu a:focus-visible { border-color: var(--fox-red-600); }
.fga-nav .fg-btn { min-height: 56px; padding-inline: 24px; text-transform: uppercase; font-size: .8125rem; letter-spacing: .08em; }
.fga-nav .fg-mnav { display: none; }
.fga-nav .fg-mnav > summary { padding: 0 20px; }
.fga-nav .fg-mnav__panel { left: 0; right: 0; top: calc(100% + 6px); background: rgba(11,11,12,.94); }
@container page (max-width: 1100px) {
  .fga-nav__menu { display: none; }
  .fga-nav .fg-mnav { display: block; margin-left: auto; }
  .fga-nav { position: relative; }
}
@container page (max-width: 560px) {
  .fga-nav .fg-btn { display: none; }
  .fga-nav__logo img { height: 24px; }
}

/* ---------- Alt hero: full-bleed industrial photo, kept dark, red glow ---------- */
.fga-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(680px, 100vh - 36px, 900px); overflow: hidden; background: var(--ink-950); color: var(--white); }
.fga-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 58%; filter: grayscale(.55) contrast(1.15) brightness(.62); }
.fga-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(180deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,0) 26%),
  linear-gradient(90deg, rgba(11,11,12,.94) 0%, rgba(11,11,12,.78) 38%, rgba(11,11,12,.35) 72%, rgba(11,11,12,.55) 100%),
  radial-gradient(70% 120% at 12% 118%, rgba(184,27,32,.9) 0%, rgba(61,10,12,.55) 42%, transparent 76%),
  radial-gradient(38% 46% at 82% 34%, rgba(218,34,39,.28) 0%, transparent 70%); }
.fga-hero__in { flex: 1; display: grid; align-content: center; gap: var(--space-5); justify-items: start; padding: calc(88px + var(--space-8)) var(--inset) var(--space-8) var(--edge); }
.fga-hero__in .fg-display { max-width: 13ch; font-size: clamp(2.75rem, 1.2rem + 4.4cqi, 5.25rem); line-height: 1; }
.fga-hero__in .fg-lead { max-width: 44ch; color: rgba(255,255,255,.78); }
.fga-hero__in .fg-row { margin-top: var(--space-2); }

/* ---------- Emergency CTA + the four key points, one band on the foot of the hero ---------- */
.fga-strip { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(11,11,12,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fga-sos { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: center; gap: 8px; min-height: 112px; padding: 20px var(--inset) 20px var(--edge);
  background: var(--fox-red-600); color: var(--white); text-decoration: none; transition: background var(--dur) var(--ease); }
.fga-sos::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 34%; 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%; }
.fga-sos:hover { background: var(--fox-red-500); }
.fga-sos__label { font: 700 .75rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.fga-sos__go { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.fga-sos .fg-arrow { transition: transform .2s ease; }
.fga-sos:hover .fg-arrow { transform: translateX(4px); }
.fga-point { display: flex; align-items: center; gap: 14px; padding: 20px var(--space-5); border-left: 1px solid rgba(255,255,255,.12); }
.fga-point svg { flex: none; color: var(--fox-red-500); }
.fga-point b { font-size: 1rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .fga-sos::after { animation: fga-run 1.4s linear infinite; }
}
@keyframes fga-run { to { background-position: 33.941px 0; } }
@container page (max-width: 1100px) {
  .fga-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fga-sos { grid-column: 1 / -1; padding-left: var(--inset); min-height: 0; }
  .fga-point { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-inline: var(--inset); }
  .fga-point:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.12); }
}
@container page (max-width: 560px) {
  .fga-hero { min-height: 0; }
  .fga-hero__in { padding: calc(88px + var(--space-7)) var(--inset) var(--space-7); }
  .fga-hero__bg { object-position: 70% 50%; }
  .fga-sos__go { font-size: 1.125rem; }
  .fga-point { padding: 14px var(--inset); }
  .fga-point b { font-size: .9375rem; }
}
.fga-nav .fg-mnav { border: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); background: rgba(11,11,12,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.fga-nav .fg-mnav > summary { height: 100%; min-height: 54px; font: 500 .8125rem/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--white); }

/* ---------- Alt hero, layout after the auar.io reference: the photo carries the screen, the headline sits large along the
   bottom left, and the supporting line with the actions sits in a narrow column bottom right ---------- */
.fga-hero__bg { filter: grayscale(.25) contrast(1.05) brightness(.82); }
.fga-hero__shade { background:
  linear-gradient(180deg, rgba(11,11,12,.7) 0%, rgba(11,11,12,0) 22%),
  linear-gradient(0deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.62) 26%, rgba(11,11,12,.12) 58%, rgba(11,11,12,0) 75%),
  radial-gradient(60% 70% at 0% 100%, rgba(184,27,32,.5) 0%, rgba(61,10,12,.25) 45%, transparent 75%); }
.fga-hero__in { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-content: end; align-items: end; justify-items: stretch; gap: var(--space-6) var(--space-8); padding: calc(88px + var(--space-8)) var(--inset) var(--space-7); }
.fga-hero__head { display: grid; gap: var(--space-4); justify-items: start; }
.fga-hero__in .fg-display { max-width: 12ch; font-size: clamp(3rem, .6rem + 6.6cqi, 6.75rem); line-height: .98; letter-spacing: -0.035em; text-wrap: balance; }
.fga-hero__side { display: grid; gap: var(--space-5); justify-items: start; padding-bottom: 10px; }
.fga-hero__in .fga-hero__side .fg-lead { max-width: 34ch; font-size: 1.125rem; line-height: 1.45; color: rgba(255,255,255,.9); }
.fga-hero__in .fga-hero__side .fg-row { margin-top: 0; flex-wrap: wrap; gap: 8px; }
@container page (max-width: 980px) {
  .fga-hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .fga-hero__side { padding-bottom: 0; }
}

/* ---------- Alt hero v3: original site header above it; header + hero together fill one screen; wide truck photo; angled main CTA ---------- */
.fga-hero { height: calc(100vh - 106px); min-height: 560px; }
.fga-hero__bg { object-position: 50% 62%; filter: grayscale(.15) contrast(1.05) brightness(.9); }
.fga-hero__shade { background:
  linear-gradient(0deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.66) 28%, rgba(11,11,12,.14) 60%, rgba(11,11,12,0) 78%),
  radial-gradient(60% 70% at 0% 100%, rgba(184,27,32,.45) 0%, rgba(61,10,12,.22) 45%, transparent 75%); }
.fga-hero__in { padding-top: var(--space-7); }
/* Main CTA: bottom-right corner cut on the angle */
.fga-hero__side .fg-btn { min-height: 56px; padding-inline: 28px 34px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
@container page (max-width: 980px) { .fga-hero { height: auto; min-height: calc(100vh - 106px); } }
@container page (max-width: 560px) { .fga-hero { min-height: 0; } .fga-hero__in { padding-top: var(--space-8); } .fga-hero__bg { object-position: 50% 50%; } }

/* Alt page only: smaller header logo (the main homepage keeps its 64px logo) */
@container page (min-width: 1101px) { .fg-header__logo img { height: 44px; } }

/* ---------- Alt header: see-through over the hero photo while the page is at the top, fading to black as soon as you scroll ---------- */
@supports (animation-timeline: scroll()) {
  .fga-stick { margin-bottom: -106px; }
  .fga-stick .fg-page { background: transparent; }
  .fga-stick .fg-header { background: transparent; border-bottom-color: transparent; animation: fga-hdr linear both; animation-timeline: scroll(); animation-range: 0px 120px; }
  .fga-stick .fg-util { position: relative; isolation: isolate; background: none; }
  .fga-stick .fg-util::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(90deg, var(--ink-950) 0, var(--ink-950) 30%, #1b1c1f 62%); animation: fga-fade linear both; animation-timeline: scroll(); animation-range: 0px 120px; }
  .fga-hero { height: 100vh; }
  .fga-hero__in { padding-top: calc(106px + var(--space-6)); }
  .fga-hero__shade { background:
    linear-gradient(180deg, rgba(11,11,12,.72) 0%, rgba(11,11,12,.38) 14%, rgba(11,11,12,0) 32%),
    linear-gradient(0deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.66) 28%, rgba(11,11,12,.14) 60%, rgba(11,11,12,0) 78%),
    radial-gradient(60% 70% at 0% 100%, rgba(184,27,32,.45) 0%, rgba(61,10,12,.22) 45%, transparent 75%); }
  @container page (max-width: 980px) { .fga-hero { height: auto; min-height: 100vh; } }
  @container page (max-width: 560px) { .fga-hero { min-height: 0; } .fga-hero__in { padding-top: calc(106px + var(--space-6)); } }
}
@keyframes fga-hdr { to { background: var(--ink-950); border-bottom-color: rgba(255,255,255,.22); } }
@keyframes fga-fade { to { opacity: 1; } }

/* ---------- Emergency bar: full width across the foot of the hero (above the fold); the four key points sit in a row under it ---------- */
@container page (min-width: 1101px) {
  .fga-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fga-sos { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 64px; padding: 12px var(--inset); }
  .fga-sos::after { right: auto; left: 0; width: calc(var(--inset) - 12px); min-width: 0; }
  .fga-sos__go { font-size: 1.25rem; }
  .fga-point { min-height: 84px; padding-block: 16px; }
  .fga-point:nth-child(2) { border-left: 0; padding-left: var(--inset); }
}

/* ---------- Four key points: their own light row directly under the hero (below the fold) ---------- */
.fga-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); color: var(--ink-950); border-bottom: 1px solid rgba(11,11,12,.12); }
.fga-points .fga-point { min-height: 96px; padding: 20px var(--space-5); border: 0; border-left: 1px solid rgba(11,11,12,.12); }
.fga-points .fga-point:first-child { border-left: 0; padding-left: var(--inset); }
.fga-points .fga-point svg { color: var(--fox-red-600); }
.fga-points .fga-point b { color: var(--ink-950); }
.fga-strip { grid-template-columns: minmax(0, 1fr); }
@container page (max-width: 1100px) {
  .fga-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fga-points .fga-point { min-height: 0; padding: 16px var(--inset); border-left: 0; border-top: 1px solid rgba(11,11,12,.12); }
  .fga-points .fga-point:nth-child(even) { border-left: 1px solid rgba(11,11,12,.12); }
  .fga-points .fga-point:nth-child(-n+2) { border-top: 0; }
}
@container page (max-width: 560px) { .fga-points { grid-template-columns: minmax(0, 1fr); } .fga-points .fga-point:nth-child(n) { border-left: 0; border-top: 1px solid rgba(11,11,12,.12); } .fga-points .fga-point:first-child { border-top: 0; } }

/* ---------- Emergency bar: dark theme, red hazard stripes running through a wide middle band, slightly shorter ---------- */
.fga-sos { background: var(--ink-950); border-top: 1px solid rgba(255,255,255,.16); }
.fga-sos:hover { background: #151618; }
.fga-sos::after { background: repeating-linear-gradient(-45deg, var(--fox-red-600) 0 12px, transparent 12px 24px) 0 0 / 33.941px 100%; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.fga-sos .fg-arrow { color: var(--fox-red-500); }
@container page (min-width: 1101px) {
  .fga-sos { min-height: 54px; padding-block: 8px; }
  .fga-sos::after { left: 22%; right: 20%; width: auto; opacity: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
}

/* Four key points: each one centred in its column */
.fga-points .fga-point, .fga-points .fga-point:first-child { justify-content: center; padding-inline: var(--space-5); }

/* ---------- Emergency bar: label and call number side by side on the left, red stripes on the right, no rule above ---------- */
.fga-strip { border-top: 0; }
.fga-sos { border-top: 0; }
.fga-sos__go { font-weight: 700; }
@container page (min-width: 1101px) {
  .fga-sos { justify-content: flex-start; gap: var(--space-6); }
  .fga-sos::after { left: auto; right: 0; width: 46%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
}

/* Main CTA: the angled corner opens out further on hover */
.fga-hero__side .fg-btn { transition: clip-path .28s cubic-bezier(.2,.7,.2,1), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.fga-hero__side .fg-btn:hover, .fga-hero__side .fg-btn:focus-visible { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%); }

/* ---------- Alt header: solid black at all times (no see-through state), with a shorter main nav row ---------- */
.fga-stick { margin-bottom: 0; }
.fga-stick .fg-header { background: var(--ink-950); border-bottom-color: rgba(255,255,255,.22); animation: none; }
.fga-stick .fg-util::before { opacity: 1; animation: none; }
.fga-hero { height: calc(100vh - 106px); }
.fga-hero__in { padding-top: var(--space-7); }
@container page (min-width: 981px) {
  .fga-stick .fg-header__bar { min-height: 52px; }
  .fga-stick .fg-header__actions > .fg-btn { min-height: 52px; }
  .fga-hero { height: calc(100vh - 90px); }
}
@container page (max-width: 980px) { .fga-hero { height: auto; min-height: calc(100vh - 106px); } }
@container page (max-width: 560px) { .fga-hero { min-height: 0; } .fga-hero__in { padding-top: var(--space-8); } }

/* Main CTA: on hover the angled corner fills back out to a regular square corner */
.fga-hero__side .fg-btn:hover, .fga-hero__side .fg-btn:focus-visible { clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%); }

/* Emergency bar: the call number uses the same type as the label beside it */
.fga-sos .fga-sos__go { font: 700 .75rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; gap: 8px; }

/* Alt hero headline: slightly smaller (about 92px at 1440, was about 105px) */
.fga-hero__in .fg-display { font-size: clamp(2.75rem, .5rem + 5.8cqi, 5.875rem); }

/* Alt hero photo: hose in the crimping machine, kept dark */
.fga-hero__bg { object-position: 50% 55%; filter: grayscale(.2) contrast(1.08) brightness(.66); }
@container page (max-width: 560px) { .fga-hero__bg { object-position: 60% 50%; } }

/* Alt hero tagline (eyebrow): larger, with its slash marker scaled to match */
.fga-hero__head .fg-eyebrow { font-size: 1rem; gap: 14px; }
.fga-hero__head .fg-eyebrow::before { scale: 1.3; transform-origin: left center; margin-right: 6px; }

/* Alt hero type grid: headline 60%, description + CTA column 30%, the last 10% left empty */
@container page (min-width: 981px) {
  .fga-hero__in { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 1fr); column-gap: 0; }
  .fga-hero__head { grid-column: 1; }
  .fga-hero__side { grid-column: 2; }
  .fga-hero__in .fg-display { max-width: none; }
  .fga-hero__in .fga-hero__side .fg-lead { max-width: none; }
}

/* Alt header: no rule along its bottom edge */
.fga-stick .fg-header { border-bottom: 0; }

/* Alt page: the header is 88px tall here (36px utility bar + 52px nav row), so pinned content sits directly under it with no gap */
@container page (min-width: 981px) {
  .fga-hero { height: calc(100vh - 88px); }
  #solutions > .fg-container { --stage: max(420px, calc(100vh - 88px)); }
  #solutions .fg-head { top: 88px; height: calc(100vh - 88px); }
  #solutions .fg-solitem { scroll-margin-top: 88px; }
  .fg-solitem__media { top: 88px; }
}

/* Alt hero supporting line: balanced line lengths */
.fga-hero__in .fga-hero__side .fg-lead { text-wrap: balance; }

/* Alt header: icon-only call button, white with a red phone, beside "Request a quote" (hidden on the main homepage) */
.fga-stick .fg-header__call { display: flex; align-items: center; justify-content: center; align-self: stretch; aspect-ratio: 1; background: var(--white); color: var(--fox-red-600); text-decoration: none; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.fga-stick .fg-header__call:hover, .fga-stick .fg-header__call:focus-visible { background: var(--fox-red-600); color: var(--white); }

/* Alt header call button: fixed width so the row no longer overflows; black phone icon */
.fga-stick .fg-header__call { flex: none; aspect-ratio: auto; width: 60px; color: var(--ink-950); }
.fga-stick .fg-header__call:hover, .fga-stick .fg-header__call:focus-visible { background: var(--ink-950); color: var(--white); }
@container page (min-width: 981px) { .fga-stick .fg-header__call { width: 52px; } }

/* ---------- Alt header: the black nav row is see-through again at the top of the page, over a black gradient so the menu stays readable;
   it goes solid black once you scroll. The utility bar above it stays solid. ---------- */
@supports (animation-timeline: scroll()) {
  @container page (min-width: 981px) {
    .fga-stick { margin-bottom: -52px; }
    .fga-stick .fg-header { background: transparent; animation: fga-hdr-bg linear both; animation-timeline: scroll(); animation-range: 0px 120px; }
    .fga-stick .fg-header__bar { background: linear-gradient(180deg, rgba(11,11,12,.88) 0%, rgba(11,11,12,.6) 55%, rgba(11,11,12,.18) 100%); }
    .fga-hero { height: calc(100vh - 36px); }
    .fga-hero__in { padding-top: calc(52px + var(--space-6)); }
  }
}
@keyframes fga-hdr-bg { to { background: var(--ink-950); } }

/* Alt header call button: phone icon back to red (red button with white icon on hover) */
.fga-stick .fg-header__call { color: var(--fox-red-600); }
.fga-stick .fg-header__call:hover, .fga-stick .fg-header__call:focus-visible { background: var(--fox-red-600); color: var(--white); }

/* Alt hero photo: stock placeholder (Unsplash, Ricardo Gomez Angel), wide steel pipework, kept dark; tagged so it is not mistaken for a Fox Global photo */
.fga-hero__bg { object-position: 50% 45%; filter: contrast(1.05) brightness(.58); }
.fga-hero__draft { position: absolute; right: 16px; top: 16px; z-index: 1; }
@container page (min-width: 981px) { .fga-hero__draft { top: 68px; } }
@container page (max-width: 560px) { .fga-hero__bg { object-position: 50% 50%; } }

/* Alt header logo: larger while the page is at the top, easing back to its regular 44px as soon as scrolling starts */
@supports (animation-timeline: scroll()) {
  @container page (min-width: 1101px) {
    .fga-stick .fg-header__logo img { animation: fga-logo linear both; animation-timeline: scroll(); animation-range: 0px 120px; }
  }
}
@keyframes fga-logo { from { height: 72px; } to { height: 44px; } }

/* Alt header gradient: runs out to fully transparent, and a little past the bottom of the nav row, so there is no hard edge.
   It fades away as the row turns solid black on scroll. */
@supports (animation-timeline: scroll()) {
  @container page (min-width: 981px) {
    .fga-stick .fg-header__bar { background: none; isolation: isolate; }
    .fga-stick .fg-header__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 190%; z-index: -1; pointer-events: none;
      background: linear-gradient(180deg, rgba(11,11,12,.88) 0%, rgba(11,11,12,.66) 30%, rgba(11,11,12,.3) 62%, rgba(11,11,12,.08) 86%, rgba(11,11,12,0) 100%);
      animation: fga-fade-out linear both; animation-timeline: scroll(); animation-range: 0px 120px; }
  }
}
@keyframes fga-fade-out { to { opacity: 0; } }

/* Alt hero: stronger, larger red glow rising from the bottom left */
.fga-hero .fga-hero__shade { background:
  radial-gradient(90% 115% at 0% 100%, rgba(206,30,36,.8) 0%, rgba(150,20,24,.55) 30%, rgba(80,12,14,.28) 56%, transparent 80%),
  linear-gradient(0deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.6) 28%, rgba(11,11,12,.12) 60%, rgba(11,11,12,0) 78%); }

/* Alt header menu items: while the nav row is see-through, hovering shows only the red underline (no dark fill);
   once the row is solid black the usual dark hover fill returns. */
@property --fga-navhover { syntax: "<color>"; inherits: true; initial-value: #161618; }
@supports (animation-timeline: scroll()) {
  @container page (min-width: 981px) {
    .fga-stick .fg-header { animation-name: fga-hdr-bg, fga-navhover; }
    .fga-stick .fg-header__nav a:hover, .fga-stick .fg-header__nav a:focus-visible { background: var(--fga-navhover); }
  }
}
@keyframes fga-navhover { from { --fga-navhover: transparent; } to { --fga-navhover: #161618; } }

/* Alt header logo, second pass: scales from the left edge rather than changing height, so it grows clearly at the top
   (about 80px tall) and settles back to its regular 44px as scrolling starts, without nudging the layout */
@keyframes fga-logo { from { scale: 1.82; } to { scale: 1; } }
@supports (animation-timeline: scroll()) {
  @container page (min-width: 1101px) {
    .fga-stick .fg-header__logo img { height: 44px; transform-origin: left center; animation: fga-logo cubic-bezier(.3,.7,.3,1) both; animation-timeline: scroll(); animation-range: 0px 160px; }
  }
}

/* Alt header logo, third pass: smaller maximum (about 60px), growing from its top-left corner so the top and left
   spacing stay exactly as they are at the regular size */
@keyframes fga-logo { from { scale: 1.36; } to { scale: 1; } }
@supports (animation-timeline: scroll()) {
  @container page (min-width: 1101px) {
    .fga-stick .fg-header__logo img { transform-origin: left top; }
  }
}

/* Alt header logo, pinned by its top-left corner: the logo box is fixed 22px from the top and at the normal left inset,
   and only its height changes (60px at the top of the page, 44px once scrolling starts), so the spacing cannot drift */
@container page (min-width: 1101px) {
  .fga-stick .fg-header__logo { align-items: flex-start; }
  .fga-stick .fg-header__logo img { margin-top: 22px; scale: none; }
}
@supports (animation-timeline: scroll()) {
  @container page (min-width: 1101px) {
    .fga-stick .fg-header__logo img { animation-name: fga-logo-h; scale: none; }
  }
}
@keyframes fga-logo-h { from { height: 60px; } to { height: 44px; } }

/* Alt page, "Whatever the run" builder band: restart icon sits in the top right corner of the section */
.fg-build--wide .fg-build__foot { top: 0; bottom: auto; left: auto; right: 0; padding: var(--space-5) var(--edge) 0 0; }
.fg-build--wide .fg-build__tray { z-index: 5; }
.fg-build--wide .fg-build__reset { margin-left: 0; margin-right: -12px; }

/* Alt page, "three doors" section: on the two right-hand cards the CTA runs full width along the bottom of the card */
.fg-door:not(.fg-door--ink) .fg-stack { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto; row-gap: 0; }
.fg-door:not(.fg-door--ink) .fg-stack > h2 { grid-column: 1; grid-row: 1; align-self: end; padding: var(--space-6) var(--space-6) var(--space-3); }
.fg-door:not(.fg-door--ink) .fg-stack > p { grid-column: 1; grid-row: 2; align-self: start; padding: 0 var(--space-6) var(--space-6); }
.fg-door:not(.fg-door--ink) .fg-stack > .fg-door__foot { grid-column: 1; grid-row: 3; align-self: end; justify-self: stretch; justify-content: space-between; height: auto; min-height: 60px; margin: 0; padding: 0 var(--space-6); border: 0; border-top: 1px solid var(--line); }

/* ---------- Alt page, "One call covers the lot" steps: boxed cards, red number tiles, and a looping red line that
   traces each box in order then runs along the link to the next one, like a pipe filling ---------- */
@property --fga-p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --fga-q { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
#how .fg-steps { gap: var(--col-gap, 48px); }
#how .fg-steps .fg-cell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-content: start; padding: var(--space-6); border: 0; background: var(--white); }
#how .fg-steps .fg-index { display: inline-grid; place-items: center; justify-self: start; width: 44px; height: 44px; background: var(--fox-red-600); color: var(--white); font-size: .875rem; letter-spacing: .04em; }
/* the traced outline: grows from the middle of the left edge around both sides to meet at the middle of the right edge */
#how .fg-steps .fg-cell::after { content: ""; position: absolute; inset: 0; padding: 2px; pointer-events: none;
  background: conic-gradient(from 270deg, var(--fox-red-600) 0 var(--fga-p), transparent 0 calc(100% - var(--fga-p)), var(--fox-red-600) 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* the link between boxes: a grey pipe that fills red from left to right */
#how .fg-steps .fg-cell::before { content: ""; position: absolute; left: 100%; top: 50%; width: var(--col-gap, 48px); height: 2px; margin-top: -1px; pointer-events: none;
  background: linear-gradient(90deg, var(--fox-red-600) 0 var(--fga-q), rgba(11,11,12,.16) 0); }
#how .fg-steps .fg-cell:last-child::before { display: none; }
@container page (max-width: 980px) { #how .fg-steps { gap: var(--space-4); } #how .fg-steps .fg-cell::before { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  #how .fg-steps .fg-cell:nth-child(1)::after { animation: fga-box1 9s linear infinite; }
  #how .fg-steps .fg-cell:nth-child(2)::after { animation: fga-box2 9s linear infinite; }
  #how .fg-steps .fg-cell:nth-child(3)::after { animation: fga-box3 9s linear infinite; }
  #how .fg-steps .fg-cell:nth-child(4)::after { animation: fga-box4 9s linear infinite; }
  #how .fg-steps .fg-cell:nth-child(1)::before { animation: fga-con1 9s linear infinite; }
  #how .fg-steps .fg-cell:nth-child(2)::before { animation: fga-con2 9s linear infinite; }
  #how .fg-steps .fg-cell:nth-child(3)::before { animation: fga-con3 9s linear infinite; }
}
@keyframes fga-box1 { 0% { --fga-p: 0%; opacity: 1; } 14% { --fga-p: 50%; opacity: 1; } 90% { --fga-p: 50%; opacity: 1; } 100% { --fga-p: 50%; opacity: 0; } }
@keyframes fga-box2 { 0%, 19% { --fga-p: 0%; opacity: 1; } 33% { --fga-p: 50%; opacity: 1; } 90% { --fga-p: 50%; opacity: 1; } 100% { --fga-p: 50%; opacity: 0; } }
@keyframes fga-box3 { 0%, 38% { --fga-p: 0%; opacity: 1; } 52% { --fga-p: 50%; opacity: 1; } 90% { --fga-p: 50%; opacity: 1; } 100% { --fga-p: 50%; opacity: 0; } }
@keyframes fga-box4 { 0%, 57% { --fga-p: 0%; opacity: 1; } 71% { --fga-p: 50%; opacity: 1; } 90% { --fga-p: 50%; opacity: 1; } 100% { --fga-p: 50%; opacity: 0; } }
@keyframes fga-con1 { 0%, 14% { --fga-q: 0%; opacity: 1; } 19% { --fga-q: 100%; opacity: 1; } 90% { --fga-q: 100%; opacity: 1; } 100% { --fga-q: 100%; opacity: 0; } }
@keyframes fga-con2 { 0%, 33% { --fga-q: 0%; opacity: 1; } 38% { --fga-q: 100%; opacity: 1; } 90% { --fga-q: 100%; opacity: 1; } 100% { --fga-q: 100%; opacity: 0; } }
@keyframes fga-con3 { 0%, 52% { --fga-q: 0%; opacity: 1; } 57% { --fga-q: 100%; opacity: 1; } 90% { --fga-q: 100%; opacity: 1; } 100% { --fga-q: 100%; opacity: 0; } }

/* ---------- Alt page, industries: no divider rules; each sector is a white card with a photo on top ---------- */
#industries { --bg: var(--paper-50); }
#industries .fg-sectors { gap: var(--space-4); }
#industries .fg-sector { grid-template-rows: auto auto 1fr auto; gap: var(--space-2); min-height: 0; padding: 0 0 var(--space-5); border: 0; background: var(--white); overflow: hidden; }
#industries .fg-sector > :not(.fga-sector__img) { padding-inline: var(--space-5); }
.fga-sector__img { display: block; aspect-ratio: 16 / 10; margin-bottom: var(--space-4); overflow: hidden; background: var(--paper-100); }
.fga-sector__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
#industries .fg-sector:hover .fga-sector__img img { transform: scale(1.04); }
#industries .fg-sector__foot { margin-top: var(--space-3); }

/* ---------- Alt page, about: photo mosaic removed; dark bio card on the left, stats as staggered (off-grid) cards on the right ---------- */
#about .fg-expert { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6) var(--col-gap, 48px); align-items: start; }
#about .fg-expert__who { display: grid; gap: var(--space-5); }
#about .fg-portrait { background: var(--ink-950); color: var(--white); --muted: var(--color-text-inverse-muted); --line: #2c2d31; }
#about .fg-portrait .fg-muted, #about .fg-portrait .fg-spec { color: var(--color-text-inverse-muted); }
#about .fg-portrait .fg-draft { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
#about .fg-portrait figcaption { padding-right: var(--space-5); }
#about .fg-standards { border-top: 0; padding-top: 0; }
.fga-about__stats .fg-stats { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.fga-about__stats .fg-stat { width: 64%; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-5); padding: var(--space-5) var(--space-6); border: 0; background: var(--white); }
.fga-about__stats .fg-stat:nth-child(1) { margin-left: 0; }
.fga-about__stats .fg-stat:nth-child(2) { margin-left: 18%; }
.fga-about__stats .fg-stat:nth-child(3) { margin-left: 36%; }
.fga-about__stats .fg-stat__value { min-width: 2.4ch; font-size: clamp(3rem, 2rem + 3cqi, 4.5rem); }
.fga-about__stats .fg-stat__label { text-align: left; max-width: 26ch; }
@container page (min-width: 981px) { .fga-about__stats { margin-top: calc(var(--space-7) * -1); } }
@container page (max-width: 980px) {
  #about .fg-expert { grid-template-columns: minmax(0, 1fr); }
  .fga-about__stats .fg-stat { width: 84%; }
  .fga-about__stats .fg-stat:nth-child(2) { margin-left: 8%; }
  .fga-about__stats .fg-stat:nth-child(3) { margin-left: 16%; }
}
@container page (max-width: 560px) { .fga-about__stats .fg-stat:nth-child(n) { width: auto; margin-left: 0; } }
@container page (min-width: 981px) { .fga-about__stats { margin-top: 0; } }

/* Steps animation, second pass: the red only covers one box at a time. Each box and its link fade out behind the
   flow as the next box is traced, leaving a short fading tail. */
@keyframes fga-box1 { 0% { --fga-p: 0%; opacity: 1; } 14% { --fga-p: 50%; opacity: 1; } 19% { --fga-p: 50%; opacity: 1; } 33%, 100% { --fga-p: 50%; opacity: 0; } }
@keyframes fga-box2 { 0%, 19% { --fga-p: 0%; opacity: 1; } 33% { --fga-p: 50%; opacity: 1; } 38% { --fga-p: 50%; opacity: 1; } 52%, 100% { --fga-p: 50%; opacity: 0; } }
@keyframes fga-box3 { 0%, 38% { --fga-p: 0%; opacity: 1; } 52% { --fga-p: 50%; opacity: 1; } 57% { --fga-p: 50%; opacity: 1; } 71%, 100% { --fga-p: 50%; opacity: 0; } }
@keyframes fga-box4 { 0%, 57% { --fga-p: 0%; opacity: 1; } 71% { --fga-p: 50%; opacity: 1; } 76% { --fga-p: 50%; opacity: 1; } 90%, 100% { --fga-p: 50%; opacity: 0; } }
@keyframes fga-con1 { 0%, 14% { --fga-q: 0%; opacity: 1; } 19% { --fga-q: 100%; opacity: 1; } 33%, 100% { --fga-q: 100%; opacity: 0; } }
@keyframes fga-con2 { 0%, 33% { --fga-q: 0%; opacity: 1; } 38% { --fga-q: 100%; opacity: 1; } 52%, 100% { --fga-q: 100%; opacity: 0; } }
@keyframes fga-con3 { 0%, 52% { --fga-q: 0%; opacity: 1; } 57% { --fga-q: 100%; opacity: 1; } 71%, 100% { --fga-q: 100%; opacity: 0; } }

/* Alt hero photo: subtle parallax. The photo is slightly taller than the hero and drifts down 70px as the hero scrolls away,
   so it moves a little slower than the page. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .fga-hero__bg { inset: -70px 0 auto 0; height: calc(100% + 70px); animation: fga-parallax linear both; animation-timeline: scroll(); animation-range: 0px 100vh; will-change: translate; }
  }
}
@keyframes fga-parallax { from { translate: 0 0; } to { translate: 0 70px; } }

/* Alt page, doors section: the "Line's down" card takes 60% of the width, the two cards on the right 40% */
@container page (min-width: 981px) {
  .fg-page .fg-doors.fg-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* ---------- Alt page, projects: heading with "See all" on the right, a horizontal row of image cards that runs off the
   right edge, and previous/next arrows underneath (after the supplied reference) ---------- */
.fga-projects { padding-block: var(--head-top) var(--sec-bottom); overflow: hidden; }
.fga-projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); padding: 0 var(--edge) var(--space-7); }
.fga-projects__head > div { display: grid; gap: var(--space-4); justify-items: start; }
.fga-projects__all { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; background: var(--ink-950); color: var(--white); font-weight: 500; text-decoration: none; transition: background var(--dur) var(--ease); }
.fga-projects__all:hover { background: var(--fox-red-600); }
.fga-projects__track { display: flex; gap: 12px; padding-inline: var(--edge); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; }
.fga-projects__track::-webkit-scrollbar { display: none; }
.fga-proj { flex: 0 0 clamp(280px, 24.5cqi, 460px); display: flex; flex-direction: column; margin: 0; scroll-snap-align: start; background: var(--paper-100); color: var(--ink-950); text-decoration: none; transition: background .25s ease, color .25s ease; }
.fga-proj__media { position: relative; display: block; aspect-ratio: 10 / 9; overflow: hidden; background: var(--ink-950); }
.fga-proj__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.fga-proj__draft { position: absolute; left: 12px; top: 12px; }
.fga-proj__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-7); min-height: 208px; padding: var(--space-5); }
.fg-page .fga-proj__body h3 { margin: 0; max-width: 20ch; font: 500 1.375rem/1.3 var(--font-sans); letter-spacing: -0.015em; text-wrap: balance; }
.fga-proj__foot { display: flex; align-items: center; gap: var(--space-4); }
.fga-proj__tag { padding: 7px 12px; background: var(--white); color: var(--ink-950); font: 500 .75rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.fga-proj__meta { font-size: .9375rem; }
.fga-proj__go { display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; background: var(--white); color: var(--ink-950); }
a.fga-proj:hover, a.fga-proj:focus-visible { background: var(--fox-red-600); color: var(--white); }
a.fga-proj:hover .fga-proj__media img { transform: scale(1.04); }
.fga-proj--quote { justify-content: space-between; gap: var(--space-6); padding: var(--space-5); background: var(--white); }
.fga-proj--quote .fg-draft { align-self: flex-start; }
.fg-page .fga-proj--quote blockquote { margin: 0; font-size: 1.375rem; line-height: 1.35; letter-spacing: -0.015em; color: var(--muted); }
.fga-projects__nav { display: flex; gap: 6px; padding: var(--space-5) var(--edge) 0; }
.fga-projects__nav button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--white); color: var(--ink-950); cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.fga-projects__nav button:hover { background: var(--ink-950); color: var(--white); }
@container page (max-width: 560px) { .fga-proj { flex-basis: 82cqi; } .fga-projects__head { align-items: flex-start; flex-direction: column; } }
.fg-page a.fga-projects__all, .fg-page a.fga-projects__all:hover { color: var(--white); }

/* Steps: gap between the four boxes matches the gap between the cards in the section above */
#how .fg-steps { gap: var(--space-4); }
#how .fg-steps .fg-cell::before { width: var(--space-4); }

/* About stats: back to the original design (plain rows, number left, label right, hairline dividers), kept in the right column */
.fga-about__stats .fg-stats { gap: 0; }
.fga-about__stats .fg-stat:nth-child(n) { width: auto; margin-left: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-4); padding: 18px 0; background: none; border-bottom: 1px solid var(--line); }
.fga-about__stats .fg-stat:last-child { border-bottom: 0; }
.fga-about__stats .fg-stat__value { min-width: 0; font-size: clamp(2.25rem, 1.8rem + 1.8cqi, 3.5rem); }
.fga-about__stats .fg-stat__label { text-align: right; max-width: 24ch; }

/* Alt builder band: the part-options strip is no longer a separate bar. The grid stage runs behind it, and its
   lighter fill fades out to nothing toward the left so it reads as part of the section above. */
.fg-build--wide { grid-template-columns: minmax(0, 1fr); }
.fg-build--wide > .fg-build__stage { grid-column: 1; grid-row: 1 / 3; }
.fg-build--wide > .fg-build__tray { grid-column: 1; grid-row: 2; background: linear-gradient(90deg, rgba(22,22,24,0) 0%, rgba(22,22,24,0) 34%, rgba(22,22,24,.55) 52%, rgba(22,22,24,.92) 70%); }
.fg-build--wide .fg-opt { background: transparent; }
.fg-build--wide .fg-opt:hover { background: rgba(255,255,255,.06); }
@container page (max-width: 980px) { .fg-build--wide > .fg-build__tray { background: rgba(22,22,24,.92); } }
/* Options strip: no bar edge at all. A soft lighter glow rises from the bottom right and fades out to the left and upward. */
@container page (min-width: 981px) {
  .fg-build--wide > .fg-build__tray { background: radial-gradient(75% 230% at 100% 100%, rgba(46,47,52,.95) 0%, rgba(34,35,39,.6) 38%, rgba(22,22,24,0) 100%); }
}

/* "Line's down" card headline: two lines on desktop now that the card is 60% wide */
@container page (min-width: 981px) {
  .fg-door--ink h2 { max-width: none; font-size: clamp(2.25rem, 3.3cqi, 3rem) !important; text-wrap: balance; }
}

/* About: more room between the heading block and the bio / stats row */
#about .fg-expert { margin-top: var(--space-7); }

/* About: the dark bio card gets the same red glow as the "Line's down" card, rising from the bottom right */
#about .fg-portrait { background: radial-gradient(80% 110% at 100% 110%, var(--fox-red-800) 0%, var(--fox-red-950) 38%, var(--ink-950) 72%); }

/* Projects row: drag with the mouse to scroll */
.fga-projects__track { cursor: grab; user-select: none; -webkit-user-select: none; }
.fga-projects__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.fga-projects__track.is-drag .fga-proj { pointer-events: none; }
.fga-projects__track img { -webkit-user-drag: none; user-drag: none; }

/* Steps: the red number tile sits flush in the top-left corner of each box, outside the box padding */
#how .fg-steps .fg-index { margin: calc(var(--space-6) * -1) 0 0 calc(var(--space-6) * -1); }

/* About: heading-to-row spacing reverted. The row now uses the same 7/5 columns as the heading block above, so the stats
   start on the same line as the intro paragraph; the bio card keeps its own width instead of stretching. */
#about .fg-expert { margin-top: 0; }
@container page (min-width: 981px) {
  #about .fg-expert { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-7); }
  #about .fg-expert__who { justify-items: start; }
  #about .fg-portrait { width: min(100%, 480px); }
}

/* ---------- Alt page, range: five-up tall product tiles on light grey; a white info card rises on hover (after the supplied reference).
   No intro paragraph, no technical resources row; search field restyled to sit with the buttons. ---------- */
#products { --bg: var(--white); }
.fga-range__head { align-items: end; }
.fga-range__head .fg-search { justify-self: end; max-width: 440px; border: 0; background: var(--paper-50); }
.fga-range__head .fg-search:focus-within { box-shadow: inset 0 0 0 1px var(--ink-950); }
.fga-range__head .fg-search input { min-height: 52px; padding-inline: 18px; font-size: .9375rem; }
.fga-range__head .fg-search .fg-btn { min-height: 52px; padding-inline: 24px; text-transform: uppercase; font-size: .8125rem; letter-spacing: .08em; }
.fg-page #products .fg-tiles.fg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
#products .fg-tile { position: relative; display: block; aspect-ratio: 4 / 5; padding: 0; border: 0; overflow: hidden; background: var(--paper-50); }
#products .fg-tile__media { position: absolute; inset: 0; aspect-ratio: auto; margin: 0; background: none; }
#products .fg-tile__media img { padding: 22% 20% 30%; }
.fga-tile__card { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 2px; padding: 14px 14px 12px; background: var(--white); color: var(--ink-950); opacity: 0; translate: 0 10px; transition: opacity .25s ease, translate .3s cubic-bezier(.2,.7,.2,1); }
#products .fg-tile .fga-tile__card b { font: 600 .8125rem/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-950); }
.fga-tile__card .fg-spec { color: var(--muted); }
.fga-tile__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 10px; border-top: 1px solid rgba(11,11,12,.16); font: 500 .8125rem/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.fga-tile__foot .fg-arrow { color: var(--fox-red-600); }
#products .fg-tile:hover .fga-tile__card, #products .fg-tile:focus-visible .fga-tile__card { opacity: 1; translate: 0 0; }
@media (hover: none) { .fga-tile__card { opacity: 1; translate: 0 0; } }
@container page (max-width: 980px) { .fg-page #products .fg-tiles.fg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } #products .fg-tiles > :last-child { grid-column: auto; } .fga-range__head .fg-search { justify-self: start; } }
@container page (max-width: 560px) { .fg-page #products .fg-tiles.fg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Alt page, quote form: pared back to four fields, with a calmer intro ---------- */
.fga-form { gap: var(--space-5) var(--space-4); }
.fga-form textarea { min-height: 120px; }
.fga-form .fg-field > label { font-size: .75rem; }
.fga-form__file input[type="file"] { border-style: dashed; background: transparent; }
.fga-form .fg-form__foot { margin-top: 0; }
@container page (min-width: 861px) {
  .fg-rfq__intro { align-content: center; }
  .fg-rfq__form { align-self: center; }
}

/* Range tiles: sans for the name and sub-line (mono only on "View range"), and a larger product image */
#products .fg-tile .fga-tile__card b { font: 500 1rem/1.3 var(--font-sans); letter-spacing: -0.005em; text-transform: none; }
#products .fga-tile__card .fg-spec { font: 400 .875rem/1.4 var(--font-sans); letter-spacing: 0; text-transform: none; }
#products .fg-tile__media img { padding: 8% 8% 18%; }

/* Range tiles: the grid runs the full width of the screen, with side padding equal to the 12px gap between tiles */
.fg-page #products .fg-tiles.fg-grid { width: 100cqi; max-width: none; margin-left: calc(50% - 50cqi); padding-inline: 12px; box-sizing: border-box; }

/* About: no slash marker in front of "Standards we work to" */
#about .fg-standards .fg-eyebrow::before { display: none; }

/* Steps: number tile sits inline with the title (number first, then title), with the text underneath */
#how .fg-steps .fg-cell { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: var(--space-4); align-items: center; }
#how .fg-steps .fg-cell > div { display: contents; }
#how .fg-steps .fg-index { grid-column: 1; grid-row: 1; margin: 0; width: 40px; height: 40px; }
#how .fg-steps .fg-cell h3 { grid-column: 2; grid-row: 1; margin: 0; }
#how .fg-steps .fg-cell p { grid-column: 1 / -1; grid-row: 2; margin: 0; }

/* Range tiles: category title top left by default, slides up out of the tile on hover; hover-card divider runs full width */
.fga-tile__title { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 1; font: 500 1rem/1.3 var(--font-sans); letter-spacing: -0.005em; color: var(--ink-950); transition: translate .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease; }
#products .fg-tile:hover .fga-tile__title, #products .fg-tile:focus-visible .fga-tile__title { translate: 0 calc(-100% - 20px); opacity: 0; }
.fga-tile__foot { margin-inline: -14px; padding-inline: 14px; }
@media (hover: none) { .fga-tile__title { display: none; } }

/* Quote section: intro and form align to the top */
.fg-page .fg-rfq__intro { align-content: start; }
.fg-page .fg-rfq__form { align-self: start; }

/* Range tiles, second pass: title slides up and out of the tile with no fade; hover card sits flush so its divider spans the whole tile */
.fga-tile__title { transition: translate .45s cubic-bezier(.2,.7,.2,1); }
#products .fg-tile:hover .fga-tile__title, #products .fg-tile:focus-visible .fga-tile__title { translate: 0 calc(-100% - 16px); opacity: 1; }
#products .fga-tile__card { left: 0; right: 0; bottom: 0; opacity: 1; translate: 0 100%; transition: translate .45s cubic-bezier(.2,.7,.2,1); }
#products .fg-tile:hover .fga-tile__card, #products .fg-tile:focus-visible .fga-tile__card { translate: 0 0; }
@media (hover: none) { #products .fga-tile__card { translate: 0 0; } }

/* Builder band: option buttons read as buttons (outlined dark boxes with gaps and a shadow, red on hover) and sit centred under the build area */
.fg-build--wide > .fg-build__tray { padding-bottom: var(--space-5); }
.fg-build--wide .fg-build__opts { gap: 8px; }
.fg-page .fg-build--wide .fg-opt { height: 104px; border: 1px solid rgba(255,255,255,.5); background: var(--ink-900); color: var(--white); font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: background .2s ease, border-color .2s ease, translate .2s ease; }
.fg-page .fg-build--wide .fg-opt:hover, .fg-page .fg-build--wide .fg-opt:focus-visible { background: var(--fox-red-600); border-color: var(--fox-red-600); translate: 0 -3px; }
@container page (min-width: 981px) {
  .fg-build--wide .fg-build__opts { width: 520px; max-width: 54%; margin-left: 70%; margin-right: 0; translate: -50% 0; }
}

/* Alt footer: three rows on one shared column grid. Links, solutions and a red call block; a get-started row; a base row with legal, logo and copyright. */
.fg-page .fgf { padding: 0; border-top: 1px solid #2c2d31; }
.fgf__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4.5fr) minmax(0, 2.5fr); }
.fgf__row > * { padding: var(--space-7) var(--space-6); min-width: 0; }
.fgf__row > :first-child { padding-left: var(--edge); }
.fgf__row > :nth-child(2) { border-left: 1px solid #2c2d31; }
.fgf__top { border-bottom: 1px solid #2c2d31; }
.fgf__links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-content: start; }
.fgf .fgf__links ul { gap: 6px; font-size: 1.0625rem; }
.fgf h3 { color: var(--fox-red-500); }
.fgf .fgf__sol ul { display: grid; gap: 4px; }
.fgf__sol a { font: 400 clamp(1.25rem, 2.1cqi, 1.875rem)/1.25 var(--font-sans); letter-spacing: -0.02em; color: rgba(255,255,255,.42); transition: color .2s ease; }
.fgf__sol a:hover, .fgf__sol a:focus-visible { color: var(--white); }
.fgf .fgf__sos { position: relative; display: grid; align-content: end; gap: var(--space-3); min-height: 340px; padding: var(--space-6); overflow: hidden; background: var(--fox-red-600); color: var(--white); transition: background .2s ease; }
.fgf .fgf__sos:hover { background: var(--fox-red-700); color: var(--white); }
.fgf__sos::before { content: ""; position: absolute; inset: 0 0 45% 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.2) 0 14px, transparent 14px 34px); -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.fgf__sos > * { position: relative; }
.fgf__sos-label { font: 500 .75rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.fgf__sos-num { font: 500 clamp(1.375rem, 2.2cqi, 2rem)/1 var(--font-mono); letter-spacing: -0.01em; white-space: nowrap; }
.fgf__sos-note { font-size: .9375rem; line-height: 1.4; color: rgba(255,255,255,.86); }
.fgf__cta { display: grid; gap: var(--space-5); justify-items: start; align-content: start; }
.fgf .fgf__cta h3 { margin: 0; }
.fg-page .fgf__cta h2 { margin: 0; max-width: 15ch; font: 400 clamp(2rem, 4cqi, 3.5rem)/1.05 var(--font-sans); letter-spacing: -0.035em; color: var(--white); text-wrap: balance; }
.fgf__mid > .fgf__contact { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); align-content: end; font-size: .9375rem; line-height: 1.5; }
.fgf .fgf__contact h3 { margin-bottom: var(--space-3); }
.fgf__contact p { margin: 0; }
.fgf__base { align-items: end; }
.fgf__row.fgf__base > * { padding-top: var(--space-5); padding-bottom: var(--space-6); }
.fgf__legal { display: flex; flex-wrap: wrap; gap: var(--space-5); font-size: .875rem; }
.fgf__mark img { display: block; height: 64px; width: auto; }
.fgf__copy { margin: 0; font-size: .8125rem; line-height: 1.4; }
@container page (max-width: 980px) {
  .fgf__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fgf__row > * { padding-inline: var(--edge); }
  .fgf__top > .fgf__sos { grid-column: 1 / -1; min-height: 200px; }
  .fgf__mid > .fgf__cta { grid-column: 1 / -1; }
  .fgf__mid > .fgf__contact { grid-column: 1 / -1; border-left: 0; padding-top: 0; }
  .fgf__base > .fgf__copy { grid-column: 1 / -1; padding-top: 0; }
  .fgf__base > .fgf__mark { border-left: 0; }
}
@container page (max-width: 560px) {
  .fgf__row { grid-template-columns: minmax(0, 1fr); }
  .fgf__row > :nth-child(2) { border-left: 0; padding-top: 0; }
  .fgf__mid > .fgf__contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
}

/* Builder option buttons: no outline; a lighter fill keeps them reading as buttons */
.fg-page .fg-build--wide .fg-opt { border: 0; background: var(--ink-800); }
.fg-page .fg-build--wide .fg-opt:hover, .fg-page .fg-build--wide .fg-opt:focus-visible { background: var(--fox-red-600); }

/* Range tiles, third pass: no top-left title. The white card always shows with just the title; hover expands it to the sub-line and "View range". */
#products .fga-tile__card { translate: 0 0; opacity: 1; gap: 0; padding: 14px; transition: none; }
#products .fga-tile__card .fg-spec, #products .fga-tile__foot { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.7,.2,1), opacity .25s ease, margin .4s cubic-bezier(.2,.7,.2,1), padding .4s cubic-bezier(.2,.7,.2,1), border-color .25s ease; }
#products .fga-tile__card .fg-spec { margin-top: 0; }
#products .fga-tile__foot { margin-top: 0; padding-top: 0; padding-bottom: 0; border-top-color: transparent; }
#products .fg-tile:hover .fga-tile__card .fg-spec, #products .fg-tile:focus-visible .fga-tile__card .fg-spec { max-height: 3em; opacity: 1; margin-top: 2px; }
#products .fg-tile:hover .fga-tile__foot, #products .fg-tile:focus-visible .fga-tile__foot { max-height: 48px; opacity: 1; margin-top: 16px; padding-top: 12px; border-top-color: rgba(11,11,12,.16); }
@media (hover: none) {
  #products .fga-tile__card .fg-spec { max-height: none; opacity: 1; margin-top: 2px; }
  #products .fga-tile__foot { max-height: none; opacity: 1; margin-top: 16px; padding-top: 12px; border-top-color: rgba(11,11,12,.16); }
}

/* Alt footer: the logo takes the place of the get-started block */
.fgf__brand { display: grid; align-content: end; justify-items: start; }
.fgf__brand img { display: block; height: 72px; width: auto; }
@container page (max-width: 980px) { .fgf__mid > .fgf__brand { grid-column: 1 / -1; } .fgf__base > .fgf__mark { display: none; } .fgf__brand img { height: 56px; } }

/* Alt footer call block: same treatment as the hero line-down bar. Dark ground, running red stripes, label and call line in the same mono type. */
.fgf .fgf__sos { isolation: isolate; align-content: end; gap: 10px; background: var(--ink-950); border-left: 1px solid #2c2d31; }
.fgf .fgf__sos:hover { background: #151618; }
.fgf__sos::before { inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(-45deg, var(--fox-red-600) 0 12px, transparent 12px 24px) 0 0 / 33.941px 100%; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 30%, transparent 72%); mask-image: linear-gradient(180deg, #000 0, #000 30%, transparent 72%); }
@media (prefers-reduced-motion: no-preference) { .fgf__sos::before { animation: fga-run 1.4s linear infinite; } }
.fgf__sos-label, .fgf__sos-go { font: 700 .75rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.fgf__sos-go { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.fgf__sos .fg-arrow { color: var(--fox-red-500); transition: transform .2s ease; }
.fgf__sos:hover .fg-arrow { transform: translateX(4px); }
@container page (max-width: 980px) {
  .fgf .fgf__sos { display: flex; align-items: center; gap: var(--space-6); min-height: 64px; border-left: 0; border-top: 1px solid #2c2d31; }
  .fgf__sos::before { inset: 0 0 0 auto; width: 46%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
}

/* Alt footer base row: cells stretch so the vertical divider runs unbroken to the bottom */
.fgf__base { align-items: stretch; }
.fgf__base > * { display: flex; align-items: flex-end; }

/* Alt footer links: one style everywhere (14px), with the red slash sliding in as a bullet on hover */
.fgf .fgf__links ul, .fgf .fgf__sol ul { gap: 8px; font-size: .875rem; }
.fgf nav a, .fgf__legal a, .fgf__contact a { display: inline-flex; align-items: center; font: 400 .875rem/1.4 var(--font-sans); letter-spacing: 0; color: var(--color-text-inverse-muted); transition: color .2s ease; }
.fgf nav a:hover, .fgf nav a:focus-visible, .fgf__legal a:hover, .fgf__legal a:focus-visible, .fgf__contact a:hover, .fgf__contact a:focus-visible { color: var(--white); }
.fgf nav a::before, .fgf__legal a::before, .fgf__contact a::before { content: ""; flex: none; width: 0; height: 12px; margin: 0; opacity: 0; background: var(--fox-red-500); transform: skewX(23deg); transition: width .3s cubic-bezier(.2,.7,.2,1), margin .3s cubic-bezier(.2,.7,.2,1), opacity .2s ease; }
.fgf nav a:hover::before, .fgf nav a:focus-visible::before, .fgf__legal a:hover::before, .fgf__legal a:focus-visible::before, .fgf__contact a:hover::before, .fgf__contact a:focus-visible::before { width: 4px; margin: 0 10px 0 3px; opacity: 1; }
.fgf__contact, .fgf__copy, .fgf__legal { font-size: .875rem; }

/* Range tiles: white panel inset inside the card again; cards 20% shorter (4:5 becomes 1:1) */
#products .fga-tile__card { left: 12px; right: 12px; bottom: 12px; }
#products .fg-tile { aspect-ratio: 1 / 1; }
#products .fg-tile__media img { padding: 6% 12% 20%; }

/* Builder band: part buttons are small and sit under the headline, above the CTA. Hover clears the fill. No gradient behind the old strip. */
.fg-build--wide > .fg-build__tray { background: none; padding: 0; }
.fga-buildopts { display: flex; flex-wrap: wrap; gap: 8px; pointer-events: auto; }
.fg-page .fga-buildopts .fg-opt { width: 84px; height: 76px; min-height: 0; padding: 8px 4px; gap: 4px; border: 0; background: var(--ink-800); color: var(--white); font: 500 .6875rem/1.2 var(--font-sans); box-shadow: none; transition: background .2s ease; }
.fg-page .fga-buildopts .fg-opt:hover, .fg-page .fga-buildopts .fg-opt:focus-visible { background: transparent; }
.fga-buildopts .fg-opt .fg-pipe { zoom: .6; }

/* Alt footer call block: solid red; the running stripes sit in a crisp full-width band across the top; larger headline */
.fgf .fgf__sos { background: var(--fox-red-600); border-left: 0; padding-top: calc(64px + var(--space-6)); }
.fgf .fgf__sos:hover { background: var(--fox-red-700); }
.fgf__sos::before { inset: 0 0 auto 0; width: auto; height: 64px; background: repeating-linear-gradient(-45deg, rgba(11,11,12,.9) 0 12px, transparent 12px 24px) 0 0 / 33.941px 100%; -webkit-mask-image: none; mask-image: none; }
.fgf__sos-label { font: 500 clamp(1.5rem, 2.3cqi, 2.125rem)/1.08 var(--font-sans); letter-spacing: -0.03em; text-transform: none; text-wrap: balance; }
.fgf__sos .fg-arrow { color: var(--white); }
@container page (max-width: 980px) {
  .fgf .fgf__sos { display: grid; align-content: end; gap: 10px; min-height: 0; border-top: 0; padding-top: calc(40px + var(--space-5)); }
  .fgf__sos::before { inset: 0 0 auto 0; width: auto; height: 40px; -webkit-mask-image: none; mask-image: none; }
}

/* Steps section: more room below the four boxes */
.fg-page #how > .fg-container { padding-bottom: calc(var(--sec-bottom) + var(--space-8)); }

/* Steps: boxes have no fill */
.fg-page #how .fg-steps .fg-cell { background: transparent; }

/* Alt footer call block: stripes in a darker red, not black */
.fgf__sos::before { background: repeating-linear-gradient(-45deg, var(--fox-red-800) 0 12px, transparent 12px 24px) 0 0 / 33.941px 100%; }

/* Alt footer base row: copyright under the logo on the left, Terms and Privacy on the right */
@container page (max-width: 980px) { .fgf__base > .fgf__copy { grid-column: auto; padding-top: var(--space-5); } .fgf__base > .fgf__legal { grid-column: 1 / -1; padding-top: 0; } }

/* Steps section: intro paragraph and CTA sit below the four boxes, on the right-hand columns */
.fga-how__foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5) var(--space-7); padding: var(--space-8) var(--inset) 0; }
.fga-how__side { grid-column: 2; display: grid; gap: var(--space-5); justify-items: start; }
.fga-how__side .fg-lead { margin: 0; }
.fg-page #how > .fg-container { padding-bottom: var(--sec-bottom); }
@container page (max-width: 860px) { .fga-how__foot { grid-template-columns: minmax(0, 1fr); padding-top: var(--space-6); } .fga-how__side { grid-column: 1; } }

/* ---------- QA pass: consistent buttons, links and card labels ---------- */
/* Main CTA buttons (not the navbar one): angled bottom-right corner that opens back to square on hover, as on the hero */
.fg-page section .fg-btn:not(.fg-btn--secondary) { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); transition: clip-path .28s cubic-bezier(.2,.7,.2,1), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.fg-page section .fg-btn:not(.fg-btn--secondary):hover, .fg-page section .fg-btn:not(.fg-btn--secondary):focus-visible { clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%); }
.fg-page .fga-hero__side .fg-btn { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.fg-page .fga-hero__side .fg-btn:hover, .fg-page .fga-hero__side .fg-btn:focus-visible { clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%); }

/* Secondary actions: text link with a red arrow; on hover a red underline grows left to right over the base underline */
.fg-page .fg-link { display: inline-flex; align-items: center; gap: 8px; padding: 0 0 5px; border: 0; font: inherit; font-weight: 500; color: inherit; text-decoration: none; cursor: pointer;
  background: linear-gradient(var(--fox-red-500), var(--fox-red-500)) left bottom / 0 1px no-repeat, linear-gradient(currentColor, currentColor) left bottom / calc(100% - 24px) 1px no-repeat;
  transition: background-size .35s cubic-bezier(.2,.7,.2,1); }
.fg-page .fg-link:hover, .fg-page .fg-link:focus-visible { background-size: calc(100% - 24px) 1px, calc(100% - 24px) 1px; }
.fg-page .fg-link .fg-arrow { flex: none; width: 16px; height: 16px; color: var(--fox-red-500); }
.fg-page .fg-solitem__body .fg-link { color: var(--ink-950); }
.fg-page .fg-build__stuck .fg-link { color: var(--ink-950); }
.fg-build__stuck-actions { align-items: center; }

/* Card CTA labels: the industries style everywhere (uppercase mono, muted) */
.fg-page .fg-door__foot > span, .fg-page #products .fga-tile__foot > span { font: 400 .75rem/1.5 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Client logo marquee: logos sit closer together */
.fg-page .fg-marquee .fg-clients > li, .fg-page .fg-marquee .fg-clients > li:first-child { flex-basis: 10.5cqi; padding-inline: 8px; }
@container page (max-width: 980px) { .fg-page .fg-marquee .fg-clients > li, .fg-page .fg-marquee .fg-clients > li:first-child { flex-basis: 19cqi; } }
@container page (max-width: 560px) { .fg-page .fg-marquee .fg-clients > li, .fg-page .fg-marquee .fg-clients > li:first-child { flex-basis: 31cqi; } }

/* Steps section head: heading left, CTA right-aligned on the same row; no intro paragraph */
.fg-page #how .fg-head > .fga-how__cta { justify-items: end; align-content: end; }
@container page (max-width: 860px) { .fg-page #how .fg-head > .fga-how__cta { justify-items: start; } }

/* In-page anchor links are switched off for now: links keep their look and pointer but do not jump */
.fg-page a:not([href]) { cursor: pointer; }
