/* ============================================================================
   theme.css — single styling source of truth for the entire site.

   To REBRAND: edit site-config.php → 'theme' (primary, accent, optional
   neutral and bg). bootstrap.php injects those as --brand-* custom props
   into <head>; everything else in this file derives from them via color-mix.
   To restyle a section, edit the section blocks below.
   ============================================================================ */

/* ============================================================================
   DESIGN DIRECTION — Garrett Tinting (Bryant, AR)
   Personality:      sleek, dependable, owner-warm (blackout-and-chrome)
   Inspiration:      (1) full-bleed near-black hero with a single chrome-sheen
                     wordline that catches a slow light-sweep, like premium
                     auto-detailing landing pages; (2) thin hairline-bordered
                     graphite tiles on black for the service grid, dark-mode-SaaS
                     style - structure carried by light, not color.
   Hero pattern:     Story-opener (centered statement on near-black) - the intake
                     said visitors must notice BRAND + location + phone first, so
                     the brand wordline leads, unobstructed by a photo.
   Signature moment: Chrome sheen + light-sweep on the hero headline (a mono-safe
                     stand-in for a color pop; rotates away from gradient-mesh).
                     transform/opacity only, disabled under reduced-motion.
   Section order:    HERO -> TRUST strip -> SERVICES grid -> GUIDE (owner/LLumar,
                     image+story) -> LEED proof band -> PLAN (3 steps) -> CTA.
   Font pair:        Oswald (headings, echoes the condensed GARRETT TINTING
                     wordmark) + Source Sans 3 (body, warm + legible).
   Color recipe:     Dark-mode-first / mono+chrome - base #0A0B0C, text #E9ECEF,
                     "accent" is chrome silver #C8D0D8 -> platinum #F2F5F8. NO hue.
   Shape language:   Mostly sharp - 4px small radius, hairline 1px borders, a
                     chrome 1px top-edge on cards; precise, not soft.
   ============================================================================ */
:root {
  /* Brand seeds — mono + chrome. bootstrap.php re-injects these from
     site-config.php → 'theme' (kept in sync). Always-dark: the
     prefers-color-scheme block below is pinned to the same palette. */
  --brand-primary:    #c8d0d8;  /* chrome silver — buttons, links, eyebrows */
  --brand-accent:     #f2f5f8;  /* platinum — gradient/highlight end stop */
  --brand-neutral:    #eef1f4;  /* light text — lifted slightly for contrast */
  --brand-bg:         #132b4d;  /* cool blue page base (calmer, lifted atmosphere) */
  --brand-on-primary: #0a0b0c;  /* near-black text reads on the silver buttons */

  /* Brand — derived (do not hardcode brand colors below this line) */
  --color-primary:        var(--brand-primary);
  --color-primary-hover:  color-mix(in oklch, var(--brand-primary) 85%, black);
  --color-primary-soft:   color-mix(in oklch, var(--brand-primary) 12%, transparent);
  --color-primary-ring:   color-mix(in oklch, var(--brand-primary) 35%, transparent);
  --color-accent:         var(--brand-accent);
  --color-accent-soft:    color-mix(in oklch, var(--brand-accent) 12%, transparent);

  /* Neutrals — derived from --brand-neutral + --brand-bg */
  --color-text:        var(--brand-neutral);
  /* WCAG 1.4.3. This was color-mix(--brand-neutral 60%, --brand-bg), i.e. the light
     text dimmed 40% TOWARD the navy page. On a dark site that mix drops it under the
     4.5:1 bar on every surface it is used on (footer tagline/address/h4s, the consent
     copy, captions and form hints - 23 failures). Contrast direction FLIPS on a dark
     background: a muted color here has to go LIGHTER, not darker. Pinned to a literal
     so it cannot drift back down. Clears 4.5:1 on all three dark surfaces:
       #132b4d page base  7.59:1
       #1a3760 footer     6.39:1
       #224675 cards/consent (the lightest, and the binding constraint)  5.11:1
     Still visibly muted against the #eef1f4 body text (12.51:1), so the hierarchy holds. */
  --color-text-muted:  #b3bfcc;
  --color-bg:          var(--brand-bg);
  --color-bg-alt:      #1a3760;   /* lifted cool blue for alt sections */
  --color-bg-elev:     #224675;   /* lighter cool blue — cards lift off the base */
  --color-border:      color-mix(in oklch, var(--brand-neutral) 18%, var(--brand-bg));
  --color-hairline:    color-mix(in oklch, var(--brand-neutral) 36%, var(--brand-bg)); /* chrome edge */

  /* Status */
  --color-success: #0e9c6d;
  --color-error: #e0413a;

  /* Typography — Oswald (condensed display, echoes the GT wordmark) + Source Sans 3.
     Loaded via <link> in includes/header.php; system fallbacks render instantly. */
  --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Oswald", "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  --fs-display: clamp(2.75rem, 5vw + 1rem, 4.75rem);
  --fs-h1: clamp(2.25rem, 4vw + 1rem, 3.5rem);
  --fs-h2: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  --fs-h3: clamp(1.375rem, 1.5vw + 1rem, 1.625rem);
  --fs-h4: 1.0625rem;
  --fs-body: 1rem;
  --fs-lead: 1.1875rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-normal: 1.65;

  /* Spacing scale */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.25rem; --sp-6: 1.5rem;
  --sp-8: 2rem;     --sp-10: 2.5rem; --sp-12: 3rem;
  --sp-16: 4rem;    --sp-20: 5rem;   --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --content-max: 72rem;
  --reading-max: 42rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Header */
  --nav-height: 72px;
  /* Explicit cool-graphite rgba (not oklch color-mix) so the sticky nav stays
     neutral grey — oklch mixing toward transparent can cast brownish. */
  --nav-bg:     rgba(19, 43, 77, 0.82);
  --nav-blur:   16px;
  --nav-border: rgba(233, 237, 241, 0.08);

  /* Shadows — tinted with the brand neutral so they match cool/warm palettes */
  --shadow-sm: 0 1px 2px  color-mix(in oklch, var(--brand-neutral) 4%, transparent);
  --shadow-md: 0 4px 16px color-mix(in oklch, var(--brand-neutral) 6%, transparent),
               0 1px 3px  color-mix(in oklch, var(--brand-neutral) 4%, transparent);
  --shadow-lg: 0 24px 48px -12px color-mix(in oklch, var(--brand-neutral) 18%, transparent);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 500ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* This site is intentionally always-dark. Pin the same mono palette so an
       OS dark-mode preference does not shift the look. (Inline seeds from
       site-config also win, but keep this consistent for any derived token.) */
    --brand-neutral: #eef1f4;
    --brand-bg:      #132b4d;
    --color-bg-alt:  #1a3760;
    --color-bg-elev: #224675;
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.65);
  }
}

