/* ============================================================
   Organic Trading Company — Jaspr POC stylesheet
   Tokens mirror frontend/lib/core/theme/otc_colors|typography|tokens.dart

   Unit system:
   - font-size: rem (respects user font settings), fluid clamp(…vw…) for
     display sizes.
   - padding/margin/gap: em (scales with the element's type size) or
     clamp(…vw…) for page gutters & section rhythm.
   - max-width / min-width / fixed dimensions / borders / radii: px.
   ============================================================ */

/* ------------------------------------------------------------
   Self-hosted fonts (latin subset, woff2) — no third-party
   request to fonts.googleapis.com/gstatic.com (CWV + privacy).
   Montserrat & Playfair Display are variable fonts (one file,
   weight range); IBM Plex Mono ships static per weight.
   Files live in web/fonts/ and are served same-origin.
   ------------------------------------------------------------ */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-600.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: 300 600;
  font-display: swap;
  src: url('/fonts/montserrat-variable.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: 'Playfair Display';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/playfair-display-variable.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;
}

:root {
  /* Brand core (otc_colors.dart) */
  --navy-900: #081428;
  --navy-800: #0d1f3c;
  --navy-700: #142a50;
  --navy-600: #1e3a66;
  --navy-300: #4a5e80;

  --red-700: #b30e1f;
  --red-600: #cf1224;
  --red-500: #e8192c;

  --gold-600: #a88a37;
  --gold-500: #c8a84b;

  --base: #f8f9fc;
  --surface-1: #ffffff;
  --surface-2: #f1f3f8;

  --ink-900: #0d1f3c;
  --ink-700: #344256;
  /* --ink-500/-400 darkened to meet WCAG AA (4.5:1) on white — they are the
     site's secondary/tertiary body-text colors. */
  --ink-500: #5c6a86; /* ~5.4:1 on #fff */
  --ink-400: #66758f; /* ~4.65:1 on #fff */

  --line-300: #d4d9e4;
  --line-200: #e4e8f0;

  --whatsapp: #25d366;
  --whatsapp-hover: #1fbe5a;

  /* On-navy text alphas */
  --on-navy-strong: rgba(255, 255, 255, 0.85);
  --on-navy-body: rgba(255, 255, 255, 0.78);
  --on-navy-muted: rgba(255, 255, 255, 0.72);
  --on-navy-dim: rgba(255, 255, 255, 0.62);
  --on-navy-faint: rgba(255, 255, 255, 0.52); /* AA on navy-900 */
  --on-navy-hairline: rgba(255, 255, 255, 0.14);

  /* Fonts (otc_typography.dart) */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Tokens (otc_tokens.dart) */
  --max-content: 1200px;
  /* Fluid page gutter: 16px on a small phone → 28px from ~700px up. */
  --page-pad: clamp(1em, 4vw, 1.75em);
  --r-input: 2px;
  --r-card: 4px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(13, 31, 60, 0.06);
  --shadow-2: 0 2px 8px rgba(13, 31, 60, 0.08);
  --shadow-3: 0 8px 24px rgba(13, 31, 60, 0.10);
  --shadow-4: 0 18px 48px rgba(13, 31, 60, 0.14);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Fluid root size: every rem/em value in the sheet scales with the viewport —
     ~13.5px on a 310px phone → 16px from ~800px up. rem-based so browser font
     settings are still respected. */
  font-size: clamp(0.8125rem, 0.75rem + 0.5vw, 1rem);
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-700);
  background: var(--base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Safety net: a stray overflowing element must never widen the page and eat
   the right gutter. */
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---- Accessibility: keyboard focus + skip link ---- */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 2px;
}
/* The two search inputs suppress their own outline (styled glass/pill
   container); show the focus ring on the container instead. */
