/* ══════════════════════════════════════════════════════════════════════════
   NEL'S DISTRIBUTORS — DESIGN SYSTEM
   Implements design_handoff_nels_distributors/README.md (2026-07-29).

   Load order: this file REPLACES theme.css on redesigned pages.
   Tailwind is NOT required by the redesign — every component here is plain CSS
   so the pages have no build step and no critical CDN dependency, which is the
   handoff's stated target stack.

   THEME: applied via data-nel-theme="light|dark" on <html>, set by an inline
   script in <head> BEFORE first paint so there is no flash. Persisted as
   localStorage key `nel-theme`. Default: light ("day").
   LANGUAGE: data-nel-lang / localStorage `nel-lang`. Default: af.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Fonts ───────────────────────────────────────────────────────────────
   2026-09-16: THE FONT FILES ARE NOW IN THE REPO. Before today `fonts/` did
   not exist, so every page fired TWO 404s on every single load and no visitor
   had ever seen the site in its own typefaces — Windows fell back to Segoe UI,
   Android to Roboto. Both faces are SIL Open Font License 1.1, which permits
   self-hosting; the licence text ships beside them in fonts/OFL-*.txt as the
   licence requires.

   Self-hosted on purpose, NOT Google Fonts: loading from fonts.gstatic.com
   sends every visitor's IP address to Google, which is a processing operation
   Nel's would have to disclose under POPIA. 88 KB of woff2 from our own domain
   avoids the disclosure entirely and is faster on a Kirkwood mobile connection
   than a second DNS lookup and TLS handshake to a third party.

   Fontsource static weights, one face per weight — Montserrat 700/800 for
   headings and the lockup, Inter 400/700 for everything else. The local()
   entries stay AFTER the url(): a visitor who already has the font installed
   skips the download, and if a woff2 ever fails the chain still lands on a
   sane grotesque instead of the browser's default serif. 66 inline styles
   across the pages name these families with no fallback list, which is why
   the families are DEFINED here rather than patched into the HTML. */
@font-face{
  font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/montserrat-latin-700.woff2') format('woff2'),
      local('Montserrat Bold'),local('Montserrat'),
      local('Segoe UI Semibold'),local('SegoeUI-Semibold'),
      local('Roboto Medium'),local('Roboto-Medium'),
      local('Helvetica Neue Medium'),local('Arial Bold');
}
@font-face{
  font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;
  src:url('../fonts/montserrat-latin-800.woff2') format('woff2'),
      local('Montserrat ExtraBold'),local('Montserrat Bold'),local('Montserrat'),
      local('Segoe UI Bold'),local('Roboto Bold'),local('Arial Bold');
}
@font-face{
  font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/inter-latin-400.woff2') format('woff2'),
      local('Inter'),local('Inter Regular'),
      local('Segoe UI'),local('SegoeUI'),
      local('Roboto'),local('Roboto-Regular'),
      local('Helvetica Neue'),local('Arial');
}
@font-face{
  font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/inter-latin-700.woff2') format('woff2'),
      local('Inter Bold'),local('Inter'),
      local('Segoe UI Bold'),local('Roboto Bold'),
      local('Helvetica Neue Bold'),local('Arial Bold');
}

/* Tokens for new code to use. Existing declarations keep working via the
   @font-face aliases above; prefer these in anything written from here on. */
:root{
  --font-display:'Montserrat','Segoe UI',Roboto,'Helvetica Neue',Arial,system-ui,sans-serif;
  --font-body:'Inter','Segoe UI',Roboto,'Helvetica Neue',Arial,system-ui,sans-serif;
}

/* ══ TOKENS ══════════════════════════════════════════════════════════════ */
:root,
[data-nel-theme="light"]{
  --bg:#F7F4EE;
  --page-bg:repeating-linear-gradient(45deg, rgba(20,20,20,.022) 0 1px, transparent 1px 10px), #F7F4EE;
  --surface:#FFFFFF;
  --surface2:#EFEBE2;
  --ink:#141414;          /* 15.9:1 AAA */
  --muted:#5B5650;        /* 6.4:1 AA  */
  --line:#E3DDD2;
  --red:#C0392B;          /* white on it 4.9:1 AA */
  --red-hover:#96281B;    /* white on it 7.6:1 AAA */
  --red-text:#A93226;     /* 5.4:1 AA */
  --red-soft:#F5E5E2;
  --logo-tile:#FFFFFF;
  --shadow-rest:0 1px 2px rgba(20,20,20,.05);
  --shadow-raised:0 18px 44px rgba(20,20,20,.12);
  /* 2026-08-18 contrast pass — see the notes under TOKENS. */
  --line-strong:#8C857B;   /* control boundaries: 3.32:1 on --surface (WCAG 1.4.11) */
  --focus-ring:#141414;    /* 16.8:1 on the page; stays visible on red + green fills */
  --focus-halo:#F7F4EE;
  --plate:#EFEBE2;         /* photo holder — follows the THEME, not the photo   */
  --plate-line:#E3DDD2;
  color-scheme:light;
}
[data-nel-theme="dark"]{
  --bg:#0E0E0E;
  --page-bg:
    repeating-linear-gradient(45deg, rgba(214,69,50,.045) 0 1px, transparent 1px 10px),
    radial-gradient(1100px 520px at 88% -5%, rgba(192,57,43,.17), transparent 62%),
    radial-gradient(950px 560px at -12% 45%, rgba(150,40,27,.12), transparent 60%),
    radial-gradient(800px 420px at 60% 105%, rgba(192,57,43,.08), transparent 60%),
    #0E0E0E;
  --surface:#181818;
  --surface2:#212121;
  --ink:#F2EFE9;          /* 17.4:1 AAA */
  --muted:#A8A29A;        /* 7.4:1 AA  */
  --line:#2B2B2B;
  --red:#C0392B;
  --red-hover:#D64937;
  --red-text:#E0604B;     /* 5.0:1 AA */
  --red-soft:#2A1613;
  --logo-tile:#F2EFE9;    /* bone */
  --shadow-rest:0 1px 2px rgba(0,0,0,.3);
  --shadow-raised:0 18px 44px rgba(0,0,0,.5);
  --line-strong:#666666;   /* 3.36:1 on --surface */
  --focus-ring:#F2EFE9;
  --focus-halo:#0E0E0E;
  --plate:#101010;
  --plate-line:#2B2B2B;
  color-scheme:dark;
}

/* WhatsApp + partner brand accents (dots and 3px bars ONLY — never fills). */
/* The utility bar and footer are near-black in BOTH themes, so text on them
   needs a colour that does not flip. #5B5650 (the LIGHT --muted) was pasted
   inline on 168 elements and measured 2.66:1 there — unreadable. */
:root{
  --on-dark-muted:#9A948C;                    /* 6.42:1 on #0E0E0E */
  --wa:#0E7C3A; --wa-hover:#0B7036;           /* white label 5.30:1 (was 2.87:1) */
  --b-kubota:#E56A19; --b-tafe:#C8102E; --b-avant:#0F5CA8; --b-falcon:#1E7A3C;
  --b-perfect:#6D3E91; --b-jbh:#C77F0A; --b-erdvark:#6B7135; --b-lekkewaan:#0E7C86;
}

/* ══ BASE ════════════════════════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;}
/* scroll-padding-top pairs with .nel-header's position:sticky. Without it every
   in-page anchor (#nel-brands on Home, #contact, the blog jump links) lands
   UNDERNEATH the sticky bar — the retired theme.css carried this and the
   redesign dropped it, so smooth-scroll was landing on hidden headings.
   Sticky height = 12px padding + 46px logo tile + 12px padding + 1px border
   = 71px, identical at mobile and desktop (the logo tile is the tallest item
   in the row at both). 84px leaves ~13px of breathing room above the target.
   The utility bar scrolls away (it is NOT sticky) so it is not counted; the
   search row is hidden until opened, so it is not counted either. */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:84px;}
body{
  margin:0; background:var(--page-bg); background-attachment:fixed; color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  font-size:16.5px; line-height:1.6; min-height:100vh;
  /* dvh follows the collapsing mobile URL bar; vh does not, so vh alone makes
     the page jump as the bar hides. vh stays FIRST as the fallback for engines
     that do not know dvh. */
  min-height:100dvh;
  -webkit-font-smoothing:antialiased;
}
img,svg,video,iframe{max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font:inherit;}
h1,h2,h3,h4{font-family:'Montserrat',system-ui,sans-serif;font-weight:800;line-height:1.05;margin:0;}
p{margin:0;}
:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px;
  box-shadow:0 0 0 5px var(--focus-halo);border-radius:4px;}
.nel-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* ══ TYPE SCALE ══════════════════════════════════════════════════════════ */
.nel-display{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:800;font-size:clamp(40px,6vw,68px);line-height:1.05;}
/* The clamp's 40px FLOOR is the problem on a 320px phone, not the 6vw ramp:
   6vw never bites below 667px, so every small phone renders at a fixed 40px.
   The one .nel-display on the site is the Home hero, whose longest word is
   "Distributors" — 12 characters of Montserrat ExtraBold at 40px measures
   ~336px against the 280px of usable width a 320px viewport has after the
   .nel-wrap's 2×20px padding. That pushed the whole page sideways.
   The replacement ramp is continuous at the 400px boundary (16.25vw − 25px
   gives exactly 40px at 400px) so there is no visible step, and its 27px floor
   puts "Distributors" at ~227px — inside 280px with room to spare. */
