/* Facility Electric Services — APERTURE (DESIGN.md, chosen 31 Aug 2026).
   Light page, one dark photo block (hero), one dark card (property-manager lane).
   Teal accent used only in small doses. NO ORANGE — permanently retired.
   Every colour pair below is from DESIGN.md §2 (the CORRECTED values). */

/* Instrument Sans — self-hosted Latin subset, one variable woff2 (400–700),
   font-display: swap. No fonts.googleapis.com request at runtime (DESIGN §3). */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
  --ground: #FFFFFF;
  --ground-alt: #F5F7F8;
  --ground-3: #EDF1F3;
  --line: #E6EAED;
  --line-2: #E1E6EA;

  --ink: #10171C;        /* 18.1:1 — headings, body, primary buttons */
  --ink-body: #4E5C66;   /* 6.9:1  — body copy on white */
  --ink-label: #5C6A73;  /* 5.6:1 on white, 5.2:1 on alt — CORRECTED from artboard */

  --accent: #19C8D4;     /* 2.1:1 on white — DECORATION / dark-bg text ONLY, never text on light */
  --accent-text: #0E7C86;/* 5.0:1 — links, eyebrows, ticks, "→" on light */
  --accent-hover: #0A5A61;/* 7.9:1 */

  --dark: #10171C;       /* dark cards, header rail */
  --dark-2: #1B2730;     /* dark card image wells */
  --dark-fg: #FFFFFF;
  --dark-fg-2: #AEBAC1;  /* ~8:1 on --dark — muted text on dark */

  --ok: #166534;
  --bad: #B42318;

  /* §3b motion — ONE curve governs everything; --ease-soft only for longer travel.
     ease / ease-in-out / linear appear nowhere. */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  /* §3b shadows — layered, one light source: a tight contact + a wide ambient. */
  --sh-rest:  0 1px 2px rgba(10,14,18,.16), 0 8px 20px -10px rgba(10,14,18,.42);
  --sh-hover: 0 1px 2px rgba(10,14,18,.20), 0 16px 34px -12px rgba(10,14,18,.50);
  --sh-card:  0 2px 4px rgba(10,14,18,.05), 0 22px 48px -24px rgba(10,14,18,.34);
  --shadow: var(--sh-card);
}

/* §3b entrance — one orchestrated moment. Compositor-only (transform/opacity/clip-path). */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes slab { from { opacity: 0; transform: translate3d(28px, 0, 0) scale(1.02); } to { opacity: 1; transform: none; } }
@keyframes glow { from { opacity: 0; transform: scaleX(0.4); } to { opacity: 1; transform: none; } }
.r  { animation: rise .9s var(--ease) both; }
.d1 { animation-delay: .05s } .d2 { animation-delay: .12s } .d3 { animation-delay: .19s }
.d4 { animation-delay: .26s } .d5 { animation-delay: .33s } .d6 { animation-delay: .40s } .d7 { animation-delay: .47s }

/* §3b grain — SVG turbulence at 5.5%, no network request. On every dark surface. */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink-body);
  font-family: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  padding-bottom: 60px; /* room for the mobile call bar */
}
.w { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 56px); }

/* §3b: headline weight is 600, not 700 — at this size 700 shouts. Tracking scales
   inversely with size. text-wrap: balance on every heading. */
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); line-height: 0.96; letter-spacing: -0.046em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.04; letter-spacing: -0.042em; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.034em; }
p { margin: 0 0 1em; max-width: 65ch; letter-spacing: -0.005em; }
a { color: var(--accent-text); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }

.sec { color: var(--ink-body); }
.sm { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-body); }
.xs { font-size: 0.84rem; line-height: 1.5; color: var(--ink-label); }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.7rem; display: block; }
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--ink-body); }

