/* Brora Electrical: site styles.
   Off-white board, black ink, 1px rules and square corners.
   Safety yellow is kept for the things you should press, and the odd indicator lamp. */

:root {
  --paper: #f2f0e9;
  --paper-2: #e8e5db;
  --card: #faf9f5;
  --ink: #0b0b0b;
  --ink-2: #1b1b19;
  --text: #0b0b0b;
  --muted: #514e47;
  --rule: #0b0b0b;
  --rule-soft: rgba(11, 11, 11, 0.16);
  --on-ink: #f2f0e9;
  --on-ink-muted: #b8b4aa;
  --rule-ink: rgba(242, 240, 233, 0.24);
  --volt: #ffd000;
  --volt-2: #ffe047;
  --error: #b3261e;
  --focus: #0b0b0b;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1280px;
  --gut: 20px;
}
@media (min-width: 720px) { :root { --gut: 32px; } }
@media (min-width: 1200px) { :root { --gut: 48px; } }

/* Demo bar (shared across all Bryder Studios demos) */
.bs-demo{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 14px;padding:9px 16px;background:#000;color:#cfd5d2;font:500 13px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:center;position:relative;z-index:100}
.bs-demo a{color:#fff}
.bs-demo .bs-demo__cta{color:#47D1B6;font-weight:600;text-decoration:none;white-space:nowrap}
.bs-demo .bs-demo__cta:hover{text-decoration:underline}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--sans); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-weight: 800; font-stretch: 125%; font-size: clamp(2.6rem, 1rem + 6.4vw, 5.5rem); line-height: 0.93; letter-spacing: -0.03em; }
h2 { font-weight: 800; font-stretch: 116%; font-size: clamp(1.85rem, 1.15rem + 2.5vw, 3.2rem); line-height: 1; letter-spacing: -0.022em; }
h3 { font-weight: 700; font-stretch: 106%; font-size: 1.28rem; line-height: 1.18; letter-spacing: -0.006em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-ink { --focus: var(--volt); background: var(--ink); color: var(--on-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 200; background: var(--volt); color: var(--ink); padding: 12px 16px; font-weight: 700; border: 2px solid var(--ink); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* Small mono labels, like the printing on a circuit card */
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 500 0.78rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow b { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 6px; background: var(--ink); color: var(--paper); font-weight: 600; letter-spacing: 0.04em; }
.on-ink .eyebrow b { background: var(--volt); color: var(--ink); }
.lamp { display: inline-block; width: 10px; height: 10px; background: var(--volt); border: 1px solid var(--ink); flex: none; }
.on-ink .lamp { border-color: var(--volt); }

/* Buttons: square, heavy, honest */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 0;
  font: 700 1.02rem/1 var(--sans); font-stretch: 108%; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--volt:hover { background: var(--ink); color: var(--volt); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--volt); color: var(--ink); }
.on-ink .btn--volt { border-color: var(--volt); }
.on-ink .btn--volt:hover { background: transparent; color: var(--volt); }
.on-ink .btn--line { color: var(--on-ink); border-color: var(--on-ink); }
.on-ink .btn--line:hover { background: var(--on-ink); color: var(--ink); }
.textlink { display: inline; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.textlink svg { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; transition: transform 0.2s ease; }
.textlink:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arrow, .textlink svg { transition: none; } }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--rule); }
.head-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand phone" "nav nav";
  align-items: center; column-gap: 16px;
}
.brand { grid-area: brand; justify-self: start; display: inline-flex; padding: 18px 0; color: var(--ink); text-decoration: none; }
.brand__logo { display: block; height: 26px; width: auto; }
.brand__sub { font-family: var(--mono); }
.head-phone {
  grid-area: phone; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font: 600 0.95rem/1 var(--mono); letter-spacing: 0.02em;
}
.head-phone svg { width: 18px; height: 18px; }
.head-phone .lamp { border-color: var(--volt); }
.head-phone__num { display: none; }
.head-phone:hover { background: var(--volt); color: var(--ink); }
.head-phone:hover .lamp { background: var(--ink); border-color: var(--ink); }
.main-nav { grid-area: nav; border-top: 1px solid var(--rule); margin: 0 calc(var(--gut) * -1); }
.main-nav ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.main-nav li + li { border-left: 1px solid var(--rule); }
.main-nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 8px; font-weight: 600; font-size: 0.98rem; text-decoration: none; }
.main-nav a:hover { background: var(--paper-2); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (min-width: 480px) {
  .head-phone__call { display: none; }
  .head-phone__num { display: inline; }
}
@media (min-width: 960px) {
  .head-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav phone"; column-gap: 28px; }
  .brand__logo { height: 31px; }
  .brand { padding: 22px 0; }
  .main-nav { border-top: 0; margin: 0; justify-self: end; }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav li + li { border-left: 0; }
  .main-nav a { min-height: 46px; padding: 0 16px; }
  .main-nav a[aria-current="page"] { background: transparent; color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
  .main-nav .nav-cta { border: 2px solid var(--ink); margin-left: 8px; }
  .main-nav .nav-cta:hover, .main-nav .nav-cta[aria-current="page"] { background: var(--ink); color: var(--paper); box-shadow: none; }
  .head-phone { min-height: 50px; padding: 0 18px; font-size: 1rem; }
}

/* Hero */
.hero { border-bottom: 1px solid var(--rule); }
.hero__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 11px 0; border-bottom: 1px solid var(--rule); font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hero__bar span { display: inline-flex; align-items: center; gap: 8px; }
.hero__grid { display: grid; gap: 34px; padding: 36px 0 40px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 span { display: block; }
.hero h1 mark { background: none; color: inherit; box-shadow: inset 0 -0.2em 0 var(--volt); padding: 0 0.02em; }
.hero__lead { font-size: 1.13rem; max-width: 34em; margin-bottom: 26px; }
.hero__note { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; font: 500 0.82rem/1.4 var(--mono); color: var(--muted); }
.hero__note .lamp { margin-top: 3px; }
.hero__fig { margin: 0; }
@media (max-width: 479px) {
  .hero .btn-row .btn, .cta-band .btn-row .btn { flex: 1 1 100%; }
}
.frame { position: relative; border: 1px solid var(--rule); background: var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.frame__tag {
  position: absolute; left: -1px; top: -1px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--volt); color: var(--ink); border: 1px solid var(--ink);
  font: 600 0.76rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.fig-cap { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 12px 0 0; font-size: 0.92rem; color: var(--muted); }
.fig-cap b { font: 600 0.74rem/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; padding: 0; }
  .hero h1 { font-size: clamp(3.4rem, 0.5rem + 5.2vw, 5.5rem); }
  .hero__copy { padding: 72px 56px 64px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: center; }
  .hero__fig { padding: 40px 0 36px 40px; display: flex; flex-direction: column; justify-content: center; }
  .frame img { aspect-ratio: 4 / 5; }
}

/* Stats: counters on a ruled strip */
.stats-band { border-bottom: 1px solid var(--rule); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); }
.stat { background: var(--paper); padding: 22px 16px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); max-width: 18em; }
.stat:nth-child(odd) { padding-left: 0; }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd) { padding: 28px 24px 30px; }
  .stat:first-child { padding-left: 0; }
}

