/* ─────────────────────────────────────────────────────────────────────
   SvarKlar - site-wide stylesheet.

   Tokens live in tokens.css (loaded BEFORE this file). This file
   covers chrome shared across every page: layout primitives, CTA
   pills, header + nav, base hero, hub dashboard primitives (used by
   home + /services/), FAQ, final CTA, footer, plus the mobile nav.

   Homepage-only sections (hero card, mock inbox, value blocks,
   pricing, founder, palette arc) live in home.css. Per-page
   stylesheets layer on top (about.css, services.css, etc).

   Section order:
     1. Layout primitives + accent <em>
     2. CTA pills
     3. Header
     4. Hero (base; .t-hero-card lives in home.css)
     5. Hub dashboard primitives (.t-hub-*)
     6. FAQ
     7. Final CTA
     8. Footer
     9. Founder reassurance (canonical)
    10. Responsive
    11. Mobile nav
   ───────────────────────────────────────────────────────────────────── */

/* ════════════════════════════════════════════════════
   1. LAYOUT + ACCENT <em>
   ════════════════════════════════════════════════════ */

.t-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Caveat handwritten accent (used in <em> across body copy).
   Color rule (2026-05-19, 00b F):
     - Default = --gold-ink (dark bronze) for readable contrast on cream
       + light arc surfaces (arc-1 to arc-4). 4.8-6.6 ratios.
     - Dark sections (.t-hero, .t-final, .t-founder, .t-faq) override
       to --gold (bright) for contrast on ink + dark photo. 8-12 ratios.
   --gold-deep was too low-contrast on cream (1.5-2.0 ratios) and was
   retired as the em color. */
em {
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 700;
  font-size: 1.25em;
  letter-spacing: 0;
  color: var(--gold-ink);
  line-height: 0.8;
  display: inline;
}

/* On dark sections - brighter gold + subtle shadow for legibility */
.t-hero em,
.t-final em,
.t-founder em,
.t-faq em {
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Hero H1 emphasis is locked: bold gold, no italic, no Caveat. */
.t-hero-h1 em {
  font-family: var(--heading-font) !important;
  font-style: italic !important;
  font-weight: 600 !important;
  font-size: 1em !important;
  letter-spacing: -0.015em !important;
  color: var(--gold) !important;
  line-height: inherit !important;
  text-shadow: inherit !important;
}


/* ════════════════════════════════════════════════════
   2. CTA PILLS

   Three variants - match exactly to placement:
     .t-cta                         → ink fill (fallback, not used)
     .t-cta.t-cta-gold              → gold fill         → Hero
     .t-cta.t-cta-bordered          → ink + gold border → Pricing, Final CTA
     .t-header-cta.is-bordered      → header chip, ink + gold border (top of page)
     .t-header-cta.is-outline-gold  → header chip, gold ghost (after scroll)
   ════════════════════════════════════════════════════ */

.t-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink-2); color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em;
  padding: 14px 22px; border: 0; border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), background 180ms ease, box-shadow 180ms ease;
}
.t-cta:hover { background: #000; transform: translateY(-1px); }
.t-cta:active { transform: translateY(0); box-shadow: var(--shadow-press); }
.t-cta:disabled,
.t-cta[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.t-cta.t-cta-lg { font-size: 1rem; padding: 16px 26px; }

.t-cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: var(--r-pill);
  background: var(--gold); color: var(--ink); flex-shrink: 0;
}
.t-cta-lg .t-cta-arrow { width: 24px; height: 24px; }

/* Gold fill - for cream surfaces (Hero) */
.t-cta.t-cta-gold {
  background: var(--gold); color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.t-cta.t-cta-gold:hover { background: var(--gold-deep); }
.t-cta.t-cta-gold .t-cta-arrow { background: var(--ink); color: var(--gold); }

/* Bordered - gold hairline + dark halo (DS on-photo) */
.t-cta.t-cta-bordered {
  box-shadow:
    0 0 0 1px rgba(232, 196, 89, 0.40),
    0 0 0 4px rgba(0, 0, 0, 0.16),
    0 12px 28px -10px rgba(0, 0, 0, 0.45);
}
.t-cta.t-cta-bordered:hover {
  box-shadow:
    0 0 0 1px rgba(232, 196, 89, 0.65),
    0 0 0 4px rgba(0, 0, 0, 0.20),
    0 14px 32px -10px rgba(0, 0, 0, 0.55);
}

/* Header chip - denser, smaller padding */
.t-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 0.875rem;
  padding: 9px 16px; border-radius: var(--r-pill);
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.t-header-cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: var(--r-pill);
  background: var(--gold); color: var(--ink); flex-shrink: 0;
}
.t-header-cta.is-bordered {
  background: var(--ink-2); color: var(--cream);
  box-shadow: 0 0 0 1px rgba(232, 196, 89, 0.45), 0 0 0 3px rgba(0,0,0,0.14);
}
.t-header-cta.is-bordered:hover {
  box-shadow: 0 0 0 1px rgba(232, 196, 89, 0.65), 0 0 0 3px rgba(0,0,0,0.20);
  transform: translateY(-1px);
}
.t-header-cta.is-outline-gold {
  background: transparent; color: var(--gold);
  box-shadow: inset 0 0 0 1.5px rgba(232, 196, 89, 0.65);
}
.t-header-cta.is-outline-gold:hover {
  background: var(--gold); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--gold);
  transform: translateY(-1px);
}
.t-header-cta.is-outline-gold .t-header-cta-arrow {
  background: var(--gold); color: var(--ink);
}
.t-header-cta.is-outline-gold:hover .t-header-cta-arrow {
  background: var(--ink); color: var(--gold);
}


