/* scaled: px->rem (v12) */
/* ==========================================================================
   Electronic Frontier Ltd — static site design system
   One stylesheet, no framework. Tokens first, then layout, then components.
   ========================================================================== */

:root {
  color-scheme: light;
  /* Type: an engineering grotesque for headlines, IBM Plex for running text, and Plex Mono for the
     model numbers, figures and labels that are this business's vernacular. */
  /* One family, shared with shop.elecfron.com: Inter for everything; figures use tabular numerals */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-mono: var(--font-sans);

  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --surface-3: #e3e9f2;
  --text: #0f1b2d;
  --text-2: #3b4a5f;
  --muted: #64748b;
  --line: #dde4ee;
  --line-strong: #c7d2e0;

  --brand: #00528e;
  --brand-deep: #003366;
  --brand-ink: #062b4d;
  --brand-bright: #2a7fd4;
  --brand-soft: #e4effa;
  --brand-glow: rgba(42, 127, 212, 0.28);
  --accent: #f59e0b;
  --accent-soft: #fff3d6;
  --ok: #16a34a;

  --radius-s: 0.5rem;
  --radius: 0.875rem;
  --radius-l: 1.375rem;
  --shadow-s: 0 1px 2px rgba(6, 27, 51, 0.06), 0 1px 0.1875rem rgba(6, 27, 51, 0.08);
  --shadow-m: 0 0.625rem 1.875rem -12px rgba(6, 43, 77, 0.22);
  --shadow-l: 0 1.875rem 3.75rem -24px rgba(6, 43, 77, 0.35);

  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4.5rem;
}

/* wide-screen scaling: the whole layout is in rem, so growing the root font size above 1920px scales it proportionally
   (16px at 1920 -> ~20px at 2560 -> 24px at 3840, capped at 26px). Below 1920px nothing changes. */
@media (min-width: 1921px) { html { font-size: clamp(16px, calc(16px + (100vw - 1920px) / 240), 26px); } }

/* Deliberately a single light theme: the page paints every colour explicitly and ignores the OS/host dark setting. */