.hero__search:focus-within,
.cat-search:focus-within {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: 0.5em; top: 0.5em; z-index: 2000;
  padding: 0.6em 1em;
  background: #fff; color: var(--ink-900);
  font-size: 0.875rem; font-weight: 600;
  border-radius: var(--r-card); box-shadow: var(--shadow-3);
  transform: translateY(-160%);
  transition: transform 0.15s var(--ease-standard);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* Inline icons size in em so they scale with the text they sit beside. */
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.icon--sm { width: 1.0625em; height: 1.0625em; }
.icon--xs { width: 0.875em; height: 0.875em; }

/* ---- Eyebrow (mono, gold/red, 0.12em tracking, uppercase) ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-500);
}
.eyebrow--center { display: block; text-align: center; color: var(--ink-500); }
.eyebrow--ondark { color: var(--gold-500); }

/* ============================================================
   Glass primitives — the showcase
   ============================================================ */
.glass {
  background: rgba(20, 42, 80, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  box-shadow: 0 14px 44px rgba(5, 12, 28, 0.42);
}
.glass--card { box-shadow: 0 18px 48px rgba(5, 12, 28, 0.38); }
.glass--sheen { position: relative; overflow: hidden; }
.glass--sheen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  pointer-events: none;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.8em 1.3em;
  border: 1px solid transparent;
  border-radius: var(--r-card);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease-standard), transform 0.2s var(--ease-standard),
    box-shadow 0.2s var(--ease-standard), border-color 0.2s var(--ease-standard);
}
.btn--lg { padding: 0.95em 1.6em; font-size: 0.938rem; }
/* Link-wrapped buttons nest their content in one <span>; lay it out as centered
   flex (not inline text) so icons align with the label instead of the baseline. */
.btn > span { display: inline-flex; align-items: center; gap: 0.6em; }

.btn--primary { background: var(--red-500); color: #fff; }
.btn--primary:hover { background: var(--red-600); transform: translateY(-1px); box-shadow: var(--shadow-3); }

.btn--accent { background: var(--red-500); color: #fff; }
.btn--accent:hover { background: var(--red-600); }

.btn--quote { background: var(--whatsapp); color: #06351a; font-weight: 600; }
.btn--quote:hover { background: var(--whatsapp-hover); transform: translateY(-1px); }

.btn--whatsapp { background: var(--whatsapp); color: #06351a; font-weight: 600; }
.btn--whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-1px); box-shadow: var(--shadow-3); }

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }

/* ============================================================
   Header — glass on navy
   ============================================================ */
.header { position: sticky; top: 0; z-index: 50; }

.header__utility { background: var(--navy-900); height: 38px; }
.header__utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  font-size: 0.781rem;
  color: var(--on-navy-strong);
}
.header__utility-left,
.header__utility-right { display: flex; align-items: center; gap: 1.6em; }
.header__utility-left { gap: 0.64em; }
.header__utility-item { display: inline-flex; align-items: center; gap: 0.48em; color: var(--on-navy-body); }
.header__utility-gold { color: var(--gold-500); }

.header__bar {
  height: 74px;
  background: rgba(13, 31, 60, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}
.header__bar-inner { display: flex; align-items: center; height: 74px; gap: 1.5em; }

.header__logo { display: inline-flex; align-items: center; gap: 0.75em; }
.header__logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.938rem; letter-spacing: 0.04em;
  color: var(--navy-900); background: var(--gold-500); border-radius: var(--r-card);
}
.header__logo-img { height: 46px; width: auto; display: block; }
.footer__logo-img { height: 58px; width: auto; display: block; }

/* Global quote modal (opened from the header) */
.qmodal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(0.75em, 3vw, 1.5em); }
.qmodal__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 40, 0.55); backdrop-filter: blur(4px); }
.qmodal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto; background: #fff;
  border-radius: var(--r-card); box-shadow: var(--shadow-4); padding: clamp(1.25em, 5vw, 2.25em);
}
.qmodal__close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  display: grid; place-items: center; background: transparent; border: none;
  cursor: pointer; color: var(--ink-500); border-radius: 8px;
}
.qmodal__close:hover { background: var(--surface-2); color: var(--ink-900); }

