/* ============================================================
   S&G redesign v3 — "The Verge" design-system version
   Canvas #131313, hazard accents #3cffd0 / #5200ff, Anton display
   (Manuka substitute, line-height loosened to 0.95), Space Grotesk
   (PolySans roles), Space Mono (PolySans Mono roles — UPPERCASE only).
   Flat depth: 1px hairline borders carry hierarchy, no gradients,
   no glows, no elevation shadows.
   Breakpoints: 1179 / 1023 / 899 / 767 / 549 / 399.
   ============================================================ */

:root {
  /* Surfaces */
  --canvas: #131313;          /* Canvas Black — the only page background */
  --slate: #2d2d2d;           /* Surface Slate — secondary surface */
  --frame: #313131;           /* Image Frame hairline */

  /* Brand hazards */
  --mint: #3cffd0;            /* Jelly Mint */
  --mint-border: #309875;     /* Console Mint Border */
  --uv: #5200ff;              /* Verge Ultraviolet */
  --uv-dark: #3d00bf;         /* Purple Rule */

  /* Tile palette (declared accent family — no new colors) */
  --tile-yellow: #ffd400;
  --tile-pink: #ff5c8d;
  --tile-orange: #ff6a13;

  /* Text */
  --text: #ffffff;            /* Hazard White */
  --text-muted: #e9e9e9;      /* Muted Text */
  --text-dim: #949494;        /* Secondary Text */
  --black: #000000;           /* Absolute Black — text on light fills only */

  /* Interaction */
  --link-hover: var(--mint);  /* Jelly Mint — the only hover color */
  --focus-cyan: #1eaedb;      /* Focus Ring — keyboard focus only */
  --pressed-gray: #8c8c8c;    /* Dim Gray — pressed state */

  /* Radii scale (the eight discrete steps) */
  --r-input: 2px;
  --r-img: 3px;
  --r-nested: 4px;
  --r-card: 20px;
  --r-feature: 24px;
  --r-promo: 30px;
  --r-pill: 40px;

  /* Type */
  --font-display: 'Anton', Impact, 'Helvetica Neue', Helvetica, sans-serif;
  --font-sans: 'Space Grotesk', Helvetica, Arial, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', Courier, monospace;

  --container: 1280px;
}

* {
  box-sizing: border-box;
}

/* The [hidden] attribute must always win: author `display` rules (e.g.
   .btn { display: inline-block }) otherwise override the UA stylesheet's
   [hidden] { display: none }, leaving "hidden" elements visible. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--canvas);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(var(--container), 100% - 96px);
  margin-inline: auto;
}

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

/* Focus ring — Focus Cyan is reserved for keyboard focus only. */
:focus-visible {
  outline: 2px solid var(--focus-cyan);
  outline-offset: 2px;
}

/* ------------------------------------------------------------
   Link hover language: EVERY link goes Jelly Mint, color only,
   no underline. Buttons keep their own component hovers.
   ------------------------------------------------------------ */
a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.nav-menu a:not(.nav-cta):hover,
.nav-item--submenu:hover .nav-submenu-toggle,
.nav-submenu-toggle:hover,
.footer-base a:hover,
.footer-col address a:hover,
.hero-quiet-link:hover,
.about-copy a:hover {
  color: var(--link-hover);
}

/* ------------------------------------------------------------
   Skip link
   ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--mint);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--r-card);
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
  color: var(--black);
}

/* ------------------------------------------------------------
   Header — two stacked bars on near-black #0a0a0a: a top bar with
   the rabbit-silhouette logo left and a mint INQUIRE pill right,
   above a slightly darker centered nav strip separated from the
   hero by a thin hairline.
   ------------------------------------------------------------ */
.site-header {
  background: #0a0a0a;
  border-bottom: 1px solid var(--frame);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* v2 logo artwork — supplied at 2x (766×170), displayed at 383×85. */
.brand-logo {
  display: block;
  width: 383px;
  max-width: 100%;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-nav {
  background: #050505;
  border-top: 1px solid var(--frame);
}

.header-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  padding: 20px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text);
}