/* ════════════════════════════════════════════════════
   3. HEADER

   Behavior: transparent at top of page, dark frosted on scroll.
   Header CTA flips: bordered (top) → outline-gold (scrolled).
   The .is-scrolled class is added by JS at scrollY > 24.
   ════════════════════════════════════════════════════ */

.t-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 280ms ease, border-color 280ms ease, backdrop-filter 280ms ease, box-shadow 280ms ease;
}
.t-header.is-scrolled {
  background: rgba(12, 13, 15, 0.55);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
}

.t-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; gap: 24px;
  max-width: 1200px; margin: 0 auto;
}

.t-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.t-logo img { width: 28px; height: 28px; display: block; }
.t-logo-wordmark {
  font-family: var(--font-display);
  font-weight: 400; font-size: 22px;
  letter-spacing: -0.018em; line-height: 1;
  color: #f5f0e6;
}
.t-logo-wordmark-accent { color: var(--gold); }

.t-nav { display: flex; gap: 28px; }
.t-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.005em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: color 160ms ease;
}
.t-nav a:hover { color: var(--gold); }
.t-header.is-scrolled .t-nav a {
  text-shadow: none;
  font-weight: 500;
}


/* ════════════════════════════════════════════════════
   4. HERO (shared base; .t-hero-card floating inbox lives in home.css)
   ════════════════════════════════════════════════════ */

.t-hero {
  position: relative;
  min-height: 720px; height: 100vh; max-height: 880px;
  overflow: hidden;
  isolation: isolate;
}
.t-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.t-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  /* "medium" overlay - left-to-right + top-to-bottom dark wash */
  background:
    linear-gradient(90deg,
      rgba(10, 11, 13, 0.78) 0%,
      rgba(10, 11, 13, 0.55) 35%,
      rgba(10, 11, 13, 0.25) 65%,
      rgba(10, 11, 13, 0.05) 100%),
    linear-gradient(180deg,
      rgba(10, 11, 13, 0.25) 0%,
      rgba(10, 11, 13, 0) 40%,
      rgba(10, 11, 13, 0) 70%,
      rgba(10, 11, 13, 0.40) 100%);
}

.t-hero-inner {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 96px;
}
.t-hero-copy { max-width: 580px; }

.t-hero-h1 {
  font-family: var(--heading-font);
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-lh);
  letter-spacing: var(--h1-ls);
  color: var(--cream);
  margin: 0 0 22px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 14px rgba(0, 0, 0, 0.30);
}
.t-h1-line { display: block; white-space: nowrap; }

.t-hero-sub {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--cream);
  max-width: 46ch;
  margin: 0 0 32px;
  font-weight: 400;
  text-wrap: pretty;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 14px rgba(0, 0, 0, 0.30);
}

