/* =========================================================
   Bheki Carport and Projects: shared styles
   Palette: Steel, Concrete, Site White, Oxide Red, Deep Oxide, Oak
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --steel: #2B2F33;
  --steel-deep: #1F2225;
  --steel-soft: #4A5056;
  --concrete: #E4E6E5;
  --concrete-line: #C9CDCB;
  --white: #FAFAF8;
  --amber: #B3261E;      /* oxide red (feature colour) */
  --amber-deep: #8A1C16; /* deep oxide, for text and links */
  --oak: #BFA07E;
  --red-on-dark: #F28B80; /* red text/icons on dark steel */
  --muted: #5A6066;
  --error: #7A1010;

  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --space: clamp(3.5rem, 8vw, 6.5rem);
  --bar-h: 4rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--steel);
  background: var(--white);
  padding-bottom: var(--bar-h);
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--steel); }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; box-shadow: 0 0 0 6px var(--steel); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 6.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-stretch: 112%; font-weight: 750; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.5; max-width: 38em; }
.measure { max-width: 42em; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section--concrete { background: var(--concrete); }
.section-head { margin-bottom: 2rem; max-width: 44em; }
.section-head p { color: var(--muted); }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .split--wide-left { grid-template-columns: 1.3fr 1fr; }
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--amber); color: #fff; padding: 0.7rem 1rem; font-weight: 700;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.75rem 1.35rem;
  font-weight: 700; font-stretch: 105%; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 3px; cursor: pointer;
  background: var(--amber); color: #fff;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: #8A1C16; color: #fff; }
.btn--line { background: transparent; border-color: currentColor; color: var(--steel); }
.btn--line:hover { background: var(--steel); color: var(--white); }
.on-dark .btn--line, .beam .btn--line { color: var(--white); }
.on-dark .btn--line:hover, .beam .btn--line:hover { background: var(--white); color: var(--steel); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row .btn { flex: 1 1 12rem; }
@media (min-width: 600px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--concrete-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { text-decoration: none; color: var(--steel); line-height: 1; margin-right: auto; }
.brand strong { display: block; font-size: 1.5rem; font-weight: 900; font-stretch: 125%; letter-spacing: 0.01em; }
.brand span { display: block; font-size: 0.72rem; font-weight: 600; color: var(--amber-deep); margin-top: 0.2rem; letter-spacing: 0.02em; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: 0;
  padding: 0.6rem 0.2rem; font-weight: 700; cursor: pointer;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.header-cta { display: none; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--concrete-line);
  max-height: calc(100vh - 4.25rem - var(--bar-h)); overflow: auto;
}
.site-nav ul { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1.25rem; }
.site-nav a {
  display: block; padding: 0.8rem 0; text-decoration: none; color: var(--steel);
  font-weight: 650; font-size: 1.1rem; border-bottom: 1px solid var(--concrete);
}
.site-nav a[aria-current="page"] { color: var(--amber-deep); }
@media (min-width: 1020px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; border: 0; max-height: none; background: none; }
  .site-nav ul { display: flex; gap: 1.4rem; padding: 0; }
  .site-nav a { border: 0; padding: 0.4rem 0; font-size: 0.98rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber); color: var(--steel); }
  .header-cta { display: inline-flex; min-height: 2.6rem; padding: 0.5rem 1rem; }
}
@media (min-width: 600px) and (max-width: 1019px) {
  .header-cta { display: inline-flex; min-height: 2.6rem; padding: 0.5rem 1rem; }
}

