/* G&G Electric v3 (brief GNG-2026-11-16-03): direction A with a photo hero, one call to action, a quote form, and a sticky call bar.
   Loads after base.css and a.css. */

/* focus rings: ink on light surfaces, amber on ink. Cards reset to ink even when nested in a dark band. */
.card { --focus: #142030; color: var(--ink); }
.card.band-dark { --focus: #F0D008; color: var(--on-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* header: one primary call button */
.site-header .btn { box-shadow: none; }

/* hero: full-bleed photo under an ink scrim */
.hero-photo { position: relative; overflow: hidden; padding: var(--s8) 0; background: var(--ink); color: var(--on-dark); --focus: #F0D008; }
.hero-bg { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; margin: 0; object-fit: cover; object-position: 50% 50%; }
.hero-scrim { position: absolute; inset: 0; background: rgba(20, 32, 48, .87); }
.hero-inner { position: relative; }
.hero-photo h1 { max-width: 16ch; }
.hero-photo h1 .confirm { margin-left: var(--s1); }
.hero-photo .btn-row { margin-top: var(--s4); }
.no-answer { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s1); margin-top: var(--s1); font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.no-answer a { display: inline-flex; align-items: center; min-height: 48px; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.no-answer a:hover { text-decoration-thickness: 3px; }
.hero-photo .fact { margin-top: var(--s1); color: var(--on-dark); }
.trust { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s4); }
.trust li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); padding: var(--s1) var(--s2); border: 1px solid #7C8796; border-radius: var(--r); background: #142030; font-size: 16px; line-height: 1.5; }
.trust img { width: 20px; height: 20px; }
.trust-license { white-space: nowrap; }
/* At 320px the license chip (nowrap) and the divisions chip are wider than the
   272px content box with the default 16px inline padding. Tighten both so each
   chip stays on one line and no middot is left at a line edge. */
@media (max-width: 359px) {
  .trust li { padding-inline: var(--s1); font-size: 15px; }
}
.btn-ghost.on-photo { background: #142030; }
.btn-ghost.on-photo:hover { background: #22324A; }

/* services: numbered list, A styling */
.rows { padding: 0; overflow: hidden; }
.row { display: grid; grid-template-columns: 32px 44px 1fr; gap: var(--s1) var(--s2); padding: var(--s3); align-items: center; }
.row + .row { border-top: 1px solid var(--line); }
.row .num { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #244E2A; }
.row h3 .confirm { margin-left: var(--s1); }
.row p { grid-column: 1 / -1; color: var(--muted); }

/* contact band + quote form */
.contact .wrap { align-items: start; }
.contact .no-answer { margin-top: var(--s1); }
.contact .email-row { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--dark-line); }
.contact .fact { margin-top: var(--s2); color: var(--on-dark); }
.quote { display: grid; gap: var(--s2); scroll-margin-top: var(--s3); }
.quote h3 { margin-bottom: var(--s1); }
.field { display: grid; gap: var(--s1); }
.field label { font-size: 16px; font-weight: 600; line-height: 1.5; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s1) var(--s2);
  border: 1px solid #6B7686; border-radius: var(--r); background: #FFFFFF; color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.5;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.quote .consent { font-size: 16px; color: var(--muted); }
.quote button { width: 100%; cursor: pointer; }

.quote { position: relative; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.grecaptcha-badge { visibility: hidden; }
.quote .recaptcha-note { font-size: 16px; color: var(--muted); line-height: 28px; }
.quote .recaptcha-note a { color: var(--ink); }
.quote .quote-status { font-size: 16px; min-height: 1.5em; }
.quote-error { color: #b42318; font-weight: 600; font-size: 16px; margin: 0 0 12px; }
.quote noscript p { font-size: 16px; color: var(--muted); line-height: 28px; }


/* sticky mobile call bar: CSS only */
.callbar { display: none; }
@media (max-width: 768px) {
  html { scroll-padding-bottom: calc(65px + 16px); }
  :focus { scroll-margin-bottom: calc(65px + 16px); }
  .field input, .field select, .field textarea, #q-note {
    scroll-margin-bottom: calc(65px + 16px + 48px);
  }
  body { padding-bottom: 64px; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    display: flex; gap: var(--s1); padding: var(--s1) var(--s2);
    background: #142030; border-top: 1px solid #2E3D52; --focus: #F0D008;
  }
  .callbar .btn { flex: 1 1 auto; padding: 0 var(--s1); box-shadow: none; }
  .quote { scroll-margin-bottom: var(--s12); }
}

@media (min-width: 800px) {
  .hero-photo { padding: var(--s12) 0; }
  .hero-scrim { background: linear-gradient(90deg, rgba(20, 32, 48, .9) 0%, rgba(20, 32, 48, .87) 70%, rgba(20, 32, 48, .45) 100%); }
  .hero-inner > * { max-width: 600px; }
  .hero-inner > .trust { max-width: none; }
  .row { grid-template-columns: 48px 44px 1fr 1.4fr; padding: var(--s3) var(--s4); }
  .row p { grid-column: auto; }
  .contact .wrap { grid-template-columns: 6fr 6fr; }
}

/* ---------- process board ---------- */
.board section { padding: var(--s8) 0; }
.board section + section { border-top: 1px solid var(--line); }
.board h2 { margin-bottom: var(--s3); }
.board .step { color: var(--muted); margin-bottom: var(--s2); }
.asks { display: grid; gap: var(--s2); }
.asks li { display: flex; gap: var(--s2); align-items: flex-start; }
.refs { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.ref { padding: 0; overflow: hidden; }
.ref img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.ref div { padding: var(--s2) var(--s3) var(--s3); }
.ref .url { font-size: 16px; color: var(--muted); overflow-wrap: anywhere; }
.ref p + p { margin-top: var(--s1); }
.kit > *, .refs > *, .photo-plan > *, .crops > * { min-width: 0; }
.table-wrap { overflow-x: auto; }
td, th { overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: var(--s1) var(--s2); border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
.photo-plan { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.plan-card { padding: 0; overflow: hidden; }
.plan-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.plan-card div { padding: var(--s3); }
.plan-card p { margin-top: var(--s1); color: var(--muted); }
.plan-card p strong { color: var(--ink); }
.reject { border-left: 8px solid var(--ink); }
.crops { display: grid; gap: var(--s3); grid-template-columns: 1fr; align-items: start; }
.crops figure { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.crops img { width: 100%; }
.crops figcaption { padding: var(--s2); font-size: 16px; font-weight: 600; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: var(--s2); padding: var(--s1) 0; }
@media (min-width: 800px) {
  .board section { padding: var(--s12) 0; }
  .refs { grid-template-columns: repeat(3, 1fr); }
  .photo-plan { grid-template-columns: repeat(3, 1fr); }
  .crops.two { grid-template-columns: 1fr 1fr; }
  .crops.phone { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- brand baseline (revision, Nov 16): logo, navy, bolt yellow, green ---------- */
.brand { min-height: 48px; text-decoration: none; }
.brand img { height: 48px; width: auto; aspect-ratio: 1565 / 1018; }
.band-dark .rule, .callbar .rule { background: var(--accent); }

/* hero: stock video over its poster; poster only on small screens and under reduced motion */
.hero-video { display: block; }
@media (max-width: 390px) { .hero-video { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

.board-header .wrap { min-height: 80px; display: flex; align-items: center; }

@media (min-width: 800px) {
  .brand img { height: 64px; }
  .site-header .wrap, .board-header .wrap { min-height: 96px; }
}

/* ---------- inline text links (run 07: stay inline; padding keeps the tap area without changing line height) ---------- */
.text-link, .no-answer a { display: inline; min-height: 0; padding-block: 15px; margin-block: -15px; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 3px; }
/* run 08: the tap area stays 48 px or more (padding above), but the focus ring is drawn on a pseudo-element
   that is only as tall as the link's own text line, so it never reaches the lines or buttons above and below. */
.text-link, .no-answer a { position: relative; white-space: nowrap; text-underline-offset: 2px; }
.text-link:focus-visible, .no-answer a:focus-visible { outline: none; }
.text-link:focus-visible::before, .no-answer a:focus-visible::before { content: ""; position: absolute; inset: 11px -4px; border: 2px solid var(--focus); border-radius: 4px; pointer-events: none; }
.no-answer a:focus-visible::before { inset-block: 13px; }
/* run 09: the ring is now 28 px tall (2 px beyond the 24 px line each way) so it clears descenders and the underline.
   Where a link sits in running text, the lines are 28 px apart so the ring still stays inside its own line. */
.quote .consent { line-height: 28px; }
.no-answer { row-gap: 4px; }

/* ---------- who-card header photos (run 09; run 10: all three cards, same 4:3 crop) ---------- */
.who-card { --pad: var(--s3); }
.who-photo { display: block; width: calc(100% + 2 * var(--pad)); max-width: none; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) var(--s3); aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; }
@media (min-width: 800px) { .who-card { --pad: var(--s4); } }

/* ---------- logo-hero tweak (Nov 17): plain-text call buttons (green G&G wordmark text removed); locked vector logo shown in the hero ---------- */
.hero-logo { display: block; width: 260px; max-width: 100%; height: auto; aspect-ratio: 1565 / 1018; margin: 0 0 var(--s2); }
@media (min-width: 800px) { .hero-logo { width: 360px; margin-bottom: var(--s3); } }
/* h1shrink (Nov 17): logo leads; H1 stays real text but smaller */
.hero-photo h1 { font-size: 29px; line-height: 1.15; max-width: 20ch; }
@media (min-width: 800px) { .hero-photo h1 { font-size: 42px; max-width: 22ch; } }

/* ---------- run 09: inline map. Labels use the page's Inter; pins shrink on phones so close pairs stay apart ---------- */
svg.area-art { display: block; height: auto; }
.area-art [data-k="pin"] { transform-box: fill-box; transform-origin: center; }
.area-art [data-n="Melbourne"], .area-art [data-n="Palm Bay"] { transform: scale(.64); }
@media (max-width: 600px) {
  .area-art [data-k="pin"] { transform: scale(.79); }
  .area-art [data-n="Orlando"], .area-art [data-n="Winter Park"] { transform: scale(.5); }
  .area-art [data-n="Melbourne"], .area-art [data-n="Palm Bay"] { transform: scale(.36); }
}

/* ---------- run 07: who we work for, service area list ---------- */
.who { margin-top: var(--s8); }
.who-grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.who-grid > * { min-width: 0; }
.who-card { display: flex; flex-direction: column; }
.who-card .pitch { margin-top: var(--s1); color: var(--muted); }
.who-card ul { margin: var(--s2) 0; padding-top: var(--s2); border-top: 1px solid var(--line); display: grid; gap: var(--s1); font-size: 16px; line-height: 1.5; }
.who-card li { position: relative; padding-left: var(--s3); }
.who-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: #244E2A; }
.who-card .more { margin-top: auto; padding-top: var(--s1); }
.area .sub { margin-top: var(--s1); font-size: 20px; line-height: 1.5; color: var(--muted); }
.counties { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s3); margin: var(--s3) 0 0; font-size: 16px; line-height: 1.5; }
.counties > div { min-width: 0; }
.counties > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.counties dt { font-weight: 600; color: var(--ink); }
.counties dd { color: var(--muted); }
.area .statewide { margin-top: var(--s3); color: var(--ink); font-weight: 600; }
@media (min-width: 800px) {
  .who-grid { grid-template-columns: repeat(3, 1fr); }
}
.quote .consent .text-link { color: var(--ink); }
.legal .wrap { max-width: 800px; }
.legal .label { margin-bottom: var(--s2); color: var(--muted); }
.legal h1 { font-size: clamp(32px, 5vw, 48px); }
.legal .updated { margin-top: var(--s2); color: var(--muted); }
.legal h2 { margin-top: var(--s6); font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.legal h2 + p { margin-top: var(--s1); max-width: 64ch; }

/* ---------- mock 11: homepage additions (service cards, when-to-call, steps, footer) ---------- */
.who-section .who { margin-top: 0; }

.svc-grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}
.svc-grid > * { min-width: 0; }
.svc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--slot-bg);
}
.svc-card .body {
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s1);
}
.svc-card .body p { color: var(--muted); }
.svc-card .also { font-size: 16px; }
.svc-card .also .text-link,
.svc-card .more .text-link,
.warn-card .text-link { white-space: normal; }
.svc-card .more { margin-top: auto; padding-top: var(--s2); }
@media (min-width: 800px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .svc-card .body { padding: var(--s4); }
}

.warn-grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}
.warn-grid > * { min-width: 0; }
.warn-card { display: flex; flex-direction: column; gap: var(--s1); }
.warn-card h3 { font-size: 20px; }
.warn-card p { color: var(--muted); }
.warn-card .more { margin-top: auto; padding-top: var(--s1); }
@media (min-width: 800px) {
  .warn-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
}

.call-band {
  margin-top: var(--s4);
  padding: var(--s3);
  border-radius: var(--r);
  background: #142030;
  color: var(--on-dark);
  --focus: #F0D008;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.call-band-copy {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.call-band .btn-row { margin: 0; }
.call-band .btn-ghost { background: #142030; }
.call-band .btn-ghost:hover { background: #22324A; }
@media (min-width: 800px) {
  .call-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--s3) var(--s4);
  }
}

.steps-grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}
.steps-grid > * { min-width: 0; }
.step-card .num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: #244E2A;
  margin-bottom: var(--s1);
}
.step-card h3 { margin-bottom: var(--s1); }
.step-card p { color: var(--muted); }
@media (min-width: 800px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.site-footer { color: var(--muted); }
.foot-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}
.foot-col { min-width: 0; }
.foot-col h3 {
  margin-bottom: var(--s2);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}
.foot-col ul { display: grid; gap: 0; }
/* Quinn F1 (Nov 17), ported from run 11 kit v3.css:364-367: each footer row is 48 px tall (24 px line + 12 px above and below),
   so the 48 px .foot-link tap box below never overlaps its neighbours. */
.foot-col li { padding-block: 12px; line-height: 24px; }
.foot-id .brand { display: inline-flex; margin-bottom: var(--s2); }
.foot-id p + p { margin-top: var(--s1); }
.foot-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.foot-link:hover { text-decoration-thickness: 3px; }
.foot-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Quinn F1 (Nov 17), ported from run 11 kit v3.css:381-383: footer links keep their look but get a 48 px tap area.
   The focus ring is drawn on a pseudo-element just outside the text, so it stays off the links above and below. */
.foot-link { position: relative; padding: 14px 9px; margin-inline: -9px; }
.foot-link:focus-visible { outline: none; }
.foot-link:focus-visible::before { content: ""; position: absolute; inset: 10px 5px; border: 2px solid var(--focus); border-radius: 4px; pointer-events: none; }
.foot-nearby { margin-top: var(--s2); }
.foot-legal {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.foot-legal .text-link { color: var(--ink); white-space: normal; }
@media (min-width: 600px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.2fr 1.3fr 0.9fr 0.8fr; gap: var(--s6); }
}

.call-band .btn { white-space: normal; text-align: center; }
.call-band .btn-row { width: 100%; }
@media (min-width: 800px) {
  .call-band .btn-row { width: auto; }
  .call-band .btn { white-space: nowrap; }
}

.hours { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.contact .hours { margin-top: var(--s2); color: var(--on-dark); }
.foot-id .hours { margin-top: var(--s1); color: var(--ink); }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}

.safety-note {
  margin-top: var(--s4);
  padding: var(--s2) 0 var(--s2) var(--s3);
  border-left: 3px solid #7C8796;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 66ch;
}

/* ---------- mobile menu (Nov 17): <=768px only; desktop header unchanged ---------- */
.site-header { position: relative; z-index: 20; } /* above the sticky call bar (z-index 10) */
.header-actions { display: flex; align-items: center; gap: var(--s1); }
.menu-toggle, .mobile-menu { display: none; }
@media (max-width: 768px) {
  .site-header .wrap { gap: var(--s1); }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 6px; min-height: 48px; min-width: 48px; padding: 0 12px;
    border: 1px solid #7C8796; border-radius: var(--r); background: #142030; color: #F8F8F8;
    font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; --focus: #F0D008;
  }
  .menu-toggle:hover { background: #22324A; }
  .menu-toggle[aria-expanded="true"] { border-color: #F0D008; }
  .mobile-menu:not([hidden]) {
    display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto;
    padding: var(--s1) var(--s2) var(--s3); background: #142030; border-top: 1px solid #2E3D52; border-bottom: 3px solid #F0D008;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .35); --focus: #F0D008;
  }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
  .mobile-menu li + li { border-top: 1px solid #2E3D52; }
  .mobile-menu li a { display: flex; align-items: center; min-height: 56px; color: #F8F8F8; font-size: 18px; font-weight: 600; text-decoration: none; }
  .mobile-menu li a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .mobile-menu .btn { width: 100%; margin-top: var(--s2); }
  html.menu-open .callbar { visibility: hidden; } /* the open panel has its own Call button; avoids two stacked bars */
}

/* header tidy (Nov 17): icon-only Menu button, one-line call button, readable header logo; <=768 only */
@media (max-width: 768px) {
  .site-header .wrap { padding: 0 var(--s2); gap: var(--s1); }
  .site-header .brand { flex: none; min-width: 0; }
  .site-header .brand img { width: 66px; height: auto; }
  .header-actions { gap: var(--s1); min-width: 0; }
  .site-header .btn-sm { white-space: nowrap; padding: 0 12px; gap: 6px; font-size: 16px; }
  .site-header .btn-sm img { width: 18px; height: 18px; }
  .menu-toggle { justify-content: center; width: 48px; min-width: 48px; padding: 0; flex: none; }
}

/* ---------- slogan merge (Nov 17, John: option B hero + option A navy footer block; from css/slogan.css, contact-band rules dropped) ---------- */
.slogan { color: #F0D008; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.slogan-line { display: block; }
.hero-photo .hero-tagline { margin: 0 0 var(--s1); font-size: 14px; line-height: 1.3; letter-spacing: 0.14em; }
.hero-photo .hero-sub { margin-top: var(--s2); max-width: 32ch; color: #F8F8F8; font-size: 18px; line-height: 1.45; font-weight: 400; }
.foot-slogan { margin-top: var(--s4); padding: var(--s3); border-radius: var(--r); background: #142030; border-left: 4px solid #F0D008; }
.foot-slogan .slogan { margin: 0; font-size: 20px; line-height: 1.2; }
.foot-slogan .slogan-sub { margin-top: var(--s1); color: #F8F8F8; font-size: 16px; }
@media (min-width: 800px) {
  .hero-photo .hero-tagline { font-size: 16px; }
  .hero-photo .hero-sub { font-size: 22px; }
  .foot-slogan .slogan { font-size: 24px; }
}

/* ---------- Walt round 1 (Nov 17): short phones (e.g. 360x640) — less top padding so the hero Call button clears the sticky bar; sizes unchanged ---------- */
@media (max-width: 768px) and (max-height: 700px) {
  .hero-photo { padding-top: var(--s4); }
}

/* ---------- John final changes (Nov 17) ---------- */
/* who-card photo carousels (HOA, Commercial, Homeowners). One fixed 4:3 box (.who-photo); slides stacked inside, so no layout shift. */
.gg-carousel { position: relative; overflow: hidden; background: #142030; }
.gg-slides, .gg-slide { position: absolute; inset: 0; }
.gg-slide { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.gg-slide.is-active { opacity: 1; }
.gg-dots { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: none; align-items: center; gap: 0; padding: 0 6px; border-radius: 999px; background: rgba(20, 32, 48, .7); }
/* Walt r3: the controls only show once JS has run (html.js is set by an inline head script); with JS off, slide 1 shows alone */
.js .gg-dots { display: flex; }
.gg-dot, .gg-toggle { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; --focus: #F0D008; }
.gg-dot span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #F8F8F8; background: transparent; transition: background .2s; }
.gg-dot[aria-pressed="true"] span { background: #F0D008; border-color: #F0D008; }
/* Quinn W6: hover tint only where a real hover exists, so a tapped dot on touch stays solid yellow */
@media (hover: hover) { .gg-dot:not([aria-pressed="true"]):hover span { background: rgba(248, 248, 248, .6); } }
/* Pause/Play (WCAG 2.2.2): icon follows the state; the divider keeps it apart from the dots */
.gg-toggle { color: #F8F8F8; border-right: 1px solid rgba(248, 248, 248, .35); border-radius: 0; }
.gg-toggle svg { fill: currentColor; }
.gg-toggle .gg-ico-play, .gg-carousel[data-user-paused="true"] .gg-toggle .gg-ico-pause { display: none; }
.gg-carousel[data-user-paused="true"] .gg-toggle .gg-ico-play { display: block; }
@media (hover: hover) { .gg-toggle:hover { color: #F0D008; } }
.gg-dot:focus-visible, .gg-toggle:focus-visible { outline: 3px solid #F0D008; outline-offset: -6px; border-radius: 50%; }
@media (min-width: 769px) { .gg-dot, .gg-toggle { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .gg-slide, .gg-dot span { transition: none; } }

/* Desktop header nav (>768). The mobile menu below 769 is unchanged. */
.desktop-nav { display: none; }
@media (min-width: 769px) {
  .desktop-nav { display: block; }
  .desktop-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .desktop-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: #F8F8F8; font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none; border-radius: 4px; }
  .desktop-nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #F0D008; }
  .desktop-nav a:focus-visible { outline: 3px solid #F0D008; outline-offset: -3px; }
  .site-header .header-actions { gap: var(--s2); }
}
/* tight band: smaller gaps and type so the four links and the call button stay on one line */
@media (min-width: 769px) and (max-width: 1023px) {
  .desktop-nav ul { gap: 0; }
  .desktop-nav a { padding: 0 8px; font-size: 15px; }
  .site-header .header-actions { gap: var(--s1); }
  .site-header .btn-sm { white-space: nowrap; padding: 0 12px; gap: 6px; font-size: 15px; }
}

/* Footer: the phone row gets the same 48px row box as the footer list items, so its tap box no longer reaches into the hours line */
.foot-id p:has(> .foot-link) { padding-block: 12px; line-height: 24px; }
.foot-id p:has(> .foot-link) + .hours { margin-top: 0; }

/* run 12 (John, Nov 18): green G&G restored in the contact heading only; buttons stay plain */
#contact-title .gg {
  color: #244E2A;
  -webkit-text-stroke: 1.5px #F8F8F8;
  paint-order: stroke fill;
}
@media (max-width: 799px) {
  #contact-title .gg { -webkit-text-stroke-width: 1.25px; }
}
@supports not (-webkit-text-stroke: 1px) {
  #contact-title .gg {
    text-shadow:
      1px 0 0 #F8F8F8,
      -1px 0 0 #F8F8F8,
      0 1px 0 #F8F8F8,
      0 -1px 0 #F8F8F8;
  }
}

/* run 12 L15 (John, Nov 18): phone placement per local-contractor practice */
/* Mobile header: with the sticky call bar on screen, the index header call button becomes a 48px phone icon (still a tel: link, aria-label keeps the number) */
@media (max-width: 768px) {
  .site-header .hdr-call { width: 48px; min-width: 48px; padding: 0; justify-content: center; gap: 0; }
  .site-header .hdr-call > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .site-header .hdr-call img { width: 22px; height: 22px; }
}
/* Sticky bar: 16px text floor at every phone width (run 14); both labels stay on one line from 360px up */
@media (min-width: 360px) and (max-width: 768px) { .callbar .btn { white-space: nowrap; } }
/* privacy footer: phone and Privacy rows get 48px+ row boxes so their tap areas do not overlap */
.site-footer .foot-row { padding-block: 12px; line-height: 26px; }
.site-footer .foot-row + .foot-row { margin-top: 0; }

/* run 14: hide a[data-placeholder] at launch; markup and data-href/data-slug stay for later unhide */
a[data-placeholder] { display: none; }
p.more:has(> a[data-placeholder]) { display: none; }
li:has(> a[data-placeholder]) { display: none; }
.foot-col ul:not(:has(a:not([data-placeholder]))) { display: none; }
.foot-col:not(:has(a:not([data-placeholder]))) { display: none; }
