/* Golden Hour Precision: design tokens */
:root {
  --graphite: #1E2226;
  --graphite-2: #2A2F34;
  --graphite-3: #3A4046;
  --night: #16191C;
  --paper: #EFEDE8;
  --paper-2: #E3E0D8;
  --amber: #F0A53A;
  --amber-hi: #F6C978;
  --copper: #9A4F1C;
  --steel: #A3A9AF;
  --ink: #1E2226;
  --ink-soft: #4A5056;
  --danger: #B3261E;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.6vw, 4.6rem);

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius-s: 4px;
  --radius-m: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
  color: var(--ink); background: var(--paper); font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .6em; font-weight: 760; font-variation-settings: "wdth" 116; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); max-width: 20ch; }
h3 { font-size: var(--step-1); font-variation-settings: "wdth" 108; letter-spacing: -0.005em; }
h4 { font-size: var(--step--1); font-weight: 650; font-variation-settings: "wdth" 100; letter-spacing: 0; color: var(--steel); margin-bottom: .5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section-lede { font-size: var(--step-1); line-height: 1.5; max-width: 52ch; color: var(--ink-soft); }
.fine { font-size: var(--step--1); color: var(--ink-soft); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--amber); color: var(--graphite); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: var(--radius-s); border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-variation-settings: "wdth" 106; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: var(--step--1); }
.btn-amber { background: var(--amber); color: var(--graphite); }
.btn-amber:hover { background: var(--amber-hi); }
.btn-ghost { border-color: rgba(239, 237, 232, .55); color: var(--paper); background: rgba(30, 34, 38, .25); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(239, 237, 232, .08); }
.btn-dark { background: var(--graphite); color: var(--paper); }
.btn-dark:hover { background: var(--graphite-3); }
.btn-ghost-dark { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-ghost-dark:hover { background: var(--graphite); color: var(--paper); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.text-link { font-weight: 700; color: var(--amber); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(30, 34, 38, .92); color: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(239, 237, 232, .08); padding-top: env(safe-area-inset-top, 0px); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--paper); }
.brand-name { font-weight: 800; font-variation-settings: "wdth" 122; font-size: 1.08rem; letter-spacing: -0.01em; white-space: nowrap; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: var(--step--1); font-weight: 600; opacity: .85; }
.site-nav a:hover { opacity: 1; color: var(--amber-hi); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.phone-link { font-family: var(--mono); font-size: .95rem; text-decoration: none; color: var(--amber-hi); }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--paper); background: #1B2026; min-height: min(92svh, 860px); display: flex; align-items: center; overflow: hidden; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27, 32, 38, .9) 0%, rgba(27, 32, 38, .55) 42%, rgba(27, 32, 38, 0) 66%); }
.hero-inner { padding-block: clamp(4rem, 10vw, 7rem); }
.hero-title { font-size: var(--step-4); max-width: 15ch; font-variation-settings: "wdth" 120; letter-spacing: -0.025em; line-height: 1.02; margin-bottom: .45em; text-wrap: balance; }
.hero-lede { font-size: var(--step-1); max-width: 40ch; line-height: 1.5; color: #E6E1D6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-size: var(--step--1); color: #D9D3C7; }
.hero-proof li { display: flex; align-items: center; gap: .6rem; }
.hero-proof li::before { content: ""; width: 14px; height: 2px; background: var(--amber); flex: none; }

/* Hero sequence: one orchestrated moment on load */
.trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
.t1 { animation-delay: .3s; }
.t2 { animation-delay: 1.2s; animation-duration: .8s; }
.t3 { animation-delay: 1.9s; animation-duration: .6s; }
.t4 { animation-delay: 2.2s; animation-duration: .9s; }
.win { fill: #2A2F34; animation: warm .9s ease forwards; }
.w1 { animation-delay: 2.4s; }
.w2 { animation-delay: 2.55s; }
.evled { fill: #4A5056; animation: led .6s ease 3s forwards; }
.tag { opacity: 0; animation: fade .6s ease forwards; }
.g1 { animation-delay: 1s; } .g2 { animation-delay: 1.9s; } .g3 { animation-delay: 2.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes warm { to { fill: #F6C978; } }
@keyframes led { to { fill: var(--amber); } }
@keyframes fade { to { opacity: .9; } }

/* Paths */
.paths { background: var(--paper); }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; max-width: none; }
.path { padding: clamp(2.5rem, 6vw, 4.5rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.path h2 { font-size: var(--step-2); }
.path p { max-width: 42ch; }
.path-home { padding-right: clamp(2rem, 5vw, 4rem); }
.path-biz { background: var(--graphite-2); color: var(--paper); padding-left: clamp(2rem, 5vw, 4rem); }
.path-biz p { color: #D9D3C7; }
.chips { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: var(--step--1); padding: .3rem .75rem; border: 1px solid currentColor; border-radius: 999px; opacity: .8; }

/* Triage */
.triage { padding-block: var(--section); background: var(--paper-2); }
.triage-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.triage-intro > p { font-size: var(--step-1); color: var(--ink-soft); max-width: 44ch; }
.symptoms { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .5rem; }
.symptom {
  width: 100%; text-align: left; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius-s); padding: .85rem 1rem; min-height: 48px;
  display: flex; align-items: center; gap: .8rem; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.symptom::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-soft); flex: none; transition: background-color .2s, border-color .2s; }
.symptom:hover { border-color: var(--graphite-3); }
.symptom[aria-pressed="true"] { border-color: var(--graphite); background: #fff; }
.symptom[aria-pressed="true"]::before { background: var(--amber); border-color: var(--graphite); }
.triage-result { position: sticky; top: 6rem; background: var(--graphite); color: var(--paper); border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; }
.triage-result .fine { grid-column: 1 / -1; color: var(--steel); margin: 0; }
.meter { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; }
.meter li { font-family: var(--mono); font-size: .72rem; color: var(--steel); width: 9.5rem; padding: .55rem .7rem; border: 1px solid var(--graphite-3); border-radius: 3px; position: relative; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s; }
.meter li.on { background: var(--amber); color: var(--graphite); border-color: var(--amber); }
.meter li.on[data-tier="now"] { background: #E5533D; border-color: #E5533D; color: #fff; }
.verdict-tier { font-size: var(--step-2); font-weight: 760; font-variation-settings: "wdth" 116; margin-bottom: .4em; line-height: 1.1; }
.verdict-text { color: #E6E1D6; max-width: 38ch; }

/* Services */
.services { padding-block: var(--section); background: var(--graphite); color: var(--paper); }
.services .section-lede { color: #CFC9BD; }
.svc { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem; }
.svc-tabs { display: flex; flex-direction: column; border-left: 1px solid var(--graphite-3); }
.svc-tabs [role="tab"] {
  font: inherit; text-align: left; color: var(--steel); background: none; border: 0; cursor: pointer;
  padding: .7rem 1rem; min-height: 44px; margin-left: -1px; border-left: 2px solid transparent;
  font-weight: 650; font-variation-settings: "wdth" 110; transition: color .2s, border-color .2s;
}
.svc-tabs [role="tab"]:hover { color: var(--paper); }
.svc-tabs [role="tab"][aria-selected="true"] { color: var(--paper); border-left-color: var(--amber); }
.svc-panel h3 { font-size: var(--step-3); font-variation-settings: "wdth" 120; max-width: 18ch; }
.svc-panel:focus-visible { outline-offset: 8px; }
.svc-summary { font-size: var(--step-1); line-height: 1.5; max-width: 50ch; color: #E6E1D6; }
.svc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin: 2rem 0; padding-top: 1.6rem; border-top: 1px solid var(--graphite-3); }
.svc-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: var(--step--1); color: #DDD7CB; }
.svc-panel:not([hidden]) { animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }

/* Panel walkthrough */
.panel-walk { padding-block: var(--section); }
.panel-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.steps { list-style: none; padding: 0; margin: 2rem 0 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.step { font: inherit; font-size: var(--step--1); font-weight: 650; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem .45rem .45rem; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--paper-2); background: transparent; color: var(--ink-soft); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.step-n { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); font-family: var(--mono); font-size: .8rem; color: var(--ink); }
.step[aria-current="step"] { border-color: var(--graphite); color: var(--ink); }
.step[aria-current="step"] .step-n { background: var(--graphite); color: var(--amber); }
.step-body { min-height: 7.5rem; }
.step-body p { max-width: 46ch; color: var(--ink-soft); }
.step-nav { display: flex; gap: .6rem; margin-bottom: 1.4rem; }
.panel-figure { margin: 0; background: var(--graphite); border-radius: var(--radius-m); padding: clamp(1.5rem, 4vw, 2.5rem); color: var(--paper); }
.panel-figure svg { width: 100%; max-width: 340px; margin-inline: auto; }
.panel-figure figcaption { text-align: center; font-family: var(--mono); font-size: .8rem; color: var(--steel); margin-top: 1rem; }
.panel-figure .box { fill: #23272B; stroke: var(--graphite-3); stroke-width: 2; transition: stroke .4s; }
.panel-figure .main { fill: var(--graphite-3); stroke: var(--steel); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.panel-figure .main-label { font-family: var(--mono); font-size: 20px; fill: var(--paper); }
.panel-figure .main-sub { font-family: var(--mono); font-size: 11px; fill: var(--steel); }
.panel-figure .bus { stroke: var(--graphite-3); stroke-width: 6; }
.panel-figure .brk { fill: #5A6066; transition: fill .4s, opacity .4s; }
.panel-figure .scan { fill: none; stroke: var(--amber); stroke-width: 0; transition: stroke-width .4s; }
.panel-figure .badge rect { fill: var(--graphite-3); transition: fill .4s; }
.panel-figure .badge text { font-family: var(--mono); font-size: 11px; fill: var(--paper); }
.panel-figure[data-state="inspect"] .scan { stroke-width: 3; }
.panel-figure[data-state="diagnose"] .brk-fault { fill: var(--amber); }
.panel-figure[data-state="off"] .brk, .panel-figure[data-state="off"] .main { opacity: .35; }
.panel-figure[data-state="upgrade"] .main { fill: #3A3020; stroke: var(--amber); }
.panel-figure[data-state="done"] .brk { fill: #8A9096; }
.panel-figure[data-state="done"] .badge rect { fill: var(--amber); }
.panel-figure[data-state="done"] .badge text { fill: var(--graphite); }

/* Standards */
.standards { padding-block: var(--section); background: var(--paper-2); }
.std-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin: 2.5rem 0 3.5rem; }
.std-list div { border-top: 2px solid var(--graphite); padding-top: 1rem; }
.std-list dt { font-weight: 760; font-variation-settings: "wdth" 112; font-size: var(--step-1); line-height: 1.2; margin-bottom: .5rem; }
.std-list dd { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }
.pricing { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; background: var(--paper); border-radius: var(--radius-m); padding: clamp(1.5rem, 4vw, 2.5rem); border-left: 4px solid var(--copper); }
.pricing h3 { font-size: var(--step-2); margin: 0; }
.pricing p { margin: 0; max-width: 58ch; }

/* Projects (renders only with real case studies) */
.projects { padding-block: var(--section); }
.proj-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.proj-list a { text-decoration: none; display: grid; gap: .4rem; }
.proj-list img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }
.proj-meta { font-size: var(--step--1); color: var(--copper); font-weight: 650; }
.proj-title { font-weight: 700; }

/* Areas: type size encodes market priority */
.areas { padding-block: var(--section); }
.area-list { list-style: none; padding: 0; margin: 2rem 0; }
.area { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr; gap: 1.5rem; align-items: baseline; padding: 1.4rem 0; border-top: 1px solid #CFCBC2; }
.area:last-child { border-bottom: 1px solid #CFCBC2; }
.area h3 { margin: 0; font-variation-settings: "wdth" 124; letter-spacing: -0.03em; line-height: 1; }
.area p { margin: 0; color: var(--ink-soft); max-width: 44ch; }
.area-p1 h3 { font-size: clamp(2.4rem, 1.4rem + 5vw, 5.2rem); }
.area-p2 h3 { font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3.6rem); }
.area-p3 h3 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem); color: var(--ink-soft); }
.area-p1 h3::after { content: ""; display: inline-block; width: .22em; height: .22em; background: var(--amber); border-radius: 50%; margin-left: .15em; vertical-align: .1em; }
.areas-cta a { font-weight: 700; }

/* FAQ */
.faq { padding-block: var(--section); background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grid h2 { position: sticky; top: 6rem; }
.faq-list details { border-top: 1px solid #CFCBC2; }
.faq-list details:last-child { border-bottom: 1px solid #CFCBC2; }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.15rem 2.4rem 1.15rem 0; font-weight: 700; font-size: var(--step-1); position: relative; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p { color: var(--ink-soft); max-width: 60ch; padding-bottom: 1rem; }

/* Estimate */
.estimate { padding-block: var(--section); background: var(--graphite); color: var(--paper); }
.estimate-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.estimate-copy p { color: #D9D3C7; max-width: 40ch; }
.estimate-call a { color: var(--amber-hi); font-weight: 700; }
.danger { border-left: 3px solid #E5533D; padding-left: .9rem; font-weight: 600; }
.estimate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; background: var(--graphite-2); padding: clamp(1.25rem, 3vw, 2.2rem); border-radius: var(--radius-m); }
.field { display: grid; gap: .35rem; margin: 0; }
.field-wide, .form-actions, .form-status { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 650; font-size: var(--step--1); }
.field input:not([type="radio"]), .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius-s); padding: .7rem .8rem; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #FF8A73; }
.seg { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; }
.seg legend { width: 100%; margin-bottom: .35rem; padding: 0; }
.seg label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 500; }
.seg input { accent-color: var(--amber); width: 1.1rem; height: 1.1rem; }
.hint { font-size: var(--step--1); color: var(--steel); margin: 0; }
.err { font-size: var(--step--1); color: #FFB4A6; margin: 0; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.form-actions .btn-ghost-dark { border-color: rgba(239, 237, 232, .5); color: var(--paper); }
.form-actions .btn-ghost-dark:hover { background: rgba(239, 237, 232, .1); color: var(--paper); }
.form-status { font-size: var(--step--1); color: #E6E1D6; }
.form-status:empty { display: none; }
.form-status pre { white-space: pre-wrap; font-family: var(--mono); font-size: .8rem; background: var(--night); padding: .8rem; border-radius: var(--radius-s); color: var(--paper); }
.form-status a { color: var(--amber-hi); font-weight: 700; }

/* Footer */
.site-footer { background: var(--night); color: #CFC9BD; padding: 3.5rem 0 2rem; font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-weight: 800; font-variation-settings: "wdth" 122; font-size: var(--step-1); color: var(--paper); }
.site-footer nav { display: grid; gap: .5rem; align-content: start; }
.site-footer a { color: var(--paper); }
.site-footer .footer-fine { max-width: none; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--graphite-2); color: var(--steel); display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .triage-grid, .panel-grid, .faq-grid, .estimate-grid { grid-template-columns: 1fr; }
  .triage-result, .faq-grid h2 { position: static; }
  .std-list { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; gap: 1rem; }
  .svc { grid-template-columns: 1fr; }
  .svc-tabs { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--graphite-3); scrollbar-width: thin; }
  .svc-tabs [role="tab"] { white-space: nowrap; border-left: 0; margin-left: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .svc-tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--amber); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .header-actions .btn, .phone-link { display: none; }
  .hero { align-items: flex-start; min-height: 0; padding-bottom: 72vw; }
  .scene { top: auto; bottom: 0; height: 58%; }
  .tags { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(27, 32, 38, .96) 0%, rgba(27, 32, 38, .82) 45%, rgba(27, 32, 38, 0) 70%); }
  .hero-inner { padding-block: 2.5rem 1rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .paths-grid { grid-template-columns: 1fr; }
  .path, .path-home, .path-biz { padding: 2.75rem var(--gutter); }
  .triage-result { grid-template-columns: 1fr; }
  .meter { grid-auto-flow: column; grid-template-columns: repeat(4, 1fr); }
  .meter li { width: auto; text-align: center; padding: .5rem .2rem; font-size: .64rem; }
  .svc-cols { grid-template-columns: 1fr; gap: 1.2rem; }
  .std-list { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; gap: .5rem; }
  .estimate-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; inset: auto 0 0 0; z-index: 60;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px)); background: rgba(22, 25, 28, .96); border-top: 1px solid var(--graphite-3);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}

/* ---------- Inner pages: services, guides, cities ---------- */
.site-nav a[aria-current="page"] { opacity: 1; color: var(--amber-hi); }

.crumbs { font-size: var(--step--1); color: var(--steel); margin-bottom: 1.4rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.crumbs a { color: var(--paper); text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; color: var(--amber-hi); }
.crumbs [aria-current] { color: var(--steel); }

.page-hero { background: var(--graphite); color: var(--paper); padding-block: clamp(2.8rem, 7vw, 5rem) clamp(2.8rem, 6vw, 4.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -12vw; bottom: -38vw; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 165, 58, .28) 0%, rgba(154, 79, 28, .12) 40%, rgba(30, 34, 38, 0) 70%); }
.page-hero h1 { font-size: var(--step-4); max-width: 17ch; font-variation-settings: "wdth" 120; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
.page-hero.is-article h1 { font-size: var(--step-3); max-width: 24ch; }
.page-hero .hero-lede { max-width: 46ch; }
.eyebrow { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); margin-bottom: .9rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: var(--step--1); color: var(--steel); margin-top: 1.2rem; }

.page-body { padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); max-width: 26ch; margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: #33383D; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--copper); }
.prose a { color: var(--copper); font-weight: 600; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }
.callout { background: var(--paper-2); border-left: 4px solid var(--copper); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 1.6rem 0; }
.callout p:last-child { margin: 0; }
.callout.is-danger { border-left-color: var(--danger); }
.callout-title { font-weight: 760; margin-bottom: .3rem; color: var(--ink); }

.check-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 1.8rem 0 2.2rem; }
.check-cols > div { border-top: 2px solid var(--graphite); padding-top: .9rem; }
.check-cols h3 { font-size: var(--step-0); margin: 0 0 .6rem; }
.check-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: var(--step--1); }
.check-cols li { padding-left: 1.1rem; position: relative; margin: 0; }
.check-cols li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--amber); }

.process { list-style: none; padding: 0; margin: 1.6rem 0 2rem; counter-reset: p; display: grid; gap: .9rem; }
.process li { counter-increment: p; display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; align-items: start; margin: 0; }
.process li::before { content: counter(p); font-family: var(--mono); font-size: .85rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--graphite); color: var(--amber); }
.process strong { display: block; }

.aside { position: sticky; top: 5.5rem; display: grid; gap: 1.2rem; }
.aside-card { background: var(--graphite); color: var(--paper); border-radius: var(--radius-m); padding: 1.5rem; }
.aside-card h2 { font-size: var(--step-1); max-width: none; }
.aside-card p { color: #D9D3C7; font-size: var(--step--1); }
.aside-card .btn { width: 100%; margin-top: .5rem; }
.aside-links { background: #fff; border-radius: var(--radius-m); padding: 1.3rem 1.5rem; }
.aside-links h2 { font-size: var(--step-0); font-variation-settings: "wdth" 108; margin-bottom: .7rem; max-width: none; }
.aside-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: var(--step--1); }
.aside-links a { text-decoration: none; font-weight: 600; }
.aside-links a:hover { color: var(--copper); text-decoration: underline; }

.band { padding-block: var(--section); }
.band-alt { background: var(--paper-2); }
.band-dark { background: var(--graphite); color: var(--paper); }
.band-dark .section-lede { color: #CFC9BD; }
.cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.card { height: 100%; display: grid; align-content: start; gap: .45rem; padding: 1.3rem 1.4rem 1.4rem; background: #fff; border-radius: var(--radius-m); text-decoration: none; border: 1.5px solid transparent; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.card:hover { border-color: var(--graphite); transform: translateY(-2px); }
.card-kicker { font-family: var(--mono); font-size: .74rem; color: var(--copper); text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-weight: 760; font-size: var(--step-1); line-height: 1.2; font-variation-settings: "wdth" 110; }
.card-text { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }
.card-go { font-size: var(--step--1); font-weight: 700; color: var(--copper); margin-top: .3rem; }
.band-dark .card { background: var(--graphite-2); color: var(--paper); }
.band-dark .card:hover { border-color: var(--amber); }
.band-dark .card-text { color: #CFC9BD; }
.band-dark .card-kicker, .band-dark .card-go { color: var(--amber); }

.city-links { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.city-links a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .95rem; border: 1.5px solid var(--graphite); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--step--1); }
.city-links a:hover { background: var(--graphite); color: var(--paper); }
.band-dark .city-links a, .areas-oc .city-links a { border-color: rgba(239, 237, 232, .45); color: var(--paper); }
.band-dark .city-links a:hover { background: var(--paper); color: var(--graphite); }
.areas .city-links a { border-color: var(--graphite); color: var(--ink); }
.areas .city-links a:hover { color: var(--paper); }

.cta-band { background: var(--amber); color: var(--graphite); padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0; font-size: var(--step-2); max-width: 24ch; }
.cta-band p { margin: .4rem 0 0; max-width: 52ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: .7rem; }

.svc-more { display: inline-flex; gap: 1.2rem; flex-wrap: wrap; }

.toc { background: #fff; border-radius: var(--radius-m); padding: 1.2rem 1.4rem; margin: 0 0 2rem; }
.toc p { font-weight: 760; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: var(--step--1); }
.toc a { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .check-cols { grid-template-columns: 1fr; gap: 1rem; }
}

/* Mobile: keep primary nav reachable as a scrollable row under the brand */
@media (max-width: 960px) {
  .header-row { flex-wrap: wrap; row-gap: 0; }
  .site-nav { display: flex; order: 3; width: 100%; margin: 0; gap: 1.2rem; overflow-x: auto; padding: .1rem 0 .7rem; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; min-height: 32px; display: inline-flex; align-items: center; }
  html { scroll-padding-top: 7rem; }
}

.footer-grid-4 { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer-h { color: var(--steel); font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 .3rem; }
@media (max-width: 960px) { .footer-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid-4 { grid-template-columns: 1fr; } }

/* New components: cross apostrophe, trust bar, media slots, about page, preview notes */

/* Cross in place of the apostrophe. A hidden real apostrophe keeps copy-paste,
   search and screen readers reading "J&M's Electric". */
.xa { display: inline-block; position: relative; width: .42em; height: 1em; vertical-align: baseline; }
.xa-cross { position: absolute; left: 50%; top: -.02em; width: .34em; height: .62em; transform: translateX(-50%); color: var(--amber); overflow: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer-brand .xa-cross, .cta-band .xa-cross { color: currentColor; }

/* Trust bar: same strip on every page, directly under the hero */
.trust-bar { background: var(--night); color: var(--paper); border-top: 1px solid var(--graphite-3); }
.trust-bar ul { list-style: none; margin: 0; padding: .85rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; font-size: var(--step--1); font-weight: 650; }
.trust-bar li { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.trust-bar svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.trust-bar a { color: var(--amber-hi); }

/* Photo and video slots, filled as job media arrives */
.media-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; margin: 1.4rem 0 2rem; }
.media-slot { aspect-ratio: 4 / 3; border: 2px dashed #BDB8AD; border-radius: var(--radius-m); display: grid; place-items: center; text-align: center; padding: 1rem; font-size: var(--step--1); color: var(--ink-soft); background: rgba(255,255,255,.4); }
.media-slot strong { display: block; color: var(--ink); }

/* About page */
.about-hero h1 { max-width: 16ch; }
.owners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2rem 0; }
.owner { background: #fff; border-radius: var(--radius-m); padding: 1.4rem; }
.owner-photo { aspect-ratio: 1; border-radius: var(--radius-m); border: 2px dashed #BDB8AD; display: grid; place-items: center; color: var(--ink-soft); font-size: var(--step--1); margin-bottom: 1rem; }
.owner h3 { margin-bottom: .2rem; }
.owner .role { font-family: var(--mono); font-size: .78rem; color: var(--copper); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .8rem; }
.values { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.values li { border-top: 2px solid var(--graphite); padding-top: .9rem; }
.values strong { display: block; font-size: var(--step-1); margin-bottom: .3rem; }
.values span { color: var(--ink-soft); font-size: var(--step--1); }
.pending { border: 2px dashed var(--copper); background: #F6EDE3; border-radius: var(--radius-m); padding: 1.1rem 1.3rem; margin: 1.8rem 0; }
.pending p { margin: 0; color: var(--copper); font-size: var(--step--1); }
.pending strong { color: var(--copper); }

@media (max-width: 720px) {
  .owners, .values { grid-template-columns: 1fr; }
  .trust-bar ul { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; padding: .8rem 0; font-size: .8rem; line-height: 1.3; }
  .trust-bar li { white-space: normal; align-items: flex-start; gap: .45rem; }
  .trust-bar svg { width: 16px; height: 16px; margin-top: .05rem; }
  .xa { width: .36em; }
  .xa-cross { width: .3em; height: .56em; }
}

/* Winter offer */
.offer-strip { background: var(--amber); color: var(--graphite); font-size: var(--step--1); }
.offer-strip p { margin: 0; padding: .5rem 0; text-align: center; }
.offer-strip a { font-weight: 800; }
.offer-band { background: var(--graphite-2); color: var(--paper); padding-block: clamp(3rem, 7vw, 5rem); }
.offer-band .section-lede { color: #CFC9BD; }
.offer-band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.offer-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.offer-card { display: grid; gap: .3rem; background: var(--graphite); border: 1.5px solid var(--amber); border-radius: var(--radius-m); padding: 1.3rem 1.4rem; }
.offer-big { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 120; color: var(--amber); line-height: 1; }
.offer-name { font-weight: 760; font-size: var(--step-1); }
.offer-text { color: #CFC9BD; font-size: var(--step--1); }
.prose .offer-cards { margin: 1.4rem 0 1rem; }
.prose .offer-card { background: #fff; border-color: var(--copper); }
.prose .offer-card .offer-big { color: var(--copper); }
.prose .offer-card .offer-text { color: var(--ink-soft); }
.prose .offer-card .btn { justify-self: start; margin-top: .5rem; color: var(--graphite); text-decoration: none; }
.rebate { background: #fff; border-radius: var(--radius-m); padding: 1.2rem 1.4rem; margin: 1rem 0; }
.rebate h3 { margin-top: 0; }
@media (max-width: 960px) { .offer-band-grid { grid-template-columns: 1fr; } }
