/* ---------- tokens.css ---------- */
/* ==========================================================================
   MIRMAX SPORTS — DESIGN TOKENS
   The single source of truth for colour, type, space, motion and elevation.
   Nothing below this file should hard-code a hex value or a pixel font size.
   ========================================================================== */

:root {
  /* ---------------------------------------------------------------------
     BRAND COLOUR — final, per brand guidelines
     Balance target: ~60% white / light · 20% navy · 10% charcoal · 10% blue
     --------------------------------------------------------------------- */
  --navy: #0b1f3f;          /* PRIMARY   — trust, authority, B2B credibility */
  --blue: #007bff;          /* ACCENT    — performance, motion, interaction  */
  --charcoal: #1a1a1a;      /* DARK      — precision, manufacturing, premium */
  --white: #ffffff;         /* BACKGROUND                                    */
  --gray-50: #f6f7f9;       /* SECONDARY LIGHT BACKGROUND                    */
  --gray-text: #667085;     /* NEUTRAL TEXT                                  */

  /* Derived steps — tints and shades of the six colours above only. */
  --navy-900: #071633;      /* deepest navy, for gradient floors            */
  --navy-700: #122c54;      /* raised surfaces on navy sections             */
  --navy-600: #1c3a68;      /* hairlines and borders on navy                */
  --charcoal-800: #232323;  /* raised surfaces on charcoal sections         */
  --charcoal-600: #333333;  /* hairlines on charcoal                        */

  /* Electric blue, adjusted only where legibility demands it.
     --blue stays exactly #007bff for fills, icons, rules and motion.
     --blue-ink is a darker step of the same hue for small blue TEXT on white,
     where #007bff would fall below the 4.5:1 WCAG AA threshold. */
  --blue-ink: #0059c7;
  --blue-hover: #0062cc;
  --blue-bright: #3395ff;   /* hover step on dark backgrounds               */
  --blue-wash: #e8f2ff;     /* faint blue surface for accent panels         */

  /* Neutral ramp built from the specified neutrals. */
  --gray-100: #eceef2;
  --gray-200: #e1e4ea;
  --gray-300: #cfd4dd;
  --gray-500: #8b93a3;
  --ink: var(--charcoal);
  --ink-muted: var(--gray-text);
  --line: var(--gray-200);
  --line-strong: var(--gray-300);

  /* Semantic assignments */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --text: var(--charcoal);
  --text-muted: var(--gray-text);
  --heading: var(--navy);
  --focus: var(--blue);

  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #067647;
  --success-bg: #ecfdf3;

  /* ---------------------------------------------------------------------
     TYPOGRAPHY
     Archivo  — grotesque display face. Athletic, technical, wide-set caps.
     Inter    — body face. Neutral, highly legible at small sizes.
     IBM Plex Mono — technical annotation only: index numbers, spec labels.
     --------------------------------------------------------------------- */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Fluid scale — min at 360px viewport, max at 1440px. */
  /* Capped at 64px so "Custom sportswear." sets on one line in the hero's
     left column, keeping the headline to three lines instead of four. */
  --fs-display: clamp(2.125rem, 1.4rem + 3.2vw, 4rem);      /*  34 →  64 */
  --fs-h1: clamp(2.25rem, 1.45rem + 3.55vw, 4.5rem);        /*  36 →  72 */
  --fs-h2: clamp(1.75rem, 1.2rem + 2.45vw, 3.25rem);        /*  28 →  52 */
  --fs-h3: clamp(1.3rem, 1.07rem + 1.02vw, 1.9rem);         /*  21 →  30 */
  --fs-h4: clamp(1.125rem, 1.03rem + 0.42vw, 1.375rem);     /*  18 →  22 */
  --fs-lead: clamp(1.0625rem, 0.99rem + 0.33vw, 1.25rem);   /*  17 →  20 */
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-label: 0.75rem;

  --lh-tight: 0.98;
  --lh-snug: 1.1;
  --lh-heading: 1.18;
  --lh-body: 1.65;

  --ls-display: -0.035em;   /* large type tightens up */
  --ls-heading: -0.02em;
  --ls-label: 0.16em;       /* mono / caps labels open up */

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* ---------------------------------------------------------------------
     SPACE — 4px base, named by role rather than by size
     --------------------------------------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;

  /* Vertical rhythm for every band on the site.
     Cut by a third from clamp(4.5rem, 2.6rem + 8vw, 9rem) and
     clamp(5.5rem, 3rem + 10vw, 11rem). At a desktop width the old pair
     resolved to 144px top AND bottom, so every section carried 288px of
     empty background — on sections whose content was often shorter than
     that. The caps now land at 96px and 120px.
     The floors moved less than the caps: narrow viewports were never the
     problem, and sections still need to read as separate bands there. */
  --section-y: clamp(3.25rem, 2rem + 5.2vw, 6rem);
  --section-y-lg: clamp(4rem, 2.4rem + 6.5vw, 7.5rem);

  /* ---------------------------------------------------------------------
     LAYOUT
     --------------------------------------------------------------------- */
  /* Raised from 1280 / 1480. At those caps a 1700px display gave up ~290px to
     empty margin on the widest sections, and the page read as a narrow column
     floating on a large screen rather than as a full layout.

     They are still caps, not 100% — past roughly 1800px a grid row stops
     reading as a row and the lead paragraphs run to unreadable line lengths.
     --container-narrow is untouched: it exists to hold prose at a readable
     measure and gets no benefit from a wider screen. */
  --container: 1560px;
  --container-wide: 1800px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 0.8rem + 1.9vw, 2.5rem);
  /* The header is two tiers: a slim utility strip carrying manufacturer
     credentials, and the main bar. --header-h is the combined height, which is
     what the hero offset and scroll-padding are measured against. On scroll the
     strip collapses and only the bar remains. */
  --header-utility-h: 38px;
  --header-bar-h: 74px;
  --header-h: 112px;
  --header-h-scrolled: 64px;

  /* ---------------------------------------------------------------------
     SHAPE
     Sharp and technical. Corners are barely rounded; the recurring motif is
     a single clipped corner, echoing the angle in the Mirmax mark.
     --------------------------------------------------------------------- */
  --radius-sm: 2px;
  --radius: 3px;
  --radius-pill: 999px;
  --clip-corner: 28px;      /* size of the angled corner cut on media       */
  --clip-corner-lg: 56px;
  --rule: 1px;

  /* ---------------------------------------------------------------------
     ELEVATION — restrained. Depth comes from contrast, not from shadow.
     --------------------------------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(11, 31, 63, 0.06);
  --shadow: 0 4px 16px rgba(11, 31, 63, 0.07);
  --shadow-lg: 0 18px 48px rgba(11, 31, 63, 0.12);
  --shadow-blue: 0 8px 24px rgba(0, 123, 255, 0.24);

  /* ---------------------------------------------------------------------
     MOTION — fast and precise. Nothing bounces.
     --------------------------------------------------------------------- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1);
  --dur-fast: 140ms;
  --dur: 240ms;
  --dur-slow: 480ms;
  --dur-reveal: 720ms;

  --z-base: 1;
  --z-sticky: 50;
  --z-header: 100;
  --z-overlay: 200;
}

/* Blueprint / marker-layout grid used on dark sections. A quiet nod to
   pattern cutting — present enough to read as technical, faint enough that
   nobody consciously notices it. */
:root {
  --grid-line: rgba(255, 255, 255, 0.045);
  --grid-size: 64px;
}

/* ---------- base.css ---------- */
/* ==========================================================================
   BASE — reset, document defaults, typography, accessibility primitives
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-5));
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

ul, ol { padding: 0; list-style: none; }

/* --------------------------------------------------------------------------
   Headings
   Display type is the loudest thing on the page, so it does the work: heavy
   weight, tight tracking, tight leading, sentence case for long headings and
   uppercase for short structural ones.
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: var(--fw-black);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  text-wrap: balance;
}

/* `text-wrap: balance` is right for two- and three-line headings but produces
   ragged, short lines on big display type, so h1 opts out. */
h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
  text-wrap: normal;
}

h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-bold); }

p { text-wrap: pretty; }

strong, b { font-weight: var(--fw-semibold); }

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

a {
  color: var(--blue-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover { color: var(--blue); }

/* --------------------------------------------------------------------------
   Focus — visible, on-brand, and never removed
   -------------------------------------------------------------------------- */

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.on-dark :focus-visible,
.section--dark :focus-visible { outline-color: var(--blue-bright); }

::selection {
  background: var(--blue);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

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

.skip-link {
  position: absolute;
  top: 0;
  left: var(--space-4);
  z-index: 999;
  padding: var(--space-3) var(--space-5);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform var(--dur) var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Reduced motion — honour it properly, not with a blanket 0.01s hack that
   breaks scroll reveals. Elements simply start in their final state.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Print — a quote enquiry printed to PDF should still read as Mirmax
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .cta-section,
  .mobile-nav { display: none !important; }

  body { color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
}

/* ---------- layout.css ---------- */
/* ==========================================================================
   LAYOUT — container, grid, sections, header, navigation, footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   Container & grid
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.grid {
  display: grid;
  gap: var(--space-6);
}

/* grid--1 exists because the column count is derived from the number of cards
   rendered (see grid_class in components.py), and a one-card grid is reachable.
   Without it the element would fall back to a single implicit column anyway,
   but only by accident. */
.grid--1 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section-y); position: relative; }
.section--lg { padding-block: var(--section-y-lg); }
/* Cap lowered from 5.5rem, then from 4.5rem. The category cards' media grew
   from 16:9 to 3:2 so the photography reads properly, and that height has to
   come from somewhere if the section is still to clear a 1366x768 laptop in
   one screen. Padding is the cheapest place to find it — the image is the
   point of the section. */
.section--tight { padding-block: clamp(2.25rem, 1.4rem + 2.8vw, 3.5rem); }

/* For a page whose first element is a plain section rather than a .hero or
   .page-hero. The header is fixed, so it takes no space in the flow and the
   first section would otherwise begin underneath it. Both hero classes own
   this clearance themselves; this is the same offset for everything else. */
.section--first { padding-top: calc(var(--header-h) + clamp(2rem, 1.3rem + 2.6vw, 3.5rem)); }

/* Certification row in the footer. On navy, so the strip's own light-surface
   colours have to be overridden here. */
.site-footer__certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  padding-block: var(--space-5);
  border-top: var(--rule) solid var(--navy-600);
}

.site-footer__certlabel {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.site-footer__certs .certstrip__name { color: rgba(255, 255, 255, 0.74); }
.site-footer__certs .certstrip li:not(:last-child)::after { background: var(--navy-600); }
.site-footer__certs .certstrip__note { color: rgba(255, 255, 255, 0.5); }

/* The strip and its note form one block, so they share a flex column rather
   than the note wrapping onto a line of its own beside the label. */
.site-footer__certs > ul,
.site-footer__certs > .certstrip__note { flex: 1 1 100%; }

/* A tight section tightens the gap under its heading too. Keeping the full
   72px there undid a good part of what the reduced padding saved. */
.section--tight .section-head { margin-bottom: clamp(1.25rem, 0.9rem + 1.2vw, 2rem); }
.section--flush-top { padding-top: 0; }

.section--alt { background: var(--bg-alt); }

.section--dark,
.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
}

.section--charcoal {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.74);
}

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4,
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3, .section--charcoal h4 {
  color: var(--white);
}

.section--dark a:not(.btn),
.section--navy a:not(.btn),
.section--charcoal a:not(.btn) { color: var(--blue-bright); }

/* Blueprint grid overlay — pattern-cutting reference, kept near-invisible. */

/* The ::before below is inset: 0 but its background tiles to the padding box,
   so the section has to clip it. It used to do that with overflow: hidden,
   which silently broke every position: sticky descendant — overflow: hidden
   makes an element a scroll container, and a sticky child then resolves
   against THAT box instead of the viewport. Because this box never scrolls,
   the child had nowhere to stick and simply scrolled away with the page.
   That is what pulled the brandmorph visual up behind the header on the
   private label page.
   overflow: clip does the same clipping without creating a scroll container,
   so sticky descendants keep working. hidden is declared first as a fallback
   for browsers predating clip (Safari < 16, Chrome < 90): they keep today's
   clipping, and lose only the sticky behaviour. */
.section--gridlines {
  overflow: hidden;
  overflow: clip;
}

.section--gridlines::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) var(--rule), transparent var(--rule)),
    linear-gradient(90deg, var(--grid-line) var(--rule), transparent var(--rule));
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}

.section > .container { position: relative; z-index: var(--z-base); }

/* Section header block — eyebrow, heading, optional lead, optional action.
   Gap cut from clamp(2.5rem, 1.5rem + 3vw, 4.5rem), which put 72px between a
   heading and the content it introduces on a desktop width. */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.3rem + 2.2vw, 3.25rem); }

/* The bottom margin exists to separate the heading from the content under it.
   Where a section is nothing but its heading — the services intro — there is
   no such content, and the margin is just empty background below the text. */
.section-head:last-child { margin-bottom: 0; }

/* A heading inside a section head is sized by its role, not its level. The
   services intro carries the page's <h1>, and inheriting the global h1 size
   set it at 72px — hero scale — in an ordinary section, where it wrapped to
   three lines and left the band far taller than its content needed. */
.section-head h1 { font-size: var(--fs-h2); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > * + * { margin-top: var(--space-5); }
.section-head .lead { max-width: 58ch; }
.section-head--center .lead { margin-inline: auto; }

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: end;
}

.section-head--split > * + * { margin-top: 0; }
.section-head--split .section-head__title > * + * { margin-top: var(--space-5); }

@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; gap: var(--space-6); }
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
}

.section--dark .lead,
.section--navy .lead,
.section--charcoal .lead { color: rgba(255, 255, 255, 0.72); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  /* Fixed, not sticky. A sticky header occupies space in normal flow, so when
     it shrinks on scroll the flow shrinks with it and every section below
     jerks upward — ~48px here, once on the way down and again on the way back
     up. Fixed positioning takes the header out of flow entirely, so its height
     can change freely without moving anything. The hero pads itself down by
     --header-h instead of being pulled up under a sticky one. */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: var(--rule) solid var(--line);
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: var(--header-bar-h);
  transition: height var(--dur) var(--ease-out);
}

.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header.is-scrolled .site-header__inner { height: var(--header-h-scrolled); }

/* --------------------------------------------------------------------------
   Utility strip
   Location, years in business, and a way to reach a person. For an offshore
   contract manufacturer these are the qualifying facts a brand owner checks
   first, so they sit above the fold on every page rather than buried in the
   footer. It collapses on scroll to hand the space back to the content.
   -------------------------------------------------------------------------- */

.utility {
  height: var(--header-utility-h);
  overflow: hidden;
  /* A step darker than the hero navy so the strip reads as its own band on
     dark pages instead of dissolving into the hero. */
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  transition: height var(--dur) var(--ease-out),
              opacity var(--dur) var(--ease-out);
}

.site-header.is-scrolled .utility { height: 0; opacity: 0; }

.utility > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-utility-h);
}

.utility__facts {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 0;
}

/* A hairline between facts rather than a middle dot — it reads as a divider
   instead of a decorative bullet, and it survives at small sizes. */
.utility__facts li { display: inline-flex; align-items: center; gap: var(--space-5); }
.utility__facts li + li::before {
  content: "";
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.24);
}

.utility__action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}

.utility__action:hover { color: var(--white); }

/* WhatsApp mark. Kept in the brand's electric blue rather than WhatsApp green
   so the palette stays at the four specified colours — the glyph alone is
   recognisable enough. To use the official green instead, set this to #25d366. */
.wa-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.utility__action--wa .wa-icon { transition: transform var(--dur-fast) var(--ease-out); }
.utility__action--wa:hover .wa-icon { transform: scale(1.12); }

/* Unconfigured state: the icon greys back so the TODO chip reads as the
   message rather than looking like a broken link. */
.utility__action--todo { color: rgba(255, 255, 255, 0.4); cursor: default; }

/* Below the desktop nav breakpoint the strip keeps only the location: the
   rest would wrap and push the bar down on a phone. */
@media (max-width: 760px) {
  .utility__facts li + li { display: none; }
  .utility__action { display: none; }
  .utility__facts { letter-spacing: 0.06em; }
}

/* Transparent over dark hero sections, solid once the user scrolls. */
.site-header--over-dark:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.site-header--over-dark:not(.is-scrolled) .nav__link,
.site-header--over-dark:not(.is-scrolled) .nav-toggle { color: rgba(255, 255, 255, 0.82); }
.site-header--over-dark:not(.is-scrolled) .nav__link:hover,
.site-header--over-dark:not(.is-scrolled) .nav__link[aria-current="page"] { color: var(--white); }
.site-header--over-dark:not(.is-scrolled) .brand__fallback-mark { background: var(--white); color: var(--navy); }
.site-header--over-dark:not(.is-scrolled) .brand__name { color: var(--white); }
.site-header--over-dark:not(.is-scrolled) .brand__descriptor { color: rgba(255, 255, 255, 0.58); }
.site-header--over-dark:not(.is-scrolled) .brand__logo--dark { display: block; }
.site-header--over-dark:not(.is-scrolled) .brand__logo--light { display: none; }

/* --------------------------------------------------------------------------
   Brand lockup
   -------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

/* Logo artwork appears in the footer only — the header keeps the typographic
   wordmark, which holds up far better at small sizes than the raster lockup. */
.brand__logo { height: 74px; width: auto; }
.brand__logo--dark { display: none; }

/* No reverse artwork was supplied, so the dark-surface logo is the same file
   knocked out to solid white. This flattens the blue in the mark — drop a
   proper reverse file in as logo-dark.png (or .svg) and this stops applying. */
.brand__logo--mono { filter: brightness(0) invert(1); }

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 1.25rem;
  letter-spacing: 0.005em;
  color: var(--navy);
  text-transform: uppercase;
  transition: color var(--dur) var(--ease-out);
}

/* Second half of the wordmark, set lighter so the lockup has structure
   without needing a separator glyph. */
.brand__name-alt {
  font-weight: var(--fw-regular);
  color: var(--blue);
  margin-left: 0.28em;
  transition: color var(--dur) var(--ease-out);
}

.brand__descriptor {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 4px;
  transition: color var(--dur) var(--ease-out);
}

@media (max-width: 420px) {
  .brand__descriptor { display: none; }
}

/* --------------------------------------------------------------------------
   Primary navigation (desktop)
   -------------------------------------------------------------------------- */

/* The <nav> wrapper, .site-header__inner's actual flex child. It had no
   rule of its own, so it sat at content height and centred — which is why
   stretching the <ul> inside it did nothing. Stretching has to start here. */
.site-header__nav { display: flex; align-self: stretch; }