/* Sections */
.section { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.section--alt { background: var(--paper-2); }
.sec-head { display: grid; gap: 4px 48px; margin-bottom: 36px; }
.sec-head h2 { margin: 0; }
.sec-head p:not(.eyebrow) { max-width: 36em; margin: 14px 0 0; color: var(--muted); font-size: 1.06rem; }
@media (min-width: 960px) {
  .section { padding: 96px 0; }
  .sec-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; margin-bottom: 48px; }
  .sec-head .eyebrow { grid-column: 1 / -1; }
  .sec-head p:not(.eyebrow) { margin: 0; }
}

/* Circuit schedule (services overview) */
.sched { border: 1px solid var(--rule); background: var(--card); }
.sched__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding: 11px 16px;
  background: var(--ink); color: var(--paper); font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.sched__cols { display: none; }
.cct {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; grid-template-areas: "no name go" "no desc go" "no time go";
  column-gap: 14px; row-gap: 3px; align-items: center; padding: 16px; border-top: 1px solid var(--rule);
  text-decoration: none; transition: background-color 0.15s ease;
}
.sched li:first-child .cct { border-top: 0; }
.cct__no {
  grid-area: no; align-self: start; display: grid; place-items: center; height: 40px; border: 1.5px solid var(--ink);
  font: 600 0.92rem/1 var(--mono); letter-spacing: 0.02em; transition: background-color 0.15s ease;
}
.cct__name { grid-area: name; font-weight: 700; font-stretch: 108%; font-size: 1.1rem; line-height: 1.2; }
.cct__desc { grid-area: desc; color: var(--muted); font-size: 0.96rem; line-height: 1.4; }
.cct__time { grid-area: time; font: 500 0.76rem/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.cct__go { grid-area: go; display: grid; place-items: center; }
.cct__go svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.cct:hover { background: var(--paper); }
.cct:hover .cct__no { background: var(--volt); }
.cct:hover .cct__go svg { transform: translateX(3px); }
.after-sched { margin: 22px 0 0; }
@media (min-width: 900px) {
  .sched__cols, .cct { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.45fr) 11.5rem 28px; grid-template-areas: "no name desc time go"; column-gap: 24px; }
  .sched__cols {
    display: grid; padding: 9px 20px; border-bottom: 1px solid var(--rule);
    font: 500 0.7rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  }
  .cct { padding: 16px 20px; }
  .cct__no { align-self: center; height: 38px; }
  .cct__time { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .cct, .cct__no, .cct__go svg { transition: none; } }

/* Why us */
.why { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.why__cell { background: var(--paper); padding: 24px 20px 28px; }
.section--alt .why__cell { background: var(--paper-2); }
.why__no { display: block; font: 600 0.76rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 30px; }
.why__cell h3 { margin-bottom: 10px; }
.why__cell p { margin: 0; color: var(--muted); }
@media (min-width: 640px) { .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } .why__cell { padding: 28px 26px 34px; } .why__no { margin-bottom: 48px; } }

/* Recent jobs */
.jobs { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.job { margin: 0; background: var(--card); display: flex; flex-direction: column; }
.job__img { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--ink); }
.job__img img { width: 100%; height: 100%; object-fit: cover; }
.job figcaption { padding: 14px 16px 20px; display: grid; gap: 4px; }
.job__no { font: 600 0.74rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 12px; }
.job__no span { color: var(--muted); font-weight: 500; }
.job strong { font-weight: 700; font-stretch: 108%; font-size: 1.15rem; line-height: 1.2; margin-top: 4px; }
.job figcaption > span:last-child { color: var(--muted); font-size: 0.96rem; }
@media (min-width: 600px) and (max-width: 899px) {
  .jobs { grid-template-columns: 1fr 1fr; }
  .job__img { aspect-ratio: 4 / 3; }
}
@media (min-width: 900px) {
  .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .job--wide { grid-column: span 2; }
  .job--tall .job__img { aspect-ratio: 3 / 4; }
  .job--wide .job__img { aspect-ratio: 3 / 2; }
  .job figcaption { padding: 16px 20px 22px; }
}

/* Reviews */
.reviews { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.review { background: var(--paper); padding: 22px 20px 24px; display: flex; flex-direction: column; }
.section--alt .review { background: var(--paper-2); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.review__ref { font: 600 0.74rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.sample-tag {
  display: inline-block; padding: 6px 9px; border: 1px solid var(--ink); background: var(--card);
  font: 600 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.review blockquote { margin: 0 0 22px; }
.review blockquote p { margin: 0; font-size: 1.12rem; line-height: 1.5; font-weight: 500; }
.review footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule-soft); }
.review cite { font-style: normal; font-weight: 700; font-stretch: 108%; display: block; }
.review cite span { display: block; font: 500 0.78rem/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } .review { padding: 26px 26px 28px; } }

/* Service area: a single-line diagram, the busbar is the yard */
.area__grid { display: grid; gap: 40px; }
.area__copy p:not(.eyebrow) { color: var(--muted); max-width: 34em; }
.suburbs { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 26px; }
.suburbs h3 { font-size: 1rem; margin-bottom: 6px; }
.suburbs p { margin: 0; }
.sld-box { border: 1px solid var(--rule); background: var(--card); }
.sld-box__head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--rule); font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.sld { position: relative; padding: 14px 16px 16px 16px; }
.sld::before { content: ""; position: absolute; left: 16px; top: 14px; bottom: 16px; width: 6px; background: var(--ink); }
.sld li {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 7.2rem 4.4rem; align-items: center; column-gap: 12px;
  min-height: 34px; padding-left: 6px; border-bottom: 1px solid var(--rule-soft);
}
.sld li:last-child { border-bottom: 0; }
.sld__run { position: relative; height: 34px; }
.sld__run i {
  position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ink);
  width: calc(6px + var(--d, 0) * (100% - 18px)); transform-origin: left center;
}
.sld__run i::after {
  content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border: 2px solid var(--ink); background: var(--card); border-radius: 50%;
}
.sld li.is-far .sld__run i { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px); }
.sld__town { font-weight: 600; font-size: 0.98rem; }
.sld__km { font: 500 0.82rem/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.sld li.is-base { grid-template-columns: minmax(0, 1fr) auto; padding-left: 18px; min-height: 40px; }
.sld li.is-base .sld__town { font-weight: 800; font-stretch: 112%; }
.sld li.is-base .sld__km { background: var(--volt); border: 1px solid var(--ink); padding: 5px 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; }
.sld-note { padding: 10px 16px 14px; margin: 0; border-top: 1px solid var(--rule); font: 500 0.76rem/1.5 var(--mono); color: var(--muted); }
@media (min-width: 960px) {
  .area__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .sld li { grid-template-columns: minmax(0, 1fr) 8.5rem 5rem; }
}
/* Line draw, only when motion is welcome (script.js adds .reveal-on) */
.reveal-on .sld .sld__run i { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-on .sld .sld__run i::after { opacity: 0; transition: opacity 0.3s ease 0.75s; }
.reveal-on .sld.is-in .sld__run i { transform: scaleX(1); }
.reveal-on .sld.is-in .sld__run i::after { opacity: 1; }
.reveal-on .sld li:nth-child(3) .sld__run i { transition-delay: 0.05s; }
.reveal-on .sld li:nth-child(4) .sld__run i { transition-delay: 0.1s; }
.reveal-on .sld li:nth-child(5) .sld__run i { transition-delay: 0.15s; }
.reveal-on .sld li:nth-child(6) .sld__run i { transition-delay: 0.2s; }
.reveal-on .sld li:nth-child(7) .sld__run i { transition-delay: 0.25s; }
.reveal-on .sld li:nth-child(8) .sld__run i { transition-delay: 0.3s; }
.reveal-on .sld li:nth-child(9) .sld__run i { transition-delay: 0.35s; }
.reveal-on .sld li:nth-child(10) .sld__run i { transition-delay: 0.4s; }
.reveal-on .sld li:nth-child(11) .sld__run i { transition-delay: 0.45s; }

/* Closing call to action */
.cta-band { padding: 64px 0 72px; border-bottom: 1px solid var(--ink); }
.cta-band__grid { display: grid; gap: 28px; }
.cta-band h2 { color: var(--on-ink); margin: 0; }
.cta-band p:not(.eyebrow) { color: var(--on-ink-muted); max-width: 32em; margin: 0 0 24px; font-size: 1.08rem; }
.big-phone {
  display: inline-flex; align-items: baseline; gap: 0.25em; color: var(--volt); text-decoration: none;
  font-weight: 800; font-stretch: 125%; font-size: clamp(2.5rem, 0.6rem + 8.2vw, 7.4rem); line-height: 0.95; letter-spacing: -0.035em; white-space: nowrap;
}
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 0.12em; }
.cta-band__head h2 { max-width: 15em; }
.cta-band__grid > .big-phone {
  display: block; padding-top: 18px; border-top: 1px solid var(--rule-ink);
  font-size: min(calc((100vw - var(--gut) * 2) / 7.6), 10.6rem);
}
@media (min-width: 960px) {
  .cta-band { padding: 96px 0; }
  .cta-band__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 56px; align-items: end; }
  .cta-band__head { grid-column: 1; grid-row: 1; }
  .cta-band__side { grid-column: 2; grid-row: 1; }
  .cta-band__side p { margin-bottom: 20px; }
  .cta-band__grid > .big-phone { grid-column: 1 / -1; grid-row: 2; padding-top: 34px; }
}

