/* ═══════════════════════════════════════════════════════════════════════════════════════
   custom.css — All Around Tampa bespoke layer (Growth+ / D39). "Coastal precision."
   Derived from AAT's own brand: the pin-and-house logo, its sky→deep-water gradient, and
   Greg's specialist voice. See docs/bespoke-brief.md for the derivation.

   Rules: loaded LAST on every page; every class aat-prefixed; template classes receive
   only ADDITIVE decorative treatments (no layout metric changes); conversion surfaces
   (forms, quote cards, tel CTAs) are never animated, leaned, or lazy-loaded; decorative
   text keeps ≥4.5:1 contrast; hero stays LCP-exempt (D26).
   ═══════════════════════════════════════════════════════════════════════════════════════ */

:root {
  --aat-sky: #24b2f3;
  --aat-blue: #1565a8;
  --aat-deep: #0d3a5e;
  --aat-navy: #082841;
  --aat-grad: linear-gradient(135deg, var(--aat-sky) 0%, var(--aat-blue) 55%, var(--aat-deep) 100%);
  --aat-grad-line: linear-gradient(90deg, var(--aat-sky) 0%, var(--aat-blue) 60%, rgba(13, 58, 94, 0) 100%);
  --aat-joint: rgba(21, 101, 168, 0.28);
}

/* ── 1. Pin tick — the logo mark distilled into the eyebrow accent ──────────────────── */
body.theme-growth .eyebrow::before {
  width: 11px;
  height: 11px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--aat-grad);
  box-shadow: 0 1px 3px rgba(8, 40, 65, 0.25);
}
body.theme-growth .hero .eyebrow::before,
body.theme-growth .final-cta .eyebrow::before {
  background: linear-gradient(135deg, #7fd7ff 0%, var(--aat-sky) 100%);
}

/* ── 2. Waterline heading rules ─────────────────────────────────────────────────────── */
body.theme-growth .with-rule {
  border-bottom: 0;
  position: relative;
  padding-bottom: 1.5rem;
}
body.theme-growth .with-rule::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--aat-grad-line);
}
body.theme-growth .section-heading.centered.with-rule::after {
  background: linear-gradient(90deg, rgba(13, 58, 94, 0) 0%, var(--aat-sky) 30%, var(--aat-blue) 70%, rgba(13, 58, 94, 0) 100%);
}

/* ── 3. Sealed-joint frames — double keyline with a sand-joint gap ──────────────────── */
body.theme-growth .service-image,
body.theme-growth .article-image,
body.theme-growth .hub-service-image,
body.theme-growth .about-content-image,
body.theme-growth .city-map-static {
  outline: 1px solid var(--aat-joint);
  outline-offset: 5px;
}
body.theme-growth .framed-image::before {
  border-color: var(--aat-blue);
  background: linear-gradient(135deg, rgba(36, 178, 243, 0.10), rgba(13, 58, 94, 0.05));
}
body.theme-growth .proof-list-card,
body.theme-growth .careers-info-card {
  border: 1px solid rgba(21, 101, 168, 0.16);
  box-shadow: 0 1px 0 rgba(21, 101, 168, 0.10), 0 14px 32px rgba(8, 40, 65, 0.08);
  position: relative;
  overflow: hidden;
}
body.theme-growth .proof-list-card::before,
body.theme-growth .careers-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--aat-grad-line);
}

/* ── 4. Herringbone texture — the paver laying pattern, whisper-quiet ───────────────── */
body.theme-growth .services-preview,
body.theme-growth .articles-section {
  background-image:
    repeating-linear-gradient(45deg, rgba(13, 58, 94, 0.022) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(13, 58, 94, 0.022) 0 2px, transparent 2px 26px);
}

/* ── 5. Gradient conversions of brand accents (color only — no motion changes) ──────── */
body.theme-growth .btn-primary {
  background: linear-gradient(135deg, #1e8fd4 0%, var(--aat-blue) 60%, #11507f 100%);
}
body.theme-growth .btn-primary:hover {
  background: linear-gradient(135deg, var(--aat-blue) 0%, #11507f 70%, var(--aat-deep) 100%);
}
body.theme-growth .final-cta {
  background: linear-gradient(135deg, var(--aat-navy) 0%, var(--aat-deep) 62%, var(--aat-blue) 130%);
  position: relative;
}
body.theme-growth .final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(13, 58, 94, 0) 0%, var(--aat-sky) 35%, var(--aat-blue) 65%, rgba(13, 58, 94, 0) 100%);
}

/* ── Footer — waterline edge + deep-water gradient (classes live in the partial) ────── */
body.theme-growth .aat-footer {
  background: linear-gradient(180deg, var(--aat-deep) 0%, var(--aat-navy) 46%);
  position: relative;
}
body.theme-growth .aat-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(13, 58, 94, 0) 0%, var(--aat-sky) 30%, var(--aat-blue) 70%, rgba(13, 58, 94, 0) 100%);
}

/* ── Home only: hero waterline + inspection band (bespoke <main> surfaces) ──────────── */
body.theme-growth .aat-hero {
  position: relative;
}
body.theme-growth .aat-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aat-sky) 0%, var(--aat-blue) 45%, var(--aat-deep) 100%);
}

body.theme-growth .aat-inspection {
  background: linear-gradient(135deg, #f2f9fe 0%, #e9f6fd 100%);
}
body.theme-growth .aat-inspection-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
body.theme-growth .aat-inspection-intro .section-heading {
  margin-bottom: 0;
}
body.theme-growth .aat-inspection-note {
  margin-top: 1.4rem;
  color: var(--aat-deep);
  font-weight: 600;
}
body.theme-growth .aat-sheet {
  list-style: none;
  margin: 0;
  padding: .4rem 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(21, 101, 168, 0.16);
  outline: 1px solid var(--aat-joint);
  outline-offset: 5px;
  box-shadow: 0 18px 44px rgba(8, 40, 65, 0.10);
}
body.theme-growth .aat-sheet-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.4rem;
}
body.theme-growth .aat-sheet-row + .aat-sheet-row {
  border-top: 1px solid rgba(21, 101, 168, 0.12);
}
body.theme-growth .aat-step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--aat-blue) 0%, var(--aat-deep) 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: .88rem;
}
body.theme-growth .aat-step-num > span {
  transform: rotate(45deg);
}
body.theme-growth .aat-sheet-copy h3 {
  font-size: 1rem;
  margin: 0;
  color: #082841;
}
body.theme-growth .aat-sheet-copy p {
  margin: .1rem 0 0;
  font-size: .92rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  body.theme-growth .aat-inspection-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body.theme-growth .service-image,
  body.theme-growth .article-image,
  body.theme-growth .hub-service-image,
  body.theme-growth .about-content-image,
  body.theme-growth .city-map-static {
    outline-offset: 3px;
  }
}
