/* ==========================================================================
   Vision Performance Inc. — corporate site
   Design system: docs/website-refresh/05-design-system.md
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL 1.1) ---------- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-v20.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/montserrat-latin-v31.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #00071A;
  --navy: #0A1F44;
  --navy-2: #13315C;
  --text: #334155;
  --text-2: #475569;
  --text-3: #64748B;
  --on-dark: #E2E8F0;
  --on-dark-2: #94A3B8;
  --line: #E2E8F0;
  --line-dark: rgba(226, 232, 240, .14);
  --mist: #F5F7FA;
  --white: #FFFFFF;
  --accent: #F97316;
  --accent-hover: #FB8B3C;
  --accent-text: #C2410C;
  --accent-on-dark: #FB923C;
  --signal: #22D3EE;
  --error: #B91C1C;
  --focus: #2563EB;

  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section: clamp(3.5rem, 2rem + 5vw, 6rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --container: 1200px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(2, 6, 23, .06), 0 1px 1px rgba(2, 6, 23, .04);
  --shadow-2: 0 10px 28px rgba(2, 6, 23, .10);
  --ease: 160ms ease-out;
  --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--white);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 var(--s-4); letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); font-weight: 800; line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
a { color: var(--accent-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
strong { font-weight: 600; color: var(--navy); }
small { font-size: .875rem; }
main { display: block; }
main:focus { outline: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.page-hero :focus-visible, .hero :focus-visible, .section--ink :focus-visible, .cta-band :focus-visible, .announce :focus-visible {
  outline-color: var(--signal);
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; stroke-width: 2; }

.visually-hidden, .field--hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--accent); color: var(--ink); font-weight: 600; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-3); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3, .section--ink strong { color: var(--white); }
.section--ink a:not(.btn) { color: var(--accent-on-dark); }
.section--bordered { border-top: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: end; justify-content: space-between; }
.section-head--split > div { max-width: 46rem; }
.section-head p { font-size: 1.125rem; color: var(--text-2); }
.section--ink .section-head p { color: var(--on-dark-2); }
.eyebrow {
  font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 var(--s-3); display: flex; align-items: center; gap: var(--s-2);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.section-head--center .eyebrow { justify-content: center; }
.eyebrow--on-dark, .section--ink .eyebrow { color: var(--signal); }
.lede { font-size: 1.1875rem; color: var(--text-2); max-width: 44rem; }
.measure { max-width: 68ch; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul { margin-bottom: var(--s-5); }
.prose li + li { margin-top: var(--s-2); }

.grid { display: grid; gap: var(--s-5); }
.grid > *, .split > *, .hero__grid > *, .page-hero__grid > *, .cta-band__inner > * { min-width: 0; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
.grid--tight { gap: var(--s-3); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
/* In two-column mode, an odd item out spans the full row instead of leaving an empty cell. */
@media (min-width: 768px) {
  .grid--2 > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .grid--3 > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
  .grid--3 > :last-child:nth-child(odd):not(:first-child) .card__media .photo { aspect-ratio: 21 / 9; }
}
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--wide-text { grid-template-columns: 1.2fr .8fr; }
  .split--top { align-items: start; }
  /* Text + photo: the photo column stretches to the text height, so neither side leaves a gap. */
  .split--media { align-items: stretch; }
  .split--media > .figure, .split--media > .media-fill { display: flex; flex-direction: column; }
  .split--media > .figure img, .split--media > .media-fill .photo { flex: 1; min-height: 280px; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
  /* A side note beside longer text fills the column height, with its content centred. */
  .split > .callout { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}
.media-fill .photo { border-radius: var(--r-lg); aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: .75rem 1.25rem; border-radius: var(--r-sm);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn--secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); }
.btn--ghost { background: transparent; border-color: rgba(226, 232, 240, .5); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-6); }
.link-cta {
  display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--accent-text);
  text-decoration: none; min-height: 44px;
}
.link-cta:hover { text-decoration: underline; }
.section--ink .link-cta, .on-dark .link-cta { color: var(--accent-on-dark); }