/* ---------- reset & 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; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-bright); }
:focus-visible { outline: 0.1875rem solid var(--brand-bright); outline-offset: 2px; border-radius: 0.25rem; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--text); font-weight: 800; text-wrap: balance; }
strong, .proof-row strong, .stat strong, .stat-tile strong, .big-stat strong, .hero-caption .num, .tl-year { font-variant-numeric: tabular-nums; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; }
button { font: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-wide { width: min(87.5rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 47.5rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.75rem; }
.eyebrow::before { content: ""; width: 1.375rem; height: 0.1875rem; border-radius: 0.1875rem; background: var(--accent); }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 65ch; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0.5rem; background: var(--brand); color: #fff; padding: 0.6rem 1rem; border-radius: 0.5rem; z-index: 1000; }
.skip-link:focus { left: 0.5rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.78rem 1.35rem; border-radius: 62.4375rem; font-weight: 600; font-size: 0.97rem; line-height: 1; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff !important; box-shadow: 0 0.375rem 1.125rem -8px var(--brand-glow); }
.btn-primary:hover { background: var(--brand-bright); }
.btn-secondary { background: var(--surface); color: var(--brand); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--brand-bright); color: var(--brand-bright); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: #fff; color: var(--brand-deep) !important; }
.btn-light:hover { background: #eaf2fc; }
.btn-outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; }
.prose a.btn, .prose .btn { margin: 0.25rem 0.5rem 0.75rem 0; background: var(--brand); color: #fff !important; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(160%) blur(0.875rem); -webkit-backdrop-filter: saturate(160%) blur(0.875rem); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1.25rem; width: min(90rem, 100% - 2 * var(--gutter)); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--text); font-family: var(--font-display); font-weight: 800; }
.brand img { height: 2.75rem; width: auto; }
.brand-text { display: none; line-height: 1.05; }
.brand-text small { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1360px) { .brand-text { display: block; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.1rem; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.6rem 0.7rem; border-radius: 0.625rem; font-weight: 600; font-size: 0.93rem; color: var(--text-2); background: transparent; border: 0; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .nav-item.open > .nav-link, .nav-item:focus-within > .nav-link { color: var(--brand); background: var(--brand-soft); }
.nav-link .chev { width: 0.875rem; height: 0.875rem; transition: transform 0.2s; }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 0.625rem); left: 0; min-width: 16.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-m); padding: 0.6rem; opacity: 0; visibility: hidden; transform: translateY(0.375rem); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; }
.dropdown.wide { min-width: 35rem; columns: 2; column-gap: 0.5rem; }
.nav-item.open > .dropdown, .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover > .dropdown { z-index: 2; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 0.75rem; } /* bridge the gap so the menu does not flicker on the way down */
.dropdown a { display: block; padding: 0.55rem 0.8rem; border-radius: 0.5rem; color: var(--text); font-size: 0.93rem; font-weight: 500; break-inside: avoid; }
.dropdown a:hover { background: var(--brand-soft); color: var(--brand); }
.header-cta { margin-left: 0.25rem; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; flex: 0 0 auto; }
@media (min-width: 1024px) and (max-width: 1259px) { .header-cta .btn-ghost { display: none; } }
.nav-toggle { display: none; margin-left: auto; width: 2.75rem; height: 2.75rem; border-radius: 0.625rem; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 1.375rem; height: 1.375rem; }
@media (max-width: 1023px) {
  /* backdrop-filter would make the header the containing block for the fixed menu panel; drop it on mobile */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: auto; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch; display: none; padding: 1rem var(--gutter) 3rem; margin: 0; z-index: 99; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem 0.25rem; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-item.open > .nav-link, .nav-item:focus-within > .nav-link { background: transparent; }
  .dropdown, .dropdown.wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0.75rem 0.5rem; min-width: 0; columns: 1; display: none; background: transparent; }
  .nav-item.open > .dropdown { display: block; }
  .nav-item:hover > .dropdown:not(.force), .nav-item:focus-within > .dropdown { display: none; }
  .nav-item.open > .dropdown { display: block !important; }
  .header-cta { display: grid; gap: 0.6rem; margin: 1.25rem 0 0; white-space: normal; }
  .header-cta .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(75rem 37.5rem at 85% -10%, rgba(63, 168, 242, 0.32), transparent 60%), radial-gradient(50rem 31.25rem at -10% 110%, rgba(245, 158, 11, 0.14), transparent 60%), linear-gradient(135deg, #061c34 0%, #003a66 45%, #00558f 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 3rem 3rem; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3.5rem, 9vw, 7rem); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: #ffd27a; }
.hero .lead { color: rgba(255, 255, 255, 0.85); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero .eyebrow { color: #ffd27a; }
.hero .eyebrow::before { background: #ffd27a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.hero-stats strong { display: block; font-family: var(--font-mono); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
/* WebGL scene (static/hero3d.js) paints into .hero-3d; the CSS gradient above is the no-WebGL fallback */
.hero-3d { position: absolute; inset: 0; z-index: 0; }
.hero-3d canvas { display: block; width: 100%; height: 100%; }
.hero-visual { position: relative; min-height: 23.75rem; }
.hero.has-3d::after { display: none; }
/* ---------- home: two ways of working ---------- */
.ways { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; }
.way .kicker { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.way h3 { font-size: 1.5rem; margin: 0; }
.way > p { color: var(--text-2); margin: 0; }
.way-list { list-style: none; padding: 0; margin: 0.25rem 0 0; display: grid; gap: 0.6rem; }
.way-list li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; align-items: start; }
.way-list .ic { width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.way-list .ic svg { width: 1.125rem; height: 1.125rem; }
.way-list strong { display: block; font-size: 0.97rem; }
.way-list span { font-size: 0.88rem; color: var(--muted); }
.way .btn { align-self: flex-start; margin-top: auto; }

/* ---------- home: audience router panels ---------- */
.hero-grid-router { align-items: center; }
.audience-panels { display: grid; gap: 0.9rem; }
.audience-panel { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.35rem 1.5rem; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; backdrop-filter: blur(0.375rem); transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.audience-panel:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 210, 122, 0.55); color: #fff; }
.audience-panel .kicker { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ffd27a; }
.audience-panel strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.audience-panel .ticks { margin-top: 0.25rem; }
.audience-panel .ticks li { color: rgba(255, 255, 255, 0.85); font-size: 0.93rem; }
.audience-panel .ticks svg { color: #5ee08a; }
.audience-panel .go { margin-top: 0.5rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; }
.audience-panel .go svg { width: 1rem; height: 1rem; transition: transform 0.15s; }
.audience-panel:hover .go svg { transform: translateX(0.25rem); }
.hero-grid-1 { grid-template-columns: minmax(0, 1fr) !important; }
.hero-grid-1 > div { max-width: 51.25rem; }
.hero .breadcrumb { margin-bottom: 0.75rem; }
.hero-logo { height: 2.75rem; width: auto; background: #fff; padding: 0.375rem 0.625rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.25rem 0 1rem; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; border-radius: 62.4375rem; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; font-size: 0.8rem; font-weight: 600; }
.badge svg { width: 0.875rem; height: 0.875rem; color: #ffd27a; }
.page-hero.light .badge { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.video-list { display: grid; gap: 0.5rem; }
.video-acc summary svg { width: 1rem; height: 1rem; color: var(--brand); margin-right: 0.35rem; }
.video-acc summary::after { display: none; }
@media (max-width: 899px) { .audience-panels { margin-top: 1.5rem; } }

/* ---------- hero bento: the range, on white, each tile a door into the shop ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(7.5rem, 1fr); gap: 0.75rem; aspect-ratio: 4 / 3; max-width: 40rem; margin-left: auto; }
.bento-tile { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 1rem; overflow: hidden; color: var(--brand-ink); box-shadow: 0 1.125rem 2.5rem -22px rgba(0, 0, 0, 0.55); transition: transform 0.25s ease, box-shadow 0.25s ease; opacity: 0; animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.bento-tile:nth-child(1) { animation-delay: 0.05s; } .bento-tile:nth-child(2) { animation-delay: 0.15s; } .bento-tile:nth-child(3) { animation-delay: 0.25s; }
.bento-tile:nth-child(4) { animation-delay: 0.35s; } .bento-tile:nth-child(5) { animation-delay: 0.45s; } .bento-tile:nth-child(6) { animation-delay: 0.55s; } .bento-tile:nth-child(7) { animation-delay: 0.65s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.125rem); } to { opacity: 1; transform: none; } }
.bento-tile:hover { transform: translateY(-4px); box-shadow: 0 1.625rem 3.125rem -22px rgba(0, 0, 0, 0.6); }
.bento-tile.lg { grid-column: span 2; grid-row: span 2; }
.bento-tile.wide { grid-column: span 2; }
/* padding in rem, not % — percentage padding resolves against width and starved the wide tile of height */
.bento-tile img { flex: 1; width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 0.9rem 0.9rem 2.3rem; transition: transform 0.35s ease; }
.bento-tile.lg img { padding: 1.25rem 1.25rem 3.6rem; }
.bento-tile.wide img { padding: 0.75rem 1.1rem 2.3rem; }
.bento-tile:hover img { transform: scale(1.04); }
.bento-tile .tag { position: absolute; left: 0.8rem; bottom: 0.65rem; right: 0.8rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; color: var(--brand-ink); letter-spacing: -0.005em; }
.bento-tile .tag svg { width: 0.875rem; height: 0.875rem; color: var(--brand); flex: 0 0 auto; }
.bento-tile.lg .tag { left: 1.1rem; bottom: 0.95rem; font-size: 1rem; }
.bento-tile.lg .tag small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.bento-tile.stat { background: linear-gradient(150deg, #0b3f73, #00528e 60%, #1f7cc9); color: #fff; padding: 1rem 1.1rem; justify-content: flex-end; gap: 0.15rem; }
.bento-tile.stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: #ffd27a; }
.bento-tile.stat span { font-size: 0.86rem; line-height: 1.35; color: rgba(255, 255, 255, 0.88); }
.bento-tile.stat .arrow { position: absolute; right: 0.85rem; top: 0.85rem; width: 1rem; height: 1rem; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 899px) {
  /* phones: a swipeable strip instead of a grid, so the hero stays short */
  .bento { display: flex; gap: 0.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; max-width: none; aspect-ratio: auto; margin: 1.75rem calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 0.5rem; }
  .bento::-webkit-scrollbar { display: none; }
  .bento-tile, .bento-tile.lg, .bento-tile.wide { flex: 0 0 44%; height: 10.5rem; scroll-snap-align: start; grid-column: auto; grid-row: auto; }
  .bento-tile.lg, .bento-tile.sheet { flex-basis: 60%; }
  .bento-tile.lg .tag { font-size: 0.9rem; }
  .bento-tile img, .bento-tile.lg img, .bento-tile.wide img { padding: 0.75rem 0.75rem 2.3rem; }
}
@media (prefers-reduced-motion: reduce) { .bento-tile { animation: none; opacity: 1; } }
/* job-sheet tile (service-provider hero): a provisioning ticket in plain HTML */
.bento-tile.sheet { background: #fff; padding: 0.95rem 1.05rem; justify-content: center; gap: 0.5rem; }
.bento-tile.sheet .sh-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-right: 1.4rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bento-tile.sheet .sh-head b { color: var(--brand); font-weight: 700; white-space: nowrap; }
.bento-tile.sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.32rem; }
.bento-tile.sheet li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; line-height: 1.2; color: var(--brand-ink); opacity: 0; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.bento-tile.sheet li:nth-child(1) { animation-delay: 0.9s; } .bento-tile.sheet li:nth-child(2) { animation-delay: 1.25s; } .bento-tile.sheet li:nth-child(3) { animation-delay: 1.6s; }
.bento-tile.sheet li i { flex: 0 0 auto; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #dcfce7; color: #15803d; display: grid; place-items: center; }
.bento-tile.sheet li i svg { width: 0.6875rem; height: 0.6875rem; }
.bento-tile.sheet .arrow { position: absolute; right: 0.85rem; top: 0.85rem; width: 1rem; height: 1rem; color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .bento-tile.sheet li { animation: none; opacity: 1; } }

/* caption under the particle sculpture (legacy) */
.hero-caption { position: absolute; right: 0; bottom: -0.5rem; transition: opacity 0.35s ease, transform 0.35s ease; }
.hero-caption.is-switching { opacity: 0; transform: translateY(0.375rem); }
.hero-caption a { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.85rem; align-items: baseline; padding: 0.7rem 0.95rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0.75rem; background: rgba(2, 27, 54, 0.45); backdrop-filter: blur(0.5rem); color: #fff; text-decoration: none; min-width: 16.25rem; }
.hero-caption a:hover { border-color: rgba(255, 210, 122, 0.6); }
.hero-caption .num { grid-row: 1 / span 2; font-family: var(--font-mono); font-size: 0.72rem; color: #ffd27a; letter-spacing: 0.06em; align-self: center; }
.hero-caption strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.01em; }
.hero-caption .sub { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 899px) { .hero-visual { min-height: 0; } .hero-3d { opacity: 0.55; } .hero-caption { position: static; margin-top: 1rem; } .hero-caption a { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-caption { transition: none; } * { scroll-behavior: auto !important; } }

/* ---------- logo strip ---------- */
.logo-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.logo-strip .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem clamp(1.25rem, 2.5vw, 2.75rem); padding-block: 1.25rem; }
.logo-strip .label { flex: 0 0 auto; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.logo-strip a { flex: 0 0 auto; display: grid; place-items: center; height: 2.75rem; padding: 0.35rem 0.5rem; filter: grayscale(1); opacity: 0.7; transition: 0.2s; }
.logo-strip a:hover { filter: none; opacity: 1; }
.logo-strip img { max-height: 2.25rem; width: auto; max-width: 8.125rem; object-fit: contain; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.375rem), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
a.card:hover, .card.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--line-strong); }
.card-body { padding: 1.25rem; }

.feature { padding: 1.6rem; }
.feature .icon { width: 2.875rem; height: 2.875rem; border-radius: 0.75rem; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 1rem; }
.feature .icon svg { width: 1.5rem; height: 1.5rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.feature p { color: var(--text-2); margin: 0; font-size: 0.97rem; }
.feature p:last-child { margin: 0; }

.cat-card { display: flex; flex-direction: column; color: var(--text); overflow: hidden; }
.cat-card .media { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.cat-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.cat-card:hover .media img { transform: scale(1.04); }
.cat-card .card-body { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.15rem; }
.cat-card h3 { font-size: 1.05rem; margin: 0; }
.cat-card .count { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.cat-card .arrow { color: var(--brand); flex: 0 0 auto; }

.product-card { display: flex; flex-direction: column; color: var(--text); overflow: hidden; }
.product-card .media { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 1.1rem; }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .card-body { padding: 0.9rem 1.1rem 1.1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-card h3 { font-size: 1rem; margin: 0; font-weight: 700; line-height: 1.3; }
.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--brand); }
.card-actions { margin-top: auto; padding-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.card-actions .more { font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.25rem; }
.card-actions .more svg { width: 0.875rem; height: 0.875rem; }
.btn-shop { background: var(--brand); color: #fff !important; }
.btn-shop:hover { background: var(--brand-bright); }
.btn svg, .ico { width: 1rem; height: 1rem; flex: 0 0 auto; }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.shop-note { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); background: var(--brand-soft); padding: 0.75rem 1rem; border-radius: var(--radius-s); margin: 0 0 1.25rem; }
.shop-note svg { width: 1.125rem; height: 1.125rem; color: var(--ok); flex: 0 0 auto; margin-top: 2px; }
.product-card .sub { font-size: 0.85rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chip { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 0.22rem 0.55rem; border-radius: 0.375rem; }
.chip.neutral { color: var(--text-2); background: var(--surface-2); }
.placeholder-img { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line-strong); }
.placeholder-img svg { width: 40%; height: 40%; }

.post-card { display: flex; flex-direction: column; color: var(--text); overflow: hidden; }
.post-card .media { aspect-ratio: 16 / 7; background: var(--surface-2); overflow: hidden; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .media img { transform: scale(1.04); }
.post-card .card-body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card h3 { font-size: 1.1rem; margin: 0; }
.post-card p { color: var(--text-2); font-size: 0.95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-size: 0.82rem; color: var(--muted); }
.post-meta time { font-weight: 600; color: var(--text-2); }

.vendor-card { align-items: center; text-align: center; padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 0.75rem; color: var(--text); }
.vendor-card img { max-height: 3.5rem; width: auto; max-width: 10rem; object-fit: contain; padding: 0.35rem; }
.vendor-card span { font-weight: 600; font-size: 0.95rem; }

/* ---------- home hero: path links + vendor logos inside the hero ---------- */
.hero-paths { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.hero-paths .path { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem 0.55rem 0.8rem; border-radius: 62.4375rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-size: 0.88rem; font-weight: 600; transition: background 0.2s, border-color 0.2s; }
.hero-paths .path .k { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ffd27a; }
.hero-paths .path svg { width: 0.875rem; height: 0.875rem; transition: transform 0.15s; }
.hero-paths .path:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 210, 122, 0.55); color: #fff; }
.hero-paths .path:hover svg { transform: translateX(0.1875rem); }
.hero-logos { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; padding: 1.1rem 0 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-logos .label { flex: 0 0 100%; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 900px) { .hero-logos .label { flex: 0 0 auto; margin-right: 1rem; } }
.hero-logos a { flex: 1 1 6.25rem; max-width: 9.375rem; height: 3.375rem; display: grid; place-items: center; padding: 0.4rem 0.8rem; background: #fff; border-radius: 0.625rem; opacity: 0.92; transition: opacity 0.2s, transform 0.2s; }
.hero-logos a:hover { opacity: 1; transform: translateY(-2px); }
.hero-logos img { max-height: 1.75rem; max-width: 6.75rem; width: auto; object-fit: contain; }
/* ---------- showcase: one vendor banner at a time at container width; caption row and dots inside the card ---------- */
.showcase { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.showcase .section-head { margin-bottom: 1rem; }
.showcase + .section { padding-top: clamp(2rem, 4vw, 3rem); }
.showcase-carousel .banner-track { gap: 1.25rem; padding-bottom: 0; }
.showcase-carousel .banner { flex: 0 0 100%; aspect-ratio: auto; }
.showcase-item { display: flex; flex-direction: column; color: var(--text); }
.showcase-item img { display: block; width: 100%; height: auto; aspect-ratio: 2240 / 500; object-fit: cover; background: #fff; }
.showcase-item .cap { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 9rem 0.9rem 1.25rem; border-top: 1px solid var(--line); font-size: 0.9rem; line-height: 1.3; }
.showcase-item .cap strong { font-size: 1.05rem; flex: 0 0 auto; }
.showcase-item .cap > span { color: var(--muted); flex: 1; min-width: 0; }
.showcase-carousel .banner-nav { position: absolute; left: 0; right: 0; top: calc(50% - 1.6rem); transform: translateY(-50%); margin: 0; padding: 0 0.75rem; justify-content: space-between; pointer-events: none; }
.showcase-carousel .banner-nav button { pointer-events: auto; width: 2.75rem; height: 2.75rem; background: rgba(255, 255, 255, 0.94); border-color: rgba(255, 255, 255, 0.8); box-shadow: 0 0.5rem 1.5rem -0.5rem rgba(0, 0, 0, 0.45); }
.showcase-carousel .banner-nav button:hover { background: #fff; }
.showcase-dots { position: absolute; right: 1.25rem; bottom: 1.15rem; display: flex; gap: 0.4rem; margin: 0; }
.showcase-dots button { width: 0.5rem; height: 0.5rem; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width 0.2s, background 0.2s; }
.showcase-dots button[aria-selected="true"] { width: 1.375rem; background: var(--brand); }
@media (max-width: 899px) { .showcase-carousel .banner-nav { display: none; } }
@media (max-width: 640px) {
  .showcase-item img { aspect-ratio: 2 / 1; }   /* a 4.5:1 banner is a 75px strip on a phone: show its centre instead */
  .showcase-item .cap { flex-wrap: wrap; padding: 0.8rem 1rem; }
  .showcase-item .cap > span { flex: 1 1 100%; }
  .showcase-dots { position: static; justify-content: center; margin-top: 0.75rem; }
}

/* ---------- banner carousel ---------- */
.banner-carousel { position: relative; }
.banner-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.5rem; }
.banner-track::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 min(100%, 57.5rem); scroll-snap-align: start; border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); aspect-ratio: 2240 / 500; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-nav { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 0.75rem; }
.banner-nav button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.banner-nav button:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- page hero (interior) ---------- */
.page-hero { background: linear-gradient(135deg, #032849 0%, #00528e 60%, #0e6bb4 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(43.75rem 18.75rem at 90% 10%, rgba(255, 255, 255, 0.14), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); }
.page-hero .btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.page-hero.light { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); }
.page-hero.light::after { display: none; }
.page-hero.light h1 { color: var(--text); }
.page-hero.light .lead { color: var(--text-2); }
.page-hero.light .breadcrumb, .page-hero.light .breadcrumb a { color: var(--muted); }
.page-hero.light .breadcrumb a:hover { color: var(--brand); }

/* ---------- prose (article content) ---------- */
.prose { max-width: 78ch; font-size: 1.04rem; color: var(--text-2); }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.6em; }
.prose h1 { font-size: 1.9rem; }
.prose h2 { font-size: 1.55rem; }
.prose h3 { font-size: 1.25rem; }
.prose img { border-radius: var(--radius); margin: 1.25rem 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.25rem 0; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 0.1875rem; text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 0.25rem solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.prose table { display: block; overflow-x: auto; margin: 1.25rem 0; }
.prose li { margin-bottom: 0.35em; }
.prose strong { color: var(--text); }
.prose.wide { max-width: none; }
.prose-2col { columns: 2; column-gap: 3rem; }
@media (max-width: 800px) { .prose-2col { columns: 1; } }

.two-col { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr) 21.25rem; } .two-col.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .two-col.intro-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.aside-card { padding: 1.35rem; }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.93rem; }
.aside-card li:first-child { border-top: 0; padding-top: 0; }
.aside-card a { color: var(--text); font-weight: 500; }
.aside-card a:hover { color: var(--brand); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; align-items: center; }
.filter-btn { border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); padding: 0.45rem 0.95rem; border-radius: 62.4375rem; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: 0.15s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-box { position: relative; flex: 1 1 16.25rem; max-width: 26.25rem; }
.search-box input { width: 100%; padding: 0.65rem 1rem 0.65rem 2.6rem; border-radius: 62.4375rem; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 0.95rem; }
.search-box svg { position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%); width: 1.125rem; height: 1.125rem; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.result-count { font-size: 0.9rem; color: var(--muted); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
[hidden] { display: none !important; }

/* ---------- product page ---------- */
.product-layout { display: grid; gap: 2.5rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .product-layout { grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); } }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); aspect-ratio: 1; display: grid; place-items: center; padding: 2rem; box-shadow: var(--shadow-s); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.75rem; flex-wrap: wrap; }
.gallery-thumbs button { width: 4.375rem; height: 4.375rem; border-radius: 0.625rem; border: 2px solid var(--line); background: #fff; padding: 0.35rem; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-head .vendor { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.product-head .vendor img { max-height: 1.75rem; width: auto; max-width: 6.875rem; }
.product-head h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 0.35rem; }
.product-head .sub { font-size: 1.15rem; color: var(--text-2); margin-bottom: 1.25rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 1.5rem; }
.product-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.downloads { display: grid; gap: 0.6rem; }
.download { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--text); font-weight: 600; font-size: 0.95rem; }
.download:hover { border-color: var(--brand); color: var(--brand); }
.download svg { width: 1.375rem; height: 1.375rem; color: #d92d20; flex: 0 0 auto; }
.download small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }

/* tabs */
.tabs { margin-top: 0.5rem; }
.tab-list { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--line); margin: 0 0 1.25rem; padding: 0; list-style: none; }
.tab-btn { background: none; border: 0; border-bottom: 0.1875rem solid transparent; padding: 0.7rem 1rem; font-weight: 600; color: var(--muted); cursor: pointer; margin-bottom: -1px; font-size: 0.95rem; }
.tab-btn:hover { color: var(--brand); }
.tab-btn[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tab-panel { animation: fade 0.25s ease; }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(0.25rem); } to { opacity: 1; transform: none; } }
.no-js .tab-panel[hidden] { display: block !important; }
.no-js .tab-panel::before { content: attr(data-label); display: block; font-weight: 700; margin: 1.25rem 0 0.5rem; font-family: var(--font-display); font-size: 1.15rem; }

/* accordion */
details.acc { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); margin-bottom: 0.6rem; }
details.acc summary { cursor: pointer; padding: 0.95rem 1.1rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); line-height: 1; }
details.acc[open] summary::after { content: "–"; }
details.acc .acc-body { padding: 0 1.1rem 1.1rem; color: var(--text-2); }

/* ---------- misc components ---------- */
.video-embed { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-s); }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); }
.figure.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.figure.logo-row img { max-height: 4.375rem; width: auto; max-width: 13.75rem; object-fit: contain; }
.logo-row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.logo-row-wrap img { max-height: 4rem; width: auto; max-width: 12.5rem; object-fit: contain; }
.cta-band { background: linear-gradient(135deg, var(--brand-deep), var(--efl-blue, #00558f) 60%, var(--brand)); color: #fff; border-radius: var(--radius-l); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 20rem; height: 20rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%); }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; position: relative; z-index: 1; }
.notice { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: var(--radius-s); padding: 0.9rem 1.1rem; font-size: 0.95rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; }
.stat { padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-mono); font-size: 1.9rem; color: var(--brand); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dead-link { color: var(--muted); text-decoration: line-through dotted; cursor: help; }
h1, h2, h3 { text-wrap: balance; }
.stat span { color: var(--muted); font-size: 0.9rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.pill-list a { display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 62.4375rem; font-size: 0.9rem; color: var(--text); background: var(--surface); }
.pill-list a:hover { border-color: var(--brand); color: var(--brand); }
.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.contact-card { padding: 1.5rem; }
.contact-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 0.6rem; }
.contact-card h3 svg { width: 1.25rem; height: 1.25rem; color: var(--brand); }
.contact-card p { margin: 0 0 0.35rem; color: var(--text-2); }
.contact-card a { font-weight: 600; }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map-card iframe { width: 100%; height: 22.5rem; border: 0; display: block; }

/* forms */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr)); }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea, .field select { width: 100%; padding: 0.75rem 0.9rem; border-radius: 0.625rem; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); outline: 0.1875rem solid var(--brand-glow); }
.field textarea { min-height: 8.75rem; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); }
.check input { margin-top: 0.3rem; }

/* pagination / prev-next */
.prev-next { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr)); margin-top: 3rem; }
.prev-next a { padding: 1.1rem 1.25rem; color: var(--text); }
.prev-next small { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 0.3rem; }
.prev-next .next { text-align: right; }

/* year groups */
.year-heading { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0 1.25rem; }
.year-heading h2 { margin: 0; font-size: 1.4rem; }
.year-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- footer ---------- */
.site-footer { background: #061a30; color: #c9d6e6; margin-top: clamp(3rem, 7vw, 5rem); }
.footer-top { display: grid; gap: 2.25rem 2rem; padding-block: clamp(2.5rem, 6vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr 1.4fr; } .footer-brand { grid-column: auto; } }
.footer-contact-col address { font-style: normal; }
.footer-brand img { height: 3rem; width: auto; background: #fff; padding: 0.375rem 0.625rem; border-radius: 0.5rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.93rem; color: #9fb2c9; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: #c9d6e6; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; }
.footer-contact svg { width: 1.125rem; height: 1.125rem; flex: 0 0 auto; margin-top: 0.1875rem; color: #7fb3e6; }
.footer-contact address { font-style: normal; }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a { width: 2.375rem; height: 2.375rem; border-radius: 0.625rem; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); }
.social a:hover { background: rgba(255, 255, 255, 0.18); }
.social svg { width: 1.125rem; height: 1.125rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; font-size: 0.85rem; color: #8ea3bd; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-bottom a { font-size: 0.85rem; }

/* ---------- marketing components (v2) ---------- */
.proof-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
@media (min-width: 560px) { .proof-row { grid-template-columns: repeat(4, 1fr); } }
.proof-row strong { display: block; font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.proof-row span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); line-height: 1.35; display: block; }
.pillar { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pillar .icon { width: 3rem; height: 3rem; border-radius: 0.75rem; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.pillar .icon svg { width: 1.5rem; height: 1.5rem; }
.pillar h3 { font-size: 1.2rem; margin: 0.25rem 0 0; }
.pillar p { color: var(--text-2); margin: 0; font-size: 0.97rem; }
.pillar .proof { margin-top: auto; padding-top: 0.75rem; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 0.78rem; color: var(--brand); letter-spacing: 0.02em; }
.door { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.75rem; color: var(--text); position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface), var(--surface-2)); }
.door::after { content: ""; position: absolute; right: -40px; top: -40px; width: 10rem; height: 10rem; border-radius: 50%; background: radial-gradient(circle, var(--brand-glow), transparent 70%); opacity: 0.5; pointer-events: none; }
.door .kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.door h3 { font-size: 1.35rem; margin: 0; }
.door p { color: var(--text-2); margin: 0; }
.door .go { margin-top: auto; padding-top: 0.75rem; font-weight: 700; color: var(--brand); display: inline-flex; gap: 0.35rem; align-items: center; }
.door .go svg { width: 1rem; height: 1rem; transition: transform 0.15s; }
.door:hover .go svg { transform: translateX(0.25rem); }
.range-tile { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; color: var(--text); }
.range-tile .thumb { width: 4rem; height: 4rem; flex: 0 0 auto; border-radius: 0.625rem; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 0.4rem; }
.range-tile .thumb img { width: 100%; height: 100%; object-fit: contain; }
.range-tile .thumb svg { width: 1.75rem; height: 1.75rem; color: var(--brand); }
.range-tile h3 { font-size: 1rem; margin: 0 0 0.15rem; }
.range-tile p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.range-tile .ext { margin-left: auto; color: var(--brand); flex: 0 0 auto; }
.range-tile .ext svg { width: 1.125rem; height: 1.125rem; }
.vendor-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.625rem), 1fr)); gap: 1rem; }
.vendor-tile { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; color: var(--text); }
.vendor-tile img { max-height: 2.5rem; width: auto; max-width: 9.375rem; object-fit: contain; align-self: flex-start; }
.vendor-tile .accred { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.vendor-tile p { margin: 0; font-size: 0.9rem; color: var(--text-2); }
.offer-card { display: flex; flex-direction: column; color: var(--text); overflow: hidden; }
.offer-card .media { aspect-ratio: 2240 / 500; background: #fff; overflow: hidden; }
.offer-card .media img { width: 100%; height: 100%; object-fit: cover; }
.offer-card .card-body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.offer-card h3 { font-size: 1rem; margin: 0; }
.offer-card p { margin: 0.15rem 0 0; font-size: 0.85rem; color: var(--muted); }
.shop-panel { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); align-items: center; }
@media (min-width: 900px) { .shop-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); } }
.shop-panel h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.shop-panel p { color: var(--text-2); }
.shop-panel .highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); gap: 0.6rem; }
.shop-panel .highlights a { display: grid; gap: 0.35rem; text-align: center; color: var(--text-2); font-size: 0.72rem; line-height: 1.25; }
.shop-panel .highlights .thumb { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 0.625rem; display: grid; place-items: center; padding: 0.4rem; }
.shop-panel .highlights img { width: 100%; height: 100%; object-fit: contain; }
.shop-panel .highlights a:hover { color: var(--brand); }
.person { display: flex; gap: 1rem; align-items: center; padding: 1.15rem 1.25rem; }
.person .avatar { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; flex: 0 0 auto; }
.person h3 { font-size: 1rem; margin: 0; }
.person p { margin: 0.1rem 0 0; font-size: 0.88rem; color: var(--muted); }
.person a { font-weight: 600; font-size: 0.9rem; }
.shop-search { display: flex; gap: 0.5rem; max-width: 35rem; }
.shop-search input { flex: 1; padding: 0.85rem 1.1rem; border-radius: 62.4375rem; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; color: var(--text); }
.hero .shop-search input { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.hero .shop-search input::placeholder { color: rgba(255, 255, 255, 0.65); }
.stub { max-width: 35rem; margin: 4rem auto; text-align: center; font-family: system-ui, sans-serif; color: #0f1b2d; }

/* ---------- interactive infographics ---------- */
.ticks { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; gap: 0.4rem; }
.ticks li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--text-2); font-size: 0.95rem; }
.ticks svg { width: 1.125rem; height: 1.125rem; color: var(--ok); flex: 0 0 auto; margin-top: 2px; }