/* Stretch so each .nav__item spans the full height of the header bar. The
   panel hangs from the bottom of its item, so while the nav was only
   48.75px tall inside a 74px bar the panel opened ~19px up inside it,
   crossing the header's own bottom edge instead of sitting under it.
   Full-height items make `top: 100%` mean "under the header", which is
   where a dropdown belongs — and it keeps the trigger and the panel
   touching, so moving the pointer down into the menu never crosses a dead
   gap that would close it. */
.nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: var(--space-2);
}

/* Breakpoint where the full nav stops fitting beside the brand and CTA.
   Five items need ~1115px; 1160 leaves headroom. Kept in sync with the
   .nav-toggle and .mobile-nav rules below and with nav.js. */
@media (max-width: 1160px) { .nav { display: none; } }

.nav__item { position: relative; display: flex; align-items: center; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}

/* Underline grows from the centre out. It reads as a deliberate response to
   the pointer rather than a bar sliding in from one side. */
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: 14px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur) var(--ease-out);
}

.nav__link:hover { color: var(--blue-ink); }
.nav__item:hover > .nav__link::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Current section. Until now this rule existed but nothing ever set the
   attribute, so every page looked identical in the navigation. */
.nav__link[aria-current="page"] {
  color: var(--blue-ink);
  font-weight: var(--fw-semibold);
}

.site-header--over-dark:not(.is-scrolled) .nav__link[aria-current="page"] { color: var(--white); }

/* Mobile: the current section is named, not just underlined. */
.mobile-nav__link[aria-current="page"] { color: var(--blue-bright); }

.nav__caret {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease-out);
}

/* The open state is three conditions, used identically by every rule below:
   the pointer is over the item, the trigger has *visible* focus (keyboard),
   or focus is inside the panel itself.

   It used to be plain :focus-within, which latched the menu open: clicking
   "Sportswear" leaves focus on the link — and because the build marks
   navigating links target="_blank", the page does not even change — so the
   panel stayed open after the pointer had left, with no way to dismiss it
   but clicking elsewhere. :focus-visible does not match a mouse click, so
   hover now closes when the pointer leaves while Tab still opens it. */
   The caret lives inside the trigger, so it only needs the first two: while
   focus is down inside the panel the caret is off-screen anyway. */
.nav__item:hover .nav__caret,
.nav__link:focus-visible .nav__caret { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Dropdown panel
   -------------------------------------------------------------------------- */

.nav__panel {
  position: absolute;
  /* Flush under the header, now that .nav__item is full height. It was
     calc(100% - 4px) against a vertically-centred item, which floated the
     panel up inside the bar. */
  top: 100%;
  left: 0;
  /* The header carries --z-header, so the panel already clears page content.
     This orders it above its own siblings inside that stacking context —
     without it the panel is z-index:auto and relies on paint order alone,
     which is what let page content show through it. */
  z-index: var(--z-overlay);
  min-width: 268px;
  padding-block: var(--space-3);
  background: var(--white);
  border: var(--rule) solid var(--line);
  border-top: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              visibility var(--dur);
}

.nav__item:hover > .nav__panel,
.nav__link:focus-visible ~ .nav__panel,
.nav__panel:focus-within {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Items rise in sequence rather than all at once. The delay is applied only
   on the way in — closing snaps back together so the menu never feels slow
   to dismiss. */
.nav__panel > li {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

/* The stagger is carried on each item as a custom property, so the open
   state needs stating once instead of once per child. Previously each of
   the five delays repeated the full open-state selector, which would now
   mean fifteen selectors to say one thing. */
.nav__panel > li:nth-child(1) { --nav-stagger: 30ms; }
.nav__panel > li:nth-child(2) { --nav-stagger: 60ms; }
.nav__panel > li:nth-child(3) { --nav-stagger: 90ms; }
.nav__panel > li:nth-child(4) { --nav-stagger: 120ms; }
.nav__panel > li:nth-child(5) { --nav-stagger: 150ms; }

.nav__item:hover > .nav__panel > li,
.nav__link:focus-visible ~ .nav__panel > li,
.nav__panel:focus-within > li {
  opacity: 1;
  transform: none;
  transition-delay: var(--nav-stagger, 0ms);
}

.nav__panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--navy);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.nav__panel-link:hover,
.nav__sub:hover > .nav__panel-link,
.nav__sub:focus-within > .nav__panel-link {
  background: var(--gray-50);
  border-left-color: var(--blue);
  color: var(--blue-ink);
}

.nav__chevron {
  width: 8px;
  height: 12px;
  flex-shrink: 0;
  color: var(--gray-300);
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.nav__sub:hover > .nav__panel-link .nav__chevron,
.nav__sub:focus-within > .nav__panel-link .nav__chevron {
  color: var(--blue);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Nested flyout — revealed only while its parent item is hovered or focused
   -------------------------------------------------------------------------- */

.nav__sub { position: relative; }

.nav__panel-sub {
  position: absolute;
  top: calc(var(--space-3) * -1);
  left: 100%;
  min-width: 232px;
  padding-block: var(--space-3);
  background: var(--white);
  border: var(--rule) solid var(--line);
  border-top: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              visibility var(--dur);
}

.nav__sub:hover > .nav__panel-sub,
.nav__sub:focus-within > .nav__panel-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Invisible bridge across the seam between the two panels. It is a child of
   .nav__sub, so travelling over it keeps the parent hovered and the flyout
   open — without it the menu closes the instant the pointer leaves the row. */
.nav__panel-sub::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  width: 16px;
  height: 100%;
}

.nav__panel-sub > li {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.nav__sub:hover > .nav__panel-sub > li,
.nav__sub:focus-within > .nav__panel-sub > li { opacity: 1; transform: none; }

.nav__sub:hover > .nav__panel-sub > li:nth-child(2),
.nav__sub:focus-within > .nav__panel-sub > li:nth-child(2) { transition-delay: 50ms; }
.nav__sub:hover > .nav__panel-sub > li:nth-child(3),
.nav__sub:focus-within > .nav__panel-sub > li:nth-child(3) { transition-delay: 90ms; }
.nav__sub:hover > .nav__panel-sub > li:nth-child(4),
.nav__sub:focus-within > .nav__panel-sub > li:nth-child(4) { transition-delay: 130ms; }

.nav__panel-label {
  display: block;
  padding: 0 var(--space-4) var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gray-500);
}

/* Never animate a menu for someone who has asked for less motion — it should
   simply be there. */
@media (prefers-reduced-motion: reduce) {
  .nav__panel > li,
  .nav__panel-sub > li { opacity: 1; transform: none; transition-delay: 0ms !important; }
}

/* --------------------------------------------------------------------------
   Header actions
   -------------------------------------------------------------------------- */

.site-header__actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  /* 44px minimum so the tap target clears the accessibility floor even once
     the text label drops away on small screens. */
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

@media (max-width: 1160px) { .nav-toggle { display: inline-flex; } }

/* Only the text label hides — NOT `.nav-toggle span`, which would take the
   hamburger bars with it and leave no visible menu button at all. */
@media (max-width: 560px) { .nav-toggle__label { display: none; } }

.nav-toggle__bars { position: relative; width: 22px; height: 14px; flex-shrink: 0; }

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}

.nav-toggle__bars::before { top: 2px; }
.nav-toggle__bars::after { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 6px; transform: rotate(-45deg); }

.btn--header-cta { padding: 0.8125rem 1.375rem; }

@media (max-width: 760px) {
  .site-header__actions .btn--header-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Mobile navigation
   -------------------------------------------------------------------------- */

.mobile-nav {
  position: fixed;
  /* Tracks the header's live height, which nav.js keeps up to date. Pinning
     this to the unscrolled --header-h left a strip of page content showing
     between the header and the menu once the header had collapsed. */
  inset: var(--header-now, var(--header-h)) 0 0;
  z-index: var(--z-overlay);
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              visibility var(--dur);
}

.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

@media (min-width: 1161px) { .mobile-nav { display: none; } }

.mobile-nav__inner { padding: var(--space-6) var(--gutter) var(--space-10); }

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) 0;
  border-bottom: var(--rule) solid var(--navy-600);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--white);
  text-decoration: none;
  text-align: left;
}

.mobile-nav__link[aria-current="page"] { color: var(--blue-bright); }

.mobile-nav__link .nav__caret { width: 12px; height: 12px; color: var(--blue); }
.mobile-nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.mobile-nav__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}

.mobile-nav__panel > div { overflow: hidden; }
.mobile-nav__link[aria-expanded="true"] + .mobile-nav__panel { grid-template-rows: 1fr; }

.mobile-nav__sublink {
  display: block;
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
  border-left: 2px solid var(--navy-600);
  margin-left: var(--space-1);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.mobile-nav__sublink:first-child { margin-top: var(--space-4); }
.mobile-nav__sublink:last-child { margin-bottom: var(--space-5); }
.mobile-nav__sublink:hover { color: var(--white); border-left-color: var(--blue); }
.mobile-nav__sublink--deep { padding-left: var(--space-8); font-size: var(--fs-xs); }

.mobile-nav__footer { margin-top: var(--space-8); display: grid; gap: var(--space-4); }

.mobile-nav__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.64);
  padding-block: var(--space-10) var(--space-6);
  font-size: var(--fs-sm);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6);
  padding-bottom: var(--space-9);
  border-bottom: var(--rule) solid var(--charcoal-600);
}

@media (max-width: 1000px) {
  .site-footer__top { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; gap: var(--space-7); }
}

.site-footer__brand { max-width: 34ch; }
.site-footer__brand .brand { margin-bottom: var(--space-5); }
.site-footer__brand .brand__name { color: var(--white); }
.site-footer__brand .brand__descriptor { color: rgba(255, 255, 255, 0.5); }
.site-footer__brand .brand__logo--dark { display: block; }
.site-footer__brand .brand__logo--light { display: none; }

.site-footer__blurb { color: rgba(255, 255, 255, 0.58); line-height: 1.6; }

.site-footer__tagline {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer__tagline em { font-style: normal; color: var(--blue); }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-5);
}

.footer-col__list { display: grid; gap: var(--space-3); }

.footer-col__list a {
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col__list a:hover { color: var(--blue-bright); }

.footer-col__list li ul {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-2) 0 var(--space-2) var(--space-4);
  padding-left: var(--space-4);
  border-left: var(--rule) solid var(--charcoal-600);
}

.footer-col__list li ul a { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.48); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.44);
}

.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.site-footer__location { display: inline-flex; align-items: center; gap: var(--space-2); }
.site-footer__location::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue);
  transform: rotate(45deg);
}

/* Registration line, centre of the bottom bar. The membership number is
   plain text at the same weight as the copyright beside it; only the verify
   link takes the accent, because that is the part worth clicking. */
.site-footer__reg { color: rgba(255, 255, 255, 0.44); }
.site-footer__reg a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 3px;
}
.site-footer__reg a:hover,
.site-footer__reg a:focus-visible {
  color: #fff;
  text-decoration-color: var(--blue);
}

/* --------------------------------------------------------------------------
   Current page inside a dropdown

   aria-current marks the top-level section already. These mark the exact
   page within the panel, so a visitor hovering Services can see they are on
   Graphics service and what the other two are — "where am I" and "where next"
   in the same glance.

   Hung off aria-current rather than a class of its own: the attribute is what
   a screen reader announces, so styling the same hook means the visual state
   and the announced state cannot drift apart.
   -------------------------------------------------------------------------- */

.nav__panel-link[aria-current="page"] {
  background: var(--blue-wash);
  border-left-color: var(--blue);
  color: var(--blue-ink);
  font-weight: var(--fw-semibold);
}

/* Hover has to stay distinguishable from "you are here", or pointing at a
   sibling looks identical to the page you are on. Current keeps the wash;
   hover on a different item goes grey. */
.nav__panel-link[aria-current="page"]:hover { background: var(--blue-wash); }

/* A parent whose own child is the current page — Sportswear > Gym. Marked
   more quietly than the page itself, so the trail reads without competing
   with it, and visible while the flyout is closed. */
.nav__panel-link[data-trail] { border-left-color: var(--blue); color: var(--blue-ink); }

/* Mobile panel sits on navy, so the same states need light values. */
.mobile-nav__sublink[aria-current="page"] {
  border-left-color: var(--blue-bright);
  color: var(--white);
  font-weight: var(--fw-semibold);
}

/* ---------- components.css ---------- */
/* ==========================================================================
   COMPONENTS — buttons, labels, media, cards, steps, lists, forms
   ========================================================================== */

/* --------------------------------------------------------------------------
   Eyebrow / technical label
   Mono, uppercase, wide tracking, preceded by a short electric-blue rule.
   This is the site's most repeated accent and carries most of the blue.
   -------------------------------------------------------------------------- */

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
}

/* The 28px blue dash that used to sit before every eyebrow is gone. It was
   decoration repeated roughly sixty times across the site, which stops reading
   as a signature and starts reading as a template. The label carries itself. */

/* Every dark surface on the site. --blue-ink is tuned for white backgrounds
   and goes muddy on navy, so blue text steps up to --blue-bright here. */
.section--dark .eyebrow,
.section--navy .eyebrow,
.section--charcoal .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-section .eyebrow,
.on-dark .eyebrow { color: var(--blue-bright); }

/* .eyebrow--plain used to opt an eyebrow out of the dash. Now that no eyebrow
   has one, the modifier is a no-op and is kept only so existing markup that
   still carries the class does not look broken. */

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
  --btn-border: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 1rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: var(--rule) solid var(--btn-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

/* The arrow slides on hover — the site's one recurring motion cue. */
.btn__arrow {
  width: 15px;
  height: 10px;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease-out);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  --btn-bg: var(--blue);
  --btn-border: var(--blue);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  --btn-bg: var(--blue-hover);
  --btn-border: var(--blue-hover);
  box-shadow: var(--shadow-blue);
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-border: var(--line-strong);
}

.btn--secondary:hover {
  --btn-border: var(--navy);
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
}

/* On dark backgrounds */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-border: var(--white);
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-border: var(--white);
}

.btn--light:hover { --btn-bg: var(--gray-100); --btn-border: var(--gray-100); }

.btn--sm { padding: 0.6875rem 1.125rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.1875rem 2.25rem; font-size: var(--fs-body); }
.btn--block { display: flex; width: 100%; }

.btn[disabled],
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-4); }

@media (max-width: 480px) {
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; }
}

/* Text link with sliding underline + arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue-ink);
}

.link-arrow svg { width: 15px; height: 10px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow span { position: relative; }

.link-arrow span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}

.link-arrow:hover span::after { transform: scaleX(1); transform-origin: left; }

/* --------------------------------------------------------------------------
   Media — the clipped-corner motif
   A single angled corner cut, echoing the angle in the Mirmax mark. Applied
   to photography and product tiles; never to text containers.
   -------------------------------------------------------------------------- */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gray-100);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--clip-corner)),
                     calc(100% - var(--clip-corner)) 100%, 0 100%);
}

.media--lg { --clip-corner: var(--clip-corner-lg); }
.media--flat { clip-path: none; }

.media img,
.media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--6x5 { aspect-ratio: 6 / 5; }
.media--11x10 { aspect-ratio: 11 / 10; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--16x9 { aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   Category card
   -------------------------------------------------------------------------- */

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}

.category-card .media { margin-bottom: var(--space-3); }

/* --- Hover photograph ----------------------------------------------------
   A second frame stacked over the first, cross-fading in on hover or keyboard
   focus. The card is an <a>, so :focus-visible matters as much as :hover —
   without it the behaviour is mouse-only and a keyboard user never sees it.

   The hover image is decorative: it shows the same category a second way, and
   the default image's alt already names it. So it carries empty alt and
   aria-hidden rather than repeating the description to a screen reader. */
/* `.media img` already declares `transition: transform ...` and outranks a
   lone class selector, so this has to be at least as specific or the opacity
   never animates — the swap snaps instead of fading. */
.media img.category-card__hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}

/* Both card shapes get the swap: .category-card is the simple link tile used
   on About, Contact and the category siblings; .catcard is the richer
   homepage card that carries its products. The homepage card was added
   later and these selectors were not extended to it, so the group photo sat
   in the markup at opacity 0 and never appeared.
   :focus-within rather than :focus-visible on .catcard — it holds several
   links rather than being one, so the frame should swap when focus reaches
   any of them. */
.category-card:hover .category-card__hover,
.category-card:focus-visible .category-card__hover,
.catcard:hover .category-card__hover,
.catcard:focus-within .category-card__hover { opacity: 1; }

/* The base image already scales on hover (see .category-card:hover .media img).
   Letting both scale at once reads as a lurch, so the outgoing frame holds
   still while the incoming one arrives. */
.category-card.has-hover-photo:hover .media img,
.catcard.has-hover-photo:hover .media img { transform: none; }

/* A cross-fade is motion. With reduced motion requested the swap still
   happens, just without the transition. */
@media (prefers-reduced-motion: reduce) {
  .category-card__hover { transition: none; }
}
.category-card:hover .media img,
.category-card:hover .media svg { transform: scale(1.045); }

.category-card__index {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  padding: var(--space-1) var(--space-3);
  background: rgba(11, 31, 63, 0.82);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  color: var(--white);
}

.category-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--fs-h3);
  /* Was inheriting --lh-body (1.65) from <body> because this is a <span>, not
     an <h*>. At 30px that is a 50px line for a one-line title. */
  line-height: var(--lh-heading);
  color: var(--navy);
  transition: color var(--dur) var(--ease-out);
}

.category-card:hover .category-card__title { color: var(--blue-ink); }

/* Blue rule that draws across on hover */
.category-card__rule {
  height: 2px;
  background: var(--line);
  margin-block: var(--space-2);
  position: relative;
  overflow: hidden;
}

.category-card__rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.category-card:hover .category-card__rule::after { transform: scaleX(1); }

.category-card__body { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; }

.category-card__cta {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
}

.category-card__cta svg { width: 14px; height: 10px; transition: transform var(--dur) var(--ease-out); }
.category-card:hover .category-card__cta svg { transform: translateX(5px); }

/* On a dark section. Every colour on this card is picked for white: the title
   is --navy, which on charcoal is almost the background itself, and
   --blue-ink is the darkened step meant for small blue text on white, so it
   goes muddy here too. Without these the card is close to invisible.
   .section--charcoal a:not(.btn) does not cover it — the card is the <a>, and
   the title, body and CTA are child elements setting their own colour. */
.section--dark .category-card__title,
.section--navy .category-card__title,
.section--charcoal .category-card__title { color: var(--white); }

.section--dark .category-card:hover .category-card__title,
.section--navy .category-card:hover .category-card__title,
.section--charcoal .category-card:hover .category-card__title { color: var(--blue-bright); }

