/* STAR POWDER COATING — theme base (ported from approved wireframe) */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand-red: #EC1C24;
  --brand-blue: #2E3191;
  --brand-black: #000000;
  --ink: #1a1a1a;
  --ink-2: #444;
  --ink-3: #767676;
  --line: #c9c9c9;
  --bg: #ffffff;
  --bg-2: #f2f2f2;
  --bg-3: #e6e6e6;
  --accent: #2b2b2b;      /* wireframe "brand" stand-in */
  --ph-stripe: #dcdcdc;
  --maxw: 1180px;
  --radius: 6px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER — FİKİR 1 "SİYAH ŞERİT" (Ben onayı, 2026-07-08)
   Marka siyahı blok bar. Beyaz uppercase nav, kırmızı kayan
   alt çizgi. Siyah dropdown + kırmızı sol çubuk.
   Logo position/size values LOCKED per Ben.
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-black);
}

.site-header .bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  max-width: var(--maxw); margin: 0 auto;
}
.bar-split nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.bar-split .nav-left  { justify-content: flex-end; }
.bar-split .nav-right { justify-content: flex-start; }
.bar-split .nav-right .btn-call { margin-left: 16px; }

/* ---- centered logo (values locked — do not change without Ben) ---- */
.logo { display: block; }
.logo-center {
  position: relative;
  width: 234px;
  height: 56px;
  justify-self: center;
  z-index: 55;
}
.logo-center img {
  position: absolute;
  left: 50%; top: 4px;
  transform: translateX(-50%);
  height: 128px; width: auto;
}

/* ---- nav links & dropdown triggers ---- */
nav.main > a:not(.btn-call), nav.main details > summary {
  padding: 10px 14px; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap;
  position: relative;
  transition: color 150ms ease, transform 120ms var(--ease-out);
}
/* soldan kayan kırmızı alt çizgi */
nav.main > a:not(.btn-call)::after, nav.main summary::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand-red); transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  nav.main > a:not(.btn-call):hover::after, nav.main summary:hover::before { transform: scaleX(1); }
}
nav.main > a:not(.btn-call):active, nav.main summary:active { transform: scale(0.98); }
nav.main > a:focus-visible, nav.main summary:focus-visible {
  outline: 2px solid var(--brand-red); outline-offset: 2px;
}

nav.main details { position: relative; }
nav.main details > summary::-webkit-details-marker { display: none; }
nav.main details > summary::after {
  content: "\25BE"; display: inline-block; margin-left: 6px;
  font-size: 9px; color: var(--brand-red);
  transition: transform 180ms var(--ease-out);
}
nav.main details[open] > summary::after { transform: rotate(180deg); }
nav.main details[open] > summary::before { transform: scaleX(1); }

/* ---- dropdown panel (siyah) ----
   top:100% (not +10px) — the panel sits flush under the trigger with
   no floating gap. A gap there is a dead zone: it isn't part of either
   box, so a pointer crossing it on the way down drops :hover before
   reaching the panel and the menu snaps shut. Applies to both the
   click/keyboard [open] state and the hover state below, so the two
   interaction modes render identically. */
nav.main details[open] > .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 330px;
  background: var(--brand-black);
  border: 1px solid #222;
  padding: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
  z-index: 60;
  display: grid; gap: 2px;
  transform-origin: top left;
  transition: opacity 190ms var(--ease-out), transform 190ms var(--ease-out);
}
@starting-style {
  nav.main details[open] > .dropdown {
    opacity: 0;
    transform: translateY(-8px);
  }
}
/* Hover-to-open, desktop mouse only — gated behind (hover:hover) and
   (pointer:fine) so touchscreens (which can "stick" a :hover state
   after a tap) keep click-only behaviour, same guard already used
   elsewhere in this file (nav underline, .dropdown a). Purely additive:
   toggles display via CSS only, never touches the `open` attribute, so
   header.js's click/outside-click/Escape handling is untouched. */