/* ---------- Home hero + beam ---------- */
.hero-photo { position: relative; background: var(--concrete); }
.hero-photo img, .hero-banner svg { width: 100%; height: clamp(15rem, 58vw, 36rem); object-fit: cover; object-position: 50% 35%; display: block; }
.hero-banner { background: #1F2225; }
.hero-photo figcaption {
  position: absolute; right: 0.6rem; bottom: 0.6rem; font-size: 0.78rem;
  background: rgba(31,34,37,.78); color: var(--white); padding: 0.25rem 0.55rem;
}
@media (min-width: 900px) {
  .hero-photo img, .hero-banner svg { height: min(60vh, 36rem); min-height: 22rem; }
  .hero-photo figcaption { bottom: 5.5rem; right: 1.2rem; }
}

.beam {
  position: relative; background: var(--steel); color: var(--white);
  border-bottom: 8px solid var(--steel-deep);
}
.beam::before { /* flange line along the top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--steel-soft);
}
.beam a:not(.btn) { color: var(--red-on-dark); }
.beam a:not(.btn):hover { color: var(--white); }
.beam .lead { color: #D9DCDB; }
.hero-beam { padding: 2rem var(--gutter) 2.4rem; }
.hero-beam h1 { margin-bottom: 0.4em; }
.hero-beam .btn-row { margin: 1.5rem 0 1.25rem; }
.credential { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; font-size: 0.92rem; color: #C5C9C8; margin: 0; }
.credential b { color: var(--white); font-weight: 650; }
@media (min-width: 900px) {
  .hero-beam { margin: -5rem auto 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); padding: 2.75rem 3rem 2.75rem; z-index: 2; }
  .hero-beam-outer { padding: 0 var(--gutter); }
}
/* Clean hero: full-width band straight under the header, no banner */
.hero-beam-outer--flat .hero-beam { padding: clamp(2.5rem, 7vw, 5rem) 0; }
.hero-beam-outer--flat .hero-beam::before { display: none; }
@media (min-width: 900px) {
  .hero-beam-outer--flat { padding: 0; }
  .hero-beam-outer--flat .hero-beam { margin: 0; max-width: none; padding: clamp(2.5rem, 7vw, 5rem) 0; }
}

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(2.2rem, 6vw, 4rem) 0 clamp(2.2rem, 5vw, 3.2rem); }
.page-head .btn-row { margin-top: 1.5rem; }
.crumbs { font-size: 0.9rem; margin-bottom: 1rem; color: #C5C9C8; }
.crumbs a { color: #C5C9C8 !important; }
.page-photo img, .page-photo .ph { width: 100%; height: clamp(14rem, 45vw, 30rem); object-fit: cover; }

/* ---------- Image placeholders ---------- */
.ph {
  display: grid; place-items: center; text-align: center; padding: 1rem;
  background:
    linear-gradient(var(--concrete-line), var(--concrete-line)) 50% 50% / 100% 1px no-repeat,
    linear-gradient(var(--concrete-line), var(--concrete-line)) 50% 50% / 1px 100% no-repeat,
    var(--concrete);
  color: var(--steel-soft); font-size: 0.85rem; min-height: 10rem; aspect-ratio: 4 / 3;
}
.ph span { background: var(--white); padding: 0.4rem 0.7rem; border: 1px dashed var(--steel-soft); line-height: 1.35; }
.ph code { font-size: 0.8rem; color: var(--amber-deep); word-break: break-all; }

/* Text placeholders the owner still needs to fill in */
.todo {
  border: 2px dashed var(--amber-deep); background: #FBEDEC; padding: 0.9rem 1rem; color: var(--steel);
}
.todo::before { content: "Placeholder: replace before launch"; display: block; font-size: 0.78rem; font-weight: 700; color: var(--amber-deep); margin-bottom: 0.25rem; }

/* ---------- Service list ---------- */
.svc-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--steel); }
.svc {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--concrete-line); text-decoration: none; color: var(--steel);
}
.svc:hover h3 { color: var(--amber-deep); }
.svc img, .svc .ph { width: 6.5rem; height: 5rem; object-fit: cover; min-height: 0; aspect-ratio: auto; padding: 0; }
.svc .ph span { display: none; }
.svc h3 { margin: 0 0 0.2rem; }
.svc p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.45; }
@media (min-width: 700px) {
  .svc { grid-template-columns: 11rem 1fr; gap: 1.5rem; padding: 1.25rem 0; }
  .svc img, .svc .ph { width: 11rem; height: 7.5rem; }
  .svc--lead { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; }
  .svc-grid .svc-list + .svc-list { border-top-color: var(--steel); }
}

