/* ==========================================================================
   JLS Electrical Services LLC
   Palette + logo are the business's real brand, refined:
     navy  #1A2A70  cyan #9BE1E9  bolt-yellow #FEE000  (sampled from the logo)
   Aesthetic: "the panel" — ink-dark, engineered, circuit-label typography.
   ========================================================================== */

/* === defensive base — injected by harden_css.py; do not hand-edit === */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: calc(var(--nav-h, 72px) + 1rem); }
img, svg, video, iframe, canvas, table { display: block; max-width: 100%; }
p, li, h1, h2, h3, h4, blockquote, td, dd, dt { overflow-wrap: anywhere; }
form[style*="min-height"] { align-content: center; }
/* === end defensive base === */

:root {
  /* ---- ink / surfaces ---- */
  --ink:        #080B14;
  --ink-1:      #0C1120;
  --ink-2:      #111a30;
  --ink-3:      #16213c;
  --line:       #223257;
  --line-soft:  #1a2740;

  /* ---- brand ---- */
  --navy:       #1A2A70;
  --navy-lift:  #2b44ad;
  --navy-glow:  #3556d8;
  --cyan:       #9BE1E9;
  --cyan-deep:  #4fbccb;
  --volt:       #FEE000;
  --volt-deep:  #d9be00;

  /* ---- type ---- */
  --paper:      #EDF2FA;
  --muted:      #93a3c2;
  --muted-2:    #6d7f9f;

  --nav-h:      70px;
  --radius:     3px;
  --wrap:       1220px;

  --ff-display: "Archivo", "Archivo Expanded", sans-serif;
  --ff-body:    "Karla", sans-serif;
  --ff-mono:    "Martian Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}

/* Blueprint grid + grain, fixed behind everything ------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(43,68,173,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43,68,173,.10) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 0%, transparent 78%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 2; }

img, picture, svg { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }

::selection { background: var(--volt); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

/* ---- shared type ------------------------------------------------------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: clamp(.58rem, 1.5vw, .66rem);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--volt);
  flex: none;
}

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-stretch: 118%;
  line-height: .96;
  letter-spacing: -.02em;
  margin: 0;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 46ch;
}
.section-head h2 { font-size: clamp(1.85rem, 4.4vw, 3.1rem); }
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  max-width: 52ch;
}

section { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* ---- buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--ff-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 1.02em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn--volt {
  background: var(--volt);
  color: #0d0f06;
  box-shadow: 0 0 0 0 rgba(254,224,0,.4);
}
.btn--volt:hover {
  background: #fff05a;
  transform: translateY(-2px);
  box-shadow: 0 10px 34px -12px rgba(254,224,0,.75);
}
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--cyan-deep);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn--wide { width: 100%; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(8, 11, 20, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}
.nav__logo {
  display: block;
  flex: none;
  margin-right: auto;
  line-height: 0;
}
.nav__logo img {
  height: 30px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2rem);
}
.nav__links a {
  font-family: var(--ff-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__phone {
  font-family: var(--ff-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.nav__phone:hover { color: var(--volt); }
.nav .btn { padding: .82em 1.15em; font-size: .66rem; }

.nav__toggle {
  display: none;
  flex: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  cursor: pointer;
  padding: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

.mobile-menu {
  display: none;                 /* hard default — a class must opt it in */
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 55;
  background: var(--ink-1);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem clamp(1.15rem, 4vw, 2.5rem) 1.8rem;
  flex-direction: column;
  gap: .3rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 1.1rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-content: center;
  padding-block: clamp(1.75rem, 4vh, 3.25rem);
  overflow-x: clip;             /* scoped: the glow ring bleeds on purpose */
}
.hero::before {                 /* voltage glow */
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: min(760px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,68,173,.42) 0%, rgba(43,68,173,.10) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.hero__copy {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: clamp(.72rem, 2.4cqi, 1.35rem);
  min-width: 0;
}

.hero h1 {
  /* sized off the copy column, not the viewport, so the longest line
     ("Panels, chargers,") always clears the gutter on a phone rather
     than running to the screen edge or breaking to a fourth line */
  font-size: clamp(1.5rem, 7.05cqi, 3.55rem);
  line-height: .92;
  letter-spacing: -.028em;
  font-stretch: 122%;
}
.hero h1 .lit {
  position: relative;
  color: var(--volt);
  white-space: nowrap;
}
.hero h1 .lit::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: .04em;
  height: .055em;
  background: var(--volt);
  opacity: .35;
}

.hero__sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(.95rem, 3.55cqi, 1.12rem);
  line-height: 1.55;
  max-width: 44ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.hero__proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  padding-top: .35rem;
  font-family: var(--ff-mono);
  font-size: clamp(.58rem, 2.05cqi, .68rem);
  letter-spacing: .06em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.hero__proof b { color: var(--paper); font-weight: 600; }
