/* ==========================================================
   SJH HVAC Services — site styles
   Palette: deep navy + blues (cool) and oranges (heat)
   ========================================================== */
:root {
  --navy-950: #050b17;
  --navy-900: #0a1426;
  --navy-800: #10203d;
  --navy-700: #183058;
  --blue-600: #1e5bd8;
  --blue-500: #2f7cf6;
  --blue-300: #7cc4ff;
  --blue-100: #e6f2ff;
  --orange-600: #ea5a0c;
  --orange-500: #ff7a1a;
  --orange-300: #ffb36b;
  --yellow-400: #ffd23f;
  --white: #ffffff;
  --ink: #13203a;
  --ink-soft: #4a5a78;
  --line: #dde5f2;
  --surface: #f5f8fd;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 20, 38, .12);
  --shadow-lg: 0 24px 60px rgba(10, 20, 38, .22);
  --max: 1200px;

  /* updated live by the thermostat */
  --temp-color: #4fb3ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: .8rem;
}
.eyebrow.cool { color: var(--blue-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-hot {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(234, 90, 12, .35);
}
.btn-cool {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(30, 91, 216, .35);
}
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ==========================================================
   HEADER + THERMOSTAT MENU
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background:
    radial-gradient(120% 140% at var(--glow-x, 50%) 120%, color-mix(in srgb, var(--temp-color) 26%, transparent), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  transition: padding .3s ease;
}
.header-inner {
  width: min(1320px, 100% - 32px);
  margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.brand img {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 0 24px color-mix(in srgb, var(--temp-color) 45%, transparent);
  transition: width .3s ease, height .3s ease, box-shadow .4s ease;
}
.site-header.compact .brand img { width: 60px; height: 60px; }

/* thermostat body */
.thermostat {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #eef3fa 55%, #dfe7f2 100%);
  border-radius: 999px;
  padding: 10px 26px 10px 10px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.9),
    inset 0 -3px 8px rgba(16, 32, 61, .12),
    0 10px 28px rgba(0,0,0,.45);
  position: relative;
}

/* round digital dial */
.dial {
  position: relative; flex-shrink: 0;
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #1a2c4f, var(--navy-950) 70%);
  box-shadow: inset 0 0 0 4px #f7f9fc, inset 0 0 0 6px #c8d3e3, 0 4px 12px rgba(0,0,0,.25);
}
.dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(135deg); }
.dial .ring-bg { stroke: rgba(255,255,255,.12); }
.dial .ring-fg { stroke: var(--temp-color); filter: drop-shadow(0 0 4px var(--temp-color)); transition: stroke .15s linear; }
.dial-readout { position: relative; text-align: center; line-height: 1; color: var(--white); }
.dial-temp {
  font-family: var(--font-head); font-weight: 800; font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--temp-color);
  text-shadow: 0 0 12px color-mix(in srgb, var(--temp-color) 60%, transparent);
}
.dial-temp sup { font-size: .5em; vertical-align: super; margin-left: 1px; }
.dial-mode {
  display: block; margin-top: 4px;
  font-family: var(--font-head); font-size: .55rem; font-weight: 700;
  letter-spacing: .2em; color: rgba(255,255,255,.7);
}

/* scale: tabs above, glass tube below */
.scale { flex: 1; min-width: 0; position: relative; }
.scale-scroll {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.scale-scroll::-webkit-scrollbar { display: none; }
.scale-track { position: relative; min-width: 640px; padding: 6px 4px 0; }

.tabs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  position: relative; z-index: 2;
}
.tabs a {
  display: block; text-align: center; text-decoration: none;
  font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em;
  color: var(--navy-700);
  padding: 8px 4px 10px;
  border-radius: 10px;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease, background .2s ease;
}
.tabs a:hover, .tabs a:focus-visible { color: var(--navy-950); transform: translateY(-2px); outline: none; }
.tabs a[aria-current="page"] { color: var(--navy-950); }
.tabs a[aria-current="page"]::after {
  content: ""; display: block; width: 22px; height: 3px; border-radius: 3px;
  margin: 5px auto 0; background: var(--tab-color, var(--orange-500));
}