/* ---------- Carport sizer (signature) ---------- */
.sizer { background: var(--white); border: 2px solid var(--steel); }
.sizer-grid { display: grid; }
@media (min-width: 900px) { .sizer-grid { grid-template-columns: 1fr 1.25fr; } }
.sizer-controls { padding: 1.5rem; }
.sizer-plan { background: #F1F2F1; border-bottom: 2px solid var(--steel); padding: 0.75rem; display: flex; flex-direction: column; justify-content: center; order: -1; }
@media (min-width: 900px) { .sizer-plan { order: 0; border-bottom: 0; border-left: 2px solid var(--steel); padding: 1.5rem; } }
.sizer-plan svg { width: 100%; height: auto; max-height: 26rem; display: block; }
.sizer fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.sizer legend, .sizer label.lbl { font-weight: 700; margin-bottom: 0.5rem; display: block; }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg button {
  min-width: 3.2rem; min-height: 3rem; padding: 0.4rem 0.9rem; border: 2px solid var(--steel);
  background: var(--white); font-weight: 700; cursor: pointer; border-radius: 3px;
}
.seg button[aria-pressed="true"] { background: var(--steel); color: var(--white); }
.range-row { margin-bottom: 1.1rem; }
.range-row .lbl { display: flex; justify-content: space-between; }
.range-row output { font-variant-numeric: tabular-nums; color: var(--amber-deep); }
input[type="range"] { width: 100%; accent-color: var(--amber-deep); height: 2rem; }
.sizer-readout { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 0.5rem 0 1.25rem; padding: 0.8rem 0; border-top: 1px solid var(--concrete-line); border-bottom: 1px solid var(--concrete-line); }
.sizer-readout div { font-size: 0.85rem; color: var(--muted); }
.sizer-readout b { display: block; font-size: 1.45rem; font-stretch: 115%; color: var(--steel); font-variant-numeric: tabular-nums; }
.sizer-note { font-size: 0.88rem; color: var(--muted); margin: 0.9rem 0 0; }

/* ---------- On site now ---------- */
.site-cards { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .site-cards { grid-template-columns: repeat(2, 1fr); } }
.site-card { background: var(--white); border-left: 6px solid var(--amber); display: grid; }
@media (min-width: 560px) { .site-card { grid-template-columns: 42% 1fr; } }
.site-card img { width: 100%; height: 100%; min-height: 12rem; object-fit: cover; }
.site-card-body { padding: 1.1rem 1.25rem 1.3rem; }
.site-card h3 { margin-bottom: 0.3rem; }
.site-card h3 a { color: var(--steel); text-decoration: none; }
.site-card h3 a:hover { color: var(--amber-deep); }
.meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.8rem; }
.stages { list-style: none; padding: 0; margin: 0.6rem 0 0.4rem; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; }
.stages li { height: 8px; background: var(--concrete-line); }
.stages li.done { background: var(--steel); }
.stages li.now { background: var(--amber); }
.stage-now { font-weight: 700; font-size: 0.95rem; margin: 0; }
.stage-now span { font-weight: 400; color: var(--muted); }
.live-dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #2F8F4E; margin-right: 0.35rem; vertical-align: 0.08em; }
.stage-list { list-style: none; padding: 0; margin: 0.8rem 0 0; font-size: 0.93rem; }
.stage-list li { padding: 0.3rem 0 0.3rem 1.6rem; position: relative; color: var(--muted); }
.stage-list li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62rem; width: 0.7rem; height: 0.7rem; border: 2px solid var(--concrete-line); }
.stage-list li.done { color: var(--steel); }
.stage-list li.done::before { background: var(--steel); border-color: var(--steel); }
.stage-list li.now { color: var(--steel); font-weight: 700; }
.stage-list li.now::before { background: var(--amber); border-color: var(--amber); }