.t-hero-cta-wrap {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 12px;
  margin-bottom: 36px;
}

/* Trust strip - dividers, on-dark */
.t-hero-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.t-hero-trust li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 2px 18px;
  border-right: 1.5px solid rgba(245, 240, 230, 0.64);
}
.t-hero-trust li:first-child { padding-left: 0; }
.t-hero-trust li:last-child  { border-right: 0; padding-right: 0; }
.t-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: var(--r-pill);
  background: currentColor;
  opacity: 0.55;
}
@keyframes t-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 196, 89, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(232, 196, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 196, 89, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .t-pulse-dot { animation: none; }
}


/* ════════════════════════════════════════════════════
   5. HUB DASHBOARD PRIMITIVES (.t-hub-*)

   Shared between homepage (#hub block) and /services/ (#hub section).
   Home block-section wiring (#reply, #how, #voice, #hub backgrounds,
   .t-block-*, mocks .t-rep-ledger / .t-tl-rail / .t-voice-card,
   floating inbox card, pricing, founder) lives in home.css.
   ════════════════════════════════════════════════════ */

.t-hub-app {
  display: grid;
  grid-template-columns: 168px 1fr;
  background: var(--mock-ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-family: var(--body-font);
  min-height: 360px;
}
.t-hub-side {
  background: #16140f;
  padding: 18px 14px;
  border-right: 1px solid rgba(232, 196, 89, 0.08);
}
.t-hub-side-brand {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 22px;
}
.t-hub-side-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--gold); color: var(--ink);
  font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; justify-content: center;
}
.t-hub-side-name {
  font-size: 0.78rem; font-weight: 600;
  color: var(--mock-cream);
}
.t-hub-side-nav {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.t-hub-side-nav li {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: rgba(230, 224, 201, 0.62);
}
.t-hub-side-nav li.is-active {
  background: rgba(232, 196, 89, 0.10);
  color: var(--mock-cream);
}
.t-hub-side-nav li:not(.is-active) { padding-left: 24px; }
.t-hub-side-dot {
  width: 5px; height: 5px;
  border-radius: var(--r-pill);
  background: var(--gold);
  flex-shrink: 0;
}
.t-hub-side-badge {
  margin-left: auto;
  background: var(--gold); color: var(--ink);
  font-size: 0.62rem; font-weight: 800;
  padding: 1px 7px;
  border-radius: var(--r-pill);
}

.t-hub-main { padding: 18px 20px; }
.t-hub-main-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 16px;
}
.t-hub-main-title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--mock-cream);
  margin: 0;
  letter-spacing: -0.005em;
}
.t-hub-main-count {
  color: var(--gold); font-weight: 700;
  margin-left: 6px;
}
.t-hub-main-pulse {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
}
.t-pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: var(--r-pill);
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 196, 89, 0.5);
  animation: t-pulse 2.2s cubic-bezier(.4,0,.2,1) infinite;
}

.t-hub-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.t-hub-kpi {
  background: var(--mock-ink-2);
  border-radius: 10px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.t-hub-kpi-num {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600;
  color: var(--mock-cream);
  line-height: 1;
}
.t-hub-kpi-u {
  font-size: 0.6em;
  color: var(--gold);
  margin-left: 2px;
}
.t-hub-kpi-l {
  font-size: 0.66rem;
  color: var(--mock-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.t-hub-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--mock-ink-2);
  border-radius: 10px;
  overflow: hidden;
}
.t-hub-table tr { border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.t-hub-table tr:last-child { border-bottom: 0; }
.t-hub-table td {
  padding: 11px 14px;
  font-size: 0.78rem;
  color: var(--mock-cream);
}
.t-hub-table td.t-hub-tt {
  color: var(--mock-mute);
  font-variant-numeric: tabular-nums;
  width: 80px;
  white-space: nowrap;
}
.t-hub-table td.t-hub-tn { font-weight: 600; white-space: nowrap; }
.t-hub-table td.t-hub-td { color: rgba(230, 224, 201, 0.72); }
.t-hub-ch {
  display: block;
  width: fit-content;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mock-mute);
  margin: 0 0 5px;
  padding: 1px 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
}
.t-hub-tx { display: block; white-space: nowrap; }
.t-hub-table td:last-child { text-align: right; }

/* Status pills inside hub table */
.t-hub-pill {
  display: inline-flex; align-items: center;
  font-family: var(--body-font);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.t-hub-pill.is-replied { background: rgba(232, 196, 89, 0.16); color: var(--gold); }
.t-hub-pill.is-booked  { background: var(--gold); color: var(--ink); }
.t-hub-pill.is-esc     { background: rgba(220, 90, 70, 0.18); color: #f3a99a; }


/* ════════════════════════════════════════════════════
   6. FAQ

   Solid ink-warm bg, on-dark text, Tanker numerals always gold,
   centered head with handwritten Caveat aside, animated open/close.
   ════════════════════════════════════════════════════ */

.t-faq {
  padding: 128px 0;
  background: var(--ink-warm);
  color: #f5f0e6;
  position: relative;
}
.t-faq::before,
.t-faq::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(245, 240, 230, 0.12) 20%,
    rgba(245, 240, 230, 0.12) 80%,
    transparent);
}
.t-faq::before {
  top: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent);
}
.t-faq::after { bottom: 0; }