/* ---------- Status pills ---------- */
.status {
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  font-size: .8125rem; font-weight: 600; line-height: 1; padding: .4rem .7rem; border-radius: var(--r-pill);
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--available { color: #166534; background: #DCFCE7; }
.status--development { color: #92400E; background: #FEF3C7; }
.status--planned { color: #334155; background: #E2E8F0; }
.status--internal { color: #3730A3; background: #E0E7FF; }

/* ---------- Announcement ---------- */
.announce { background: var(--navy); color: var(--on-dark); font-size: .875rem; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 44px; padding-block: .45rem; }
.announce p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; }
.announce__tag { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.announce a { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.announce__close {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm);
  background: transparent; border: 0; color: var(--on-dark-2); cursor: pointer;
}
.announce__close:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.announce[hidden] { display: none; }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: block; flex: none; border-radius: 4px; }
.brand img { height: 54px; width: auto; }
@media (min-width: 1100px) { :root { --header-h: 92px; } .brand img { height: 66px; } }
.primary-nav { display: none; margin-left: auto; }
.site-header__cta { display: none; }
.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 .9rem;
  color: var(--white); background: transparent; border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  font: 600 .9375rem var(--font-body); text-decoration: none; cursor: pointer;
}
.menu-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .08); }

@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}
.primary-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav__item { position: relative; }
.primary-nav__trigger, .primary-nav__link {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .8rem;
  font: 500 .9688rem var(--font-body); color: var(--on-dark); background: none; border: 0; border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; position: relative;
}
.primary-nav__trigger:hover, .primary-nav__link:hover, .primary-nav__trigger[aria-expanded="true"] { color: var(--white); background: rgba(255, 255, 255, .06); }
.primary-nav__trigger .icon { transition: transform var(--ease); }
.primary-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav__item[data-active] > .primary-nav__trigger::after,
.primary-nav__link[aria-current="page"]::after,
.primary-nav__item[data-active] > .primary-nav__link::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: 6px; height: 2px; background: var(--accent);
}
.mega {
  position: absolute; top: calc(100% + 10px); left: -1rem; width: 36rem; z-index: 110;
  background: var(--white); color: var(--text); border-radius: var(--r-md); box-shadow: var(--shadow-2), 0 0 0 1px rgba(2, 6, 23, .06);
  padding: var(--s-4);
}
.mega--narrow { width: 21rem; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
@media (hover: hover) and (min-width: 1100px) {
  .primary-nav__item:hover > .mega { display: block; }
}
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega__list--single { grid-template-columns: 1fr; }
.mega__list a {
  display: block; padding: .6rem .75rem; border-radius: var(--r-sm); text-decoration: none; color: var(--text-2); font-size: .875rem; line-height: 1.4;
}
.mega__list a strong { display: block; color: var(--navy); font-size: .9688rem; margin-bottom: .1rem; }
.mega__list a:hover, .mega__list a[aria-current="page"] { background: var(--mist); }
.mega__list a[aria-current="page"] strong { color: var(--accent-text); }
.mega__all {
  display: flex; align-items: center; gap: .4rem; margin-top: var(--s-3); padding: .75rem .75rem .25rem;
  border-top: 1px solid var(--line); font-weight: 600; font-size: .9375rem; color: var(--accent-text); text-decoration: none;
}
.mega__all:hover { text-decoration: underline; }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); border-top: 1px solid var(--line-dark); padding: var(--s-4) var(--gutter) var(--s-7);
}
.mobile-nav__list { margin-bottom: var(--s-6) !important; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav a, .mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  color: var(--white); font: 600 1.0625rem var(--font-body); text-decoration: none; cursor: pointer; list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav details ul { padding: 0 0 var(--s-3) var(--s-4); }
.mobile-nav details a { min-height: 44px; font-weight: 500; color: var(--on-dark); font-size: 1rem; }
.mobile-nav a[aria-current="page"] { color: var(--accent-on-dark); }
.mobile-nav .btn { color: var(--ink); justify-content: center; }
body.nav-open { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.crumbs { margin-bottom: var(--s-5); font-size: .875rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.crumbs li { display: flex; align-items: center; gap: .25rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: '/'; color: #64748B; margin-right: .25rem; }
.crumbs a { color: var(--on-dark); text-decoration: none; padding-block: .35rem; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-dark-2); }

/* ---------- Page hero ---------- */
.page-hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(3rem, 2rem + 4vw, 5rem); position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; left: var(--gutter); bottom: 0; width: min(240px, 40vw); height: 3px;
  background: linear-gradient(90deg, var(--signal) 0 70%, var(--accent) 70% 100%);
}
.page-hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .page-hero--media .page-hero__grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); } }
.page-hero__title { color: var(--white); max-width: 22ch; margin-bottom: var(--s-4); }
.page-hero__lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--on-dark); max-width: 42rem; opacity: .92; }
.page-hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.page-hero__status-note { font-size: .9375rem; color: var(--on-dark-2); }
.page-hero__media { position: relative; }
.page-hero__media .photo {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); background: var(--navy);
}
@media (min-width: 900px) {
  /* The photo matches the text column's height (never shorter than 260px), so the hero is balanced. */
  .page-hero--media .page-hero__grid { align-items: stretch; }
  .page-hero__media { display: flex; }
  .page-hero__media .photo { aspect-ratio: auto; height: 100%; min-height: 260px; max-height: 420px; }
}