.section--dark .category-card__body,
.section--navy .category-card__body,
.section--charcoal .category-card__body { color: rgba(255, 255, 255, 0.64); }

.section--dark .category-card__cta,
.section--navy .category-card__cta,
.section--charcoal .category-card__cta { color: var(--blue-bright); }

.section--dark .category-card__rule,
.section--charcoal .category-card__rule { background: var(--charcoal-600); }
.section--navy .category-card__rule { background: var(--navy-600); }

/* --------------------------------------------------------------------------
   Product card — tech-pack flat on a light technical field
   -------------------------------------------------------------------------- */

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: var(--rule) solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}

.product-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--gray-50);
  overflow: hidden;
  border-bottom: var(--rule) solid var(--line);
}

.product-card__media img,
.product-card__media svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-6);
  transition: transform var(--dur-slow) var(--ease-out);
}

/* A real photograph fills the window instead of sitting inside it. The
   technical flats are line drawings and need the air; a photograph with
   32px of grey around it reads as a mistake. Applied by product_card()
   only when a product-<slug> image exists, so this rule is inert until
   real product photography is dropped into src/assets/img/. */
/* Same tone the technical flats sit on, and the tone baked into the
   normalised product shots, so a card looks identical before and after its
   image has loaded. */
.product-card__media--photo {
  background: var(--gray-50);
}

.product-card__media--photo img {
  object-fit: cover;
  padding: 0;
}

.product-card:hover .product-card__media img,
.product-card:hover .product-card__media svg { transform: scale(1.04); }

.product-card__tag {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gray-500);
}

.product-card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  transition: color var(--dur) var(--ease-out);
}

.product-card:hover .product-card__name { color: var(--blue-ink); }

.product-card__desc {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-muted);
}

.product-card__foot {
  margin-top: auto;
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
}

.product-card__foot svg { width: 12px; height: 9px; transition: transform var(--dur) var(--ease-out); }
.product-card:hover .product-card__foot svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Feature tile (capabilities / why custom)
   -------------------------------------------------------------------------- */

.feature {
  padding: var(--space-6) var(--space-5) var(--space-6) 0;
  border-top: 2px solid var(--line);
  transition: border-color var(--dur) var(--ease-out);
}

.feature:hover { border-top-color: var(--blue); }

.feature__icon {
  width: 30px;
  height: 30px;
  margin-bottom: var(--space-5);
  color: var(--blue);
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.feature__body { font-size: var(--fs-sm); line-height: 1.6; color: var(--text-muted); }

.section--dark .feature,
.section--charcoal .feature { border-top-color: var(--charcoal-600); }
.section--navy .feature { border-top-color: var(--navy-600); }
.section--dark .feature__title,
.section--navy .feature__title,
.section--charcoal .feature__title { color: var(--white); }
.section--dark .feature__body,
.section--navy .feature__body,
.section--charcoal .feature__body { color: rgba(255, 255, 255, 0.64); }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}

@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }

.step { position: relative; padding-top: var(--space-6); }

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.18;
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--dur-reveal) var(--ease-out);
}

.step.is-visible::after { width: 38%; }

.step__n {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  color: var(--blue);
  margin-bottom: var(--space-4);
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.step__body { font-size: var(--fs-sm); line-height: 1.55; color: rgba(255, 255, 255, 0.6); }

/* Light variant */
.steps--light .step__title { color: var(--navy); }
.steps--light .step__body { color: var(--text-muted); }
.steps--light .step::before { background: var(--line); opacity: 1; }

/* --------------------------------------------------------------------------
   Flow strip — Idea → Development → Sampling → …
   -------------------------------------------------------------------------- */

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}

.flow__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.flow__item:last-child { color: var(--blue-bright); }

.flow__item::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.flow__item:last-child::after { display: none; }

/* --------------------------------------------------------------------------
   Spec list — bracketed technical bullets
   -------------------------------------------------------------------------- */

.spec-list { display: grid; gap: var(--space-3); }

.spec-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-muted);
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue);
}

.spec-list--check li::before {
  border: 0;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
  top: 0.5em;
}

.section--dark .spec-list li,
.section--navy .spec-list li,
.section--charcoal .spec-list li { color: rgba(255, 255, 255, 0.68); }

/* Inline chip row */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border: var(--rule) solid var(--line);
  background: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-out);
}

a.chip:hover { border-color: var(--blue); color: var(--blue-ink); background: var(--blue-wash); }

.section--dark .chip,
.section--navy .chip,
.section--charcoal .chip {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Stitch divider — a dashed rule, referencing a seam
   -------------------------------------------------------------------------- */

.stitch {
  height: 1px;
  background-image: linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
  background-size: 16px 1px;
  border: 0;
}

.stitch--dark {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 8px, transparent 8px 16px);
}

/* --------------------------------------------------------------------------
   Accent panel — the one place electric blue fills an area
   -------------------------------------------------------------------------- */

.accent-panel {
  position: relative;
  padding: var(--space-7);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.accent-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
}

.accent-panel h2,
.accent-panel h3 {
  color: var(--white);
  font-size: var(--fs-h4);
  margin-bottom: var(--space-4);
}

.accent-panel p { color: rgba(255, 255, 255, 0.72); font-size: var(--fs-sm); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Data / fact rows
   -------------------------------------------------------------------------- */

.facts { display: grid; gap: 0; }

.fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: var(--rule) solid var(--line);
}

.fact:first-child { border-top: var(--rule) solid var(--line); }

.fact__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gray-500);
}

.fact__value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   CTA section
   -------------------------------------------------------------------------- */

/* Background and text colour come from `.section--navy` in the markup. */
.cta-section { position: relative; overflow: hidden; }

.cta-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--section-y);
}

@media (max-width: 860px) {
  .cta-section__inner { grid-template-columns: 1fr; gap: var(--space-7); }
}

.cta-section h2 { font-size: var(--fs-h2); }
.cta-section__lead { margin-top: var(--space-5); color: rgba(255, 255, 255, 0.72); font-size: var(--fs-lead); }
.cta-section__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

@media (max-width: 860px) { .cta-section__actions { justify-content: flex-start; } }
@media (min-width: 861px) { .cta-section__actions { justify-content: flex-end; } }

/* Large diagonal motion element, sitting behind the content. */
.cta-section::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 46%;
  height: 180%;
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.16), rgba(0, 123, 255, 0));
  transform: skewX(-14deg);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Accordion (FAQ)
   -------------------------------------------------------------------------- */

/* Cards rather than a flat list of hairline rows. Seven questions stacked
   between full-width rules read as a table of contents; separate panels
   with their own border give each question a target and let the open one
   be visibly open — which previously only a rotating plus communicated.

   --faq-index is the width of the number column. It is declared once here
   because the trigger's grid and the answer's left padding both use it:
   that is what lines the answer up under the question instead of under
   the number. */
.accordion {
  --faq-index: 1.9rem;
  display: grid;
  gap: var(--space-3);
}

.accordion__item {
  border: var(--rule) solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.accordion__item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

/* :has() is the only way to reach the card from the state on the button
   inside it. Where it is unsupported the card simply keeps its grey
   border — the filled icon and the blue question still say it is open, so
   nothing is lost but the outline. */
.accordion__item:has(.accordion__trigger[aria-expanded="true"]) {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.accordion__trigger {
  display: grid;
  grid-template-columns: var(--faq-index) minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  transition: color var(--dur-fast) var(--ease-out);
}

.accordion__trigger:hover,
.accordion__trigger[aria-expanded="true"] { color: var(--blue-ink); }

.accordion__n {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding-top: 0.5em;
  color: var(--blue);
}

/* The plus sits in a bordered square that fills on open, so the state is
   legible at a glance instead of only in the 90deg of a rotating bar. */
.accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: var(--rule) solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--blue);
  transition: transform var(--dur) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.accordion__icon::after { transform: rotate(90deg); }

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  background: var(--blue);
  border-color: var(--blue);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }

.accordion__trigger[aria-expanded="true"] .accordion__icon::before,
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { background: var(--white); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}

.accordion__trigger[aria-expanded="true"] + .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }

.accordion__panel p {
  margin: 0;
  padding: 0 var(--space-6) var(--space-6);
  padding-left: calc(var(--space-6) + var(--faq-index) + var(--space-4));
  max-width: 68ch;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Below the index column the answer would be squeezed into a third of the
   width, so it returns to the card's own padding. */
@media (max-width: 560px) {
  .accordion { --faq-index: 0px; }
  .accordion__n { display: none; }
  .accordion__trigger { grid-template-columns: minmax(0, 1fr) auto; }
  .accordion__panel p { padding-left: var(--space-6); }
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--space-3); }

/* Light surfaces are the default. These rules used to be white-only, written
   when every breadcrumb sat on a navy .page-hero; the moment one appeared on a
   white section it was white-on-white and completely invisible. The dark
   treatment is now scoped to dark surfaces rather than assumed. */
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-ink); }
.breadcrumbs [aria-current="page"] { color: var(--navy); }

.page-hero .breadcrumbs li:not(:last-child)::after,
.hero .breadcrumbs li:not(:last-child)::after,
.section--dark .breadcrumbs li:not(:last-child)::after,
.section--navy .breadcrumbs li:not(:last-child)::after,
.section--charcoal .breadcrumbs li:not(:last-child)::after { color: rgba(255, 255, 255, 0.3); }

.page-hero .breadcrumbs a,
.hero .breadcrumbs a,
.section--dark .breadcrumbs a,
.section--navy .breadcrumbs a,
.section--charcoal .breadcrumbs a { color: rgba(255, 255, 255, 0.6); }

.page-hero .breadcrumbs a:hover,
.hero .breadcrumbs a:hover,
.section--dark .breadcrumbs a:hover,
.section--navy .breadcrumbs a:hover,
.section--charcoal .breadcrumbs a:hover { color: var(--blue-bright); }

.page-hero .breadcrumbs [aria-current="page"],
.hero .breadcrumbs [aria-current="page"],
.section--dark .breadcrumbs [aria-current="page"],
.section--navy .breadcrumbs [aria-current="page"],
.section--charcoal .breadcrumbs [aria-current="page"] { color: var(--white); }

/* --------------------------------------------------------------------------
   TODO chip — surfaces missing business data so it cannot ship silently
   -------------------------------------------------------------------------- */

.todo-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: repeating-linear-gradient(-45deg,
    transparent 0 6px, rgba(102, 112, 133, 0.06) 6px 12px);
}

.on-dark .todo-chip,
.section--dark .todo-chip,
.section--charcoal .todo-chip {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: var(--space-5); }

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: var(--space-2); }
.field--full { grid-column: 1 / -1; }

.field__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--navy);
}

.field__label .req { color: var(--blue); margin-left: 2px; }

.field__hint { font-size: var(--fs-xs); color: var(--gray-500); line-height: 1.5; }

.field__control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: var(--rule) solid var(--line-strong);
  border-radius: var(--radius);
  font-size: var(--fs-body);
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.field__control::placeholder { color: var(--gray-500); }

.field__control:hover { border-color: var(--gray-500); }

.field__control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.16);
}

textarea.field__control { min-height: 140px; resize: vertical; line-height: 1.6; }

select.field__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.75rem;
  cursor: pointer;
}

.field.has-error .field__control { border-color: var(--danger); }
.field.has-error .field__control:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.14); }

.field__error {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--danger);
}

.field.has-error .field__error { display: flex; }

/* File input */
.filefield {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--gray-50);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.filefield:hover,
.filefield.is-dragover { border-color: var(--blue); background: var(--blue-wash); }
.filefield input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.filefield__icon { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; }
.filefield__text { font-size: var(--fs-sm); color: var(--text-muted); }
.filefield__text strong { display: block; color: var(--navy); font-weight: var(--fw-semibold); }
.filefield__files { display: grid; gap: var(--space-2); font-size: var(--fs-xs); color: var(--text-muted); }

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-muted);
}

.form__consent input { margin-top: 0.25em; accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }

.field.has-error .form__consent { color: var(--danger); }
.field.has-error .form__consent input { outline: 2px solid var(--danger); outline-offset: 2px; }

/* Submit states */
.form__status { display: none; padding: var(--space-5); border-radius: var(--radius); font-size: var(--fs-sm); }
.form__status.is-shown { display: block; }
.form__status--error { background: var(--danger-bg); color: var(--danger); border-left: 3px solid var(--danger); }
.form__status--success { background: var(--success-bg); color: var(--success); border-left: 3px solid var(--success); }
.form__status--info { background: var(--blue-wash); color: var(--blue-ink); border-left: 3px solid var(--blue); }
.form__status strong { display: block; margin-bottom: var(--space-2); }

.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0.6; }

.spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 640ms linear infinite;
}

.btn.is-loading .spinner { display: block; }
.btn.is-loading .btn__arrow { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   HOMEPAGE CATEGORY CARD (full)
   Carries its products, so the homepage states each category once instead of
   listing the three twice. Structurally an <article> with several links
   rather than one wrapping <a> — product names are links, and anchors do not
   nest.
   -------------------------------------------------------------------------- */

.catcard {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
}

.catcard:hover,
.catcard:focus-within { border-color: rgba(255, 255, 255, 0.3); }

.catcard__media { display: block; text-decoration: none; }
.catcard__media .media { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.catcard:hover .catcard__media .media img { transform: scale(1.04); }

.catcard__body {
  padding: var(--space-5);
  /* Takes the slack so every card's call to action lines up across the row,
     whatever the product list length. */
  flex: 1 1 auto;
}

.catcard__title { margin: 0; font-size: var(--fs-h4); line-height: var(--lh-heading); }
.catcard__title a { color: var(--white); text-decoration: none; }
.catcard__title a:hover { color: var(--blue-bright); }

.catcard__short {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.64);
}

.catcard__label {
  margin: var(--space-6) 0 var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

/* Two columns where there is room. Product names are short, so a single
   column wastes half the card and makes eight items look like a catalogue. */
.catcard__products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-1) var(--space-4);
}

@media (max-width: 420px) {
  .catcard__products { grid-template-columns: minmax(0, 1fr); }
}

.catcard__product {
  display: block;
  padding-block: var(--space-1);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}

.catcard__product:hover { color: var(--blue-bright); }

.catcard__more { grid-column: 1 / -1; margin-top: var(--space-2); }

.catcard__more a {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.catcard__more a:hover { color: var(--blue-bright); }

.catcard__cta {
  margin: 0 var(--space-5) var(--space-5);
  color: var(--blue-bright);
}

@media (prefers-reduced-motion: reduce) {
  .catcard, .catcard__product { transition: none; }
  .catcard:hover .catcard__media .media img { transform: none; }
}

/* --------------------------------------------------------------------------
   BREADCRUMB BAR
   One band, used by every subpage and nothing else. components.breadcrumbs()
   returns the whole thing — nav, container and list — so a template drops it
   in as a sibling before its first section rather than nesting it inside one.

   It used to be a list placed inside whatever surface the page opened with,
   which is why it was white-on-navy on a product page and grey-on-white on a
   service page. The bar owns its own surface now, so it is identical
   everywhere.

   The header is fixed and takes no space in the flow, so the bar carries the
   clearance for it. Whatever follows must therefore NOT carry it again, which
   is what the sibling rules at the end of this block undo.
   -------------------------------------------------------------------------- */

.crumbbar {
  background: var(--gray-50);
  border-bottom: var(--rule) solid var(--line);
  padding-top: var(--header-h);
}

.crumbbar .container {
  display: flex;
  align-items: center;
  min-height: 70px;
}

.crumbbar .breadcrumbs {
  gap: var(--space-2);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.crumbbar .breadcrumbs li { gap: var(--space-2); }

/* A drawn chevron rather than the slash this used to set in content. Two
   borders on a rotated box stay crisp at any size and take the surrounding
   colour, which a glyph at this size does not. */
.crumbbar .breadcrumbs li:not(:last-child)::after {
  content: "";
  width: 0.34em;
  height: 0.34em;
  border-top: 1.5px solid var(--line-strong);
  border-right: 1.5px solid var(--line-strong);
  transform: rotate(45deg);
  margin-left: 0.2em;
}

.crumbbar .breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.crumbbar .breadcrumbs a:hover { color: var(--blue-ink); }

.crumbbar .breadcrumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 560px) {
  .crumbbar .container { min-height: 60px; }
  .crumbbar .breadcrumbs { font-size: 0.625rem; }
}

/* The bar now carries the fixed header's clearance, so the band below it
   keeps only its own breathing room. Without these, every page that opens
   on a hero would be pushed down by a second full header height. */
.crumbbar + .page-hero,
.crumbbar + article .page-hero {
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.crumbbar + .edi-hero { padding-top: var(--space-8); }

.crumbbar + .section--first {
  padding-top: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
}

/* The old spacing under a breadcrumb that sat inside a hero. Nothing nests
   it there any more, so it would only add a gap below the bar's own list. */
.crumbbar .breadcrumbs { margin-bottom: 0; }

/* ---------- pages.css ---------- */
/* ==========================================================================
   PAGES â€” hero, and the composed layouts that only appear once or twice
   ========================================================================== */

/* --------------------------------------------------------------------------
   HOMEPAGE HERO
   Dark navy field, faint pattern-cutting grid, one large skewed blue motion
   element, and an annotated product visual. The annotations do the heavy
   lifting: they say "you specify this" without a sentence of copy.
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
  overflow: hidden;
  /* Tightened so the whole hero clears a single viewport, including a
     1366x768 laptop. Was header + 96px top and 112px bottom. */
  padding-top: calc(var(--header-h) + clamp(1.5rem, 0.8rem + 2.6vw, 3.5rem));
  padding-bottom: clamp(2.25rem, 1.3rem + 2.6vw, 3.5rem);
  /* No negative pull-up: the header is fixed and takes no space in flow. */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 22, 51, 0.7) 100%),
    linear-gradient(115deg, var(--navy) 0%, var(--navy) 45%, var(--navy-900) 100%);
  pointer-events: none;
}

/* Pattern-cutting grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 40%, #000 10%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 80% at 30% 40%, #000 10%, transparent 90%);
  pointer-events: none;
}

.hero__motion {
  position: absolute;
  top: -30%;
  right: -6%;
  width: 52%;
  height: 170%;
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.22) 0%, rgba(0, 123, 255, 0.02) 70%, transparent 100%);
  transform: skewX(-13deg);
  pointer-events: none;
  z-index: 1;
}

.hero__motion::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--blue) 35%, transparent);
}

/* Single-column hero: the diagonal would run straight through the headline,
   so it retreats to the edge and loses its hard leading line. */
@media (max-width: 1000px) {
  .hero__motion { right: -28%; width: 62%; opacity: 0.5; }
  .hero__motion::after { display: none; }
}