.t-faq-head {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
  margin: 0 auto 56px;
  max-width: 640px;
}
.t-faq-aside {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.005em;
  transform: rotate(-2deg);
  margin-bottom: 2px;
}
.t-faq h2 {
  font-family: var(--heading-font);
  font-size: var(--h2-size-d);
  font-weight: var(--h2-weight);
  color: #f5f0e6;
  margin: 0;
  letter-spacing: var(--h2-ls);
  line-height: var(--h2-lh);
}
.t-faq-sub {
  color: var(--body-on-dark-mute);
  font-size: 0.95rem;
  margin: 0;
  max-width: 38ch;
}

.t-faq-list {
  list-style: none;
  margin: 0 auto; padding: 0;
  max-width: 760px;
  border-top: 1px solid rgba(245, 240, 230, 0.18);
}
.t-faq-item { border-bottom: 1px solid rgba(245, 240, 230, 0.18); }
.t-faq-list details { padding: 0; margin: 0; }
.t-faq-list summary {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  align-items: baseline;
  gap: 18px;
  padding: 26px 0;
  cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 600;
  color: #f5f0e6;
  line-height: 1.4;
  transition: color 180ms ease;
}
.t-faq-list summary::-webkit-details-marker { display: none; }
.t-faq-list summary:hover { color: var(--gold); }

.t-faq-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1; letter-spacing: 0.01em;
  color: var(--gold);
  font-feature-settings: "tnum" 1;
  align-self: center;
  transition: transform 200ms cubic-bezier(.2,.8,.2,1);
}
.t-faq-q { align-self: center; text-wrap: pretty; }

.t-faq-mark {
  width: 12px; height: 12px;
  border-radius: var(--r-pill);
  background: rgba(245, 240, 230, 0.30);
  align-self: center; justify-self: end;
  transition: background 200ms ease, transform 250ms cubic-bezier(.2,.8,.2,1), box-shadow 250ms ease;
}
.t-faq-list summary:hover .t-faq-mark {
  background: var(--gold);
  transform: scale(1.15);
}
.t-faq-list details[open] .t-faq-mark {
  background: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(232, 196, 89, 0.22);
}
.t-faq-list details[open] .t-faq-num { transform: translateX(-2px); }

/* Smooth open/close - keep ::details-content measurable when closed
   so the FIRST open animates from 0fr like all subsequent opens. */