/* ---------- Photography ---------- */
.photo { display: block; width: 100%; height: auto; background: var(--mist); }
.rounded-photo .photo { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; }
/* Explicit column counts so 10 tiles fill 2×5 or 5×2, and 8 tiles fill 2×4 or 4×2, with no gaps. */
.photo-tile-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .photo-tile-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 768px) { .photo-tile-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.photo-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3;
  background: var(--navy); text-decoration: none; box-shadow: var(--shadow-1);
}
.photo-tile .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease-out; }
.photo-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 7, 26, .88) 0%, rgba(0, 7, 26, .35) 45%, rgba(0, 7, 26, 0) 70%); }
.photo-tile span {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-3); z-index: 1;
  color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.25;
}
@media (max-width: 419px) {
  .photo-tile span { left: var(--s-3); right: var(--s-3); bottom: var(--s-2); font-size: .8125rem; hyphens: auto; overflow-wrap: anywhere; }
}
.photo-tile:hover .photo { transform: scale(1.04); }
.photo-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Home hero ---------- */
/* Modest top padding so the headline sits close under the menu; a little more room below. */
.hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(2rem, 1rem + 2vw, 3.25rem) clamp(3rem, 2rem + 3vw, 4.5rem); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: var(--s-7); align-items: start; }
/* The ecosystem panel starts level with the headline. */
@media (min-width: 1200px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } .hero__grid > .ecosystem { margin-top: .5rem; } }
.hero__title { color: var(--white); font-size: clamp(2rem, 1.35rem + 3.2vw, 3.75rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: var(--s-5); }
.hero__title span { color: var(--accent-on-dark); }
.hero__lede { font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); color: var(--on-dark); opacity: .92; max-width: 38rem; }
.hero .btn-row { margin-top: var(--s-6); }
.hero__note { margin-top: var(--s-5); font-size: .9375rem; color: var(--on-dark-2); }