.tube {
  position: relative; height: 16px; margin: 0 34px 6px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e9eef6, #ffffff 40%, #d5deeb);
  box-shadow: inset 0 1px 3px rgba(16,32,61,.35), 0 1px 0 #fff;
}
/* bulb on the cold end */
.tube::before {
  content: ""; position: absolute; left: -16px; top: 50%;
  width: 26px; height: 26px; border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #9fd6ff, var(--blue-600) 70%);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.25), 0 0 0 3px #ffffff, 0 0 0 4px #c8d3e3;
}
.mercury {
  position: absolute; left: 0; top: 3px; bottom: 3px;
  right: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
    #1e5bd8 0%, #4fb3ff 22%, #ffffff 42%, #ffd23f 62%, #ff9a1f 82%, #ff5a1a 100%);
  clip-path: inset(0 calc(100% - var(--fill, 10%)) 0 0 round 999px);
  box-shadow: 0 0 10px color-mix(in srgb, var(--temp-color) 70%, transparent);
}
.mercury::after {
  /* glassy highlight */
  content: ""; position: absolute; inset: 1px 4px auto 4px; height: 3px;
  border-radius: 99px; background: rgba(255,255,255,.65);
}
.ticks {
  position: absolute; inset: 0 8px; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(16,32,61,.28) 0 1px, transparent 1px 20px);
  mask-image: linear-gradient(180deg, transparent 0 30%, #000 30% 70%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0 30%, #000 30% 70%, transparent 70%);
}
.knob {
  position: absolute; top: 50%; left: var(--fill, 10%);
  width: 26px; height: 26px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #ffffff, color-mix(in srgb, var(--temp-color) 85%, #000) 85%);
  border: 3px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0,0,0,.35), 0 0 16px var(--temp-color);
}
.end-icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; pointer-events: none;
}
.end-icon.cold { left: -40px; display: none; }
.end-icon.hot { right: -26px; color: var(--orange-600); }

.header-cta { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.header-phone {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--white); text-decoration: none; letter-spacing: .02em;
}
.header-phone:hover { color: var(--orange-300); }
.header-cta .btn { padding: .8em 1.2em; font-size: .8rem; }

@media (max-width: 1100px) {
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .brand img, .site-header.compact .brand img { width: 54px; height: 54px; }
  .site-header .brand-name { display: block; }
  .thermostat { flex-basis: 100%; padding: 6px 14px 6px 6px; gap: 10px; }
  .dial { width: 64px; height: 64px; }
  .dial-temp { font-size: 1.25rem; }
  .dial-mode { font-size: .45rem; }
  .scale-track { min-width: 560px; }
  .scale::after {
    /* swipe hint fade */
    content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 28px;
    background: linear-gradient(90deg, transparent, #e6edf6);
    pointer-events: none; border-radius: 0 999px 999px 0;
  }
}
.brand-name {
  display: none;
  font-family: var(--font-head); font-weight: 800; color: var(--white);
  font-size: 1.1rem; letter-spacing: .02em; line-height: 1.1;
}
.brand-name small { display: block; font-size: .6rem; letter-spacing: .3em; color: var(--blue-300); font-weight: 600; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; color: var(--white);
  min-height: min(82vh, 760px);
  display: flex; align-items: center;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  animation: slowzoom 18s ease-out forwards;
}
@keyframes slowzoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(5,11,23,.94) 0%, rgba(10,20,38,.78) 45%, rgba(10,20,38,.25) 100%),
    linear-gradient(0deg, rgba(5,11,23,.55), transparent 40%);
}
.hero .container { padding: 90px 0; }