/* ============================================================================
   Reset + base
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-height) + 1rem); }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--color-primary); color: var(--brand-on-primary);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

/* ============================================================================
   Typography
   ============================================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  font-weight: 750;
  color: var(--color-text);
}
h1 { font-size: var(--fs-h1); margin-block: var(--sp-6) var(--sp-4); }
h2 { font-size: var(--fs-h2); margin-block: var(--sp-12) var(--sp-5); letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); margin-block: var(--sp-8) var(--sp-3); letter-spacing: -0.018em; }
h4 { font-size: var(--fs-h4); margin-block: var(--sp-5) var(--sp-2); letter-spacing: -0.005em; font-weight: 700; }

p { margin-block: 0 var(--sp-4); max-width: 70ch; }

a {
  color: var(--color-primary);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--color-primary-hover); text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* WCAG 1.4.1 (link-in-text-block): a link inside running prose cannot be signalled by
   color alone, so it carries a permanent underline. Scoped to <p> on purpose: the nav,
   the footer link lists and the button rows are link LISTS, not text blocks, and are
   exempt. The consent banner IS a text block but lives outside <main>, so it is named
   explicitly. Buttons keep their own affordance, and so do the card CTAs ("Explore
   tinting ->"): each is the sole content of its paragraph with a trailing arrow, so it
   is not a link in a text block and does not need the underline. */
main p a:not(.btn),
.gt-consent p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card p a { text-decoration: none; }
::selection { background: var(--color-primary); color: var(--brand-on-primary); }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-bg-alt);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

/* ============================================================================
   Layout
   ============================================================================ */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

main { display: block; min-height: 60vh; }
section + section { margin-top: var(--sp-12); }
/* The full-bleed image banner has no edge padding, so the inter-section gap
   reads as dead space below it — let the next band sit flush against it. */
.gt-moment + section { margin-top: 0; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--sp-3);
}

