/* ==========================================================================
   REGAX — Precision in Motion
   Core stylesheet / design system  ·  v2 "paper"
   --------------------------------------------------------------------------
   Ground   : cool paper + white plates
   Ink      : near-black with a green-blue bias
   Accent   : deep petrol (one accent, used with restraint)
   Type     : Archivo Expanded (display) / Instrument Sans (text) / DM Mono (data)
   Drawings : original single-weight technical line illustrations
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Ground — matches mopar.com's own two-tone page background: sections
     alternate between pure white and a cool light blue-grey panel. */
  --paper: #ffffff;
  --paper-2: #f5f7fa;
  --plate: #ffffff;

  /* Ink */
  --ink: #0a0e0f;
  --ink-2: #2b3335;
  --steel: #566165;
  --mute: #8a9598;
  --faint: #b3bcbe;

  /* Structure */
  --rule: #d5dbda;
  --rule-2: #e3e8ec;

  /* Accent — REGAX brand blue (#14357F, per approved logo) */
  --pet: #14357f;
  --pet-dp: #0b2359;
  --pet-mid: #1e48a7;
  --pet-lt: #657fba;
  --pet-tint: #e6ebf6;
  --pet-tint-2: #f1f4fa;

  /* Type */
  --f-disp: "Archivo Expanded", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Metrics */
  --shell: 1360px;
  --gut: clamp(20px, 4.2vw, 60px);
  --sec: clamp(64px, 7.5vw, 118px);
  --r: 2px;

  /* Motion */
  --e: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 0.2s;
  --t2: 0.38s;

  --hdr: 72px;
  --util: 34px;

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; margin: 0; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--pet); color: #fff; }
:focus-visible { outline: 2px solid var(--pet); outline-offset: 3px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--pet); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   3. TYPE
   -------------------------------------------------------------------------- */
.d1, .d2, .d3, .d4 {
  font-family: var(--f-disp);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  text-wrap: balance;
}
.d1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); letter-spacing: -0.038em; }
.d2 { font-size: clamp(2rem, 3.9vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.02; }
.d3 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.022em; line-height: 1.08; }
.d4 { font-size: clamp(1.02rem, 1.35vw, 1.2rem); letter-spacing: -0.012em; line-height: 1.16; }

.pet { color: var(--pet); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--pet);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.eyebrow--bare::before { display: none; }

.lead {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.66;
  color: var(--steel);
  max-width: 60ch;
}
.note { font-size: 0.875rem; line-height: 1.6; color: var(--mute); max-width: 68ch; }

.mono {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
}

.num {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--pet-lt);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.shell--wide { max-width: 1580px; }

