/* ==========================================================================
   BETA MEDIK (M) SDN. BHD. · site.css
   Identity "Equipment label": see docs/identity-brief.md.
   Browser target: Baseline widely available (Dec 2026). No build step.
   Raw colour, size and timing values live in :root only.
   ========================================================================== */

/* ---------- Fonts: self-hosted latin subsets ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/archivo-semiexpanded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  /* Surfaces */
  --bg: #F7F4F8;                 /* Ward Mist */
  --bg-grouped: #EFEAF1;
  --bg-elevated: #FFFFFF;        /* Label White */
  --image-well: #FFFFFF;

  /* Labels */
  --text: #221A29;               /* Plum Ink */
  --text-2: #4E4556;             /* Lilac Steel */
  --text-3: #5F5567;
  --separator: rgb(34 26 41 / .14);
  --separator-strong: rgb(34 26 41 / .3);
  --fill: rgb(34 26 41 / .05);
  --fill-strong: rgb(34 26 41 / .09);
  --control-edge: #857A8C;

  /* Accent (logo purple) with its on-colour */
  --accent: #904198;             /* Beta Orchid */
  --accent-strong: #7A3382;
  --on-accent: #FFFFFF;
  --accent-tint: rgb(144 65 152 / .08);

  /* Signature plate */
  --plate-edge: #221A29;
  --plate-head: #221A29;
  --on-plate-head: #FFFFFF;
  --rivet: rgb(34 26 41 / .2);
  --rivet-on-head: rgb(255 255 255 / .34);

  /* Dark band (footer) */
  --band: #221A29;
  --on-band: #F4EEF6;
  --on-band-2: #CFC4D4;
  --band-accent: #DDB0E4;
  --band-separator: rgb(244 238 246 / .16);

  /* Elevation */
  --shadow-1: 0 1px 2px rgb(34 26 41 / .06), 0 1px 1px rgb(34 26 41 / .04);
  --shadow-2: 0 10px 24px rgb(34 26 41 / .10), 0 2px 4px rgb(34 26 41 / .06);
  --header-material: rgb(247 244 248 / .86);

  /* Type */
  --font-display: "Archivo", Verdana, "Segoe UI", system-ui, sans-serif;
  --font-text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.2rem + 3.3vw, 4rem);
  --fs-large-title: clamp(2.125rem, 1.35rem + 2.6vw, 3.25rem);
  --fs-title-1: clamp(1.75rem, 1.35rem + 1.3vw, 2.25rem);
  --fs-title-2: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  --fs-title-3: 1.25rem;
  --fs-lead: clamp(1.125rem, 1.03rem + .35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-callout: 1rem;
  --fs-subhead: .9375rem;
  --fs-footnote: .8125rem;

  /* Space: 4px base */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --gutter: clamp(1rem, 2.5vw + .4rem, 2rem);
  --wrap: 72rem;
  --measure: 65ch;
  --section: clamp(3.5rem, 5vw + 2rem, 6rem);
  --anchor-offset: var(--s-5);

  /* Shape: sharp */
  --r-sm: 2px; --r-md: 4px; --r-lg: 6px;
  --plate-border: 1.5px;
  --target: 2.75rem;             /* 44px minimum hit target */

  /* Motion: crisp */
  --dur-1: 100ms; --dur-2: 160ms; --dur-3: 240ms; --dur-4: 320ms;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-move: cubic-bezier(.2, 0, 0, 1);

  --focus-color: var(--accent);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1420;               /* Aubergine Night */
    --bg-grouped: #140F18;
    --bg-elevated: #261D2C;
    --image-well: #E9E3EC;       /* softened white so cut-out photos don't glow */
    --text: #F4EEF6;
    --text-2: #CFC4D4;
    --text-3: #ADA1B3;
    --separator: rgb(244 238 246 / .16);
    --separator-strong: rgb(244 238 246 / .32);
    --fill: rgb(244 238 246 / .06);
    --fill-strong: rgb(244 238 246 / .1);
    --control-edge: #8E8294;
    --accent: #DDB0E4;
    --accent-strong: #EBCBF0;
    --on-accent: #2A1030;
    --accent-tint: rgb(221 176 228 / .1);
    --plate-edge: #BDB0C3;
    --plate-head: #EDE5F0;
    --on-plate-head: #221A29;
    --rivet: rgb(244 238 246 / .26);
    --rivet-on-head: rgb(34 26 41 / .3);
    --band: #120D15;
    --shadow-1: 0 1px 2px rgb(0 0 0 / .3);
    --shadow-2: 0 12px 28px rgb(0 0 0 / .38), 0 2px 4px rgb(0 0 0 / .26);
    --header-material: rgb(27 20 32 / .84);
  }
}