/* Header actions + mobile menu (hamburger shown < 900px) */
.header__actions { display: flex; align-items: center; gap: 0.625em; }
.header__menu-btn {
  display: none; width: 40px; height: 40px; place-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--on-navy-hairline);
  border-radius: var(--r-input); color: #fff; cursor: pointer;
}
.header__menu-btn:hover { background: rgba(255, 255, 255, 0.12); }
.header__mobile { display: none; background: var(--navy-900); border-top: 1px solid var(--on-navy-hairline); }
.header__mobile-inner { display: flex; flex-direction: column; padding-block: 0.5em 1.125em; }
.header__mobile-link {
  display: block; padding: 0.813em 0.125em; color: var(--on-navy-body);
  text-decoration: none; font-size: 1rem; border-bottom: 1px solid var(--on-navy-hairline);
}
.header__mobile-link:hover { color: #fff; }
.header__mobile-quote { margin-top: 1.14em; width: 100%; justify-content: center; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.header__logo-name { font-family: var(--font-serif); font-size: 1.188rem; font-weight: 600; color: #fff; }
.header__logo-suffix {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--on-navy-dim);
}

.header__nav { display: flex; align-items: center; gap: 0.25em; margin-left: auto; }
.header__nav-link {
  position: relative;
  padding: 0.69em 0.97em;
  font-size: 0.906rem;
  color: var(--on-navy-body);
  transition: color 0.2s var(--ease-standard);
}
.header__nav-link:hover { color: #fff; }
.header__nav-link--active { color: #fff; font-weight: 500; }
.header__nav-link--active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--red-500); border-radius: 1px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  /* The photograph sits beneath two navy layers. The gradient alphas
     (0.88 / 0.94) ARE the contrast budget: even over a pure-white pixel the
     composite stays dark enough for the white headline to clear WCAG AA.
     Raise the alphas — never lower them — if a brighter photo is swapped in. */
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(30, 58, 102, 0.55), transparent 60%),
    linear-gradient(160deg, rgba(13, 31, 60, 0.88) 0%, rgba(8, 20, 40, 0.94) 70%),
    url('/banner-image.jpg');
  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--navy-700);
  padding-block: clamp(2.5em, 7vw, 4.75em);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 80%);
}
.hero__inner {
  position: relative;
  display: grid;
  /* minmax(0, …): a plain fr track can't shrink below its content's min width,
     which let long/nowrap content force the column past the viewport. */
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
  gap: clamp(2em, 4.5vw, 3.5em);
  align-items: center;
}

.hero__eyebrow-text {
  font-family: var(--font-mono); font-size: clamp(0.656rem, 2.9vw, 0.75rem); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500);
}
.hero__title {
  margin-top: 0.4em;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero__subtext {
  margin-top: 1.2em;
  max-width: 520px;
  font-size: clamp(0.938rem, 2.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--on-navy-body);
}

.hero__search {
  display: flex;
  align-items: center;
  gap: 0.75em;
  max-width: 540px;
  margin-top: 1.75em;
  padding: 0.44em 0.44em 0.44em 1em;
  background: rgba(20, 42, 80, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero__search-icon { color: var(--on-navy-muted); }
.hero__search-input {
  flex: 1;
  /* Without this a flex item won't shrink below the input's intrinsic width,
     overflowing the container on narrow screens (right margin disappears). */
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 2.3vw, 0.938rem);
  color: #fff;
}
.hero__search-input::placeholder { color: var(--on-navy-muted); }
.hero__search-btn { padding: 0.71em 1.14em; white-space: nowrap; flex-shrink: 0; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.875em; margin-top: 1.125em; }

.hero__assurance {
  display: flex; align-items: flex-start; gap: 0.67em;
  margin-top: 1.93em; max-width: 520px;
  font-size: 0.844rem; line-height: 1.5; color: var(--on-navy-dim);
}
.hero__assurance-icon { color: var(--red-500); margin-top: 1px; }

/* ---- Spec sheet glass card ---- */
.spec { width: 100%; }
.spec__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5em;
  padding: 0.94em 1.125em;
  border-bottom: 1px solid var(--on-navy-hairline);
}
.spec__head-label {
  font-family: var(--font-mono); font-size: 0.688rem; font-weight: 500;
  letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55);
}
.spec__image {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.spec__image-glyph { width: 56px; height: 56px; color: rgba(255, 255, 255, 0.20); }
.spec__rows { display: flex; flex-direction: column; }
.spec__row {
  display: flex; align-items: baseline; gap: 0.75em;
  padding: 0.625em 1.125em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.spec__row:last-child { border-bottom: none; }
.spec__row-key {
  width: 92px; flex: 0 0 auto;
  font-family: var(--font-mono); font-size: 0.688rem; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.spec__row-value {
  flex: 1; text-align: right;
  font-family: var(--font-mono); font-size: 0.875rem; color: #fff;
}

/* ---- Gold badge ---- */
.badge {
  display: inline-flex; align-items: center; gap: 0.6em;
  white-space: nowrap;
  padding: 0.4em 0.9em;
  border: 1px solid var(--gold-500);
  border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.1em; color: #8a6f28; /* darker gold — AA on white (~4.8:1) */
}
.badge--ondark { background: rgba(200, 168, 75, 0.12); color: var(--gold-500); }

/* ============================================================
   Bands & sections
   ============================================================ */
.band { position: relative; overflow: hidden; }
.band--navy { background: var(--navy-800); }
.band--navy900 { background: var(--navy-900); }
.band__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section { padding-block: clamp(3em, 8vw, 5.25em); }
.section--base { background: var(--base); }
.section--rule {
  background: var(--surface-1);
  border-top: 1px solid var(--line-300);
  border-bottom: 1px solid var(--line-300);
  padding-block: clamp(2.25em, 6vw, 3.5em);
}

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5em; margin-bottom: 2.5em; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head-text { display: flex; flex-direction: column; gap: 0.875em; }
.section__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.375rem); line-height: 1.15; letter-spacing: -0.01em;
  color: var(--ink-900);
}
.section__title--ondark { color: #fff; }
.section__head-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.938rem; font-weight: 500; color: var(--red-500); white-space: nowrap;
}
.section__head-link:hover { color: var(--red-600); }

/* Card grids reflow on their own: as many columns as fit a ~240px card. */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5em; }
.brand-grid { gap: 1.125em; }