@media (hover: hover) and (pointer: fine) {
  /* Chromium wraps <details> content in an internal ::details-content
     box that collapses to height:0/content-visibility:hidden while
     closed — overriding display on the child .dropdown alone isn't
     enough while that ancestor box stays collapsed. Unsupported in
     other engines, where this rule is simply ignored (no @supports
     needed: an unrecognised pseudo-element makes only this rule inert). */
  nav.main details:hover::details-content {
    content-visibility: visible;
    height: auto;
    block-size: auto;
    overflow: visible;
  }
  nav.main details:hover > summary::after { transform: rotate(180deg); }
  nav.main details:hover > summary::before { transform: scaleX(1); }
  nav.main details:hover > .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 330px;
    background: var(--brand-black);
    border: 1px solid #222;
    padding: 10px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
    z-index: 60;
    display: grid; gap: 2px;
    transform-origin: top left;
    transition: opacity 190ms var(--ease-out), transform 190ms var(--ease-out);
  }
  @starting-style {
    nav.main details:hover > .dropdown {
      opacity: 0;
      transform: translateY(-8px);
    }
  }
}
.dropdown a {
  padding: 11px 14px; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: #ccc; text-decoration: none; display: block;
  border-left: 3px solid transparent;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .dropdown a:hover { color: #fff; border-left-color: var(--brand-red); background: #0d0d0d; }
}
.dropdown a:focus-visible { outline: 2px solid var(--brand-red); outline-offset: -2px; }
.dropdown.two-col { min-width: 460px; grid-template-columns: 1fr 1fr; }
.dd-right { left: auto; right: 0; transform-origin: top right; }

/* inner-page hero starts lower so the overflowing logo doesn't collide
   (homepage .hero has its own generous padding — see hero section below) */
.page-hero { padding-top: 78px; }

/* ---- header responsive: persistent 3-col bar (hamburger / logo / call) ---- */
@media (max-width: 980px) {
  .site-header .bar { padding: 10px 14px; gap: 10px; }
  .nav-left { justify-self: start; }
  .nav-right { justify-self: end; }
  .nav-left > a, .nav-left > details { display: none; } /* hamburger <button> is a different element, unaffected */
  .nav-right > a:not(.btn-call), .nav-right > details { display: none; }
  /* same overflow gag as desktop, just scaled down for the phone bar */
  .logo-center { width: 108px; height: 44px; }
  .logo-center img { top: 2px; height: 78px; }
  .site-header a.btn-call { padding: 10px 14px; font-size: 13px; }
  .page-hero { padding-top: 44px; } /* +8px clearance under the ~36px logo overflow */
  /* .hero mobile rules consolidated in ONE place — see "HERO — mobile" block below, not scattered here */
}
@media (max-width: 560px) {
  nav.main details[open] > .dropdown { min-width: 100%; position: static; box-shadow: none; }
  .dropdown.two-col { grid-template-columns: 1fr; }
}

/* ---- header reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  nav.main > a:not(.btn-call), nav.main details > summary { transition: color 150ms ease; }
  nav.main > a:not(.btn-call)::after, nav.main summary::before { transition: none; }
  nav.main > a:not(.btn-call):active, nav.main summary:active { transform: none; }
  nav.main details > summary::after { transition: none; }
  nav.main details[open] > .dropdown { transition: opacity 150ms ease; }
  @starting-style {
    nav.main details[open] > .dropdown { opacity: 0; transform: none; }
  }
}

/* ============================================================
   MOBILE DRAWER — from-scratch rebuild (Ben, 2026-07-09)
   No native <details> anywhere in here. A single JS controller
   (header.js) owns all open/closed state via classes; CSS only
   ever reacts to those classes. This whole block is self
   contained: unconditional rules first, ≤980px display toggle
   at the very end of the SAME block — no interleaving with any
   other media query, so there is no cross-file ordering risk.
   ============================================================ */

/* ---- hamburger trigger (persistent bar, left slot) ---- */
.hamburger {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0; margin: 0; border: 0; background: transparent;
  cursor: pointer; border-radius: 6px;
}
.hamburger:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }
.hamburger-line {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 1px;
  transition: transform 240ms var(--ease-out), opacity 200ms ease;
}
.hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- scrim ---- */
.mobile-scrim {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 260ms ease;
}
.mobile-scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---- drawer shell ---- */
.mobile-drawer {
  display: none;
  position: fixed; top: 0; left: 0;
  width: min(86vw, 380px);
  height: 100vh; height: 100dvh;
  background: var(--brand-black);
  z-index: 210;
  flex-direction: column;
  transform: translateX(-100%);
  box-shadow: 14px 0 44px rgba(0, 0, 0, .5);
  transition: transform 320ms var(--ease-out);
}
.mobile-drawer.is-open { transform: translateX(0); }

.mobile-drawer-head {
  flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px 16px 22px;
  border-bottom: 1px solid #222;
}
.mobile-drawer-brand { color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.mobile-drawer-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: transparent; border: 0; border-radius: 6px;
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.mobile-drawer-close:active { transform: scale(0.9); }
.mobile-drawer-close:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }

/* ---- nav list + stagger-in on open ---- */
.mobile-drawer-nav {
  flex: 1 1 auto; overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 4px 22px 16px;
}
.mobile-drawer-nav > a, .mobile-drawer-nav > .mobile-acc {
  opacity: 0; transform: translateX(14px);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.mobile-drawer.is-open .mobile-drawer-nav > a,
.mobile-drawer.is-open .mobile-drawer-nav > .mobile-acc { opacity: 1; transform: translateX(0); }
.mobile-drawer-nav > *:nth-child(1) { transition-delay: 60ms; }
.mobile-drawer-nav > *:nth-child(2) { transition-delay: 90ms; }
.mobile-drawer-nav > *:nth-child(3) { transition-delay: 120ms; }
.mobile-drawer-nav > *:nth-child(4) { transition-delay: 150ms; }
.mobile-drawer-nav > *:nth-child(5) { transition-delay: 180ms; }
.mobile-drawer-nav > *:nth-child(6) { transition-delay: 210ms; }

.mobile-drawer-nav > a, .mobile-acc-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left; font-family: inherit;
  padding: 17px 2px; font-size: 18px; font-weight: 800;
  letter-spacing: .01em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  background: transparent; border: 0; border-bottom: 1px solid #1c1c1c;
  cursor: pointer;
}
.mobile-drawer-nav > a:focus-visible, .mobile-acc-trigger:focus-visible {
  outline: 2px solid var(--brand-red); outline-offset: -2px;
}
.mobile-acc-trigger::after {
  content: "+"; color: var(--brand-red); font-weight: 800; font-size: 20px;
  transition: transform 220ms var(--ease-out);
}
.mobile-acc-trigger[aria-expanded="true"] { color: var(--brand-red); border-bottom-color: var(--brand-red); }
.mobile-acc-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }

/* ---- accordion panel: smooth height via grid-template-rows 0fr→1fr ---- */
.mobile-acc-panel {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows 260ms var(--ease-out);
}
.mobile-acc-panel.is-open { grid-template-rows: 1fr; }
.mobile-acc-inner { overflow: hidden; min-height: 0; padding: 2px 0 10px; }
.mobile-acc-inner a {
  display: block; padding: 12px 12px; margin: 1px 0 1px 4px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: #aaa; text-decoration: none; border-left: 3px solid transparent;
}
.mobile-acc-inner a:active, .mobile-acc-inner a:focus-visible {
  color: #fff; border-left-color: var(--brand-red); background: #0d0d0d;
}
.mobile-acc-inner a:focus-visible { outline: 2px solid var(--brand-red); outline-offset: -2px; }

/* ---- footer: always-reachable call CTA ---- */
.mobile-drawer-foot { flex: none; padding: 14px 22px 22px; border-top: 1px solid #222; }
.mobile-drawer-call {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 15px 18px; border-radius: 8px;
  background: var(--brand-red); color: #fff;
  font-weight: 800; font-size: 16px; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform 160ms var(--ease-out);
}
.mobile-drawer-call:active { transform: scale(0.97); }
.mobile-drawer-call:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mobile-drawer-foot p { margin-top: 12px; color: #888; font-size: 12px; text-align: center; }

body.mobile-menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .hamburger-line { transition: opacity 200ms ease; }
  .mobile-scrim, .mobile-drawer, .mobile-drawer-nav > a, .mobile-drawer-nav > .mobile-acc,
  .mobile-acc-panel, .mobile-drawer-close, .mobile-drawer-call { transition-duration: 120ms; }
  .mobile-drawer-nav > * { transition-delay: 0ms !important; }
}

/* ---- show the mobile-only pieces at ≤980px (single toggle, end of this block) ---- */
@media (max-width: 980px) {
  .hamburger { display: flex; }
  .mobile-scrim { display: block; }
  .mobile-drawer { display: flex; }
}

/* ============================================================
   BTN-CALL — header telefon butonu (sıfırdan, izole)
   Nav link kurallarından tamamen bağımsız; her durumda
   kırmızı zemin + beyaz metin garanti.
   ============================================================ */
.site-header a.btn-call {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 0;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
  transition:
    box-shadow 200ms ease,
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .site-header a.btn-call:hover {
    background: var(--brand-red);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(236, 28, 36, .45), inset 0 1px 0 rgba(255, 255, 255, .15);
  }
}
.site-header a.btn-call:active {
  background: var(--brand-red);
  color: #fff;
  transform: translateY(0) scale(0.97);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
}
.site-header a.btn-call:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .site-header a.btn-call { transition: box-shadow 200ms ease; }
  .site-header a.btn-call:hover, .site-header a.btn-call:active { transform: none; }
}