.nav-menu a.active {
  box-shadow: inset 0 -3px 0 0 var(--mint);
}

/* LINK dropdown — the nav item after CHEMICALS carries a hover-revealed
   submenu, styled after the header's dark surfaces (Canvas Black panel,
   Frame hairline, drawer-style radius). Mouse hover reveals it via CSS;
   keyboard focus (tabbing into the item) reveals it via :focus-within;
   on touch the JS click toggle drives the .is-open class. The JS layer
   only ever keeps aria-expanded truthful — the CSS owns the reveal. */
.nav-item--submenu {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* The trigger is a <button>; it must match the sibling <a> items exactly. */
.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  padding: 20px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
}

/* Caret affordance — flips upward while the submenu is open. */
.nav-submenu-toggle::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 150ms ease;
}

.nav-item--submenu.is-open .nav-submenu-toggle::after {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 240px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--canvas);
  border: 1px solid var(--frame);
  border-radius: var(--r-card);
}

/* (hover: hover) gates the mouse reveal so touch devices never get the
   sticky-hover open state; focus and the JS toggle work everywhere. */
@media (hover: hover) {
  .nav-item--submenu:hover .nav-submenu {
    display: flex;
  }
}

.nav-item--submenu:focus-within .nav-submenu,
.nav-item--submenu.is-open .nav-submenu {
  display: flex;
}

/* Higher specificity than the band/media `.nav-menu a` padding rules. */
.nav-menu .nav-submenu a {
  display: block;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 1.5px;
  white-space: nowrap;
  border-radius: var(--r-nested);
}

/* Mint-pill CTA — the single hazard accent in the header. */
.nav-cta {
  display: inline-block;
  background: var(--mint);
  color: var(--black) !important;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 14px 36px !important;
  transition: background 180ms ease, box-shadow 180ms ease;
}

/* Hover mirrors the .btn-primary inversion: black pill, mint label
   (!important matches the base colour's specificity override). */
.nav-cta:hover {
  background: var(--black);
  color: var(--mint) !important;
  box-shadow: 0 0 0 1px #c2c2c2;
}

.nav-cta:active {
  background: rgba(140, 140, 140, 0.87);
  opacity: 0.5;
  box-shadow: 0 0 0 1px var(--pressed-gray);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--frame);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 2;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

/* Primary — Jelly Mint Pill. Hover inverts fill and text:
   black pill, mint label (mirrored on .nav-cta below). */
.btn-primary {
  background: var(--mint);
  color: var(--black);
  border: none;
  border-radius: var(--r-feature);
  padding: 10px 24px;
}

.btn-primary:hover {
  background: var(--black);
  color: var(--mint);
  box-shadow: 0 0 0 1px #c2c2c2;
}

.btn-primary:active {
  background: rgba(140, 140, 140, 0.87);
  opacity: 0.5;
  box-shadow: 0 0 0 1px var(--pressed-gray);
}

.btn-primary:focus {
  background: var(--focus-cyan);
  color: var(--text);
  border: 1px solid #0500ff;
  outline: none;
}

/* Tertiary — Outlined Mint (40px pill) */
.btn-ghost {
  background: transparent;
  color: var(--mint);
  border: 1px solid var(--mint);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  transition: background 150ms ease, color 150ms ease;
}

.btn-ghost:hover {
  background: var(--mint);
  color: var(--black);
}

/* ------------------------------------------------------------
   Hero — the billboard photo is an <Image>-processed element
   pinned behind the section; the type sits on a flat ink overlay
   (no gradients — Verge bans them). The overlay stacks between
   the photo and .hero-inner, so the mint CTA and mono labels are
   never tinted by it.
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flat readability overlay — solid rgba veil over the photo.
   0.65 (slightly above the 0.6 baseline) keeps the #e9e9e9 lede at
   >= 4.5:1 contrast even over the brightest pixels of the photo. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(19, 19, 19, 0.65);
}

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

.hero-whisper,
.kicker-whisper {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 1.9px;
  color: var(--text);
}

.hero-title {
  margin: 0 0 16px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 90px;
  line-height: 0.95;
  letter-spacing: 1.07px;
  text-transform: uppercase;
  color: var(--text);
}

.hero-lede {
  margin: 0 0 24px;
  max-width: 62ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-quiet-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}

/* ------------------------------------------------------------
   Section headers
   ------------------------------------------------------------ */