/* skip link + a11y helpers */
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 3px 0; }
.skip:focus { left: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* trust rail — DARK bar above the header; licence in bright teal (9.8:1 on dark). */
.rail { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-fg); font-size: 0.875rem; font-weight: 600; padding: 0.5rem 0; }
.rail::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }
.rail .w { position: relative; z-index: 1; }
@media (max-width: 640px) { .rail { font-size: .78rem; padding: .45rem 0; } .rail .w { gap: .15rem .7rem; } .rail .d { display: none; } }
.rail .w { display: flex; gap: 0.35rem 1.2rem; flex-wrap: wrap; align-items: center; }
.rail .lic { color: var(--accent); }
.rail .d { color: #3A4750; }
.rail .push { margin-left: auto; color: var(--dark-fg-2); }
@media (max-width: 720px) { .rail .push { margin-left: 0; } }

/* header */
header.site { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
header.site .w { display: flex; align-items: center; gap: 1.2rem; padding-block: 0.8rem; }
.logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logomark { display: flex; align-items: center; flex-shrink: 0; }
.logomark img { height: 40px; width: auto; display: block; }
.footlogo img { width: 210px; max-width: 100%; height: auto; display: block; margin-bottom: 0.7rem; }
.logotype { font-weight: 700; font-size: 1.16rem; line-height: 1.15; letter-spacing: -0.02em; }
.logotype span { display: block; font-size: 0.76rem; font-weight: 600; color: var(--ink-label); letter-spacing: 0; }
nav.main { margin-left: auto; display: flex; gap: 1.3rem; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
nav.main a:hover { color: var(--accent-text); text-decoration: underline; }
.hdr-r { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
nav.main + .hdr-r { margin-left: 0; }
.telbig { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.3rem; white-space: nowrap; letter-spacing: -0.02em; }
.telbig small { display: block; font-size: 0.76rem; font-weight: 600; color: var(--ink-label); letter-spacing: 0; }
@media (max-width: 1040px) { nav.main { display: none; } header.site { z-index: 70; } }
@media (max-width: 600px) { .telbig { font-size: 1.1rem; } .logotype span { display: none; } }

/* ── Mobile nav drawer — vaul vocabulary: slide + scrim on cubic-bezier(0.32,0.72,0,1),
   0.5s, transform/opacity only. CSS-only checkbox toggle (no JS, §3b). Shown only
   where the desktop nav hides. ── */
.navtoggle, .menu-btn, .menu-scrim, .menu-panel { display: none; }
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: .15rem; border-radius: 3px; cursor: pointer; position: relative; z-index: 3; }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease-soft), opacity .25s var(--ease-soft), background-color .2s var(--ease-soft); }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }

  .menu-scrim { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(10,14,18,.5); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-soft); }
  .menu-panel { display: flex; flex-direction: column; gap: .1rem; position: fixed; top: 0; right: 0; z-index: 2; height: 100%; width: min(330px, 84vw); padding: 96px 24px 28px; background: var(--ground); box-shadow: var(--sh-card);
    transform: translateX(100%); transition: transform .5s var(--ease-soft); overflow-y: auto; }
  .menu-panel a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .menu-panel a:not(.btn):hover { color: var(--accent-text); }
  .menu-call { color: var(--accent-text) !important; }
  .menu-panel .menu-quote { margin-top: 1.3rem; align-self: stretch; }

  /* open state */
  .navtoggle:checked ~ .menu-scrim { opacity: 1; pointer-events: auto; }
  .navtoggle:checked ~ .menu-panel { transform: translateX(0); }
  .navtoggle:checked ~ .menu-btn .burger { background: transparent; }
  .navtoggle:checked ~ .menu-btn .burger::before { transform: translateY(7px) rotate(45deg); }
  .navtoggle:checked ~ .menu-btn .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .navtoggle:focus-visible ~ .menu-btn { outline: 3px solid var(--accent-text); outline-offset: 2px; }
}

/* hero image — favour the left labelled panel, not the dead-centre wood gap */
.hero-slab img { object-position: 20% 50%; }

/* FAQ marker — quiet: the accordion sits below the fold, so no entrance reveal
   (DESIGN: below the fold nothing animates). Just a settled colour on the marker. */
summary { transition: color .25s var(--ease); }
summary:hover { color: var(--accent-hover); }
summary::after { transition: color .2s var(--ease); }

/* buttons — primary is --ink with white text; secondary is a 2px border. Radius 3px. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; font-size: 1.02rem; padding: 0.7rem 1.3rem; border-radius: 3px; border: 2px solid var(--ink); min-height: 48px; white-space: nowrap; cursor: pointer; box-shadow: var(--sh-rest);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.btn:hover { transform: translateY(-1.5px); background: var(--dark-2); border-color: var(--dark-2); color: #fff; box-shadow: var(--sh-hover); }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--line-2); border-width: 2px; box-shadow: none; }
.btn.alt:hover { background: transparent; color: var(--accent-hover); border-color: var(--ink); box-shadow: none; }
.btn.lg { font-size: 1.1rem; padding: 0.9rem 1.6rem; min-height: 52px; }
@media (max-width: 600px) { .hdr-r > .btn { display: none; } } /* hides the header's own quote button, NOT the drawer's */