/* ============================================================================
   Header / nav
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(var(--nav-blur)) saturate(115%);
  -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(115%);
  border-bottom: 1px solid var(--nav-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.025em;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.brand:hover { text-decoration: none; color: var(--color-primary); }
.brand__mark { display: inline-flex; flex-shrink: 0; }
.brand__mark svg { width: 32px; height: 32px; border-radius: 9px; }

.nav-desktop { display: none; }
@media (min-width: 880px) {
  .nav-desktop { display: flex; align-items: center; gap: var(--sp-2); }
}
.nav-desktop ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: var(--sp-1);
}
.nav-desktop a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-desktop a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  text-decoration: none;
}
.nav-desktop a[aria-current="page"] { color: var(--color-primary); }
.nav-desktop a.cta {
  background: var(--color-primary);
  color: var(--brand-on-primary);
  margin-left: var(--sp-3);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--brand-primary) 30%, transparent);
}
.nav-desktop a.cta:hover {
  background: var(--color-primary-hover);
  color: var(--brand-on-primary);
  box-shadow: 0 4px 12px color-mix(in oklch, var(--brand-primary) 35%, transparent);
  transform: translateY(-1px);
}

/* Desktop dropdowns */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  margin-left: 0.4em;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
  vertical-align: middle;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--color-bg-elev);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3);
  list-style: none !important;
  display: flex !important;
  flex-direction: column;
  gap: var(--sp-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease-out),
    visibility 0s linear var(--dur-base);
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.dropdown a { display: block; padding: var(--sp-2) var(--sp-3); font-size: 0.9375rem; text-align: left; border-radius: var(--radius-sm); }
/* .dropdown is a <ul> inside .nav-desktop, so `.nav-desktop ul { padding:0; align-items:center }`
   outranks plain `.dropdown` — items collapsed against the panel edges and centered.
   Re-assert the panel padding + full-width (left-aligned) items at higher specificity. */
.nav-desktop ul.dropdown { padding: var(--sp-3); align-items: stretch; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text);
}
.nav-toggle:hover { background: var(--color-bg-alt); }
@media (min-width: 880px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 90vw);
  height: 100vh;
  margin: 0;
  border: none;
  padding: var(--sp-12) var(--sp-6) var(--sp-6);
  background: var(--color-bg);
  border-left: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
}
.nav-mobile::backdrop { background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); }
.nav-mobile__close {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--color-bg-elev); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--color-text);
}
.nav-mobile__close:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.nav-mobile ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.nav-mobile a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
}
.nav-mobile a:hover { background: var(--color-bg-alt); text-decoration: none; }
.nav-mobile a[aria-current="page"] { color: var(--color-primary); background: var(--color-bg-alt); }
.nav-mobile details summary {
  padding: var(--sp-3) var(--sp-4);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-mobile details summary::-webkit-details-marker { display: none; }
.nav-mobile details summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: transform var(--dur-base) var(--ease);
}
.nav-mobile details[open] summary::after { transform: rotate(45deg); }
.nav-mobile details[open] summary { color: var(--color-primary); }
.nav-mobile details ul { padding-left: var(--sp-4); margin-top: var(--sp-1); margin-bottom: var(--sp-3); }

/* ============================================================================
   Footer
   ============================================================================ */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-block: var(--sp-20) var(--sp-8);
  margin-top: var(--sp-16);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--sp-12);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__tagline { margin-top: var(--sp-3); color: var(--color-text-muted); }
.site-footer__address {
  font-style: normal;
  margin-top: var(--sp-4);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.site-footer h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin: 0 0 var(--sp-4);
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.site-footer a { color: var(--color-text); font-size: 0.9375rem; }
.site-footer a:hover { color: var(--color-primary); }
.site-footer__bottom {
  max-width: var(--content-max);
  margin: var(--sp-16) auto 0;
  padding: var(--sp-6) var(--sp-6) 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
/* Spark credit mark — small inline glyph sitting right next to the word "Spark". */
.spark-mark {
  display: inline-block;   /* override global `svg { display:block }` so it sits inline next to "Spark" */
  width: 1.05em;
  height: 1.05em;
  margin-left: 0.35em;
  vertical-align: -0.2em;
  flex-shrink: 0;
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: var(--brand-on-primary);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--brand-primary) 30%, transparent);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: var(--brand-on-primary);
  box-shadow: 0 8px 16px color-mix(in oklch, var(--brand-primary) 25%, transparent);
}
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-bg-alt); }

.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: 1rem; }

/* ============================================================================
   Forms
   ============================================================================ */
.form { display: grid; gap: var(--sp-5); max-width: 36rem; }
.form-row { display: grid; gap: var(--sp-2); }

/* Silver chrome panel around the contact form.
   Explicit cool-silver rgba values (not oklch color-mix) so the border/surface
   stay neutral grey-silver — oklch mixing of near-greys can cast brownish. */
.gt-form-box {
  max-width: 40rem;
  padding: var(--sp-8);
  background: rgba(200, 208, 216, 0.045);   /* faint chrome-silver lift, cool grey */
  border: 1px solid rgba(200, 208, 216, 0.42);  /* soft silver line */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
/* chrome top-edge glint, matching the card language */
.gt-form-box::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, transparent,
    rgba(233, 237, 241, 0.6), transparent);
}
.gt-form-box .form { max-width: none; }
@media (max-width: 560px) { .gt-form-box { padding: var(--sp-6); } }
.form label { font-weight: 500; font-size: 0.9375rem; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand-primary) 18%, transparent);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }
.form-help { font-size: var(--fs-small); color: var(--color-text-muted); }
.form-status { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); display: none; font-size: 0.9375rem; }
.form-status[data-state="ok"]    { display: block; background: color-mix(in oklch, var(--color-success) 12%, transparent); color: var(--color-success); border: 1px solid color-mix(in oklch, var(--color-success) 30%, transparent); }
.form-status[data-state="error"] { display: block; background: color-mix(in oklch, var(--color-error) 12%, transparent);   color: var(--color-error);   border: 1px solid color-mix(in oklch, var(--color-error) 30%, transparent); }