/* ---- Stats ---- */
.stats__inner { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 2.5em; }
.stat { padding-inline: 1.875em; }
.stat + .stat { border-left: 1px solid var(--on-navy-hairline); }
.stat__figure {
  display: block; font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 2.625rem); line-height: 1.1; color: #fff;
}
.stat__label { display: block; margin-top: 0.43em; font-size: 0.875rem; color: var(--on-navy-muted); }

/* ---- Category cards ---- */
.cat-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px;
  padding: 1.125em;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  border: 1px solid var(--line-300);
  overflow: hidden;
  transition: transform 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-4); }
.cat-card__badge {
  position: absolute; top: 14px; left: 14px;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: rgba(20, 42, 80, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-card); color: #fff;
}
.cat-card__icon { width: 22px; height: 22px; }
.cat-card__body {
  padding: 1em;
  background: rgba(20, 42, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cat-card__title { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: #fff; }
.cat-card__blurb { margin-top: 0.48em; font-size: 0.781rem; line-height: 1.5; color: var(--on-navy-body); }
.cat-card__link { display: inline-block; margin-top: 1em; font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold-500); }

/* ---- Brand cards ---- */
.brand-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5em;
  padding: 1.625em 1.375em;
  background: #fff;
  border: 1px solid var(--line-300);
  border-radius: var(--r-card);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.brand-card__name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--ink-900); }
.brand-card__country { font-family: var(--font-mono); font-size: 0.656rem; letter-spacing: 0.08em; color: var(--ink-400); margin-bottom: 0.57em; }

/* ---- Why cards ---- */
.why-card {
  padding: 1.625em 1.375em;
  background: #fff;
  border: 1px solid var(--line-300);
  border-top: 2px solid var(--navy-800);
  border-radius: var(--r-card);
}
.why-card__badge { display: grid; place-items: center; width: 44px; height: 44px; background: var(--surface-2); border-radius: var(--r-card); color: var(--navy-800); }
.why-card__icon { width: 22px; height: 22px; }
.why-card__title { margin-top: 1em; font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: var(--ink-900); }
.why-card__body { margin-top: 0.59em; font-size: 0.844rem; line-height: 1.6; color: var(--ink-500); }

/* ---- Institution strip ---- */
.inst { padding-block: clamp(3em, 8vw, 5em); }
.inst__inner { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2em, 4.3vw, 3.25em); align-items: center; }
.inst__lead { margin-top: 1em; font-size: 1rem; line-height: 1.7; color: var(--on-navy-muted); }
.inst__copy .btn { margin-top: 1.86em; }
.inst__panel { padding: 0.375em; }
.inst__list { display: grid; grid-template-columns: 1fr 1fr; }
.inst__row { display: flex; align-items: center; gap: 0.92em; padding: 1.15em 1.23em; font-size: 0.813rem; color: var(--on-navy-strong); }
.inst__row-icon { color: rgba(255, 255, 255, 0.5); }

/* ---- CTA band ---- */
.cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); padding-block: clamp(3em, 8vw, 4.75em); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__eyebrow { display: block; }
.cta__title { max-width: 680px; margin-top: 0.5em; }
.cta__lead { max-width: 560px; margin-top: 0.94em; font-size: clamp(0.938rem, 2.3vw, 1.063rem); line-height: 1.65; color: var(--on-navy-body); }
.cta__ctas { display: flex; flex-wrap: wrap; gap: 0.875em; justify-content: center; margin-top: 1.75em; }

/* ============================================================
   Footer
   ============================================================ */