.t-faq-list details::details-content {
  block-size: auto;
  height: auto;
  opacity: 1;
  overflow: hidden;
}
.t-faq-list details:not([open])::details-content {
  block-size: 0;
  height: 0;
}
.t-faq-a-wrap {
  display: grid;
  grid-template-rows: 1fr;
  padding-left: 74px;
  padding-right: 24px;
  padding-bottom: 28px;
  opacity: 1;
  transition:
    grid-template-rows 280ms cubic-bezier(.2,.8,.2,1),
    opacity 220ms ease,
    padding-bottom 280ms cubic-bezier(.2,.8,.2,1);
}
.t-faq-list details:not([open]) .t-faq-a-wrap {
  grid-template-rows: 0fr;
  padding-bottom: 0;
  opacity: 0;
}
.t-faq-a {
  overflow: hidden;
  margin: 0;
  color: var(--body-on-dark);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.012em;
  word-spacing: 0.04em;
  text-wrap: pretty;
}
.t-faq-a + .t-faq-a {
  margin-top: 12px;
}
.t-faq-a a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(232, 196, 89, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.t-faq-a a:hover {
  text-decoration-color: var(--gold);
  max-width: 62ch;
  min-height: 0;
}
@media (prefers-reduced-motion: reduce) {
  .t-faq-a-wrap, .t-faq-num, .t-faq-mark { transition: none; }
}


/* ════════════════════════════════════════════════════
   7. FINAL CTA

   Locked variant: photo-zero - Big Tanker $0 over Scrim-Bottom
   sunrise photo. Ink+gold-border CTA on photo (DS recipe).
   ════════════════════════════════════════════════════ */

.t-final {
  position: relative;
  overflow: hidden;
  padding: 140px 0 120px;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(8, 8, 10, 0.85) 0%, rgba(8, 8, 10, 0) 70%),
    linear-gradient(180deg, rgba(8, 8, 10, 0) 0%, rgba(8, 8, 10, 0.65) 55%, rgba(8, 8, 10, 0.92) 100%),
    url('/images/hvac-pics/hvac-sunrise-arrival.png');

  background-image:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(8, 8, 10, 0.85) 0%, rgba(8, 8, 10, 0) 70%),
    linear-gradient(180deg, rgba(8, 8, 10, 0) 0%, rgba(8, 8, 10, 0.65) 55%, rgba(8, 8, 10, 0.92) 100%),
    image-set(
      url('/images/hvac-pics/hvac-sunrise-arrival.avif') type('image/avif'),
      url('/images/hvac-pics/hvac-sunrise-arrival.webp') type('image/webp'),
      url('/images/hvac-pics/hvac-sunrise-arrival.png') type('image/png')
    );
  background-size: cover;
  background-position: center 30%;
  color: #f5f0e6;
  text-align: center;
}
.t-final-zero {
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
  position: relative;
}
.t-final-zero-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  color: var(--gold);
  margin: 4px 0 -4px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}
.t-final h2 {
  font-family: var(--heading-font);
  font-size: var(--h2-size-d);
  font-weight: var(--h2-weight);
  letter-spacing: var(--h2-ls);
  line-height: var(--h2-lh);
  color: #f5f0e6;
  max-width: none;
  margin: 0;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
/* Forced line break before "is on us" on iPad + mobile only */
.t-h2-break { display: none; }
@media (max-width: 1100px) {
  .t-h2-break { display: inline; }
}
.t-final p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body-on-dark);
  max-width: 52ch;
  margin: -4px 0 0;
}
.t-final .t-cta-lg { margin-top: 8px; }


/* ════════════════════════════════════════════════════
   8. FOOTER

  Full-black anchor, brand lockup top-left, 3 link columns,
  fine-print bar across bottom.
   ════════════════════════════════════════════════════ */

.t-footer {
  background: #000;
  color: #f5f0e6;
  padding: 72px 0 28px;
  position: relative;
  overflow: hidden;
}
.t-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 196, 89, 0.45), transparent);
}
.t-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.t-footer-brand-col {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 22px;
}
.t-footer-brand {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit;
  transition: opacity 200ms ease;
}
.t-footer-brand:hover { opacity: 0.92; }
.t-footer-mark {
  width: 48px; height: 48px;
  display: block;
  filter: drop-shadow(0 0 24px rgba(232, 196, 89, 0.18));
}
.t-footer-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.022em;
  color: #f5f0e6;
}
.t-footer-wordmark-accent { color: var(--gold); }
.t-footer-tag {
  font-size: 1rem;
  color: var(--body-on-dark);
  margin: 0;
  line-height: 1.65;
  max-width: 32ch;
  font-weight: 400;
}