/* Ecosystem diagram (home hero) */
.ecosystem { border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: var(--s-5); background: rgba(10, 31, 68, .45); }
.ecosystem__core {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md);
  background: var(--navy); border: 1px solid rgba(34, 211, 238, .35);
}
.ecosystem__core { gap: var(--s-5); }
.ecosystem__logo { flex: none; width: auto; height: 76px; }
.ecosystem__core p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--on-dark); }
.ecosystem__rail { position: relative; height: 22px; margin-inline: 12%; }
.ecosystem__rail::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(34, 211, 238, .45); }
.ecosystem__rail::after { content: ''; position: absolute; left: 50%; top: 0; height: 50%; border-left: 1px solid rgba(34, 211, 238, .45); }
.ecosystem__nodes { display: grid; gap: var(--s-3); }
@media (min-width: 560px) { .ecosystem__nodes { grid-template-columns: repeat(3, 1fr); } }
.ecosystem__node { padding: var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line-dark); background: rgba(0, 7, 26, .6); }
.ecosystem__title { font-family: var(--font-head); font-weight: 700; font-size: .9688rem; color: var(--white); margin-bottom: var(--s-2) !important; }
.ecosystem__node ul { list-style: none; padding: 0; margin: 0 0 var(--s-3); font-size: .8438rem; color: var(--on-dark-2); line-height: 1.5; }
.ecosystem__node .status { font-size: .75rem; padding: .3rem .55rem; }
.ecosystem__caption { margin: var(--s-4) 0 0; font-size: .8125rem; color: var(--on-dark-2); }
@media (max-width: 559px) {
  .ecosystem { padding: var(--s-4); }
  .ecosystem__rail { display: none; }
  .ecosystem__nodes { margin-top: var(--s-3); }
  .ecosystem__logo { height: 60px; }
  .ecosystem__core p { font-size: .9375rem; }
  .ecosystem__node { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem var(--s-3); padding: var(--s-3) var(--s-4); }
  .ecosystem__node ul { display: none; }
  .ecosystem__title { margin: 0 !important; }
  .ecosystem__node .status { justify-self: start; }
}

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-1); padding: var(--s-5); transition: box-shadow var(--ease), border-color var(--ease);
}
.card--link:hover { box-shadow: var(--shadow-2); border-color: #CBD5E1; }
.card__media {
  margin: calc(-1 * var(--s-5)) calc(-1 * var(--s-5)) var(--s-5); overflow: hidden;
  border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0;
}
.card__media .photo { aspect-ratio: 3 / 2; object-fit: cover; transition: transform 300ms ease-out; }
.card--link:hover .card__media .photo { transform: scale(1.03); }
.pillar .card__media { border-radius: 0; }
.card__title { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card__title a:focus-visible { outline: none; }
.card--link:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.card p { color: var(--text-2); font-size: .9688rem; }
.card__meta { margin-top: auto; padding-top: var(--s-4); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.card__more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9375rem; color: var(--accent-text); }
.card--link:hover .card__more { text-decoration: underline; }
.card ul { font-size: .9375rem; color: var(--text-2); padding-left: 1.1rem; }
.card li + li { margin-top: .35rem; }
.card--mist { background: var(--mist); box-shadow: none; }
.card > .status { align-self: flex-start; }
.section--mist .card--mist { background: var(--white); }

/* Pillar cards (home) */
.pillar { border-top: 3px solid var(--navy); }
.pillar--accent { border-top-color: var(--accent); }
.pillar--signal { border-top-color: var(--signal); }
.pillar h3 { font-size: 1.3125rem; }
.pillar__kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-2); }

/* Product cards (technology) */
.product-card {
  --pad: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  display: flex; flex-direction: column; gap: var(--s-4); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--pad); box-shadow: var(--shadow-1); height: 100%;
}
.product-card__media { margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) var(--s-2); overflow: hidden; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; }
.product-card__media .photo { aspect-ratio: 16 / 9; object-fit: cover; }
.product-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); }
.product-card__endorse { flex-basis: 100%; margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.product-card__name { margin: 0; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); font-weight: 800; }
.product-card__lede { font-size: 1.0625rem; color: var(--text); margin: 0; }
.product-card__features { display: grid; gap: var(--s-3); padding-block: var(--s-4) !important; border-block: 1px solid var(--line) !important; }
.product-card__features li { position: relative; padding-left: 1.5rem; font-size: .9688rem; color: var(--text-2); }
.product-card__features li::before {
  content: ''; position: absolute; left: .2rem; top: .35rem; width: 6px; height: 11px;
  border: solid var(--accent-text); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.product-card__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: auto; }
.product-card__domain { margin: 0; font-size: .8125rem; color: var(--text-3); }

/* Feature list (text-led, accent rule instead of icons) */
.feature { border-top: 2px solid var(--line); padding-top: var(--s-4); position: relative; }
.feature::before { content: ''; position: absolute; left: 0; top: -2px; width: 40px; height: 2px; background: var(--accent); }
.section--ink .feature { border-top-color: var(--line-dark); }
.feature h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.feature p { font-size: .9688rem; color: var(--text-2); margin: 0; }
.section--ink .feature p { color: var(--on-dark-2); }