.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(46px, 5vw, 76px); }
.sec--paper2 { background: var(--paper-2); }
.sec--plate { background: var(--plate); }
.sec--dark { background: var(--pet-dp); color: #cfdcdc; }
.sec--cta { background: var(--pet); }
.sec--cta .lead { color: #bcd3d4; }
.sec--cta .eyebrow { color: #9dc3c5; }
.sec--dark .d1, .sec--dark .d2, .sec--dark .d3, .sec--dark .d4 { color: #fff; }
.sec--dark .lead { color: #a9c0c1; }
.sec--dark .eyebrow { color: var(--pet-lt); }
.sec--dark .num { color: var(--pet-lt); }

.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px 40px;
  margin-bottom: clamp(30px, 3.4vw, 52px);
}
.head__txt { max-width: 760px; }
.head .d2 { margin-block: 15px 13px; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 26px;
  font-family: var(--f-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background-color var(--t) var(--e), color var(--t) var(--e),
              border-color var(--t) var(--e);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform var(--t2) var(--e); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid { background: var(--pet); color: #fff; }
.btn--solid:hover { background: var(--pet-dp); }

.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.btn--quiet { border-color: var(--rule); color: var(--ink); background: var(--plate); }
.btn--quiet:hover { border-color: var(--pet); color: var(--pet); }

.btn--off { border-color: var(--rule); color: var(--faint); background: var(--plate); cursor: default; pointer-events: none; }

.sec--dark .btn--solid { background: #fff; color: var(--pet-dp); }
.sec--dark .btn--solid:hover { background: var(--pet-tint); }
.sec--dark .btn--line { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.sec--dark .btn--line:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn--sm { padding: 10px 17px; font-size: 0.75rem; }
.btn--wide { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pet);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule);
  transition: border-color var(--t), color var(--t);
}
.tlink svg { width: 12px; height: 12px; transition: transform var(--t2) var(--e); }
.tlink:hover { border-color: var(--pet); }
.tlink:hover svg { transform: translateX(4px); }
.tlink--off { color: var(--faint); border-bottom-color: transparent; cursor: default; pointer-events: none; }

/* --------------------------------------------------------------------------
   6. DRAWINGS + PHOTO PLATES
   Every drawing here is authored for REGAX. A plate holds a photograph when
   one exists and the drawing when it does not — so no block is ever empty.
   -------------------------------------------------------------------------- */
.illus { width: 100%; height: auto; color: var(--pet); }
.illus__ghost { opacity: 0.34; }

.plate {
  position: relative;
  background: var(--plate);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.plate img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--e), opacity 0.35s var(--e);
}
.plate__draw {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 7%;
  background:
    linear-gradient(0deg, var(--pet-tint-2), var(--pet-tint-2)),
    repeating-linear-gradient(0deg, var(--rule-2) 0 1px, transparent 1px 32px);
}
.plate__draw::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(20, 49, 95, .05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(20, 49, 95, .05) 0 1px, transparent 1px 34px);
}
.plate__draw .illus, .plate__draw svg { position: relative; width: 100%; height: auto; }
/* Waiting on the photograph (e.g. a lazy image not yet in view): show the
   drawing as a loading placeholder and hold the <img> invisible without
   display:none, so a below-the-fold loading="lazy" image can still be
   measured against the viewport and actually fetched. */
.plate.is-loading img { opacity: 0; }
.plate.is-loading .plate__draw { display: flex; }
.plate.is-empty img { display: none; }
.plate.is-empty .plate__draw { display: flex; }
.plate--43 { aspect-ratio: 4 / 3; }
.plate--32 { aspect-ratio: 3 / 2; }
.plate--11 { aspect-ratio: 1 / 1; }
.plate--169 { aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--plate);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow var(--t2) var(--e);
}
.hd--lift { box-shadow: 0 1px 0 var(--rule), 0 12px 28px -22px rgba(10, 14, 15, 0.3); }

.util {
  height: var(--util);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--rule-2);
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
  overflow: hidden;
  transition: height var(--t2) var(--e), opacity var(--t2) var(--e);
}
.util b { color: var(--ink); font-weight: 500; }
.util__r { display: flex; align-items: center; gap: 3px; }
.util__r a { padding: 4px 8px; transition: color var(--t); }
.util__r a:hover { color: var(--pet); }
.util__sep { width: 1px; height: 10px; background: var(--rule); }
.hd--lift .util { height: 0; opacity: 0; border-color: transparent; }

.nav {
  height: var(--hdr);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  transition: height var(--t2) var(--e);
}
.hd--lift .nav { height: 60px; }

.brand { display: flex; align-items: center; flex: none; }
.brand__mark { display: inline-flex; align-items: center; line-height: 0; }
.brand__img { height: 40px; width: auto; display: block; transition: height var(--t2) var(--e); }
.hd--lift .brand__img { height: 30px; }
.brand__txt {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1;
}
.brand.has-logo .brand__txt { display: none; }
.brand:not(.has-logo) .brand__mark { display: none; }

.nav__ul { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.nav__a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 1px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.012em;
  color: var(--steel);
  white-space: nowrap;
  transition: color var(--t);
}
.nav__a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--pet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t2) var(--e);
}
.nav__a:hover, .nav__a[aria-expanded="true"] { color: var(--ink); }
.nav__a:hover::after, .nav__a[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__a.on { color: var(--pet); }
.nav__a.on::after { transform: scaleX(1); }
.nav__a--off { color: var(--faint); cursor: default; pointer-events: none; }
.nav__car { width: 9px; height: 9px; margin-left: 6px; transition: transform var(--t); }
.nav__a[aria-expanded="true"] .nav__car { transform: rotate(180deg); }

.nav__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ico-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  color: var(--ink);
  transition: border-color var(--t), color var(--t);
}
.ico-btn:hover { border-color: var(--pet); color: var(--pet); }
.ico-btn--off { color: var(--faint); cursor: default; pointer-events: none; }
.ico-btn--off:hover { border-color: var(--rule); color: var(--faint); }
.ico-btn svg { width: 17px; height: 17px; }
.burger { display: none; }

/* --------------------------------------------------------------------------
   8. MEGA MENU
   -------------------------------------------------------------------------- */
.mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--plate);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 24px 40px -30px rgba(10, 14, 15, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t2) var(--e), transform var(--t2) var(--e), visibility var(--t2);
  max-height: calc(100vh - var(--hdr));
  overflow-y: auto;
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega__in {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-2);
  border: 1px solid var(--rule-2);
  margin-block: 26px;
}
.mega__a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--plate);
  transition: background-color var(--t);
}
.mega__a:hover { background: var(--pet-tint-2); }
.mega__fig { grid-row: span 2; }
.mega__fig .plate { width: 44px; border: 0; border-radius: 3px; }
.mega__fig .plate__draw { padding: 20%; }
.mega__n { font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: 0.14em; color: var(--pet-lt); }
.mega__t {
  font-family: var(--f-disp);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.mega__ft {
  border-top: 1px solid var(--rule-2);
  padding-block: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mega__ft p { font-size: 0.875rem; color: var(--steel); }

/* --------------------------------------------------------------------------
   9. MOBILE DRAWER
   -------------------------------------------------------------------------- */
.dw { position: fixed; inset: 0; z-index: 300; display: none; flex-direction: column; background: var(--plate); }
.dw.open { display: flex; animation: dwin 0.26s var(--e); }
@keyframes dwin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.dw__bar {
  height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gut);
  border-bottom: 1px solid var(--rule);
  flex: none;
}
.dw__body { flex: 1; overflow-y: auto; padding: 6px var(--gut) 40px; }
.dw__a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 18px 0;
  border-bottom: 1px solid var(--rule-2);
  font-family: var(--f-disp);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--ink); text-align: left;
}
.dw__a svg { width: 13px; height: 13px; color: var(--faint); transition: transform var(--t); }
.dw__a[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--pet); }
.dw__a--off { color: var(--faint); cursor: default; pointer-events: none; }
.dw__sub { display: none; padding-bottom: 12px; }
.dw__sub.open { display: block; }
.dw__sub a {
  display: grid; grid-template-columns: 30px 26px 1fr; align-items: center; gap: 10px;
  padding: 9px 0; font-size: 0.875rem; color: var(--steel);
}
.dw__sub a svg { width: 26px; height: auto; color: var(--pet); }
.dw__cta { margin-top: 22px; display: grid; gap: 9px; }
.dw__langs { margin-top: 22px; display: flex; gap: 7px; }

.qbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  display: none; gap: 9px;
  padding: 9px var(--gut) calc(9px + env(safe-area-inset-bottom));
  background: var(--plate);
  border-top: 1px solid var(--rule);
}
.qbar .btn { flex: 1; padding: 12px 10px; }

/* --------------------------------------------------------------------------
   10. HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; border-bottom: 1px solid var(--rule); overflow: hidden; background: var(--pet-dp); }

/* Full-bleed rotating background — each slide is a .plate (photo, or the
   technical drawing while the photo file is not yet in place), stacked and
   cross-faded by regax.js. */
.hero__carousel { position: relative; height: clamp(460px, 56vw, 680px); }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--e);
  background: var(--pet-dp);
  border: 0;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__slide.is-empty img { display: none; }
.hero__slide .plate__draw {
  background:
    linear-gradient(180deg, var(--pet-dp), #0d2350);
}
.hero__slide .plate__draw::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 34px);
}
.hero__slide .plate__draw .illus, .hero__slide .plate__draw svg {
  width: 46%; max-width: 460px; color: rgba(255, 255, 255, .45);
}

.hero__scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg,
    rgba(9, 17, 36, .88) 0%, rgba(9, 17, 36, .68) 30%,
    rgba(9, 17, 36, .28) 56%, rgba(9, 17, 36, 0) 76%);
}