/* ============================================================================
   Hero — the "beautiful" landing section
   ============================================================================ */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: var(--sp-16) var(--sp-12);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(45% 55% at 18% 20%,  color-mix(in oklch, var(--brand-primary) 20%, transparent), transparent 70%),
    radial-gradient(40% 50% at 85% 25%,  color-mix(in oklch, var(--brand-accent) 16%, transparent),  transparent 70%),
    radial-gradient(50% 50% at 50% 110%, color-mix(in oklch, var(--brand-primary) 12%, transparent), transparent 70%);
  filter: blur(2px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right,  color-mix(in oklch, var(--brand-neutral) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklch, var(--brand-neutral) 6%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
          mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.hero h1 {
  font-size: var(--fs-display);
  text-transform: none;
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-weight: 800;
  margin-block: 0 var(--sp-6);
  max-width: 18ch;
  margin-inline: auto;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--color-text);
  max-width: 48ch;
  margin: 0 auto var(--sp-5);
}
.hero p.lead {
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  max-width: 74ch;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height: 1.55;
}
.hero__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

.hero__highlight {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* ============================================================================
   Cards / sections
   ============================================================================ */
.section-title {
  text-align: center;
  margin-bottom: var(--sp-10);
}
.section-title h2 { margin-top: 0; }
.section-title p { margin-inline: auto; color: var(--color-text-muted); font-size: var(--fs-lead); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.card {
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-elev);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card h3 { margin-top: var(--sp-3); margin-bottom: var(--sp-2); }
.card p { color: var(--color-text-muted); margin-bottom: 0; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-accent-soft));
  color: var(--color-primary);
}
.card__icon svg { width: 22px; height: 22px; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-6);
  padding: var(--sp-10);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats__label { color: var(--color-text-muted); font-size: var(--fs-small); margin-top: var(--sp-1); }

/* CTA section */
.cta-band {
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  background: linear-gradient(135deg, var(--color-primary), color-mix(in oklch, var(--color-primary) 70%, var(--color-accent)));
  color: var(--brand-on-primary);
  border-radius: var(--radius-xl);
  margin-block: var(--sp-16);
}
.cta-band h2 { color: var(--brand-on-primary); margin-top: 0; }
.cta-band p { color: color-mix(in oklch, var(--brand-on-primary) 85%, transparent); margin-inline: auto; max-width: 50ch; font-size: var(--fs-lead); }
.cta-band .btn-primary { background: var(--brand-on-primary); color: var(--color-primary); margin-top: var(--sp-6); }
.cta-band .btn-primary:hover { background: color-mix(in oklch, var(--brand-on-primary) 90%, var(--brand-neutral)); color: var(--color-primary-hover); }

/* Reading content (about/service body) */
.prose { max-width: var(--reading-max); margin-inline: auto; }
.prose h2:first-child, .prose h1:first-child { margin-top: 0; }

/* Anchor offset for sticky header */
:target { scroll-margin-top: calc(var(--nav-height) + var(--sp-6)); }

/* ============================================================================
   Breadcrumbs
   ============================================================================ */
.breadcrumbs {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: var(--sp-12);
  margin-bottom: 0;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: var(--color-text-muted);
  opacity: 0.55;
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs [aria-current="page"] { color: var(--color-text); font-weight: 500; }

/* ============================================================================
   Accessibility & motion
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.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;
}

/* ============================================================================
   ============================================================================
   GARRETT TINTING — mono + chrome custom layer (gt-*)
   Everything below extends the native Spark system. Brand-only tokens used so
   it renders correctly inside AND outside the page wrapper.
   ============================================================================
   ============================================================================ */

/* --- Type: Oswald is condensed; relax the negative tracking the base sets --- */
h1, h2, h3 { letter-spacing: -0.005em; font-weight: 600; text-transform: uppercase; }
h4 { letter-spacing: 0.01em; text-transform: uppercase; }
h1 { letter-spacing: 0; }
body { font-weight: 400; }
.eyebrow { color: var(--color-text-muted); }   /* silver-grey, not a hue */
/* When an eyebrow leads straight into a heading (page intros, CTA), the heading's
   own top margin doubles the gap — collapse it so the label sits close to the title. */
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: 0; }

/* --- Brand lockup: real cursive GT mark (white on transparent) + wordmark --- */
.brand__name { text-transform: none; letter-spacing: 0.01em; font-weight: 600; }
.brand__mark img { height: 30px; width: auto; display: block; }
.site-footer .brand__mark img { height: 34px; }

/* ============================================================================
   Rotating promo / announcement bar (carousel) above the header
   ============================================================================ */
.gt-promo {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #16335a, #224675 50%, #16335a);
  border-bottom: 1px solid var(--color-hairline);
}
.gt-promo__track { position: relative; height: 42px; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--sp-6); }
.gt-promo__slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  text-align: center; font-size: var(--fs-small); color: var(--color-text-muted);
  opacity: 0; transform: translateY(4px); transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.gt-promo__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.gt-promo__slide strong {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
  background: linear-gradient(100deg, #aab2ba, #ffffff 50%, #aab2ba);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
a.gt-promo__slide { text-decoration: none; }
a.gt-promo__slide:hover { color: var(--brand-neutral); }
a.gt-promo__slide .gt-promo__cta { color: var(--color-text); text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gt-promo__slide { transition: opacity .2s linear; transform: none; } }
@media (max-width: 560px) { .gt-promo__track { height: 52px; } .gt-promo__slide { font-size: 0.8rem; } }

/* ============================================================================
   Hero — near-black story-opener with a chrome wordline
   ============================================================================ */
.hero { padding-block: var(--sp-20) var(--sp-16); }
.hero::before {
  /* cool silver glow instead of colored mesh */
  background:
    radial-gradient(45% 55% at 50% -5%, rgba(242,245,248,0.10), transparent 70%),
    radial-gradient(40% 50% at 12% 18%, rgba(200,208,216,0.06), transparent 70%),
    radial-gradient(40% 50% at 88% 22%, rgba(200,208,216,0.06), transparent 70%);
  filter: none;
}
.hero::after {
  /* faint blueprint grid, masked to center */
  background-image:
    linear-gradient(to right,  rgba(233,236,239,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233,236,239,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero .eyebrow { color: var(--color-text-muted); }

/* The signature moment: brushed-chrome headline + a slow light-sweep. */
.hero__highlight, .gt-chrome {
  background: linear-gradient(100deg,
    #8c949c 0%, #e9edf1 18%, #ffffff 32%, #aab2ba 50%,
    #ffffff 68%, #e9edf1 82%, #8c949c 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gt-sheen 7s linear infinite;
}
@keyframes gt-sheen {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__highlight, .gt-chrome { animation: none; background-position: 50% 0; }
}

/* ============================================================================
   Buttons — chrome primary with a top highlight; precise ghost
   ============================================================================ */
.btn { letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.btn-primary {
  background: linear-gradient(180deg, #f4f6f8 0%, var(--color-primary) 100%);
  color: var(--brand-on-primary);
  border: 1px solid var(--color-hairline);
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgba(0,0,0,0.5);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #dfe5ea 100%);
  color: var(--brand-on-primary);
  box-shadow: inset 0 1px 0 #ffffff, 0 10px 22px -8px rgba(200,208,216,0.5);
}
.btn-ghost {
  color: var(--color-text); border-color: var(--color-hairline);
  background: color-mix(in oklch, var(--brand-neutral) 3%, transparent);
}
.btn-ghost:hover { background: color-mix(in oklch, var(--brand-neutral) 8%, transparent); border-color: var(--brand-neutral); }

/* ============================================================================
   Cards — graphite tiles, hairline border, chrome top-edge on hover
   ============================================================================ */
.card { border-radius: var(--radius-sm); border-color: var(--color-border); overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-hairline) 50%, transparent);
  opacity: 0; transition: opacity var(--dur-base) var(--ease);
}
.card:hover { border-color: var(--color-hairline); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card__icon {
  background: color-mix(in oklch, var(--brand-neutral) 8%, transparent);
  color: var(--color-text); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

/* ============================================================================
   Icon system (inline SVG, recolored via color:)
   ============================================================================ */
/* fill/stroke set here (inherited into the <use> shadow tree) since the sprite's
   <g> presentation attrs do NOT carry through to <use> instances. */
.gt-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; width: 24px; height: 24px; color: var(--color-text);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gt-icon--lg     { width: 30px; height: 30px; }
.gt-icon--silver { color: var(--brand-primary); }
.gt-icon--muted  { color: var(--color-text-muted); }
.gt-icon--ink    { color: var(--brand-on-primary); }

/* ============================================================================
   Section rhythm helpers
   ============================================================================ */
.gt-section { padding-block: var(--sp-12); }
.eyebrow.gt-center { display: block; text-align: center; }

/* Trust strip — a row of small chrome facts under the hero */
.gt-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  border-block: 1px solid var(--color-border);
  padding-block: var(--sp-6);
}
.gt-trust__item { display: flex; align-items: center; gap: var(--sp-3); justify-content: center; text-align: left; }
.gt-trust__item .gt-icon { color: var(--brand-primary); }
.gt-trust__item b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-text); font-weight: 600; }
.gt-trust__item span { font-size: var(--fs-small); color: var(--color-text-muted); }
@media (max-width: 760px) { .gt-trust { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
@media (max-width: 420px) { .gt-trust { grid-template-columns: 1fr; } }

/* Image + story split (alternating) */
.gt-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center; }
.gt-split--narrow { grid-template-columns: 5fr 7fr; }
.gt-split--wide   { grid-template-columns: 7fr 5fr; }
/* Flipped wide split: swap tracks so the (reordered) image still gets the 7fr
   column — keeps every service image the same size regardless of side. */
.gt-split--wide.gt-split--flip { grid-template-columns: 5fr 7fr; }
.gt-split__media img {
  width: 100%; border-radius: var(--radius-md); border: 1px solid var(--color-hairline);
  box-shadow: var(--shadow-lg);
}
.gt-split__copy h2 { margin-top: 0; }
.gt-split--flip .gt-split__media { order: 2; }
@media (max-width: 820px) {
  .gt-split, .gt-split--narrow, .gt-split--wide,
  .gt-split--wide.gt-split--flip { grid-template-columns: 1fr; gap: var(--sp-8); }
  .gt-split--flip .gt-split__media { order: 0; }
}

/* Service detail list inside cards / sections */
.gt-list { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; gap: var(--sp-3); }
.gt-list li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--color-text-muted); }
.gt-list li .gt-icon { color: var(--brand-primary); width: 20px; height: 20px; margin-top: 3px; }

/* Process steps — numbered chrome */
.gt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); counter-reset: step; }
.gt-step {
  position: relative; padding: var(--sp-8) var(--sp-6); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: var(--color-bg-elev);
}
.gt-step__num {
  font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; line-height: 1;
  background: linear-gradient(180deg, #ffffff, var(--brand-primary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.gt-step h3 { margin-top: var(--sp-3); }
.gt-step p { color: var(--color-text-muted); margin-bottom: 0; }
@media (max-width: 760px) { .gt-steps { grid-template-columns: 1fr; } }

/* Full-bleed proof / quote band (LEED, mission) */
.gt-band {
  border-block: 1px solid var(--color-border);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(200,208,216,0.06), transparent 70%),
    var(--color-bg-alt);
  padding-block: var(--sp-20);
  text-align: center;
}
.gt-band .container { max-width: 56rem; }
.gt-band h2 { margin-top: 0; }
.gt-band p { margin-inline: auto; color: var(--color-text-muted); font-size: var(--fs-lead); }

/* Builders & contractors — a left-aligned commercial CREDENTIAL STRIP.
   Deliberately NOT centered (unlike .gt-band) and NOT a streaked panel
   (unlike .gt-cta), so the Services page does not stack two CTA bands. */
.gt-builders {
  border-block: 1px solid var(--color-border);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(200,208,216,0.05), transparent 60%),
    var(--color-bg-alt);
  padding-block: var(--sp-16);
}
.gt-builders__head { max-width: 62ch; }
.gt-builders__head h2 { margin-top: 0; }
.gt-builders__intro { color: var(--color-text-muted); font-size: var(--fs-lead); margin: var(--sp-3) 0 var(--sp-10); }
.gt-builders__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}
.gt-builders__tile {
  padding: var(--sp-6);
  border-left: 1px solid var(--color-border);
}
.gt-builders__tile:first-child { border-left: 0; padding-left: 0; }
.gt-builders__tile .gt-icon { width: 28px; height: 28px; color: var(--brand-primary); }
.gt-builders__tile b {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--color-text);
  margin: var(--sp-3) 0 var(--sp-2);
}
.gt-builders__tile span { color: var(--color-text-muted); font-size: var(--fs-small); }
.gt-builders__link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-8);
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--brand-primary);
}
.gt-builders__link span { transition: transform var(--dur-base) var(--ease-out); }
.gt-builders__link:hover { text-decoration: none; }
.gt-builders__link:hover span { transform: translateX(4px); }
@media (max-width: 760px) {
  .gt-builders__strip { grid-template-columns: 1fr 1fr; }
  .gt-builders__tile { padding-inline: var(--sp-5); }
  .gt-builders__tile:nth-child(odd) { border-left: 0; padding-left: 0; }
  .gt-builders__tile:nth-child(n+3) { border-top: 1px solid var(--color-border); padding-top: var(--sp-6); }
}
@media (max-width: 480px) {
  .gt-builders__strip { grid-template-columns: 1fr; }
  .gt-builders__tile { border-left: 0; padding-inline: 0; }
  .gt-builders__tile:nth-child(n+2) { border-top: 1px solid var(--color-border); padding-top: var(--sp-6); }
}