/* ---------- HERO: two-column, photo bleeds right and is cut on ONE diagonal ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; background: var(--ground); min-height: 540px; }
.hero-text {
  padding: clamp(40px, 6vw, 76px) clamp(28px, 3vw, 48px) clamp(40px, 6vw, 76px)
           max(clamp(18px, 4vw, 56px), calc((100vw - 1180px) / 2 + clamp(18px, 4vw, 56px)));
}
.hero-text h1 { margin-bottom: 0.2rem; }
.hero-text .lede { margin: 1rem 0 1.5rem; }
.hero-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; }
.hero-cta .orline { font-size: 1rem; color: var(--ink-label); font-weight: 600; }
.hero-photo { position: relative; align-self: stretch; min-height: 540px; overflow: hidden; }
.hero-slab { position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(152deg, #111C24 0%, #1D2F3B 55%, #274454 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  animation: slab 1.1s var(--ease) both; animation-delay: .1s; }
.hero-slab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* accent bar — sits under the slab, lands last (500ms delay) */
.hero-accent { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; transform-origin: left;
  background: linear-gradient(90deg, var(--accent) 0%, var(--ink) 100%);
  box-shadow: 0 -6px 22px -6px var(--accent);
  animation: glow 1.2s var(--ease) both; animation-delay: .5s; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: clamp(30px, 7vw, 48px) clamp(18px, 5vw, 32px) clamp(26px, 5vw, 36px); }
  .hero-photo { min-height: 300px; }
  .hero-slab { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
}

/* hero eyebrow with the little accent tick-bar (reference) */
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 1.4rem; }
.hero-eyebrow .ebar { width: 24px; height: 2px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.hero-eyebrow .eyebrow { margin: 0; }

/* checkmark proof list (hero) — teal ticks; ticks grow when their row is hovered */
.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.checks li { position: relative; padding-left: 1.7rem; font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-text); font-weight: 700; display: inline-block; transition: transform .5s var(--ease); }
.checks li:hover::before { transform: scale(1.14); }

/* credential strip — four equal columns, label over a 19px/700 value */
.credstrip { background: var(--ground-alt); border-bottom: 1px solid var(--line); }
.credstrip .w { display: grid; grid-template-columns: repeat(4, 1fr); padding-inline: 0; }
.credstrip .c { padding: 1.1rem clamp(16px, 2.2vw, 30px); border-left: 1px solid var(--line); }
.credstrip .c:first-child { border-left: 0; padding-left: clamp(18px, 4vw, 56px); }
.credstrip .c:last-child { padding-right: clamp(18px, 4vw, 56px); }
.credstrip .k { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-label); }
.credstrip .v { font-size: 19px; font-weight: 700; color: var(--ink); margin-top: 0.28rem; letter-spacing: -0.01em; }
@media (max-width: 640px) {
  .credstrip .w { grid-template-columns: 1fr 1fr; }
  .credstrip .c:nth-child(3), .credstrip .c:nth-child(4) { border-top: 1px solid var(--line); }
  .credstrip .c:nth-child(odd) { border-left: 0; padding-left: clamp(18px, 4vw, 56px); }
}

/* legacy .photo placeholder (still used on the wedge before/after slot) */
.photo { border-radius: 6px; border: 1px solid var(--line); background: var(--ground-3); display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; min-height: 200px; }
.photo img { display: block; width: 100%; height: auto; border-radius: 6px; }
.photo .cap { font-size: 0.9rem; color: var(--ink-label); font-weight: 600; line-height: 1.5; }
.photo .cap em { display: block; font-style: normal; font-weight: 400; margin-top: 0.4rem; font-size: 0.86rem; }

/* the old inline .reassure line (kept for any page still using it) */
.reassure { margin-top: 1.1rem; font-size: 0.98rem; color: var(--ink-body); display: flex; gap: 0.45rem; align-items: flex-start; }
.reassure svg { width: 1.15rem; height: 1.15rem; color: var(--accent-text); flex-shrink: 0; margin-top: 0.18rem; }

/* the old creds row (interior pages / fallback) */
.creds { background: var(--ground-alt); border-bottom: 1px solid var(--line); padding-block: 1.15rem; }
.creds .w { display: flex; gap: 0.8rem 2.2rem; flex-wrap: wrap; justify-content: center; }
.cred { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1rem; color: var(--ink); }
.cred svg { width: 1.35rem; height: 1.35rem; color: var(--accent-text); flex-shrink: 0; }