.hero__inner { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; }
.hero__copy { max-width: 560px; }
.hero__copy .eyebrow { color: var(--pet-lt); }
.hero__h { margin-block: 20px 24px; color: #fff; }
.hero__h span { display: block; }
.hero__h .pet { color: var(--pet-lt); }
.hero__sub { font-size: clamp(1rem, 1.3vw, 1.1875rem); line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 44ch; }
.hero__sub b { display: block; font-weight: 600; color: #fff; margin-bottom: 9px; }
.hero__btns { margin-top: 30px; }
.hero__btns .btn--line { border-color: rgba(255, 255, 255, .4); color: #fff; }
.hero__btns .btn--line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px clamp(14px, 2vw, 28px);
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero__facts dt {
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 4px;
}
.hero__facts dd {
  font-family: var(--f-disp);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.hero__badge {
  position: absolute;
  right: clamp(16px, 3.2vw, 60px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 7px;
  padding: clamp(17px, 2.2vw, 24px) clamp(22px, 3.1vw, 33px);
  box-shadow: 0 14px 34px rgba(8, 18, 38, 0.35);
}
.hero__badge img { height: clamp(37px, 4.4vw, 55px); width: auto; display: block; }

.hero__dots {
  position: absolute; left: clamp(16px, 4.4vw, 68px); bottom: clamp(18px, 3vw, 40px);
  z-index: 3; display: flex; gap: 8px;
}
.hero__dot {
  width: 22px; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, .32);
  border: 0; padding: 0; cursor: pointer;
  transition: background var(--t);
}
.hero__dot.is-active { background: #fff; }

/* Inner page hero */
.ph { background: var(--plate); border-bottom: 1px solid var(--rule); }
.ph__in { padding-block: clamp(34px, 4.4vw, 62px) clamp(34px, 4.4vw, 58px); max-width: 900px; }
.ph .d1, .ph .d2 { margin-block: 16px 18px; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.625rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint);
}
.crumbs a { color: var(--mute); transition: color var(--t); }
.crumbs a:hover { color: var(--pet); }
.crumbs [aria-current] { color: var(--pet); }

/* --------------------------------------------------------------------------
   11. CATEGORY TILES — the signature block
   -------------------------------------------------------------------------- */
.tiles {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.tile {
  flex: 0 0 25%;
  max-width: 25%;
  box-sizing: border-box;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--plate);
  display: flex;
  flex-direction: column;
  transition: background-color var(--t2) var(--e);
}
.tile:hover { background: var(--pet-tint-2); }
.tile__art {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--pet-tint);
  overflow: hidden;
}
/* The tile art holds a .plate (see components.py -> plate()): a photograph
   once the file exists, the category's technical drawing until then — same
   convention as everywhere else on the site. The plate fills the tile edge
   to edge; only its empty (drawing) state keeps the tile's original padded,
   flat-tint look. */
.tile__art .plate { position: absolute; inset: 0; border: 0; background: transparent; }
.tile__art .plate__draw { padding: 15%; background: var(--pet-tint); }
.tile__art .plate__draw::before { display: none; }
.tile__art .illus, .tile__art svg {
  position: relative;
  width: 100%;
  height: auto;
  color: var(--pet);
  transition: transform var(--t2) var(--e);
}
.tile:hover .tile__art svg { transform: scale(1.06); }
.tile:hover .tile__art .plate img { transform: scale(1.06); }
.tile__n {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--pet-lt);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.tile__body {
  padding: 20px clamp(16px, 2vw, 22px) 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  border-top: 1px solid var(--rule);
}
.tile__t {
  font-family: var(--f-disp);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
}
.tile__d { font-size: 0.8125rem; line-height: 1.5; color: var(--steel); flex: 1; }
.tile__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 2px;
  transition: color var(--t);
}
.tile__go svg { width: 12px; height: 12px; transition: transform var(--t2) var(--e); }
.tile:hover .tile__go { color: var(--pet); }
.tile:hover .tile__go svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   12. RANGE TABLE
   -------------------------------------------------------------------------- */
.rng { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(26px, 3.4vw, 58px); align-items: start; }
.rng__art .plate { aspect-ratio: 4 / 3; }

.tbl { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tbl caption { text-align: left; padding-bottom: 12px; }
.tbl th, .tbl td { text-align: left; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl thead th {
  font-family: var(--f-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ink);
}
.tbl tbody tr { transition: background-color var(--t); }
.tbl tbody tr:hover { background: var(--pet-tint-2); }
.tbl__nm {
  font-family: var(--f-disp);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.tbl__sub { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--pet); display: block; margin-top: 4px; text-transform: uppercase; }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }
.tbl__act { white-space: nowrap; text-align: right; }

.scroll-x { overflow-x: auto; }

/* --------------------------------------------------------------------------
   13. PILLARS / STEPS / RAIL
   -------------------------------------------------------------------------- */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.cols > * { background: var(--paper); padding: 28px 24px 30px; }
.sec--plate .cols > * { background: var(--plate); }
.sec--dark .cols { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.14); }
.sec--dark .cols > * { background: var(--pet-dp); }

.col__ico { width: 24px; height: 24px; color: var(--pet); margin-bottom: 18px; }
.sec--dark .col__ico { color: var(--pet-lt); }
.col__t {
  font-family: var(--f-disp);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 9px;
}
.sec--dark .col__t { color: #fff; }
.col__d { font-size: 0.875rem; line-height: 1.56; color: var(--steel); }
.sec--dark .col__d { color: #9db4b5; }
.col__n { display: block; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--pet-lt); margin-bottom: 15px; }

.rail { border-top: 1px solid var(--ink); }
.rail__r {
  display: grid;
  grid-template-columns: 74px minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: 18px clamp(14px, 2vw, 34px);
  align-items: baseline;
  padding: 19px 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color var(--t);
}
.rail__r:hover { background: var(--pet-tint-2); }
.rail__n { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--pet-lt); }
.rail__t {
  font-family: var(--f-disp);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.rail__d { font-size: 0.9375rem; line-height: 1.58; color: var(--steel); }

/* Split band */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 70px); align-items: center; }
.split--rev .split__art { order: -1; }
.split__art .plate { aspect-ratio: 4 / 3; }
.split__body .d2 { margin-block: 16px 16px; }
.split__body .btns { margin-top: 28px; }
.sec--dark .plate { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.16); }
.sec--dark .plate__draw {
  background: rgba(255, 255, 255, 0.03);
}
.sec--dark .plate__draw::before { opacity: 0.5; }
.sec--dark .illus { color: var(--pet-lt); }