.stars {
  color: var(--volt);
  letter-spacing: .12em;
  font-size: 1em;
  flex: none;
}
.dot { opacity: .34; }

/* --- hero panel-schedule card ------------------------------------------ */
.panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(26,42,112,.34) 0%, rgba(12,17,32,.9) 60%);
  box-shadow: 0 30px 70px -40px #000;
  overflow: hidden;
  min-width: 0;
}
.panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .78rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(8,11,20,.55);
}
.panel__top span {
  font-family: var(--ff-mono);
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.panel__live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--cyan) !important;
}
.panel__live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 0 rgba(254,224,0,.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(254,224,0,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(254,224,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(254,224,0,0); }
}
.panel ol {
  list-style: none;
  margin: 0;
  padding: .35rem .35rem .5rem;
}
.panel li {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  align-items: center;
  gap: .55rem;
  padding: .5rem .65rem;
  border-radius: 2px;
  font-size: .875rem;
  color: var(--paper);
  border-bottom: 1px dashed var(--line-soft);
}
.panel li:last-child { border-bottom: 0; }
.panel li i {
  font-family: var(--ff-mono);
  font-style: normal;
  font-size: .6rem;
  letter-spacing: .04em;
  color: var(--volt);
  opacity: .8;
}

/* ==========================================================================
   MARQUEE / TICKER
   ========================================================================== */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: rgba(26,42,112,.16);
  overflow: hidden;
  padding-block: 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.ticker__track > div {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding: .92rem 1.3rem;
  white-space: nowrap;
}
.ticker span {
  font-family: var(--ff-mono);
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ticker span::before {
  content: "▲";
  color: var(--volt);
  font-size: .5em;
  margin-right: .85rem;
  vertical-align: middle;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
/* Real gaps + per-card borders rather than a 1px grid-background: with 9 cards
   an incomplete final row would otherwise render its empty tracks as a slab. */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--ink-1);
  border: 1px solid var(--line-soft);
  min-width: 0;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.svc:hover { border-color: var(--line); }
.svc:hover { background: var(--ink-2); }
.svc::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--volt);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--ease);
}
.svc:hover::after { transform: scaleY(1); }
.svc__no {
  font-family: var(--ff-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  color: var(--muted-2);
}
.svc h3 {
  font-size: 1.16rem;
  font-stretch: 112%;
  letter-spacing: -.008em;
  line-height: 1.1;
}
.svc p {
  margin: 0;
  color: var(--muted);
  font-size: .935rem;
  line-height: 1.55;
}

.svc-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--volt);
  background: var(--ink-1);
}
.svc-note p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  max-width: 58ch;
}
.svc-note strong { color: var(--paper); font-weight: 600; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { background: var(--ink-1); border-block: 1px solid var(--line-soft); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.stat { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.stat b {
  font-family: var(--ff-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--paper);
}
.stat b em { font-style: normal; color: var(--volt); }
.stat span {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.6;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
/* Explicit masonry columns: every photo keeps its natural aspect ratio (so a
   mixed portrait/landscape set never crops the subject out or leaves a gap),
   and the shots are hand-distributed so the three columns end level — CSS
   multicol balances by its own algorithm and strands a short middle column. */
.gal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.gal__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shot {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
  min-width: 0;
}
.shot img {
  width: 100%;
  height: auto;
  transition: transform .6s var(--ease);
}
.shot:hover img { transform: scale(1.045); }
.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.6rem .95rem .8rem;
  font-family: var(--ff-mono);
  font-size: .58rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(4,6,12,.92) 12%, transparent 100%);
}

/* ==========================================================================
   ABOUT JOEY
   ========================================================================== */
.about { background: var(--ink-1); border-block: 1px solid var(--line-soft); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4.5vw, 3.75rem);
  align-items: center;
}
.about__photo {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  min-width: 0;
}
.about__photo img { width: 100%; height: auto; }
.about__copy { display: flex; flex-direction: column; gap: 1.05rem; min-width: 0; }
.about__copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.about__copy p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 54ch; }

.creds {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.creds li {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding: .85rem 1rem;
  background: var(--ink);
  min-width: 0;
}
.creds b {
  font-size: .84rem;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.35;
}
.creds span {
  font-family: var(--ff-mono);
  font-size: .56rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.15rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.rev {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line-soft);
  background: var(--ink-1);
  min-width: 0;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.rev:hover { border-color: var(--line); transform: translateY(-3px); }
.rev blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--paper);
}
.rev footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  margin-top: auto;
  padding-top: .35rem;
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.rev footer b { color: var(--paper); font-weight: 600; letter-spacing: .06em; }

/* ==========================================================================
   VISIT / AREA
   ========================================================================== */