@media(max-width:400px){
  .nel-display{font-size:clamp(27px,calc(16.25vw - 25px),40px);}
}
.nel-h1{font-size:clamp(28px,4vw,42px);}
.nel-h2{font-size:clamp(24px,3vw,36px);}
.nel-h3{font-size:18.5px;font-weight:700;}
.nel-small{font-size:13.75px;}
.nel-caption{font-size:12.25px;}
.nel-kicker{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:700;font-size:12px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);}
.nel-muted{color:var(--muted);}
.nel-red{color:var(--red-text);}

/* ══ LAYOUT ══════════════════════════════════════════════════════════════ */
.nel-wrap{max-width:1180px;margin:0 auto;padding-left:20px;padding-right:20px;}
@media(min-width:900px){.nel-wrap{padding-left:32px;padding-right:32px;}}
.nel-section{padding-top:56px;padding-bottom:56px;}
@media(min-width:900px){.nel-section{padding-top:64px;padding-bottom:64px;}}
.nel-grid{display:grid;gap:20px;grid-template-columns:minmax(0,1fr);}
@media(min-width:640px){.nel-grid-2,.nel-grid-3,.nel-grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(min-width:900px){.nel-grid-3,.nel-grid-4{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(min-width:1020px){.nel-grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}}

/* ══ BREAKPOINT CONTRACT (critical — never both nav and hamburger) ═══════
   The handoff's data-desk / data-mob / data-desk-wide contract:
     <900px          → .nel-mob only  (hamburger; NO desktop nav)
     900–1199px      → .nel-desk      (nav + AF/EN + THEME TOGGLE)
     ≥1200px         → .nel-desk + .nel-desk-wide (search, WA CTA)
   Owner requirement: "the mobile design must have the burger dropdown and
   not the desktop design" — that is exactly this rule, enforced here once
   rather than per-page so it can never drift.

   2026-08-11 — THEME TOGGLE MOVED .nel-desk-wide → .nel-desk.
   The toggle used to be desk-wide only, so between 900px and 1199px there was
   NO way to reach dark mode at all: the nav had already replaced the burger at
   900px, and the drawer (which carries the only other toggle) is hidden from
   900px up. Every tablet and small laptop was locked to whatever theme it
   loaded with. The toggle now appears from 900px alongside the nav.
   The SEARCH button deliberately stays desk-wide — see the fit note below.    */
.nel-mob{display:flex;}
.nel-desk,.nel-desk-wide{display:none!important;}
@media(min-width:900px){
  .nel-mob{display:none!important;}
  .nel-desk{display:flex!important;}
}
@media(min-width:1200px){ .nel-desk-wide{display:flex!important;} }

/* FIT AT EXACTLY 900px (why the nav padding tightens in this band only)
   Usable width at 900px = 900 − 2×32px .nel-wrap padding = 836px. Measured
   against the widest of the AF and EN nav sets, the row wants roughly:
     logo group   46px tile + 11px gap + ~211px lockup      = ~268px
     nav          5 links + mega button at 9px side padding = ~430px
     right group  44px toggle + 8px gap + ~83px AF/EN pill  = ~135px
     2 × 10px flex gap                                      =   20px
                                                      total = ~853px  → 17px OVER
   Both outer groups carry an inline flex-shrink:0 and .nel-navlink is nowrap,
   so an over-wide row does not wrap — it overflows and scrolls the page
   sideways. Dropping the nav's horizontal padding from 9px to 5px reclaims
   8px × 6 items = 48px, which lands the row at ~805px with ~31px of slack.
   That is enough headroom to survive the font-fallback variance noted at the
   @font-face block. Adding the search button too would cost another 52px and
   put the row back over the line, so it stays at ≥1200px where there is room. */
@media(min-width:900px) and (max-width:1199.98px){
  .nel-navlink{padding-left:5px;padding-right:5px;}
}

/* ══ BUTTONS ═════════════════════════════════════════════════════════════ */
.nel-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-weight:700;font-size:14.5px;padding:12px 22px;border-radius:10px;
  border:1px solid transparent;cursor:pointer;transition:background .15s,color .15s,border-color .15s;
  min-height:44px;text-align:center;}
.nel-btn-primary{background:var(--red);color:#fff;}
.nel-btn-primary:hover{background:var(--red-hover);}
.nel-btn-wa{background:var(--wa);color:#fff;}
.nel-btn-wa:hover{background:var(--wa-hover);}
.nel-btn-secondary{background:var(--surface);color:var(--ink);border-color:var(--line-strong);}
.nel-btn-secondary:hover{background:var(--surface2);}
.nel-icon-btn{display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border:1px solid var(--line-strong);border-radius:10px;
  background:var(--surface);color:var(--ink);cursor:pointer;flex-shrink:0;transition:background .15s;}
.nel-icon-btn:hover{background:var(--surface2);}
/* The hamburger is deliberately heavier (1.5px ink border) so it can never
   disappear against the bar the way the old header's did in day theme. */
.nel-burger{border-width:1.5px;border-color:var(--ink);}

/* ══ CARDS ═══════════════════════════════════════════════════════════════ */
.nel-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow-rest);transition:transform .15s,box-shadow .15s;overflow:hidden;}
.nel-card-hover:hover{transform:translateY(-3px);box-shadow:var(--shadow-raised);}

/* WHOLE-CARD LINK (2026-08-27) ─────────────────────────────────────────────
   The product card is now ONE link to the model page instead of a card holding
   a Details button plus a WhatsApp button. Rationale: products.html rendered
   141 identical green WhatsApp buttons, which drowned the catalogue and made
   every card look like the same action. The <a> needs display:block because an
   anchor is inline by default; colour is inherited so the card is not painted
   link-blue; the site-wide :focus-visible rule (line ~164) supplies the ring,
   so keyboard users still see exactly where they are. */
.nel-card-link{display:block;color:inherit;text-decoration:none;}
/* Visually hidden but read aloud. Used for headings that a sighted reader does
   not need (the <h1> already says it) but a screen reader does, to keep the
   heading outline unbroken. clip-path + 1px box, NOT display:none, which would
   remove it from the accessibility tree as well. */
.nel-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
/* The floating WhatsApp button is fixed, so on a phone it always sits over
   whatever is at the bottom-right of the viewport. Reserving a pill's height
   under the grid means the LAST card's "Besonderhede" link is never the thing
   it covers when you reach the end of the list. */
@media(max-width:899.98px){
  .nel-grid{padding-bottom:64px;}
}
.nel-card-link:hover .nel-card-cta{text-decoration:underline;}
.nel-prod-spec{margin-top:6px;}
/* The Details affordance. Not a <button> and not styled as one — it is a label
   on a link that already covers the whole card, so making it look pressable
   would promise a second, separate target that does not exist. */
.nel-card-cta{display:inline-flex;align-items:center;gap:6px;margin-top:14px;
  color:var(--red-text);font-weight:700;font-size:13.5px;min-height:24px;}
.nel-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;
  box-shadow:var(--shadow-rest);}
.nel-brand-bar{height:3px;width:100%;display:block;}
.nel-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;display:inline-block;}

/* Logo tile — every partner logo is dark-on-transparent artwork drawn for a
   light background, so it always sits on a light tile in BOTH themes (bone in
   dark). Both axes are capped with width/height:auto so no logo is ever
   stretched — the aspect ratios differ wildly (jbh near-square, tafe wide). */
/* LOGO TILES ───────────────────────────────────────────────────────────────
   Every brand logo on file is a wide lockup: the narrowest is Lekkewaan at
   2.16:1 and the widest is Kubota at 5.16:1 (2560x496). The previous rule put
   them in an 84x84 square and capped them at max-width:66px, so the width cap
   always bound first and the max-height:56px never once applied — Kubota
   rendered 66x13px inside an 84x84 tile, and 44x8.5px in the mega menu. The
   logos were legible only because you already knew what they said.
   Tiles are now shaped like the artwork they hold and the image fills the
   tile's content box, so each logo grows to whatever its own aspect allows.
   Do not reintroduce max-width/max-height on these images. */
.nel-logo-tile{display:inline-flex;align-items:center;justify-content:center;
  background:var(--logo-tile);border:1px solid var(--line);border-radius:6px;flex-shrink:0;
  padding:4px;}
.nel-logo-tile img{width:100%;height:100%;object-fit:contain;display:block;}
/* 2026-09-12 — owner: "every logo bigger and more visible". The 09-11 pass
   fixed the SHAPE of the tiles but kept them timid. Every size below went up
   roughly 30%, and the two remaining max-width caps (brand-page header,
   no-photo fallback) were deleted — a cap on a 5.16:1 lockup like Kubota's
   always binds on width, so the height never applies and the logo ends up a
   third of the tile it sits in. */
/* WHICH DIMENSION ACTUALLY BINDS. Measured every logo on file: the lockups
   run from 1.68:1 (Falcon) to 5.44:1 (Nukor), and the site's own badge is
   1.71:1. In a tile wider than the artwork's ratio the HEIGHT decides the
   size; in a tile narrower than it, the WIDTH decides and extra height is
   just dead space. Kubota at 5.16:1 is the test case — making its tile
   taller changes nothing at all. So each tile below is shaped near the ratio
   of the widest logo it has to hold, and the horizontal padding is kept thin
   on purpose. Sizes are measured, not picked. */
.nel-logo-tile-sm{width:110px;height:42px;padding:3px 5px;}
/* Drawer brand rows. Was an inline width/height on every one of the ten rows
   in all 24 pages, which is why they never moved with the rest. */
.nel-logo-tile-nav{width:110px;height:42px;padding:3px 5px;}
/* Nel's own badge — header, drawer and footer. Also formerly inline, and the
   tile was 56x46 (1.25:1) around a 1.71:1 badge, so the badge drew 50x29 in
   a 56x46 box. Tile now follows the badge's own ratio. */