@media (prefers-contrast: more) {
  :root {
    --text-2: var(--text);
    --text-3: var(--text);
    --separator: var(--separator-strong);
    --header-material: var(--bg);
  }
}

@media (min-width: 62.5em) {
  :root { --anchor-offset: 6rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.6 var(--font-text);
  font-kerning: normal;
}

main { flex: 1 0 auto; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: break-word;   /* only breaks a word that can't fit, e.g. at 200% text on 320px */
}

p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
p { text-wrap: pretty; }
address { font-style: normal; }

a {
  color: var(--accent);
  overflow-wrap: anywhere;       /* long emails and domains wrap on narrow screens */
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  transition: color var(--dur-1) ease, text-decoration-color var(--dur-1) ease;
}

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
}

[id] { scroll-margin-top: var(--anchor-offset); }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* Single-column default for every grid, so long words at large text sizes wrap
   instead of widening the track. Breakpoints below override it. */
.split, .contact-grid, .hero__grid, .footer__grid, .brand-row, .brand-index,
.product-lines, .faq, .catalogue, .contact-list { grid-template-columns: minmax(0, 1fr); }
.button { max-width: 100%; }

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

.skip-link {
  position: absolute;
  inset-inline-start: var(--gutter);
  top: var(--s-2);
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--r-md);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.num { font-variant-numeric: tabular-nums; }

/* ---------- Icons (one sprite, one stroke weight) ---------- */
.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: var(--target);
  padding: var(--s-2) var(--s-5);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font: 600 var(--fs-callout)/1.2 var(--font-text);
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  cursor: pointer;
  transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease, transform var(--dur-1) var(--ease-out);
}
.button:active { transform: scale(.97); }

.button--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.button--secondary {
  background: transparent;
  border-color: var(--control-edge);
  color: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
  .button--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
  .button--secondary:hover { background: var(--fill); border-color: var(--text-2); color: var(--text); }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}

/* Text link with a trailing icon (used only for external sites) */
.link-ext {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  min-height: var(--target);
}
.link-ext .icon { width: 1rem; height: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--separator);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "brand" "nav";
  align-items: center;
  column-gap: var(--s-5);
  padding-block: var(--s-3) 0;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: var(--target);
  justify-self: start;
  color: var(--text);
  text-decoration: none;
}
.brand__logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-sm);
}
.brand, .brand__text { min-width: 0; }
.brand__text { display: grid; line-height: 1.2; overflow-wrap: anywhere; }
.brand__name {
  font: 700 var(--fs-subhead)/1.2 var(--font-display);
  letter-spacing: .01em;
}
.brand__reg {
  font-size: var(--fs-footnote);
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.site-nav { grid-area: nav; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 calc(-1 * var(--s-3));
  padding: 0;
}
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--target);
  padding-inline: var(--s-3);
  color: var(--text-2);
  font-weight: 600;
  font-size: var(--fs-callout);
  text-decoration: none;
  border-radius: var(--r-md);
}
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: var(--s-3);
  bottom: .4rem;
  height: 2px;
  background: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--text); background: var(--fill); }
}

.site-header__cta { grid-area: cta; display: none; }

@media (min-width: 37.5em) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand cta" "nav nav";
  }
  .site-header__cta { display: inline-flex; }
}

