/* ==========================================================
   SPARKS MAIN STYLES
   Colours and fonts come from tokens.css. Sections are marked
   with comment banners so they are easy to find.
   ========================================================== */
*,*::before,*::after{box-sizing:inherit}
html{height:100%;scroll-padding-top:calc(env(safe-area-inset-top,0px) + 88px);-webkit-text-size-adjust:100%}
body{
  margin:0;min-height:100%;
  background:var(--color-page);color:var(--color-text);
  font:400 1.0625rem/1.55 var(--font-body);
}
img,svg{max-width:100%}
h1,h2,h3{font-family:var(--font-heading);font-style:italic;font-weight:800;margin:0;letter-spacing:-.005em}
h1{font-stretch:120%;font-size:clamp(2rem,5vw,3.7rem);line-height:1.06}
h2{font-stretch:116%;font-size:clamp(1.55rem,3.1vw,2.4rem);line-height:1.12}
h3{font-stretch:112%;font-size:1.15rem;line-height:1.2}
p{margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--color-text);outline-offset:3px}
.container{width:100%;max-width:calc(var(--max) + 2*var(--gutter));margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:clamp(52px,7vw,96px)}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-60px;background:var(--color-text);color:var(--color-page);padding:.7rem 1rem;z-index:100;font-weight:700}
.skip-link:focus{top:12px}
.muted{color:var(--color-muted)}
.icon{width:1.25em;height:1.25em;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- Buttons: slanted to echo the logo ---------- */
.btn{
  display:inline-block;transform:skewX(var(--slant));
  background:var(--color-red);color:#fff;border:2px solid var(--color-red);
  padding:.85rem 1.45rem;min-height:48px;
  font:700 1rem/1.2 var(--font-body);text-decoration:none;cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.btn>span{display:inline-flex;align-items:center;gap:.55rem;transform:skewX(calc(var(--slant) * -1))}
.btn:hover{background:var(--color-red-deep);border-color:var(--color-red-deep)}
.btn--ghost{background:transparent;border-color:var(--color-text);color:var(--color-text)}
.btn--ghost:hover{background:var(--color-text);border-color:var(--color-text);color:var(--color-page)}
.btn--light{background:var(--color-text);border-color:var(--color-text);color:var(--color-page)}
.btn--light:hover{background:var(--color-page);border-color:var(--color-page);color:var(--color-text)}
.btn--dark{background:var(--color-page);border-color:var(--color-page)}
.btn--dark:hover{background:var(--color-text);border-color:var(--color-text);color:var(--color-page)}
.btn--sm{padding:.6rem 1rem;min-height:44px;font-size:.95rem}

.text-link{font-weight:700;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:var(--color-red)}
.text-link:hover{text-decoration-color:var(--color-text)}


/* ---------- Header ---------- */
.site-header{
  position:sticky;top:env(safe-area-inset-top,0px);z-index:50;
  background:rgba(23,24,26,.97);border-bottom:1px solid var(--color-line);
}
.site-header__inner{display:flex;align-items:center;gap:1.25rem;min-height:76px;padding-block:8px}
.brand{display:block;background:#fff;padding:9px 12px;border-radius:var(--radius);line-height:0;flex:none}
.brand .logo{display:block;width:clamp(150px,19vw,215px);height:auto}
.nav{margin-inline-start:auto}
.nav ul{display:flex;gap:.15rem;list-style:none;margin:0;padding:0}
.nav a{display:block;padding:.8rem .85rem;font-weight:600;text-decoration:none;border-bottom:3px solid transparent;transition:border-color .15s ease}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:var(--color-red)}
.header-actions{display:flex;align-items:center;gap:1rem}
.menu-btn{
  display:none;align-items:center;gap:.6rem;min-height:48px;padding:.5rem .9rem;
  background:transparent;color:var(--color-text);border:2px solid var(--color-line);border-radius:var(--radius);
  font:700 1rem/1 var(--font-body);cursor:pointer;
}
.menu-btn__bars{width:20px;height:14px;background:linear-gradient(var(--color-text) 0 0) 0 0/100% 2px no-repeat,linear-gradient(var(--color-text) 0 0) 0 50%/100% 2px no-repeat,linear-gradient(var(--color-text) 0 0) 0 100%/100% 2px no-repeat}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:linear-gradient(98deg,var(--color-page) 0 56%,var(--color-surface) 56% 100%)}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(24px,4vw,56px);align-items:center}
.hero__copy{padding-block:clamp(40px,6vw,80px)}
.hero__copy h1{max-width:15ch}
.hero__lead{margin-top:1.25rem;max-width:34rem;font-size:1.2rem;color:var(--color-muted)}
.hero__actions{display:flex;flex-wrap:wrap;gap:1rem 1.25rem;margin-top:2rem}
.hero__meta{margin-top:1.75rem;color:var(--color-muted);font-size:.98rem;max-width:34rem}
.hero__meta a{color:var(--color-text);font-weight:700;text-decoration-color:var(--color-red);text-decoration-thickness:2px;text-underline-offset:4px}
.hero__visual{padding-block:clamp(24px,4vw,48px)}
.chain{width:100%;height:auto;display:block}
.chain__node{fill:var(--color-page);stroke:var(--color-line);stroke-width:1.5}
.chain__hub{fill:var(--color-red);stroke:none}
.chain__hub-icon{stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.chain__label--hub{fill:var(--color-text)}
.chain__label{fill:var(--color-muted);font:600 15px var(--font-body);text-anchor:middle}
.chain__icon{stroke:var(--color-text);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.chain__wire{fill:none;stroke:var(--color-red);stroke-width:3;stroke-linecap:square;stroke-linejoin:round}
.chain__dot{fill:var(--color-red)}

/* single orchestrated moment: the signal paths draw in once on load */
.js .chain__wire{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.1s cubic-bezier(.6,.05,.2,1) .25s forwards}
.js .chain__wire:nth-of-type(2){animation-delay:.45s}
.js .chain__wire:nth-of-type(3){animation-delay:.65s}
.js .chain__wire:nth-of-type(4){animation-delay:.85s}
.js .chain__dot{opacity:0;animation:pop .3s ease 1.5s forwards}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes pop{to{opacity:1}}

.stripes{display:flex;gap:7px;padding-block:14px;border-top:1px solid var(--color-line)}
.stripes i{display:block;width:22px;height:10px;background:var(--color-red);transform:skewX(-24deg)}

/* ---------- Section heads ---------- */
.section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1.25rem 2rem;margin-bottom:2rem}
.section-head p{margin-top:.6rem;max-width:36rem;color:var(--color-muted)}
.search{display:flex;gap:0;width:min(100%,340px)}
.search input{
  flex:1;min-width:0;min-height:48px;padding:.6rem .9rem;
  background:var(--color-surface);color:var(--color-text);border:2px solid var(--color-field-border);border-right:0;border-radius:var(--radius) 0 0 var(--radius);
  font:inherit;
}
.search input::placeholder{color:var(--color-faint)}
.search input:focus-visible{outline-offset:-1px}
.search button{
  min-height:48px;padding:0 1rem;background:var(--color-text);color:var(--color-page);border:2px solid var(--color-text);border-radius:0 var(--radius) var(--radius) 0;
  font:700 1rem var(--font-body);cursor:pointer;transition:background-color .15s ease
}
.search button:hover{background:#3a3d44}

/* ---------- Category tiles ---------- */
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tile{
  display:flex;flex-direction:column;text-decoration:none;background:var(--color-surface);
  clip-path:polygon(0 0,calc(100% - 30px) 0,100% 30px,100% 100%,0 100%);
  transition:background-color .2s ease;
}
.tile:focus-visible{outline-offset:-5px}
.tile__img{
  position:relative;aspect-ratio:4/3;display:grid;place-items:center;color:var(--color-placeholder-ink);
  background:repeating-linear-gradient(135deg,var(--pattern-a) 0 10px,var(--pattern-b) 10px 20px);
  transition:color .2s ease;
}
.tile__img .icon{width:68px;height:68px;stroke-width:1.3}
.tile__body{flex:1;padding:16px 18px 22px;border-top:3px solid var(--color-red)}
.tile__body p{margin-top:.5rem;font-size:.97rem;color:var(--color-muted)}
.tile:hover{background:var(--color-surface-hover)}
.tile:hover .tile__img{color:var(--color-red-text)}
.tile__more{display:inline-block;margin-top:.9rem;font-weight:700;font-size:.95rem;border-bottom:2px solid var(--color-red)}

/* ---------- Industries: directory rows, not cards ---------- */
.industries{background:var(--color-surface)}
.rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--color-line)}
.row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr) auto;gap:1rem 2rem;align-items:center;padding:1.4rem .25rem;border-bottom:1px solid var(--color-line);text-decoration:none;position:relative;transition:padding-inline-start .2s ease}
.row::before{content:"";position:absolute;inset-inline-start:0;top:20%;bottom:20%;width:4px;background:var(--color-red);transform:skewX(-14deg) scaleY(0);transition:transform .2s ease}
.row:hover{padding-inline-start:1.1rem}
.row:hover::before,.row:focus-visible::before{transform:skewX(-14deg) scaleY(1)}
.row p{color:var(--color-muted)}
.row__go{font-weight:700;border-bottom:2px solid var(--color-red);justify-self:end}