/* ---- image placeholder ---- */
.ph {
  border: 2px dashed #9a9a9a;
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 14px, var(--ph-stripe) 14px, var(--ph-stripe) 15px);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 24px; text-align: center; color: var(--ink-3);
  min-height: 180px;
}
/* gap below a .ph that sits above more content in the same section
   (colour-chart's sample-board and swatch-grid placeholders) —
   replaces a repeated inline style="margin-bottom:22px" */
.ph-spaced { margin-bottom: 22px; }
.ph .tag {
  font: 700 10.5px/1 monospace; letter-spacing: .1em;
  background: var(--ink); color: #fff; padding: 5px 9px; border-radius: 3px;
}
.ph .desc { font-size: 13.5px; font-weight: 600; color: var(--ink-2); max-width: 520px; }
.ph .alt { font: 400 11px/1.4 monospace; color: var(--ink-3); max-width: 560px; }
.ph.has-photo {
  border-style: solid; border-color: var(--line);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

/* ============================================================
   HERO — full-bleed background photo (Ben, 2026-07-09)
   Real photo goes in assets/img/hero/{name}.webp — until it
   exists, the diagonal placeholder pattern shows through
   automatically (it's a lower background-image layer, see
   spc_hero_bg_style() in functions.php). Drop the file in and
   it takes over with zero code changes.
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* = home.webp's exact 2400×1350 — hero height tracks the photo, no crop */
  display: flex;
  align-items: center;
  background: var(--brand-black); /* fallback while no photo exists */
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover, auto;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(6, 6, 8, .82) 0%, rgba(6, 6, 8, .58) 38%,
    rgba(6, 6, 8, .28) 68%, rgba(6, 6, 8, .46) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--maxw); margin: 0 auto; padding: 132px 24px 72px;
  display: grid; gap: 28px;
}
.hero .kicker { color: rgba(255, 255, 255, .78); }
.hero .breadcrumb { color: rgba(255, 255, 255, .7); }
.hero .breadcrumb a { color: rgba(255, 255, 255, .7); }
.hero .breadcrumb a:hover { color: #fff; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; letter-spacing: -.01em; max-width: 780px; }
.hero .sub { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 680px; }
.hero .slogan { color: rgba(255, 255, 255, .88); }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .85); }
@media (hover: hover) and (pointer: fine) {
  .hero .btn.ghost:hover { background: rgba(255, 255, 255, .14); }
}

/* hero Call CTA — scoped here only, other pages' solid buttons stay untouched */
.hero .cta-row .btn.solid {
  background: var(--brand-red); border-color: var(--brand-red);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: box-shadow 200ms ease, transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hero .cta-row .btn.solid:hover {
    background: var(--brand-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(236, 28, 36, .45), inset 0 1px 0 rgba(255, 255, 255, .15);
  }
}
.hero .cta-row .btn.solid:active { transform: scale(0.97); }

/* ---- hero brand lockup: "trusted supplier partners" trust bar ----
   In-flow inside .hero-inner (not absolutely positioned) so it always
   sits in the proven-visible content column instead of a corner where
   it can get lost against the photo. Sized to match the site's existing
   .brand-logo card pattern (30-40px logo heights on white cards). */
.hero-brands { margin-top: 4px; }
.hero-brands-label {
  font: 700 11px/1 monospace; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .58); margin-bottom: 14px; display: block;
}
.hero-brands-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-brand-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .97);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
}
.hero-brand-logo img { display: block; height: 30px; width: auto; }
.hero-brand-logo.dulux img, .hero-brand-logo.jotun img { height: 36px; }

/* ---- mobile: bottom-anchored text + full-width-safe scrim (Ben, 2026-07-09) ----
   Desktop's diagonal scrim assumes text-on-left/photo-on-right; on a narrow
   phone the text spans the full width, so a left-heavy gradient leaves the
   right side of the headline sitting on unclotted photo. Anchoring content
   to the bottom + darkening upward from there fixes contrast everywhere the
   text can be, regardless of horizontal position. */