/* ---------- Work grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filters button {
  min-height: 2.75rem; padding: 0.45rem 1rem; border: 2px solid var(--steel); background: transparent;
  border-radius: 3px; cursor: pointer; font-weight: 650;
}
.filters button[aria-pressed="true"] { background: var(--steel); color: var(--white); }
.work-grid { display: grid; gap: 2rem 1.5rem; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid--feature > :first-child { grid-column: span 2; grid-row: span 2; }
  .work-grid--feature > :first-child .work-img { aspect-ratio: auto; height: 100%; min-height: 28rem; }
}
.work-item { margin: 0; display: flex; flex-direction: column; }
.work-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete); flex: 1; }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-img .tag {
  position: absolute; left: 0; top: 0.8rem; background: var(--amber); color: #fff;
  font-size: 0.8rem; font-weight: 700; padding: 0.25rem 0.6rem;
}
.work-item h3 { margin: 0.8rem 0 0.15rem; }
.work-item h3 a { color: var(--steel); text-decoration: none; }
.work-item h3 a::after { content: ""; position: absolute; inset: 0; }
.work-item { position: relative; }
.work-item h3 a:hover { color: var(--amber-deep); }
.work-item p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.empty-note { padding: 1.5rem; border: 2px dashed var(--concrete-line); color: var(--muted); }

/* ---------- Project page ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--steel-soft); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--steel-soft); }
.facts dt { font-size: 0.82rem; color: #C5C9C8; }
.facts dd { margin: 0; font-weight: 700; }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); align-content: start; }
.gallery button:first-child { grid-column: 1 / -1; }
.gallery button { padding: 0; border: 0; background: var(--concrete); cursor: zoom-in; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; }
.story h2 { margin-top: 2rem; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.story h2:first-child { margin-top: 0; }

/* ---------- Before / after ---------- */
.ba { position: relative; overflow: hidden; background: var(--concrete); user-select: none; margin-bottom: 1.5rem; }
.ba img { width: 100%; height: auto; }
.ba .ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: var(--amber); pointer-events: none; }
.ba .ba-line::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%);
  background: var(--amber); border: 3px solid var(--steel);
}
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input[type="range"]:focus-visible + .ba-line { background: var(--white); }
.ba-labels span { position: absolute; top: 0.6rem; background: var(--steel); color: var(--white); font-size: 0.8rem; padding: 0.2rem 0.5rem; pointer-events: none; }
.ba-labels span:first-child { left: 0.6rem; }
.ba-labels span:last-child { right: 0.6rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20,22,24,.96); display: none; }
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; color: var(--white); }
.lb-stage { display: grid; place-items: center; padding: 0 0.5rem; min-height: 0; touch-action: pan-y; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 1rem 1.25rem; color: #D9DCDB; font-size: 0.92rem; }
.lb-btn { background: none; border: 2px solid var(--white); color: var(--white); min-width: 3rem; min-height: 3rem; font-weight: 700; cursor: pointer; border-radius: 3px; }
.lb-btn:hover { background: var(--white); color: var(--steel); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--concrete-line); }
.steps > li::before {
  content: counter(step); font-stretch: 125%; font-weight: 900; font-size: 1.6rem; line-height: 1;
  width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--steel); color: var(--white);
}
.steps h3 { margin: 0.35rem 0 0.25rem; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .steps--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
}