section { padding-block: clamp(38px, 5vw, 64px); }
section.alt { background: var(--ground-alt); border-block: 1px solid var(--line); }
.shead { margin-bottom: 1.7rem; }
.shead p { color: var(--ink-body); margin: 0.55rem 0 0; }

/* breadcrumbs */
.crumbs { font-size: 0.9rem; color: var(--ink-label); padding: 0.8rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.crumbs a { color: var(--ink-label); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: #B4BCC2; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* two-lane split — homeowner card white, property-manager card DARK */
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.lane { position: relative; overflow: hidden; background: var(--ground); border: 1px solid var(--line-2); border-radius: 6px; padding: 1.5rem; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; box-shadow: 0 1px 1px rgba(10,14,18,.03);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s var(--ease); }
.lane:hover { transform: translateY(-3px); border-color: #CFD8DD; box-shadow: var(--sh-card); }
.lane .eyebrow { color: var(--accent-text); }
.lane h3 { margin-bottom: 0.4rem; }
.lane p { color: var(--ink-body); }
.lane .go { margin-top: auto; padding-top: 0.9rem; color: var(--accent-text); font-weight: 600; position: relative; z-index: 1; }
.lane .arrow { display: inline-block; transition: transform .5s var(--ease); }
.lane:hover .arrow { transform: translateX(5px); }
.lane.dark { background: var(--dark); border-color: var(--dark); color: var(--dark-fg); }
.lane.dark:hover { border-color: var(--dark-2); }
.lane.dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lane.dark h3, .lane.dark p, .lane.dark .eyebrow, .lane.dark .go { position: relative; z-index: 1; }
.lane.dark h3 { color: var(--dark-fg); }
.lane.dark p { color: var(--dark-fg-2); }
.lane.dark .eyebrow { color: var(--accent); }
.lane.dark .go { color: var(--accent); }
@media (max-width: 700px) { .lanes { grid-template-columns: 1fr; } }

/* emergency block — light card, teal accent edge (no orange) */
.emerg { background: var(--ground-alt); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; padding: 1.5rem; }
.emerg .w2 { display: grid; grid-template-columns: 1fr auto; gap: 1.4rem; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.chip { background: var(--ground); border: 1px solid var(--line-2); border-radius: 3px; padding: 0.28rem 0.75rem; font-size: 0.92rem; font-weight: 600; color: var(--ink); }
@media (max-width: 720px) { .emerg .w2 { grid-template-columns: 1fr; } }
/* After-hours "no overtime" line — the strongest line on the site. */
.noovertime { color: var(--accent-text); }
.warranty-line { color: var(--ink-label); }
.guars { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.guars li { padding-left: 1.6rem; position: relative; color: var(--ink); }
.guars li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-text); font-weight: 700; }

/* real-work photography grid + single figures */
.workgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.workshot { margin: 0; }
.workshot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 6px; background: var(--ground-3); }
.workshot figcaption { margin-top: 0.45rem; font-size: 0.9rem; color: var(--ink-label); }
.workshot.single { max-width: 460px; }
@media (max-width: 560px) { .workgrid { grid-template-columns: 1fr 1fr; gap: 0.7rem; } }

/* problems */
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.9rem; }
.pcard { background: var(--ground); border: 1px solid var(--line-2); border-radius: 6px; padding: 1.2rem; text-decoration: none; color: var(--ink); display: block; box-shadow: 0 1px 1px rgba(10,14,18,.03);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s var(--ease); }
.pcard:hover { transform: translateY(-3px); border-color: #CFD8DD; box-shadow: var(--sh-card); }
.pcard .q { font-weight: 700; margin-bottom: 0.3rem; line-height: 1.3; }
.pcard .a { font-size: 0.93rem; color: var(--ink-body); line-height: 1.5; }

/* services */
.svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.svc { border: 1px solid var(--line-2); border-radius: 6px; background: var(--ground); overflow: hidden; }
.svc header { padding: 1.2rem 1.3rem 0.95rem; border-bottom: 1px solid var(--line); background: var(--ground-alt); }
.svc ul { list-style: none; margin: 0; padding: 0.45rem 0; }
.svc a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.55rem 1.3rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.svc a:hover { background: var(--ground-alt); color: var(--accent-hover); }
.svc .price { font-size: 0.9rem; color: var(--ink-label); font-weight: 600; white-space: nowrap; }
.svc .foot { padding: 0.6rem 1.3rem 1.2rem; color: var(--ink-body); }
@media (max-width: 760px) { .svcs { grid-template-columns: 1fr; } }

/* wedge */
.wedge .w { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 44px); align-items: center; }
@media (max-width: 760px) { .wedge .w { grid-template-columns: 1fr; } }

/* pricing table */
.ptable { border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--ground); }
.prow { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: 0; }
.prow .j { font-weight: 600; color: var(--ink); }
.prow .v { font-weight: 700; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.prow .v .sm { color: var(--ink-label); }

/* areas */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.area { background: var(--ground); border: 1px solid var(--line-2); border-radius: 6px; padding: 1.1rem; text-decoration: none; color: var(--ink); box-shadow: 0 1px 1px rgba(10,14,18,.03);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s var(--ease); }
.area:hover { transform: translateY(-3px); border-color: #CFD8DD; box-shadow: var(--sh-card); }
.area h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.area p { color: var(--ink-body); }

/* faq */
details { border: 1px solid var(--line-2); border-radius: 6px; margin-bottom: 0.6rem; background: var(--ground); }
summary { padding: 0.95rem 1.2rem; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-text); font-weight: 700; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2013"; }
details .b { padding: 0 1.2rem 1.1rem; color: var(--ink-body); }
details .b p { margin-bottom: 0.6em; }

/* ---- quote / application form ---- */
.qform { max-width: 640px; }
.qform fieldset { border: 1px solid var(--line-2); border-radius: 6px; padding: 1.1rem 1.25rem 1.3rem; margin: 0 0 1.1rem; background: var(--ground); }
.qform legend { font-weight: 700; font-size: 1.08rem; color: var(--ink); padding: 0 0.4rem; }
.field { margin-top: 1rem; }
.field:first-of-type { margin-top: 0.4rem; }
.field > label, .field > .lbl { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.field .hint { font-weight: 400; color: var(--ink-label); font-size: 0.9rem; }
.qform input[type="text"], .qform input[type="tel"], .qform input[type="email"], .qform select, .qform textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--ground);
  border: 1.5px solid var(--line-2); border-radius: 3px; padding: 0.65rem 0.75rem; min-height: 48px;
}
.qform textarea { min-height: 120px; resize: vertical; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px rgba(14,124,134,.20); }
.qform input[aria-invalid="true"], .qform textarea[aria-invalid="true"], .qform select[aria-invalid="true"] { border-color: var(--bad); }
.err { color: var(--bad); font-size: 0.9rem; font-weight: 600; margin-top: 0.35rem; display: none; }
.err.show { display: block; }
.radios { display: flex; flex-direction: column; gap: 0.5rem; }
.radios.row { flex-direction: row; flex-wrap: wrap; }
.opt { display: flex; align-items: center; gap: 0.6rem; border: 1.5px solid var(--line-2); border-radius: 3px; padding: 0.6rem 0.8rem; min-height: 48px; cursor: pointer; font-weight: 600; color: var(--ink); }
.opt input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent-text); margin: 0; }
.opt:hover { border-color: var(--accent-text); }
.opt:has(input:checked) { border-color: var(--accent-text); background: var(--ground-3); }
.opt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(14,124,134,.20); }
.req { color: var(--accent-text); }
.qform .submit { margin-top: 0.4rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
footer.site { background: var(--ground-alt); border-top: 1px solid var(--line); padding-block: 2.4rem 1.8rem; margin-top: 1rem; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1.6rem; margin-bottom: 1.6rem; }
footer.site h3 { font-size: 1rem; margin-bottom: 0.6rem; }
footer.site a { display: block; padding: 0.16rem 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
footer.site a:hover { color: var(--accent-text); text-decoration: underline; }
footer.site .sm { color: var(--ink-body); }
footer.site .btm { border-top: 1px solid var(--line); padding-top: 1.1rem; font-size: 0.9rem; color: var(--ink-label); }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* sticky mobile call bar — dark */
.callbar { position: fixed; inset: auto 0 0 0; z-index: 60; background: var(--ink); display: none; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 60px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
@media (max-width: 800px) { .callbar { display: block; } }

/* utilities */
.mt { margin-top: 1.4rem; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 3px; }

/* §3b non-negotiable: anyone who asked their system for less motion gets the page
   instantly and completely — all animation AND all transitions killed, nothing
   left mid-entrance. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .r, [class*="d"] { opacity: 1 !important; transform: none !important; }
  .hero-slab, .hero-accent { opacity: 1 !important; transform: none !important; }
}