@media (max-width: 980px) {
  .hero { aspect-ratio: auto; align-items: flex-end; min-height: 520px; } /* full 16:9 too tall on mobile — crop via cover instead */
  .hero-bg { background-position: 72% center, center; } /* keep the workshop detail in frame under a tighter crop */
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(6, 6, 8, .18) 0%, rgba(6, 6, 8, .5) 55%, rgba(6, 6, 8, .88) 100%);
  }
  .hero-inner { padding: 56px 24px 40px; }
  .hero-brands-label { margin-bottom: 10px; }
  .hero-brands-row { gap: 8px; }
  .hero-brand-logo { padding: 8px 14px; }
  .hero-brand-logo img { height: 22px; }
  .hero-brand-logo.dulux img, .hero-brand-logo.jotun img { height: 26px; }
}
@media (max-width: 560px) {
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; text-align: center; }
}

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 15.5px;
  padding: 13px 22px; border-radius: var(--radius); border: 2px solid var(--ink);
}
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: #000; }
.btn.ghost { color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--bg-3); }

/* ---- sections ---- */
section.block { padding: 52px 0; border-bottom: 1.5px solid var(--line); }
section.block.alt { background: var(--bg-2); }
.block h2 { font-size: clamp(23px, 3vw, 31px); line-height: 1.2; margin-bottom: 18px; }
.block .lead, .block p { color: var(--ink-2); max-width: 800px; margin-bottom: 14px; font-size: 16px; }
.kicker {
  font: 700 11.5px/1 monospace; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px; display: block;
}

/* ---- intro split: lead copy + single non-redundant stat pull-out ---- */
.intro-split { display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: start; margin-top: 4px; }
.intro-copy .lead { font-size: 20px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.intro-stat {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 22px 20px; border-left: 3px solid var(--brand-red); background: var(--bg-2);
}
.intro-stat-num { font: 800 56px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--brand-black); letter-spacing: -.02em; }
.intro-stat-num small { font-size: 32px; color: var(--brand-red); font-weight: 800; }
.intro-stat-label { margin-top: 6px; font: 700 12px/1.4 monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

@media (max-width: 640px) {
  .intro-split { grid-template-columns: 1fr; gap: 20px; }
  .intro-stat { order: -1; flex-direction: row; align-items: center; gap: 16px; }
  .intro-stat-label { margin-top: 0; }
}

/* ---- cards ----
   .card is shared by front-page "What We Coat", services-hub "Service
   Areas" AND colour-chart's finish-type cards (which have no link).
   Base rule (accent bar, heading weight) is safe everywhere. The
   whole-card-clickable + hover-lift treatment is scoped to `a.card`
   only, so colour-chart's non-linking `div.card` never fakes being
   clickable. */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 26px; }