.t-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.t-footer-cols .t-footer-h {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--gold);
  margin: 0 0 20px;
}
.t-footer-cols a {
  display: block;
  padding: 5px 0;
  font-size: 1rem;
  color: var(--body-on-dark);
  text-decoration: none;
  position: relative;
  width: fit-content;
  transition: color 180ms ease;
}
.t-footer-cols a:hover { color: #fff; }
.t-footer-cols a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 240ms cubic-bezier(.2,.8,.2,1);
}
.t-footer-cols a:hover::after { width: 100%; }

.t-footer-fine {
  grid-column: 1 / -1;
  margin: 48px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 240, 230, 0.10);
  font-size: 0.85rem;
  color: var(--body-on-dark-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.t-footer-fine-links { display: inline-flex; gap: 28px; }
.t-footer-fine-links a {
  color: var(--body-on-dark);
  text-decoration: none;
  transition: color 180ms ease;
}
.t-footer-fine-links a:hover { color: var(--gold); }


/* Page palette arc (#reply, #how, #voice, #hub, .t-pricing, .t-founder
   section backgrounds) moved to home.css. /services/ scopes its own
   #hub background in services.css. */


/* ════════════════════════════════════════════════════
   9. FOUNDER REASSURANCE (canonical)

   Used on home, /start/, /contact/. Section <section
   class="t-founder"> on every page; add .is-mini on /start/ and
   /contact/ for the condensed variant. Home-only details (quote,
   quotemark, links, underline glyph, larger sizes) live in home.css.
   ════════════════════════════════════════════════════ */

.t-founder {
  background: var(--arc-6);
  color: #f5f0e6;
  position: relative;
  padding: 96px 0;
}

.t-founder-card {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
}

.t-founder-photo {
  width: 110px; height: 110px;
  border-radius: var(--r-pill);
  object-fit: cover;
  background: rgba(245, 240, 230, 0.06);
  flex-shrink: 0;
  box-shadow:
    0 0 0 4px rgba(245, 240, 230, 0.10),
    0 6px 24px rgba(0, 0, 0, 0.45);
}

.t-founder-body { position: relative; }

.t-founder-name {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0;
}

/* "Frederik" in Caveat: rotated -2deg with a k-tail that overshoots
   the glyph box. Small margin-right keeps the role text comma from
   colliding with that overshoot. */
.t-founder-firstname {
  font-family: var(--font-accent);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  margin-right: 4px;
  display: inline-block;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.t-founder-role {
  font-weight: 500;
  color: var(--body-on-dark);
}

/* Mini variant. Used on /start/ and /contact/. Same DNA as full, with
   smaller portrait + signature, condensed padding, and a different
   body element: .t-founder-text (plain paragraph) instead of
   .t-founder-quote (gold quotemark + larger script). */
.t-founder.is-mini { padding: 72px 0; }
.t-founder.is-mini .t-founder-card { max-width: 720px; }
.t-founder.is-mini .t-founder-photo { width: 88px; height: 88px; }
.t-founder.is-mini .t-founder-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--body-on-dark);
  margin: 0 0 8px;
  text-wrap: pretty;
}
.t-founder.is-mini .t-founder-name { font-size: 0.95rem; }
.t-founder.is-mini .t-founder-firstname { font-size: 1.6rem; }
.t-founder.is-mini .t-founder-role { font-size: 0.92rem; }


/* ════════════════════════════════════════════════════
   10. RESPONSIVE
   ════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  /* Section H2 step-down at tablet band (token-driven, no clamp).
     .t-block-text h2 step-down lives in home.css. */
  .t-faq h2,
  .t-final h2 { font-size: var(--h2-size-t); }

  .t-hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .t-hero-inner {
    padding-top: 140px;
    padding-bottom: 0;
  }
  /* Center hero copy on iPad + mobile */
  .t-hero-copy { margin: 0 auto; text-align: center; max-width: 640px; }
  .t-hero-cta-wrap { align-items: center; }
  .t-hero-trust { justify-content: center; }
  /* Hub shrink at iPad widths so the mock fits its narrower column */
  .t-hub-app { grid-template-columns: 112px 1fr; min-height: 320px; }
  .t-hub-main { min-width: 0; padding: 14px 14px; }
  .t-hub-kpis { gap: 8px; }
  .t-hub-kpi { padding: 10px 8px; }
  .t-hub-kpi-num { font-size: 1.35rem; }
  .t-hub-kpi-l { font-size: 0.6rem; }
  .t-hub-side-name { font-size: 0.74rem; }
  .t-hub-side-nav li { font-size: 0.74rem; padding: 7px 8px; }
  .t-hub-table td { padding: 10px 8px; font-size: 0.74rem; }
  .t-hub-table td.t-hub-tt { width: 70px; font-size: 0.7rem; }
  .t-hub-ch { font-size: 0.58rem; padding: 1px 4px; }
  .t-hub-pill { font-size: 0.58rem; padding: 3px 7px; }
  .t-footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .t-footer-cols { gap: 36px; }
  /* Mini founder stacks at iPad band (home stacks only at <=760, in home.css) */
  .t-founder.is-mini .t-founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .t-founder.is-mini .t-founder-photo { margin: 0 auto; }
  .t-founder.is-mini .t-founder-name { justify-content: center; }
}