@media (min-width: 62.5em) {
  .site-header {
    position: sticky;
    top: 0;
    background: var(--bg);
    background: var(--header-material);
  }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header {
      -webkit-backdrop-filter: blur(14px) saturate(1.4);
      backdrop-filter: blur(14px) saturate(1.4);
    }
  }
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav cta";
    padding-block: var(--s-3);
  }
  .site-nav ul { justify-content: flex-end; margin: 0; gap: var(--s-1); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-subhead);
  color: var(--text-2);
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-inline: var(--s-2);
  color: var(--text-3);
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  color: var(--text-2);
}
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Type helpers ---------- */
.subtitle {
  margin-top: var(--s-2);
  font: 600 var(--fs-title-2)/1.25 var(--font-display);
  color: var(--text-2);
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text);
}
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose > h3 { margin-top: var(--s-6); }

.section-title {
  font-size: var(--fs-title-1);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.note {
  padding-top: var(--s-4);
  border-top: 1px solid var(--separator);
  font-size: var(--fs-subhead);
  line-height: 1.5;
  color: var(--text-2);
}
.note-ref {
  font-weight: 700;
  text-decoration: none;
  padding-inline: .1em;
}

/* ---------- Sections and layout ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .66); }
.page-head + .section--tight { padding-top: 0; }
.section--grouped { background: var(--bg-grouped); }

.split {
  display: grid;
  gap: var(--s-5) var(--s-8);
}
@media (min-width: 52.5em) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split__aside { position: relative; }
}

.section-head { max-width: var(--measure); margin-bottom: var(--s-7); }
.section-head > * + * { margin-top: var(--s-4); }

/* Who We Are: heading and photo in the narrow column, text in the wide one */
.who__figure { max-width: 30rem; }
@media (min-width: 52.5em) {
  .who {
    grid-template-rows: auto 1fr;
    grid-template-areas: "head prose" "figure prose";
  }
  .who__head { grid-area: head; }
  .who__prose { grid-area: prose; }
  .who__figure { grid-area: figure; align-self: start; }
}

.services__head > * + * { margin-top: var(--s-3); }

@media (min-width: 52.5em) {
  .split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.facts__head > * + * { margin-top: var(--s-4); }
.facts__head p { color: var(--text-2); }
.facts__head .note { margin-top: var(--s-6); }
dfn { font-style: normal; font-weight: 600; color: var(--text); }

.contact__intro { margin-top: var(--s-4); }
.contact__actions { margin-top: var(--s-5); }
.contact__actions--page { margin-bottom: var(--s-6); }
.plate__value .copy-btn { margin-inline-start: auto; }

/* ---------- Hero ---------- */
.hero {
  overflow: hidden;
  overflow: clip;
  padding-block: var(--s-7) var(--s-6);
}
.hero__grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
.hero__title {
  font-size: var(--fs-display);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.02em;
}
.hero__welcome {
  display: block;
  margin-bottom: var(--s-3);
  font: 400 var(--fs-lead)/1.3 var(--font-text);
  letter-spacing: 0;
  color: var(--text-2);
}
.hero__tagline {
  margin-top: var(--s-5);
  font: 600 var(--fs-title-2)/1.25 var(--font-display);
  color: var(--text);
}
.hero__lead {
  margin-top: var(--s-4);
  max-width: 34rem;
  color: var(--text-2);
}
.hero__copy .actions { margin-top: var(--s-6); }
.hero__status {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  max-width: 34rem;
  border-top: 1px solid var(--separator);
  font-size: var(--fs-subhead);
  line-height: 1.5;
  color: var(--text-2);
}

.hero__media { position: relative; }
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--bg-grouped);
}
.hero__credit {
  margin-top: var(--s-2);
  font-size: var(--fs-footnote);
  color: var(--text-2);
  text-align: end;
}

.plate.plate--hero {
  position: relative;
  margin: calc(-1 * var(--s-8)) var(--s-2) 0;
}

@media (min-width: 37.5em) {
  .plate.plate--hero { width: 24rem; margin-inline-end: auto; }
}