.footer { position: relative; overflow: hidden; padding-block: clamp(2.5em, 7vw, 4em) 1.875em; color: var(--on-navy-muted); }
.footer .container { position: relative; }
.footer__cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2em, 3.7vw, 2.75em); }
.footer__logo { display: inline-flex; align-items: center; gap: 0.75em; }
.footer__logo-text .header__logo-name { color: #fff; }
.footer__blurb { max-width: 300px; margin-top: 1.29em; font-size: 0.875rem; line-height: 1.7; color: var(--on-navy-dim); }
.footer__brand .btn { margin-top: 1.57em; }
.footer__col { display: flex; flex-direction: column; gap: 0.75em; }
.footer__col-head { font-family: var(--font-mono); font-size: 0.688rem; font-weight: 500; letter-spacing: 0.12em; color: var(--gold-500); margin-bottom: 0.55em; }
.footer__link { font-size: 0.875rem; color: var(--on-navy-muted); transition: color 0.2s; }
.footer__link:hover { color: #fff; }
.footer__contact-row { display: flex; align-items: flex-start; gap: 0.71em; font-size: 0.875rem; line-height: 1.5; }
.footer__contact-icon { color: rgba(255, 255, 255, 0.6); margin-top: 2px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75em;
  margin-top: 3em; padding-top: 1.5em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__copy { font-size: 0.781rem; color: var(--on-navy-faint); }
.footer__credits { font-size: 0.75rem; color: var(--on-navy-faint); }
.footer__credit-link { text-decoration: underline; }
.footer__credit-link:hover { color: #fff; }
.footer__reg { font-family: var(--font-mono); font-size: 0.781rem; color: var(--on-navy-faint); }

.btn--outline {
  background: #fff;
  border-color: var(--line-300);
  color: var(--ink-900);
}
.btn--outline:hover { border-color: var(--navy-800); transform: translateY(-1px); box-shadow: var(--shadow-2); }

/* ============================================================
   Catalogue listing (/catalogue) — @client island
   ============================================================ */
.cat-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 80% -20%, rgba(30, 58, 102, 0.5), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 75%);
  border-bottom: 1px solid var(--navy-700);
  padding-block: clamp(2.25em, 6vw, 3.75em) clamp(3em, 8vw, 4.75em);
}
.cat-hero__inner { position: relative; }
.cat-hero__title {
  margin-top: 0.44em;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.875rem); line-height: 1.08; color: #fff;
}
.cat-hero__sub { margin-top: 1.06em; max-width: 560px; font-size: clamp(0.938rem, 2.3vw, 1.063rem); line-height: 1.6; color: var(--on-navy-body); }
.cat-hero__back { display: inline-block; margin-bottom: 1em; font-size: 0.875rem; color: var(--on-navy-muted); }
.cat-hero__back > span { display: inline-flex; align-items: center; gap: 0.4em; }
.cat-hero__back:hover { color: #fff; }
.cat-grid--top { margin-top: 2em; }

.cat-section { padding-block: 0 clamp(3em, 8vw, 5em); }

/* Search bar — lifted to overlap the hero seam. */
.cat-search {
  display: flex; align-items: center; gap: 0.75em;
  margin-top: -1.75em; margin-bottom: 1.75em; position: relative; z-index: 2;
  padding: 0.375em 1.125em;
  background: var(--surface-1);
  border: 1px solid var(--line-200);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-3);
}
.cat-search__icon { color: var(--ink-400); }
.cat-search__input {
  flex: 1; min-width: 0; padding: 0.77em 0;
  background: transparent; border: none; outline: none;
  font-family: var(--font-sans); font-size: 0.969rem; color: var(--ink-900);
}
.cat-search__input::placeholder { color: var(--ink-400); }

.cat-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625em; margin-bottom: 1.625em; }
.cat-pill {
  padding: 0.59em 1.11em;
  font-family: var(--font-sans); font-size: 0.844rem; color: var(--ink-700);
  background: #fff; border: 1px solid var(--line-300); border-radius: var(--r-card);
  cursor: pointer; transition: all 0.18s var(--ease-standard);
}
.cat-pill:hover { border-color: var(--navy-300); }
.cat-pill--active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 500; }
.cat-results__count { margin-left: auto; font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-500); }