/* Home hero: centered, semi-transparent logo instead of a photo */
.home-hero { background: radial-gradient(ellipse at center, var(--navy-800), var(--navy-950) 75%); }
.hero-logo {
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto min(88%, 680px);
  opacity: .32;
  mix-blend-mode: screen;          /* the logo's black backdrop melts into the navy */
  animation: slowzoom 18s ease-out forwards, logoBreathe 7s ease-in-out 18s infinite;
}
@keyframes logoBreathe { 50% { opacity: .42; } }
.home-hero::before {
  background: linear-gradient(90deg, rgba(5,11,23,.55) 0%, rgba(5,11,23,.15) 55%, rgba(5,11,23,0) 100%);
}
.hero h1 { max-width: 15ch; }
.hero h1 .hot { color: var(--orange-500); }
.hero h1 .cool { color: var(--blue-300); }
.hero p.lead { font-size: 1.2rem; max-width: 52ch; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.page-hero { min-height: 440px; }
.page-hero .container { padding: 70px 0; }
.page-hero .crumbs {
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 14px;
}
.page-hero .crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }

/* temperature strip under hero */
.temp-strip {
  height: 6px;
  background: linear-gradient(90deg, #1e5bd8, #4fb3ff, #ffffff, #ffd23f, #ff9a1f, #ff5a1a);
}

/* ==========================================================
   SECTIONS
   ========================================================== */
section { padding: 96px 0; }
.section-alt { background: rgba(245, 248, 253, .72); }
.section-dark {
  background: linear-gradient(160deg, rgba(10, 20, 38, .9), rgba(16, 32, 61, .9));
  color: var(--white);
}

/* frost <-> heat background canvas (js/ambient.js) */
.ambient-bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
.section-dark p { color: rgba(255,255,255,.8); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
  border-top: 4px solid var(--card-accent, var(--blue-500));
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.card-link {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--card-accent, var(--blue-600));
}
.card.hot { --card-accent: var(--orange-500); }
.card.cool { --card-accent: var(--blue-500); }

/* brand lists (heating page) */
.brand-groups { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.brand-group {
  padding: 32px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-top: 4px solid var(--blue-500);
}
.brand-group.hot { border-top-color: var(--orange-500); }
.brand-group h3 { color: var(--white); margin-bottom: 14px; }
.brand-group h3:not(:first-child) { margin-top: 26px; }
.brand-group p { margin: 14px 0 0; font-style: italic; }
.brand-group .brand-lead { margin: -4px 0 12px; font-style: normal; font-size: 1rem; }
.brand-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chips li {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(124,196,255,.1); border: 1px solid rgba(124,196,255,.35); color: var(--blue-100);
  transition: transform .2s ease, background .2s ease;
}
.brand-group.hot .brand-chips li { background: rgba(255,122,26,.1); border-color: rgba(255,154,31,.45); color: #ffe3cc; }
.brand-chips li:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.iaq-groups { grid-template-columns: repeat(3, 1fr); }
.iaq-groups .brand-lead { margin: 0 0 16px; color: rgba(255,255,255,.8); }
.cool-icon { --feature-accent: var(--blue-500); }
.brand-wide { text-align: center; margin-bottom: 24px; }
.brand-wide .brand-chips { justify-content: center; }
.ac-systems .brand-lead { margin-bottom: 0; }
@media (max-width: 860px) { .brand-groups, .iaq-groups { grid-template-columns: 1fr; } .brand-group { padding: 24px; } }

/* equipment cards */
.equip-cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .equip-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .equip-cards { grid-template-columns: 1fr; } }
.card-img { position: relative; }
.fuel-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.fuel-tag.gas { background: var(--blue-600); }
.fuel-tag.oil { background: var(--orange-600); }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { position: relative; }
.split-img img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.split-img.wide img { aspect-ratio: 4 / 3; }
.split-img.square { max-width: 480px; justify-self: center; width: 100%; }
.split-img.square img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.split-img::before {
  content: ""; position: absolute; inset: auto -16px -16px auto; width: 60%; height: 60%;
  border-radius: var(--radius); z-index: -1;
  background: linear-gradient(135deg, var(--accent-a, var(--blue-500)), var(--accent-b, var(--orange-500)));
  opacity: .9;
}
.split-img { isolation: isolate; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  section { padding: 72px 0; }
}

/* checklist */
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--check-bg, var(--blue-500)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist.hot { --check-bg: var(--orange-500); }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feature {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: border-color .3s ease, background .3s ease;
}
.feature:hover { border-color: var(--feature-accent, var(--orange-500)); background: rgba(255,255,255,.07); }
.section-alt .feature, .feature.light { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; color: var(--white);
  background: linear-gradient(135deg, var(--feature-accent, var(--orange-500)), color-mix(in srgb, var(--feature-accent, var(--orange-500)) 60%, #000));
}
.feature-icon svg { width: 26px; height: 26px; }
.feature p { font-size: 1rem; margin: 0; }
.feature.cool { --feature-accent: var(--blue-500); }
.feature.hot { --feature-accent: var(--orange-500); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 3 / 4; cursor: zoom-in; background: var(--navy-800); }
.gallery figure.wide { grid-column: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.gallery figure:hover img { transform: scale(1.06); opacity: .85; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--white);
  background: linear-gradient(0deg, rgba(5,11,23,.85), transparent);
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* stats / trust bar */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust div { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.trust div:last-child { border-right: 0; }
.trust strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--white); }
.trust span { font-size: .92rem; color: rgba(255,255,255,.65); }
.trust-bar { background: var(--navy-950); padding: 0; }
@media (max-width: 760px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div { border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(110deg, var(--blue-600) 0%, var(--navy-800) 48%, var(--orange-600) 100%);
  padding: 72px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }

/* quote / steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { position: relative; padding: 30px 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--blue-500), var(--orange-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-form { background: var(--white); color: var(--ink); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; color: var(--navy-700); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; margin-bottom: 18px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,124,246,.15);
}
.form-note { font-size: .9rem; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.about-intro .split { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 860px) { .about-intro .split { grid-template-columns: 1fr; } }

/* --- Featured "warming" family photo --- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.warm-photo { position: relative; margin: 0; }
.warm-frame {
  position: relative; padding: 7px; border-radius: 24px; isolation: isolate;
  box-shadow: 0 20px 50px rgba(30, 91, 216, .35), 0 0 0 rgba(255, 122, 26, 0);
  transition: box-shadow 3.2s ease;
}
.warm-frame::before, .warm-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
}
.warm-frame::before { /* cold frame */
  background: linear-gradient(135deg, #1e5bd8, #7cc4ff 50%, #1e5bd8);
}
.warm-frame::after { /* warm frame fades in, then slowly rotates */
  background: conic-gradient(from var(--ang), #ffd23f, #ff9a1f, #ff5a1a, #ffb36b, #ffd23f, #ff9a1f, #ff5a1a, #ffd23f);
  opacity: 0; transition: opacity 3.2s ease;
}
.warm-inner { position: relative; overflow: hidden; border-radius: 18px; background: var(--navy-900); }
.warm-inner img {
  width: 100%; aspect-ratio: 1 / 0.965; object-fit: cover;
  filter: saturate(.25) brightness(.85) contrast(1.05);
  transform: scale(1.06);
  transition: filter 3.2s ease, transform 4s ease;
}
.warm-tint {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(47, 124, 246, .55);
  mix-blend-mode: soft-light;
  transition: background 3.2s ease;
}
.warm-rise {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(120% 70% at 50% 115%, rgba(255, 150, 40, .55), transparent 60%),
    linear-gradient(0deg, rgba(255, 120, 30, .25), transparent 55%);
  mix-blend-mode: screen;
  transform: translateY(40%);
  transition: opacity 3.2s ease, transform 3.2s ease;
}
.warm-badge {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 8px 22px rgba(0,0,0,.25);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .06em;
  color: var(--navy-800); text-transform: uppercase;
}
.warm-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47,124,246,.2);
  transition: background 3.2s ease, box-shadow 3.2s ease;
}
.warm-temp { font-size: 1.15rem; font-weight: 800; color: var(--blue-600); transition: color 3.2s ease; font-variant-numeric: tabular-nums; }
.warm-photo figcaption {
  margin-top: 16px; text-align: center; font-family: var(--font-head); font-weight: 600;
  font-size: .9rem; color: var(--ink-soft); letter-spacing: .02em;
}

/* warming state */
.warm-photo.warming .warm-frame { box-shadow: 0 24px 60px rgba(234, 90, 12, .35), 0 0 60px rgba(255, 154, 31, .35); }
.warm-photo.warming .warm-frame::after { opacity: 1; }
.warm-photo.warming .warm-inner img { filter: saturate(1.15) brightness(1.04) contrast(1.02) sepia(.06); transform: scale(1); }
.warm-photo.warming .warm-tint { background: rgba(255, 150, 50, .28); }
.warm-photo.warming .warm-rise { opacity: 1; transform: translateY(0); }
.warm-photo.warming .warm-dot { background: var(--orange-500); box-shadow: 0 0 0 4px rgba(255,122,26,.25), 0 0 12px var(--orange-500); }
.warm-photo.warming .warm-temp { color: var(--orange-600); }

/* once warm: slow rotating ember border, gentle glow pulse and rising heat shimmer */
.warm-photo.warm .warm-frame { animation: warmPulse 3.5s ease-in-out infinite; }
.warm-photo.warm .warm-frame::after { animation: spinBorder 8s linear infinite; }
.warm-photo.warm .warm-rise { animation: heatShimmer 4s ease-in-out infinite; }
.warm-photo.warm .warm-dot { animation: dotGlow 1.8s ease-in-out infinite; }
@keyframes spinBorder { to { --ang: 360deg; } }
@keyframes warmPulse {
  0%, 100% { box-shadow: 0 24px 60px rgba(234, 90, 12, .30), 0 0 40px rgba(255, 154, 31, .25); }
  50%      { box-shadow: 0 24px 60px rgba(234, 90, 12, .45), 0 0 80px rgba(255, 154, 31, .5); }
}
@keyframes heatShimmer {
  0%, 100% { opacity: .75; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-4%); }
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,122,26,.25), 0 0 8px var(--orange-500); }
  50%      { box-shadow: 0 0 0 7px rgba(255,122,26,.12), 0 0 18px var(--orange-500); }
}

/* --- Shawn timeline --- */
.timeline { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.timeline li {
  padding: 16px; border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-top: 3px solid var(--orange-500);
}
.timeline li:nth-child(2) { border-top-color: var(--yellow-400); }
.timeline li:nth-child(3) { border-top-color: var(--blue-300); }
.timeline strong { display: block; font-family: var(--font-head); color: var(--white); font-size: 1.05rem; }
.timeline span { font-size: .92rem; color: rgba(255,255,255,.7); line-height: 1.4; display: block; margin-top: 4px; }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

/* --- Jessica / founded card --- */
.founded-card {
  padding: 40px; border-radius: 20px; color: var(--white);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.founded-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, #1e5bd8, #4fb3ff, #ffffff, #ffd23f, #ff9a1f, #ff5a1a);
}
.founded-date {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--blue-300), var(--orange-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.founded-card p { color: rgba(255,255,255,.82); }
.founded-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.founded-split > div {
  padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06);
  font-family: var(--font-head); font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.founded-split small { flex-basis: 100%; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: rgba(255,255,255,.65); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.hot { background: var(--orange-500); }
.dot.cool { background: var(--blue-300); }
@media (max-width: 600px) { .founded-card { padding: 28px; } .founded-split { grid-template-columns: 1fr; } }

/* --- Roots --- */
.roots-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.pull-quote {
  margin: 0; padding: 36px 36px 30px; border-radius: 20px; position: relative;
  background: var(--white); box-shadow: var(--shadow-lg); border-left: 6px solid var(--orange-500);
}
.pull-quote::before {
  content: "\201C"; position: absolute; top: -18px; left: 22px;
  font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--orange-500);
}
.pull-quote p { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.45; color: var(--navy-800); }
.pull-quote cite { font-style: normal; font-family: var(--font-head); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
@media (max-width: 860px) { .roots-grid { grid-template-columns: 1fr; gap: 36px; } }

/* --- Promise --- */
.promise-list { grid-template-columns: 1fr 1fr; }
.promise-list .feature h3 { margin: 0; }
.promise-goal {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.5;
  color: var(--white) !important; border-left: 4px solid var(--orange-500); padding-left: 18px; margin-top: 24px;
}
@media (max-width: 600px) { .promise-list { grid-template-columns: 1fr; } }

/* --- Closing letter --- */
.letter { max-width: 780px; text-align: center; }
.letter p { font-size: 1.12rem; color: var(--ink-soft); }
.letter-thanks { font-weight: 600; color: var(--ink) !important; margin-top: 28px; }
.signature {
  font-family: "Dancing Script", cursive; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1.2; margin-top: 10px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.signature-sub { font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-700); margin-top: 6px; }

/* ==========================================================
   REQUEST SERVICE PAGE
   ========================================================== */
.request-hero { min-height: 360px; }
.request-section { padding-top: 72px; }
.request-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.request-form h2 { margin-bottom: .2em; }
.form-intro { color: var(--ink-soft); font-size: .95rem; margin-bottom: 24px; }
.req { color: var(--orange-600); }
.opt { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-family: var(--font-body); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contact-form .invalid { border-color: var(--orange-600); box-shadow: 0 0 0 4px rgba(234,90,12,.15); }

.choice-group { border: 0; padding: 0; margin: 0 0 18px; }
.choice-group legend {
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 8px; color: var(--navy-700); padding: 0;
}
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block; text-align: center; padding: 12px 10px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .02em; text-transform: none;
  color: var(--navy-700); transition: all .2s ease;
}
.choice:hover span { border-color: var(--blue-300); }
.choice input:checked + span {
  border-color: var(--blue-500); background: var(--blue-100); color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(47,124,246,.15);
}
.choice input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
@media (max-width: 520px) { .choices { grid-template-columns: 1fr; } }

.form-error {
  margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; font-size: .98rem;
  background: #fff1e8; color: #9a3a06; border: 1px solid #ffc9a3;
}
.btn-submit { width: 100%; justify-content: center; font-size: 1rem; }
.btn-submit:disabled { opacity: .7; cursor: wait; transform: none; }

.form-success {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 48px 40px; text-align: center; outline: none;
  border-top: 5px solid var(--orange-500);
}
.success-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--orange-500));
  box-shadow: 0 10px 30px rgba(234,90,12,.3);
}
.success-icon svg { width: 34px; height: 34px; }
.form-success p { color: var(--ink-soft); }

.request-aside { display: grid; gap: 20px; }
.aside-card {
  padding: 28px; border-radius: var(--radius); color: var(--white);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  box-shadow: var(--shadow);
}
.aside-card h3 { font-size: 1.05rem; }
.aside-card p { margin: 0; color: rgba(255,255,255,.75); font-size: 1rem; }
.aside-phone {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem;
  color: var(--orange-500); text-decoration: none; margin-bottom: 4px;
}
.aside-card.light { background: var(--white); color: var(--ink); border-top: 4px solid var(--blue-500); }
.aside-card.light p { color: var(--ink-soft); margin-bottom: 8px; }
.next-steps { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 1rem; display: grid; gap: 6px; }
@media (max-width: 900px) { .request-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 40px; }
.social-links { gap: 14px !important; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; }
.social-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon.fb { background: #1877f2; }
.social-icon.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-links a:hover .social-icon { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.35); }
@media (max-width: 1000px) and (min-width: 761px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--orange-300); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Reveal-on-scroll + lightbox
   ========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 500; display: none; place-items: center;
  background: rgba(5,11,23,.92); padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