/* --------------------------------------------------------------------------
   14. GLOBAL BAND
   -------------------------------------------------------------------------- */
.globe { position: relative; overflow: hidden; }
.globe__map {
  position: absolute; inset: 0;
  background-repeat: no-repeat; background-position: center; background-size: cover;
  opacity: 0.5;
  mask-image: radial-gradient(72% 78% at 50% 50%, #000 26%, transparent 76%);
  -webkit-mask-image: radial-gradient(72% 78% at 50% 50%, #000 26%, transparent 76%);
}
.globe__in { position: relative; text-align: center; max-width: 700px; margin-inline: auto; }
.globe__in .d2 { margin-block: 18px 16px; }
.globe__in .lead { margin-inline: auto; }
.globe__l { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 30px; margin-top: 26px; }
.globe__l li {
  font-family: var(--f-mono);
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel);
  display: flex; align-items: center; gap: 9px;
}
.globe__l li::before { content: ""; width: 5px; height: 5px; background: var(--pet); flex: none; }

/* --------------------------------------------------------------------------
   15. CTA
   -------------------------------------------------------------------------- */
.cta__in {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 30px;
  padding-block: clamp(52px, 6.4vw, 96px);
}
.cta__t { max-width: 620px; }
.cta__t .d1, .cta__t .d2 { margin-block: 16px 14px; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.ft { background: var(--pet-dp); color: #9db4b5; }
.ft a { color: #cfdcdc; }
.ft__main {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(140px, 1fr));
  gap: 36px clamp(22px, 3vw, 50px);
  padding-block: clamp(46px, 5.6vw, 74px) 42px;
}
.ft .brand__txt { color: #fff; }
.ft__tag {
  font-family: var(--f-mono);
  font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pet-lt); margin: 14px 0 14px;
}
.ft__blurb { font-size: 0.875rem; line-height: 1.66; color: #8fa8a9; max-width: 34ch; }
.ft__h {
  font-family: var(--f-mono);
  font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6b8586;
  margin-bottom: 15px; padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.ft__l li + li { margin-top: 8px; }
.ft__l a { font-size: 0.875rem; transition: color var(--t); }
.ft__l a:hover { color: #fff; }
.ft__l .is-off { font-size: 0.875rem; color: rgba(207, 220, 220, 0.4); cursor: default; }
.ft__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-block: 18px 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; color: #6b8586;
}
.ft__region {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #9db4b5;
  transition: color var(--t);
}
.ft__region:hover { color: #fff; }
.ft__region__ico { width: 12px; height: 12px; }
.langs { display: flex; gap: 6px; }
.lang-btn {
  padding: 6px 11px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel);
  transition: all var(--t);
}
.lang-btn:hover { border-color: var(--pet); color: var(--pet); }
.lang-btn.on { background: var(--pet); border-color: var(--pet); color: #fff; }
.ft .lang-btn { border-color: rgba(255, 255, 255, 0.2); color: #9db4b5; }
.ft .lang-btn:hover { border-color: #fff; color: #fff; }
.ft .lang-btn.on { background: #fff; border-color: #fff; color: var(--pet-dp); }

/* --------------------------------------------------------------------------
   17. CATALOG
   -------------------------------------------------------------------------- */
.cat-l { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(22px, 2.6vw, 40px); align-items: start; }
.filters {
  position: sticky; top: calc(var(--hdr) + 14px);
  background: var(--plate);
  border: 1px solid var(--rule);
  max-height: calc(100vh - var(--hdr) - 36px);
  overflow-y: auto;
}
.filters__h { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-bottom: 1px solid var(--rule); }
.filters__h h2 { font-family: var(--f-disp); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.filters__rst { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.filters__rst:hover { color: var(--pet); }

.fg { border-bottom: 1px solid var(--rule-2); }
.fg__b {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 17px;
  font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink); text-align: left;
}
.fg__b svg { width: 10px; height: 10px; color: var(--faint); transition: transform var(--t); }
.fg__b[aria-expanded="true"] svg { transform: rotate(180deg); }
.fg__c { display: none; padding: 0 17px 15px; }
.fg__c.open { display: block; }

.chk { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.8125rem; color: var(--steel); cursor: pointer; }
.chk:hover { color: var(--ink); }
.chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.chk__b { width: 14px; height: 14px; flex: none; border: 1px solid var(--faint); border-radius: 2px; display: grid; place-items: center; transition: all var(--t); }
.chk__b::after { content: ""; width: 7px; height: 7px; background: var(--pet); transform: scale(0); transition: transform var(--t) var(--e); }
.chk input:checked + .chk__b { border-color: var(--pet); }
.chk input:checked + .chk__b::after { transform: scale(1); }
.chk input:focus-visible + .chk__b { outline: 2px solid var(--pet); outline-offset: 2px; }
.chk__n { margin-left: auto; font-family: var(--f-mono); font-size: 0.625rem; color: var(--faint); }

.fnote { font-size: 0.75rem; line-height: 1.5; color: var(--mute); padding: 10px 12px; border: 1px dashed var(--rule); }
.fsel { width: 100%; padding: 9px 11px; margin-bottom: 8px; background: var(--paper); border: 1px solid var(--rule); font-size: 0.8125rem; color: var(--steel); }
.fsel:disabled { opacity: 0.55; cursor: not-allowed; }

.ctop { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-bottom: 18px; }
.srch { position: relative; flex: 1 1 240px; }
.srch svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--faint); }
.srch input { width: 100%; padding: 12px 14px 12px 38px; background: var(--plate); border: 1px solid var(--rule); font-size: 0.875rem; color: var(--ink); }
.srch input::placeholder { color: var(--faint); }
.srch input:focus { border-color: var(--pet); outline: none; }
.csort { padding: 12px 13px; background: var(--plate); border: 1px solid var(--rule); font-size: 0.8125rem; color: var(--steel); }
.ccount { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.ftoggle { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  background: var(--pet-tint); color: var(--pet);
  font-size: 0.75rem;
}
.chip button { color: var(--pet); line-height: 1; }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: clamp(12px, 1.3vw, 18px); }
.pc {
  display: flex; flex-direction: column;
  background: var(--plate);
  border: 1px solid var(--rule);
  transition: border-color var(--t2) var(--e), transform var(--t2) var(--e);
}
.pc:hover { border-color: var(--pet); transform: translateY(-2px); }
.pc__m { position: relative; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--rule-2); }
.pc__b { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pc__cat { font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pet-lt); }
.pc__n { font-family: var(--f-disp); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.005em; text-transform: uppercase; color: var(--ink); line-height: 1.2; }
.pc__s { font-size: 0.8125rem; color: var(--steel); flex: 1; }
.pc__a { display: flex; gap: 7px; margin-top: 10px; }
.pc__a .btn { flex: 1; padding: 9px 8px; font-size: 0.6875rem; }

.empty { padding: 60px 24px; text-align: center; border: 1px dashed var(--rule); background: var(--plate); }
.empty p { color: var(--steel); font-size: 0.875rem; margin-top: 9px; }

/* --------------------------------------------------------------------------
   18. SUBCATEGORY LIST
   -------------------------------------------------------------------------- */
.subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(226px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sub {
  display: flex; align-items: center; gap: 12px;
  background: var(--plate);
  padding: 17px 18px;
  transition: background-color var(--t);
}
.sub:hover { background: var(--pet-tint-2); }
.sub__n { font-family: var(--f-mono); font-size: 0.625rem; color: var(--pet-lt); }
.sub__t { font-size: 0.8125rem; color: var(--ink-2); flex: 1; }
.sub svg { width: 12px; height: 12px; color: var(--faint); transition: transform var(--t); }
.sub:hover svg { transform: translateX(4px); color: var(--pet); }
.sub--off { cursor: default; pointer-events: none; }
.sub--off:hover { background: var(--plate); }
.sub--off .sub__n, .sub--off .sub__t { color: var(--faint); }

/* --------------------------------------------------------------------------
   19. PDP
   -------------------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 60px); align-items: start; }
.gal__m { aspect-ratio: 1 / 1; }
.gal__t { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 9px; }
.gal__t .plate { aspect-ratio: 1 / 1; cursor: pointer; }
.gal__t .plate:hover { border-color: var(--pet); }
.pdp .d2 { margin-block: 12px 14px; }
.spec { margin-top: 26px; border-top: 1px solid var(--ink); }
.spec__r { display: grid; grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.5fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.875rem; }
.spec__k { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.spec__v { color: var(--ink-2); }
.pnote { margin-top: 20px; padding: 15px 17px; background: var(--pet-tint-2); border-left: 2px solid var(--pet); font-size: 0.875rem; line-height: 1.58; color: var(--steel); }

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */
.fw { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 3.6vw, 60px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld--full { grid-column: 1 / -1; }
.fld label { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--mute); }
.fld label .rq { color: var(--pet); }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 12px 14px;
  background: var(--plate); border: 1px solid var(--rule);
  font-size: 0.875rem; color: var(--ink);
  transition: border-color var(--t);
}
.fld textarea { min-height: 122px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--faint); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--pet); outline: none; }
.form__ft { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 4px; }
.form__hint { font-size: 0.8125rem; color: var(--mute); flex: 1 1 200px; }

.card { background: var(--plate); border: 1px solid var(--rule); padding: 24px 24px 26px; }
.card + .card { margin-top: 14px; }
.card h3 { font-family: var(--f-disp); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.row2 { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule-2); font-size: 0.875rem; }
.row2:first-of-type { border-top: 0; padding-top: 0; }
.row2 dt { color: var(--mute); min-width: 96px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.row2 dd { margin: 0; color: var(--ink-2); }
.tbc { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--faint); }

/* --------------------------------------------------------------------------
   21. REGION GATE
   One-time entry prompt (see regax.js). Hidden by [hidden] until JS decides
   to show it, so a page with JS disabled never displays it.
   -------------------------------------------------------------------------- */
.rg { position: fixed; inset: 0; z-index: 400; padding: 20px; background: rgba(11, 23, 42, 0.72); backdrop-filter: blur(3px); }
.rg:not([hidden]) { display: flex; align-items: center; justify-content: center; }
.rg__panel {
  width: 100%; max-width: 640px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.rg__panel .brand { margin-bottom: 22px; }
.rg__t { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin-top: 8px; }
.rg__d { margin-top: 12px; color: var(--steel); font-size: 0.9375rem; line-height: 1.6; max-width: 54ch; }
.rg__grid { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.rg__card {
  display: flex; flex-direction: column; gap: 4px;
  text-align: left;
  padding: 16px 18px;
  background: var(--plate);
  transition: background-color var(--t);
}
.rg__card:hover, .rg__card:focus-visible { background: var(--pet-tint-2); }
.rg__name { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.rg__note { font-size: 0.75rem; color: var(--faint); }

/* --------------------------------------------------------------------------
   22. MOTION — sections rest visible and settle in place
   -------------------------------------------------------------------------- */
.rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.55s var(--e) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .mega__in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile { flex-basis: 33.3334%; max-width: 33.3334%; }
}

@media (max-width: 1080px) {
  .nav__ul, .nav__end .btn, .util { display: none; }
  .burger { display: grid; }
  .nav { justify-content: space-between; }
  .mega { display: none; }
  .hero__carousel { height: clamp(520px, 92vw, 720px); }
  .hero__copy { max-width: 460px; }
  .cat-l { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 260; max-height: none; border: 0; display: none; }
  .filters.open { display: block; overflow-y: auto; }
  .ftoggle { display: inline-flex; }
  .pdp, .fw, .rng { grid-template-columns: 1fr; }
  .qbar { display: flex; }
  body { padding-bottom: 66px; }
  .ft__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --hdr: 62px; }
  .tile { flex-basis: 50%; max-width: 50%; }
  .split--rev .split__art { order: 0; }
  .rail__r { grid-template-columns: 50px 1fr; }
  .rail__d { grid-column: 2; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .form { grid-template-columns: 1fr; }
  .head { grid-template-columns: 1fr; align-items: start; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Below tablet width the overlay layout runs out of room for the copy
     block, so the hero stacks: photo strip on top, copy in normal flow
     underneath on the same dark panel colour. */
  .hero__carousel { height: clamp(220px, 58vw, 340px); }
  .hero__scrim { background: linear-gradient(180deg, rgba(9, 17, 36, 0) 55%, rgba(9, 17, 36, .95) 100%); }
  .hero__inner { position: static; display: block; }
  .hero__copy { max-width: none; padding-block: 28px 8px; }
  .hero__badge { position: static; margin: 24px var(--gut) 0; }
}

@media (max-width: 560px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc__a { flex-direction: column; }
  .gal__t { grid-template-columns: repeat(3, 1fr); }
  .subs { grid-template-columns: 1fr; }
  .tile { flex-basis: 100%; max-width: 100%; }
  .hero__carousel { height: clamp(200px, 62vw, 280px); }
  .hero__badge { padding: 13px 18px; }
  .hero__badge img { height: 35px; }
  .hero__dots { left: clamp(14px, 5vw, 22px); }
  .rg__grid { grid-template-columns: 1fr; }
}

@media print {
  .hd, .qbar, .dw, .cta, .rg { display: none !important; }
  body { background: #fff; }
}