/* Footer */
.site-foot { padding: 56px 0 28px; }
.foot-grid { display: grid; gap: 36px; }
.foot-brand .brand { padding: 0; }
.foot-brand .brand__logo { height: 30px; }
.foot-blurb { margin: 18px 0 0; color: var(--muted); max-width: 26em; font-size: 0.98rem; }
.foot-col h2 { font: 600 0.74rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { text-decoration: none; font-weight: 600; }
.foot-col a:hover { text-decoration: underline; }
.card-sched { margin: 0; border: 1px solid var(--rule); background: var(--card); font-size: 0.9rem; }
.card-sched div { display: grid; grid-template-columns: 6.8rem 1fr; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--rule-soft); }
.card-sched div:first-child { border-top: 0; background: var(--ink); color: var(--paper); }
.card-sched dt { font: 500 0.72rem/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.card-sched div:first-child dt { color: var(--on-ink-muted); }
.card-sched dd { margin: 0; font-weight: 600; }
.card-sched a { text-decoration: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rule); font: 500 0.78rem/1.5 var(--mono); color: var(--muted); }
.foot-base a { color: var(--ink); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; } }

/* Sticky one-tap call bar on phones */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--ink);
  --focus: var(--volt);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px;
  font: 700 1.02rem/1 var(--sans); font-stretch: 110%; text-decoration: none;
}
.action-bar svg { width: 20px; height: 20px; }
.action-bar .ab-call { background: var(--volt); color: var(--ink); }
.action-bar .ab-quote { color: var(--on-ink); border: 2px solid rgba(242, 240, 233, 0.6); }
@media (max-width: 719px) { body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }
@media (min-width: 720px) { .action-bar { display: none; } }