@media (min-width: 56.25em) {
  .hero__media::before {
    /* offset backdrop that bleeds to the right edge */
    content: "";
    position: absolute;
    z-index: -1;
    inset: var(--s-6) -100vw calc(-1 * var(--s-6)) var(--s-7);
    background: var(--bg-grouped);
  }
  .hero { padding-block: var(--s-8) calc(var(--s-7) + var(--s-6)); }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-8); }
  .hero__credit { margin-top: var(--s-2); }
  .plate.plate--hero {
    position: absolute;
    left: calc(-1 * var(--s-7));
    bottom: calc(-1 * var(--s-7));
    width: min(23rem, 82%);
    margin: 0;
  }
}

/* ---------- Signature: equipment rating plate ---------- */
.plate {
  --rivet-dot: radial-gradient(circle, var(--rivet) 2.25px, transparent 2.85px);
  position: relative;
  background:
    var(--rivet-dot) left 6px bottom 6px / 8px 8px no-repeat,
    var(--rivet-dot) right 6px bottom 6px / 8px 8px no-repeat,
    var(--bg-elevated);
  color: var(--text);
  border: var(--plate-border) solid var(--plate-edge);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  font-variant-numeric: tabular-nums;
}
.plate__head {
  --rivet-dot: radial-gradient(circle, var(--rivet-on-head) 2.25px, transparent 2.85px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 var(--s-4);
  padding: var(--s-2) var(--s-5);
  background:
    var(--rivet-dot) left 6px center / 8px 8px no-repeat,
    var(--rivet-dot) right 6px center / 8px 8px no-repeat,
    var(--plate-head);
  color: var(--on-plate-head);
  border-radius: calc(var(--r-md) - var(--plate-border)) calc(var(--r-md) - var(--plate-border)) 0 0;
  font: 700 var(--fs-footnote)/1.4 var(--font-display);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.plate__head h2,
.plate__head h3,
.plate__head p { font: inherit; letter-spacing: inherit; color: inherit; margin: 0; }
.plate__est { font-weight: 600; opacity: .85; }

.plate__rows { padding: var(--s-1) var(--s-5) var(--s-3); }
.plate__row {
  display: grid;
  grid-template-columns: minmax(5.25rem, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: var(--s-1) var(--s-4);
  padding-block: var(--s-2);
  border-top: 1px solid var(--separator);
}
.plate__row:first-child { border-top: 0; }
.plate__row dt {
  font-size: var(--fs-footnote);
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text-2);
}
.plate__row dd {
  font-size: var(--fs-callout);
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;   /* only splits a number when it can't fit, e.g. 200% text on 320px */
}
@media (max-width: 25em) {
  .plate__head, .plate__rows, .plate__foot { padding-inline: var(--s-4); }
  .plate__row { grid-template-columns: minmax(4.5rem, auto) minmax(0, 1fr); gap: var(--s-1) var(--s-3); }
}
.plate__row dd small {
  font-size: var(--fs-subhead);
  font-weight: 400;
  color: var(--text-2);
}
.plate__foot {
  padding: var(--s-3) var(--s-5) var(--s-4);
  border-top: 1px dashed var(--separator-strong);
  font-size: var(--fs-footnote);
  line-height: 1.45;
  color: var(--text-2);
}

/* Full plate (About, Contact): wider key column, roomier rows */
.plate--full .plate__head { padding-block: var(--s-3); font-size: var(--fs-subhead); }
.plate--full .plate__rows { padding-inline: var(--s-5); }
.plate--full .plate__row { grid-template-columns: minmax(9rem, auto) minmax(0, 1fr); padding-block: var(--s-3); }
.plate--full .plate__row dd { font-size: var(--fs-body); }
@media (max-width: 30em) {
  .plate--full .plate__row { grid-template-columns: minmax(0, 1fr); }
}
.plate__value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) var(--s-3);
}

/* Copy buttons, inserted by site.js only where the Clipboard API exists */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  min-height: 2.25rem;
  min-width: var(--target);
  padding: 0 var(--s-3);
  border: 1px solid var(--separator-strong);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--text-2);
  font: 600 var(--fs-footnote)/1 var(--font-text);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-1) ease, color var(--dur-1) ease, transform var(--dur-1) var(--ease-out);
}
.copy-btn::before {
  /* pads the hit area to 44px without growing the row */
  content: "";
  position: absolute;
  inset: -4px 0;
}
.copy-btn { position: relative; }
.copy-btn .icon { width: 1rem; height: 1rem; }
.copy-btn:active { transform: scale(.96); }
.copy-btn[data-state="done"] { color: var(--text); border-color: var(--text-2); }
@media (hover: hover) and (pointer: fine) {
  .copy-btn:hover { background: var(--fill); color: var(--text); }
}