.hero .container { position: relative; z-index: 2; }

/* The right column is sized BY the visual rather than the visual being poured
   into a fractional column. The square is height-capped (see .hero__visual), so
   a 0.94fr track was always wider than the square itself â€” leaving ~55px of dead
   navy between the video's right edge and the container, and the video floating
   short of the edge it should be flush with. `auto` collapses the track onto the
   square, which puts the video hard against the container and hands the leftover
   width to the headline column. */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
}

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* .eyebrow is navy by default, which is unreadable on the hero's dark
   field; the blue accent is the same treatment the eyebrows on the other
   dark sections use. margin-top: 0 because the headline below already
   carries the gap. */
.hero__eyebrow { color: var(--blue-bright); }

.hero__headline {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--white);
  margin-top: var(--space-5);
  text-transform: uppercase;
}

.hero__headline span { display: block; }
.hero__headline .accent { color: var(--blue); }

.hero__lead {
  margin-top: var(--space-5);
  max-width: 48ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
}

.hero__actions { margin-top: var(--space-6); }

.hero__meta {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--navy-600);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-7);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.hero__meta span { display: inline-flex; align-items: center; gap: var(--space-3); }

.hero__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--blue);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- Annotated hero visual --- */

/* The visual is square, so on a short, wide screen its height is set by its
   width and it alone can push the hero past one viewport. Both caps exist for
   that reason: 60vh keeps the square inside the vertical budget (hero padding
   is header + ~56px top and ~56px bottom, so 60vh clears a 1366x768 laptop with
   room to spare), and 46vw stops it eating the headline column on a tall,
   narrow window where 60vh would otherwise win. */
.hero__visual {
  position: relative;
  width: min(60vh, 46vw);
}

/* The visual lives outside .container now (see index.html), so below the
   desktop breakpoint it has to reproduce the container's side gutter itself
   or it would run edge to edge while the headline above it stays inset. */
@media (max-width: 1000px) {
  .hero__visual {
    width: auto;
    margin-inline: var(--gutter);
    margin-top: var(--space-8);
  }
}

.hero__visual .media {
  --clip-corner: var(--clip-corner-lg);
  aspect-ratio: 4 / 3;
  background: var(--navy-700);
  box-shadow: var(--shadow-lg);
}

/* Square hero video.
   The source footage is 720x1280 portrait. Rather than re-encoding it, the
   square crop is done here: a 1:1 box with object-fit: cover, and the window
   pulled slightly above centre so the needle and the stitch point sit in the
   middle of the frame rather than drifting to the bottom edge. */
.hero__visual .media.hero__video {
  aspect-ratio: 1 / 1;
  background: var(--navy-900);
}

.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* The footage is lit much brighter than the placeholder it replaced, so the
   annotation markers were starting to float on near-white frames. A navy scrim
   keeps them readable whatever frame is on screen and ties the video into the
   hero rather than leaving it as a bright square cut out of a dark field.

   It has been lightened twice. It began as a flat 28â€“55% wash over the whole
   frame; then it became directional, weighted at the bottom and down the left
   band where the annotation markers sat. Those markers are gone, and the only
   job left is seating the video in the navy field and keeping the clipped
   bottom-right corner legible â€” so the left band has gone with them and the
   bottom is softer. The footage itself is now essentially unobstructed.

   The first layer is a 2px blue edge, echoing the leading line in
   .hero__motion. It stacks here rather than as an inset box-shadow because the
   <video> fills the box and would paint straight over an inset shadow. */
.hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--blue) 0 2px, transparent 2px),
    linear-gradient(to top,
      rgba(7, 22, 51, 0.42) 0%,
      rgba(7, 22, 51, 0.08) 38%,
      rgba(7, 22, 51, 0) 62%);
  pointer-events: none;
}

/* Imagery on a dark field needs its own edge or it dissolves into the
   background. Applies to every dark surface, not just the homepage hero. */
.hero .media,
.page-hero .media,
.section--dark .media,
.section--navy .media,
.section--charcoal .media {
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

/* The .hero__marker annotation chips (Fabric / Fit / Branding), their pulsing
   blue dots and the `pulse` keyframes lived here. All removed with the markup
   in index.html â€” nothing else on the site used them. */

/* --------------------------------------------------------------------------
   PAGE HERO â€” inner pages
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 4.5rem));
  padding-bottom: clamp(3rem, 1.8rem + 4.5vw, 5.5rem);
  /* No negative pull-up: the header is fixed and takes no space in flow. */
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy) 55%, var(--navy-900) 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 46%;
  height: 180%;
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.18), transparent 70%);
  transform: skewX(-13deg);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 62ch; }
.page-hero .breadcrumbs { margin-bottom: var(--space-7); }
/* Same breathing room when a breadcrumb leads a plain section instead. */
.section--first .breadcrumbs { margin-bottom: var(--space-6); }
.page-hero h1 { color: var(--white); margin-top: var(--space-5); text-transform: uppercase; }
.page-hero h1 .accent { color: var(--blue); }

.page-hero__lead {
  margin-top: var(--space-6);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 58ch;
}

.page-hero__actions { margin-top: var(--space-7); }

.page-hero--split .page-hero__inner { max-width: none; }

.page-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

@media (max-width: 940px) { .page-hero__split { grid-template-columns: 1fr; } }

.page-hero__split .media { --clip-corner: var(--clip-corner-lg); box-shadow: var(--shadow-lg); }

/* --------------------------------------------------------------------------
   TRUST / EXPERIENCE
   -------------------------------------------------------------------------- */

.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: start;
}

@media (max-width: 900px) { .trust__grid { grid-template-columns: 1fr; } }

.trust__since {
  font-family: var(--font-display);
  /* Sized so the longest word ("MANUFACTURING") clears its column at every
     breakpoint â€” it cannot wrap, so the type has to fit. */
  font-size: clamp(2.125rem, 1.25rem + 3.5vw, 4.25rem);
  font-weight: var(--fw-black);
  line-height: 0.94;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--navy);
  margin-top: var(--space-5);
  text-wrap: normal;
}

.trust__since em { font-style: normal; color: var(--blue); display: block; }

.trust__body > p { color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.65; }
.trust__body > p + p { margin-top: var(--space-5); }

.trust__pillars {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 760px) { .trust__pillars { grid-template-columns: 1fr; gap: var(--space-5); } }

/* --------------------------------------------------------------------------
   CONCEPT â†’ PRODUCT â€” removed
   -------------------------------------------------------------------------- */

/* The .concept rules lived here. The homepage section they styled ("From
   concept to product") has been removed and nothing else used them, so they
   are gone rather than left to ship in the bundle on every page.

   The .flow strip they contained is still defined in components.css and
   flow_strip() still renders, because neither is specific to that section â€”
   drop {{ flow_strip }} into any page and it works. */

/* --------------------------------------------------------------------------
   QUALITY MOSAIC â€” asymmetric editorial grid
   -------------------------------------------------------------------------- */

.quality__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.quality__text { grid-column: span 5; position: sticky; top: calc(var(--header-h) + var(--space-6)); }
.quality__mosaic { grid-column: span 7; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.quality__mosaic .media:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 9; }
.quality__mosaic .media:nth-child(4) { grid-column: span 2; aspect-ratio: 16 / 9; }

@media (max-width: 1000px) {
  /* Collapse the track list, not just the spans. Leaving twelve columns in
     place means eleven 24px gaps â€” more than a phone viewport is wide â€” so the
     grid overflowed horizontally. */
  .quality__grid { grid-template-columns: 1fr; }
  .quality__text,
  .quality__mosaic { grid-column: auto; }
  .quality__text { position: static; margin-bottom: var(--space-7); }
}

.quality__checks { margin-top: var(--space-7); }

/* --------------------------------------------------------------------------
   BUILT FOR BRANDS
   -------------------------------------------------------------------------- */

.brandfit {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-7) var(--space-6);
  background: var(--white);
  border: var(--rule) solid var(--line);
  border-top: 3px solid var(--navy);
  transition: border-top-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.brandfit:hover { border-top-color: var(--blue); box-shadow: var(--shadow); }

.brandfit__kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: var(--space-5);
}

.brandfit__title { font-size: var(--fs-h4); color: var(--navy); margin-bottom: var(--space-4); }
.brandfit__body { font-size: var(--fs-sm); line-height: 1.65; color: var(--text-muted); margin-bottom: var(--space-6); }
.brandfit .spec-list { margin-top: auto; }

/* --------------------------------------------------------------------------
   THE RANGE â€” pinned horizontal gallery

   The section runs taller than the viewport. An inner wrapper pins to the top
   of the screen and the track of category cards translates sideways, so
   scrolling down walks you along the range. rangewalk.js measures the real
   track width and sets both the section height and the translation, so one
   pixel of vertical scroll is one pixel of horizontal travel.

   The base state below is deliberately the NON-pinned one: a horizontally
   scrollable row with snap points. That is what a visitor gets with no
   JavaScript, on a touch screen, or if the script fails â€” same cards, same
   order, driven by their own swipe. Pinning is layered on top via .is-pinned.
   -------------------------------------------------------------------------- */

.rangewalk { position: relative; }

.rangewalk__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  /* Momentum scrolling on iOS, and a thin scrollbar rather than a chunky one
     sitting under the cards on desktop. */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.rangewalk__track {
  display: flex;
  gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  /* Aligns the first card with the container above and lets the last one clear
     the right edge. */
  padding-inline: var(--gutter);
  width: max-content;
}

/* --- Pinned state (JavaScript only) ----------------------------------- */

/* Height is set inline by rangewalk.js from the measured track width; this is
   only the floor so the section never collapses mid-measurement. */
.rangewalk.is-pinned { min-height: 100vh; }

.rangewalk.is-pinned .rangewalk__pin {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  overflow: hidden;
}

/* Once the track is driven by transform, its own scrolling has to stop or the
   two fight each other. */
.rangewalk.is-pinned .rangewalk__viewport {
  overflow: hidden;
  scroll-snap-type: none;
}

.rangewalk.is-pinned .rangewalk__track {
  will-change: transform;
}

/* --- Progress bar ------------------------------------------------------ */

.rangewalk__progress {
  display: none;
  height: 2px;
  margin-inline: var(--gutter);
  background: var(--line);
  overflow: hidden;
  flex-shrink: 0;
}

/* Only meaningful while the page is driving the track. */
.rangewalk.is-pinned .rangewalk__progress { display: block; }

.rangewalk__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
}

/* --- Card --------------------------------------------------------------- */

.rangecard {
  flex: 0 0 auto;
  width: clamp(260px, 76vw, 860px);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 0.8rem + 1.8vw, 2.5rem);
  align-items: start;
  padding: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
  background: var(--white);
  border: var(--rule) solid var(--line);
  border-radius: var(--radius);
}

.rangecard__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--clip-corner)),
                     calc(100% - var(--clip-corner)) 100%, 0 100%);
}

.rangecard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rangecard__n {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  color: var(--blue-ink);
  margin-bottom: var(--space-2);
}

.rangecard__title { font-size: var(--fs-h3); line-height: var(--lh-heading); margin-bottom: var(--space-3); }
.rangecard__title a { color: var(--navy); text-decoration: none; }
.rangecard__title a:hover { color: var(--blue-ink); }

.rangecard__short {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.rangecard__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gray-500);
  padding-bottom: var(--space-3);
  border-bottom: var(--rule) solid var(--line);
  margin-bottom: var(--space-3);
}

/* Two columns because Running carries thirteen products; one column would set
   the card's height by its longest list and leave the other two half empty. */
.rangecard__list {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  columns: 2;
  column-gap: var(--space-5);
  font-size: var(--fs-sm);
}

.rangecard__list li { break-inside: avoid; padding-block: 3px; }
.rangecard__list a { color: var(--text-muted); text-decoration: none; }
.rangecard__list a:hover { color: var(--blue-ink); }

.rangecard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-top: var(--space-4);
  border-top: var(--rule) solid var(--line);
}

/* --- Narrow screens ----------------------------------------------------- */

/* No pinning below this: taking over vertical scroll on a touch screen fights
   the gesture people are already using to read the page. The base swipe-able
   row is both the fallback and the better experience here, so .is-pinned is
   neutralised rather than the markup changed. */
@media (max-width: 900px) {
  .rangewalk.is-pinned { min-height: 0; height: auto !important; }
  .rangewalk.is-pinned .rangewalk__pin { position: static; height: auto; overflow: visible; }
  .rangewalk.is-pinned .rangewalk__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
  .rangewalk.is-pinned .rangewalk__track { transform: none !important; }
  .rangewalk.is-pinned .rangewalk__progress { display: none; }
  .rangecard { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .rangecard__list { columns: 1; }
}

/* Translating the track is the whole effect, so with reduced motion requested
   the pin is dropped entirely and the row goes back to being swipe-able. */
@media (prefers-reduced-motion: reduce) {
  .rangewalk.is-pinned { min-height: 0; height: auto !important; }
  .rangewalk.is-pinned .rangewalk__pin { position: static; height: auto; overflow: visible; }
  .rangewalk.is-pinned .rangewalk__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
  .rangewalk.is-pinned .rangewalk__track { transform: none !important; }
  .rangewalk.is-pinned .rangewalk__progress { display: none; }
}

/* --------------------------------------------------------------------------
   PROCESS PAGE â€” vertical timeline
   -------------------------------------------------------------------------- */

.process-toc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
}

.process-toc a {
  display: inline-flex;
  align-items: baseline;
  padding: var(--space-3) var(--space-4);
  border: var(--rule) solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-out);
}

.process-toc a:hover,
.process-toc a.is-current {
  border-color: var(--blue);
  color: var(--blue-ink);
  background: var(--blue-wash);
}

.timeline__item { scroll-margin-top: calc(var(--header-h) + var(--space-6)); }

.timeline { display: grid; gap: 0; }

.timeline__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 0.8fr);
  gap: var(--space-6);
  padding-block: var(--space-8);
  border-top: var(--rule) solid var(--line);
  position: relative;
}

.timeline__item:last-child { border-bottom: var(--rule) solid var(--line); }

@media (max-width: 860px) {
  .timeline__item { grid-template-columns: 1fr; gap: var(--space-5); padding-block: var(--space-7); }
}

.timeline__n {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-weight: var(--fw-regular);
  line-height: 1;
  color: var(--gray-300);
  transition: color var(--dur) var(--ease-out);
}

.timeline__item:hover .timeline__n { color: var(--blue); }

.timeline__title { font-size: var(--fs-h3); color: var(--navy); margin-bottom: var(--space-4); }
.timeline__lead { font-size: var(--fs-lead); color: var(--navy); font-weight: var(--fw-medium); margin-bottom: var(--space-4); }
.timeline__body { color: var(--text-muted); line-height: 1.7; max-width: 60ch; }
.timeline__points { padding-top: var(--space-2); }

/* --------------------------------------------------------------------------
   KEY FIGURES â€” homepage section 05

   Five stat cards: figure, label, one line of context. No carousel â€” five fit
   on a desktop row and reflow to three, two and one. A carousel would hide
   figures behind an arrow nobody presses, which is the opposite of the point.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   COMPANY OVERVIEW â€” homepage section 05

   Replaced the five-card statistics band. Deliberately quieter than .stat
   below: a navy rule and a short value rather than a filled card and an
   oversized blue numeral. These are business details, not achievements, and
   setting them like scoreboard figures is what made the band they replace
   read as advertising. Same construction as .fabitem, so it is a treatment
   the site already uses rather than a new one.
   -------------------------------------------------------------------------- */

.glanceband {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}

@media (max-width: 1000px) { .glanceband { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .glanceband { grid-template-columns: minmax(0, 1fr); } }

.glance { border-top: 2px solid var(--navy); padding-top: var(--space-5); }

.glance__value {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  /* Well below the old .stat__value. The longest value is a seven-letter
     word, not a four-digit figure, and at display size it would set the
     company's location as the loudest thing on the page. */
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  line-height: 1;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--navy);
}

.glance__label {
  margin: var(--space-4) 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
}

.glance__body {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

/* .statband, .stat and their unfilled-card states lived here. The homepage
   figures band was their only caller and it has been replaced by .glanceband
   above, so the rules went with it rather than staying in the bundle that
   every page downloads. They are in git history if a figures band is ever
   wanted again. */

/* Placeholder for a section whose real content has not been supplied yet.
   Styled to be obviously unfinished â€” this must never be mistaken for a
   designed state or quietly shipped. */
.todo-block {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  max-width: 68ch;
}

.todo-block__title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.todo-block__body { color: var(--text-muted); line-height: 1.7; }

.todo-block__path {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   SUSTAINABILITY

   Navy, charcoal, white and electric blue throughout â€” the same system as the
   rest of the site. No green anywhere: a sustainability page that changes
   palette stops looking like the company it belongs to, and on a B2B
   manufacturer's site that reads as a bolt-on campaign rather than a position.
   -------------------------------------------------------------------------- */

/* --- Hero: stacked technical crops, not a landscape ---------------------- */

.sus-hero__visual { position: relative; }

.sus-hero__visual .media--lg { --clip-corner: var(--clip-corner-lg); }

/* A second, smaller crop overlapping the first â€” fabric macro plus stitch
   detail says "material decisions" far better than one wide image. */
.sus-hero__inset {
  position: absolute;
  left: calc(var(--space-7) * -1);
  bottom: calc(var(--space-7) * -1);
  width: 54%;
  border: 3px solid var(--navy);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1000px) {
  .sus-hero__inset { position: static; width: 100%; margin-top: var(--space-4); border: 0; box-shadow: none; }
}

/* --- Step flow: Materials -> Design -> Manufacturing -> ... --------------- */

.stepflow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stepflow__item { display: inline-flex; align-items: center; gap: var(--space-6); color: var(--navy); }

/* The arrow is drawn, not typed, so a wrapped line never ends in one pointing
   at nothing â€” and screen readers do not announce a stray character. */
.stepflow__item:not(:last-child)::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  flex-shrink: 0;
}

.section--navy .stepflow__item,
.section--charcoal .stepflow__item { color: rgba(255, 255, 255, 0.82); }
.section--navy .stepflow__item:not(:last-child)::after { background: var(--navy-600); }
.section--charcoal .stepflow__item:not(:last-child)::after { background: var(--charcoal-600); }

.stepflow__item:last-child span { color: var(--blue-ink); }
.section--navy .stepflow__item:last-child span,
.section--charcoal .stepflow__item:last-child span { color: var(--blue-bright); }

/* Vertical variant for the partnership column. */
.stepflow--stacked { flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.stepflow--stacked .stepflow__item { flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.stepflow--stacked .stepflow__item:not(:last-child)::after { width: 1px; height: 22px; }

/* --- Pillars: the services stepper, reused ------------------------------- */

/* The pillars render as .phases, so they inherit that layout, the pinned
   visual, the dimming and the tab strip. Only the two differences live here. */

/* A pillar's heading is a step inside the page, not a section of its own, so
   it sits one level down from the services phase titles. */
.phases--pillars .phase__title { font-size: var(--fs-h3); }

/* The qualifier that keeps a capability from reading as a claim. Styled as a
   footnote rather than a disclaimer box: present, not defensive. */
.phase__note {
  margin-top: var(--space-5);
  padding-left: var(--space-4);
  border-left: 2px solid var(--line-strong);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}



/* --- Partnership ---------------------------------------------------------- */

.partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 1.2rem + 3vw, 4.5rem);
  align-items: start;
}

.partner__flow {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
}

@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } }

/* --- Certifications ------------------------------------------------------- */

.certs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
}

.cert {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--white);
  border: var(--rule) solid var(--line);
  border-radius: var(--radius);
  /* The one place on the site where a blue edge is doing semantic work rather
     than decoration: it marks a verified credential. */
  border-top: 3px solid var(--blue);
}

/* Typographic stand-in, not the official mark â€” see cert_badge() in
   graphics.py. Sized so that licensed artwork, which is usually squarer and
   lighter, drops in without the card reflowing. */
.cert__badge {
  display: block;
  margin: calc(-1 * clamp(1.25rem, 1rem + 1vw, 1.75rem));
  margin-bottom: var(--space-5);
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--navy-900);
}

.cert__badge img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cert__name {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

/* The scope line lives on the badge, so the card below carries only the full
   name and the explanation â€” printing it in both places read as a stutter. */
.cert__name {
  padding-bottom: var(--space-3);
  border-bottom: var(--rule) solid var(--line);
  margin-bottom: var(--space-4);
}

.cert__body { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.65; }

/* GRS and GOTS only. Says "we can make this to the standard", not "everything
   we make is". Pinned to the bottom so it reads as a condition on the card. */
.cert__flag {
  align-self: flex-start;
  margin-top: auto;
  padding: var(--space-2) var(--space-3);
  background: var(--blue-wash);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
}

.cert__flag { margin-top: var(--space-5); }

.certs__note {
  margin-top: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  padding-left: var(--space-4);
  border-left: 2px solid var(--line-strong);
  max-width: 72ch;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Certification strip (footer, homepage) ------------------------------- */

.certstrip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certstrip li { display: inline-flex; align-items: center; gap: var(--space-5); }

/* Separator drawn in the gap, so a wrapped line never ends in a stray rule. */
.certstrip li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

.certstrip__name { color: var(--navy); }

.certstrip__note {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

.home-certs {
  margin-top: clamp(2rem, 1.4rem + 2vw, 3rem);
  padding-top: var(--space-6);
  border-top: var(--rule) solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-7);
}

.home-certs__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gray-500);
}

.home-certs__link { margin-left: auto; }

@media (max-width: 760px) {
  .home-certs__link { margin-left: 0; }
}

/* --- Transparency --------------------------------------------------------- */

.tmarks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.tmark {
  padding: var(--space-2) var(--space-4);
  border: var(--rule) solid var(--charcoal-600);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-bright);
}

/* What is claimed, and what is not. The two-column split is the point: a list
   of only the positives reads like every other sustainability page. */
.claims {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) clamp(2rem, 1rem + 3vw, 4rem);
}

@media (max-width: 860px) { .claims { grid-template-columns: 1fr; } }

.claim {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding-block: var(--space-4);
  border-top: var(--rule) solid var(--charcoal-600);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.claim__mark {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}

.claim--is .claim__mark { color: var(--blue); }
.claim--isnt .claim__mark { color: var(--gray-500); }

/* A tick for what is offered, a bar for what is not. Shape as well as colour,
   so the distinction survives a greyscale print or colour-blind vision. */
.claim--is .claim__mark::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 8px;
  height: 4px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.claim--isnt .claim__mark::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 8px;
  height: 2px;
  background: currentColor;
}

.claim--isnt .claim__text { color: rgba(255, 255, 255, 0.58); }

/* --------------------------------------------------------------------------
   SERVICES â€” scroll-synced phase stepper

   One visual pinned beside a scrolling column of phases. The visual holds all
   eight frames stacked on top of each other and cross-fades between them;
   phases.js sets .is-active on whichever phase is nearest the middle of the
   viewport, and on the matching frame and tab.

   Everything below degrades: without JavaScript .is-enhanced is never added,
   so no phase is dimmed and the first frame stays visible. A visitor with no
   JS reads a plain, fully legible list.
   -------------------------------------------------------------------------- */

.phases { position: relative; }

/* --- Tab strip -------------------------------------------------------- */

.phases__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
  padding-bottom: var(--space-5);
  border-bottom: var(--rule) solid var(--line);
}

.phases__tab {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: var(--rule) solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.phases__tab:hover { color: var(--navy); border-color: var(--line-strong); }

.phases__tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.phases__tab-n { color: var(--blue-ink); font-weight: var(--fw-medium); }
.phases__tab.is-active .phases__tab-n { color: var(--blue-bright); }

/* The label is the useful part on a wide screen and the thing that makes the
   strip wrap to three rows on a narrow one, so below 700px only the number
   survives and the strip stays a single compact row. */
@media (max-width: 700px) {
  .phases__tab-label { display: none; }
  .phases__tab { padding: var(--space-3); }
}

/* --- Layout ------------------------------------------------------------ */

.phases__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}

/* --- Pinned visual ----------------------------------------------------- */

.phases__visual {
  position: sticky;
  /* Clears the fixed header, plus a little air. */
  top: calc(var(--header-h) + var(--space-5));
}

.phases__stack {
  position: relative;
  /* Capped against viewport height as well as ratio: a tall sticky panel that
     does not fit between the header and the fold cannot be read at all. */
  height: min(62vh, 560px);
  background: var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--clip-corner-lg)),
                     calc(100% - var(--clip-corner-lg)) 100%, 0 100%);
}

.phases__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}

/* No-JS / pre-JS state: show the first frame so the panel is never empty. */
.phases__frame:first-child { opacity: 1; }
.phases.is-enhanced .phases__frame { opacity: 0; }
.phases.is-enhanced .phases__frame.is-active { opacity: 1; }

.phases__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phases__meta {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5) var(--space-5);
  /* The frame's bottom-right corner is cut away by --clip-corner-lg. The clip
     removes everything whose distance from the right edge plus its distance
     from the bottom edge is under that figure, so the tag â€” 24px in and 16px
     up, totalling 40 against a 56px cut â€” was being sliced diagonally. Padding
     the right edge out to the full corner size clears the diagonal, and it is
     written in terms of the token so it stays correct if the cut changes. */
  padding-right: var(--clip-corner-lg);
  /* Gradient rather than a flat bar: the caption stays readable over a light
     frame without boxing off the bottom of the image. */
  background: linear-gradient(to top, rgba(7, 22, 51, 0.88), rgba(7, 22, 51, 0));
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phases__counter { color: rgba(255, 255, 255, 0.62); }
.phases__tag { color: var(--white); }

.phases__progress {
  height: 2px;
  margin-top: var(--space-5);
  background: var(--line);
  overflow: hidden;
}

.phases__progress span {
  display: block;
  height: 100%;
  width: 12.5%;          /* 1 of 8 before JS runs */
  background: var(--blue);
  transform-origin: left;
  transition: width var(--dur-slow) var(--ease-out);
}

/* --- Phase blocks ------------------------------------------------------ */

.phases__list { list-style: none; margin: 0; padding: 0; }

.phase {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  scroll-margin-top: calc(var(--header-h) + var(--space-6));
  border-top: var(--rule) solid var(--line);
}

.phase:first-child { border-top: 0; padding-top: 0; }

/* Dimming is opt-in via .is-enhanced, so no-JS visitors see every phase at
   full contrast rather than eight faded ones. */
.phases.is-enhanced .phase {
  opacity: 0.4;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.phases.is-enhanced .phase.is-active { opacity: 1; }

.phase__n {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: var(--space-4);
}

.phase__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.phase__lead {
  font-size: var(--fs-lead);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.phase__body {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.phase__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

/* --- Narrow screens ----------------------------------------------------- */

/* Below this the two columns cannot both earn their width, and a sticky panel
   on a single-column page just follows you down the screen covering the text
   it is meant to illustrate. So the pin is released and the visual becomes a
   normal banner at the top of the list. */
@media (max-width: 900px) {
  .phases__layout { grid-template-columns: 1fr; gap: var(--space-7); }
  .phases__visual { position: static; }
  .phases__stack { height: clamp(220px, 46vw, 360px); }
  .phase:first-child { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: var(--rule) solid var(--line); }
  /* Dimming a phase you cannot compare against its neighbours is just low
     contrast, so on one column every block stays fully legible. */
  .phases.is-enhanced .phase { opacity: 1; }
}

@media (max-width: 560px) {
  .phase__title { font-size: var(--fs-h3); }
}

/* The cross-fade and the dim are both motion. With reduced motion requested
   they still switch, just instantly. */
@media (prefers-reduced-motion: reduce) {
  .phases__frame,
  .phases.is-enhanced .phase,
  .phases__progress span { transition: none; }
}

/* --------------------------------------------------------------------------
   PRODUCT DETAIL
   -------------------------------------------------------------------------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}

@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }

/* The main shot and its close-ups travel together, so the sticky
   behaviour moved up from .product__media onto this wrapper. */
.product__gallery {
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
  display: grid;
  /* Explicit, and minmax(0,â€¦): left implicit, the column is sized by its
     content, and the thumbnail row's own 1fr tracks blow it 10px past the
     wrapper â€” both children then hang over the right edge together. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  align-content: start;
}

@media (max-width: 900px) { .product__gallery { position: static; } }

.product__media {
  position: relative;
  background: var(--gray-50);
  border: var(--rule) solid var(--line);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 1rem + 3vw, 4rem);
}

.product__media img,
.product__media svg { width: 100%; height: 100%; object-fit: contain; }

/* A composed front-and-back shot is landscape and already carries its own
   white field, so it takes the file's own proportion and a thin margin
   rather than the drawing's 4:5 window and heavy padding. */
.product__media--wide {
  aspect-ratio: 900 / 690;
  background: var(--white);
  padding: var(--space-4);
}

/* The portrait grid shot already fills a 4:5 frame edge to edge. */
.product__media--shot { padding: 0; }
.product__media--shot img { object-fit: cover; }

/* grid-auto-flow rather than a column count: the row divides evenly
   whether a product has two close-ups or three. */
.product__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.product__thumbs li { margin: 0; }

.product__thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  background: var(--gray-50);
  border: var(--rule) solid var(--line);
}

/* The front-and-back shot is landscape and already has its own white
   field; cropped to 6:5 like the close-ups it loses both garments' hems. */
.product__thumb--contain {
  object-fit: contain;
  background: var(--white);
  padding: var(--space-2);
}

.product__media-note {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.product__title { font-size: var(--fs-h1); color: var(--navy); margin-block: var(--space-4) var(--space-5); text-transform: uppercase; }
.product__desc { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted); }

.product__note {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--blue-wash);
  border-left: 3px solid var(--blue);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--navy);
}

.product__options { margin-top: var(--space-8); display: grid; gap: var(--space-6); }

.product__option-group { border-top: var(--rule) solid var(--line); padding-top: var(--space-5); }

.product__option-title {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.product__option-link {
  display: inline-block;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
  text-decoration: none;
}

.product__option-link:hover { text-decoration: underline; }

.product__actions { margin-top: var(--space-8); }

/* --- What you specify ------------------------------------------------------
   The per-garment block. auto-fit rather than a fixed column count so the
   five items reflow to 3+2, 2+2+1 and 1 per row without a media query, and
   so a garment given four or six items still fills the row.
   -------------------------------------------------------------------------- */
.product__spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-6) var(--gutter);
}

/* Every garment carries five items. Left to auto-fit, a wide screen gives
   four columns and strands the fifth alone on a second row; three columns
   land it as 3 + 2, which reads as a deliberate block. */
@media (min-width: 1100px) {
  .product__spec { grid-template-columns: repeat(3, 1fr); }
}

/* Cards rather than loose text under a rule. The section sits on the
   light grey band, so white carries them, and the number is the only
   thing added â€” no icon and no coloured block standing in for the
   photograph this section is still waiting for. */
.product__spec-item {
  background: var(--white);
  border: var(--rule) solid var(--line);
  border-top: 2px solid var(--navy);
  padding: var(--space-5);
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.product__spec-item:hover {
  border-color: var(--line-strong);
  border-top-color: var(--navy);
  box-shadow: var(--shadow);
}

.product__spec-no {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--ls-label);
  color: var(--blue);
}

.product__spec-term {
  margin: 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
}

.product__spec-body {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

/* Closing enquiry, product variant. The shared block puts the buttons in
   the right-hand column; here that column holds the garment, so the
   actions come back under the text and stop being right-aligned. */
.cta-section__inner--product {
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
}

.cta-section__inner--product .cta-section__actions {
  margin-top: var(--space-7);
}

.cta-section__actions--start { justify-content: flex-start; }

@media (min-width: 861px) {
  .cta-section__actions--start { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .cta-section__inner--product { grid-template-columns: 1fr; }
}

.cta-product {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-product img { display: block; width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   CONTACT / QUOTE
   -------------------------------------------------------------------------- */

.quote {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: start;
}

@media (max-width: 940px) { .quote { grid-template-columns: 1fr; } }

.quote__aside { display: grid; gap: var(--space-6); position: sticky; top: calc(var(--header-h) + var(--space-6)); }

@media (max-width: 940px) { .quote__aside { position: static; } }

.quote__card { padding: var(--space-6); background: var(--gray-50); border: var(--rule) solid var(--line); }
.quote__card h3 { font-size: var(--fs-h4); color: var(--navy); margin-bottom: var(--space-5); }

.contact-row { display: grid; gap: var(--space-2); padding-block: var(--space-4); border-bottom: var(--rule) solid var(--line); }
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-row__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gray-500);
}

.contact-row__value { font-size: var(--fs-sm); color: var(--navy); font-weight: var(--fw-medium); }
.contact-row__value a { color: var(--navy); text-decoration: none; }
.contact-row__value a:hover { color: var(--blue-ink); }

/* The one row whose link has to look like a link. An email or a phone number
   announces itself â€” a visitor knows those are clickable from the shape of
   the value. "Verify our registration" is a plain phrase that reads as
   ordinary text unless it is marked, and it is the single most useful thing
   on this panel for a buyer checking us out. */
.contact-row__verify {
  color: var(--blue-ink) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */

.about__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); }

@media (max-width: 900px) { .about__body { grid-template-columns: 1fr; } }

.about__section + .about__section { margin-top: var(--space-8); }
.about__section h2 { font-size: var(--fs-h3); color: var(--navy); margin-bottom: var(--space-5); }
.about__section p { color: var(--text-muted); line-height: 1.75; }
.about__section p + p { margin-top: var(--space-4); }

.about__aside { display: grid; gap: var(--space-6); align-content: start; }

/* --------------------------------------------------------------------------
   BLOG â€” index cards
   -------------------------------------------------------------------------- */

.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.post-card .media { margin-bottom: var(--space-5); }
.post-card:hover .media img { transform: scale(1.04); }

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}

.post-card__category { color: var(--blue-ink); }

.post-card__meta > * + *::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: var(--space-4);
  background: var(--gray-300);
  transform: rotate(45deg);
  vertical-align: middle;
}

.post-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  text-wrap: balance;
  transition: color var(--dur) var(--ease-out);
}

.post-card:hover .post-card__title { color: var(--blue-ink); }

.post-card__excerpt {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-muted);
}

.post-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
}

.post-card__cta svg { width: 14px; height: 10px; transition: transform var(--dur) var(--ease-out); }
.post-card:hover .post-card__cta svg { transform: translateX(5px); }

/* Featured (most recent) post runs wide */
.post-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

.post-card--featured .media { margin-bottom: 0; --clip-corner: var(--clip-corner-lg); }
.post-card--featured .post-card__title { font-size: var(--fs-h2); }
.post-card--featured .post-card__excerpt { font-size: var(--fs-lead); }

@media (max-width: 860px) {
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .media { margin-bottom: var(--space-5); }
  .post-card--featured .post-card__title { font-size: var(--fs-h3); }
  .post-card--featured .post-card__excerpt { font-size: var(--fs-body); }
}

/* --------------------------------------------------------------------------
   BLOG â€” article
   -------------------------------------------------------------------------- */

.post__head .post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--navy-600);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.post__body { font-size: 1.0625rem; line-height: 1.8; color: var(--text); }
.post__body > * + * { margin-top: var(--space-5); }
.post__body p { color: var(--text-muted); }

/* First paragraph carries the reader in */
.post__body > p:first-child {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--navy);
}

.post__h2 {
  font-size: var(--fs-h3);
  color: var(--navy);
  margin-top: var(--space-9) !important;
  padding-top: var(--space-2);
  scroll-margin-top: calc(var(--header-h) + var(--space-6));
}

.post__body > .post__h2:first-child { margin-top: 0 !important; }
.post__body .spec-list { margin-top: var(--space-5); }
.post__body .spec-list li { font-size: 1rem; }

.post__quote {
  margin-top: var(--space-8) !important;
  margin-bottom: var(--space-8);
  padding: var(--space-6) 0 var(--space-6) var(--space-6);
  border-left: 3px solid var(--blue);
}

.post__quote p {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  letter-spacing: var(--ls-heading);
  color: var(--navy) !important;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 12vw, 11rem);
  font-weight: var(--fw-black);
  line-height: 0.9;
  letter-spacing: var(--ls-display);
  color: var(--white);
}
.notfound__code span { color: var(--blue); }

/* --------------------------------------------------------------------------
   MOCKUPS
   Browse grid, the three-step explainer and the request form.
   -------------------------------------------------------------------------- */

/* Explainer, in the navy page head beside the lead. Numbered because the
   order is the point: browse, then wait for review, then receive. */
.mocksteps {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.mockstep {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  align-items: baseline;
}

.mockstep__n {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  font-variant-numeric: tabular-nums;
}

.mockstep__body {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--lh-body);
}

/* On a light surface the same component needs the darker blue for contrast. */
.section:not(.section--navy):not(.section--dark):not(.section--charcoal) .mockstep__n {
  color: var(--blue-ink);
}
.section:not(.section--navy):not(.section--dark):not(.section--charcoal) .mockstep__body {
  color: var(--text-muted);
}