/* ---------- Product cards (demo) ---------- */
.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product{display:flex;flex-direction:column;background:var(--color-surface);border:1px solid var(--color-line);border-radius:var(--radius);overflow:hidden}
.product__img{
  position:relative;aspect-ratio:1/1;max-height:210px;width:100%;display:grid;place-items:center;color:var(--color-placeholder-ink);
  background:repeating-linear-gradient(135deg,var(--pattern-a) 0 10px,var(--pattern-b) 10px 20px);
}
.product__img .icon{width:58px;height:58px;stroke-width:1.3}
.badge-demo{position:absolute;top:10px;left:10px;background:var(--color-text);color:var(--color-page);font-size:.75rem;font-weight:700;padding:.2rem .5rem;border-radius:3px}
.product__body{display:flex;flex-direction:column;gap:.7rem;flex:1;padding:16px}
.product__brand{font-size:.9rem;color:var(--color-muted)}
.product__tags{display:flex;flex-wrap:wrap;gap:.4rem}
.tag{font-size:.82rem;font-weight:600;padding:.2rem .55rem;border:1px solid var(--color-line);border-radius:999px;color:var(--color-muted)}
.tag--price{border-color:var(--color-red);color:var(--color-text)}
.product__actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;padding-top:.5rem}
.product__actions .text-link{font-size:.95rem}
.btn-icon{display:inline-grid;place-items:center;width:46px;height:46px;border:2px solid var(--color-line);border-radius:var(--radius);color:var(--color-text);transition:border-color .15s ease,background-color .15s ease}
.btn-icon:hover{border-color:var(--color-text);background:var(--color-surface-hover)}