@media (max-width: 760px) {
  .t-container { padding: 0 22px; }
  .t-nav { display: none; }
  .t-header-cta { display: none; }
  .t-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .t-hero-inner {
    padding-top: 120px;
    padding-bottom: 64px;
  }
  .t-hero-h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .t-faq,
  .t-final { padding: 80px 0; }
  .t-founder.is-mini { padding: 56px 0; }
  .t-faq-list summary {
    grid-template-columns: 40px 1fr 18px;
    gap: 12px;
    padding: 22px 0;
    font-size: 1rem;
  }
  .t-faq-num { font-size: 1.4rem; }
  .t-faq-a-wrap { padding-left: 52px; padding-right: 0; }
  .t-final p { color: var(--body-on-dark); }
  /* Trust strip stacks vertically on phone (dividers wrap weird otherwise) */
  .t-hero-trust { flex-direction: column; gap: 6px; align-items: center; }
  .t-hero-trust li { border-right: 0; padding: 0; }
  /* Yellow bullet on items 2 + 3 (item 1 already has the live pulsing dot) */
  .t-hero-trust li:not(:first-child)::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--gold);
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
  }
  .t-hub-app { grid-template-columns: 92px 1fr; min-height: 300px; }
  .t-hub-side { padding: 14px 10px; }
  .t-hub-side-brand { gap: 6px; margin-bottom: 16px; }
  .t-hub-side-name { font-size: 0.7rem; }
  .t-hub-side-nav li { padding: 7px 8px; gap: 6px; font-size: 0.74rem; }
  .t-hub-side-nav li:not(.is-active) { padding-left: 8px; }
  .t-hub-side-dot { display: none; }
  .t-hub-side-badge { font-size: 0.58rem; padding: 1px 6px; }
  .t-hub-main { padding: 14px 12px; }
  .t-hub-kpi-num { font-size: 1.3rem; }
  .t-hub-kpi-l { font-size: 0.6rem; }
  .t-hub-table td { padding: 9px 8px; font-size: 0.72rem; }
  .t-hub-table td.t-hub-tt { width: 60px; font-size: 0.66rem; }
  .t-hub-ch { font-size: 0.56rem; padding: 1px 4px; }
  .t-hub-pill { font-size: 0.56rem; padding: 3px 7px; }
  /* Centered footer on mobile per Fred's spec */
  .t-footer-inner { text-align: center; }
  .t-footer-brand-col { align-items: center; text-align: center; }
  .t-footer-tag { margin: 0 auto; max-width: none; }
  .t-footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .t-footer-cols a { margin: 0 auto; }
  .t-footer-fine {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    text-align: center;
  }
}

/* Canon mobile band: section H2 step-down (token-driven, no clamp).
   .t-block-text h2 step-down lives in home.css. */
@media (max-width: 640px) {
  .t-faq h2,
  .t-final h2 { font-size: var(--h2-size-m); }
}