.cat-toggle { display: inline-flex; border: 1px solid var(--line-300); border-radius: var(--r-card); overflow: hidden; }
.cat-toggle__seg { display: grid; place-items: center; padding: 0.44em; background: transparent; border: none; cursor: pointer; color: var(--ink-500); }
.cat-toggle__seg--active { background: var(--navy-800); color: #fff; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.5em; }
.cat-list { display: flex; flex-direction: column; border: 1px solid var(--line-300); border-radius: var(--r-card); overflow: hidden; }

.cat-loadmore-wrap { display: flex; justify-content: center; margin-top: 2.25em; }
.cat-loadmore { border: none; }

.cat-empty {
  display: flex; flex-direction: column; align-items: center; gap: 0.5em;
  padding: 4em 1.25em; text-align: center;
  border: 1px solid var(--line-300); border-radius: var(--r-card);
}
.cat-empty__icon { width: 32px; height: 32px; color: var(--line-300); margin-bottom: 0.5em; }
.cat-empty__text { font-size: 1rem; color: var(--ink-500); }
.cat-empty__sub { font-size: 0.875rem; color: var(--ink-400); }

/* ---- Product card ---- */
.pcard {
  display: block;
  background: #fff; border: 1px solid var(--line-300); border-radius: var(--r-card);
  overflow: hidden; transition: transform 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.pcard__media { position: relative; height: 150px; overflow: hidden; }
.pcard__media .badge { position: absolute; top: 10px; left: 10px; }
.pcard__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.36s var(--ease-out); }
.pcard:hover .pcard__img { transform: scale(1.05); }
.pcard__img--ph {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f1f3f8, #e7eaf1);
}
.pcard__img-glyph { width: 40px; height: 40px; color: #b8c0d1; }
.pcard__body { padding: 1em; display: flex; flex-direction: column; }
.pcard__brand { font-family: var(--font-mono); font-size: 0.656rem; letter-spacing: 0.08em; color: var(--ink-500); margin-bottom: 0.86em; }
.pcard__name { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: var(--ink-900); line-height: 1.25; }
.pcard__tech { display: flex; align-items: baseline; gap: 0.77em; margin-top: 0.69em; }
.pcard__formula { font-family: var(--font-mono); font-size: 0.813rem; color: var(--ink-900); }
.pcard__cas { font-family: var(--font-mono); font-size: 0.813rem; color: var(--ink-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__chip {
  align-self: flex-start; margin-top: 1em; padding: 0.33em 0.67em;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-700);
  background: var(--surface-2); border-radius: 2px;
}

/* ---- Product row (list view) ----
   Compact horizontal card: thumbnail (brand caption beneath) on the left,
   name + technical meta beside it. Stacks into a column on mobile. */
.prow { display: block; padding: 0.875em 1em; background: #fff; }
.prow + .prow { border-top: 1px solid var(--line-300); }
.prow:hover { background: var(--surface-2); }
.prow > span { display: flex; flex-direction: column; gap: 0.75em; }
.prow__media { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4em; flex: 0 0 auto; }
.prow__img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-card); }
.prow__img--ph { display: grid; place-items: center; background: linear-gradient(135deg, #f1f3f8, #e7eaf1); }
.prow__img-glyph { width: 24px; height: 24px; color: #b8c0d1; }
.prow__main { display: flex; flex-direction: column; justify-content: center; gap: 0.55em; min-width: 0; flex: 1; }
.prow__brand { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; color: var(--ink-500); }
.prow__name { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; line-height: 1.25; color: var(--ink-900); }
.prow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75em; }
.prow__formula { font-family: var(--font-mono); font-size: 0.813rem; color: var(--ink-900); }
.prow__cas { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-500); }
.prow__chip {
  flex: 0 0 auto; padding: 0.33em 0.67em;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-700);
  background: var(--surface-2); border-radius: 2px;
}
@media (min-width: 560px) {
  /* Desktop/tablet: horizontal row, media centered with its caption */
  .prow > span { flex-direction: row; align-items: center; gap: 1.25em; }
  .prow__media { align-items: center; }
}

/* ============================================================
   Product detail (/catalogue/<slug>) — @client island
   ============================================================ */
.pd-section { padding-block: 1.75em clamp(3em, 8vw, 5em); }
.pd-breadcrumb { margin-bottom: 1.375em; }
.pd-back { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.875rem; color: var(--ink-500); }
/* jaspr_router Link wraps its child in one <span>; make that span a flex row so
   the arrow icon and label sit on the same vertical centre (not the baseline). */
.pd-back > span { display: inline-flex; align-items: center; gap: 0.4em; }
.pd-back:hover { color: var(--red-500); }

.pd-layout { display: grid; grid-template-columns: minmax(0, 92fr) minmax(0, 108fr); gap: clamp(2em, 4.3vw, 3.25em); align-items: start; }

.pd-image {
  position: relative; aspect-ratio: 1;
  border: 1px solid var(--line-300); border-radius: var(--r-card); overflow: hidden;
}
.pd-image .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.pd-image__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-image__ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #f1f3f8, #e7eaf1); }
.pd-image__glyph { width: 72px; height: 72px; color: #b8c0d1; }

.pd-info { display: flex; flex-direction: column; }
.pd-brand { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-500); }
.pd-title { margin-top: 0.3em; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; color: var(--ink-900); }
.pd-formula { margin-top: 0.45em; font-family: var(--font-mono); font-size: clamp(1.125rem, 2.8vw, 1.375rem); color: var(--ink-900); }

.pd-spec { margin-top: 1.5em; border: 1px solid var(--line-300); border-radius: var(--r-card); overflow: hidden; }
.pd-spec__row { display: flex; }
.pd-spec__row + .pd-spec__row { border-top: 1px solid var(--line-200); }
.pd-spec__key {
  width: 150px; flex: 0 0 auto; padding: 1.09em 1.45em;
  background: var(--surface-2); border-right: 1px solid var(--line-200);
  font-family: var(--font-mono); font-size: 0.688rem; letter-spacing: 0.06em; color: var(--ink-500);
}
.pd-spec__value { flex: 1; padding: 0.86em 1.14em; font-family: var(--font-mono); font-size: 0.875rem; color: var(--ink-900); }

.pd-provenance { margin-top: 1.33em; font-size: 0.938rem; line-height: 1.65; color: var(--ink-700); }
.pd-desc { margin-top: 1em; font-size: 0.938rem; line-height: 1.7; color: var(--ink-700); white-space: pre-line; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 0.875em; margin-top: 1.5em; }
.pd-coa { background: #fff; border-color: var(--line-300); color: var(--ink-900); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pd-coa:hover { background: var(--surface-2); border-color: var(--navy-800); }

/* ============================================================
   FAQ block (shared: sole-agents, government) + About entity facts
   ============================================================ */
.faq__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--ink-900); margin-bottom: 1.25em; }
.faq__list { display: flex; flex-direction: column; gap: 1.5em; max-width: 820px; }
.faq__item { border-top: 1px solid var(--line-300); padding-top: 1.25em; }
.faq__q { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; color: var(--ink-900); }
.faq__a { margin-top: 0.5em; font-size: 0.938rem; line-height: 1.7; color: var(--ink-700); }

.about-story__lead { font-size: 1.0625rem; }
.about-facts { list-style: none; margin-top: 1.25em; display: flex; flex-direction: column; gap: 0.55em; }
.about-facts li { position: relative; padding-left: 1.5em; font-size: 0.938rem; line-height: 1.55; color: var(--ink-700); }
.about-facts li::before { content: "\2713"; position: absolute; left: 0; color: var(--red-500); font-weight: 700; }

/* ============================================================
   Responsive — single 900px breakpoint
   (card grids reflow on their own via auto-fit/minmax)
   ============================================================ */
@media (max-width: 900px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr); gap: 2em; }

  .header__nav { display: none; }
  .header__utility-right { display: none; }
  .header__actions .btn--quote { display: none; } /* quote lives in the menu on mobile */
  .header__menu-btn { display: inline-grid; }
  .header__actions { margin-left: auto; }
  .header__mobile { display: block; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2.5em; }
  /* Stats: 2×2, contents centered */
  .stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2em 1.5em; }
  .stat { padding-inline: 0; text-align: center; }
  .stat + .stat { border-left: none; }

  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head-link { display: none; }

  .inst__inner { grid-template-columns: minmax(0, 1fr); gap: 2.5em; }
  .inst__list { grid-template-columns: minmax(0, 1fr); }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2em; }

  .res-featured { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  /* Footer: single column with everything center-aligned */
  .footer__cols { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .footer__col { align-items: center; }
  .footer__logo { justify-content: center; }
  .footer__blurb { margin-inline: auto; }
  .footer__contact-row { justify-content: center; text-align: left; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }

  /* Hero CTAs share one row instead of stacking: both buttons shrink equally,
     with a fluid type size so the labels always fit the viewport. */
  .hero__ctas { flex-wrap: nowrap; gap: 0.625em; }
  .hero__ctas .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding-inline: 0.6em;
    font-size: clamp(0.625rem, 3.3vw, 0.875rem);
  }
  .hero__search { gap: 0.5em; }
  .hero__search-btn { padding: 0.71em 0.86em; }
}