/* Interactive timeline (process page) */
.timeline { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .timeline { grid-template-columns: 20rem 1fr; gap: 3rem; } }
.tl-tabs { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.75rem; }
@media (min-width: 900px) { .tl-tabs { display: block; } }
@media (max-width: 899px) { .tl-tabs::before { display: none; } .tl-tabs button { font-size: 0.95rem; grid-template-columns: 2.5rem 1fr; } .tl-tabs button span { width: 2.5rem; height: 2.5rem; font-size: 1rem; } }
.tl-tabs::before { content: ""; position: absolute; left: 1.45rem; top: 1rem; bottom: 1rem; width: 3px; background: var(--concrete-line); }
.tl-tabs button {
  position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 0.8rem; align-items: center; width: 100%;
  background: none; border: 0; text-align: left; padding: 0.5rem 0; cursor: pointer; font-weight: 650; font-size: 1.02rem;
}
.tl-tabs button span {
  width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--white); border: 3px solid var(--steel);
  font-weight: 900; font-stretch: 125%; font-size: 1.2rem;
}
.tl-tabs button[aria-selected="true"] span { background: var(--amber); }
.tl-tabs button[aria-selected="true"] { color: var(--amber-deep); }
.tl-panel { background: var(--white); border-top: 6px solid var(--steel); padding: 1.5rem; }
.tl-panel h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-stretch: 125%; }
.tl-cols { display: grid; gap: 1.25rem; margin-top: 1rem; }
@media (min-width: 640px) { .tl-cols { grid-template-columns: 1fr 1fr; } }
.tl-cols h4 { font-size: 1rem; font-stretch: 100%; margin-bottom: 0.3rem; color: var(--amber-deep); }
.tl-cols p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--steel); }
.faq details { border-bottom: 1px solid var(--concrete-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.05rem 2.5rem 1.05rem 0; position: relative;
  font-weight: 700; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.9rem; height: 0.9rem; margin-top: -0.6rem;
  border-right: 3px solid var(--steel); border-bottom: 3px solid var(--steel); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -0.15rem; }
.faq details > div { padding: 0 0 1.2rem; max-width: 44em; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review { margin: 0; padding: 1.25rem 0 0; border-top: 4px solid var(--amber); }
.review blockquote { margin: 0 0 0.8rem; font-size: 1.15rem; line-height: 1.5; }
.review figcaption { font-weight: 700; }
.review figcaption span { font-weight: 400; color: var(--muted); }

/* ---------- Areas ---------- */
.areas { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.areas li { border: 1px solid var(--steel); padding: 0.35rem 0.8rem; font-weight: 600; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.compare caption { text-align: left; font-weight: 700; margin-bottom: 0.6rem; }
.compare th, .compare td { text-align: left; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--concrete-line); vertical-align: top; }
.compare thead th { border-bottom: 2px solid var(--steel); font-stretch: 112%; }
.compare tbody th { font-weight: 650; width: 30%; }
.table-scroll { overflow-x: auto; }

/* ---------- Checklist ---------- */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding: 0.35rem 0 0.35rem 1.9rem; }
.checks li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.7rem; width: 0.95rem; height: 0.5rem;
  border-left: 3px solid var(--amber-deep); border-bottom: 3px solid var(--amber-deep); transform: rotate(-45deg);
}

/* ---------- Contact / quote builder ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 3.5rem; align-items: start; } }
.qb { background: var(--white); border: 2px solid var(--steel); }
.qb-progress { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--steel); color: var(--white); }
.qb-progress ol { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; flex: 1; }
.qb-progress li { height: 6px; background: var(--steel-soft); }
.qb-progress li.done { background: var(--red-on-dark); }
.qb-progress p { margin: 0; font-size: 0.9rem; white-space: nowrap; }
.qb-step { padding: 1.4rem 1.25rem 1.5rem; }
@media (min-width: 600px) { .qb-step { padding: 1.75rem 2rem 2rem; } }
.qb-step[hidden] { display: none; }
.qb-step h2 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); margin-bottom: 0.3rem; }
.qb-step > p { color: var(--muted); }
.qb fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.qb legend { font-weight: 700; margin-bottom: 0.6rem; padding: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 0.6rem; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile span {
  display: flex; align-items: center; min-height: 3.4rem; padding: 0.6rem 0.8rem; border: 2px solid var(--concrete-line);
  font-weight: 650; line-height: 1.25; background: var(--white);
}
.tile input:checked + span { border-color: var(--steel); background: var(--steel); color: var(--white); }
.tile input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field .hint { display: block; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem; border: 2px solid var(--steel-soft); border-radius: 3px; background: #fff;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--steel); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-weight: 650; font-size: 0.92rem; margin: 0.35rem 0 0; }
.error:empty { display: none; }
.error:not(:empty), .form-status.error:not(:empty) { border-left: 4px solid var(--error); padding-left: 0.6rem; }
.error:not(:empty)::before, .form-status.error:not(:empty)::before { content: "\26A0\FE0E  "; }
.qb-nav { display: flex; gap: 0.75rem; justify-content: space-between; flex-wrap: wrap; margin-top: 1.25rem; }
.qb-nav .btn { flex: 1 1 10rem; }
@media (min-width: 600px) { .qb-nav .btn { flex: 0 0 auto; } }
.summary { margin: 0 0 1.25rem; border-top: 2px solid var(--steel); }
.summary div { display: grid; grid-template-columns: 8rem 1fr; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--concrete-line); }
.summary dt { color: var(--muted); font-size: 0.92rem; }
.summary dd { margin: 0; font-weight: 650; word-break: break-word; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 1rem 0 0; font-weight: 650; }
.contact-direct { display: grid; gap: 0.75rem; }
.contact-line { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.8rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--concrete-line); text-decoration: none; color: var(--steel); }
.contact-line svg { width: 2.6rem; height: 2.6rem; padding: 0.55rem; background: var(--steel); color: var(--red-on-dark); }
.contact-line small { display: block; color: var(--muted); font-size: 0.85rem; }
.contact-line strong { font-size: 1.1rem; word-break: break-word; }
a.contact-line:hover strong { color: var(--amber-deep); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(2.8rem, 7vw, 4.5rem) 0; }
.cta-band h2 { max-width: 20em; }
.cta-band p { color: #D9DCDB; max-width: 38em; }
.cta-band .btn-row { margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-deep); color: #C5C9C8; padding: 3rem 0 2rem; font-size: 0.95rem; }
.site-footer a { color: #E4E6E5; }
.site-footer a:hover { color: var(--red-on-dark); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; font-stretch: 110%; color: var(--white); margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer .brand strong { color: var(--white); }
.site-footer .brand span { color: var(--red-on-dark); }
.footer-base { border-top: 1px solid #3A3F44; margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.86rem; }

/* ---------- Mobile action bar ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; height: var(--bar-h);
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: var(--steel);
  padding-bottom: env(safe-area-inset-bottom); border-top: 3px solid var(--steel-deep);
}
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  color: var(--white); text-decoration: none; font-size: 0.82rem; font-weight: 700;
}
.actionbar a + a { border-left: 1px solid var(--steel-soft); }
.actionbar a:last-child { background: var(--amber); color: #fff; border-left: 0; }
.actionbar svg { width: 1.35rem; height: 1.35rem; }
@media (min-width: 900px) { .actionbar { display: none; } }

/* ---------- 404 ---------- */
.notfound-dim { display: flex; align-items: center; gap: 0.75rem; color: var(--amber); font-weight: 700; margin-bottom: 1rem; }
.notfound-dim::before, .notfound-dim::after { content: ""; flex: 1; max-width: 6rem; height: 2px; background: currentColor; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-beam { animation: beam-in .7s cubic-bezier(.2,.7,.2,1) both .1s; }
  @keyframes beam-in { from { transform: translateY(1.5rem); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .actionbar, .site-footer, .cta-band { display: none; }
}