@media (max-width: 480px) {
  .t-hub-app { grid-template-columns: 78px 1fr; }
  .t-hub-side { padding: 12px 8px; }
  .t-hub-side-brand { gap: 5px; margin-bottom: 12px; }
  .t-hub-side-name { font-size: 0.62rem; }
  .t-hub-side-mark { width: 22px; height: 22px; font-size: 0.58rem; }
  .t-hub-side-nav li { padding: 6px 6px; gap: 5px; font-size: 0.68rem; }
  .t-hub-side-nav li:not(.is-active) { padding-left: 6px; }
  .t-hub-side-badge { font-size: 0.54rem; padding: 0 5px; }
  .t-hub-main { padding: 12px 10px; }
  .t-hub-kpi { padding: 8px 6px; }
  .t-hub-kpi-num { font-size: 1.05rem; }
  .t-hub-kpi-l { font-size: 0.54rem; }
  .t-hub-table td { padding: 8px 6px; font-size: 0.66rem; }
  .t-hub-table td.t-hub-tt { width: 48px; font-size: 0.6rem; }
  .t-hub-tx { white-space: normal; }
  .t-hub-ch { font-size: 0.52rem; padding: 1px 3px; margin-bottom: 3px; }
  .t-hub-pill { font-size: 0.52rem; padding: 2px 5px; letter-spacing: 0.04em; }
}

/* ════════════════════════════════════════════════════
  11. MOBILE NAV (hamburger + slide-down menu).
  Hamburger shown only at <=760px. Tap opens fullscreen menu.
  Body scroll locks while open.
  Mobile CTA has 3 style variants via data-style:
    gold  : solid gold pill (default)
    ink   : ink pill with gold hairline + dark halo
    ghost : outline gold ghost
   ════════════════════════════════════════════════════ */

.t-nav-toggle {
  background: transparent; border: 0;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--cream);
  position: relative; z-index: 60;
  transition: color 160ms ease;
}
.t-nav-toggle:hover { color: var(--gold); }
.t-header.is-scrolled .t-nav-toggle { color: var(--cream); }
.t-nav-toggle-icon { display: block; margin: 0 auto; }
.t-nav-toggle-close { display: none; }
.t-nav-toggle[aria-expanded="true"] .t-nav-toggle-menu { display: none; }
.t-nav-toggle[aria-expanded="true"] .t-nav-toggle-close { display: block; }

.t-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(12, 13, 15, 0.96);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 88px 28px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.t-mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.t-mobile-nav {
  display: flex; flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}
.t-mobile-nav a {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-decoration: none;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.10);
  text-align: center;
  transition: color 160ms ease;
}
.t-mobile-nav a:hover,
.t-mobile-nav a:focus-visible { color: var(--gold); }
.t-mobile-nav a:first-child { border-top: 1px solid rgba(245, 240, 230, 0.10); }

.t-mobile-cta {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 18px 24px;
  border-radius: var(--r-pill);
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.t-mobile-cta-arrow {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

.t-mobile-cta[data-style="gold"] {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 6px 18px rgba(232, 196, 89, 0.28);
}
.t-mobile-cta[data-style="gold"]:hover { background: var(--gold-deep); }
.t-mobile-cta[data-style="gold"] .t-mobile-cta-arrow {
  background: var(--ink); color: var(--gold);
}

.t-mobile-cta[data-style="ink"] {
  background: var(--ink-2); color: var(--cream);
  box-shadow:
    0 0 0 1px rgba(232, 196, 89, 0.50),
    0 0 0 4px rgba(0, 0, 0, 0.18),
    0 12px 28px -10px rgba(0, 0, 0, 0.45);
}
.t-mobile-cta[data-style="ink"]:hover { background: #000; }
.t-mobile-cta[data-style="ink"] .t-mobile-cta-arrow {
  background: var(--gold); color: var(--ink);
}

.t-mobile-cta[data-style="ghost"] {
  background: transparent; color: var(--gold);
  box-shadow: inset 0 0 0 1.5px rgba(232, 196, 89, 0.70);
}
.t-mobile-cta[data-style="ghost"]:hover {
  background: var(--gold); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}
.t-mobile-cta[data-style="ghost"] .t-mobile-cta-arrow {
  background: var(--gold); color: var(--ink);
}
.t-mobile-cta[data-style="ghost"]:hover .t-mobile-cta-arrow {
  background: var(--ink); color: var(--gold);
}

body.is-menu-open { overflow: hidden; }

@media (min-width: 761px) {
  .t-nav-toggle { display: none; }
  .t-mobile-menu { display: none; }
}
