/* ==========================================================================
   Autonext Group Sdn Bhd — site stylesheet
   Design language: parts-catalogue spec sheet.
   White ground, action red, industrial display type, monospace part numbers.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* colour */
  --ink:        #111111;
  --ink-2:      #3D444D;
  --muted:      #5B6470;
  --line:       #E2E6EA;
  --line-soft:  #EDF0F2;
  --surface:    #FFFFFF;
  --surface-2:  #F6F7F9;
  --surface-3:  #EEF1F4;
  --red:        #C70D1B;   /* sampled from the logo — 6.00:1 on white, AA safe */
  --red-bright: #E01423;   /* graphic accents only */
  --red-deep:   #97070F;
  --focus:      #0B63CE;

  /* type */
  --display: 'Archivo', 'Arial Narrow', Impact, system-ui, sans-serif;
  --body:    'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* fluid type scale */
  --fs-mega: clamp(2.1rem, 1.05rem + 4.3vw, 4.25rem);
  --fs-h1:   clamp(2.1rem, 1.3rem + 3.4vw, 4rem);
  --fs-h2:   clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem);
  --fs-h3:   clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  --fs-body: clamp(0.98rem, 0.94rem + 0.18vw, 1.075rem);
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  /* space */
  --gut: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);
  --sec: clamp(2.25rem, 1.5rem + 2.6vw, 4rem);
  --maxw: 1280px;

  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The sticky header is ~75px tall, so an anchor jump would otherwise land the
   target underneath it. Offset every jump target by the header plus breathing room. */
[id] { scroll-margin-block-start: 6.5rem; }

body {
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-inline-size: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -0.022em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--red); color: #fff; }

/* ---------- layout helpers ---------- */
.wrap { max-inline-size: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #fff; }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; font-weight: 600;
}
.skip:focus { inset-inline-start: 0; }

/* ---------- spec-sheet section label ---------- */
/* "01 / CATEGORIES" — the catalogue voice of the whole site */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--red);
  margin-block-end: 1.1rem;
}
.eyebrow::before {
  content: "";
  inline-size: 26px; block-size: 3px;
  background: var(--red);
  flex: none;
}