/* ---------- Brands ---------- */
.brands{border-block:1px solid var(--color-line);background:var(--color-page)}
.brand-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.brand-list a{display:block;padding:.6rem 1.1rem;border:1px solid var(--color-line);border-radius:var(--radius);font-weight:700;text-decoration:none;transition:border-color .15s ease,background-color .15s ease}
.brand-list a:hover{border-color:var(--color-red);background:var(--color-surface)}

/* ---------- How Sparks can help (a real sequence, so numbered) ---------- */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;counter-reset:step}
.steps li{counter-increment:step;padding-top:1rem;border-top:3px solid var(--color-red)}
.steps li::before{content:counter(step);display:block;font:italic 800 2.4rem/1 var(--font-heading);font-stretch:120%;color:var(--color-red-text);margin-bottom:.6rem}
.steps p{margin-top:.5rem;color:var(--color-muted);font-size:.98rem}

/* ---------- Enquiry band ---------- */
.cta{background:var(--color-red);color:var(--color-text)}
.cta__inner{display:grid;grid-template-columns:minmax(0,1.4fr) auto;gap:1.5rem 3rem;align-items:center}
.cta h2{max-width:20ch}
.cta p{margin-top:.75rem;max-width:38rem}
.cta__actions{display:flex;flex-wrap:wrap;gap:1rem 1.25rem}
.cta :focus-visible{outline-color:var(--color-text)}