/* ---- Reduced motion: honour the OS "reduce motion" setting ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------
   Resources — article (/resources/:slug)
   ------------------------------------------------------------ */
.article { padding-block: clamp(2em, 6vw, 4em); }
.article__breadcrumb { margin-bottom: 1.5em; }
.article__title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.75rem);
  line-height: 1.15; max-width: 820px;
}
.article__meta {
  margin-top: 0.75em; font-size: 0.875rem; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--ink-400);
}
.article__hero {
  display: block; width: 100%; max-width: 820px; height: auto;
  margin-top: 1.5em; border-radius: 10px;
}
.article__body { max-width: 720px; margin-top: 1.75em; font-size: 1.0625rem; line-height: 1.7; }
.article__body h2 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem); margin-top: 1.6em; margin-bottom: 0.4em; line-height: 1.25; }
.article__body h3 { font-size: 1.25rem; margin-top: 1.3em; margin-bottom: 0.35em; }
.article__body p { margin-bottom: 1.05em; }
.article__body a { color: var(--navy-600); text-decoration: underline; }
.article__body ul, .article__body ol { margin: 0 0 1.05em 1.4em; }
.article__body li { margin-bottom: 0.4em; }
.article__body blockquote {
  margin: 1.4em 0; padding: 0.2em 0 0.2em 1.1em;
  border-left: 3px solid var(--line-300); color: var(--ink-500); font-style: italic;
}
/* Deliberate exception to the sheet's rem-only font-size rule: inline code
   needs to scale with its surrounding text (headings, body copy), not the
   document root, so `em` is correct here. */