.checklist { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-3); }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .2rem; width: 20px; height: 20px; border-radius: 50%; background: var(--navy);
}
.checklist li::after {
  content: ''; position: absolute; left: 7px; top: calc(.2rem + 4px); width: 5px; height: 9px;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.section--ink .checklist li::before { background: var(--accent); }
.section--ink .checklist li::after { border-color: var(--ink); }

/* Steps */
/* Default: compact vertical list (number beside text). .steps--row becomes one row of
   equal columns only where every step gets enough width (≥1280px). */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s-3); }
.steps li {
  counter-increment: step; position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md);
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--s-3); padding: var(--s-4) var(--s-5);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); grid-row: span 2; font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  color: var(--accent-text); line-height: 1.6;
}
.steps h3 { font-size: 1.0313rem; margin-bottom: var(--s-1); }
@media (min-width: 1280px) {
  .steps--row { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-4); }
  .steps--row li { display: block; padding: var(--s-5); }
  .steps--row li::before { display: block; margin-bottom: var(--s-3); }
  .steps--row h3 { margin-bottom: var(--s-2); }
}
.steps p { font-size: .9375rem; color: var(--text-2); margin: 0; }

/* Industry tiles */
.tile-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); }
.tile {
  position: relative; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); min-height: 64px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); color: var(--navy); font-weight: 600;
  text-decoration: none; transition: border-color var(--ease), box-shadow var(--ease);
}
.tile .icon { color: var(--text-2); }
a.tile:hover { border-color: #CBD5E1; box-shadow: var(--shadow-2); }
a.tile:hover .icon { color: var(--accent-text); }
.tile small { display: block; font-weight: 500; color: var(--text-3); font-size: .8125rem; }

/* Callout */
.callout { border-left: 3px solid var(--accent); background: var(--mist); padding: var(--s-5); border-radius: 0 var(--r-md) var(--r-md) 0; }
.callout p { color: var(--text); }
.callout--note { border-left-color: var(--navy); }
.callout__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: var(--s-2); }