/* Inner page header */
.page-head { border-bottom: 1px solid var(--rule); padding: 44px 0 0; }
.page-head h1 { font-size: clamp(2.2rem, 0.9rem + 5vw, 5rem); margin-bottom: 18px; }
.page-head .lead { font-size: 1.12rem; max-width: 38em; margin: 0 0 28px; }
.page-head__grid { display: grid; gap: 8px 48px; }
.head-facts { margin: 0 0 32px; border: 1px solid var(--rule); background: var(--card); }
.head-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--rule-soft); }
.head-facts div:first-child { border-top: 0; }
.head-facts dt { font: 500 0.74rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.head-facts dd { margin: 0; font-weight: 700; text-align: right; }
.cct-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin: 0 calc(var(--gut) * -1); padding: 0; }
@media (min-width: 600px) { .cct-index { display: flex; flex-wrap: wrap; } .cct-index li { flex: 1 1 auto; } }
.cct-index li { min-width: 0; }
.cct-index a {
  display: flex; align-items: center; gap: 8px; justify-content: center; min-height: 48px; padding: 0 14px;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: 0.92rem; white-space: nowrap;
}
.cct-index b { font: 600 0.74rem/1 var(--mono); padding: 4px 5px; border: 1px solid var(--ink); }
.cct-index a:hover { background: var(--volt); }
.price-note { font: 500 0.78rem/1.5 var(--mono); color: var(--muted); margin: 0; padding: 14px 0 18px; }
@media (min-width: 960px) {
  .page-head { padding-top: 72px; }
  .page-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .head-facts { margin-bottom: 44px; }
  .cct-index { margin: 0; border-left: 1px solid var(--rule); }

  .cct-index a { padding: 0 10px; }
}