/* ---------- Catalogue list (Services We Offer) ---------- */
.catalogue {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--separator);
}
@media (min-width: 40em) {
  .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); }
}
.catalogue__item {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 5rem;
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--separator);
  font: 600 var(--fs-title-3)/1.3 var(--font-display);
  overflow-wrap: anywhere;
}
.catalogue__icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

/* ---------- Brand index (home) ---------- */
.brand-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-7) var(--s-6);
}
@media (min-width: 56.25em) {
  .brand-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.brand-index__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 2px solid var(--plate-edge);
}
.brand-index__name {
  font-size: var(--fs-title-1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.brand-index__item p { color: var(--text-2); }
.brand-index__links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s-5);
}
.brand-index__links a { display: inline-flex; align-items: center; min-height: var(--target); }

/* ---------- Brand rows (Our Products) ---------- */
.brand-row {
  display: grid;
  gap: var(--s-5);
  padding-block: var(--s-7);
  border-top: 1px solid var(--separator);
}
.brand-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 52.5em) {
  .brand-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
}
.brand-row__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--image-well);
  border: 1px solid var(--separator);
  border-radius: var(--r-md);
}
.brand-row__media img { width: 100%; height: 100%; object-fit: cover; }
.brand-row__media img.is-cutout { object-fit: contain; mix-blend-mode: multiply; }
.brand-row__body > * + * { margin-top: var(--s-4); }
.brand-row__name {
  font-size: var(--fs-title-1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.brand-row__body .actions { margin-top: var(--s-5); }

/* ---------- On-page index ---------- */
.page-index {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
  margin: var(--s-6) 0 0;
  padding: 0;
}
.page-index a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding-inline: var(--s-4);
  border: 1px solid var(--separator-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-weight: 600;
  font-size: var(--fs-subhead);
  text-decoration: none;
  transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease;
}
@media (hover: hover) and (pointer: fine) {
  .page-index a:hover { background: var(--fill); border-color: var(--text-2); color: var(--text); }
}

/* ---------- Product lines (crutches, neck braces) ---------- */
.product-lines {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 45em) {
  .product-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.product-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4) var(--s-5);
  align-items: start;
  padding: var(--s-6) var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  border-radius: var(--r-md);
}
.product-line__art {
  width: 5.5rem;
  height: 5.5rem;
  color: var(--accent);
}
.product-line__body > * + * { margin-top: var(--s-2); }
.product-line__name { font-size: var(--fs-title-2); font-weight: 700; line-height: 1.2; }
.product-line__tag { color: var(--text-2); }
.product-line .actions { margin-top: var(--s-4); }
@media (max-width: 24em) {
  .product-line { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Page head (inner pages) ---------- */
.page-head { padding-block: var(--s-4) var(--s-7); }
.page-head__title {
  margin-top: var(--s-5);
  font-size: var(--fs-large-title);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.page-head .lead { margin-top: var(--s-5); max-width: var(--measure); }

/* ---------- Media figure ---------- */
.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--bg-grouped);
}
.figure figcaption {
  margin-top: var(--s-2);
  font-size: var(--fs-footnote);
  line-height: 1.45;
  color: var(--text-2);
}

/* ---------- Contact ---------- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--separator);
}
.contact-list > li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: var(--s-1) var(--s-4);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--separator);
}
.contact-list .icon { margin-top: .2rem; color: var(--text-2); }
.contact-list h3 {
  font: 600 var(--fs-footnote)/1.4 var(--font-text);
  letter-spacing: .04em;
  color: var(--text-2);
}
.contact-list__value { font-size: var(--fs-body); }
.contact-list__value a { font-weight: 600; }
.contact-list .tel { display: block; min-height: 2rem; }
.contact-list .directions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-5);
  margin-top: var(--s-1);
}
.contact-list .directions a { display: inline-flex; align-items: center; min-height: var(--target); }

.contact-grid {
  display: grid;
  gap: var(--s-7);
}
@media (min-width: 52.5em) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--separator); max-width: 48rem; }
.faq__item { padding-block: var(--s-5); border-bottom: 1px solid var(--separator); }
.faq__q { font-size: var(--fs-title-3); font-weight: 600; line-height: 1.3; }
.faq__a { margin-top: var(--s-2); color: var(--text-2); max-width: var(--measure); }

/* ---------- Lists with markers ---------- */
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}
.ticks li {
  position: relative;
  padding-inline-start: var(--s-5);
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .62em;
  width: .5rem;
  height: .5rem;
  border: 1.5px solid var(--accent);
  border-radius: 1px;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding-block: var(--s-8);
  background: var(--bg);
  border-top: 1px solid var(--separator);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5) var(--s-7);
}
.cta-band__inner > div { max-width: 40rem; min-width: 0; }
.cta-band__inner p { margin-top: var(--s-2); color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer {
  --focus-color: var(--band-accent);
  background: var(--band);
  color: var(--on-band);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--fs-subhead);
}
.site-footer a { color: var(--on-band); }
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: var(--band-accent); }
}
.footer__grid {
  display: grid;
  gap: var(--s-7);
}
@media (min-width: 52.5em) {
  .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 5fr); gap: var(--s-7); }
}
.footer__brand .brand { color: var(--on-band); }
.footer__brand .brand__reg { color: var(--on-band-2); }
.footer__brand p,
.footer__brand address { margin-top: var(--s-4); color: var(--on-band-2); line-height: 1.55; }
.footer__brand .tagline {
  font: 600 var(--fs-title-3)/1.3 var(--font-display);
  color: var(--on-band);
}
.footer__heading {
  font: 600 var(--fs-footnote)/1.4 var(--font-text);
  letter-spacing: .06em;
  color: var(--on-band-2);
  margin-bottom: var(--s-2);
}
.footer__nav ul { list-style: none; margin: 0; padding: 0; }
.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  text-decoration: none;
  font-weight: 600;
}
.footer__contact a { display: inline-flex; align-items: center; min-height: 2rem; }
.footer__base {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--band-separator);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2) var(--s-5);
  color: var(--on-band-2);
  font-size: var(--fs-footnote);
}
.plate--footer {
  --plate-edge: var(--on-band-2);   /* keeps the plate's outline visible on the dark band */
  align-self: start;
  box-shadow: none;
}
.plate--footer .plate__row dd { font-size: var(--fs-subhead); }

