/* ECCO Supply — site styles (dark, bold, Teko display type) */
:root {
  --red: #ed1c29;          /* ECCO signature red */
  --red-a11y: #d91a26;     /* red for text/links on white */
  --red-dark: #b3121c;
  --red-lt: #ff4b56;       /* red for text/links on dark backgrounds */
  --bg: #1d1a1a;           /* page background (matches eccosupply.ca) */
  --bg-2: #131111;         /* deeper sections */
  --bg-3: #282424;         /* raised panels */
  --bg-4: #332e2e;
  --text: #f4f2f1;
  --text-2: #d9d5d3;
  --muted: #b1aba8;
  --line: rgba(255,255,255,.12);
  --line-2: rgba(255,255,255,.22);
  --ink: #141212;          /* dark text on white surfaces */
  --ink-muted: #5d5856;
  --paper: #fff;
  --paper-2: #f1efee;
  --focus: #6aa6ff;
  --wrap: 1280px;
  --gutter: 24px;
  --hdr-h: 84px;
  --font-head: "Teko", "Arial Narrow", Impact, sans-serif;
  --font-body: "Roboto Flex", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); background: var(--bg-2); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-lt); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: .95; margin: 0 0 .45em; text-transform: uppercase; letter-spacing: .005em; color: #fff; }