/* --- Category filters ----------------------------------------------------
   The bar ships with the `hidden` attribute and mockup-filter.js removes it,
   so a visitor whose JavaScript never ran sees the whole catalogue instead of
   a row of buttons that do nothing.

   Hence :not([hidden]) on the layout rule. `[hidden]` is only display:none in
   the UA stylesheet, so a plain `.mockup-filters { display: flex }` would
   outrank it and the bar would show regardless.
   ------------------------------------------------------------------------ */

.mockup-filters:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-5);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.mockup-filters__label {
  font-family: var(--font-mono);
  font-size: var(--fs-tiny);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mockup-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.mockup-filter {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out);
}

.mockup-filter:hover { border-color: var(--blue); color: var(--blue-ink); }

.mockup-filter.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

/* The count rides inside the chip, so it needs to invert with it. */
.mockup-filter__n {
  font-family: var(--font-mono);
  font-size: var(--fs-tiny);
  font-weight: 400;
  color: var(--text-muted);
}
.mockup-filter.is-active .mockup-filter__n { color: rgba(255, 255, 255, 0.72); }

/* The chips measure 35px tall from their type alone, which is under the 44px
   a finger needs. Pointer-based input can keep the tighter chip. */
@media (pointer: coarse), (max-width: 860px) {
  .mockup-filter { padding-block: 0.85rem; }
}

.mockup-groups {
  display: grid;
  gap: var(--space-10);
}

/* Set by the filter script. A class rather than the hidden attribute because
   these groups carry reveal transitions, and swapping display mid-transition
   makes them flicker. */
.mockup-group.is-hidden { display: none; }

/* --- Card ---------------------------------------------------------------- */

/* Deliberately NOT a link. The whole card being clickable would imply the
   file is one click away; the only action here is asking for it. */
.mockup-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.mockup-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.mockup-card .media {
  --clip-corner: var(--clip-corner);
  border-bottom: 1px solid var(--line);
}

.mockup-card__body {
  padding: var(--space-5) var(--space-5) var(--space-4);
  flex: 1 1 auto;
}

.mockup-card__title {
  margin: 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  color: var(--navy);
}

.mockup-card__meta {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.mockup-card__note {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.mockup-card__cta {
  margin: 0 var(--space-5) var(--space-5);
  justify-content: center;
}

/* --- Request form -------------------------------------------------------- */

.mockup-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  max-width: 980px;
}

.form__footnote {
  margin: var(--space-5) 0 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Error returned by submit.php on a failed validation, as ?error=... */
.form-error {
  margin: 0 0 var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--blue-wash);
  border-left: 3px solid var(--blue);
  color: var(--navy);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   SERVICE PAGES
   Overview cards, and the capability timeline on each service page.
   -------------------------------------------------------------------------- */

/* --- Overview card ------------------------------------------------------- */

.svccard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}

.svccard:hover,
.svccard:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.svccard .media { border-bottom: 1px solid var(--line); }
.svccard:hover .media img { transform: scale(1.03); }

.svccard__body { display: block; padding: var(--space-5) var(--space-5) var(--space-4); flex: 1 1 auto; }

.svccard__n {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue-ink);
}

.svccard__title {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  font-weight: 700;
  color: var(--navy);
}

.svccard__short {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

.svccard__cta { margin: 0 var(--space-5) var(--space-5); color: var(--blue-ink); }

/* The definition sentence, set apart because it is the line a buyer skims
   for and the one quoted back when somebody asks what this service is. */
.svcdef {
  margin: 0;
  padding-left: var(--space-5);
  border-left: 3px solid var(--blue);
  font-size: var(--fs-h4);
  line-height: var(--lh-body);
  color: var(--navy);
}

/* --- Capability timeline -------------------------------------------------
   Three columns: a sticky step label, a rail with a marker per step, and the
   step itself. The label pinning is what makes five similar-looking steps
   navigable â€” you always know which one you are in without scrolling back.
   -------------------------------------------------------------------------- */

.svctimeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svcstep {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding-bottom: var(--space-9);
}

.svcstep:last-child { padding-bottom: 0; }

.svcstep__label {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
  font-weight: 700;
  color: var(--navy);
}

.svcstep__n {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-ink);
  font-variant-numeric: tabular-nums;
}

.svcstep__title {
  margin: var(--space-5) 0 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  color: var(--navy);
}

.svcstep__body {
  margin: var(--space-3) 0 0;
  color: var(--text-muted);
  line-height: var(--lh-body);
  max-width: 62ch;
}

/* The rail is hidden until there are columns to put it between. */
.svcstep__rail { display: none; }

@media (min-width: 900px) {
  .svcstep {
    grid-template-columns: minmax(0, 0.8fr) 1px minmax(0, 1.6fr);
    gap: var(--space-7);
    padding-bottom: var(--space-10);
  }

  .svcstep__aside {
    position: sticky;
    top: calc(var(--header-h) + var(--space-6));
    align-self: start;
  }

  .svcstep__label { display: block; }
  .svcstep__n { display: block; margin-bottom: var(--space-3); }

  /* A continuous hairline with a marker where each step begins. The line is
     drawn on the cell rather than the list so it stops at the last step
     instead of trailing past it. */
  .svcstep__rail {
    display: block;
    position: relative;
    background: linear-gradient(to bottom, var(--blue) 0 72px, var(--line) 72px 100%);
  }

  .svcstep:last-child .svcstep__rail {
    background: linear-gradient(to bottom, var(--blue) 0 72px, var(--line) 72px 60%,
                                transparent 60% 100%);
  }

  .svcstep__dot {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 11px;
    height: 11px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px var(--white);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svccard { transition: none; }
  .svccard:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   GRAPHICS SERVICE
   A bespoke layout: full-bleed hero, alternating stage bands, detail strip.
   Shares the design tokens with the rest of the site but none of its
   section components, so it reads as its own page rather than as the
   service template with different words in it.
   -------------------------------------------------------------------------- */

/* --- Hero ---------------------------------------------------------------- */

.edi-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 860px);
  padding-top: calc(var(--header-h) + var(--space-8));
  padding-bottom: clamp(3rem, 2rem + 5vw, 7rem);
  background: var(--navy-900);
  overflow: hidden;
}

.edi-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.edi-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

/* Two overlays doing different jobs: a navy wash to hold the brand, and a
   bottom-weighted gradient so the headline keeps its contrast whatever the
   photograph behind it turns out to be. */
.edi-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 22, 51, 0.96) 0%, rgba(7, 22, 51, 0.62) 46%,
                    rgba(7, 22, 51, 0.38) 100%),
    linear-gradient(to right, rgba(11, 31, 63, 0.75), rgba(11, 31, 63, 0.18));
}

.edi-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 62rem;
}

.edi-hero__headline {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.edi-hero__line { display: block; }
.edi-hero__line--accent { color: var(--blue-bright); }

.edi-hero__lead {
  margin: var(--space-6) 0 0;
  max-width: 54ch;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.82);
}

.edi-hero__actions { margin-top: var(--space-7); }

.edi-intro p {
  margin: 0 0 var(--space-4);
  color: var(--text-muted);
  line-height: var(--lh-body);
}

.edi-intro p:last-child { margin-bottom: 0; }

/* --text-muted is a mid grey chosen against white; on charcoal it lands at
   roughly 3:1, under the 4.5:1 body text needs. The intro band on all three
   service pages is charcoal, so it takes the same white the other dark
   sections use for copy. */
.section--charcoal .edi-intro p { color: rgba(255, 255, 255, 0.72); }

/* --- Stage bands ---------------------------------------------------------
   Image one side, copy the other, swapping on alternate stages. The swap is
   :nth-child rather than a class in the markup, so a stage added or removed
   in content.py cannot leave two images on the same side.
   -------------------------------------------------------------------------- */

.edi-stages {
  display: grid;
  gap: clamp(3.5rem, 2rem + 6vw, 8rem);
}

.edi-stage {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + var(--space-6));
}

@media (min-width: 900px) {
  .edi-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  }
  /* Even stages mirror: copy left, image right. */
  .edi-stage:nth-child(even) .edi-stage__media { order: 2; }
  .edi-stage:nth-child(even) .edi-stage__text  { order: 1; }
}

.edi-stage__media .media { --clip-corner: var(--clip-corner-lg); box-shadow: var(--shadow-lg); }
.edi-stage__media .media img { transition: transform var(--dur-slow) var(--ease-out); }
.edi-stage:hover .edi-stage__media .media img { transform: scale(1.04); }

.edi-stage__text { position: relative; }

/* The large ghost numeral. Decorative, aria-hidden, and sitting behind the
   copy rather than beside it â€” it sets the scale of the band without taking
   a column away from the text. */
.edi-stage__ghost {
  position: absolute;
  top: -0.42em;
  left: -0.06em;
  z-index: 0;
  font-size: clamp(7rem, 4rem + 13vw, 15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.edi-stage__label,
.edi-stage__title,
.edi-stage__body,
.edi-stage__notes { position: relative; z-index: 1; }

.edi-stage__label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.edi-stage__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--blue);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.edi-stage__title {
  margin: var(--space-4) 0 0;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--navy);
}

.edi-stage__body {
  margin: var(--space-5) 0 0;
  max-width: 54ch;
  color: var(--text-muted);
  line-height: var(--lh-body);
}

.edi-stage__notes {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.edi-stage__note {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line-strong);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

/* --- Close-up strip ------------------------------------------------------ */

/* Four across, explicitly, rather than auto-fit. auto-fit packs in as many
   200px tracks as the container allows â€” six at full width â€” so the private
   label gallery's eight cells broke 6 + 2 and left half a row empty. Four
   gives it 4 + 4, and the two four-cell galleries still fill a single row. */
.edi-gallery {
  display: grid;
  /* Tighter gutters put the width back into the pictures: at a fixed grid
     width every pixel taken out of the gap is shared between the four
     cells, so this makes them wider rather than just closer together. */
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* The cap stops the cells growing without limit â€” they would reach about
     440px each on a 1900px display. 1400 is a compromise: it was 1160,
     sized so the whole section cleared a 900px-tall viewport, but that made
     the cells small enough to look mean. At 1400 a cell is roughly 320px
     and the section runs a little past a short screen, which is the right
     way round â€” the pictures are the point of this band.
     Centred rather than left-aligned: the cap is narrower than the
     container, so flush-left left a band of dead space down the right. */
  max-width: 1400px;
  margin-inline: auto;
}

@media (max-width: 860px) {
  .edi-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .edi-gallery { grid-template-columns: minmax(0, 1fr); }
}

.edi-gallery__cell { --clip-corner: var(--clip-corner); }
.edi-gallery__cell img { transition: transform var(--dur-slow) var(--ease-out); }
.edi-gallery__cell:hover img { transform: scale(1.06); }

/* --- Conversion ---------------------------------------------------------- */

.edi-cta { text-align: center; }
.edi-cta .btn-group { justify-content: center; }

.edi-cta__heading {
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

@media (prefers-reduced-motion: reduce) {
  .edi-stage__media .media img,
  .edi-gallery__cell img { transition: none; }
  .edi-stage:hover .edi-stage__media .media img,
  .edi-gallery__cell:hover img { transform: none; }
}

/* --------------------------------------------------------------------------
   STICKY SEQUENCE and STAGE RAIL

   Named for private label once, because that is where both were built. The
   sequence has since been removed from that page and these rules now serve
   /practices/ only, via the --practices and --lifecycle variants further
   down. The showcase block that sat between them has gone with it.

   Every animated property here is opacity or transform. Both are composited,
   so none of this triggers layout on scroll. Anything that would reflow â€”
   height, top, width â€” is deliberately absent.
   -------------------------------------------------------------------------- */

/* --- 1. Sequence --------------------------------------------------------- */

.stickyseq { display: grid; gap: var(--space-7); }

@media (min-width: 761px) {
  .stickyseq {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 1rem + 4vw, 5rem);
    align-items: start;
  }
  /* The drawing holds while the captions scroll past it. */
  .stickyseq__stage {
    position: sticky;
    top: calc(var(--header-h) + var(--space-6));
  }
}

.stickyseq__frame {
  position: relative;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

/* The drawing is 400x460, so in a wide column it renders taller than the
   screen â€” 933px against a 715px laptop viewport. A sticky element taller
   than the space below the header can never be fully visible: it pins at
   `top` and its bottom stays off-screen permanently.
   Capping the height here, rather than padding or margins elsewhere, is what
   keeps the panel's dimensions identical at every stage: the value is in vh,
   so it is fixed for a given viewport and does not move as you scroll. The
   SVG has a viewBox, so it scales the artwork down to fit and centres it
   rather than cropping anything. */
.stickyseq__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--header-h) - 12rem);
}

/* Without JS every layer is visible â€” the finished, branded, packed garment.
   .is-enhanced hands control to the step attribute. */
.stickyseq__layer {
  opacity: 1;
  transform: none;
  transform-origin: 200px 240px;
}

.stickyseq.is-enhanced .stickyseq__layer {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

/* --- Photographic states -------------------------------------------------
   The private label sequence is six photographs of one jacket rather than
   a stack of SVG layers. They sit on top of each other in one square frame
   and crossfade, so the panel's outer size is fixed and only its contents
   change.

   This replaced a drawing whose layers ACCUMULATED â€” each step showed its
   own plus every earlier one, so branding built up. Photographs replace
   each other instead; there is no stacking to express.
   -------------------------------------------------------------------------- */

.stickyseq__shots { display: block; width: 100%; }

.stickyseq__shots .stickyseq__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

/* Without JS the last shot sits on top â€” a finished, bagged garment rather
   than an empty frame. The earlier ones stack beneath it. */
.stickyseq__shots .stickyseq__shot:last-child { opacity: 1; transform: none; }

.stickyseq--photo.is-enhanced[data-step="0"] #pl-0,
.stickyseq--photo.is-enhanced[data-step="1"] #pl-1,
.stickyseq--photo.is-enhanced[data-step="2"] #pl-2,
.stickyseq--photo.is-enhanced[data-step="3"] #pl-3,
.stickyseq--photo.is-enhanced[data-step="4"] #pl-4,
.stickyseq--photo.is-enhanced[data-step="5"] #pl-5 {
  opacity: 1;
  transform: none;
}

/* Once JS is driving, the last-child fallback must stop winning. */
.stickyseq--photo.is-enhanced .stickyseq__shot:last-child { opacity: 0; }
.stickyseq--photo.is-enhanced[data-step="5"] #pl-5 { opacity: 1; }

/* The frame wraps a photograph now, not an inline SVG, so it needs no
   padding of its own â€” the image runs to the border.

   The width cap is what keeps the panel inside the window: the frame takes
   its height from its width via aspect-ratio, so a height cap would break
   the square and the panel would change shape between steps. A 1:1 box
   fits when its width is no greater than the height available under the
   fixed header. */
.stickyseq--photo .stickyseq__frame {
  padding: 0;
  position: relative;
  max-width: calc(100vh - var(--header-h) - 9rem);
  margin-inline: auto;
}

@media (prefers-reduced-motion: reduce) {
  .stickyseq__shots .stickyseq__shot { transition: none; transform: none; }
}

.stickyseq__steps { list-style: none; margin: 0; padding: 0; }

.stickyseq__step {
  padding: var(--space-6) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stickyseq__step:last-child { border-bottom: 0; }

/* Dimming only switches on once JS is driving the sequence. Without it every
   caption sits at full contrast instead of six faded blocks. */
.stickyseq.is-enhanced .stickyseq__step {
  opacity: 0.38;
  transition: opacity var(--dur) var(--ease-out);
}

.stickyseq.is-enhanced .stickyseq__step.is-current { opacity: 1; }

.stickyseq__n {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue-bright);
  font-variant-numeric: tabular-nums;
}

.stickyseq__title {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  color: var(--white);
}

.stickyseq__body {
  margin: var(--space-3) 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--lh-body);
}


/* --- 3. Stage rail ------------------------------------------------------- */

/* The rail sits in the gutter on wide screens only; below that the stages
   stack full width and a line beside them has nowhere to live. */
.edi-rail { display: none; }

@media (min-width: 1100px) {
  .edi-stages[data-stage-rail] { position: relative; padding-left: var(--space-7); }

  .edi-rail {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--line);
    overflow: hidden;
  }

  .edi-rail__fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--blue);
    transform: scaleY(0);
    transform-origin: top;
    /* No transition: the value is already following the scroll position
       frame by frame, and easing it would make the line lag the page. */
  }

  /* Without JS the fill never gets a transform, so it would sit at scaleY(0)
       â€” an empty grey line. Fill it instead. */
  .edi-stages[data-stage-rail]:not(.is-enhanced) .edi-rail__fill { transform: scaleY(1); }

  .edi-stages.is-enhanced .edi-stage__n {
    transition: background var(--dur) var(--ease-out),
                transform var(--dur) var(--ease-out);
  }

  .edi-stages.is-enhanced .edi-stage.is-current .edi-stage__n {
    transform: scale(1.12);
  }
}

/* --- 4. Micro-interactions ----------------------------------------------- */

/* Arrows lean into the direction they point on hover. Transform only. */
.btn svg,
.link-arrow svg { transition: transform var(--dur) var(--ease-out); }
.btn:hover svg,
.link-arrow:hover svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .stickyseq__layer,
  .edi-rail__fill,
  .btn svg,
  .link-arrow svg { transition: none !important; }

  .stickyseq.is-enhanced .stickyseq__layer { opacity: 1; transform: none; }
  .stickyseq.is-enhanced .stickyseq__step { opacity: 1; }
  .edi-stages[data-stage-rail] .edi-rail__fill { transform: scaleY(1); }
  .btn:hover svg,
  .link-arrow:hover svg { transform: none; }
}

/* --------------------------------------------------------------------------
   SEQUENCE PROGRESS READOUT
   The 01/05 counter in the corner of a sticky sequence panel. Shared by the
   product development, private label, practices and lifecycle sequences.
   -------------------------------------------------------------------------- */

.stickyseq__count {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-5);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.45);
}

.stickyseq__count [data-seq-now] { color: var(--blue-bright); }
.stickyseq__count-sep { opacity: 0.5; }

/* --------------------------------------------------------------------------
   PRACTICES â€” five principles sequence
   Fifth state set on the shared .stickyseq component. Each state replaces
   the last; there is no accumulation here because the five principles are
   parallel, not sequential.
   -------------------------------------------------------------------------- */

.stickyseq--practices.is-enhanced[data-step="0"] #pr-materials,
.stickyseq--practices.is-enhanced[data-step="1"] #pr-longevity,
.stickyseq--practices.is-enhanced[data-step="2"] #pr-cutting,
.stickyseq--practices.is-enhanced[data-step="3"] #pr-packaging,
.stickyseq--practices.is-enhanced[data-step="4"] #pr-journey {
  opacity: 1;
  transform: none;
}