.card {
  border: 1.5px solid var(--line); border-top: 4px solid var(--brand-red); border-radius: var(--radius);
  background: #fff; padding: 20px; display: grid; gap: 10px; align-content: start;
}
.card .ph { aspect-ratio: 4 / 3; min-height: 0; padding: 14px; } /* 1000×750 recommended — keeps every card thumbnail the same shape regardless of source photo */
.card h3 { font-size: 18px; font-weight: 800; letter-spacing: -.005em; }
.card p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.card .more { font-size: 14px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.card .more .arrow { display: inline-block; transition: transform 200ms var(--ease-out); }

/* colour-chart download cards — PDF-file badge + matching supplier logo,
   rendered by spc_pdf_card_badge() in functions.php. */
.card-doc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-doc-icon { color: var(--brand-red); display: inline-flex; flex-shrink: 0; }
.card-doc-brand { height: 24px; width: auto; max-width: 96px; object-fit: contain; display: block; flex-shrink: 0; }

/* colour-chart "Finish Types" swatches — CSS-simulated texture/sheen per
   finish, standing in for the real sample-board photo until it's provided.
   Neutral greys throughout: these demonstrate finish/texture, not colour. */
.finish-swatch { height: 64px; border-radius: calc(var(--radius) - 2px); margin-bottom: 2px; }
.finish-swatch.gloss {
  background: linear-gradient(115deg, #3a3a3c 0%, #3a3a3c 36%, #9a9a9e 46%, #3a3a3c 56%, #3a3a3c 100%);
}
.finish-swatch.satin {
  background: linear-gradient(115deg, #55555a 0%, #55555a 28%, #7c7c82 50%, #55555a 72%, #55555a 100%);
}
.finish-swatch.matt { background: #4a4a4c; }
.finish-swatch.metallic {
  background: linear-gradient(100deg, #8a7a4a 0%, #ddd0a0 20%, #8a7a4a 40%, #ddd0a0 60%, #8a7a4a 80%, #ddd0a0 100%);
}
.finish-swatch.hammertone {
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.10) 0 3px, transparent 3px) 0 0 / 20px 20px,
    radial-gradient(circle at 65% 65%, rgba(255,255,255,.07) 0 4px, transparent 4px) 0 0 / 28px 28px,
    #45454a;
}
.finish-swatch.fine-texture {
  background: repeating-linear-gradient(45deg, #48484a, #48484a 2px, #525254 2px, #525254 4px);
}
.finish-swatch.wrinkle {
  background: repeating-radial-gradient(circle at 30% 30%, #454547 0 6px, #4c4c4e 6px 12px);
}

/* three-way finish comparison (e.g. automotive gloss/satin/matt) — narrower
   than .cards, sized to sit in a .split column instead of the full-width grid */
.finish-trio { display: flex; gap: 12px; }
.finish-trio > div { flex: 1; text-align: center; }
.finish-trio .finish-swatch { height: 90px; margin-bottom: 8px; }
.finish-trio span { font-size: 13px; font-weight: 700; color: var(--ink-2); }

/* inline RAL colour reference swatches (Custom Colour Matching section) —
   RAL is a public standard, these are commonly-published approximations,
   not a fabricated precision claim. */
.ral-swatch {
  display: inline-block; width: 14px; height: 14px; border-radius: 3px;
  border: 1px solid rgba(0,0,0,.15); vertical-align: middle; margin: 0 1px;
}
.ral-swatch.ral-7035 { background: #d7d7d7; }
.ral-swatch.ral-9005 { background: #0a0a0a; }
.ral-swatch.ral-7032 { background: #b8b5a1; }
.ral-swatch.ral-9003 { background: #f4f4f4; }
.ral-swatch.ral-2004 { background: #e25303; }

a.card {
  text-decoration: none; color: inherit;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  a.card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-red);
    box-shadow: 0 14px 30px rgba(16, 16, 20, .12);
  }
  a.card:hover .more { color: var(--brand-red); }
  a.card:hover .more .arrow { transform: translateX(4px); }
}
a.card:active { transform: translateY(-1px) scale(0.99); }
a.card:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  a.card, a.card:hover, a.card:active { transform: none; }
  .card .more .arrow { transition: none; }
}

/* ---- spec / capability list ----
   Shared by 16 templates (front-page, about, services, locations,
   colour-chart, contact, gallery) — CSS-only polish, zero HTML
   changes anywhere: red left-bar + small red-caps label reuse the
   accent language already established in cards/dropdowns, instead
   of the plain grey box + grey square bullet. */
.speclist { display: grid; gap: 10px; margin: 20px 0; max-width: 760px; }
.speclist li {
  list-style: none; display: block;
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
  border: 1px solid var(--line); border-left: 3px solid var(--brand-red); border-radius: var(--radius);
  padding: 13px 16px 13px 18px; background: #fff;
  box-shadow: 0 1px 3px rgba(16, 16, 20, .04);
}
.speclist li::before { content: none; }
.speclist li strong {
  color: var(--brand-red); font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; font-size: 12.5px; margin-right: 1px;
}
/* scoped 2-col variant (this section only) — base .speclist stays single-column everywhere else */
.speclist.cols-2 { grid-template-columns: 1fr 1fr; gap: 10px 16px; max-width: none; }
@media (max-width: 560px) { .speclist.cols-2 { grid-template-columns: 1fr; } } /* stacked full-width column is still narrow on phones — back to 1 col */

/* ---- brand logo strip (Colour Range section, front-page) ---- */
.brand-strip { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0 6px; }
.brand-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: 0 1px 3px rgba(16, 16, 20, .04);
}
.brand-logo img { display: block; height: 32px; width: auto; }
.brand-logo.dulux img, .brand-logo.jotun img { height: 40px; }

/* ---- two column media/text ---- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; margin-top: 10px; }
.split .ph { min-height: 260px; position: sticky; top: 90px; }
/* Custom Colour Matching only — photo matches the text column's height
   instead of the shared sticky/min-height behaviour. Compound selector
   (.split.split-eq, not just .split-eq) needed: a lone .split-eq class
   is equal specificity to ".split .ph" and would be source-order
   dependent — same fix as .chips a.chip-loc. */
.split.split-eq { align-items: stretch; }
.split.split-eq .ph { height: 100%; min-height: 0; position: static; }
/* scoped to the Workshop section's oven photo — .split .ph is shared across 11
   templates (About, Colour Chart, all service/location pages); untouched here.
   4:5 chosen to honour the photo's genuinely-good vertical composition
   (ceiling height, hanging chains) rather than force-crop it to landscape. */
.workshop-photo { aspect-ratio: 4 / 5; min-height: 0; }
/* industrial-infrastructure "What We Coat" photo — source is portrait
   (720x1280). Native ratio and 4:5 both ran too tall next to the speclist
   (overflowed / didn't read well); settled on a shorter 4:3 landscape crop,
   consistent with the card-photo ratio used elsewhere on the site. */
.industrial-coat-photo { aspect-ratio: 4 / 3; min-height: 0; }
.electrical-coat-photo { aspect-ratio: 4 / 3; min-height: 0; }
.shopfitting-coat-photo { aspect-ratio: 4 / 3; min-height: 0; }
.finish-types-photo { aspect-ratio: 32 / 9; min-height: 0; }
.industrial-pre-cta-photo { aspect-ratio: 32 / 9; min-height: 0; }
/* .ph.has-photo.industrial-pre-cta-photo (not just .industrial-pre-cta-photo)
   — same specificity fix as .pre-cta-photo: a lone class loses to
   ".ph.has-photo" (0,2,0) regardless of source order. */
.ph.has-photo.industrial-pre-cta-photo { border: none; border-radius: 0; }
/* updated render adds more headroom/footroom around the cabinet, so the
   32:9 half-height banner crop (matching .industrial-pre-cta-photo) fits
   without slicing the subject like the earlier tighter render did. */
.electrical-pre-cta-photo { aspect-ratio: 32 / 9; min-height: 0; }
.ph.has-photo.electrical-pre-cta-photo { border: none; border-radius: 0; }

/* pre-CTA banner photo (front-page only) — full-viewport-width strip
   (section has no .container wrapper, matching how .hero breaks full-bleed),
   4:1 letterbox — half the height of the original 2:1 plan. Wide crop of a
   2400x1350 source; background-position:center keeps the tagged parts and
   red rails centred while trimming ceiling/floor. */
.pre-cta-photo { aspect-ratio: 4 / 1; min-height: 0; }
/* .ph.has-photo.pre-cta-photo (not just .pre-cta-photo) — same specificity
   fix as .chips a.chip-loc: a lone class loses to ".ph.has-photo" (0,2,0)
   regardless of source order, so the border removal must compound. */
.ph.has-photo.pre-cta-photo { border: none; border-radius: 0; }
/* section.block.pre-cta (not just .pre-cta) — same specificity fix as
   .chips a.chip-loc: a lone class loses to "section.block"'s tag+class
   (0,1,1) regardless of source order, so the override must compound. */
section.block.pre-cta { padding: 0; }

/* ---- suburbs ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips + .btn { margin-top: 22px; }
.chips a {
  border: 1.5px solid var(--ink-2); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); text-decoration: none; background: #fff;
}
.chips a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* richer suburb tile (front-page only) — name + tag, home suburb accented.
   Compound selector (.chips a.chip-loc) required: a lone .chip-loc class
   (0,1,0) loses to .chips a (0,1,1) on shared properties like border-radius
   regardless of source order — the tag selector in ".chips a" outweighs it.
   Compounding keeps every rule here unambiguously higher-specificity than
   the base pill rules, so locations-index.php's plain chips stay untouched. */
.chips a.chip-loc {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  border-radius: var(--radius); padding: 10px 16px 9px;
  transition: box-shadow 160ms var(--ease-out), border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.chip-loc-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.chip-loc-note {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  color: var(--brand-red);
}
.chips a.chip-loc:hover { background: #fff; color: var(--ink-2); border-color: var(--ink); box-shadow: 0 3px 10px rgba(16, 16, 20, .08); }
.chips a.chip-loc.is-home { background: var(--brand-black); border-color: var(--brand-black); }
.chips a.chip-loc.is-home .chip-loc-name { color: #fff; }
.chips a.chip-loc.is-home:hover { background: #1a1a1a; border-color: #1a1a1a; box-shadow: 0 3px 10px rgba(16, 16, 20, .2); }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; margin-top: 22px; max-width: 860px; }
.faq details {
  border: 1.5px solid var(--line); border-left-width: 3px; border-radius: var(--radius);
  background: #fff; overflow: hidden; transition: border-color 160ms var(--ease-out);
}
.faq details[open] { border-left-color: var(--brand-red); }
.faq summary {
  cursor: pointer; padding: 15px 18px; font-weight: 700; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background 160ms var(--ease-out);
}
.faq summary:hover { background: var(--bg-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 14px; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink-3), var(--ink-3)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) center / 2px 100% no-repeat;
  transition: transform 200ms var(--ease-in-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 18px 16px; color: var(--ink-2); font-size: 15px; }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); color: #fff; padding: 52px 0; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.cta-band p { color: #d9d9d9; max-width: 720px; margin-bottom: 20px; font-size: 16.5px; }
.cta-band .btn { border-color: #fff; }
.cta-band .btn.solid { background: #fff; color: var(--ink); }
.cta-band .btn.ghost { color: #fff; }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.14); }
.cta-band .meta { margin-top: 22px; font-size: 14.5px; color: #bdbdbd; }

/* ---- footer ---- */
.site-footer { background: #111; color: #cfcfcf; padding: 46px 0 26px; font-size: 14px; }
.site-footer .cols {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 30px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: #cfcfcf; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .nap p { margin-bottom: 8px; color: #bdbdbd; }
.site-footer .legal {
  max-width: var(--maxw); margin: 30px auto 0; padding: 18px 24px 0;
  border-top: 1px solid #333; color: #8f8f8f; font-size: 12.5px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---- inner page helpers ---- */
.page-hero { background: var(--bg-2); border-bottom: 1.5px solid var(--line); padding: 78px 0 36px; }
.breadcrumb { font: 600 12.5px/1 monospace; color: var(--ink-3); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.page-hero h1 { font-size: clamp(27px, 4vw, 40px); line-height: 1.15; max-width: 820px; margin-bottom: 10px; }
.slogan { font-size: 17px; font-weight: 700; font-style: italic; color: var(--ink-2); margin: 6px 0 14px; }
.page-hero .sub { font-size: 16.5px; color: var(--ink-2); max-width: 720px; margin-bottom: 20px; }
.page-hero .ph { min-height: 240px; margin-top: 22px; }

.ph-grid { display: grid; gap: 12px; margin-top: 22px; }
.ph-grid.g2x2 { grid-template-columns: 1fr 1fr; }
.ph-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.ph-grid.g4 { grid-template-columns: repeat(4, 1fr); }
.ph-grid .ph { min-height: 140px; padding: 14px; }
.ph-grid .ph.has-photo { aspect-ratio: 4 / 3; min-height: 0; padding: 0; }

.note-callout {
  border: 2px solid #b98900; background: #fff8e6; border-radius: var(--radius);
  padding: 16px 18px; margin: 18px 0; max-width: 800px;
}
.note-callout .nc-tag { font: 700 10.5px/1 monospace; letter-spacing: .1em; color: #8a6600; display: block; margin-bottom: 6px; }
.note-callout p { color: #5c4a00; font-size: 14.5px; margin: 0 0 6px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; margin-top: 8px; }
.nap-card { border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px; }
.nap-card p { margin-bottom: 12px; font-size: 15.5px; }
.nap-card strong { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.map-embed { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { display: block; }

/* ---- contact form (StarPowder JotForm — plain HTML POST to submit.jotform.com) ----
   Reuses .nap-card for the boxed-panel chrome (paired with the "Before You
   Send" info card via .contact-grid on the home page, or standalone on the
   contact page) — same visual language as the Workshop Address panel above,
   just applied to a different content type. */
.contact-form-card { max-width: 760px; }
.contact-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form label {
  display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-3); margin-bottom: 7px;
}
.contact-form label .req { color: var(--brand-red); margin-left: 2px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px; background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-form select {
  appearance: none; cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 34px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(236, 28, 36, .12);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form label .opt { text-transform: none; font-weight: 500; letter-spacing: normal; color: var(--ink-3); margin-left: 4px; }
.contact-form input[type="file"] {
  padding: 9px 10px; font-size: 13.5px; cursor: pointer;
}
.contact-form .field.consent { margin-bottom: 18px; }
.contact-form .consent-label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  text-transform: none; font-size: 13.5px; font-weight: 500; letter-spacing: normal; color: var(--ink-2);
}
.contact-form .consent-label input[type="checkbox"] {
  width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--brand-red); cursor: pointer;
}
.contact-form button.btn { font-family: inherit; cursor: pointer; margin-top: 4px; }
@media (max-width: 560px) {
  .contact-form .cf-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
  .ph-grid.g4 { grid-template-columns: 1fr 1fr; }
  .ph-grid.g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ph-grid.g2x2, .ph-grid.g3, .ph-grid.g4 { grid-template-columns: 1fr; }
}

/* ---- responsive (non-header) ---- */
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .split .ph { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .cols { grid-template-columns: 1fr; }
}