.visit { background: var(--ink-1); border-top: 1px solid var(--line-soft); }
.visit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}
.card-block { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.card-block h3 {
  font-size: 1.05rem;
  font-stretch: 112%;
  color: var(--paper);
}
.card-block p, .card-block li { margin: 0; color: var(--muted); font-size: .96rem; }
.card-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }

.hours { display: grid; gap: 0; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .58rem 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: .92rem;
}
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--muted); margin: 0; }
.hours dd {
  margin: 0;
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .05em;
  white-space: nowrap;
  padding-top: .12rem;
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.areas span {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: .42rem .6rem;
}

.seal {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem .95rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--volt);
  background: var(--ink-2);
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: flex-start;
}
.seal b { color: var(--paper); font-weight: 600; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.cta-band {
  position: relative;
  overflow-x: clip;             /* scoped: the bolt watermark bleeds on purpose */
  background:
    radial-gradient(ellipse 90% 130% at 50% 120%, rgba(43,68,173,.5) 0%, transparent 65%),
    var(--ink);
  border-top: 1px solid var(--line-soft);
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
}
.cta-band h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  max-width: 17ch;
}
.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: clamp(1rem, 1.7vw, 1.1rem);
}
.cta-band .hero__cta { justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot {
  border-top: 1px solid var(--line-soft);
  background: var(--ink-1);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2rem;
  align-items: start;
}
.foot img { height: 30px; width: auto; }
.foot h4 {
  margin: 0 0 .8rem;
  font-family: var(--ff-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.foot a:hover { color: var(--cyan); }
.foot__meta {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: .58rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.foot__meta p { margin: 0; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-hero {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(1rem, 2vw, 1.5rem);
}
.contact-hero h1 {
  font-size: clamp(2.1rem, 6.2vw, 4rem);
  max-width: 16ch;
  margin-top: 1.1rem;
}
.contact-hero p {
  margin: 1.15rem 0 0;
  color: var(--muted);
  max-width: 50ch;
  font-size: clamp(1rem, 1.7vw, 1.1rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(4rem, 8vw, 6.5rem);
}

.form-card {
  border: 1px solid var(--line);
  background: var(--ink-1);
  padding: clamp(1.5rem, 3.2vw, 2.4rem);
  min-width: 0;
}
#estimate-form {
  display: grid;
  gap: 1.05rem;
  align-content: start;
}
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field label {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.field input, .field textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: .82rem .9rem;
  width: 100%;
  min-width: 0;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-deep);
  background: var(--ink-2);
}
.field input::placeholder, .field textarea::placeholder { color: #4f5f7d; }

.turnstile-box { min-height: 66px; }

.form-status {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  padding: .95rem 1.05rem;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--volt);
  background: var(--ink-2);
  color: var(--paper);
}
.form-status--err { border-left-color: #ff6b5e; }
.form-fine {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: .56rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.75;
}
button[disabled] { opacity: .85; cursor: default; }
button[disabled]:hover { transform: none; box-shadow: none; }

.contact-side { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); min-width: 0; }
.contact-side > * { background: var(--ink-1); padding: 1.35rem 1.4rem; }
.contact-side h3 {
  font-size: .95rem;
  font-stretch: 110%;
  margin-bottom: .55rem;
}
.contact-side p { margin: 0; color: var(--muted); font-size: .93rem; }
.contact-side a.big {
  display: block;
  font-family: var(--ff-mono);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--paper);
  text-decoration: none;
  margin-top: .2rem;
}
.contact-side a.big:hover { color: var(--volt); }

/* ==========================================================================
   SCROLL REVEAL  (below-the-fold only — never on hero/header)
   ========================================================================== */
.rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.rise.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav .btn--volt { display: none; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .panel li:nth-child(n + 5) { display: none; }

  /* columns unwind into 2-up row groups so nothing is reordered or dropped */
  .gal { display: block; }
  .gal__col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
  }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__grid { grid-template-columns: minmax(0, 1fr); }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  :root { --nav-h: 62px; }
  body { font-size: 16px; }
  .nav__logo img { height: 25px; }
  .hero { padding-block: 1.25rem 1.5rem; }
  .hero__grid { gap: 1.15rem; }
  .panel__top { padding: .62rem .8rem; }
  .panel li { padding: .42rem .55rem; font-size: .82rem; }
  .panel li:nth-child(n + 4) { display: none; }
  .btn { padding: .95em 1.15em; font-size: .67rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .gal__col { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .foot__meta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rise { opacity: 1; transform: none; }
}

/* === site credit (injected by credit_footer.py); do not hand-edit === */
.site-credit {
  margin: 2.25rem 0 0;
  padding-inline: 1.25rem;
  font-size: .73rem;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
  opacity: .65;
}
.site-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(128, 128, 128, .5);
  border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  transition: border-bottom-color .25s ease;
}
.site-credit a:hover,
.site-credit a:focus-visible { border-bottom-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .site-credit a { transition: none; }
}
/* === end site credit === */