.nel-logo-tile-mark{width:82px;height:50px;border-radius:10px;padding:3px;}
.nel-logo-tile-mark-sm{width:74px;height:46px;border-radius:9px;padding:3px;}
@media(max-width:520px){
  /* the header is logo + wordmark + burger on one line; give the wordmark
     back the width it needs on a phone */
  .nel-logo-tile-mark{width:70px;height:44px;}
}
/* Brand-card tile: a full-width banner across the top of the card. At the
   4-up desktop width that is ~245x78, which gives Kubota ~213x41 — the same
   logo the old rule drew at 66x13. */
.nel-logo-tile-lg{width:100%;height:88px;border-radius:10px;padding:8px 10px;}

/* ══ PILLS / CHIPS ═══════════════════════════════════════════════════════ */
.nel-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;
  border:1px solid var(--line);background:var(--surface);font-size:13.5px;font-weight:600;}
.nel-chip{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border-radius:999px;
  border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);
  font-size:13.75px;font-weight:600;cursor:pointer;transition:background .15s,color .15s;min-height:40px;}
.nel-chip:hover{background:var(--surface2);}
.nel-chip[aria-pressed="true"],.nel-chip.is-active{background:var(--red);color:#fff;border-color:var(--red);}

/* ══ FORMS ═══════════════════════════════════════════════════════════════ */
.nel-input,.nel-select,.nel-textarea{width:100%;padding:13px 16px;border:1px solid var(--line-strong);
  border-radius:8px;background:var(--surface);color:var(--ink);font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:15.5px;}
.nel-textarea{min-height:130px;resize:vertical;}
.nel-input::placeholder,.nel-textarea::placeholder{color:var(--muted);opacity:1;}
.nel-label{display:block;font-size:12.25px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted);margin-bottom:7px;}
.nel-err{color:var(--red-text);font-size:12px;margin-top:5px;}
.nel-input.is-err,.nel-select.is-err,.nel-textarea.is-err{border-color:var(--red);}

/* ══ HEADER ══════════════════════════════════════════════════════════════ */
.nel-utility{background:#0E0E0E;color:#CFC9C0;font-size:13px;}
.nel-utility a{font-weight:600;}
.nel-header{position:sticky;top:0;z-index:80;background:var(--bg);border-bottom:1px solid var(--line);}
.nel-navlink{padding:8px 9px;border-radius:9px;color:var(--ink);white-space:nowrap;
  font-weight:600;font-size:14px;transition:background .15s;}
.nel-navlink:hover{background:var(--surface2);}
.nel-navlink.is-active{color:var(--red-text);font-weight:700;
  box-shadow:inset 0 -2px 0 var(--red);border-radius:9px 9px 0 0;}
.nel-lockup-name{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:800;font-size:16px;letter-spacing:.02em;}
.nel-lockup-sub{font-size:10.5px;letter-spacing:.22em;color:var(--muted);font-weight:600;margin-top:3px;}
/* 34px was below the site's own >=44px tap rule (see the note at the top of
   nel-catalog.css). The AF/EN pill is a primary control on every page and it
   sits in the drawer as well, where it is thumb-operated. Raised to 44px by
   min-height only — the font size is untouched, so nothing reflows. */
.nel-langbtn{padding:7px 12px;border:none;background:none;color:var(--muted);
  font-weight:700;font-size:12.5px;cursor:pointer;min-height:44px;}
.nel-langbtn.is-active{background:var(--red);color:#fff;}

/* HEADER OVERFLOW GUARD, ≤359px ────────────────────────────────────────────
   The logo lockup is sized to max-content because the link that wraps it
   carries an inline flex-shrink:0, so at 320px the row wants
     46px tile + 11px gap + ~204px lockup + 10px gap + 44px burger = ~315px
   against 280px of usable width — the header alone scrolled the page
   sideways on a 320px phone (iPhone SE, Galaxy Fold). The strapline is the
   wider of the two lockup lines (24 characters at .22em letter-spacing), so
   dropping it and letting the wordmark wrap brings the row to ~226px.
   Selector note: the logo link is the only direct <a> child of the header's
   flex row, and its flex-shrink:0 is an inline style — hence the !important,
   which is scoped to this one media query and nothing else. */
/* 2026-09-16: breakpoint raised 360 -> 384. Two things moved since it was
   written: the Nel's badge grew (56 -> 70px on a phone) and the real
   Montserrat/Inter files landed, and Montserrat is wider than the Segoe UI /
   Roboto that used to stand in for it. Measured at 360px: the lockup came out
   290px against the 266px the row can give it, so every page scrolled 4px
   sideways on a 360px Android — the single most common screen width in South
   Africa. 390px still fits the full lockup (296 available vs 290 needed), so
   the cut is at 384. The stats label goes down a point in the same query:
   "Handelsmerke" is one unbreakable word needing 127px in a 124px column at
   320px. */
@media(max-width:383.98px){
  .nel-header>.nel-wrap>a{flex-shrink:1!important;min-width:0;}
  .nel-lockup-sub{display:none;}
  .nel-lockup-name{font-size:14.5px;line-height:1.15;}
  .nel-stats-band .ns-lab{font-size:12px;}
}

/* Mega-menu
   Anchored to the HEADER, not to the inline nav button. Anchoring it to an
   inline-flex button inside a flex nav made its position depend on that
   button's box, which is fragile and was overlapping the bar. Anchoring to the
   header row gives a stable origin, keeps the panel inside the viewport, and
   means the panel can never paint underneath the bar it hangs from. */
.nel-header{overflow:visible;}
.nel-mega{position:absolute;top:calc(100% + 8px);left:auto;z-index:200;
  /* 2026-09-16: 580 -> 760. Measured with the panel open at 1440: the blurb
     column was 114px inside a 272px item, so ALL TEN blurbs were being cut by
     the ellipsis and Kubota's showed 40% of its line ("Trekkers 18-170 pk ·
     gr…"). Two things had eaten the width — the brand logo tiles went 68 ->
     110px, and real Montserrat/Inter are wider than the fallbacks that stood
     in for them. The blurb also wraps to two lines now instead of truncating;
     a nav blurb cut mid-word is worse than one on two lines. */
  width:min(760px,calc(100vw - 32px));background:var(--surface);border:1px solid var(--line);
  border-radius:16px;box-shadow:var(--shadow-raised);padding:14px;
  opacity:0;visibility:hidden;transform:translateY(6px);pointer-events:none;
  transition:opacity .15s,transform .15s,visibility .15s;}
.nel-mega.is-open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;}
/* Keep the panel from running off the right edge on 900–1100px viewports. */
@media(max-width:1100px){.nel-mega{right:0;}}
.nel-mega-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;}
.nel-mega-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;
  color:var(--ink);min-width:0;overflow:hidden;transition:background .15s;}
.nel-mega-item:hover{background:var(--surface2);}
.nel-mega-item{align-items:flex-start;}
.nel-mega-item .nel-logo-tile{margin-top:2px;}
.nel-mega-item .nm-blurb{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  font-weight:400;font-size:12px;line-height:1.35;color:var(--muted);overflow:hidden;}
.nel-mega-item .nel-dot{margin-top:9px;}

/* Drawer (<900px only) */
.nel-drawer{position:fixed;inset:0;z-index:200;background:var(--bg);
  overflow-y:auto;-webkit-overflow-scrolling:touch;display:none;}
.nel-drawer.is-open{display:block;}
.nel-drawer-nav a,.nel-drawer-nav button{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:700;font-size:18px;
  color:var(--ink);padding:13px 0;border-bottom:1px solid var(--line);display:block;width:100%;
  background:none;border-left:0;border-right:0;border-top:0;text-align:left;cursor:pointer;}
.nel-drawer-prods{display:none;padding-bottom:6px;}
.nel-drawer-prods.is-open{display:block;}
/* 9px padding around a 15px line gave a ~42px row — just under the site's
   >=44px tap rule, in the one menu that is ONLY ever used by thumb. min-height
   rather than more padding, so the brand rows keep their spacing. */
/* 2026-09-12: this rule was written as `.nel-drawer-brand` (0,1,0) but the
   rows are <a> inside .nel-drawer-nav, and `.nel-drawer-nav a` (0,2,1) three
   lines above sets display:block. So display:flex, align-items and the 12px
   gap NEVER applied: the logo tile and the brand name sat hard against each
   other with no gap, and the colour dot landed against the end of the word
   instead of at the right edge of the row. The previous author hit the same
   collision and patched only the border with !important — the selector is now
   specific enough that the whole rule lands and the !important can go. */
.nel-drawer-nav a.nel-drawer-brand{display:flex;align-items:center;gap:12px;
  padding:9px 4px;border-radius:10px;border-bottom:0;
  color:var(--ink);font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:600;font-size:15px;
  min-height:44px;}
body.nel-locked{overflow:hidden;}

/* BREADCRUMB TAP TARGET (<900px) ───────────────────────────────────────────
   .nel-crumb is declared three times — nel-catalog.css, nel-content.css and
   nel-detail.css — and in all three the links are 13px text in a 1.5 line-box,
   about 20px tall. That is fine for a mouse and too small for a thumb, so the
   >=44px lift lives HERE, once, in the file all 19 pages load, instead of
   being copied into three stylesheets that already duplicate each other.
   Only display/min-height are set, so each file keeps owning its own colours
   and separators. Desktop is left alone — the taller row is only needed where
   the pointer is coarse. */
@media(max-width:899.98px){
  .nel-crumb a{display:inline-flex;align-items:center;min-height:44px;}
}