.stickyseq--practices.is-enhanced .stickyseq__layer {
  transform: scale(0.96);
  transform-origin: 200px 200px;
}

/* On a light section the frame needs the inverse of the navy treatment. */
.section--alt .stickyseq__frame,
.section:not(.section--navy):not(.section--charcoal):not(.section--dark) .stickyseq__frame {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
}

.section--alt .stickyseq__title,
.section:not(.section--navy):not(.section--charcoal):not(.section--dark) .stickyseq__title {
  color: var(--navy);
}

.section--alt .stickyseq__body,
.section:not(.section--navy):not(.section--charcoal):not(.section--dark) .stickyseq__body {
  color: var(--text-muted);
}

.section--alt .stickyseq__n,
.section:not(.section--navy):not(.section--charcoal):not(.section--dark) .stickyseq__n {
  color: var(--blue-ink);
}

.section--alt .stickyseq__step,
.section:not(.section--navy):not(.section--charcoal):not(.section--dark) .stickyseq__step {
  border-bottom-color: var(--line);
}

.section--alt .stickyseq__count,
.section:not(.section--navy):not(.section--charcoal):not(.section--dark) .stickyseq__count {
  color: var(--gray-500);
}

.section--alt .stickyseq__count [data-seq-now],
.section:not(.section--navy):not(.section--charcoal):not(.section--dark) .stickyseq__count [data-seq-now] {
  color: var(--blue-ink);
}


@media (prefers-reduced-motion: reduce) {
  .stickyseq--practices.is-enhanced .stickyseq__layer { transform: none; }
}

/* --------------------------------------------------------------------------
   PRACTICES â€” lifecycle sequence
   Same .stickyseq component, 58/42 columns: the drawing needs the room, the
   six stages do not. Replaces a tabbed version that left a large empty panel
   and squeezed the stages into a narrow strip.
   -------------------------------------------------------------------------- */

@media (min-width: 761px) {
  .stickyseq--lifecycle { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); }
}

.stickyseq--lifecycle.is-enhanced[data-step="0"] #lc-material,
.stickyseq--lifecycle.is-enhanced[data-step="1"] #lc-develop,
.stickyseq--lifecycle.is-enhanced[data-step="2"] #lc-make,
.stickyseq--lifecycle.is-enhanced[data-step="3"] #lc-quality,
.stickyseq--lifecycle.is-enhanced[data-step="4"] #lc-life,
.stickyseq--lifecycle.is-enhanced[data-step="5"] #lc-endoflife {
  opacity: 1;
  transform: none;
}

.stickyseq--lifecycle.is-enhanced .stickyseq__layer {
  transform: scale(0.96);
  transform-origin: 220px 165px;
}

/* A strip across the section, not a card floating in a column. */
.lifenote {
  margin: var(--space-9) 0 0;
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.82);
}

@media (prefers-reduced-motion: reduce) {
  .stickyseq--lifecycle.is-enhanced .stickyseq__layer { transform: none; }
}

/* --------------------------------------------------------------------------
   CATEGORY PAGE â€” fabric families, customisation cards, capability gallery

   These three blocks render only for a category with a CATEGORY_PAGES entry
   in content.py (gym today), so nothing here affects the other two category
   pages.
   -------------------------------------------------------------------------- */

.fabrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-6) var(--gutter);
}

@media (min-width: 1100px) {
  /* Six items: three columns reads as 3 + 3 rather than 4 + 2. */
  .fabrics { grid-template-columns: repeat(3, 1fr); }
}

.fabric { border-top: 2px solid var(--navy); padding-top: var(--space-4); }

.fabric__n {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  color: var(--blue-ink);
  margin-bottom: var(--space-3);
}

.fabric__title {
  margin: 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
}

.fabric__body {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

/* The standing note that no fabric specification is published. Set as a
   panel rather than small print: it is the answer to the question the
   section raises, not a disclaimer hidden under it. */
.fabrics__note {
  margin: var(--space-7) 0 0;
  padding: var(--space-5);
  background: var(--blue-wash);
  border-left: 3px solid var(--blue);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--navy);
}

/* The contextual link appended to the note. Inline, so it reads as the
   next step out of the sentence rather than as a button bolted on. */
.fabrics__link {
  color: var(--blue-ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.fabrics__link:hover { text-decoration: underline; }

/* --- Specification guide -------------------------------------------------
   Four products, each a card with the garment on the left and three
   specification tiles on the right. Every tile is an image slot: a close-up
   at detail-<product>-<row> fills it, and a card whose three slots are not
   all filled falls back to label-and-value tiles rather than empty frames.
   ------------------------------------------------------------------------- */

/* The brief names #F5F6F8 for this band. That is within 1/255 per channel
   of --gray-50, the token every other alternating band on the site uses,
   so it is scoped here rather than changed globally: one band shifting by
   an invisible amount is harmless, every band shifting is a site-wide
   change for no visible gain. The section is bounded by white bands either
   side, so nothing sits next to it to reveal the difference. */
#specification { background: #f5f6f8; }

.specguide {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

/* Four cards: two columns reads as 2 + 2.
   The threshold is 1100px rather than 900, and the column count is stated
   rather than auto-fit, because these cards put the picture beside the
   text. Auto-fit went two-across as soon as a card could be 20rem, which
   at a 800px viewport left a 119px image column with the drawing lost in
   the middle of it. One column until there is room for two proper ones. */
@media (min-width: 1100px) {
  .specguide { grid-template-columns: repeat(2, 1fr); }
}

/* Image beside the text rather than above it: four stacked cards with a
   picture on top made the section twice as tall as the content justified.
   Three rows per card means every card holds the same amount, so the grid
   rows come out level without anything being forced. */
.speccard {
  display: grid;
  /* minmax so the picture keeps a usable width as the card narrows: a flat
     percentage turned it into a tall sliver at the midrange widths.
     29% is the default, for the portrait technical flats the running and
     hiking pages still use. .speccard--wide overrides it below. */
  grid-template-columns: minmax(8.5rem, 29%) minmax(0, 1fr);
  background: var(--white);
  border: var(--rule) solid var(--line);
  /* The brief asks for subtle corner rounding. --radius is the 3px the
     site already uses, so this is the house value rather than a new one;
     overflow: hidden clips the media panel to it. */
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

/* 47%, measured off the reference mock: its card runs 813px wide with the
   garment occupying the leftmost 386px before the product name starts.
   Only for the composed landscape shots â€” at this width a portrait flat
   becomes the tallest thing on the card and drags its height up by a
   third, which is what it did to the running page before this was
   scoped. */
.speccard--wide {
  grid-template-columns: minmax(8.5rem, 47%) minmax(0, 1fr);
}

.speccard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }

/* One treatment for all four, whether the slot holds a drawing or a
   photograph, so the row never reads as a mix of two kinds of picture. */
/* No rule between the picture and the text. The tone step from the panel
   to the white body already marks the edge, and with a strip of bordered
   tiles now sitting a few pixels to its right, a second vertical line read
   as a frame around the garment. */
.speccard__media {
  display: block;
  position: relative;
  background: var(--gray-50);
  overflow: hidden;
}

.speccard__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
}

/* Unlike the product card, this panel has no fixed ratio â€” it is a narrow
   column as tall as the text beside it. `cover` therefore cropped a 4:5
   product shot down to 45% of its width and cut the sleeves off the
   garment, so the image is contained here and the panel takes the same
   tone that is baked into the product shots, leaving no seam where the
   image ends. Padding is already built into the images. */
.speccard__media--photo { background: var(--gray-50); }
.speccard__media--photo img { object-fit: contain; padding: 0; }

/* The composed landscape shots are cut out on white, and the reference
   mock stands its garments on the card itself rather than on a tinted
   panel â€” sampled at (254,254,254), the same value as the page behind it.
   So this panel is white and the garment reads as part of the card. */
.speccard__media--wide { background: var(--white); }

.speccard__media--wide img {
  object-fit: contain;
  padding: var(--space-3);
}

/* Centred, not top-pinned. The garment sets the card height whenever it is
   taller than the text beside it, which is the case while the tiles carry
   no photographs. Top-pinning the text then left every card with a block
   of dead space under the link; centring balances the text against a
   garment that is itself centred in its panel. Once the tiles fill, the
   body is the taller side and this becomes a no-op. */
.speccard__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-5);
  min-width: 0;
}

.speccard__title {
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  /* A hairline, not a 2px bar: at 2px the divider competed with the title
     above it and with the tile borders below. */
  border-bottom: 1px solid var(--navy);
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
}

/* Three tiles across, never fewer: the strip is the shape of this card,
   and reflowing it to two-then-one at narrow widths left a card with a
   ragged orphan tile. The tiles get small instead, which they can afford
   to â€” the caption is two or three words. */
.spectiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
  align-content: start;
  margin: 0;
  flex: 0 0 auto;
}

.spectile { min-width: 0; }

/* 6:5, which is both the shape of the tiles in the reference mock and the
   mean ratio of the twelve supplied close-ups, so the crop needed to fill
   it is small on every one of them. Present only when a photograph
   exists; the caption carries the tile on its own otherwise. */
.spectile__media {
  display: block;
  aspect-ratio: 6 / 5;
  margin-bottom: var(--space-2);
  background: var(--gray-50);
  border: var(--rule) solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spectile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navy and centred, not blue mono caps. Sampling the reference mock's
   captions gave (0,2,8) for the label and (42,44,62) for the value â€” both
   navy-to-grey, with no blue anywhere in the strip. The mock keeps blue
   for the magnifier ring and the links, which is where it still is here.
   It also settles the contrast question the blue raised: navy on white
   is far past AA at this size. */
.spectile { text-align: center; }

.spectile__k {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--navy);
}

/* Shorthand, so the browser's default 40px indent on a <dd> goes with it. */
.spectile__v {
  margin: 2px 0 0;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--text-muted);
}

/* Smaller and lighter than it was: the rule above it has been dropped and
   the top padding with it, so the link closes the card instead of forming
   a second divider under the three rows. The label still names the product
   rather than saying "read more". */
.speccard__link {
  margin-top: var(--space-5);
  align-self: start;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
  text-decoration: none;
}

.speccard__link:hover { text-decoration: underline; }

/* Narrow screens: a 34% image column leaves the text nothing, so the card
   stacks and the picture takes a wide, short band across the top. */
@media (max-width: 560px) {
  .speccard { grid-template-columns: 1fr; }

  .speccard__media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 9;
  }

  .speccard__media img { padding: var(--space-4); }
}

/* Plain text, not a panel: the fabrics note above already uses the blue
   panel treatment, and two of them within one screen reads as a site that
   qualifies everything it says. */
.specguide__note {
  margin: var(--space-6) 0 0;
  max-width: 68ch;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

.specguide__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin: var(--space-4) 0 0;
}

.specguide__links a {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
  text-decoration: none;
}

.specguide__links a:hover { text-decoration: underline; }

/* --- Customisation cards -------------------------------------------------- */

.optcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--rule) solid var(--line);
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.optcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.optcard .media { border-bottom: 1px solid var(--line); }
.optcard:hover .media img { transform: scale(1.03); }

.optcard__body { padding: var(--space-5); flex: 1 1 auto; }

.optcard__title {
  margin: 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  color: var(--navy);
}

.optcard__text {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

/* --- Capability gallery --------------------------------------------------- */

.capshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-7) var(--gutter);
}

/* Eight stages, pinned to four columns so the gallery reads as 4 + 4.
   Left to auto-fit a wide screen took five across and stranded the last
   two on a half-empty second row. */
@media (min-width: 1100px) {
  .capshots { grid-template-columns: repeat(4, 1fr); }
}

.capshot { margin: 0; }

.capshot__cap {
  display: block;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

/* The gallery sits on a navy band. Without this the captions would be navy
   on navy â€” invisible. Every component on this site declares its own
   on-dark colours; none is inherited. */
.section--navy .capshot__cap,
.section--charcoal .capshot__cap,
.section--dark .capshot__cap { color: rgba(255, 255, 255, 0.85); }

/* The link out of the gallery. On navy, so it takes the bright blue rather
   than the ink blue used on light bands. */
.capshots__link {
  margin: var(--space-7) 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.capshots__link a { color: var(--blue-ink); text-decoration: none; }
.capshots__link a:hover { text-decoration: underline; }

.section--navy .capshots__link a,
.section--charcoal .capshots__link a,
.section--dark .capshots__link a { color: var(--blue-bright); }

/* The line under the closing CTA button. */
.edi-cta__strap {
  margin: var(--space-6) 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

@media (prefers-reduced-motion: reduce) {
  .optcard { transition: none; }
  .optcard:hover .media img { transform: none; }
}

/* --------------------------------------------------------------------------
   SERVICES â€” customer pathways and what to prepare
   -------------------------------------------------------------------------- */

.pathway {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.pathway:hover,
.pathway:focus-within { border-color: var(--line-strong); box-shadow: var(--shadow); }

.pathway .media { border-bottom: 1px solid var(--line); }
.pathway:hover .media img { transform: scale(1.03); }

/* Takes the slack so every card's CTA lines up across the row whatever the
   points list length. */
.pathway__body { padding: var(--space-5); flex: 1 1 auto; }

.pathway__kicker {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.pathway__title {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  color: var(--navy);
}

.pathway__text {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

.pathway__points {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pathway__points li { padding-block: var(--space-1); }

.pathway__cta { margin: 0 var(--space-5) var(--space-5); color: var(--blue-ink); }

/* --- What to prepare ----------------------------------------------------- */

.preps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-6) var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.prep { padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.16); }

.prep__n {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--blue-bright);
}

.prep__title {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  color: var(--white);
}

.prep__body {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .pathway { transition: none; }
  .pathway:hover .media img { transform: none; }
}

/* --------------------------------------------------------------------------
   STICKY SEQUENCE â€” travel

   A sticky panel only holds still for as long as its container keeps
   scrolling past it: travel is (caption column height âˆ’ panel height), so a
   handful of short captions against a tall panel unsticks almost
   immediately and the panel scrolls up behind the header mid-sequence.
   Just under half a screen per caption carries a whole sequence without
   turning it into a long scroll.

   A companion rule used to cap the panel's WIDTH so it fit under the fixed
   header â€” height alone would have broken its aspect-ratio. It was scoped
   to the graphics sequence, which has been removed from
   /services/graphics/, and the remaining sequences size their own frames.
   -------------------------------------------------------------------------- */
@media (min-width: 761px) {
  .stickyseq__step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 40vh;
  }
}

/* --------------------------------------------------------------------------
   QUALITY BLOCK â€” typography and checklist

   The copy ran as three grey paragraphs with six ticks floating underneath
   and nothing to say what they were. These rules give the block a hierarchy:
   lead, supporting line, then the checks as a spec sheet rather than a
   loose list.

   Scoped to .quality__checks because .spec-list is shared with the service
   phases, the pathway cards and the category focus lists â€” restyling it
   globally would change all of them.
   -------------------------------------------------------------------------- */

.quality__title { margin-top: var(--space-5); }

.quality__lead { margin-top: var(--space-6); }

.quality__body {
  margin-top: var(--space-4);
  color: var(--text-muted);
  max-width: 54ch;
}

.quality__label {
  margin: var(--space-8) 0 0;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

/* Rows, not bullets: a hairline between each gives the six items a shape and
   makes them read as a checklist being worked through. */
.quality__checks { margin-top: 0; }

.quality__checks .spec-list { gap: 0; }

.quality__checks .spec-list li {
  padding: var(--space-4) 0 var(--space-4) var(--space-7);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-body);
  color: var(--navy);
  /* Gives the row its own stacking context, so the pale square below sits
     behind the tick but still in front of the section background. Without
     it, z-index: -1 drops the square behind .section--alt and it vanishes. */
  isolation: isolate;
}

/* The tick sits in a pale blue square so it reads as a completed check
   rather than a stray mark, and stays put as the row padding changes. */
.quality__checks .spec-list li::before {
  top: 50%;
  left: 0;
  width: 10px;
  height: 6px;
  margin-top: -5px;
  transform: rotate(-45deg);
}

.quality__checks .spec-list li::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  background: var(--blue-wash);
  z-index: -1;
}

@media (max-width: 1000px) {
  .quality__label { margin-top: var(--space-7); }
}

/* --------------------------------------------------------------------------
   HERO VIDEO â€” the right-hand wedge

   The footage is not a picture beside the headline any more. On desktop it
   is the whole right side of the hero: full height, hard against the right
   edge, cut on the left by the 13deg diagonal, with the blue rule running
   down that cut.

   WHY A SKEW AND NOT A CLIP-PATH
   A clip-path polygon takes its x offsets as a percentage of WIDTH, but the
   horizontal run of a 13deg edge is tan(13Â°) x HEIGHT. On the old square
   video those were the same number; on a full-height panel whose aspect
   ratio changes with every window size they are not, so a fixed percentage
   would drift off 13 degrees. skewX is an angle, so it stays exactly 13
   degrees at any size, and border-left then gives a rule that is parallel
   by construction rather than by arithmetic.

   The <video> inside is counter-skewed by the same angle so the footage
   itself is not sheared, and is run wider than the panel because the two
   skews displace it sideways by tan(13Â°) x height/2 at the top and bottom.
   That overhang is also why the footage sits at a heavier crop here than it
   did as a square: the panel is already as wide as the 720px source, so the
   extra width is upscale. Keep the overhang as tight as the geometry allows.
   -------------------------------------------------------------------------- */

@media (min-width: 1001px) {
  .hero__grid { grid-template-columns: minmax(0, 48%); }

  /* The buttons sit low in the hero, which is exactly where the diagonal is
     furthest left â€” so they are the one thing that collides with it. Side by
     side they need 594px, and the cut at their height is at about 43.8vw, so
     below roughly a 1500px window there is not room for both.

     This caps the row at the space actually available and lets it wrap into
     two when there is not enough, which is what it already does on tablet.
     Without it the secondary button sits on top of the footage â€” measured
     25px over at 1366 before any cap existed. The column itself cannot
     enforce this: the buttons are intrinsically sized, so a narrower grid
     track only moves the collision rather than preventing it.

     Re-tuned from 43.8vw after the cut moved right. The old figure was
     measured against the old cut position and now wraps the row at widths
     where it comfortably fits â€” the two buttons need 594px and there is
     640px of room at 1366. 48vw keeps them side by side from about 1320px
     up and stacks them below, where the space genuinely runs out. */
  .hero__actions { max-width: calc(48vw - 40px); }

  /* ------------------------------------------------------------------
     WHERE THE DIAGONAL CUT LANDS

     The cut is centred in the header's nav gap, between "Practices" and
     "About Us".

     The skew pivots on the NAV ROW rather than the panel's centre, and
     that is the whole trick. With the pivot at the centre, the cut's
     position at the nav row depends on the hero's rendered height â€” which
     CSS cannot read â€” so the correct offset differed at every viewport
     width and no single value worked. Pivoting on the nav row means the
     cut passes through the panel's own left edge exactly at that height,
     whatever the hero's height turns out to be. One value is then right
     everywhere.

     --hero-cut-y   how far down the nav links sit (their vertical centre).
     --hero-cut-x   how far right of the hero's centre the gap sits.

     --hero-cut-x IS TIED TO THE TOP NAV'S CONTENTS. It was 112.5px with
     five items; adding "Technologies" moved the gap and made it 180.6px.
     Add or remove a top-level nav item and this must be re-measured, or
     the cut drifts back onto a word. Measured identical at 1366, 1440 and
     1920, so it does not vary with width â€” only with the line-up.

     Below roughly 1100px the nav collapses to the burger and there is no
     gap to align to; the cut simply keeps this position.
     ------------------------------------------------------------------ */
  .hero__visual {
    --hero-cut-y: 75px;
    --hero-cut-x: 180.6px;

    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% + var(--hero-cut-x));
    /* Fixed px, not a percentage. Pivoting at the top means the skew pulls
       the panel's bottom-right corner left by tan(13deg) x hero height,
       which is an absolute distance â€” a percentage of width would fall
       short exactly where the hero is tallest and the window narrowest.
       230px covers a hero up to ~1070px tall; .hero clips the rest. */
    right: -230px;
    width: auto;
    z-index: 1;
  }

  /* A full-bleed panel should not slide in. The 20px reveal travel would
     open a navy gap along the hero's bottom edge on the way. Fade only. */
  .hero__visual[data-reveal] { transform: none; }

  .hero__visual .media.hero__video {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    transform: skewX(-13deg);
    /* Pivot on the nav row, not the panel's centre â€” see the note above. */
    transform-origin: 0 var(--hero-cut-y);
    overflow: hidden;
    /* Card furniture, now that this is a bled panel rather than a card. */
    clip-path: none;
    box-shadow: none;
    outline: 0;
  }

  /* The rule between the two areas. Drawn as an overlay rather than a
     border-left on the panel, because the <video> is absolutely positioned
     and would paint straight over a border. 2px measured horizontally
     across a 13deg edge is 1.95px perpendicular, which is the line weight
     used everywhere else, and it is inside the skew so it follows the cut
     exactly at any size.

     A blue-to-transparent blend used to sit on this element as well,
     dissolving the join. It has gone: the two areas meet on this line
     instead. */
  .hero__video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--blue) 0 2px, transparent 2px);
    pointer-events: none;
    z-index: 2;
  }

  .hero__video video {
    position: absolute;
    top: 0;
    /* Explicit width/height, not inset + auto: on a replaced element
       width:auto resolves to the intrinsic size and the offsets are
       dropped, which leaves the raw 720x1280 frame sitting in the corner.

       The overhang is asymmetric now, and in px rather than vh, because
       both skews pivot on the nav row rather than the middle. Below that
       line the counter-skew pushes the footage right, leaving up to
       tan(13deg) x (hero height - 75) uncovered on the LEFT; above it the
       shortfall is on the right and only tan(13deg) x 75 = 17px. Those are
       absolute distances set by the hero's height, so vh tracked them
       badly. 230/25 covers a hero up to ~1070px tall. */
    left: -230px;
    width: calc(100% + 255px);
    height: 100%;
    transform: skewX(13deg);
    transform-origin: 0 var(--hero-cut-y);
    object-position: 50% 40%;
    /* Back to 0.62 now the blend has gone. With no gradient seating the
       footage at the edge, the flat opacity is doing that job again â€” and
       the panel is half the hero now, so at full strength it stops being
       part of the field and starts being a photograph stuck on it. */
    opacity: 0.62;
  }

  .hero__video::after {
    background:
      linear-gradient(to top,
        rgba(7, 22, 51, 0.42) 0%,
        rgba(7, 22, 51, 0.08) 38%,
        transparent 100%);
    opacity: 0.72;
  }

  /* .hero__motion's own 2px edge would be a second blue diagonal to the left
     of the real one. It goes, and the band's hard left boundary is masked
     into a fade so what is left of it reads as an ambient wash behind the
     headline rather than a competing edge. */
  .hero__motion::after { display: none; }

  .hero__motion {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%);
    mask-image: linear-gradient(to right, transparent 0, #000 42%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video video { opacity: 0.72; }
}