.section-head {
  margin-bottom: 32px;
}

.section-title {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.section-deck {
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   Featured color-block tiles — saturated fills, no borders,
   24px feature radius, black text on light fills / white on UV.
   ------------------------------------------------------------ */
.featured {
  padding-block: 32px 64px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bento-tile {
  background: var(--canvas);
  border-radius: var(--r-feature);
  padding: 24px;
  cursor: pointer;
  transform-origin: center;
  transition: transform 200ms ease;
  will-change: transform;
}

/* Uneven bento: the 2 LARGE tiles each span 3 columns × 2 rows and sit side
   by side, filling the first two rows; the 6 small tiles (1 column each)
   fill the third row — every row ends flush. The large tile is a flex
   column so its media stretches to absorb the full spanned height (the
   image covers it edge-to-edge, cropped from its 4:3 master). */
.bento-tile--large {
  grid-column: span 3;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.bento-tile--large .bento-media {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 300px;
  position: relative;
}

.bento-tile--large .bento-media img {
  position: absolute;
  inset: 0;
}

/* The media zone fixes the 4/3 shape; the image fills it edge-to-edge
   (object-fit: cover, 100% w/h) so no tile carries empty space — tile
   height is driven by content, never a fixed oversized height. */
.bento-media {
  aspect-ratio: 4 / 3;
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-nested);
  border: 1px solid var(--frame);
}

.bento-label {
  margin-top: 14px;
}

.tile-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bento-headline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

/* Card hover — transform-only scale-up. Transform never touches
   layout flow (no width/height change), is compositor (GPU) driven,
   and z-index lifts the scaled tile above grid neighbours so the
   grown edge is never painted over. */
.bento-tile:hover {
  transform: scale(1.03);
  z-index: 1;
}

/* Tile fill rotation — mint / ultraviolet / yellow / pink / orange / white,
   then ultraviolet + mint again for tiles 7–8 (no adjacent same-fill
   neighbours across the uneven bento). */
.tile-1 { background: var(--mint); color: var(--black); }
.tile-1 .tile-tag { color: var(--black); }
.tile-1 .bento-media img { border-color: var(--mint-border); }

.tile-2 { background: var(--uv); color: var(--text); }
.tile-2 .tile-tag { color: var(--text); }

.tile-3 { background: var(--tile-yellow); color: var(--black); }
.tile-3 .tile-tag { color: var(--black); }

.tile-4 { background: var(--tile-pink); color: var(--black); }
.tile-4 .tile-tag { color: var(--black); }

.tile-5 { background: var(--tile-orange); color: var(--black); }
.tile-5 .tile-tag { color: var(--black); }

.tile-6 { background: var(--text); color: var(--black); }
.tile-6 .tile-tag { color: var(--black); }

.tile-7 { background: var(--uv); color: var(--text); }
.tile-7 .tile-tag { color: var(--text); }

.tile-8 { background: var(--mint); color: var(--black); }
.tile-8 .tile-tag { color: var(--black); }
.tile-8 .bento-media img { border-color: var(--mint-border); }

/* ------------------------------------------------------------
   Stat band
   ------------------------------------------------------------ */
.stat-band {
  border-block: 1px solid var(--frame);
  padding-block: 32px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  border-left: 1px solid var(--frame);
  padding-left: 20px;
}

.stat-value {
  display: block;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ------------------------------------------------------------
   Catalogue — filter chips (Pill Tags), spec search input, and
   the 29-pill-card grid on #131313 with 1px white hairlines.
   ------------------------------------------------------------ */
.products {
  padding-block: 64px;
}

.filter-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--canvas);
  color: var(--text);
  border: 1px solid var(--text-dim);
  border-radius: var(--r-card);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.chip:hover {
  color: var(--link-hover);
}

.chip.is-active {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--black);
}

.search-wrap {
  flex: 0 1 320px;
  min-width: 240px;
}

.search-input {
  width: 100%;
  background: var(--canvas);
  color: var(--text);
  border: 1px solid var(--text-dim);
  border-radius: var(--r-input);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 150ms ease;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-input:focus {
  border-color: var(--mint);
  outline: none;
}

.filter-status {
  margin: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Pill card: #131313 + 1px hairline, 20px radius.
   Border #303030 is a client-specified value — deliberately NOT the
   design system's --frame (#313131). Do not replace with a token. */
.product-card {
  background: var(--canvas);
  border: 1px solid #303030;
  border-radius: var(--r-card);
  padding: 20px;
  cursor: pointer;
  transform-origin: center;
  transition: transform 200ms ease;
  will-change: transform;
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-nested);
  border: 1px solid var(--frame);
}

.product-body {
  margin-top: 14px;
}

.product-category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.product-name {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

/* Same transform-only scale hover as .bento-tile. */
.product-card:hover {
  transform: scale(1.03);
  z-index: 1;
}

.product-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
}

.no-results {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* View-all toggle below the capped product grid — outlined mint pill
   (Verge tertiary button), centred under the grid. */
.view-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ------------------------------------------------------------
   Promo strip — ultraviolet color block, the one saturated
   full-width callout on the page.
   ------------------------------------------------------------ */
.strip {
  padding-block: 0 64px;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: rgba(82, 0, 255, 0.9);
  border-radius: var(--r-feature);
  padding: 40px 48px;
}

.strip-inner .section-title {
  margin-bottom: 8px;
}

.strip-inner .section-deck {
  color: var(--text);
}

/* ------------------------------------------------------------
   Modal — Feature Card styling: 24px radius, hairline border.
   ------------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.33);
}

.modal-card {
  position: relative;
  background: var(--canvas);
  border: 1px solid var(--frame);
  border-radius: var(--r-feature);
  padding: 32px;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.33);
}

.modal-media img {
  width: 100%;
  border-radius: var(--r-nested);
  border: 1px solid var(--frame);
  margin-bottom: 20px;
}

.modal-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.modal-body p {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--canvas);
  color: var(--text);
  border: 1px solid var(--frame);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 150ms ease;
}

.modal-close:hover {
  color: var(--link-hover);
}

/* ------------------------------------------------------------
   About page
   ------------------------------------------------------------ */
.page-hero {
  padding-block: 64px;
}

.hero-title-page {
  max-width: 24ch;
}

.about-section {
  padding-block: 0 64px;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.about-copy h2 {
  margin-top: 32px;
}

.about-copy h2:first-child {
  margin-top: 0;
}

.about-copy p {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

.about-figure {
  margin: 0;
  background: var(--canvas);
  border: 1px solid var(--frame);
  border-radius: var(--r-feature);
  padding: 12px;
}

.about-figure img {
  width: 100%;
  border-radius: var(--r-nested);
}

.about-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.why-el {
  padding-block: 0 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card {
  background: var(--canvas);
  border: 1px solid var(--frame);
  border-radius: var(--r-feature);
  padding: 32px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

.offices {
  padding-block: 0 64px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.office-card {
  background: var(--canvas);
  border: 1px solid var(--frame);
  border-radius: var(--r-feature);
  padding: 32px;
}

.office-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.office-card address {
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.office-card p {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--frame);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-logo {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.footer-tag {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
}

.footer-col h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.footer-col address {
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-dim);
}

.footer-base {
  /* Match the footer grid's container width and stay centred on desktop. */
  width: min(var(--container), 100% - 96px);
  margin-inline: auto;
  border-top: 1px solid var(--frame);
  padding-block: 20px;
}

.footer-base-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-base-inner p {
  margin: 0;
}

/* ------------------------------------------------------------
   Scroll-driven reveals (native CSS, no JS)
   ------------------------------------------------------------ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   Responsive — per the design-system breakpoint table.
   ------------------------------------------------------------ */

/* Large Desktop ≥1300px: container caps, no further scaling. */

/* Desktop 1180–1299px */
@media (max-width: 1179px) {
  .hero-title {
    font-size: 76px;
  }
}

/* Small Desktop 1024–1179px: full grid, mint CTA stays in nav. */
@media (max-width: 1023px) {
  /* Tablet: 2-column grids. */
  .hero-title {
    font-size: 64px;
  }

  .bento-grid,
  .product-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tablet bento: each large tile takes a full row on its own; the small
     tiles pair 2-per-row underneath — all rows flush. */
  .bento-tile--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 1130–1299px: with the LINK item the full-padding nav needs ~1182px —
   more than the container provides until vw≈1278. Measured required widths
   (Playwright DOM measurement, t_d67caf04): 1181.7px @ 26px side padding,
   1021.7px @ 16px side padding (8 top-level items + 7×8px gaps). The whole
   band therefore keeps the tighter 16px link padding; full padding resumes
   at 1300px where the container (1204px) clears the full-padding width with
   real margin. Targets top-level items only — the dropdown's own links keep
   their compact padding via the higher-specificity .nav-menu .nav-submenu a
   rule, and the LINK trigger button is included so the row width is exact. */
@media (min-width: 1130px) and (max-width: 1299px) {
  .nav-menu > li > a,
  .nav-menu > li > .nav-submenu-toggle {
    padding: 20px 16px;
  }
}

/* Below 1130px: the 8-item desktop nav no longer fits the desktop row
   (tight-padding width 1021.7px > container 100vw - 96px). The horizontal
   nav strip is hidden completely; a burger button to the right of the
   INQUIRE button in the top bar opens the menu as a drawer. */
@media (max-width: 1129px) {
  .nav-toggle {
    display: flex;
  }

  /* No horizontal nav strip below the breakpoint: kill the strip's own
     background/border so nothing shows while the drawer menu is closed
     (the closed .nav-menu contributes no height). */
  .header-nav {
    position: relative;
    background: transparent;
    border-top: 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 8px);
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--canvas);
    border: 1px solid var(--frame);
    border-radius: var(--r-card);
    padding: 16px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 16px; /* 44px touch targets */
  }

  /* LINK submenu inside the drawer: the dropdown panel becomes a plain
     indented list that stacks under its trigger. It still opens on demand
     (tap focuses the trigger → :focus-within; the JS click toggle adds
     .is-open) so nothing is hidden from touch users, and the trigger
     renders as a full-width drawer row matching the link items. */
  .nav-item--submenu {
    display: block;
  }

  .nav-submenu-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    text-align: left;
  }

  .nav-menu .nav-submenu {
    position: static;
    transform: none;
    min-width: 0;
    gap: 2px;
    padding: 0 0 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .nav-menu .nav-submenu a {
    padding: 14px 16px 14px 32px;
    border-radius: 0;
  }

  .site-header {
    position: relative;
  }
}

/* Large Mobile 550–767px: single column, padding opens up. */
@media (max-width: 767px) {
  .container {
    width: calc(100% - 48px);
  }

  .header-top-inner {
    padding-block: 16px;
  }

  .hero,
  .products,
  .page-hero {
    padding-block: 32px;
  }

  .featured,
  .why-el,
  .offices,
  .about-section,
  .strip {
    padding-block: 0 32px;
  }

  .hero-title {
    font-size: 54px;
  }

  .section-title {
    font-size: 28px;
  }

  .bento-grid,
  .product-grid,
  .feature-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-base {
    width: calc(100% - 48px);
  }
}

/* Mobile 400–549px: tiles stack full width, radii stay 20px. */
@media (max-width: 549px) {
  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 24px;
  }

  .filter-bar {
    flex-direction: column;
  }

  .search-wrap {
    flex-basis: auto;
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modal {
    padding: 12px;
  }

  .modal-card {
    padding: 20px;
  }
}

/* Small Mobile <400px: hero scales to ~48px, tighter padding. */
@media (max-width: 399px) {
  .container {
    width: calc(100% - 40px);
  }

  .footer-base {
    width: calc(100% - 40px);
  }

  .hero-title {
    font-size: 44px;
  }
}

/* ------------------------------------------------------------
   Reduced motion: kill smooth scroll and reveal animation.
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* anton-vietnamese-400-normal */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(anton-vietnamese-400-normal.CkBxLiRJ.woff2) format('woff2'), url(anton-vietnamese-400-normal.2FfR1wHA.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* anton-latin-ext-400-normal */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(anton-latin-ext-400-normal.SyiqE2Jt.woff2) format('woff2'), url(anton-latin-ext-400-normal.BMODBQc6.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* anton-latin-400-normal */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(anton-latin-400-normal.Byf51wtH.woff2) format('woff2'), url(anton-latin-400-normal.AUNGEG_V.woff) format('woff');
  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;
}/* space-grotesk-vietnamese-300-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(space-grotesk-vietnamese-300-normal.B9OJnXKM.woff2) format('woff2'), url(space-grotesk-vietnamese-300-normal.F-NWLUie.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* space-grotesk-latin-ext-300-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(space-grotesk-latin-ext-300-normal.4ZO_JR7W.woff2) format('woff2'), url(space-grotesk-latin-ext-300-normal.CxWNGEn7.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* space-grotesk-latin-300-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(space-grotesk-latin-300-normal.DiSf0yqz.woff2) format('woff2'), url(space-grotesk-latin-300-normal.Byd1NLsn.woff) format('woff');
  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;
}/* space-grotesk-vietnamese-500-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(space-grotesk-vietnamese-500-normal.BmEvtly_.woff2) format('woff2'), url(space-grotesk-vietnamese-500-normal.BTqKIpxg.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* space-grotesk-latin-ext-500-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(space-grotesk-latin-ext-500-normal.DUe3BAxM.woff2) format('woff2'), url(space-grotesk-latin-ext-500-normal.3dgZTiw9.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* space-grotesk-latin-500-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(space-grotesk-latin-500-normal.lFbtlQH6.woff2) format('woff2'), url(space-grotesk-latin-500-normal.CNSSEhBt.woff) format('woff');
  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;
}/* space-grotesk-vietnamese-700-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(space-grotesk-vietnamese-700-normal.DMty7AZE.woff2) format('woff2'), url(space-grotesk-vietnamese-700-normal.Duxec5Rn.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* space-grotesk-latin-ext-700-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(space-grotesk-latin-ext-700-normal.BQnZhY3m.woff2) format('woff2'), url(space-grotesk-latin-ext-700-normal.HVCqSBdx.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* space-grotesk-latin-700-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(space-grotesk-latin-700-normal.RjhwGPKo.woff2) format('woff2'), url(space-grotesk-latin-700-normal.CwsQ-cCU.woff) format('woff');
  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;
}/* space-mono-vietnamese-400-normal */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(space-mono-vietnamese-400-normal.BNOj0Qhp.woff2) format('woff2'), url(space-mono-vietnamese-400-normal.B0PMp_xB.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* space-mono-latin-ext-400-normal */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(space-mono-latin-ext-400-normal.DTLbW2xa.woff2) format('woff2'), url(space-mono-latin-ext-400-normal.D4cJI_B-.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* space-mono-latin-400-normal */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(space-mono-latin-400-normal.Rg4St2Dn.woff2) format('woff2'), url(space-mono-latin-400-normal._3DlpgIW.woff) format('woff');
  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;
}/* space-mono-vietnamese-700-normal */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(space-mono-vietnamese-700-normal.DWQgDHuA.woff2) format('woff2'), url(space-mono-vietnamese-700-normal.D-KrLuLr.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* space-mono-latin-ext-700-normal */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(space-mono-latin-ext-700-normal.B2s3bDs2.woff2) format('woff2'), url(space-mono-latin-ext-700-normal.B_E7P90g.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* space-mono-latin-700-normal */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(space-mono-latin-700-normal.mWgeinG7.woff2) format('woff2'), url(space-mono-latin-700-normal.D7A851RN.woff) format('woff');
  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;
}