/* Figure */
.figure { margin: 0; }
.figure img { border-radius: var(--r-lg); width: 100%; }
.figure figcaption { margin-top: var(--s-3); font-size: .875rem; color: var(--text-3); }
.section--ink .figure figcaption { color: var(--on-dark-2); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.status-table { width: 100%; border-collapse: collapse; font-size: .9688rem; min-width: 560px; }
.status-table caption { text-align: left; padding: var(--s-4) var(--s-5); font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.status-table th, .status-table td { text-align: left; padding: .85rem var(--s-5); border-top: 1px solid var(--line); vertical-align: middle; }
.status-table thead th { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); font-weight: 600; background: var(--mist); }
.status-table tbody th { font-weight: 600; color: var(--navy); }
.status-table tbody th a { color: var(--navy); }
.status-table td { color: var(--text-2); }

/* FAQ */
@media (min-width: 900px) { .faq-split { grid-template-columns: .8fr 1.2fr; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--ease); color: var(--text-3); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding-bottom: var(--s-5); color: var(--text-2); max-width: 68ch; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line-dark); }
.cta-band__inner { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band__title { color: var(--white); margin-bottom: var(--s-3); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.cta-band p { color: var(--on-dark-2); max-width: 44rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Section sub-navigation */
.subnav { background: var(--mist); border-top: 1px solid var(--line); padding-block: var(--s-6); }
.subnav__title { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: var(--s-4); }
.subnav__list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.subnav__list a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-4); border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line); color: var(--navy); font-size: .9375rem; font-weight: 500; text-decoration: none;
}
.subnav__list a:hover { border-color: var(--navy); }
.subnav__list a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-1); }
.form__grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.field label { font-weight: 600; color: var(--navy); font-size: .9688rem; }
.field__req, .field__opt { font-weight: 400; color: var(--text-3); font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: .65rem .8rem; font: 400 1rem/1.4 var(--font-body); color: var(--navy);
  background: var(--white); border: 1px solid #94A3B8; border-radius: var(--r-sm); transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: .875rem; color: var(--text-3); margin: 0; }
.field__error { font-size: .875rem; color: var(--error); font-weight: 500; margin: 0; }
.field__error[hidden] { display: none; }
.form__footer { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: var(--s-6); }
.form__note { margin: 0; font-size: .875rem; color: var(--text-3); }
.form__errors { border: 1px solid var(--error); background: #FEF2F2; border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-5); }
.form__errors-title { font-family: var(--font-body); font-size: 1rem; color: var(--error); margin-bottom: var(--s-2); }
.form__errors ul { margin: 0; }
.form__errors a { color: var(--error); }
.form__status:not(:empty) { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); font-weight: 500; }
.form__status.is-success { background: #DCFCE7; color: #14532D; }
.form__status.is-error { background: #FEF2F2; color: var(--error); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* Contact aside: stays in view beside the (taller) form on desktop. */
@media (min-width: 900px) { .contact-aside { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }

.contact-list strong { display: block; }
.contact-list span, .contact-list a, .contact-list address { color: var(--text-2); }

/* ---------- Style picker ---------- */
.style-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.style-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-1); overflow: hidden; }
.style-card__photo { border-bottom: 1px solid var(--line); }
.style-card__photo .photo { aspect-ratio: 3 / 2; object-fit: cover; }
.style-card__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.style-card__title { margin: 0; }
.style-card__flag { margin: 0; align-self: flex-start; font-size: .8125rem; font-weight: 600; color: #92400E; background: #FEF3C7; padding: .25rem .6rem; border-radius: var(--r-pill); }
.style-card__body > p { margin: 0; color: var(--text-2); font-size: .9688rem; }
.style-card__facts { margin: 0 0 var(--s-2); display: grid; gap: var(--s-3); font-size: .9375rem; }
.style-card__facts dt { font-weight: 600; color: var(--navy); }
.style-card__facts dd { margin: 0; color: var(--text-2); }
.style-card__frames h4 { font-size: .9375rem; margin-bottom: var(--s-2); }
.style-card__frames ul { font-size: .9375rem; }
.style-card .btn { margin-top: auto; }
.shortlist-toggle .shortlist-toggle__added { display: none; }
.shortlist-toggle[aria-pressed="true"] .shortlist-toggle__add { display: none; }
.shortlist-toggle[aria-pressed="true"] .shortlist-toggle__added { display: inline; }
.btn.shortlist-toggle[aria-pressed="true"] { background: var(--navy); color: var(--white); }

.lens-options { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.lens-option__toggle {
  width: 100%; display: flex; gap: var(--s-3); align-items: flex-start; text-align: left; cursor: pointer;
  padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
  font: inherit; color: var(--text); transition: border-color var(--ease);
}
.lens-option__toggle:hover { border-color: var(--text-3); }
.lens-option__toggle strong { display: block; }
.lens-option__note { display: block; font-size: .9063rem; color: var(--text-2); margin-top: .2rem; }
.lens-option__box { flex: none; width: 22px; height: 22px; margin-top: .1rem; border: 1.5px solid #94A3B8; border-radius: 5px; display: grid; place-items: center; }
.lens-option__toggle[aria-pressed="true"] { border-color: var(--navy); background: var(--mist); }
.lens-option__toggle[aria-pressed="true"] .lens-option__box { background: var(--navy); border-color: var(--navy); }

.shortlist-bar {
  position: sticky; bottom: 0; z-index: 50; background: var(--ink); color: var(--on-dark);
  border-top: 1px solid var(--line-dark); box-shadow: 0 -8px 24px rgba(2, 6, 23, .18);
}
.shortlist-bar[hidden] { display: none; }
.shortlist-bar__inner { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between; padding-block: var(--s-4); }
.shortlist-bar p { margin: 0; }
.shortlist-bar strong { color: var(--white); }
.shortlist-bar__items { display: block; font-size: .875rem; color: var(--on-dark-2); }
.shortlist-bar__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn--text-light { background: none; border: 0; color: var(--on-dark); text-decoration: underline; min-height: 44px; font: 500 .9375rem var(--font-body); cursor: pointer; padding: 0 var(--s-2); }

/* ---------- Resources ---------- */
.resource-card .status { align-self: flex-start; }
.resource-card h3 { margin-top: var(--s-4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: .9375rem; padding-top: var(--s-8); }
.site-footer__top { display: grid; gap: var(--s-7); padding-bottom: var(--s-7); }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: 1fr 2.4fr; } }
.site-footer__brand img { height: 104px; width: auto; }
.site-footer__brand p { margin: var(--s-4) 0; color: var(--on-dark); }
.site-footer__contact { display: grid; gap: var(--s-2); }
.site-footer__contact li { display: flex; align-items: center; gap: var(--s-2); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 32px; }
.site-footer__nav { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.site-footer__heading { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); margin-bottom: var(--s-4); }
.site-footer__nav li + li { margin-top: .15rem; }
.site-footer__nav a { display: inline-block; padding-block: .3rem; }
.site-footer__products {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; padding-block: var(--s-5);
  border-top: 1px solid var(--line-dark); font-size: .875rem;
}
.site-footer__products span { color: var(--on-dark-2); }
.site-footer__products a { display: inline-flex; align-items: center; gap: .35rem; min-height: 32px; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; align-items: center;
  padding-block: var(--s-5); border-top: 1px solid var(--line-dark); font-size: .875rem;
}
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.site-footer__legal a { display: inline-block; padding-block: .3rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.muted { color: var(--text-3); }
.small { font-size: .9375rem; }
.stack > * + * { margin-top: var(--s-4); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: .35rem .75rem; border-radius: var(--r-pill); background: var(--mist); border: 1px solid var(--line); font-size: .875rem; color: var(--text-2); }
.section--ink .tag-list li { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); color: var(--on-dark); }
.kicker-list { display: grid; gap: var(--s-5); margin: 0; }
.kicker-list dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
/* Legal pages: reading column + sticky side panel (policy navigation and contact). */
.legal-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1200px) {
  .legal-layout { grid-template-columns: minmax(0, 68ch) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
  .legal-aside { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
}
.legal-aside { display: grid; gap: var(--s-4); min-width: 0; }
@media (min-width: 640px) and (max-width: 1199px) { .legal-aside { grid-template-columns: 1fr 1fr; } }
.legal-aside > * { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); }
.legal-aside__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: var(--s-3); }
.legal-aside ul li + li { margin-top: var(--s-1); }
.legal-aside__nav a { display: block; padding: .45rem 0; color: var(--text); text-decoration: none; }
.legal-aside__nav a:hover { color: var(--accent-text); text-decoration: underline; }
.legal-aside__nav a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }
.legal-aside__contact p:last-child { color: var(--text-2); font-size: .9375rem; overflow-wrap: anywhere; }

/* Panel: a boxed text + actions row, so short action columns never leave an empty half-page. */
.panel {
  display: grid; gap: var(--s-5); align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.panel h2 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem); }
.panel p:last-child { margin-bottom: 0; max-width: 44rem; }
.panel__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 900px) { .panel { grid-template-columns: 1fr auto; gap: var(--s-7); } .panel__actions { justify-content: flex-end; } }

/* Brand architecture cards (About): 1 → 2 (odd one spans) → 5 across. */
.brand-grid { display: grid; gap: var(--s-4); margin: 0; }
.brand-grid > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); border-top: 3px solid var(--navy); }
.brand-grid > div:nth-child(2) { border-top-color: var(--accent); }
.brand-grid > div:nth-child(3) { border-top-color: var(--signal); }
.brand-grid dt { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: var(--s-2); }
.brand-grid dd { margin: 0; color: var(--text-2); font-size: .9375rem; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .brand-grid { grid-template-columns: repeat(5, 1fr); }
  .brand-grid > :last-child:nth-child(odd) { grid-column: auto; }
}
.site-footer__products a { overflow-wrap: anywhere; }
.number { font-family: var(--font-head); font-weight: 800; color: var(--accent-text); }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; align-content: center; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .announce, .site-header, .site-footer, .cta-band, .subnav, .shortlist-bar, .skip-link { display: none !important; }
  .page-hero, .hero, .section--ink { background: none !important; color: #000 !important; }
  .page-hero__title, .hero__title { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