/* ---------- 404 ---------- */
.notfound { padding-block: var(--section); }
.notfound__lead { margin-top: var(--s-5); max-width: var(--measure); }
.footer__base--solo { margin-top: 0; padding-top: 0; border-top: 0; }
.footer__base--solo p:last-child { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.footer__base--solo a { display: inline-flex; align-items: center; min-height: var(--target); }
.notfound .plate { max-width: 32rem; margin-top: var(--s-7); }
.notfound .plate__row a { font-weight: 600; }

/* ---------- Accessibility fallbacks ---------- */
@media (forced-colors: active) {
  .plate__head { border-bottom: 1px solid CanvasText; }
  .button, .copy-btn, .page-index a { border: 1px solid ButtonText; }
  .site-nav a[aria-current="page"]::after { background: CanvasText; }
  .catalogue__icon, .product-line__art { color: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print: procurement officers file supplier details ---------- */
@media print {
  :root { --bg: #fff; --bg-grouped: #fff; --band: #fff; --on-band: #000; --on-band-2: #333; }
  .site-header { position: static; border: 0; }
  .site-nav, .site-header__cta, .skip-link, .actions, .hero__media::before, .copy-btn, .page-index, .cta-band { display: none !important; }
  .plate, .plate--hero { position: static; box-shadow: none; animation: none; break-inside: avoid; }
  .site-footer { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