/* ══ FOOTER ══════════════════════════════════════════════════════════════ */
.nel-footer{background:#0E0E0E;color:#CFC9C0;}
.nel-footer h2,.nel-footer h3,.nel-footer h4{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:700;font-size:12px;letter-spacing:.14em;
  text-transform:uppercase;color:#A8A29A;margin-bottom:14px;}
.nel-footer a{color:#CFC9C0;transition:color .15s;}
.nel-footer a:hover{color:#E0604B;}
/* REGRESSION FIX 2026-09-01. The WhatsApp FAB was moved inside <footer> so it
   would sit in the contentinfo landmark (axe "region"). That put it in reach of
   `.nel-footer a{color:#CFC9C0}`, which outranks `.nel-fab{color:#fff}` on
   specificity — so the mobile pill's label rendered #CFC9C0 on the #0E7C3A
   green at 3.22:1, under the 4.5:1 minimum, and the desktop icon (fill:
   currentColor) was quietly dulled too. Only the mobile pass caught it, because
   the label is display:none on desktop. Same specificity, white restored. */
.nel-footer a.nel-fab{color:#fff;}
.nel-footer a.nel-fab:hover{color:#fff;}
.nel-footer-grid{display:grid;gap:32px;grid-template-columns:repeat(2,minmax(0,1fr));}
/* 2026-09-16: at 320px a footer column is 124px and "Handelsmerke" needs 127px
   at 12px with .14em tracking — one unbreakable Afrikaans word clipped on every
   page of the site. Tracking is the cheap 6px: .14em over 12 characters is
   ~20px of pure letter-spacing, and .09em still reads as a tracked-out label. */
@media(max-width:383.98px){
  .nel-footer h2,.nel-footer h3,.nel-footer h4{letter-spacing:.09em;}
}
@media(min-width:900px){.nel-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
.nel-legal{border-top:1px solid #2B2B2B;color:var(--on-dark-muted);font-size:12.5px;}
/* The legal row's own links (Privacy policy, Sitemap, the domain) were missed
   by the <900px footer-column rule below and measured 20px tall — under the
   24px AA target size and well under the site's own 44px rule. They are the
   POPIA privacy link among others, so they have to be reliably hittable.
   min-height only; font-size untouched, so the row does not reflow. */
.nel-legal a{display:inline-flex;align-items:center;min-height:24px;}
/* Footer link tap targets (<900px). The link columns are 13.75px text in a
   flex column with a 9px gap — about a 22px line box, roughly half the site's
   >=44px rule, and they are packed tightly enough that a thumb regularly hits
   the neighbour. min-height only; the font size is deliberately unchanged, so
   the footer reads identically and simply becomes taller on a phone. Desktop
   keeps the compact column. */
@media(max-width:899.98px){
  .nel-footer li a{display:inline-flex;align-items:center;min-height:44px;}
}

/* ══ BANDS ═══════════════════════════════════════════════════════════════ */
.nel-stats-band{background:linear-gradient(120deg,#C0392B,#A93226);color:#fff;}
.nel-stats-band .ns-num{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:800;font-size:clamp(28px,4vw,40px);line-height:1;}
.nel-stats-band .ns-lab{font-size:13px;opacity:.9;margin-top:6px;}
.nel-dark-band{background:#0E0E0E;color:#F2EFE9;}

/* USP benefits bar (sits above the stats band) */
.nel-usp-band{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.nel-usp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;}
@media(min-width:820px){.nel-usp-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
.nel-usp-item{display:flex;align-items:flex-start;gap:10px;color:var(--ink);
  font-weight:600;font-size:14px;line-height:1.3;min-width:0;}
/* flex-start, not center: 'Alle handelsmerke gediens' wraps to three lines on
   a phone and the tick was floating at the middle of the block, level with
   nothing. It now leads the first line, which is also where the eye starts. */
/* 320px OVERFLOW FIX (2026-08-27). Measured, not guessed: at a 320px viewport
   the band pushed the document to 335px and scrolled the whole page sideways.
   Cause is min-content, not styling — "Geakkrediteerde" is a 15-character
   unbreakable Afrikaans word, so an item needs 22px icon + 10px gap + ~132px
   word = ~164px, against the ~129px a two-column grid can give it inside a
   320px wrap. Two columns only become safe at ~390px, which is exactly where
   the measurement came out clean, so one column below 390px and nothing above
   it changes. Breaking the word instead was rejected: hyphenating a brand
   promise mid-word reads as a rendering fault to the customer. */
@media(max-width:389.98px){
  .nel-usp-grid{grid-template-columns:minmax(0,1fr);}
}
.nel-usp-item svg{flex:0 0 auto;width:22px;height:22px;color:var(--red-text);margin-top:-1px;}

/* ══ WHATSAPP FAB ════════════════════════════════════════════════════════ */
.nel-fab{position:fixed;right:18px;bottom:18px;z-index:120;width:54px;height:54px;
  border-radius:50%;background:var(--wa);color:#fff;display:flex;align-items:center;
  justify-content:center;box-shadow:0 10px 26px rgba(14,124,58,.4);transition:background .15s;}
.nel-fab:hover{background:var(--wa-hover);}
/* LABELLED PILL ON MOBILE (T4c) ─────────────────────────────────────────────
   Desktop keeps the deliberate 54px circular icon FAB. On phones/tablets
   (<900px) — where the sticky CTA does the real conversion work — it expands
   into a labelled pill ("WhatsApp Verkope"/"WhatsApp Sales", toggled by the
   data-t on the span). Pill height stays 52px (>=44px tap, <=54px) so the
   existing .nel-legal clearance below still clears it vertically; it only
   grows leftward. Label sits AFTER the icon via flex order, DOM order aside. */
.nel-fab-label{display:none;}
@media(max-width:899.98px){
  /* 2026-08-27: the pill was min-height 52px, 20/15px padding and the full
     "WhatsApp Verkope" label — ~215px, over half a 390px screen — and being
     fixed it sat straight on top of each product card's "Besonderhede" link
     as you scrolled. Measured on a 390px render, not guessed. Shortened to
     the word WhatsApp (the aria-label still says WhatsApp Verkope / Sales,
     so the accessible name still contains the visible one) and tightened to
     ~130px. Still 48px tall, above the 44px tap rule; the .nel-legal 76px
     clearance below still clears it. */
  .nel-fab{width:auto;height:auto;min-height:48px;border-radius:24px;
    padding:0 16px 0 13px;gap:8px;}
  .nel-fab svg{flex:none;order:0;width:22px;height:22px;}
  .nel-fab-label{display:inline-block;order:1;font-weight:700;font-size:13.5px;
    line-height:1;white-space:nowrap;
    font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;}
}

/* FAB CLEARANCE (<900px) ───────────────────────────────────────────────────
   The FAB is fixed and reaches 18px + 54px = 72px up from the bottom of the
   viewport, so whatever sits at the very END of the document is permanently
   underneath it — there is no scrolling further to escape. On a phone that
   was the .nel-legal row, whose right-hand span holds the Sitemap and
   kirkwoodtractors.co.za links, i.e. two real links sitting under an opaque
   green circle. Reserving the space on the last block is preferred over
   moving the FAB, which is a deliberate fixed brand element and stays at its
   54px (>=44px) tap size. 76px on top of the row's own inline 22px gives 98px
   of clearance against the FAB's 72px. Desktop is untouched: the layout is
   wide enough there that the FAB never lands on the legal text. */
@media(max-width:899.98px){
  .nel-legal{padding-bottom:76px;}
}

/* ══ PRODUCT CARD ════════════════════════════════════════════════════════
   Photos vary wildly: white studio cut-outs, phone shots in orchards, wide
   implements. object-fit:contain so the WHOLE machine always shows — never
   crop wheels or implement ends. The logo-fallback state is production
   approved by the owner, so it is styled deliberately, not as a broken box. */
/* PHOTO-HOLDER BACKGROUND (owner request 2026-07-29)
   The holder is BLACK by default so the machine reads with strong contrast —
   and because most of the library is shot on black already: measuring the edge
   pixels of all 230 product photos gave 186 dark / 44 white-studio. On the dark
   ones the holder is now seamless with the photo's own backdrop.

   The 44 white-backdrop shots (all Avant attachments, most JBH, TAFE, a few
   Kubota) would otherwise show as a white rectangle floating on black, so each
   product carries a measured `bg` in the catalog and the renderer adds
   .is-light for those. Result: every holder matches its own photo, in both
   themes. Regenerate the measurements if the photo library changes. */
/* 2026-08-18 REWRITE. The old rule picked the holder colour from the PHOTO
   (black for dark shots, bone for white-studio shots) and never looked at the
   theme. Measured on products.html: 22 of 24 holders rendered #0E0E0E, which
   is 19.3:1 against a white card on a cream page — a wall of black rectangles
   in day theme. Dark theme had the mirror problem with the bone holders.
   The holder is now a THEMED surface, and how the photo sits in it is decided
   by what KIND of photo it is:
     .is-scene  — a real photograph with its own background (field, workshop,
                  sky). Fills the holder edge to edge, so no letterbox bars and
                  no holder colour is visible at all. This is the default.
     .is-cutout — a studio shot whose flat backdrop has been made transparent.
                  Sits INSIDE the holder with padding, so the machine floats on
                  the themed plate and reads correctly in day and night.
     .is-light  — legacy: a white-backdrop JPEG not yet cut out. Keeps a bone
                  plate so the photo's own white does not show as a hard edge.
                  Remove each one as its cut-out lands.                        */
.nel-prod-media{position:relative;aspect-ratio:4/3;background:#0E0E0E;
  display:flex;align-items:center;justify-content:center;overflow:hidden;}
.nel-prod-media img{width:100%;height:100%;object-fit:contain;padding:8px;display:block;}
/* LEGACY (default): plate colour copied from the photo's own backdrop.       */
.nel-prod-media.is-light{background:#F2EFE9;}
/* SCENE: a real photograph with its own background. Fills the holder edge to
   edge, so there are no letterbox bars and no plate colour is ever visible —
   which is what removed the black bars from the light theme.                 */
.nel-prod-media.is-scene{background:var(--plate);}
.nel-prod-media.is-scene img{object-fit:cover;padding:0;}
/* CUT-OUT: studio shot with its flat backdrop made transparent. The machine
   floats on a plate that follows the THEME, so it reads correctly in day and
   night instead of being a hard white or black rectangle in one of them.     */
.nel-prod-media.is-cutout{background:var(--plate);}
.nel-prod-media.is-cutout img{object-fit:contain;padding:10px;}
/* No photo yet -> neutral surface, so the brand-logo fallback reads normally
   instead of sitting on a hard black block. */
.nel-prod-media.is-empty{background:var(--surface2);}
.nel-prod-fallback{display:flex;flex-direction:column;align-items:center;gap:8px;
  color:var(--muted);text-align:center;padding:16px;}
/* The 150px width cap bound first on every wide lockup — Kubota drew 150x29
   here — and .85 opacity then faded what was left. This is the ONLY thing in
   a card for a product with no photo yet, so it should read as the brand. */
.nel-prod-fallback img{width:auto;height:auto;max-height:84px;max-width:100%;
  object-fit:contain;padding:0;opacity:1;}
/* A knockout logo (see plate:"dark" in NEL.brands) needs its own ground in
   the no-photo fallback too, otherwise half the lockup vanishes here. */
.nel-prod-fallback.is-dark img{background:#141414;border-radius:6px;padding:8px 12px;opacity:1;}
.nel-prod-body{padding:16px;}
.nel-prod-name{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:700;font-size:17.5px;line-height:1.25;}

/* ══ SPEC TABLE (zebra) ══════════════════════════════════════════════════ */
.nel-spec{width:100%;border-collapse:collapse;font-size:15px;}
.nel-spec tr:nth-child(odd){background:var(--surface2);}
.nel-spec tr:nth-child(even){background:var(--surface);}
.nel-spec th,.nel-spec td{text-align:left;padding:12px 16px;border:0;}
.nel-spec th{font-weight:600;color:var(--muted);width:45%;}
.nel-spec td{font-weight:700;}

/* ══ TIMELINE (About) ════════════════════════════════════════════════════ */
.nel-tl{position:relative;padding-left:30px;}
.nel-tl::before{content:'';position:absolute;left:5px;top:6px;bottom:6px;width:2px;background:var(--red);opacity:.35;}
.nel-tl-item{position:relative;padding-bottom:32px;}
.nel-tl-item::before{content:'';position:absolute;left:-29px;top:6px;width:12px;height:12px;
  border-radius:50%;background:var(--red);}
.nel-tl-year{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:800;color:var(--red-text);font-size:19px;}

/* ══ EMPTY STATE ═════════════════════════════════════════════════════════ */
.nel-empty{border:2px dashed var(--line);border-radius:16px;padding:44px 20px;text-align:center;color:var(--muted);}

/* ══ HERO (Home) ═════════════════════════════════════════════════════════
   The scrim, not the photo, carries text contrast — copy stays readable even
   if the image never loads on a weak connection. Hero copy is pinned light in
   BOTH themes because the scrim is always dark; that is deliberate. */
/* dvh duplicate: 86vh is measured against the LARGE viewport, so on a mobile
   browser the hero is sized as if the URL bar were already hidden and the
   page visibly jumps as it collapses. dvh tracks the live viewport. The vh
   line stays first as the fallback. */
.nel-hero{position:relative;overflow:hidden;background:#0A0A0A;
  min-height:clamp(560px,86vh,760px);
  min-height:clamp(560px,86dvh,760px);display:flex;align-items:center;}
.nel-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center right;}
/* SCRIM — 2026-09-11. The old ramp was written for a left-aligned hero: it
   was already down to .35 opacity at 72% of the width. But the hero content is
   CENTRED in a 1180px wrap, so at 1440px the text runs from 378px to 1062px —
   it ENDS at 74%, i.e. the last third of every headline and both paragraphs
   were sitting on bare photograph (bright sky and the orange bonnet). Measured,
   not guessed. The dark band now holds across the whole content column and only
   falls away past it, so the photo still reads on the right where no text is. */
.nel-hero-scrim{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(96deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.91) 40%,
    rgba(10,10,10,.80) 62%, rgba(10,10,10,.56) 78%, rgba(10,10,10,.22) 92%,
    rgba(10,10,10,.10) 100%),
    linear-gradient(to top, rgba(10,10,10,.85) 0%, rgba(10,10,10,0) 32%);}
.nel-hero-inner{position:relative;z-index:2;padding-top:52px;padding-bottom:76px;color:#fff;}
.nel-hero-kicker{display:inline-flex;align-items:center;gap:9px;padding:7px 15px;
  border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.07);
  font-size:13px;font-weight:600;color:#F2EFE9;backdrop-filter:blur(6px);}
.nel-hero-title{margin:20px 0 0;}
.nel-hero-title span{display:block;}
.nel-hero-tag{font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:700;font-size:clamp(12.5px,1.6vw,15px);
  letter-spacing:.2em;text-transform:uppercase;color:#CFC9C0;margin-top:12px;}
.nel-hero-sub{max-width:56ch;margin-top:20px;color:#EDE9E2;font-size:17px;}
/* #A8A29A is the muted tone for a FLAT dark panel. Over a photograph it is
   the weakest text on the page — lifted so it survives the brightest part
   of the hero image. */
.nel-hero-sub2{max-width:56ch;margin-top:12px;color:#D6D1C9;font-size:15px;}
.nel-hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;}
.nel-cta-assure{margin-top:14px;font-size:13.5px;color:#CFC9C0;display:flex;align-items:center;gap:7px;}
.nel-cta-assure span[aria-hidden]{font-size:14px;line-height:1;}
.nel-hero-trust{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:18px;}
.nel-hero-trust li{display:flex;align-items:center;gap:9px;font-size:14px;color:#EDE9E2;}
.nel-tick{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;
  border-radius:50%;background:rgba(192,57,43,.22);color:#FF8B78;font-size:12px;flex-shrink:0;}
.nel-hero-contact{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px;}
.nel-hero-contact a{display:flex;flex-direction:column;gap:2px;padding:10px 16px;border-radius:10px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#fff;min-height:44px;
  justify-content:center;transition:background .15s;}
.nel-hero-contact a:hover{background:rgba(255,255,255,.13);}
/* #A8A29A is the muted grey for a flat panel; these two sit on PHOTOGRAPH.
   Measured on the 414px render: the captions came out at 5.49:1 and the meta
   line at 4.84:1 — the two weakest pieces of text on the home page, scraping
   past AA. At #CFC9C0 they are 8.6:1 and 7.6:1 over the same pixels. */
.nel-hero-contact .nel-caption{color:#CFC9C0;}
.nel-hero-meta{display:flex;flex-wrap:wrap;gap:16px;margin-top:14px;font-size:13.5px;color:#CFC9C0;}
.nel-hero-meta a{color:#CFC9C0;}
.nel-scroll{position:absolute;left:50%;transform:translateX(-50%);bottom:18px;z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:4px;color:rgba(255,255,255,.6);
  font-size:11px;letter-spacing:.2em;text-transform:uppercase;}
.nel-bob{animation:nelBob 2s ease-in-out infinite;font-size:15px;}
@keyframes nelBob{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
/* ══ MOBILE HERO — 2026-09-12 ════════════════════════════════════════════
   Measured on a 414x896 render, not guessed. The hero came out 1176px tall
   on an 896px screen: you scrolled a full screen and a third before a single
   machine appeared. And the 96deg scrim above was written for a CENTRED
   desktop column — on a phone the text runs the full width (5% to 95%), but
   the ramp is down to .56 at 78% and .22 at 92%, so the right third of every
   line sat on bare photograph. In this image that is blown-out sunlit grass,
   and the trust ticks, the phone-number cards and their captions were all
   white-on-bright-green. Three separate fixes, all below 640px, desktop
   untouched:

     1. The scrim goes near-uniform. A photo behind a full-width block of
        text can only ever be texture on a phone; pretending otherwise costs
        legibility and buys nothing.
     2. The second hero paragraph is hidden. It repeats the first almost
        claim for claim — "since 1980" appears in the kicker, in paragraph
        one, in paragraph two AND in the trust list, four times inside one
        screen. Paragraph one carries the offer; the ticks carry the proof.
     3. Spacing, button width and the phone cards tighten up, and the opening
        hours come out of the hero footer — they are already in the black
        strip at the top of the page and in the line under the buttons.

   Net: 1176px -> one screen, so the machines start where the hero ends. */
@media(max-width:640px){
  .nel-hero{min-height:auto;}
  .nel-hero-scrim{
    background:linear-gradient(180deg, rgba(10,10,10,.90) 0%, rgba(10,10,10,.84) 38%,
      rgba(10,10,10,.85) 72%, rgba(10,10,10,.90) 100%);}
  .nel-hero-inner{padding-top:28px;padding-bottom:36px;}
  .nel-hero-title{margin-top:16px;}
  .nel-hero-sub{margin-top:16px;}
  /* see note 2 above — duplicate of .nel-hero-sub on a screen this size */
  .nel-hero-sub2{display:none;}
  .nel-hero-ctas{margin-top:20px;gap:10px;}
  .nel-hero-trust{margin-top:20px;gap:12px;}
  .nel-hero-contact{margin-top:20px;gap:8px;}
  .nel-hero-contact a{flex:1 1 100%;padding:8px 14px;min-height:40px;}
  .nel-hero-meta{margin-top:12px;}
  /* the same hours are in the utility strip and under the buttons */
  .nel-hero-meta span[data-t="hours"]{display:none;}
  .nel-scroll{display:none;}
  /* the clock was vertically centred against a two-line sentence, so it
     floated free in the gap between the lines instead of leading line one */
  .nel-cta-assure{align-items:flex-start;}
  .nel-cta-assure span[aria-hidden]{margin-top:2px;}
}
/* Stacked buttons were sitting at their natural width — just under half the
   screen — with an empty right half beside them, which reads as unfinished.
   In Afrikaans they always stack ("WhatsApp Verkope" does not fit beside
   "Vind Jou Masjien"); in English they still sit side by side above 480px. */
@media(max-width:479.98px){
  .nel-hero-ctas{display:grid;grid-template-columns:minmax(0,1fr);}
  .nel-hero-ctas>.nel-btn{width:100%;justify-content:center;}
  /* The kicker wraps to two lines in Afrikaans and there is no honest way
     round it: measured at 414px, the Afrikaans line needs 352px at 11.5px
     and the pill can only give 336px, and the size that would fit it is too
     small to read at arm's length. English (324px) does fit on one line.
     So Afrikaans wraps, and it now wraps properly: the dot used to be
     centred against the PAIR of lines, level with the gap between them, and
     it now leads line one, which is where the eye starts. */
  .nel-hero-kicker{align-items:flex-start;font-size:11.5px;padding:7px 12px;
    gap:7px;line-height:1.45;}
  /* balance the two lines so it breaks at a separator instead of orphaning
     "1980" on a line of its own; ignored by browsers that lack it, which
     just get the ragged break they get today */
  .nel-hero-kicker>span:not(.nel-dot){text-wrap:balance;}
  .nel-hero-kicker .nel-dot{margin-top:.45em;}
}

/* ══ HOME BLOCKS ═════════════════════════════════════════════════════════ */
.nel-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;text-align:center;}
@media(min-width:760px){.nel-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
  .nel-stats-grid>div+div{border-left:1px solid rgba(255,255,255,.25);}}

.nel-brand-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;
  padding:20px 20px 0;position:relative;}
.nel-brand-card-body{flex:1;padding-bottom:20px;}
.nel-brand-card .nel-brand-bar{position:absolute;left:0;right:0;bottom:0;}

.nel-icon-tile{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:10px;background:var(--red-soft);color:var(--red-text);}

.nel-used-split{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;}
@media(min-width:900px){.nel-used-split{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);}}
.nel-used-photo{background:var(--surface2);aspect-ratio:4/3;}
.nel-used-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.nel-used-copy{padding:28px;}

.nel-since-card{background:linear-gradient(160deg,#1C1C1C,#151515);border:1px solid #2B2B2B;
  border-radius:14px;padding:22px;}
.nel-since-bar{display:block;width:44px;height:4px;border-radius:2px;background:var(--red);margin-bottom:14px;}

.nel-contact-split{display:grid;gap:20px;grid-template-columns:minmax(0,1fr);}
@media(min-width:900px){.nel-contact-split{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);}}
.nel-method{display:flex;align-items:center;gap:14px;padding:16px 18px;min-height:44px;}
.nel-method strong{display:block;font-size:16.5px;}

/* ══ SEARCH RESULTS ══════════════════════════════════════════════════════
   There are TWO search inputs and their offset parents are different shapes,
   so one set of insets cannot serve both:
     • header  — the dropdown's offset parent is the search row's .nel-wrap,
                 which carries the wrap's own side padding. The panel has to
                 back that padding off to line up with the input inside it.
     • drawer  — the offset parent is the narrow <span style="flex:1;
                 position:relative"> wrapped directly around the input, which
                 has NO padding. The old flat left:20px;right:20px therefore
                 inset the dropdown 20px on each side of an already-narrow
                 box, leaving a stub of a panel under a full-width field.
   Base case is now the drawer (flush), and the header instance re-adds the
   wrap padding. Note the header value tracks .nel-wrap: 20px below 900px and
   32px from 900px up — the flat 20px was also wrong at desktop, where the
   panel sat 12px proud of the input on each side. */
.nel-search-results{position:absolute;left:0;right:0;top:100%;z-index:95;
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
  box-shadow:var(--shadow-raised);overflow:hidden;max-height:340px;overflow-y:auto;}
.nel-header .nel-search-results{left:20px;right:20px;}
@media(min-width:900px){.nel-header .nel-search-results{left:32px;right:32px;}}
.nel-search-hit{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 15px;color:var(--ink);border-bottom:1px solid var(--line);font-size:14.5px;}
.nel-search-hit:last-child{border-bottom:0;}
.nel-search-hit:hover{background:var(--surface2);}

/* ══ SKIP LINK ═══════════════════════════════════════════════════════════
   Hidden until focused, then pinned over the sticky header. First thing in the
   tab order on every page, so a keyboard or screen-reader user can jump the
   40-odd header links straight to the content. */
.nel-skip{position:absolute;left:12px;top:-60px;z-index:400;
  background:var(--red);color:#fff;font-weight:700;font-size:14px;
  padding:11px 18px;border-radius:0 0 10px 10px;transition:top .15s;}
.nel-skip:focus{top:0;outline:none;box-shadow:0 0 0 3px var(--red-soft);}

/* ══ SCROLL PROGRESS ═════════════════════════════════════════════════════
   2px bar across the very top of the sticky header. Deliberately subtle — on a
   catalogue this is orientation, not decoration. Hidden for reduced-motion
   users (it is a moving element that tracks the scroll). */
.nel-progress{position:fixed;top:0;left:0;height:2px;width:0;z-index:300;
  background:var(--red);transition:width .08s linear;pointer-events:none;}

/* ══ BACK TO TOP ═════════════════════════════════════════════════════════
   Sits directly ABOVE the WhatsApp FAB, never overlapping it: the FAB is 54px
   at bottom:18px, so this starts at bottom:84px. Only appears after 600px of
   scroll, so it never covers hero content. */
.nel-totop{position:fixed;right:18px;bottom:84px;z-index:120;
  width:44px;height:44px;border-radius:50%;
  background:var(--surface);color:var(--ink);border:1.5px solid var(--line);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  box-shadow:var(--shadow-rest);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .18s,transform .18s,visibility .18s,background .15s;}
.nel-totop.is-on{opacity:1;visibility:visible;transform:translateY(0);}
.nel-totop:hover{background:var(--surface2);border-color:var(--ink);}

/* ══ PRINT ═══════════════════════════════════════════════════════════════
   Farmers do print spec sheets to take to the workshop, and a quote often
   starts as a printed product page. Strip the furniture, keep the facts, and
   force light colours so it does not dump a page of black ink. */
@media print{
  :root,[data-nel-theme="dark"]{
    --bg:#fff;--page-bg:#fff;--surface:#fff;--surface2:#fff;
    --ink:#000;--muted:#333;--line:#bbb;--red-text:#000;--red:#000;
  }
  html,body{background:#fff!important;color:#000!important;}
  .nel-utility,.nel-header,.nel-drawer,.nel-fab,.nel-totop,.nel-progress,
  .nel-skip,.nel-scroll,.nel-mega,.nel-search-results,#nel-search-row,
  .nel-footer,.nel-legal,.nel-lb,.nel-cta-band,.nel-help,
  [data-drawer-open],[data-theme-toggle],[data-search-toggle]{display:none!important;}
  .nel-section{padding-top:12pt!important;padding-bottom:12pt!important;}
  .nel-hero{min-height:auto!important;}
  .nel-hero-photo,.nel-hero-scrim{display:none!important;}
  .nel-hero-inner{color:#000!important;}
  .nel-card,.nel-panel,.nel-spec-wrap,.nel-feat,.nel-trust{
    box-shadow:none!important;border:1px solid #bbb!important;break-inside:avoid;}
  .nel-prod-media,.nel-gal-stage,.nel-gal-shot,.nel-gal-thumb,.nel-sp-stage{background:#fff!important;}
  .nel-stat-card,.nel-since-card{background:#fff!important;border:1px solid #bbb!important;}
  .nel-stat-num,.nel-stat-lab{color:#000!important;}
  h1,h2,h3,h4{break-after:avoid;}
  .nel-spec tr{break-inside:avoid;}
  /* Print the destination of a link the reader cannot click. */
  main a[href^="http"]::after{content:" (" attr(href) ")";font-size:9pt;color:#555;}
  main a[href^="tel:"]::after,main a[href^="mailto:"]::after{content:"";}
  @page{margin:14mm;}
}

/* While the theme flips, kill every transition for one frame — otherwise the
   page background snaps instantly while ~60 nav/button elements fade over
   150ms, which reads as a shimmer across the header. */
html.nel-theming *,html.nel-theming *::before,html.nel-theming *::after{
  transition:none!important;}

/* ══ REDUCED MOTION ══════════════════════════════════════════════════════ */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important;}
}


/* ══ ON-DARK TEXT — resolved at source (2026-08-21) ══════════════════════
   There was a safety net here matching [style*="#5B5650"] inside .nel-utility
   and .nel-footer, because inline colour:#5B5650 on those near-black bars
   measures 2.66:1 against the 4.5:1 AA minimum. It did its job — the rendered
   contrast was always 6.42:1, never 2.66:1 — but it worked by pattern-matching
   a hex string inside a style attribute and overriding it with !important,
   which is not something to leave in a codebase: it breaks silently the moment
   the hex is written differently (rgb(), #5b5650, extra spaces).

   Both shell templates now emit `color:var(--on-dark-muted)` directly, and
   build-shell.py has stamped that into all 22 pages, so the net has nothing
   left to catch. Deleted per its own instruction. If an inline #5B5650 ever
   reappears on a dark bar, fix the TEMPLATE — do not restore this. */

/* CLS: the breadcrumb is built by JS (innerHTML) and ships at zero height, so
   when it appears it pushes the H1 and everything below it down. Reserving its
   measured height costs nothing visually — the row is a fixed single line:
   21px desktop, 44px under 900px where its links already carry a 44px target. */
.nel-crumb{min-height:21px;}
@media(max-width:899.98px){.nel-crumb{min-height:44px;}}

/* ══ BRAND SLOGAN (home brand grid) ══════════════════════════════════════
   The manufacturer's own line, shown under the brand name. Set in italic so
   it reads as a quoted mark rather than as our own copy, at full --ink so it
   outranks the descriptor below it. Only brands with a verified slogan render
   this element at all
   (see brandSlogan in nel-data.js), so it must not carry any margin that
   would leave a gap on the brands that do not. */
.nel-brand-slogan{display:block;margin-top:5px;font-size:13px;font-style:italic;
  font-weight:600;color:var(--ink);line-height:1.35;}

/* Knockout logo plate. One brand (Nukor) only supplies a white-on-dark
   lockup; its tile gets a dark plate in BOTH themes so the artwork is used
   unaltered rather than recoloured. Driven by plate:"dark" in NEL.brands. */
.nel-logo-tile.is-dark{background:#141414;border-color:#141414;}

/* FULL-FRAME PHOTO (bg:"full") ───────────────────────────────────────────
   A photograph that is too far off 4:3 for `cover` to be honest about — the
   portrait shots off a phone lose 44% of the frame that way, and what goes is
   the bottom of the machine. These are contained on the theme plate instead,
   so the whole machine is there. Distinct from .is-cutout, which means the
   backdrop was actually made transparent. */
.nel-prod-media.is-full{background:var(--plate);}
.nel-prod-media.is-full img{object-fit:contain;padding:8px;}

/* ══ PHOTO GUARD ════════════════════════════════════════════════════════
   Stops a product photo being dragged out of the page onto the desktop, which
   is how casual copying actually happens. It is a deterrent, not protection —
   see the long note on initPhotoGuard in js/nel-app.js. Scoped to product
   photography only: logos, icons and the map keep normal behaviour. */
.nel-prod-media img,.nel-gal-stage img,.nel-gal-thumb img,.nel-zoom-stage img,
.nel-used-cover img,.nel-gal-cell img,.nel-used-photo img,img.nel-guard{
  -webkit-user-drag:none;user-select:none;-webkit-user-select:none;}
.nel-guard-toast{position:fixed;z-index:400;transform:translate(-50%,-140%);
  max-width:min(300px,calc(100vw - 24px));padding:9px 13px;border-radius:9px;
  background:#141414;color:#F2EFE9;font-size:12.5px;line-height:1.45;font-weight:600;
  box-shadow:0 10px 30px rgba(0,0,0,.35);pointer-events:none;opacity:0;
  transition:opacity .16s;text-align:center;}
.nel-guard-toast.is-on{opacity:1;}
@media(prefers-reduced-motion:reduce){.nel-guard-toast{transition:none;}}

/* ══ LONG COMPOUND WORDS IN CARD HEADINGS ═══════════════════════════════
   Afrikaans builds single words that English splits: "Waarborgondersteuning"
   is 21 characters with no break opportunity, and at the 4-up desktop width it
   was overflowing its card and being clipped mid-word (measured: scrollWidth
   218px in a 220px box at 1440 AND at 1024; it only fitted on a phone, where
   the cards are full width). Hyphenation first — the browser breaks it at a
   real syllable when it knows the language, which the <html lang> attribute
   gives it — then anywhere, as the guarantee that nothing is ever cut off. */
.nel-h3,.nel-card h3,.nel-prod-name,.nel-used-name,.nel-brand-card strong{
  overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;}

/* ══ USP BAND ════════════════════════════════════════════════════════════
   74px tall between a full-height hero and the red stats band, which made it
   read as a divider rather than a section — and the items that wrapped to two
   lines had no room to breathe. */
.nel-usp-band{padding-top:22px;padding-bottom:22px;}
.nel-usp-grid{align-items:start;row-gap:14px;}
.nel-usp-item{line-height:1.4;}

/* The second-hand teaser photo is portrait (1200x1600) in a landscape holder,
   so centre-cropping it cut the top of the cab and the bottom of the wheels.
   Anchored high, where the machine is. */
.nel-used-photo img{object-position:50% 38%;}

/* ══ THUMB-SIZED LINKS, ROUND TWO (2026-10-29) ══════════════════════════
   Measured at 390px with headless Chrome, every visible link and button: the
   remaining ones under 40px tall were all phone numbers, the e-mail address
   and "see all" links — exactly what a farmer taps with a thumb on a bakkie
   seat. The legal row's 24px floor (above) cleared the AA minimum but not the
   site's own 44px rule. min-height only, phones only: nothing changes size
   on desktop and the text does not move. */
@media(max-width:899.98px){
  .nel-legal a,
  .nel-hero-meta a,
  .nel-con-row a.nel-con-val,
  .nel-con-sub a,
  a.nel-red[href]{display:inline-flex;align-items:center;min-height:44px;}
}

/* ══ FORMAL PASS (2026-11-12, owner-approved audit) ═══════════════════════
   Subtraction, not new decoration: one photo plate for every product, no
   per-brand colour bars on cards, a calmer hero, a quieter stats band and the
   blurry logo PNG out of the header until the real vector logo arrives. All
   overrides live here so the pass can be rolled back by deleting this block. */

/* Product photo plate — owner: "keep the product background or grey". Real
   photographs keep their own background (.is-scene, cover). Everything else
   (cut-outs, white studio shots, contained phone shots) sits on ONE soft grey
   in BOTH themes, which also hides the white fringe left round cut-outs whose
   backdrop was not removed cleanly — on the old near-black plate that fringe
   showed as a halo. */
:root{--photo-plate:linear-gradient(180deg,#F2F1EF 0%,#DDDBD7 100%);}
.nel-prod-media,
.nel-prod-media.is-light,
.nel-prod-media.is-cutout,
.nel-prod-media.is-full{background:var(--photo-plate);}
.nel-prod-media.is-scene{background:#1A1A1A;}

/* Year-model badge on new stock (p.yr in nel-data.js). */
.nel-yr-badge{position:absolute;left:10px;top:10px;z-index:1;padding:4px 9px;border-radius:999px;
  background:rgba(14,14,14,.82);color:#F2EFE9;font-size:12px;font-weight:700;letter-spacing:.02em;
  line-height:1.2;pointer-events:none;}

/* Cards: brand shown by the small dot only. The coloured 3px bar on every
   product and brand card made the grids read as a patchwork. */
.nel-card-link>.nel-brand-bar,
.nel-brand-card .nel-brand-bar{display:none;}
/* Same card for every brand: slogans were on 3 of 10 cards only. */
.nel-brand-slogan{display:none;}

/* HERO — fewer elements, aligned to the page grid. The inner wrap is a flex
   ITEM of .nel-hero, so without an explicit width it shrank to its content and
   centred itself, starting the copy ~250px right of every other section. */
.nel-hero{min-height:clamp(480px,72vh,660px);min-height:clamp(480px,72dvh,660px);}
.nel-hero-inner{width:100%;padding-top:64px;padding-bottom:72px;}
.nel-hero-sub{font-size:18px;line-height:1.55;}
.nel-hero-ctas{margin-top:30px;}
.nel-hero-line{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;
  font-size:14px;color:#CFC9C0;}
.nel-hero-line a{color:#FFFFFF;font-weight:700;}
.nel-hero-line a:hover{color:#FF8B78;}
.nel-hero-sep{opacity:.55;}
@media(max-width:640px){
  .nel-hero-inner{padding-top:32px;padding-bottom:40px;}
  .nel-hero-sub{font-size:16.5px;}
  .nel-hero-line{gap:4px 8px;}
  .nel-hero-line a{display:inline-flex;align-items:center;min-height:44px;}
}

/* STATS — three facts on a dark band with a thin red rule, instead of four
   (two of which said "since 1980" twice) on a full-red slab. */
.nel-stats-band{background:#141414;color:#F2EFE9;border-top:3px solid #C0392B;border-bottom:1px solid #262626;}
.nel-stats-band .ns-num{color:#FFFFFF;}
.nel-stats-band .ns-lab{color:#CFC9C0;opacity:1;font-size:13px;letter-spacing:.04em;}
.nel-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.nel-stats-grid>div+div{border-left:1px solid rgba(255,255,255,.14);}
@media(max-width:759.98px){.nel-stats-band .ns-num{font-size:26px;}.nel-stats-band .ns-lab{font-size:12px;}}

/* LOGO — the only logo file is a flat 1536x1024 PNG whose lettering is
   unreadable at 46px. Until the vector logo exists the header, drawer and
   footer use the wordmark alone, with a red rule as the mark. */
.nel-logo-tile:has(> img[src$="logo-nels.png"]){display:none;}
/* 2026-11-23: the header, drawer and footer show the tractor-and-arcs mark
   (logo-nels-mark.png, no lettering, so it reads at small size) next to the wordmark. */
.nel-logo-tile:has(> img[src$="logo-nels-mark.png"]){padding:4px 6px;}
span:has(> .nel-lockup-name){border-left:3px solid #C0392B;padding-left:10px;}
.nel-lockup-sub{font-size:11.5px;letter-spacing:.16em;}

/* Minimum readable size for small labels (audit: 10–11.5px). */
.nel-chip-n{font-size:12px;}

/* LIGHT THEME — the near-black utility strip over a cream header looked like
   two different sites stacked. In light it now follows the page. Its links and
   spans carry inline colours written for the dark strip, hence !important. */
[data-nel-theme="light"] .nel-utility{background:#EFEBE2;border-bottom:1px solid #E3DDD2;}
[data-nel-theme="light"] .nel-utility span{color:#5B5650!important;}
[data-nel-theme="light"] .nel-utility a{color:#141414!important;}
[data-nel-theme="light"] .nel-utility a[href*="wa.me"]{color:#0E7C3A!important;}

/* Footer page links: 44px tall already on phones; give short words ("Tuis",
   "Nuus") the same 44px width so they are as easy to hit. */
.nel-footer li a{min-width:44px;}

/* ── SECOND-HAND: SOLD + photo count (2026-11-12, Website tab in Nel's App) ──
   A unit marked SOLD keeps its card for 30 days: grey photo, a red SOLD band
   across the bottom of the photo, no buttons. js/nel-secondhand.js removes
   the card once data-sold-until has passed. */
.nel-used-sold .nel-used-cover img{filter:grayscale(1);opacity:.6}
.nel-used-sold .nel-used-badge.nel-used-badge-sold{top:auto;left:0;right:0;bottom:0;border-radius:0;text-align:center;
  font-size:15px;font-weight:800;letter-spacing:.22em;padding:9px 0}
.nel-used-sold .nel-used-name{opacity:.75}
.nel-used-soldnote{margin-top:auto;padding-top:12px;font-size:14px;color:var(--muted)}
.nel-used-count{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.62);color:#fff;font-size:12px;
  font-weight:600;padding:4px 9px;border-radius:999px;pointer-events:none}
.nel-used-sold .nel-used-count{bottom:48px}
.nel-used-empty{grid-column:1 / -1;padding:28px;text-align:center;color:var(--muted)}

/* ── HERO: photo you can see + one-line name (2026-11-12, owner request) ──
   1. The name is ONE standalone line, "Nel's Distributors" (white + red),
      sized so it never wraps from a 360px phone up. It used to be a two-line
      stack that, on a phone, looked like a second copy of the header lockup.
      A short red rule under it separates the name from the tagline.
   2. The photo. On a computer the dark ramp is eased so the tractor on the
      right reads clearly; the text keeps a soft shadow for contrast.
      On a phone the text used to sit on the photo under a 85-90% black
      layer, so the tractor was invisible. Now the photo is its own band at
      the top of the hero (16:10, almost no tint), fading into the dark panel
      the text sits on - the machine is seen, the text stays fully legible. */
.nel-hero-title{white-space:nowrap;letter-spacing:-.015em;line-height:1.02;
  font-size:clamp(30px,8.2vw,78px);}
.nel-hero-title span{display:inline;}
.nel-hero-title::after{content:"";display:block;width:56px;height:4px;border-radius:2px;background:#C0392B;margin-top:16px;}
.nel-hero-tag{margin-top:14px;}
.nel-hero-inner{text-shadow:0 1px 14px rgba(0,0,0,.45);}
.nel-hero-scrim{
  background:linear-gradient(96deg, rgba(10,10,10,.93) 0%, rgba(10,10,10,.86) 38%,
    rgba(10,10,10,.66) 58%, rgba(10,10,10,.34) 74%, rgba(10,10,10,.08) 90%, rgba(10,10,10,0) 100%),
    linear-gradient(to top, rgba(10,10,10,.75) 0%, rgba(10,10,10,0) 28%);}
@media(min-width:641px){ .nel-hero-title{font-size:clamp(44px,6.2vw,78px);} }
@media(max-width:640px){
  .nel-hero{display:block;}
  .nel-hero-photo{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:16/10;
    object-position:62% 55%;}
  .nel-hero-scrim{inset:auto;top:0;left:0;right:0;aspect-ratio:16/10;
    background:linear-gradient(180deg, rgba(10,10,10,.10) 0%, rgba(10,10,10,0) 45%,
      rgba(10,10,10,.55) 82%, #0A0A0A 100%);}
  .nel-hero-inner{margin-top:-34px;padding-top:0;text-shadow:none;}
  .nel-hero-title{margin-top:18px;}
  .nel-hero-title::after{width:44px;height:3px;margin-top:12px;}
}

/* ── HERO WORDMARK (2026-11-12, from the approved design board) ──────────
   A big condensed "NEL'S" with "DISTRIBUTORS" spaced out beside a red bar,
   set in Barlow Condensed (self-hosted, SIL OFL). Replaces the pill badge,
   the two-tone Montserrat headline and the spaced tagline, which read as a
   template. On a computer the text sits bottom-left over the photo; on a
   phone the wordmark sits on the lower part of a tall photo. */
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/barlow-condensed-latin-700.woff2') format('woff2');}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;
  src:url('../fonts/barlow-condensed-latin-800.woff2') format('woff2');}
.nel-hero{align-items:flex-end;}
.nel-hero-inner{padding-bottom:72px;}
.nel-hero-eyebrow{margin:0 0 16px;font-size:13px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#E9E4DC;}
.nel-hero-title.nel-hero-wm{white-space:normal;display:flex;flex-direction:column;margin:0;line-height:.86;font-size:inherit;letter-spacing:0;}
.nel-hero-wm::after{display:none;}
.nel-hw-a{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:800;font-size:clamp(96px,11.5vw,168px);
  text-transform:uppercase;letter-spacing:-.01em;color:#fff;}
.nel-hw-b{display:flex;align-items:center;gap:18px;margin-top:12px;font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-weight:700;font-size:clamp(25px,3.2vw,46px);letter-spacing:.3em;text-transform:uppercase;color:#fff;}
.nel-hw-b i{display:block;flex:none;width:64px;height:6px;background:#C0392B;}
.nel-hero-tag{display:none;}
.nel-hero-sub{margin-top:24px;max-width:560px;}
.nel-btn.nel-hero-wa{background:transparent;border:1.5px solid rgba(255,255,255,.7);color:#fff;box-shadow:none;}
.nel-btn.nel-hero-wa:hover{background:rgba(255,255,255,.1);}
.nel-hero-scrim{background:linear-gradient(90deg, rgba(14,14,14,.82) 0%, rgba(14,14,14,.5) 42%, rgba(14,14,14,0) 70%),
  linear-gradient(0deg, rgba(14,14,14,.85) 0%, rgba(14,14,14,0) 34%);}
@media(max-width:640px){
  .nel-hero-photo{aspect-ratio:10/11;object-position:66% 50%;}
  .nel-hero-scrim{aspect-ratio:10/11;background:linear-gradient(180deg, rgba(14,14,14,0) 36%, rgba(14,14,14,.55) 66%, #0A0A0A 100%);}
  .nel-hero-inner{margin-top:-205px;padding-bottom:36px;}
  .nel-hero-eyebrow{font-size:11px;margin-bottom:8px;}
  .nel-hw-a{font-size:104px;}
  .nel-hw-b{font-size:25px;gap:10px;margin-top:8px;letter-spacing:.28em;}
  .nel-hw-b i{width:34px;height:4px;}
  .nel-hero-sub{margin-top:18px;}
}
.nel-hero-wm .nel-hw-a{display:block;}
.nel-hero-wm .nel-hw-b{display:flex;}
@media(max-width:640px){
  .nel-hero-scrim{background:linear-gradient(180deg, rgba(14,14,14,0) 30%, rgba(14,14,14,.66) 60%, #0A0A0A 100%);}
  .nel-hero-eyebrow{letter-spacing:.1em;text-shadow:0 1px 8px rgba(0,0,0,.7);}
  .nel-hero-wm{text-shadow:0 2px 18px rgba(0,0,0,.45);}
}

/* Second-hand: "Sold as is" badge (Website tab, 16 Nov 2026) */
.nel-used-badge.nel-used-badge-asis{background:#3A3A3A;color:#F2EFE9}

/* KATBATT lithium tick (product page + contact form) 2026-11-17 */
.nel-pd-opt{display:flex;align-items:flex-start;gap:10px;margin:14px 0 4px;padding:12px 14px;border:1px solid rgba(255,255,255,.14);border-radius:10px;cursor:pointer;font-size:14.5px;line-height:1.4}
.nel-pd-opt input{width:20px;height:20px;margin:1px 0 0;accent-color:#C0392B;flex:none}
.nel-pd-opt[hidden]{display:none}
[data-nel-theme="light"] .nel-pd-opt{border-color:rgba(0,0,0,.15)}


/* SECOND-HAND PHOTO ROTATOR (2026-11-23) - home page teaser */
.nel-used-rot{position:relative;display:block;overflow:hidden;}
.nel-used-rot img{position:absolute;inset:0;transition:opacity .9s ease;opacity:1;}
.nel-used-rot img.is-off{opacity:0;}
.nel-used-rot-cap{position:absolute;left:12px;bottom:12px;z-index:2;padding:6px 12px;border-radius:999px;
  background:rgba(14,14,14,.78);color:#F2EFE9;font-size:13px;font-weight:700;letter-spacing:.02em;
  max-width:calc(100% - 24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media (prefers-reduced-motion: reduce){.nel-used-rot img{transition:none;}}

/* 2026-11-23: with the logo mark back, keep the wordmark on one line on phones. */
@media(max-width:480px){header .nel-logo-tile-mark{width:56px;height:38px;border-radius:8px;}.nel-lockup-sub{white-space:nowrap;letter-spacing:.08em;}}