/* Service cards */
.svc-grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.svc { background: var(--card); display: flex; flex-direction: column; scroll-margin-top: 12px; }
.svc:target .svc__tag { background: var(--ink); color: var(--volt); }
.svc__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--ink); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__tag {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: var(--volt); color: var(--ink); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  font: 600 0.78rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.svc__cap { position: absolute; right: 0; bottom: 0; padding: 6px 10px; background: rgba(11, 11, 11, 0.82); color: var(--on-ink); font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.04em; }
.svc__body { padding: 24px 20px 28px; display: flex; flex-direction: column; flex: 1 1 auto; }
.svc__body h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-bottom: 12px; }
.svc__intro { color: var(--muted); }
.ticks { margin: 4px 0 0; }
.ticks li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid var(--rule-soft); font-size: 0.98rem; line-height: 1.4; }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 13px; height: 13px; border: 1.5px solid var(--ink); background: var(--volt); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 5px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.spec { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 24px; border: 1px solid var(--rule); }
.spec div { padding: 10px 12px; }
.spec div + div { border-left: 1px solid var(--rule); }
.spec dt { font: 500 0.7rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.spec dd { margin: 0; font-weight: 700; line-height: 1.3; }
.svc__body .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 860px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc__body { padding: 28px 28px 32px; } }

/* FAQ */
.faq__grid { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-stretch: 106%; font-size: 1.12rem; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--ink);
  font: 500 1.2rem/1 var(--mono);
}
.faq-list details[open] summary::after { content: "-"; background: var(--volt); }
.faq-list summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.faq-body { padding: 0 0 22px; max-width: 42em; color: var(--muted); }
.faq-body p:last-child { margin: 0; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }

/* Contact: quote form and the side panel */
.quote__grid { display: grid; gap: 32px; align-items: start; }
.form-card { border: 1px solid var(--rule); background: var(--card); }
.form-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 11px 20px; background: var(--ink); color: var(--paper); font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.form-body { padding: 24px 20px 28px; }
.form-body h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-bottom: 8px; }
.form-intro { color: var(--muted); margin-bottom: 22px; }
.noscript-note { margin: 0 0 20px; padding: 12px 14px; border: 1px solid var(--rule); background: var(--paper-2); font-size: 0.95rem; }
.fields { display: grid; gap: 18px; }
.field { display: grid; align-content: start; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label { font-weight: 700; font-size: 0.98rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field__note { font-size: 0.88rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 0; background: #fff;
  font-size: 1rem; line-height: 1.4; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--volt); outline-offset: 0; box-shadow: 0 0 0 5px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { display: none; align-items: flex-start; gap: 8px; margin: 2px 0 0; color: var(--error); font-weight: 600; font-size: 0.92rem; }
.field__error.is-shown { display: flex; }
.field__error svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.emergency-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 12px 14px; background: var(--volt); border: 1px solid var(--ink); font-weight: 600; font-size: 0.95rem; }
.emergency-note a { font-weight: 800; white-space: nowrap; }
.err-summary { display: none; margin: 0 0 22px; padding: 16px 18px; border: 2px solid var(--error); background: #fff; }
.err-summary.is-shown { display: block; }
.err-summary h3 { color: var(--error); font-size: 1.08rem; margin: 0 0 6px; }
.err-summary li { list-style: square; margin-left: 20px; }
.err-summary a { color: var(--error); font-weight: 600; }
.form-foot { display: grid; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.form-foot p { margin: 0; font: 500 0.8rem/1.5 var(--mono); color: var(--muted); }
.form-foot .btn { justify-self: start; }
.success { padding: 34px 20px 38px; }
.success__icon { width: 56px; height: 56px; margin-bottom: 18px; }
.success h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.success h2:focus { outline: none; }
.success p { max-width: 32em; color: var(--muted); }
@media (min-width: 620px) {
  .fields { grid-template-columns: 1fr 1fr; gap: 20px; }
  .field--full { grid-column: 1 / -1; }
  .form-body { padding: 32px 32px 36px; }
  .form-card__head { padding: 11px 32px; }
  .success { padding: 44px 32px 48px; }
}
@media (min-width: 1000px) { .quote__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; } }

.side { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.side > * { background: var(--card); }
.side > .side-call { background: var(--ink); padding: 26px 20px 28px; }
.side-call h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--on-ink); }
.side-call p:not(.eyebrow) { color: var(--on-ink-muted); }
.side-call .big-phone { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 3.4rem); margin: 6px 0 20px; }
.side-block { padding: 22px 20px 24px; }
.side-block h2 { font: 600 0.76rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
.side-block p { margin: 0; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.hours th, .hours td { padding: 9px 0; border-top: 1px solid var(--rule-soft); text-align: left; vertical-align: top; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours th { font-weight: 600; padding-right: 12px; }
.hours td { text-align: right; font-family: var(--mono); font-size: 0.84rem; white-space: nowrap; }
.hours tr.is-emergency td { font-weight: 600; }
.next-list { counter-reset: n; }
.next-list li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--rule-soft); }
.next-list li:first-child { border-top: 0; }
.next-list li::before { content: counter(n, decimal-leading-zero); font: 600 0.78rem/1.9 var(--mono); }
.side-fig { margin: 0; }
.side-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--rule); }
.side-fig figcaption { padding: 10px 16px 12px; font: 500 0.76rem/1.5 var(--mono); color: var(--muted); }
@media (min-width: 620px) { .side-call, .side-block { padding-left: 28px; padding-right: 28px; } }

/* Gentle reveal on scroll, only switched on by script.js when motion is welcome */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
  .reveal-on .sld .sld__run i { transform: none; transition: none; }
  .reveal-on .sld .sld__run i::after { opacity: 1; transition: none; }
}

@media print {
  .bs-demo, .action-bar, .skip { display: none; }
  body { padding-bottom: 0; }
}