h1 { font-size: clamp(3rem, 7.2vw, 6rem); font-weight: 700; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.7rem; line-height: 1; }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red-a11y); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
[hidden] { display: none !important; }
.red { color: var(--red); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--grey { background: var(--bg-2); }
.sec--tight { padding: clamp(44px, 6vw, 72px) 0; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(30px, 4vw, 48px); }
.sec__head > div { max-width: 720px; }
.sec__head h2 { margin-bottom: .2em; }
.sec__head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 1.4rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--red-lt); margin: 0 0 12px; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--red); }
.lead { font-size: 1.15rem; color: var(--text-2); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px 9px; border: 2px solid transparent; border-radius: 0; font: 500 1.3rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn svg { margin-top: -3px; }
.btn--red { background: var(--red-a11y); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--dark { background: #000; color: #fff; border-color: var(--line-2); }
.btn--dark:hover { background: var(--red-a11y); border-color: var(--red-a11y); color: #fff; }
.btn--line { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 15px 5px; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 500 1.25rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 2px solid var(--red); padding: 4px 0 3px; }
.link-arrow:hover { color: var(--red-lt); }
.link-arrow svg { margin-top: -3px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(4px); }
.ext::after { content: "\2197"; font-size: .85em; margin-left: 3px; }

/* Utility bar */
.utility { background: #0b0a0a; color: var(--muted); font-size: .84rem; }
.utility__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.utility p { margin: 0; }
.utility ul { list-style: none; display: flex; gap: 22px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: var(--red-lt); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: stretch; gap: 26px; height: var(--hdr-h); }
.hdr__logo { flex: none; display: flex; align-items: center; padding: 0 4px 0 0; }
.hdr__logo img { height: 58px; width: auto; }
.nav { flex: 1; display: flex; align-items: center; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 0; height: 100%; }
.nav__list > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link, .nav__btn { display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 4px 13px 0; background: none; border: 0; font: 500 1.4rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: #fff; text-decoration: none; cursor: pointer; }
.nav__btn svg { margin-top: -4px; transition: transform .15s; }
.nav__link:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"] { color: var(--red-lt); }
.nav__link[aria-current="page"], .nav__btn.is-current { box-shadow: inset 0 -4px 0 var(--red); }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__extra { display: none; }
.hdr__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: #fff; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { border-color: var(--red); color: var(--red-lt); }
.menu-toggle { display: none; }

.drop { position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--bg-3); border-top: 4px solid var(--red); box-shadow: 0 24px 40px rgba(0,0,0,.45); padding: 10px 0; }
.drop ul { list-style: none; }
.drop a { display: block; padding: 10px 22px; color: #fff; text-decoration: none; font: 500 1.3rem/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .03em; }
.drop a:hover { background: var(--bg-4); color: var(--red-lt); }
.drop small { display: block; color: var(--muted); font: 400 .84rem/1.4 var(--font-body); text-transform: none; letter-spacing: 0; margin-top: 2px; }

.has-mega { position: static !important; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-3); border-top: 4px solid var(--red); box-shadow: 0 30px 50px rgba(0,0,0,.5); }
.mega__in { display: grid; grid-template-columns: 1fr 320px; gap: 44px; padding-top: 34px; padding-bottom: 38px; }
.mega__title { font: 500 1.15rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--red-lt); margin: 0 0 12px; }
.mega__cats { list-style: none; columns: 3; column-gap: 32px; }
.mega__cats li { break-inside: avoid; }
.mega__cats a { display: block; padding: 8px 0 6px; color: #fff; text-decoration: none; font: 500 1.3rem/1.05 var(--font-head); text-transform: uppercase; letter-spacing: .02em; border-bottom: 1px solid var(--line); }
.mega__cats a:hover { color: var(--red-lt); }
.mega__side { border-left: 1px solid var(--line); padding-left: 34px; display: grid; gap: 18px; align-content: start; }
.mega__feature { display: block; text-decoration: none; color: #fff; }
.mega__feature img { aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 12px; }
.mega__feature strong { font: 600 1.5rem/1 var(--font-head); text-transform: uppercase; display: block; margin-bottom: 4px; }
.mega__feature span { color: var(--muted); font-size: .9rem; }
.mega__feature:hover strong { color: var(--red-lt); }
.mega__links { list-style: none; display: grid; gap: 6px; }
.mega__links a { color: #fff; }

.hdr-search { border-top: 1px solid var(--line); background: var(--bg-3); padding: 16px 0; }
.searchbar { display: flex; gap: 10px; }
.searchbar input { flex: 1; min-width: 0; }

/* Forms (light inputs for legibility) */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .label { font-weight: 600; font-size: .93rem; color: #fff; }
.field .hint { font-size: .85rem; color: var(--muted); }
.req { color: var(--red-lt); }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 2px solid transparent; border-radius: 0; background: #fff; color: var(--ink);
}
input[type="file"] { color: var(--text-2); }
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: 3px solid rgba(106,166,255,.55); outline-offset: 1px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); background: #fff3f3; }
.err { color: #ff8a90; font-size: .88rem; font-weight: 600; margin: 0; }
.notice { border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--bg-3); padding: 16px 20px; color: var(--text-2); }
.notice--grey { background: var(--bg-2); }
.notice p:last-child { margin: 0; }
.notice h3 { font-size: 1.6rem; }
.notice ul { padding-left: 1.2em; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - var(--hdr-h) - 36px); min-height: calc(100svh - var(--hdr-h) - 36px); max-height: 900px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--bg-2); }
.hero__img, .band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { object-position: 62% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,9,.88) 0%, rgba(10,9,9,.55) 45%, rgba(10,9,9,.1) 100%), linear-gradient(0deg, rgba(10,9,9,.75) 0%, rgba(10,9,9,0) 45%); }
.hero__in { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 64px; width: 100%; }
.hero__content { max-width: 760px; }
.hero h1 { font-size: clamp(4rem, 11vw, 9.5rem); line-height: .82; margin-bottom: 26px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero h1 span { display: block; }
.hero p { font-size: 1.2rem; color: #ece9e8; max-width: 560px; margin-bottom: 32px; }
.since { display: inline-flex; align-items: center; gap: 14px; font: 500 1.6rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; color: #fff; }
.since::before { content: ""; width: 44px; height: 4px; background: var(--red); }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); font-size: .95rem; color: #dcd8d6; }
.hero__facts strong { color: #fff; font: 600 2.6rem/.8 var(--font-head); margin-right: 8px; vertical-align: -6px; }

/* Page hero (inner pages) */
.phero { position: relative; color: #fff; background: var(--bg-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,9,.9) 0%, rgba(10,9,9,.6) 55%, rgba(10,9,9,.3) 100%); }
.phero__in { position: relative; z-index: 1; padding-top: clamp(64px, 9vw, 130px); padding-bottom: clamp(48px, 6vw, 84px); }
.phero h1 { color: #fff; max-width: 920px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .88; }
.phero p { color: #e4e0de; font-size: 1.15rem; max-width: 700px; margin: 0; }
.phero--plain { background: var(--bg-2) linear-gradient(115deg, transparent 62%, rgba(237,28,41,.16) 62%, rgba(237,28,41,.16) 64%, transparent 64%); }
.phero--plain::after { display: none; }
.phero--plain .phero__in { padding-top: clamp(52px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 20px; color: #cfcac8; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--red-lt); }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--bg-3); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; overflow: hidden; }
a.card, .card a.card__link { color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--red); }
.card:has(.link-arrow:hover) { border-color: var(--red); }
.card__img { aspect-ratio: 3/2; overflow: hidden; background: var(--bg-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.9rem; }
.card__body p { color: var(--muted); }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; }
.card__tag { font: 500 1.1rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--red-lt); margin-bottom: 10px; }

/* Photo tiles (image with overlaid title) */
.ptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ptile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 30px; overflow: hidden; color: #fff; text-decoration: none; background: var(--bg-2); isolation: isolate; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.ptile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,9,9,.95) 0%, rgba(10,9,9,.6) 45%, rgba(10,9,9,.1) 100%); }
.ptile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ptile:hover img { transform: scale(1.05); }
.ptile:hover::after, .ptile:focus-visible::after { transform: scaleX(1); }
.ptile:hover { color: #fff; }
.ptile h3 { font-size: clamp(2.2rem, 3vw, 2.8rem); margin-bottom: 10px; }
.ptile p { color: #dcd8d6; margin: 0 0 18px; }
.ptile .more { display: inline-flex; align-items: center; gap: 8px; font: 500 1.25rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 3px; align-self: flex-start; }
.ptile .more svg { margin-top: -3px; }

/* Category tiles (white plates so product cut-outs stay clean) */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); padding: 22px 22px 20px; transition: transform .15s, box-shadow .15s; }
.cat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.cat:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.cat:hover::after, .cat:focus-visible::after { transform: scaleX(1); }
.cat__img { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--paper-2); padding: 14px; }
.cat__img img { width: auto; height: auto; max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.cat h2, .cat h3 { font-size: 1.75rem; line-height: .95; margin: 0 0 6px; color: var(--ink); }
.cat span { font-size: .88rem; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.cat:hover span { color: var(--red-a11y); }

/* Products */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.prod { position: relative; display: flex; flex-direction: column; background: var(--paper); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.prod::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.prod:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,.35); color: var(--ink); }
.prod:hover::after, .prod:focus-visible::after { transform: scaleX(1); }
.prod__img { height: 200px; display: flex; align-items: center; justify-content: center; padding: 18px; background: var(--paper-2); margin: 10px 10px 0; }
.prod__img img { width: auto; height: auto; max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.prod__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod__name { font: 600 1.4rem/1 var(--font-head); text-transform: uppercase; }
.prod__cat { font-size: .8rem; color: var(--ink-muted); }
.prod__more { margin-top: auto; padding-top: 6px; font-size: .85rem; font-weight: 600; color: var(--red-a11y); }
.img-missing { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; border: 1px dashed #b9b4b2; color: var(--ink-muted); font-size: .82rem; padding: 10px; background: var(--paper-2); }

/* Filter toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 26px; padding: 22px; background: var(--bg-3); border-top: 4px solid var(--red); }
.toolbar .field { margin: 0; flex: 1 1 240px; }
.toolbar .field--narrow { flex: 0 1 280px; }
.count { font-size: .92rem; color: var(--muted); margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 9px 18px 5px; border: 1px solid var(--line-2); background: transparent; color: #fff; cursor: pointer; font: 500 1.2rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: var(--red-a11y); border-color: var(--red-a11y); color: #fff; }
.chip:disabled { opacity: .35; cursor: default; }
.empty { padding: 30px; text-align: center; border: 1px dashed var(--line-2); color: var(--muted); }

/* Brands */
.brand-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.brand-strip a { display: flex; align-items: center; justify-content: center; height: 124px; padding: 22px; background: var(--paper); transition: transform .15s, box-shadow .15s; }
.brand-strip a:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,.35); }
.brand-strip img { width: auto; height: auto; max-width: 100%; max-height: 62px; filter: grayscale(1); opacity: .8; transition: filter .15s, opacity .15s; }
.brand-strip a:hover img, .brand-strip a:focus-visible img { filter: none; opacity: 1; }
.bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.brand { background: var(--paper); color: var(--ink); display: flex; flex-direction: column; }
.brand__logo { height: 130px; display: flex; align-items: center; justify-content: center; padding: 22px; border-bottom: 1px solid #e6e2e0; }
.brand__logo img { width: auto; height: auto; max-width: 100%; max-height: 74px; }
.brand__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.brand__body h3 { font-size: 1.45rem; margin: 0; color: var(--ink); }
.brand__body p { font-size: .86rem; color: var(--ink-muted); margin: 0; }
.brand__body a { margin-top: auto; padding-top: 8px; font-size: .87rem; font-weight: 600; color: var(--red-a11y); }
.brand__body a:hover { color: var(--red-dark); }
.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters .chip { min-width: 44px; padding: 9px 0 5px; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media::before { content: ""; position: absolute; left: -14px; top: -14px; width: 38%; height: 38%; border-left: 5px solid var(--red); border-top: 5px solid var(--red); pointer-events: none; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 0 0 28px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.pill-list li { border: 1px solid var(--line-2); padding: 8px 16px 4px; font: 500 1.2rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.pill-list a { color: #fff; text-decoration: none; }
.pill-list li:has(a:hover) { border-color: var(--red); }
.pill-list a:hover { color: var(--red-lt); }

/* Full-bleed split (photo edge to edge) */
.bleed { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); }
.bleed__media { position: relative; min-height: 560px; }
.bleed__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed__body { padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px); align-self: center; max-width: 700px; }

/* Branches */
.branch-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.branch { border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 24px; background: var(--bg-3); display: flex; flex-direction: column; gap: 10px; }
.branch h3 { margin: 0; font-size: 2rem; }
.branch h3 a { color: #fff; text-decoration: none; }
.branch h3 a:hover { color: var(--red-lt); }
.branch__prov { font: 500 1.05rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--red-lt); }
.branch address { font-style: normal; color: var(--text-2); line-height: 1.5; }
.branch__hours { font-size: .9rem; color: var(--muted); margin: 0; }
.branch__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.tel { font-weight: 700; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.tel:hover { color: var(--red-lt); }
.tel svg { color: var(--red); }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.dl dt { font-weight: 600; color: var(--muted); }
.dl dd { margin: 0; color: var(--text-2); }
.panel { border: 1px solid var(--line); padding: 28px; background: var(--bg-3); }
.panel h2 { font-size: 2rem; }
.panel h3 { font-size: 1.8rem; }
.panel address { color: var(--text-2); }

/* Photo band */
.band { position: relative; color: #fff; overflow: hidden; background: var(--bg-2); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,9,.82), rgba(10,9,9,.45)); }
.band__in { position: relative; z-index: 1; padding-top: clamp(84px, 12vw, 150px); padding-bottom: clamp(84px, 12vw, 150px); }
.band h2 { color: #fff; max-width: 820px; margin: 0 0 18px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: .9; }
.band p { color: #e4e0de; max-width: 600px; margin: 0 0 32px; font-size: 1.15rem; }

/* Stats */
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stats li { padding: 10px 20px 0 22px; border-left: 4px solid var(--red); }
.stats strong { display: block; font: 600 clamp(3.2rem, 5vw, 4.4rem)/.85 var(--font-head); color: #fff; margin-bottom: 8px; }
.stats span { color: var(--muted); font-size: .95rem; }

/* Promotion */
.promo { position: relative; overflow: hidden; background: var(--bg-2); color: #fff; isolation: isolate; border-top: 5px solid var(--red); }
.promo__media { position: absolute; inset: 0; z-index: -2; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,9,9,.92) 0%, rgba(10,9,9,.78) 50%, rgba(10,9,9,.45) 100%); }
.promo__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px); }
.promo--full .promo__in { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 8vw, 110px) var(--gutter); }
.promo__badge { display: inline-block; background: var(--red-a11y); color: #fff; font: 500 1.15rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 9px 14px 6px; margin-bottom: 18px; }
.promo__title { font-size: clamp(3rem, 7vw, 6rem); line-height: .85; margin: 0 0 18px; }
.promo__body p { color: #e8e4e2; font-size: 1.12rem; max-width: 560px; }
.promo__side { background: rgba(19,17,17,.86); border: 1px solid var(--line-2); padding: 28px; }
.promo__side h3 { font-size: 2rem; margin-bottom: 6px; }
.promo__side p { color: var(--muted); font-size: .95rem; }
.promo__side ul { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.promo__side li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 9px; border: 1px solid var(--line-2); color: #fff; text-decoration: none; font: 500 1.25rem/1.05 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.promo__side li a:hover { border-color: var(--red); color: var(--red-lt); }
.promo__side li a svg { flex: none; margin-top: -3px; }
.expired-note { color: var(--muted); }

/* News / articles */
.news { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; }
.news > .card:first-child { grid-row: span 2; }
.news > .card:first-child .card__img { aspect-ratio: auto; flex: 1; min-height: 340px; }
.news > .card:first-child h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.news > .card:not(:first-child) { flex-direction: row; }
.news > .card:not(:first-child) .card__img { aspect-ratio: auto; width: 42%; flex: none; }
.news > .card:not(:first-child) .card__body { padding: 22px; }
.news > .card:not(:first-child) h3 { font-size: 1.6rem; }
.news-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; padding: 22px 24px; background: var(--bg-3); border: 1px solid var(--line); border-left: 4px solid var(--red); }
.news-more h3 { margin: 0; font-size: 1.7rem; }
.news-more p { margin: 2px 0 0; color: var(--muted); }

/* Fab gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-3); }
.gallery figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; }
.equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.equip div { padding: 22px 24px; background: var(--bg-3); border-left: 4px solid var(--red); }
.equip h3 { font-size: 1.6rem; margin-bottom: 8px; }
.equip ul { list-style: none; color: var(--muted); font-size: .9rem; display: grid; gap: 2px; }

/* Prose */
.prose { max-width: 780px; }
.prose p, .prose li { color: var(--text-2); }
.prose h2 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 20px; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.values div { background: var(--bg-3); border-top: 5px solid var(--red); padding: 26px 24px; }
.values h3 { font-size: 2rem; }
.values p { color: var(--muted); margin: 0; }
.logos { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; background: #fff; padding: 20px; }
.logos img { height: 50px; width: auto; }
.plate { display: inline-block; background: #fff; padding: 18px 22px; margin-bottom: 28px; }
.plate img { width: min(320px, 100%); height: auto; }
.project { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.project img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: #fff; }
.project h3 { font-size: 2rem; }
.project .dl { font-size: .92rem; }

/* Search results */
.results { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.results li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.results a { font: 600 1.6rem/1 var(--font-head); text-transform: uppercase; color: #fff; text-decoration: none; }
.results a:hover { color: var(--red-lt); }
.results .kind { display: inline-block; font: 500 1rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--red-a11y); padding: 5px 8px 2px; margin-right: 12px; vertical-align: 3px; }
.results p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

/* Footer */
.ftr { background: #0b0a0a; color: var(--muted); font-size: .93rem; border-top: 5px solid var(--red); }
.ftr a { color: var(--text-2); text-decoration: none; }
.ftr a:hover { color: var(--red-lt); }
.ftr__top { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 68px; padding-bottom: 50px; }
.ftr__logo { display: inline-block; margin-bottom: 20px; }
.ftr__logo img { height: 64px; width: auto; }
.ftr h2 { color: #fff; font-size: 1.6rem; letter-spacing: .06em; margin-bottom: 16px; }
.ftr ul { list-style: none; display: grid; gap: 8px; }
.ftr__branches { border-top: 1px solid var(--line); padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.ftr__branches h3 { color: var(--red-lt); font-size: 1.35rem; letter-spacing: .06em; margin-bottom: 10px; }
.ftr__branches ul { gap: 4px; font-size: .88rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: #fff; }
.social a:hover { border-color: var(--red); background: var(--red-a11y); color: #fff; }
.ftr__bottom { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: .84rem; color: #8f8986; }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Responsive */
@media (max-width: 1240px) {
  .nav__link, .nav__btn { padding-left: 9px; padding-right: 9px; font-size: 1.28rem; }
  .hdr__in { gap: 16px; }
}
@media (max-width: 1100px) {
  :root { --hdr-h: 72px; }
  .hdr__logo { padding: 0; }
  .hdr__logo img { height: 46px; }
  .menu-toggle { display: inline-flex; }
  .hdr__quote { display: none; }
  .nav { display: none; position: fixed; left: 0; right: 0; top: var(--nav-top, 108px); bottom: 0; background: var(--bg-2); overflow-y: auto; border-top: 1px solid var(--line); padding: 8px var(--gutter) 40px; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .nav__list > li { border-bottom: 1px solid var(--line); height: auto; display: block; }
  .nav__link, .nav__btn { width: 100%; height: auto; justify-content: space-between; padding: 16px 2px 12px; font-size: 1.8rem; }
  .nav__link[aria-current="page"], .nav__btn.is-current { box-shadow: inset 4px 0 0 var(--red); padding-left: 14px; }
  .drop, .mega { position: static; box-shadow: none; border: 0; padding: 0 0 14px; min-width: 0; background: transparent; }
  .mega__in { display: block; padding: 0; }
  .mega__cats { columns: 1; }
  .mega__cats a { padding: 9px 4px 7px; font-size: 1.3rem; }
  .mega__side { border: 0; padding: 14px 0 0; }
  .mega__feature { display: none; }
  .drop a { padding: 9px 4px; }
  .nav__extra { display: grid; gap: 12px; list-style: none; padding-top: 24px; }
  .nav__extra .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  .utility p { display: none; }
  .utility__in { justify-content: flex-end; }
  .cat-grid, .pgrid, .bgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .branch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
  .aside { position: static; }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__branches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptiles { grid-template-columns: 1fr 1fr; }
  .ptiles > :last-child { grid-column: 1 / -1; min-height: 380px; }
  .promo__in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .split, .bleed { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split__media::before { left: -8px; top: -8px; }
  .bleed__media { min-height: 320px; }
  .g3 { grid-template-columns: 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .cat-grid, .pgrid, .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .equip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project { grid-template-columns: 1fr; }
  .utility ul { gap: 16px; }
  .news { grid-template-columns: 1fr; }
  .news > .card:first-child { grid-row: auto; }
  .news > .card:first-child .card__img { min-height: 0; aspect-ratio: 16/10; flex: none; }
  .ptiles { grid-template-columns: 1fr; }
  .ptiles > :last-child { grid-column: auto; }
  .ptile { min-height: 380px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --hdr-h: 66px; }
  h3 { font-size: 1.55rem; }
  .utility { font-size: .8rem; }
  .utility ul { gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
  .utility__hide-sm { display: none; }
  .hdr__logo img { height: 40px; }
  .icon-btn { width: 44px; height: 44px; }
  .hero { min-height: 0; max-height: none; }
  .hero__in { padding-top: 120px; padding-bottom: 48px; }
  .hero::after { background: linear-gradient(180deg, rgba(10,9,9,.35) 0%, rgba(10,9,9,.8) 50%, rgba(10,9,9,.95) 100%); }
  .hero h1 { font-size: clamp(3.6rem, 19vw, 5rem); }
  .hero p { font-size: 1.05rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero__facts { gap: 14px 24px; margin-top: 34px; }
  .hero__facts strong { font-size: 2.2rem; }
  .branch-list, .values, .g4 { grid-template-columns: 1fr; }
  .cat-grid, .pgrid, .bgrid { gap: 10px; }
  .cat { padding: 12px 12px 14px; }
  .cat__img { height: 120px; margin-bottom: 12px; }
  .cat h2, .cat h3 { font-size: 1.4rem; }
  .prod__img { height: 140px; padding: 10px; margin: 8px 8px 0; }
  .prod__name { font-size: 1.2rem; }
  .prod__body { padding: 10px 12px 12px; }
  .brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-strip a { height: 100px; padding: 16px; }
  .gallery, .equip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equip { grid-template-columns: 1fr; }
  .ticks--2 { grid-template-columns: 1fr; }
  .ftr__top, .ftr__branches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .ftr__brand { grid-column: 1 / -1; }
  .toolbar { padding: 16px; }
  .searchbar .btn { padding: 12px 16px 9px; }
  .promo__in { padding: 32px 20px; }
  .promo--full .promo__in { padding: 56px var(--gutter); }
  .promo__side { padding: 20px; }
  .news > .card:not(:first-child) { flex-direction: column; }
  .news > .card:not(:first-child) .card__img { width: 100%; aspect-ratio: 16/10; }
  .panel { padding: 22px; }
  .stats li { padding-left: 16px; }
  .ptile { min-height: 340px; padding: 24px; }
}
@media (max-width: 380px) {
  .cat-grid, .pgrid, .bgrid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* anchor targets clear the sticky header */
[id] { scroll-margin-top: calc(var(--hdr-h) + 20px); }
