/* ==========================================================================
   Ampele Electricals
   Palette and devices are taken from the 2025 Product & Pricing Guide:
   petrol covers, the sand bar, the red logo block hanging from the top edge,
   and the grey pill used for every product group heading.
   ========================================================================== */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --petrol: #04485d;
  --petrol-deep: #03323f;
  --petrol-ink: #062a35;
  --petrol-soft: #0b5b74;
  --sand: #d7b56d;
  --sand-deep: #9a7628;
  --sand-pale: #f6efdf;
  --red: #e31e25;
  --red-deep: #b9151b;
  --paper: #ffffff;
  --mist: #eef3f4;
  --fog: #d6e0e3;
  --pill: #e2e5e5;
  --ink: #0f272e;
  --slate: #4a6067;

  --body: "Barlow", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Barlow Semi Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --radius: 4px;
  --mast: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mast) + 24px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
small { font-size: 0.82em; }

:focus-visible { outline: 3px solid var(--sand-deep); outline-offset: 2px; border-radius: 2px; }
.hero :focus-visible, .lab :focus-visible, .band :focus-visible, .footer :focus-visible, .topbar :focus-visible, .pagehead--petrol :focus-visible { outline-color: var(--sand); }

.visually-hidden { 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; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--petrol); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }
.muted { color: var(--slate); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 22px;
  font-family: var(--display); font-weight: 600; font-size: 1.0625rem; line-height: 1.15; letter-spacing: 0.01em;
  text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 54px; padding-inline: 28px; font-size: 1.1875rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); color: #fff; }