.article__body code {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.875em;
  background: var(--surface-100, #f2f4f8); padding: 0.1em 0.35em; border-radius: 4px;
}
.article__body pre {
  margin: 1.2em 0; padding: 1em 1.2em; overflow-x: auto;
  background: var(--navy-900); color: #e6ecf5; border-radius: 8px;
}
.article__body pre code { background: none; padding: 0; color: inherit; }
.article__img { display: block; max-width: 100%; height: auto; margin: 1.4em 0; border-radius: 8px; }
.article__table-wrap { margin: 1.4em 0; overflow-x: auto; }
.article__table-wrap table { border-collapse: collapse; min-width: 100%; }
.article__table-wrap th, .article__table-wrap td {
  border: 1px solid var(--line-300); padding: 0.5em 0.8em; text-align: left; font-size: 0.9375rem;
}
.article__table-wrap th { background: var(--surface-100, #f2f4f8); font-weight: 600; }
/* Cell content is wrapped in <p> by the renderer; strip the article body's
   paragraph margin so it doesn't add spacing inside every cell. */
.article__table-wrap p { margin: 0; }
.res-related { max-width: 720px; margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--line-300); }
.res-related__title { font-size: 1.125rem; margin-bottom: 0.8em; }
.res-related__list { display: flex; flex-wrap: wrap; gap: 0.6em; }
.res-related__link {
  display: inline-flex; padding: 0.45em 0.9em; border: 1px solid var(--line-300);
  border-radius: 999px; font-size: 0.9375rem; color: var(--navy-600);
}
.res-related__link:hover { background: var(--surface-100, #f2f4f8); }

/* ------------------------------------------------------------
   Resources — index (/resources)
   ------------------------------------------------------------ */
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5em; }
.res-featured {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0;
  margin: 2em 0; border: 1px solid var(--line-300); border-radius: 12px; overflow: hidden;
}
.res-featured > span { display: contents; }
.res-featured__img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.res-featured__img--ph { display: grid; place-items: center; background: var(--navy-800); }
.res-featured__glyph { width: 48px; height: 48px; color: var(--on-navy-faint, rgba(255,255,255,0.4)); }
.res-featured__body { padding: clamp(1.4em, 3vw, 2.2em); }
.res-featured__eyebrow { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--navy-600); }
.res-featured__title { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem); margin: 0.35em 0; line-height: 1.2; }
.res-featured__excerpt { color: var(--ink-500); line-height: 1.6; }
.res-card {
  display: block; border: 1px solid var(--line-300); border-radius: 12px; overflow: hidden;
  background: #fff; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.res-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(8,20,40,0.08); }
.res-card > span { display: block; }
.res-card__media { aspect-ratio: 16 / 9; background: var(--navy-800); }
.res-card__img { width: 100%; height: 100%; object-fit: cover; }
.res-card__img--ph { display: grid; place-items: center; }
.res-card__glyph { width: 40px; height: 40px; color: var(--on-navy-faint, rgba(255,255,255,0.4)); }
.res-card__body { padding: 1.1em 1.2em 1.3em; }
.res-card__title { font-size: 1.125rem; line-height: 1.3; margin-bottom: 0.4em; }
.res-card__excerpt { font-size: 0.9375rem; color: var(--ink-500); line-height: 1.55; margin-bottom: 0.7em; }
.res-card__date {
  display: block; font-size: 0.8125rem; color: var(--ink-400); margin-bottom: 0.6em;
}
.res-card__link { font-size: 0.875rem; color: var(--navy-600); font-weight: 500; }