/* Contact: map + NAP */
.gt-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: stretch; }
.gt-map iframe { width: 100%; height: 100%; min-height: 360px; border: 1px solid var(--color-hairline); border-radius: var(--radius-md); display: block; }
.gt-nap { display: grid; gap: var(--sp-5); }
.gt-nap__row { display: flex; gap: var(--sp-3); align-items: flex-start; }
.gt-nap__row .gt-icon { color: var(--brand-primary); margin-top: 2px; }
.gt-nap__row b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-text); }
.gt-nap__row a { color: var(--color-text); }
.gt-nap__row a:hover { color: var(--brand-primary); }
@media (max-width: 820px) { .gt-contact-grid { grid-template-columns: 1fr; } }

/* Reveal-on-scroll workhorse (shared IntersectionObserver toggles .is-in) */
.gt-reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.gt-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gt-reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================================
   Cookie consent banner (mandatory)
   ============================================================================ */
.gt-consent {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: var(--sp-4);
  z-index: 90; width: min(680px, calc(100% - 2rem));
  background: var(--color-bg-elev); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: var(--sp-5) var(--sp-6);
  display: flex; gap: var(--sp-5); align-items: center; flex-wrap: wrap;
}
.gt-consent[hidden] { display: none; }
.gt-consent p { margin: 0; font-size: var(--fs-small); color: var(--color-text-muted); flex: 1 1 320px; }
.gt-consent p a { color: var(--brand-primary); }
.gt-consent__actions { display: flex; gap: var(--sp-3); }
.gt-consent .btn { padding: var(--sp-2) var(--sp-5); font-size: var(--fs-small); }