.btn--petrol { background: var(--petrol); color: #fff; }
.btn--petrol:hover { background: var(--petrol-deep); color: #fff; }
.btn--sand { background: var(--sand); color: var(--petrol-ink); }
.btn--sand:hover { background: #e6c98a; color: var(--petrol-ink); }
.btn--line { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn--line:hover { background: var(--petrol); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--petrol); border-color: #fff; }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--petrol); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; font-size: 0.9375rem; }
.linkbtn:hover { color: var(--red-deep); }

/* -------------------------------------------------------- small components */
.isi {
  display: inline-block; margin-left: 8px; padding: 1px 6px 0;
  font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; line-height: 1.5;
  color: var(--ink); border: 1.5px solid var(--ink); border-radius: 2px; vertical-align: 0.14em;
}
.flag { display: inline-block; padding: 2px 9px 1px; font-family: var(--display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.04em; border-radius: 999px; }
.flag--new { background: var(--red); color: #fff; }
.pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px 6px;
  background: var(--pill); border-radius: 999px; padding: 9px 24px 8px;
  font-size: 1.3125rem; font-weight: 600; letter-spacing: 0;
}
.pill small { font-weight: 500; font-size: 0.85em; color: var(--slate); }
.pill .flag { margin-left: 8px; }
.pricenote { font-size: 0.9375rem; color: var(--slate); max-width: 68ch; margin-top: 28px; }
.ticks li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--fog); }
.ticks li:last-child { border-bottom: 1px solid var(--fog); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 12px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

/* ------------------------------------------------------------------ topbar */
.topbar { background: var(--petrol-deep); color: #dbe7ea; font-size: 0.875rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__iso { margin: 0 0 0 150px; letter-spacing: 0.02em; }
.topbar__links { display: flex; gap: 26px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; padding: 8px 0; }
.topbar__links a:hover { color: var(--sand); }

/* ---------------------------------------------------------------- masthead */
.masthead { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--fog); }
.masthead__in { position: relative; display: flex; align-items: center; min-height: var(--mast); gap: 20px; }
/* the red block hangs from the top edge of the page, as it does in the printed guide */
.logo { position: absolute; left: var(--gutter); top: -38px; z-index: 3; display: block; width: 124px; box-shadow: 0 6px 18px -8px rgba(3,50,63,.55); transition: width .18s ease, top .18s ease; }
.logo img { width: 100%; }
.masthead.is-stuck .logo { top: 0; width: 84px; }
.nav { margin-left: 150px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; height: var(--mast); padding: 0 14px;
  font-family: var(--display); font-weight: 600; font-size: 1.125rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-decoration: none; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav__link:hover { color: var(--petrol); }
.nav__link:hover::after, .nav__link.is-active::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link .icon { transition: transform .18s ease; }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__extra { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--fog); border-bottom: 4px solid var(--sand); box-shadow: 0 24px 40px -24px rgba(3,50,63,.35); }
.mega[hidden] { display: none; }
.mega__in { display: grid; grid-template-columns: 1.15fr 1.15fr .9fr 1fr; gap: 36px; padding: 30px var(--gutter) 34px calc(var(--gutter) + 150px); }
.mega__title { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--petrol); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--fog); }
.mega__col a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 1rem; }
.mega__col a:hover { color: var(--red-deep); text-decoration: underline; }
.mega__col--aside { background: var(--mist); margin: -8px 0; padding: 18px 20px; border-radius: var(--radius); align-self: start; }

.tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.search { display: flex; align-items: center; border: 1px solid var(--fog); border-radius: 999px; background: var(--mist); padding-left: 16px; height: 42px; width: clamp(170px, 17vw, 240px); }
.search:focus-within { border-color: var(--petrol); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 0.9688rem; height: 100%; }
.search input::placeholder { color: var(--slate); }
.search button { border: 0; background: none; width: 42px; height: 40px; display: grid; place-items: center; cursor: pointer; color: var(--petrol); border-radius: 999px; }
.tools__enquiry { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.tools__enquiry b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.8125rem; }
.tools__enquiry b[hidden] { display: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--fog); border-radius: var(--radius); background: #fff; cursor: pointer; place-items: center; color: var(--petrol); }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; background: var(--petrol); color: #fff; overflow: hidden; border-bottom: 10px solid var(--sand); }
.hero__art { position: absolute; inset: 0; pointer-events: none; }
.hero__lineart { position: absolute; left: 47%; top: 52%; width: auto; height: 128%; max-width: none; transform: translate(-50%, -50%); opacity: .15; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 16px; min-height: min(76vh, 700px); padding-block: 84px 56px; }
.hero__copy { position: relative; z-index: 2; }
.hero__tag { display: inline-flex; align-items: baseline; gap: 10px; margin: 0 0 22px; font-family: var(--display); font-weight: 500; font-size: 1.1875rem; letter-spacing: 0.02em; color: var(--sand); }
.hero__tag::before { content: ""; width: 34px; height: 3px; background: var(--sand); transform: translateY(-5px); }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.25rem); line-height: 1.0; letter-spacing: -0.012em; max-width: 15ch; }
.hero__lede { margin: 26px 0 0; max-width: 34em; font-size: 1.1875rem; line-height: 1.55; color: #e3eef1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.hero__plate { margin: 0; position: relative; }
/* a glow matched to the photograph's own backdrop, so its edge melts into the page */
.hero__plate::before { content: ""; position: absolute; inset: -27%; background: radial-gradient(closest-side, #0b7090 0%, #086383 52%, #075a75 66%, rgba(4,72,93,0) 100%); pointer-events: none; }
.hero__plate img { position: relative; width: 116%; max-width: none; margin: -7% -8%; -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 99%); mask-image: radial-gradient(closest-side, #000 80%, transparent 99%); }
.hero__plate figcaption { position: absolute; right: 0; bottom: -14px; font-size: 0.9375rem; }
.hero__plate figcaption a { color: var(--sand); }
.hero__plate figcaption a:hover { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .hero__plate img { animation: settle 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .hero__lineart { animation: fade 1.6s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------------------------- facts */
.facts { background: var(--paper); border-bottom: 1px solid var(--fog); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__list li { padding: 26px 28px 24px 0; }
.facts__list li + li { padding-left: 28px; border-left: 1px solid var(--fog); }
.facts__list b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.625rem; line-height: 1.1; color: var(--petrol); }
.facts__list span { display: block; margin-top: 4px; font-size: 0.9688rem; line-height: 1.4; color: var(--slate); }

/* ---------------------------------------------------------------- sections */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--mist { background: var(--mist); }
.section__head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.section__head p { margin: 14px 0 0; font-size: 1.125rem; color: var(--slate); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__more { margin: 32px 0 0; }

/* ------------------------------------------------------------ series cards */
.series { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.series__card { display: flex; flex-direction: column; border: 1px solid var(--fog); border-radius: 6px; overflow: hidden; background: var(--paper); }
.series__photo { aspect-ratio: 16 / 10; overflow: hidden; }
.series__card--charcoal .series__photo { background: #454444; }
.series__card--sky .series__photo { background: #6599c1; }
.series__photo img { width: 100%; height: 100%; object-fit: cover; }
.series__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.series__logo { margin: 0 0 14px; }
.series__logo img { height: 46px; width: auto; }
.series__intro { color: var(--slate); margin-bottom: 18px; }
.series__links { columns: 2; column-gap: 28px; margin-top: auto; }
.series__links li { break-inside: avoid; border-top: 1px solid var(--fog); }
.series__links a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; }
.series__links a:hover { color: var(--red-deep); text-decoration: underline; }
.series--compact .series__body p:last-child { margin: auto 0 0; }

/* ------------------------------------------------------------ plate trio */
.plates { padding-top: 0; }
.plates__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plate { display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; text-decoration: none; color: #fff; }
.plate:hover { color: #fff; }
.plate__photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.plate__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.plate:hover .plate__photo img { transform: scale(1.035); }
.plate__body { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 4px 16px; align-items: start; padding: 22px 24px 24px; flex: 1; }
.plate__name { font-family: var(--display); font-weight: 600; font-size: 1.875rem; line-height: 1; }
.plate__strap { grid-column: 1; font-size: 0.9688rem; opacity: .86; }
.plate__from { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-family: var(--display); font-weight: 600; font-size: 1.125rem; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: 5px 14px 4px; white-space: nowrap; }
.plate--petrol { background: var(--petrol-deep); }
.plate--petrol .plate__photo { background: #04485d; }
.plate--umber { background: #3d322d; }
.plate--umber .plate__photo { background: #64554f; }
.plate--sage { background: #46553b; }
.plate--sage .plate__photo { background: #7a8b6b; }

/* -------------------------------------------------------- category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--fog); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.tile:hover { border-color: var(--petrol); color: var(--ink); }
.tile__photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; --pad: 20px; }
.tile__photo img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.tile__body { display: flex; flex-direction: column; padding: 14px 18px 18px; border-top: 1px solid var(--fog); flex: 1; }
.tile__series { font-size: 0.8438rem; color: var(--sand-deep); font-weight: 600; }
.tile__name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; margin: 2px 0 6px; }
.tile:hover .tile__name { color: var(--petrol); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.16em; }
.tile__count { margin-top: auto; font-size: 0.9063rem; color: var(--slate); }

/* ---------------------------------------------------------------- anatomy */
.anatomy__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.anatomy__copy h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.anatomy__copy > p { margin: 14px 0 22px; font-size: 1.125rem; color: var(--slate); }
.anatomy__figure { margin: 0; }
.figure-card { margin: 0; padding: clamp(16px, 3vw, 36px); background: #fff; border: 1px solid var(--fog); border-radius: 6px; }

/* -------------------------------------------------------------------- lab */
.lab { background: var(--petrol); color: #fff; padding-block: var(--section); position: relative; }
/* the white and sand double rule from the laboratory page of the guide */
.lab::before, .lab::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; border-top: 2px solid #fff; border-bottom: 2px solid var(--sand); }
.lab::before { top: 26px; }
.lab::after { bottom: 26px; }
.lab__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lab h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.lab__copy p { margin: 18px 0 0; font-size: 1.125rem; color: #e3eef1; max-width: 32em; }
.lab__copy p + p { margin-top: 28px; }
.lab__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.lab__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; outline: 2px solid rgba(255,255,255,.9); outline-offset: 5px; }
.lab__photos li { padding: 7px; }
.lab--page .lab__head { max-width: 44rem; margin-bottom: 40px; }
.lab--page .lab__head p { margin: 14px 0 0; font-size: 1.125rem; color: #e3eef1; }
.lab__photos--captioned figure { margin: 0; text-align: center; }
.lab__photos--captioned figcaption { margin-top: 18px; font-family: var(--display); font-weight: 500; font-size: 1.0625rem; color: var(--sand); }

/* ------------------------------------------------------------ dealer band */
.band { position: relative; background: #0b1c24; color: #fff; overflow: hidden; }
.band__photo { position: absolute; inset: 0; }
.band__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.band__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,20,27,.94) 0%, rgba(4,20,27,.82) 38%, rgba(4,20,27,.18) 78%, rgba(4,20,27,.05) 100%); }
.band__in { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.band h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 14ch; }
.band p { max-width: 30em; margin: 16px 0 0; font-size: 1.125rem; color: #e6eef0; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px !important; }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--petrol-deep); color: #cfdde1; font-size: 0.9688rem; }
.footer__bar { height: 10px; background: var(--sand); }
.footer__in { display: grid; grid-template-columns: 150px repeat(4, minmax(0, 1fr)); gap: 36px; padding-block: 56px 48px; }
.footer__logo { display: block; width: 104px; }
.footer__tag { margin: 18px 0 2px; font-family: var(--display); font-weight: 500; font-size: 1.125rem; color: var(--sand); }
.footer__iso { margin: 0; font-size: 0.875rem; }
.footer h2 { font-size: 1.0625rem; color: #fff; margin-bottom: 12px; letter-spacing: 0.01em; }
.footer__col li a, .footer__contact a { color: #cfdde1; text-decoration: none; }
.footer__col li a { display: block; padding: 4px 0; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__contact p { margin: 0 0 10px; }
.footer__contact a { word-break: break-word; }
.footer__social { display: flex; gap: 16px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.14); font-size: 0.875rem; }
.footer__legal-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 18px; }
.footer__legal p { margin: 0; }
.footer__legal a { color: #fff; }

/* ---------------------------------------------------------------- pagehead */
.pagehead { background: var(--mist); padding: 44px 0 40px; border-bottom: 1px solid var(--fog); }
.pagehead h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-top: 14px; }
.pagehead__lede { margin: 14px 0 0; max-width: 46em; font-size: 1.1875rem; color: var(--slate); }
.pagehead__count { margin: 18px 0 0; color: var(--slate); }
.pagehead--petrol { background: var(--petrol); color: #fff; border-bottom: 10px solid var(--sand); padding-block: 52px 52px; }
.pagehead--petrol .pagehead__lede { color: #e3eef1; }
.pagehead--petrol .crumbs, .pagehead--petrol .crumbs a { color: #cfe0e5; }
.pagehead--petrol .crumbs li + li::before { border-color: #cfe0e5; }

.crumbs { font-size: 0.9063rem; color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 11px 0 9px; border-top: 1.5px solid var(--slate); border-right: 1.5px solid var(--slate); transform: rotate(45deg); }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--red-deep); }

.bigsearch { display: flex; gap: 10px; margin-top: 26px; max-width: 640px; }
.bigsearch input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border: 1.5px solid var(--fog); border-radius: var(--radius); background: #fff; font-size: 1.0313rem; }
.bigsearch input:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(4,72,93,.16); }
.bigsearch .btn { min-height: 50px; }

.serieshead { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--fog); }
.serieshead__logo { margin: 0; }
.serieshead__logo img { max-height: 76px; width: auto; }
.serieshead h2 { font-size: 1.75rem; }
.serieshead p { margin: 8px 0 0; color: var(--slate); max-width: 62em; }
.serieshead > div:only-child { grid-column: 1 / -1; }

/* ------------------------------------------------------------ catalogue */
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: 44px var(--section); align-items: start; }
.catnav { position: sticky; top: calc(var(--mast) + 24px); max-height: calc(100vh - var(--mast) - 48px); overflow: auto; padding-right: 6px; }
.catnav summary { display: none; }
.catnav__group { margin-bottom: 22px; }
.catnav__title { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--petrol); margin: 0 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--petrol); }
.catnav a { display: block; padding: 6px 0 6px 12px; border-left: 3px solid transparent; color: var(--ink); text-decoration: none; font-size: 0.9688rem; line-height: 1.35; }
.catnav a:hover { color: var(--red-deep); text-decoration: underline; }
.catnav a[aria-current="page"] { border-left-color: var(--red); font-weight: 600; color: var(--petrol); background: var(--mist); }
.catnav__group--links a { padding-left: 0; border: 0; text-decoration: underline; color: var(--petrol); }

.cathead { margin-top: 18px; padding-bottom: 8px; }
.cathead__logo { margin: 0 0 14px; }
.cathead__logo img { height: 42px; width: auto; }
.cathead h1 { font-size: clamp(2.125rem, 3.8vw, 3.125rem); }
.cathead__lede { margin: 14px 0 0; font-size: 1.1875rem; color: var(--slate); max-width: 44em; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { display: inline-block; padding: 6px 14px 5px; border: 1px solid var(--fog); border-radius: 999px; font-size: 0.9375rem; color: var(--ink); text-decoration: none; background: #fff; }
.jump a:hover { border-color: var(--petrol); color: var(--petrol); }

.group { margin-top: 48px; }
.group__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 20px; }
.group__note { margin: 0; font-size: 0.9375rem; color: var(--slate); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 16px; }
.pgrid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fog); border-radius: 6px; overflow: hidden; transition: border-color .15s; }
.pcard:hover, .pcard:focus-within { border-color: var(--petrol); }
.pcard__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: #fff; text-decoration: none; --pad: 20px; }
.pcard__media img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.pcard__media--wide { --pad: 8px; }
.pcard__media--dark { background: var(--tile, #484848); }
.pcard__media--dark img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__media--empty { background: repeating-linear-gradient(135deg, var(--mist) 0 14px, #f7fafa 14px 28px); }
.pcard__media .flag { position: absolute; left: 12px; top: 12px; }
.pcard__nophoto { display: grid; gap: 4px; text-align: center; font-size: 0.875rem; color: var(--slate); max-width: 22ch; }
.pcard__nophoto b { font-family: var(--display); font-weight: 600; font-size: 1.75rem; color: var(--petrol); letter-spacing: 0.02em; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; border-top: 1px solid var(--fog); }
.pcard__code { margin: 0; font-family: var(--display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.05em; color: var(--petrol); }
.pcard__name { font-family: var(--body); font-weight: 500; font-size: 1.0625rem; line-height: 1.3; letter-spacing: 0; margin: 3px 0 12px; text-wrap: pretty; }
.pcard__name a { color: var(--ink); text-decoration: none; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; }
.pcard { position: relative; }
.pcard__name a:hover { color: var(--petrol); text-decoration: underline; }
.pcard__prices { margin: auto 0 0; display: grid; gap: 2px; }
.pcard__prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pcard__prices dt { font-size: 0.9063rem; color: var(--slate); }
.pcard__prices dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.1875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard__prices dd.is-request { font-family: var(--body); font-weight: 400; font-size: 0.9063rem; color: var(--slate); }
.pcard__prices .pcard__pack { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--fog); }
.pcard__prices .pcard__pack dt, .pcard__prices .pcard__pack dd { font-family: var(--body); font-weight: 400; font-size: 0.875rem; color: var(--slate); }
.pcard__prices .pcard__pack dd { font-weight: 500; color: var(--ink); }
.add { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; margin-top: 12px; padding: 6px 14px 6px 10px; border: 1.5px solid var(--petrol); border-radius: var(--radius); background: #fff; color: var(--petrol); font-family: var(--display); font-weight: 600; font-size: 0.9688rem; cursor: pointer; transition: background-color .15s, color .15s; }
.add:hover { background: var(--petrol); color: #fff; }
.add.is-added { background: var(--petrol); color: #fff; }

/* ---------------------------------------------------------- product page */
.detail { padding-block: 36px var(--section); }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 26px; align-items: start; }
.detail__media { position: relative; margin: 0; display: grid; place-items: center; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--fog); border-radius: 6px; --pad: clamp(28px, 6vw, 76px); }
.detail__media img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.detail__media--dark { background: var(--tile, #484848); border-color: transparent; }
.detail__media--dark img { inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.detail__media--wide { --pad: clamp(16px, 3vw, 36px); }
.detail__media--empty { background: repeating-linear-gradient(135deg, var(--mist) 0 14px, #f7fafa 14px 28px); }
.detail__media figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 0.875rem; color: var(--slate); }
.detail__media .flag { position: absolute; left: 18px; top: 18px; }
.detail__series { margin: 6px 0 16px; font-family: var(--display); font-weight: 600; color: var(--petrol); }
.detail__series img { height: 40px; width: auto; }
.detail__info h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.detail__group { margin: 12px 0 0; font-size: 1.125rem; color: var(--slate); }
.spec { margin: 28px 0 0; border-top: 2px solid var(--petrol); }
.spec div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--fog); align-items: baseline; }
.spec dt { color: var(--slate); font-size: 1rem; }
.spec dd { margin: 0; font-weight: 500; }
.spec__code { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; letter-spacing: 0.05em; color: var(--petrol); }
.spec__price { font-family: var(--display); font-weight: 600; font-size: 1.625rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.related { margin-top: clamp(56px, 7vw, 88px); padding-top: 40px; border-top: 1px solid var(--fog); }
.related h2 { font-size: 1.875rem; margin-bottom: 24px; }

/* ---------------------------------------------------------- plate pages */
.rangehead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 18px; border-radius: 6px; overflow: hidden; color: #fff; }
.rangehead__copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.rangehead__logo { align-self: flex-start; margin: 0 0 22px; background: #fff; border-radius: var(--radius); padding: 12px 16px; }
.rangehead__logo img { height: 52px; width: auto; }
.rangehead h1 { font-size: clamp(2rem, 3.4vw, 2.875rem); }
.rangehead__strap { margin: 10px 0 0; font-family: var(--display); font-weight: 500; font-size: 1.3125rem; color: var(--sand); }
.rangehead__copy p { margin: 16px 0 0; max-width: 32em; }
.rangehead__copy p:last-child { margin-top: 26px; }
.rangehead .btn--petrol { background: #fff; color: var(--petrol-ink); }
.rangehead .btn--petrol:hover { background: var(--sand); }
.rangehead__photo { margin: 0; min-height: 340px; }
.rangehead__photo img { width: 100%; height: 100%; object-fit: cover; }
.rangehead--petrol { background: var(--petrol-deep); }
.rangehead--umber { background: #3d322d; }
.rangehead--sage { background: #46553b; }
.rangehead--plain { background: var(--mist); color: var(--ink); border: 1px solid var(--fog); }
.rangehead--plain .rangehead__strap { color: var(--sand-deep); }
.rangehead--plain .rangehead__photo { background: #fff; display: grid; place-items: center; padding: 28px; }
.rangehead--plain .rangehead__photo img { object-fit: contain; }
.rangehead--plain .btn--petrol { background: var(--petrol); color: #fff; }
.rangehead--plain .btn--petrol:hover { background: var(--petrol-deep); }

.block { margin-top: clamp(44px, 6vw, 72px); }
.block > h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
.block__lede { margin: 10px 0 22px; color: var(--slate); }
.block__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.finishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-top: 22px; }
.finishes figure { margin: 0; border: 1px solid var(--fog); border-radius: 6px; overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; }
.finishes__photo { position: relative; display: block; aspect-ratio: 5 / 4; --pad: 16px; }
.finishes__photo img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.finishes figcaption { margin-top: auto; padding: 11px 14px 12px; border-top: 1px solid var(--fog); font-weight: 500; font-size: 0.9688rem; line-height: 1.3; }

.tablewrap { overflow-x: auto; border: 1px solid var(--fog); border-radius: 6px; background: #fff; }
.matrix { min-width: 860px; font-variant-numeric: tabular-nums; }
.matrix th, .matrix td { padding: 12px 14px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--fog); }
.matrix thead th { background: var(--petrol); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; border-bottom: 0; }
.matrix th:first-child { text-align: left; position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--fog); white-space: normal; min-width: 170px; }
.matrix thead th:first-child { background: var(--petrol); box-shadow: none; }
.matrix tbody th { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.matrix tbody th small { display: block; font-family: var(--body); font-weight: 400; color: var(--slate); font-size: 0.8125rem; }
.matrix td.num { font-family: var(--display); font-weight: 600; font-size: 1.125rem; text-align: center; }
.matrix__meta td, .matrix__meta th { color: var(--slate); background: #f8fafb; font-size: 0.9375rem; }
.matrix__meta th:first-child { background: #f8fafb; font-family: var(--body) !important; font-weight: 500 !important; font-size: 0.9375rem !important; }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------ MCB tables */
.tgroups { margin-top: 36px; display: grid; gap: 20px; }
.tgroup { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; padding: 24px; border: 1px solid var(--fog); border-radius: 6px; background: #fff; }
.tgroup__photo { display: grid; place-items: center; }
.tgroup__body { min-width: 0; overflow-x: auto; }
.tgroup__photo img { max-height: 190px; width: auto; }
.tgroup .pill { font-size: 1.1875rem; padding: 7px 20px 6px; margin-bottom: 10px; }
.rates { font-variant-numeric: tabular-nums; }
.tgroup .rates { max-width: 620px; }
.rates th, .rates td { padding: 9px 12px; border-bottom: 1px solid var(--fog); text-align: left; vertical-align: baseline; }
.rates thead th { font-family: var(--display); font-weight: 600; font-size: 0.9688rem; color: var(--slate); border-bottom: 2px solid var(--petrol); white-space: nowrap; }
.rates thead th small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.75rem; }
.rates tbody th { font-family: var(--display); font-weight: 600; letter-spacing: 0.04em; color: var(--petrol); white-space: nowrap; width: 1%; padding-right: 22px; }
.rates td small { color: var(--slate); margin-left: 6px; }
.rates .num { text-align: right; }
.rates td.num { font-weight: 500; }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.rates__group th { background: var(--mist); font-family: var(--display) !important; font-size: 1.0625rem; color: var(--ink) !important; letter-spacing: 0 !important; padding-top: 11px; }
.rates__group th small { margin-left: 10px; font-family: var(--body); font-weight: 400; color: var(--slate); }

/* -------------------------------------------------------------- price list */
.plist-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 26px; }
.plist-filter { flex: 1 1 280px; max-width: 420px; display: grid; gap: 6px; }
.plist-filter label { font-size: 0.9375rem; font-weight: 500; }
.plist-filter input { height: 46px; padding: 0 16px; border: 1.5px solid var(--fog); border-radius: var(--radius); background: #fff; }
.plist-filter input:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(4,72,93,.16); }
.plist-status { margin: 14px 0 0; min-height: 1.5em; font-size: 0.9375rem; color: var(--slate); }
.plist { padding-block: 40px var(--section); }
.plist__series > h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); color: var(--petrol); padding-bottom: 12px; border-bottom: 4px solid var(--sand); margin-top: 28px; }
.plist__cat { margin-top: 30px; }
.plist__cat h3 { font-size: 1.4375rem; margin-bottom: 12px; }
.plist__cat h3 a { color: var(--ink); text-decoration: none; }
.plist__cat h3 a:hover { color: var(--petrol); text-decoration: underline; }
.plist [hidden] { display: none !important; }
.plist__empty { margin: 40px 0; padding: 28px; background: var(--mist); border-radius: 6px; }
.terms { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--fog); max-width: 60rem; }
.terms h2 { font-size: 1.5rem; margin-bottom: 12px; }
.terms li, .terms-list li { position: relative; padding-left: 18px; margin-bottom: 6px; color: var(--slate); font-size: 0.9688rem; }
.terms li::before, .terms-list li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--sand-deep); }

/* ------------------------------------------------------------------ search */
.results { padding-block: 36px var(--section); }
.hits { display: grid; gap: 10px; max-width: 900px; }
.hit { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px 20px 12px 12px; border: 1px solid var(--fog); border-radius: 6px; text-decoration: none; color: var(--ink); background: #fff; }
.hit:hover { border-color: var(--petrol); color: var(--ink); }
.hit__photo { display: block; width: 72px; height: 72px; }
.hit__photo img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.hit__body { display: grid; }
.hit__code { font-family: var(--display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.05em; color: var(--petrol); }
.hit__title { font-weight: 500; font-size: 1.0938rem; line-height: 1.3; }
.hit:hover .hit__title { text-decoration: underline; }
.hit__meta { font-size: 0.9063rem; color: var(--slate); }
.hit__price { font-family: var(--display); font-weight: 600; font-size: 1.125rem; white-space: nowrap; }
.empty { max-width: 44rem; padding: 36px; background: var(--mist); border-radius: 6px; }
.empty h2 { font-size: 1.75rem; margin-bottom: 10px; }
.empty p:last-child { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------------------------------- about/quality */
.prose-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 40rem; }
.prose__lead { font-size: 1.375rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.prose h2 { font-size: 1.75rem; margin: 40px 0 12px; }
.prose p { color: #24393f; }
.aside-card { border: 1px solid var(--fog); border-radius: 6px; overflow: hidden; background: #fff; }
.aside-card__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.aside-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.aside-card__facts { margin: 0; padding: 8px 24px 16px; }
.aside-card__facts div { padding: 14px 0; border-bottom: 1px solid var(--fog); }
.aside-card__facts div:last-child { border-bottom: 0; }
.aside-card__facts dt { font-size: 0.875rem; color: var(--sand-deep); font-weight: 600; }
.aside-card__facts dd { margin: 2px 0 0; font-weight: 500; }
.parts { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.parts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--fog); }
.parts dt { font-family: var(--display); font-weight: 600; font-size: 1.125rem; color: var(--petrol); }
.parts dd { margin: 0; }
.marks { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.marks h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); margin-bottom: 14px; }
.marks__copy > p { color: var(--slate); }
.marks__copy > p:last-child { margin: 26px 0 0; }
.marks__badge { display: grid; justify-items: center; gap: 18px; padding: 44px 28px; background: var(--mist); border-radius: 6px; text-align: center; }
.marks__badge img { width: 132px; }
.marks__badge p { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.125rem; color: var(--petrol); }
.certs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cert { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 16px; background: #fff; border: 1px solid var(--fog); border-radius: 6px; text-decoration: none; color: var(--ink); }
.cert:hover { border-color: var(--petrol); color: var(--ink); }
.cert__photo { display: block; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--fog); margin-bottom: 12px; }
.cert__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert__issuer { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; }
.cert__what { margin-top: 5px; font-size: 0.9063rem; line-height: 1.4; color: var(--slate); }

/* ----------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); padding-block: 48px var(--section); align-items: start; }
.contact__form h2 { font-size: 1.875rem; margin-bottom: 22px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__hint { margin: -8px 0 0; font-size: 0.9063rem; color: var(--slate); }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 500; font-size: 1rem; }
.field__opt { font-weight: 400; color: var(--slate); font-size: 0.875rem; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #b7c6ca; border-radius: var(--radius); background: #fff; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(4,72,93,.16); }
.field [aria-invalid="true"] { border-color: var(--red-deep); }
.field__error { margin: 0; color: var(--red-deep); font-size: 0.9375rem; font-weight: 500; }
.form .btn { justify-self: start; }
.notice { padding: 22px 26px; border-radius: 6px; margin-bottom: 24px; border-left: 5px solid; }
.notice h2 { margin-bottom: 8px !important; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice ul { margin-top: 8px; padding-left: 20px; list-style: disc; }
.notice--ok { background: #eaf5ef; border-color: #1c7c4c; }
.notice--error { background: #fdeeee; border-color: var(--red-deep); }
.notice--error a { color: var(--red-deep); }
.elist { padding: 18px 20px; background: var(--mist); border-radius: 6px; }
.elist h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.elist__empty { margin: 0; font-size: 0.9688rem; color: var(--slate); }
.elist__items { display: grid; }
.elist__items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--fog); }
.elist__items li:first-child { border-top: 0; }
.elist__name b { font-family: var(--display); font-weight: 600; letter-spacing: 0.04em; color: var(--petrol); margin-right: 8px; }
.elist__qty { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9063rem; color: var(--slate); }
.elist__qty input { width: 84px; min-height: 40px; padding: 6px 10px; border: 1.5px solid #b7c6ca; border-radius: var(--radius); background: #fff; }
.elist__remove { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--slate); border-radius: var(--radius); display: grid; place-items: center; }
.elist__remove:hover { color: var(--red-deep); background: #fff; }
.elist__clear { margin: 8px 0 0; }
.elist__clear[hidden] { display: none; }
.card { padding: 26px 28px; background: var(--petrol); color: #fff; border-radius: 6px; }
.card h2 { font-size: 1.5rem; margin-bottom: 16px; }
.card--plain { background: #fff; color: var(--ink); border: 1px solid var(--fog); }
.contactlist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); align-items: start; }
.contactlist .icon { margin-top: 3px; color: var(--sand); }
.contactlist a { color: #fff; word-break: break-word; }
.contactlist a:hover { color: var(--sand); }
.card .btn--line { border-color: #fff; color: #fff; margin-top: 12px; }
.card .btn--line:hover { background: #fff; color: var(--petrol); }
.contact__side { display: grid; gap: 20px; }
.map iframe { display: block; width: 100%; height: 280px; border: 1px solid var(--fog); border-radius: 6px; }
.map p { margin: 8px 0 0; font-size: 0.9375rem; }

/* --------------------------------------------------------------- not found */
.notfound { padding-block: clamp(64px, 10vw, 128px); max-width: 780px; }
.notfound__code { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.12em; color: var(--red); margin: 0 0 10px; }
.notfound h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
.notfound > p { margin: 18px 0 0; font-size: 1.1875rem; color: var(--slate); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px !important; }

/* ------------------------------------------------------------ toast/dialog */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); padding: 13px 20px; background: var(--petrol-ink); color: #fff; border-radius: 6px; box-shadow: 0 12px 32px -10px rgba(0,0,0,.5); font-size: 0.9688rem; }
.toast[hidden] { display: none; }
.toast a { color: var(--sand); font-weight: 600; white-space: nowrap; }
.lightbox { padding: 0; border: 0; border-radius: 6px; max-width: min(92vw, 760px); background: #fff; }
.lightbox::backdrop { background: rgba(3,30,38,.82); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #fff; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; font-size: 0.9375rem; }
.lightbox__bar p { margin: 0; }
.lightbox__bar button { flex: none; width: 44px; height: 44px; border: 1px solid var(--fog); border-radius: var(--radius); background: #fff; cursor: pointer; display: grid; place-items: center; }

/* ============================================================== responsive */
@media (max-width: 1180px) {
  .tools__dealer { display: none; }
  .mega__in { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: var(--gutter); }
  .mega__col--aside { grid-column: 1 / -1; display: grid; }
  .mega__col--aside ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
  .footer__in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; }
  .footer__tag { margin: 0; }
  .pgrid--four { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  :root { --mast: 66px; }
  .topbar__links li:not(:last-child) { display: none; }
  .logo { width: 108px; top: -38px; }
  .masthead.is-stuck .logo { width: 72px; }
  .topbar__iso { margin-left: 124px; }
  .menu-toggle { display: grid; }
  .tools__enquiry span { display: none; }
  .tools__enquiry { padding: 10px 4px; }
  .search { width: clamp(150px, 34vw, 280px); }

  .nav { position: fixed; inset: var(--nav-top, 104px) 0 0 0; margin: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 30px var(--gutter) 40px; display: none; border-top: 1px solid var(--fog); }
  .nav.is-open { display: block; }
  .nav__list { display: block; }
  .nav__item { border-bottom: 1px solid var(--fog); }
  .nav__link { width: 100%; height: 56px; padding: 0; justify-content: space-between; font-size: 1.3125rem; }
  .nav__link::after { display: none; }
  .mega { position: static; border: 0; box-shadow: none; }
  .mega__in { display: block; padding: 0 0 16px; }
  .mega__col { margin-bottom: 18px; }
  .mega__col--aside { margin: 0; }
  .mega__col--aside ul { display: block; }
  .nav__extra { display: grid; gap: 16px; margin-top: 26px; }
  .nav__pdf { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }

  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-block: 72px 24px; gap: 0; }
  .hero h1 { max-width: 15ch; }
  .hero__plate { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__plate img { width: 100%; margin: -2% 0 0; }
  .hero__plate figcaption { position: relative; right: auto; bottom: auto; text-align: center; padding-bottom: 20px; }
  .hero__lineart { left: 78%; opacity: .16; height: 70%; top: 30%; }
  .facts__list { grid-template-columns: repeat(2, 1fr); }
  .facts__list li { padding: 20px 20px 18px 0; }
  .facts__list li + li { padding-left: 0; border-left: 0; }
  .facts__list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--fog); }
  .facts__list li:nth-child(n+3) { border-top: 1px solid var(--fog); }
  .series { grid-template-columns: minmax(0, 1fr); }
  .plates__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .anatomy__in, .lab__in, .prose-grid, .marks, .contact, .detail__grid, .rangehead { grid-template-columns: minmax(0, 1fr); }
  .rangehead__photo { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .lab__photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .parts { grid-template-columns: minmax(0, 1fr); }

  .catalog { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .catnav { position: static; max-height: none; overflow: visible; padding: 0; }
  .catnav__box { border: 1px solid var(--fog); border-radius: 6px; background: #fff; }
  .catnav summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; font-family: var(--display); font-weight: 600; font-size: 1.125rem; cursor: pointer; list-style: none; }
  .catnav summary::-webkit-details-marker { display: none; }
  .catnav summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(45deg) translateY(-3px); transition: transform .18s; }
  .catnav__box[open] summary::after { transform: rotate(-135deg) translateX(-3px); }
  .catnav__group { padding: 0 18px; }
  .footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar__iso { font-size: 0.8125rem; white-space: nowrap; }
  .topbar__links { display: none; }
  .search { display: none; }
  .hero__lede { font-size: 1.0938rem; }
  .hero__actions .btn { width: 100%; }
  .lab__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series__links { columns: 1; }
  .series__body { padding: 22px 20px 24px; }
  .pgrid, .pgrid--four, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard__media { --pad: 14px; }
  .pcard__body { padding: 12px; }
  .pcard__name { font-size: 0.9688rem; }
  .pcard__prices dd { font-size: 1.0625rem; }
  .pcard__prices dt { font-size: 0.8438rem; }
  .tile__photo { --pad: 14px; }
  .tile__body { padding: 12px 14px 14px; }
  .tile__name { font-size: 1.0938rem; }
  .pill { font-size: 1.125rem; padding: 8px 18px 7px; border-radius: 22px; }
  .serieshead { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tgroup { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 14px; }
  .tgroup__photo { justify-items: start; }
  .tgroup__photo img { max-height: 130px; }
  .rates th, .rates td { padding: 9px 8px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .hit { grid-template-columns: 56px minmax(0, 1fr); padding: 12px; gap: 12px; }
  .hit__photo { width: 56px; height: 56px; }
  .hit__price { grid-column: 2; }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parts div { grid-template-columns: 1fr; gap: 2px; }
  .spec div { grid-template-columns: 1fr 1fr; }
  .detail__actions .btn { width: 100%; }
  .bigsearch { flex-direction: column; }
  .footer__in { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 40px 32px; }
  .elist__items li { grid-template-columns: minmax(0, 1fr) auto; }
  .elist__name { grid-column: 1 / -1; }
  .band__photo::after { background: rgba(4,20,27,.82); }
}

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

/* ------------------------------------------------------------------- print */
@media print {
  .topbar, .masthead, .footer, .band, .toast, [data-noprint], .crumbs, .catnav, .add, .btn, .jump { display: none !important; }
  body { font-size: 10.5pt; color: #000; }
  .pagehead { background: none; border: 0; padding: 0 0 12pt; }
  .pagehead h1 { font-size: 22pt; }
  .plist, .catalog { padding: 0; display: block; }
  .tablewrap { overflow: visible; border: 0; }
  .rates th, .rates td { padding: 3pt 6pt; }
  .plist__cat { break-inside: avoid-page; }
  .rates__group th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: #000; text-decoration: none; }
}