.section--ink .eyebrow { color: #9AA3AE; }

/* ---------- headings ---------- */
.h-mega { font-size: var(--fs-mega); font-weight: 900; letter-spacing: -0.035em; text-transform: uppercase; }
.h1 { font-size: var(--fs-h1); text-transform: uppercase; }
.h2 { font-size: var(--fs-h2); text-transform: uppercase; }
.h3 { font-size: var(--fs-h3); }
.lede { font-size: clamp(1rem, .95rem + .35vw, 1.15rem); color: var(--ink-2); max-inline-size: 62ch; }
.section--ink .lede { color: #C6CCD4; }

/* red rule under a heading */
.rule { inline-size: 56px; block-size: 4px; background: var(--red); margin-block: .9rem 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: var(--fs-body); font-weight: 600;
  letter-spacing: 0; text-transform: none;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--onink { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--onink:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn__arrow { transition: transform .18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn__arrow { transition: none; }
  .btn:hover { transform: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line);
}
.hdr__bar { display: flex; align-items: center; gap: 1.5rem; min-block-size: 74px; }

.logo { display: block; flex: none; }
.logo img { block-size: 38px; inline-size: auto; display: block; }
@media (max-width: 560px) { .logo img { block-size: 30px; } }
.ftr__logo img { block-size: 42px; inline-size: auto; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; }
.nav__link {
  display: block; padding: .55rem .8rem;
  font-size: var(--fs-sm); font-weight: 500;
  border-radius: var(--radius);
  position: relative;
  transition: color .16s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; inset-inline: .8rem; bottom: .18rem;
  block-size: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .nav__link::after { transition: none; } }

.hdr__cta { margin-inline-start: .5rem; }
/* the quote button inside .nav is the mobile-menu copy — desktop uses .hdr__cta */
.nav > .btn { display: none; }
.hdr__burger {
  display: none; margin-inline-start: auto;
  inline-size: 46px; block-size: 46px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; padding: 0; place-items: center;
}
.hdr__burger span, .hdr__burger span::before, .hdr__burger span::after {
  content: ""; display: block; inline-size: 20px; block-size: 2px; background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.hdr__burger span { position: relative; margin-inline: auto; }
.hdr__burger span::before { position: absolute; top: -6px; }
.hdr__burger span::after { position: absolute; top: 6px; }
.hdr__burger[aria-expanded="true"] span { background: transparent; }
.hdr__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .hdr__burger { display: grid; }
  .nav {
    position: fixed; inset: 74px 0 auto; margin: 0;
    background: #fff; border-block-end: 1px solid var(--line);
    padding: 1rem var(--gut) 1.6rem;
    display: none;
    max-block-size: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .95rem .25rem; border-block-end: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--red); }
  .hdr__cta { display: none; }
  .nav > .btn { display: inline-flex; margin-block-start: 1.2rem; inline-size: 100%; justify-content: center; }
}

/* ==========================================================================
   HERO — the thesis: a part number is the whole promise of this business
   ========================================================================== */
.hero { position: relative; padding-block: clamp(1.4rem, 1rem + 1.6vw, 2.4rem) clamp(1.6rem, 1.2rem + 1.8vw, 2.75rem); overflow: hidden; }
.hero > * { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__title {
  font-size: var(--fs-mega); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.038em;
  /* a long word must shrink-to-fit rather than overflow and clip */
  overflow-wrap: break-word;
  max-inline-size: 100%;
}
.hero__title em { font-style: normal; color: var(--red); }
.hero__lede { margin-block-start: 1rem; font-size: clamp(1.02rem, .95rem + .55vw, 1.3rem); color: var(--ink-2); max-inline-size: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-block-start: 1.4rem; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .stats.stats--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; padding: clamp(1.2rem, .8rem + 1.4vw, 2rem); }
.stat__n { font-family: var(--display); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.stat__l { margin-block-start: .5rem; font-family: var(--body); font-size: var(--fs-sm); font-weight: 500; color: var(--muted); }

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
/* logo tiles have no text, so they should stay in a grid on phones
   rather than becoming a 20-screen vertical scroll */
.grid--brands { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .grid--brands { grid-template-columns: repeat(2, 1fr); } }

/* category card */
.cat {
  background: #fff; padding: clamp(1.3rem, 1rem + 1vw, 1.9rem);
  display: flex; flex-direction: column; gap: .8rem;
  position: relative; isolation: isolate;
  transition: background .2s var(--ease);
}
.cat::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; block-size: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.cat:hover { background: var(--surface-2); }
.cat:hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .cat, .cat::after { transition: none; } }
.cat__t { font-family: var(--display); font-size: 1.16rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; }
.cat__d { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.cat__list { list-style: none; padding: 0; margin-block-start: .3rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.cat__list li {
  font-family: var(--body); font-size: .8rem; font-weight: 500;
  color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line);
  padding: .26rem .62rem; border-radius: 100px;
}

/* value / why-us card */
.why { background: #fff; padding: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); }
.why__n { font-family: var(--body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .02em; color: var(--red); }
.why__t { font-family: var(--display); font-size: 1.24rem; font-weight: 800; text-transform: uppercase; margin-block: .7rem .55rem; letter-spacing: -.018em; }
.why__d { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   BRAND WALL
   ========================================================================== */
.brandwall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1100px) { .brandwall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px)  { .brandwall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px)  { .brandwall { grid-template-columns: repeat(2, 1fr); } }

.brand {
  background: #fff;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  padding: 1.1rem;
  position: relative;
  transition: background .2s var(--ease);
}
.brand:hover { background: var(--surface-2); }
.brand img {
  max-block-size: 54px; max-inline-size: 100%;
  object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter .28s var(--ease), opacity .28s var(--ease);
}
.brand:hover img { filter: grayscale(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .brand, .brand img { transition: none; } }
.brand__name {
  position: absolute; inset-inline: 0; bottom: .5rem;
  font-family: var(--body); font-size: .75rem; font-weight: 600;
  color: var(--muted); text-align: center;
  opacity: 0; transition: opacity .2s var(--ease);
}
.brand:hover .brand__name { opacity: 1; }

/* brands page: bigger tiles with detail */
.brandcard {
  background: #fff; padding: .9rem;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
}
/* no hover state: these tiles are not interactive, and a background shift only
   made the 1px grid separator read as an outline */
.brandcard__logo { display: grid; place-items: center; inline-size: 100%; }
.brandcard__logo img { max-block-size: 108px; max-inline-size: 92%; object-fit: contain; }
@media (max-width: 620px) {
  .brandcard { padding: .7rem; }
  .brandcard__logo img { max-block-size: 58px; }
}
.brandcard__meta { border-block-start: 1px solid var(--line-soft); padding-block-start: .9rem; }
.brandcard__n { font-family: var(--display); font-size: 1.04rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.brandcard__r { font-family: var(--body); font-size: var(--fs-sm); color: var(--muted); margin-block-start: .3rem; line-height: 1.45; }

/* ==========================================================================
   SPLIT / ABOUT
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split--narrow { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 880px) { .split--narrow { grid-template-columns: 1fr; } }

.prose p { margin-block-end: 1.05rem; color: var(--ink-2); }
.prose p:last-child { margin-block-end: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

/* timeline */
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .52em;
  inline-size: 8px; block-size: 8px; background: var(--red);
}
.ticks strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   TABLE (product spec listing)
   ========================================================================== */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.tbl { inline-size: 100%; border-collapse: collapse; min-inline-size: 620px; }
.tbl th, .tbl td { text-align: left; padding: .85rem 1.1rem; border-block-end: 1px solid var(--line-soft); }
.tbl th {
  background: var(--surface-2); border-block-end: 1px solid var(--line);
  font-family: var(--body); font-size: var(--fs-sm); font-weight: 700;
  color: var(--ink); position: sticky; top: 0;
}
.tbl td { font-size: var(--fs-sm); }
.tbl tbody tr:last-child td { border-block-end: 0; }
.tbl tbody tr:hover { background: var(--surface-2); }

/* ==========================================================================
   CAREERS
   ========================================================================== */
.job {
  background: #fff; border: 1px solid var(--line);
  padding: clamp(1.3rem, 1rem + 1vw, 1.85rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.job + .job { margin-block-start: -1px; }
.job:hover { border-color: var(--ink); box-shadow: 0 8px 24px -14px rgba(22,25,29,.2); z-index: 1; position: relative; }
@media (max-width: 700px) { .job { grid-template-columns: 1fr; } }
.job__t { font-family: var(--display); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; }
.job__m { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-block-start: .55rem;
          font-family: var(--body); font-size: var(--fs-sm); font-weight: 500; color: var(--muted); }
.job__d { margin-block-start: .8rem; font-size: var(--fs-sm); color: var(--muted); max-inline-size: 68ch; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field--2 { grid-template-columns: 1fr 1fr; gap: 1.15rem; display: grid; }
@media (max-width: 600px) { .field--2 { grid-template-columns: 1fr; } }
.label { font-family: var(--body); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.label .req { color: var(--red); }
.input, .select, .textarea {
  inline-size: 100%; padding: .8rem .95rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: var(--fs-body);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: #C6CCD4; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22,25,29,.09);
}
.input:user-invalid, .textarea:user-invalid { border-color: var(--red); }
.input:user-invalid:focus, .textarea:user-invalid:focus { box-shadow: 0 0 0 3px rgba(193,18,31,.14); }
.textarea { min-block-size: 160px; resize: vertical; }

/* phone: dialling code + number */
.phonegroup { display: grid; grid-template-columns: minmax(0, 16rem) 1fr; gap: .5rem; align-items: start; }
.phonegroup .select { padding-inline: .6rem; }
@media (max-width: 560px) { .phonegroup { grid-template-columns: 1fr; gap: .45rem; } }
.hint { font-size: var(--fs-xs); color: var(--muted); }
.formnote {
  border: 1px solid var(--line); background: var(--surface-2);
  padding: 1rem 1.15rem; font-size: var(--fs-sm); color: var(--muted);
  border-inline-start: 3px solid var(--red);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contactcard { background: #fff; border: 1px solid var(--line); padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); }
.contactcard + .contactcard { margin-block-start: 1rem; }
.contactcard__t { font-family: var(--display); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.012em; }
.dl { display: grid; gap: .7rem; margin-block-start: 1.1rem; }
.dl__r { display: grid; grid-template-columns: 6.5rem 1fr; gap: .9rem; font-size: var(--fs-sm); }
.dl__k { font-family: var(--body); font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.dl__v a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .dl__r { grid-template-columns: 1fr; gap: .15rem; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta {
  background: var(--ink); color: #fff;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; top: 0; right: -8%;
  inline-size: 46%; block-size: 100%;
  background: linear-gradient(115deg, transparent 0 42%, var(--red-bright) 42% 58%, transparent 58%);
  opacity: .22;
}
.cta__in { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
@media (max-width: 800px) { .cta__in { grid-template-columns: 1fr; } }
.cta__t { font-family: var(--display); font-size: var(--fs-h2); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; }
.cta__d { color: #C6CCD4; margin-block-start: .8rem; max-inline-size: 54ch; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { background: var(--ink); color: #9AA3AE; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 0; border-block-start: 1px solid #2A2F36; }
.ftr__grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 820px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr__logo { display: block; margin-block-end: 1rem; }
.ftr__d { font-size: var(--fs-sm); margin-block-start: 1rem; max-inline-size: 34ch; line-height: 1.6; }
.ftr__h { font-family: var(--body); font-size: var(--fs-sm); font-weight: 700;
          color: #fff; margin-block-end: 1rem; }
.ftr__list { list-style: none; padding: 0; display: grid; gap: .6rem; font-size: var(--fs-sm); }
.ftr__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr__bot {
  margin-block-start: 2.5rem; border-block-start: 1px solid #2A2F36;
  padding-block: 1.3rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-family: var(--body); font-size: var(--fs-sm);
}

/* ---------- placeholder marker (facts still to confirm) ---------- */
.tbc {
  background: #FFF4C2; color: #6B4E00;
  border-bottom: 1px dashed #B08800;
  padding: 0 .18rem; font-style: normal;
}

/* ---------- scroll reveal ----------
   Progressive enhancement: content is visible by default. Only once the inline
   head script confirms JS is alive does .js appear on <html> and the start state
   get applied — so a JS failure can never leave the page blank. */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- print ---------- */
@media print {
  .hdr, .cta, .ftr__bot, .hero::before { display: none; }
  body { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* stat number: keep the unit/plus in brand red */
.stat__n span { color: var(--red); }

/* text-only category card (no icon, no description) */
.cat { justify-content: flex-start; gap: .5rem; padding: 1.35rem 1.4rem; }
.cat__t { font-size: 1.05rem; }
/* one light line instead of ragged pills — uniform height, far less noise */
.cat__sub {
  font-size: var(--fs-sm); color: var(--muted); line-height: 1.5;
}

/* ==========================================================================
   STATEMENT — carries the About page without imagery
   ========================================================================== */
.statement {
  font-size: clamp(1.25rem, 1.05rem + 1.1vw, 2rem);
  line-height: 1.34;
  letter-spacing: -.014em;
  color: var(--ink);
  max-inline-size: 34ch;
  text-wrap: balance;
}
.statement strong { font-weight: 700; }
.statement--sub {
  font-size: clamp(1rem, .96rem + .3vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
  max-inline-size: 52ch;
  margin-block-start: 1.4rem;
  letter-spacing: 0;
}
@media (min-width: 900px) {
  .statement { max-inline-size: 46ch; }
}