.journey { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 3vw, 2rem); }
.journey-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: 0.25rem; position: relative; }
.journey-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 1.375rem; height: 2px; background: var(--line-strong); }
@media (max-width: 760px) { .journey-steps { grid-template-columns: repeat(3, 1fr); } .journey-steps::before { display: none; } .journey-step .label { font-size: 0.78rem; } }
.journey-step { position: relative; background: none; border: 0; padding: 0.25rem 0.25rem 0.5rem; display: grid; justify-items: center; gap: 0.35rem; cursor: pointer; color: var(--muted); border-radius: 0.625rem; }
.journey-step .dot { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); transition: 0.2s; }
.journey-step .dot svg { width: 1.25rem; height: 1.25rem; }
.journey-step .num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; }
.journey-step .label { font-weight: 600; font-size: 0.85rem; text-align: center; color: var(--text-2); line-height: 1.25; }
.journey-step:hover .dot { border-color: var(--brand); color: var(--brand); }
.journey-step[aria-selected="true"] .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 0.375rem var(--brand-soft); }
.journey-step[aria-selected="true"] .label { color: var(--brand); }
.journey-step[aria-selected="true"] .num { color: var(--brand); }
.journey-panel { display: grid; gap: 1.5rem; animation: fade 0.25s ease; }
@media (min-width: 800px) { .journey-panel { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.journey-panel h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.journey-panel p { color: var(--text-2); }
.journey-aside { display: grid; gap: 0.75rem; align-content: start; }
.big-stat { padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--brand-soft); }
.big-stat strong { display: block; font-family: var(--font-mono); font-size: 1.8rem; color: var(--brand); letter-spacing: -0.02em; }
.big-stat span { font-size: 0.85rem; color: var(--text-2); }
.who { display: grid; gap: 0.2rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-s); font-size: 0.9rem; color: var(--text-2); }
.who .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.explorer { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .explorer { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: start; } }
.explorer-stack { display: grid; gap: 0.5rem; perspective: 56.25rem; }
.layer { text-align: left; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 0.75rem; padding: 0.95rem 1.1rem; cursor: pointer; display: grid; gap: 0.15rem; transform: translateX(calc(var(--depth) * 0.625rem)); transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s; color: var(--text); }
.layer:hover { border-color: var(--brand); }
.layer[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-m); transform: translateX(calc(var(--depth) * 0.625rem + 0.5rem)); }
.layer-title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.layer-sub { font-size: 0.82rem; opacity: 0.8; }
.layer[aria-selected="true"] .layer-sub { color: rgba(255, 255, 255, 0.85); }
.explorer-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 3vw, 2rem); min-height: 17.5rem; }
.explorer-panel { animation: fade 0.25s ease; }
.explorer-panel h3 { font-size: 1.4rem; }
.explorer-panel p { color: var(--text-2); }
.layer-logo { max-height: 2.125rem; width: auto; max-width: 8.75rem; margin-bottom: 0.75rem; }