/* --------------------------------------------------------------------------
   SERVICE CROSS-LINK
   The sentence at the foot of each service page pointing at the overview
   and the two sibling services. Deliberately a line of prose with a rule
   above it rather than a card row: it is a reading suggestion, not a
   second navigation.

   The links are underlined rather than coloured, because three coloured
   phrases in one short sentence reads as a warning, not an invitation.
   -------------------------------------------------------------------------- */

.svc-crosslink {
  padding-top: var(--space-7);
  border-top: 1px solid var(--line);
}

.svc-crosslink p {
  margin: 0;
  max-width: 88ch;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

.svc-crosslink a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong);
  transition: color var(--dur-fast) var(--ease-out),
              text-decoration-color var(--dur-fast) var(--ease-out);
}

.svc-crosslink a:hover,
.svc-crosslink a:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}

/* On a dark field the same reasoning applies, so the links stay near-white
   and underlined rather than taking the bright blue that
   `.section--charcoal a:not(.btn)` gives every other link. That rule and
   these carry equal specificity, so this wins only because pages.css is
   bundled after components.css â€” keep it there. */
.section--charcoal .svc-crosslink {
  border-top-color: var(--charcoal-600);
}

.section--charcoal .svc-crosslink p {
  color: rgba(255, 255, 255, 0.64);
}

.section--charcoal .svc-crosslink a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration-color: rgba(255, 255, 255, 0.34);
}

.section--charcoal .svc-crosslink a:hover,
.section--charcoal .svc-crosslink a:focus-visible {
  color: var(--blue-bright);
  text-decoration-color: currentColor;
}

/* --------------------------------------------------------------------------
   PRODUCT SHOWCASE  (performance gym tee)
   Used by one template, src/templates/product-performance-gym-tee.html.
   Nothing here is shared with the other 39 product pages, which keep
   .product / .product__spec above.

   The problem it replaces: every fabric, branding, label, packaging and
   sizing option stacked down a narrow right-hand column in small type, so
   the page read as a specification sheet. Each of those now appears once,
   in the section about it, with the photograph leading.
   -------------------------------------------------------------------------- */

/* Tighter than a standard .section. The breadcrumb bar already separates
   this from the header, so 96px of padding on top of a 640px image put
   the bottom of the hero 65px below the fold on a 1880x950 screen. */
.pshow { padding-block: clamp(1.75rem, 1rem + 2.2vw, 3.5rem); }

.pshow__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

@media (max-width: 900px) { .pshow__hero { grid-template-columns: 1fr; } }

/* Capped. The 4:5 frame grew with its column, so on a 1880px screen it
   reached 721x901 â€” 95% of the viewport height, which meant the hero
   could not be seen in one screen at 100% zoom. 32rem holds it at the
   size it already had on a 1140px screen and stops it growing past that;
   the track keeps the remainder as air either side. */
/* The gallery carries the frame colour itself, so the gaps between the
   main shot and the strip read as part of the same panel. Left on the
   section background they were pure white against photographs whose
   studio sweep is about #F1F2F6 and frames that are #F6F7F9 â€” three
   near-whites meeting at a 12px gap, which showed up as light bands
   cutting across the column. One tone behind all of it, and the hairline
   borders do the separating. */
.pgallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  max-width: 28rem;
  margin-inline: auto;
  background: var(--gray-50);
}

/* 4:5 unless the product sets --main-aspect inline, which it does when
   its hero photograph is a different shape from the 4:5 the category
   cards need. */
.pgallery__main {
  background: var(--gray-50);
  border: var(--rule) solid var(--line);
  aspect-ratio: var(--main-aspect, 4 / 5);
  overflow: hidden;
}

.pgallery__main img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The thumbnail strip, for a product that has one filed in content.py.
   It sits beside the main shot rather than under it: a row underneath
   added a band of its own to the first screen, and the point of the
   strip is to be read at a glance alongside the garment, not after it.
   A product without thumbnails never gets --strip, so its gallery stays
   the single frame it was. The 28 pages on the shared product template
   are untouched and keep their own row, under .product__thumbs. */
/* A third of the main frame's width, so that against a square main the
   three stacked cells come out close to square themselves and a 6:5
   close-up sits in one with very little taken off the sides. */
.pgallery--strip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.34fr);
  align-items: stretch;
}

/* Three equal rows that together match the height of the 4:5 main frame,
   because the strip stretches to the grid row the main shot defines.
   min-height: 0 is what lets them actually shrink to a third each â€”
   without it the images' intrinsic height wins and the strip runs long. */
.pgallery__strip {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  min-height: 0;
}

.pgallery__thumb {
  display: block;
  min-height: 0;
  background: var(--gray-50);
  border: var(--rule) solid var(--line);
  overflow: hidden;
}

.pgallery__thumb img { display: block; width: 100%; height: 100%; }
.pgallery__thumb--cover img { object-fit: cover; }

/* A whole garment, contained: the same reason the specification cards
   distinguish the two modes. Cropping a 4:5 tee into this frame takes
   its shoulders off. */
.pgallery__thumb--contain img { object-fit: contain; padding: var(--space-2); }

@media (max-width: 560px) {
  /* Below this the strip's share of the row is about 70px, which is too
     small to make out a seam in. Three across under the main shot keeps
     them legible. */
  .pgallery--strip { grid-template-columns: minmax(0, 1fr); }
  .pgallery__strip {
    grid-template-rows: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pgallery__thumb { aspect-ratio: 1 / 1; }
}

/* The line of areas under the hero buttons. A signpost to the sections
   below, set at the weight of a caption so it does not compete with the
   lead above it. */
.pmeta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pmeta__item:not(:last-child)::after {
  content: "\00B7";
  margin-left: var(--space-3);
  color: var(--line-strong);
}

.pintro__title {
  /* Capped so the longest single word in a product name still fits its
     column. At 4rem it did until the measure was narrowed to 1120px,
     which took the right-hand track to ~470px and broke "PERFORMANCE"
     across two lines mid-word. break-word stays as the backstop for a
     longer name than any in the catalogue. */
  font-size: clamp(2rem, 1rem + 2.5vw, 3.25rem);
  overflow-wrap: break-word;
  line-height: 1.04;
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  color: var(--navy);
  margin: var(--space-4) 0 var(--space-5);
}

/* Capped with the gallery: on a wide screen the right-hand track reaches
   close to 700px, and the intro set across all of it runs to line lengths
   nobody reads. */
.pintro { max-width: 40rem; }

.pintro__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--navy); }

.pintro__note {
  margin-top: var(--space-5);
  padding-left: var(--space-5);
  border-left: 3px solid var(--blue);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-muted);
}

.pintro__actions { margin-top: var(--space-7); align-items: center; }

.arrow-link {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blue-ink);
  text-decoration: none;
  white-space: nowrap;
}

.arrow-link:hover { text-decoration: underline; }
.arrow-link--lg { font-size: 0.8125rem; }

/* --- the six specification cards ---------------------------------------- */

.scards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

@media (max-width: 1000px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .scards { grid-template-columns: minmax(0, 1fr); } }

.scard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--rule) solid var(--line);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.scard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }

/* One frame proportion across all six cards, so the headings line up on
   every row. Per-card ratios were tried first and left the titles at
   three different heights across one row. */
.scard__media {
  display: block;
  aspect-ratio: 6 / 5;
  background: var(--gray-50);
  overflow: hidden;
}

.scard__media img { display: block; width: 100%; height: 100%; }
.scard__media--cover img { object-fit: cover; }
.scard__media--contain img { object-fit: contain; padding: var(--space-4); }

/* A frame still waiting for its photograph. Same proportion as a filled
   one, so the headings line up across the row, with a hairline to say it
   is a container rather than a blank patch of card. */
.scard__media--empty {
  border-bottom: var(--rule) solid var(--line);
  background: var(--gray-50);
}

/* Every frame in this grid is still waiting. At the section's full width
   six 6:5 blanks is a great deal of empty card, so hold them to a band:
   still clearly "a photograph goes here", without the page being mostly
   grey. Scoped to the all-empty grid â€” the moment one real photograph
   lands, the row goes back to a single proportion so the headings line
   up again. */
.scards--pending .scard__media--empty {
  aspect-ratio: auto;
  height: clamp(6rem, 4rem + 6vw, 10rem);
}

.scard__body { padding: var(--space-5); }

.scard__title {
  margin: 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
}

.scard__body-text {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

/* --- fabric band --------------------------------------------------------- */

.fabband,
.brandband {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .fabband, .brandband { grid-template-columns: 1fr; }
  .brandband__body { order: 2; }
}

.fabshot, .brandshot {
  margin: 0;
  background: var(--gray-50);
  border: var(--rule) solid var(--line);
  overflow: hidden;
}

.fabshot img, .brandshot img {
  display: block; width: 100%; height: auto; aspect-ratio: 6 / 5;
  object-fit: cover;
}

/* Wrapper around the band photograph and its swatches, so the two move
   together as one column. Without it the swatch row became a third grid
   child and the band silently went to three tracks. */
.fabmedia { display: block; }

/* The alternatives the copy beside them names. Square rather than 6:5,
   so a row of three reads as swatches rather than as three more
   photographs competing with the one above. */
.fabswatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.fabswatch {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--gray-50);
  border: var(--rule) solid var(--line);
}

.fabband__lead, .brandband__lead {
  margin-top: var(--space-5);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
}

.fabitems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--gutter);
  margin-top: var(--space-7);
}

@media (max-width: 520px) { .fabitems { grid-template-columns: 1fr; } }

.fabitem { border-top: 2px solid var(--navy); padding-top: var(--space-4); }

.fabitem__title {
  margin: 0; font-size: 1rem; line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading); color: var(--navy);
}

.fabitem__body {
  margin: var(--space-3) 0 0; font-size: var(--fs-sm);
  line-height: var(--lh-body); color: var(--text-muted);
}

/* --- branding band ------------------------------------------------------- */

.brandband__label {
  margin: var(--space-6) 0 var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--navy);
}

.chip--place { border-color: var(--blue); color: var(--blue-ink); }

.brandband .arrow-link { display: inline-block; margin-top: var(--space-6); }

/* One photograph per placement the chips name, captioned. Two by two
   rather than a row of four: at this measure four across would put each
   shot at about 120px, which is too small to see where a mark sits on a
   garment â€” the one thing this band exists to show. */
.bshots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
}

.bshot { margin: 0; }

.bshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  background: var(--gray-50);
  border: var(--rule) solid var(--line);
}

.bshot__cap {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--navy);
}

/* --- finishing cards ----------------------------------------------------- */

.fincards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

@media (max-width: 860px) { .fincards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fincards { grid-template-columns: 1fr; } }

.fincard {
  display: flex; flex-direction: column;
  background: var(--gray-50);
  border-top: 2px solid var(--navy);
  padding: var(--space-6);
}

/* Thumbnail and heading on one line. A card without a photograph keeps
   the same rule and simply has nothing in the first slot, so its heading
   starts at the same place as the others'. */
.fincard__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.fincard__thumb {
  flex: 0 0 auto;
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  background: var(--white);
  border: var(--rule) solid var(--line);
}

.fincard__thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

.fincard__title {
  margin: 0; font-size: var(--fs-h4); line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading); color: var(--navy);
}

.fincard__body {
  margin: var(--space-4) 0 var(--space-5);
  font-size: var(--fs-sm); line-height: var(--lh-body);
  color: var(--text-muted);
  flex: 1 1 auto;
}

.fincard__link {
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--blue-ink); text-decoration: none;
}

.fincard__link:hover { text-decoration: underline; }

/* --- closing band -------------------------------------------------------- */

.startband {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
  padding-block: var(--section-y);
}

@media (max-width: 860px) { .startband { grid-template-columns: 1fr; } }

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); }

.checkitem {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.checkitem:last-child { border-bottom: 0; padding-bottom: 0; }

.checkitem__no {
  font-family: var(--font-mono); font-size: 0.6875rem;
  letter-spacing: var(--ls-label); color: var(--blue);
}

.checkitem__text { color: rgba(255, 255, 255, 0.84); line-height: 1.5; }

/* A showcase band whose photograph has not been supplied yet. Left at two
   columns it holds an empty track the width of the missing image, which
   reads as broken rather than as pending. */
.fabband--solo,
.brandband--solo { grid-template-columns: minmax(0, 1fr); }

.fabband--solo .fabband__lead,
.brandband--solo .brandband__lead { max-width: 60ch; }

/* --------------------------------------------------------------------------
   SHOWCASE MEASURE
   The site container is 1560px, which suits running text. This layout is
   product photography, and at that measure every image grew with the
   screen: on an 1880px display the specification frames reached 465px,
   the branding photograph 765px, and the card section alone was 1449px
   tall. Capping the measure brings all of it down at once, in proportion,
   instead of tuning each block separately.

   1120px was the first cap tried and it over-corrected: on a 1920px
   screen the page sat in the middle 58% of the window with a band of
   empty white either side, narrower than every other page on the site.
   1380px is the compromise. The section is still visibly tighter than
   the 1560px container, which is what keeps the photography in
   proportion, but it no longer reads as a column floating in the page.
   The caps further down hold the individual photographs where they were,
   so the extra width goes to the specification grid and the branding
   grid rather than to making one image larger.
   -------------------------------------------------------------------------- */

.pshow > .container,
.shsec > .container { max-width: 1380px; }

/* Tighter vertical rhythm than a standard .section, for the same reason:
   96px above and below each of five sections is a lot of travel on a page
   whose job is to be looked at. */
.shsec { padding-block: clamp(2.25rem, 1.5rem + 2.2vw, 3.5rem); }

/* The two band photographs take the full width of their track, which on a
   wide screen is most of the measure. Capped and centred in it. Raised
   with the measure, but by less than the measure grew: the point of the
   wider section is more room for the grids, not a bigger single image. */
.fabshot,
.brandshot,
.fabmedia { max-width: 27rem; margin-inline: auto; }

/* And the hero frame once more â€” 448 was still setting the height of the
   whole first screen. */
.pgallery { max-width: 26rem; }

/* A gallery with a strip needs the extra width for the second track,
   or the main shot pays for it and ends up smaller than the version
   without thumbnails. 30rem keeps the main frame at roughly the 24rem
   it had on its own and puts the strip beside it. Declared after the
   cap above, which it has to override at equal specificity. */
.pgallery--strip { max-width: 34rem; }