/* ---------- Footer ---------- */
.site-footer{background:var(--color-ink);padding-block:clamp(40px,6vw,64px) 28px}
.footer__grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:2rem}
.footer__grid h2{font-size:1rem;font-stretch:112%;margin-bottom:.9rem}
.footer__grid ul{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.footer__grid a{display:inline-block;padding:.4rem 0;color:var(--color-muted);text-decoration:none}
.footer__grid a:hover{color:var(--color-text);text-decoration:underline;text-decoration-color:var(--color-red);text-decoration-thickness:2px;text-underline-offset:4px}
.footer__about{margin-top:1rem;max-width:26rem;color:var(--color-muted);font-size:.98rem}
.footer__contact{font-style:normal;display:grid;gap:.5rem;color:var(--color-muted)}
.footer__contact a{color:var(--color-text);font-weight:700}
.footer__base{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid var(--color-line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem 2rem;font-size:.9rem;color:var(--color-faint)}
.brand--footer .logo{width:210px}

/* ---------- Responsive ---------- */
@media (max-width:1020px){
  .menu-btn{display:inline-flex}
  .site-header__inner{flex-wrap:wrap}
  .header-actions{margin-inline-start:auto}
  .nav{order:5;flex-basis:100%;margin:0}
  .js .nav{display:none}
  .js .nav.is-open{display:block;padding-bottom:.5rem}
  .nav ul{flex-direction:column;gap:0}
  .nav a{padding:.9rem .25rem;border-bottom:1px solid var(--color-line)}
  .tiles,.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .hero{background:var(--color-page)}
  .hero__grid{grid-template-columns:1fr}
  .hero__copy{padding-bottom:0}
  .hero__visual{padding-top:8px}
  .hero__copy h1{max-width:18ch}
  .cta__inner{grid-template-columns:1fr}
  .row{grid-template-columns:1fr;gap:.4rem}
  .row__go{justify-self:start;margin-top:.4rem}
}
@media (max-width:640px){
  .tiles,.products{gap:12px}
  .tile{clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,0 100%)}
  .tile__img .icon{width:52px;height:52px}
  .tile__body{padding:12px 12px 16px}
  .tile h3{font-size:1rem}
  .tile__body p{font-size:.88rem}
  .tile__more{display:none}
  .product__body{padding:12px}
  .steps{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr}
}
@media (max-width:480px){
  .header-actions{gap:.6rem}
  .hide-xs{display:none}
  .hero__actions .btn{width:100%;text-align:center}
  .hero__actions .btn>span{justify-content:center}
  .hero__actions{gap:.9rem}
  .hero__actions .btn{transform:none}
  .hero__actions .btn>span{transform:none}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .chain__wire{stroke-dashoffset:0}
  .js .chain__dot{opacity:1}
}


/* ---------- WordPress helpers ---------- */
.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-bar .site-header{top:calc(env(safe-area-inset-top,0px) + 32px)}
@media (min-width:601px) and (max-width:782px){.admin-bar .site-header{top:calc(env(safe-area-inset-top,0px) + 46px)}}
.nav .current-menu-item>a,.nav .current-menu-ancestor>a{border-bottom-color:var(--color-red)}

/* ---------- Plain pages, articles and archives ---------- */
.page-header{padding-block:clamp(36px,5vw,64px) 1rem}
.page-header h1{font-size:clamp(1.8rem,4vw,2.8rem)}
.page-header p{margin-top:.75rem;max-width:40rem;color:var(--color-muted)}
.content-area{padding-block:1rem clamp(48px,7vw,96px)}
.entry{max-width:46rem}
.entry>*+*{margin-top:1.1rem}
.entry h2{margin-top:2rem;font-size:1.6rem}
.entry h3{margin-top:1.6rem;font-size:1.25rem}
.entry a{text-decoration-color:var(--color-red);text-decoration-thickness:2px;text-underline-offset:4px}
.entry ul,.entry ol{padding-inline-start:1.4rem}
.entry img{height:auto;border-radius:var(--radius)}
.entry-meta{margin-top:.75rem;color:var(--color-muted);font-size:.95rem}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.post-card{display:flex;flex-direction:column;overflow:hidden;background:var(--color-surface);border:1px solid var(--color-line);border-radius:var(--radius)}
.post-card__img{display:block;aspect-ratio:4/3;background:repeating-linear-gradient(135deg,var(--pattern-a) 0 10px,var(--pattern-b) 10px 20px)}
.post-card__img img{display:block;width:100%;height:100%;object-fit:cover}
.post-card__body{display:flex;flex-direction:column;gap:.5rem;padding:1rem 1.1rem 1.25rem}
.post-card h2{font-size:1.15rem;font-stretch:112%}
.post-card h2 a{text-decoration:none}
.post-card h2 a:hover{text-decoration:underline;text-decoration-color:var(--color-red);text-decoration-thickness:2px;text-underline-offset:4px}
.post-card p{color:var(--color-muted);font-size:.98rem}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:2rem}
.pagination .page-numbers{display:inline-block;min-width:44px;min-height:44px;padding:.65rem .9rem;border:2px solid var(--color-line);border-radius:var(--radius);font-weight:600;text-align:center;text-decoration:none}
.pagination .page-numbers.current{background:var(--color-text);border-color:var(--color-text);color:var(--color-page)}
.hint{padding:1rem 1.25rem;border:2px dashed var(--color-line);border-radius:var(--radius);color:var(--color-muted);font-size:.95rem}
.footer__grid .footer__social{display:flex;flex-wrap:wrap;gap:.25rem 1.1rem;margin-top:1rem}
.steps{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
@media (max-width:1020px){.posts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.posts{grid-template-columns:1fr}}

/* ---------- Photos inside tiles and cards ---------- */
.tile__img img,.product__img img{display:block;width:100%;height:100%;object-fit:cover}
.tile__img,.product__img{overflow:hidden}
.product__img{text-decoration:none}
.product h3 a{text-decoration:none}
.product h3 a:hover{text-decoration:underline;text-decoration-color:var(--color-red);text-decoration-thickness:2px;text-underline-offset:4px}
.product__price{font-weight:700}
/* breadcrumbs */
.crumbs{padding-block:1.1rem .5rem;font-size:.95rem;color:var(--color-muted)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:.2rem .55rem;list-style:none;margin:0;padding:0}
.crumbs li+li::before{content:"/";margin-inline-end:.55rem;color:var(--color-faint)}
.crumbs a{text-decoration:none;border-bottom:1px solid var(--color-line)}
.crumbs a:hover{border-bottom-color:var(--color-red)}
.crumbs li:last-child{color:var(--color-text)}

/* ---------- Forms (contact and quote) ---------- */
.sparks-form{max-width:46rem}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem 1.25rem}
.field{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.field--wide{grid-column:1/-1}
.field label{font-weight:700}
.field .req{color:var(--color-red-text)}
.field input[type="text"],.field input[type="tel"],.field input[type="email"],.field select,.field textarea{
  width:100%;min-height:48px;padding:.65rem .85rem;
  background:var(--color-page);color:var(--color-text);
  border:2px solid var(--color-field-border);border-radius:var(--radius);font:inherit;
}
.field textarea{min-height:9rem;resize:vertical}
.field [aria-invalid="true"]{border-color:var(--color-red)}
.field__help{font-size:.92rem;color:var(--color-muted)}
.field__error{font-size:.95rem;font-weight:600;color:var(--color-red-text)}
.field--check{flex-direction:row;align-items:flex-start;gap:.75rem;margin-top:1.1rem}
.field--check input{flex:none;width:22px;height:22px;margin-top:.2rem;accent-color:var(--color-red)}
.field--check label{font-weight:400}
.field--check a{text-decoration-color:var(--color-red);text-decoration-thickness:2px;text-underline-offset:4px}
.form-notice{margin-bottom:1.25rem;padding:1rem 1.25rem;background:var(--color-surface);border-left:5px solid var(--color-red)}
.form-notice--success{border-left-color:var(--color-text)}
.form-notice a{font-weight:700}
.form-notice ul{margin:.5rem 0 0;padding-inline-start:1.2rem}
.form-actions{margin-top:1.5rem}

/* ---------- Contact details, FAQs, brand directory ---------- */
.contact-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1.5rem 2rem;margin-bottom:2.5rem;padding:1.5rem;background:var(--color-surface);border-top:3px solid var(--color-red)}
.contact-details h2{margin:0 0 .5rem;font-size:1.1rem;font-stretch:112%}
.contact-details ul{margin:0;padding:0;list-style:none;display:grid;gap:.3rem}
.contact-details a{font-weight:700;text-decoration-color:var(--color-red);text-decoration-thickness:2px;text-underline-offset:4px}
.faq{max-width:46rem;border-top:1px solid var(--color-line)}
.faq__item{border-bottom:1px solid var(--color-line)}
.faq__item summary{display:flex;justify-content:space-between;gap:1rem;padding:1rem .25rem;font-weight:700;cursor:pointer;list-style:none}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"+";flex:none;font-size:1.4rem;line-height:1;color:var(--color-red-text)}
.faq__item[open] summary::after{content:"\2212"}
.faq__item .entry{padding:0 .25rem 1.25rem}
.brand-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:12px;margin:0;padding:0;list-style:none}
.brand-grid a{display:flex;align-items:center;justify-content:center;min-height:5.5rem;padding:1rem;border:1px solid var(--color-line);border-radius:var(--radius);font-weight:700;text-align:center;text-decoration:none;transition:border-color .15s ease,background-color .15s ease}
.brand-grid a:hover{border-color:var(--color-red);background:var(--color-surface)}
.brand-grid img{display:block;max-width:100%;max-height:3.5rem;width:auto;height:auto}

/* ---------- Catalogue pages: shop, category and brand ---------- */
.archive-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem 2rem}
.archive-head__logo img{display:block;max-width:10rem;height:auto}
.archive-tools{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1.25rem 2rem;margin-bottom:2rem}
.archive-tools h2{margin-bottom:.6rem;font-size:1rem;font-stretch:112%}
.archive-count{margin-bottom:1rem;color:var(--color-muted);font-size:.95rem}

/* ---------- Article extras ---------- */
.author-box{display:flex;gap:1rem;max-width:46rem;margin-top:2.5rem;padding:1.25rem;background:var(--color-surface);border-left:4px solid var(--color-red)}
.author-box img{flex:none;border-radius:50%}
.author-box p{margin-top:.35rem;color:var(--color-muted);font-size:.98rem}
.related-posts{padding-block:clamp(40px,6vw,72px);background:var(--color-surface)}
.related-posts .section-head{margin-bottom:1.5rem}