.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.625rem, 1fr)); gap: 1rem; }
.stat-tile { padding: 1.25rem 1.35rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--brand-deep), var(--brand)); color: #fff; display: grid; gap: 0.2rem; }
.stat-tile strong { font-family: var(--font-mono); font-size: 2rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-tile span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.stat-tile small { font-size: 0.7rem; color: rgba(255, 255, 255, 0.55); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { min-width: 35rem; }
.compare th, .compare td { padding: 0.85rem 1rem; text-align: center; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.compare thead th { background: var(--surface-2); font-family: var(--font-display); font-size: 1rem; }
.compare thead th small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 0.78rem; color: var(--muted); }
.compare tbody th { text-align: left; background: transparent; font-weight: 600; color: var(--text-2); position: sticky; left: 0; background: var(--surface); }
.compare .hl { background: var(--brand-soft); }
.compare thead th.hl { color: var(--brand); }
.compare .yes svg { width: 1.25rem; height: 1.25rem; color: var(--ok); }
.compare .no { color: var(--line-strong); }
.compare tfoot td { border-bottom: 0; padding-top: 1rem; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4.875rem; top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
.tl-item { display: grid; grid-template-columns: 3.75rem 1fr; gap: 2.25rem; padding: 0 0 1.75rem; position: relative; opacity: 0; transform: translateY(0.75rem); transition: opacity 0.5s ease, transform 0.5s ease; }
.tl-item.in { opacity: 1; transform: none; }
.tl-item::before { content: ""; position: absolute; left: 4.5rem; top: 0.375rem; width: 0.875rem; height: 0.875rem; border-radius: 50%; background: var(--accent); border: 0.1875rem solid var(--bg); box-shadow: 0 0 0 2px var(--line-strong); }
.tl-year { font-family: var(--font-mono); color: var(--brand); font-size: 0.95rem; text-align: right; padding-top: 2px; }
.tl-body h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.tl-body p { color: var(--text-2); margin: 0; }
@media (max-width: 640px) { .timeline::before { left: 0.5rem; } .tl-item { grid-template-columns: 1fr; gap: 0.25rem; padding-left: 2rem; } .tl-item::before { left: 2px; } .tl-year { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .tl-item { opacity: 1; transform: none; transition: none; } }

/* ---------- utilities ---------- */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.center { text-align: center; }
.flex { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.small { font-size: 0.88rem; }

/* ---------- phones: stabilisation pass ---------- */
body { overflow-x: clip; }
body.nav-open { overflow: hidden; }
@media (max-width: 899px) {
  /* vendor logos: one swipeable row instead of three stacked rows */
  .hero-logos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
  .hero-logos::-webkit-scrollbar { display: none; }
  .hero-logos .label { flex: 0 0 auto; margin-right: 0.5rem; }
  .hero-logos a { flex: 0 0 7rem; max-width: none; scroll-snap-align: start; }
  /* text tiles in the bento strip need the wide basis or their copy overflows */
  .bento-tile.stat { flex-basis: 60%; }
  .bento-tile.stat strong { font-size: 1.4rem; }
  .bento-tile.stat span { font-size: 0.8rem; }
  .hero-grid { gap: 1.5rem; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.3rem); }
  .hero .lead { font-size: 1rem; }
  .hero-paths { flex-direction: column; align-items: stretch; }
  .hero-paths .path { justify-content: flex-start; white-space: normal; }
  .hero-paths .path svg { margin-left: auto; }
  .shop-search { flex-wrap: wrap; }
  .shop-search input { flex: 1 1 100%; }
  .shop-search .btn { width: 100%; justify-content: center; }
  .proof-row { gap: 0.9rem 1rem; }
  .proof-row strong { font-size: 1.3rem; }
  .section-head.flex.between .btn { width: 100%; justify-content: center; }
  .hero-actions .btn, .btn-row .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .hero-actions, .btn-row { flex-direction: column; }
}