/* ============================================================================
   Spread the chrome shine — section headings catch a slow brushed-metal sweep
   (softer/slower than the hero wordline). Legal/prose H2s stay plain text.
   ============================================================================ */
.section-title h2,
.gt-split__copy h2,
.gt-band h2,
.gt-builders__head h2,
.gt-cta__title {
  background: linear-gradient(100deg,
    #aab2ba 0%, #e9edf1 26%, #ffffff 42%, #c4ccd3 58%, #ffffff 76%, #aab2ba 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gt-sheen 9s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .section-title h2, .gt-split__copy h2, .gt-band h2, .gt-builders__head h2, .gt-cta__title {
    animation: none; background-position: 50% 0;
  }
}

/* A reusable thin shine divider — a hairline with a travelling glint. */
.gt-shine-line { position: relative; height: 1px; border: 0; margin: var(--sp-12) auto;
  max-width: var(--content-max); background: var(--color-border); overflow: hidden; }
.gt-shine-line::after { content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-120%); animation: gt-glint 5.5s ease-in-out infinite; }
@keyframes gt-glint { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(460%); } }
@media (prefers-reduced-motion: reduce) { .gt-shine-line::after { animation: none; opacity: .4; transform: translateX(160%); } }

/* ============================================================================
   Bespoke CTA — "the squeegee pass": a tinted-glass panel with a diagonal
   chrome light-streak sweeping across, big chrome phone number + one button.
   Replaces the generic template band so the close never feels stock.
   ============================================================================ */
.gt-cta {
  position: relative; isolation: isolate; overflow: hidden;
  border-block: 1px solid var(--color-hairline);
  background: linear-gradient(180deg, var(--color-bg-elev), var(--color-bg-alt));
  padding-block: var(--sp-16);
  margin-top: var(--sp-12);
}
/* The CTA is a full-width banded panel that closes the page — let it flow
   straight into the footer instead of leaving a tall dead gap below it. */
main:has(.gt-cta) + .site-footer { margin-top: 0; }
/* When the builders credential strip sits directly above the CTA, drop the
   margin gap (it exposed a base-bg "bar" between two hairlines) and the strip's
   doubled bottom border, so the two bands meet flush on a single seam. */
.gt-builders + .gt-cta { margin-top: 0; }
.gt-builders:has(+ .gt-cta) { border-bottom: 0; }
.gt-cta__streak {
  position: absolute; top: -40%; bottom: -40%; left: 0; width: 26%; z-index: -1;
  background: linear-gradient(90deg, transparent,
    rgba(233,236,239,0.10) 35%, rgba(255,255,255,0.24) 50%, rgba(233,236,239,0.10) 65%, transparent);
  transform: translateX(-60vw) skewX(-18deg);
  filter: blur(8px); will-change: transform;
  animation: gt-streak 7s ease-in-out infinite;
}
@keyframes gt-streak {
  0%   { transform: translateX(-60vw) skewX(-18deg); }
  55%, 100% { transform: translateX(150vw) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) { .gt-cta__streak { animation: none; transform: translateX(45vw) skewX(-18deg); opacity: .4; } }
.gt-cta__inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--sp-12); align-items: center; }
.gt-cta__title { margin: var(--sp-2) 0 var(--sp-3); }
.gt-cta p { color: var(--color-text-muted); margin-bottom: 0; }
.gt-cta__action { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.gt-cta__phone {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; line-height: 1;
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  background: linear-gradient(100deg, #8c949c, #ffffff 50%, #8c949c);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: gt-sheen 7s linear infinite;
}
.gt-cta__phone:hover { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .gt-cta__phone { animation: none; background-position: 50% 0; } }
@media (max-width: 820px) {
  .gt-cta__inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .gt-cta__action { align-items: stretch; }
  .gt-cta__action .btn { justify-content: center; }
}

/* Full-bleed image moment with dark overlay + centered copy */
.gt-moment { position: relative; isolation: isolate; padding-block: var(--sp-24); text-align: center; overflow: hidden; }
.gt-moment > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gt-moment::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,17,21,0.74), rgba(15,17,21,0.58)); }
.gt-moment h2 { margin-top: 0; }
.gt-moment p { color: #d6d9dd; margin-inline: auto; max-width: 50ch; font-size: var(--fs-lead); }
/* The three proof points — pulled out of the tiny eyebrow into prominent
   chrome-outlined check pills so they read as "here are the three things." */
.gt-moment__points {
  list-style: none; padding: 0;
  margin: var(--sp-6) auto var(--sp-5);
  max-width: 44rem;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-3) var(--sp-4);
}
.gt-moment__points li {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  border: 1px solid rgba(200,208,216,0.55);
  border-radius: 999px;
  background: rgba(19,43,77,0.5);
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: var(--fs-h4); color: var(--brand-accent, #f2f5f8);
}
.gt-moment__points .gt-icon { width: 18px; height: 18px; color: var(--brand-primary); }
@media (max-width: 560px) {
  .gt-moment__points { flex-direction: column; align-items: center; gap: var(--sp-2); }
  .gt-moment__points li { width: 100%; max-width: 17rem; justify-content: center; }
}

/* Mini service chips row */
.gt-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.gt-more .card { padding: var(--sp-6); }
.gt-more h3 { font-size: var(--fs-h4); margin: var(--sp-3) 0 var(--sp-2); }
@media (max-width: 760px) { .gt-more { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------------
   FAQ accordion (native <details>/<summary>)
   Markup: .gt-faq > details.gt-faq__item > summary.gt-faq__q + .gt-faq__a
   Content comes from site-config.php ('faq') and also feeds the FAQPage schema.
   ---------------------------------------------------------------------------- */
.gt-faq {
  max-width: 52rem;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}
.gt-faq__item {
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  transition: background var(--dur-base, 200ms) var(--ease-out, ease);
}
.gt-faq__item[open] { background: var(--color-bg-elev); }

.gt-faq__q {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5);
  cursor: pointer;
  list-style: none;               /* hide default marker */
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text);
  font-size: var(--fs-h4);
  line-height: 1.35;
}
/* Kill the native disclosure triangle in every engine */
.gt-faq__q::-webkit-details-marker { display: none; }
.gt-faq__q::marker { content: ""; }

.gt-faq__q:hover { color: var(--brand-primary); }
.gt-faq__q:focus-visible {
  outline: 2px solid var(--color-primary-ring, var(--color-hairline));
  outline-offset: -2px;
}

/* The + that rotates into an x when the item opens. */
.gt-faq__q::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand-primary);
  transform: rotate(0deg);
  transition: transform var(--dur-base, 220ms) var(--ease-out, ease);
}
.gt-faq__item[open] .gt-faq__q::after { transform: rotate(45deg); }

.gt-faq__a {
  padding: 0 var(--sp-5) var(--sp-5);
}
.gt-faq__a p {
  margin: 0;
  max-width: 68ch;
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .gt-faq__q::after { transition: none; }
}
@media (max-width: 560px) {
  .gt-faq__q { padding: var(--sp-4); }
  .gt-faq__a { padding: 0 var(--sp-4) var(--sp-4); }
}

/* 404 */
.gt-404 { text-align: center; padding-block: var(--sp-24); }
.gt-404 .gt-bignum {
  font-family: var(--font-display); font-weight: 700; line-height: 0.9;
  font-size: clamp(5rem, 18vw, 11rem);
  background: linear-gradient(100deg, #8c949c, #ffffff 50%, #8c949c);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* Doubled Powered-by-Spark footer badge - 2026-07-07 (LINGO-SPARK-BADGE-2X) */
.spark-mark { width: 2.1em; height: 2.1em; vertical-align: middle; margin-left: 0.2em; margin-top: -0.8em; margin-bottom: -0.8em; }
