/* =========================================================
   HVAC System Care — style.css
   Theme 6: fresh editorial HVAC layout
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --charcoal: #21272d;
  --charcoal-deep: #171c21;
  --charcoal-soft: #2b333a;

  --off-white: #f4f1ea;
  --paper: #fbfaf6;
  --card: #ffffff;

  --cool-gray: #e3e6e8;
  --blue-gray: #aab6c0;
  --blue-gray-dark: #7c8a95;

  --teal: #3d7d72;
  --teal-dark: #2e615a;
  --teal-soft: #d9e8e2;
  --teal-pale: #eef5f2;

  --text: #323a41;
  --muted: #69737b;

  --border: rgba(33, 39, 45, 0.14);
  --border-light: rgba(255, 255, 255, 0.14);

  --radius: 16px;
  --radius-sm: 10px;

  --shadow-1: 0 1px 2px rgba(23, 28, 33, 0.06);
  --shadow-2: 0 14px 34px rgba(23, 28, 33, 0.12);

  --font-head: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --header-h: 118px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

section {
  scroll-margin-top: calc(var(--header-h) + 6px);
}

/* ---------- Utilities ---------- */
.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--charcoal);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-head {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  max-width: 720px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  margin: 0.5rem 0 1rem;
}

.section-head-split {
  max-width: none;
  display: grid;
  gap: 1rem;
  align-items: end;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow-light {
  color: var(--teal-soft);
}

.section-note {
  color: var(--muted);
  max-width: 54ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 18px rgba(61, 125, 114, 0.25);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-primary i {
  transition: transform 0.25s ease;
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--paper);
  color: var(--charcoal);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal);
  font-size: 0.95rem;
}

.link-arrow i {
  transition: transform 0.25s ease;
}

.link-arrow:hover i {
  transform: translateX(5px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(23, 28, 33, 0.1);
}

/* Utility strip */
.utility-strip {
  background: var(--charcoal);
  color: var(--blue-gray);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.utility-brand {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper);
}

.utility-sep {
  color: var(--blue-gray-dark);
}

.utility-right {
  display: flex;
  gap: 1.2rem;
}

.utility-right a {
  transition: color 0.2s ease;
}

.utility-right a:hover {
  color: #fff;
}

/* Main bar */
.mainbar {
  background: var(--off-white);
}

.mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--teal-soft);
  font-size: 1.15rem;
}

.wordmark-mark i {
  animation: spin-slow 12s linear infinite;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  line-height: 1.1;
}

.wordmark-text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--blue-gray-dark);
  text-transform: uppercase;
}

/* Desktop navigation */
.mainnav {
  display: none;
  align-items: center;
  gap: 2.2rem;
}

.mainnav a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  position: relative;
  padding: 0.3rem 0;
}

.mainnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.mainnav a:hover::after,
.mainnav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
  padding: 0.65rem 1.3rem;
  font-size: 0.85rem;
}

/* Burger */
.burger {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
}

.burger .bar {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 3px;
  background: var(--charcoal);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.burger.active .bar:nth-child(2) {
  opacity: 0;
}

.burger.active .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 1.5rem 1.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 24px 40px rgba(23, 28, 33, 0.12);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--charcoal);
}

.mobile-menu a:hover {
  color: var(--teal);
}

.mobile-menu .btn {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(900px 500px at 85% -10%, var(--teal-pale) 0%, transparent 60%),
    var(--off-white);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-title {
  font-size: clamp(2.05rem, 5.2vw, 3.9rem);
  font-weight: 800;
  margin: 1rem 0 1.4rem;
}

.hero-title em,
.hero-title .accent-line {
  font-style: normal;
  color: var(--teal);
}

.hero-intro {
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

/* Hero visual composition */
.hero-visual {
  position: relative;
}

.hero-media {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-2);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shape {
  position: absolute;
  z-index: 1;
  top: -26px;
  right: -18px;
  width: 170px;
  height: 200px;
  border-radius: 34px;
  background: var(--teal-soft);
  transform: rotate(10deg);
}

.hero-line {
  position: absolute;
  z-index: 3;
  top: 30%;
  right: -22px;
  width: 58px;
  height: 3px;
  background: var(--teal);
  border-radius: 3px;
  transform: rotate(-28deg);
}

.hero-float {
  position: absolute;
  z-index: 4;
  top: 12%;
  left: -16px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 1.2rem;
  box-shadow: var(--shadow-2);
  animation: floaty 4.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-tag {
  position: absolute;
  z-index: 4;
  top: 8%;
  right: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--blue-gray-dark);
  box-shadow: var(--shadow-1);
}

.hero-panel {
  position: relative;
  z-index: 4;
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
}

.panel-title {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 0.7rem;
}

.hero-panel ul {
  display: grid;
  gap: 0.45rem;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text);
}

.hero-panel li i {
  width: 18px;
  color: var(--teal);
  font-size: 0.85rem;
}

/* ---------- Quick Service Navigation ---------- */
.quicknav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.quicknav-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.quick-block {
  position: relative;
  display: block;
  padding: 1.7rem 1.5rem 1.9rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, transform 0.3s ease;
}

.quick-block:last-child {
  border-bottom: 0;
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.quick-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.quick-block p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 30ch;
}

.quick-arrow {
  position: absolute;
  right: 1.4rem;
  bottom: 1.6rem;
  color: var(--blue-gray-dark);
  transition: transform 0.3s ease, color 0.3s ease;
}

.quick-block:hover {
  background: var(--off-white);
}

.quick-block:hover .quick-icon {
  background: var(--teal);
  color: #fff;
  transform: rotate(-6deg) translateY(-3px);
}

.quick-block:hover .quick-arrow {
  color: var(--teal);
  transform: translate(4px, 4px);
}

/* ---------- Signals (expand / collapse) ---------- */
.signals {
  background: var(--paper);
}

.signals-grid {
  display: grid;
  gap: 2.5rem;
}

.signals-intro h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  margin: 0.5rem 0 1.1rem;
}

.signals-intro > p:last-child {
  color: var(--muted);
  max-width: 52ch;
}

.signal-item {
  border-bottom: 1px solid var(--border);
}

.signal-item:first-child {
  border-top: 1px solid var(--border);
}

.signal-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0.25rem;
  text-align: left;
}

.signal-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue-gray-dark);
  letter-spacing: 0.12em;
}

.signal-toggle h3 {
  flex: 1;
  font-size: 1.05rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.signal-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--teal);
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}

.signal-toggle:hover h3 {
  color: var(--teal);
}

.signal-toggle:hover .signal-icon {
  background: var(--teal);
  color: #fff;
}

.signal-item.open .signal-icon {
  transform: rotate(45deg);
  background: var(--teal);
  color: #fff;
}

.signal-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.signal-inner {
  overflow: hidden;
  min-height: 0;
}

.signal-inner p {
  padding: 0 1rem 1.2rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.signal-item.open .signal-body {
  grid-template-rows: 1fr;
}

/* ---------- Services (magazine) ---------- */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.service-featured .eyebrow {
  margin: 1.4rem 0 0.4rem;
}

.service-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-2);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-media:hover img {
  transform: scale(1.04);
}

.service-media-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--teal-soft);
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-featured h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.7rem;
}

.service-featured > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 1.2rem;
}

.service-list {
  display: grid;
  gap: 1.6rem;
  align-content: start;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-row-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 1.05rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-row-text {
  flex: 1;
  min-width: 0;
}

.service-row-text h3 {
  font-size: 1.06rem;
  margin-bottom: 0.2rem;
  transition: color 0.25s ease;
}

.service-row-text p {
  font-size: 0.9rem;
  color: var(--muted);
}

.service-row-arrow {
  flex: 0 0 auto;
  color: var(--blue-gray-dark);
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-row:hover {
  transform: translateX(8px);
}

.service-row:hover .service-row-icon {
  background: var(--teal);
  color: #fff;
  transform: rotate(-8deg);
}

.service-row:hover .service-row-text h3 {
  color: var(--teal);
}

.service-row:hover .service-row-arrow {
  color: var(--teal);
  transform: rotate(90deg);
}

/* ---------- Anatomy ---------- */
.anatomy {
  background: var(--paper);
}

.anatomy-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  margin-bottom: 2rem;
}

.anatomy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anatomy-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(23, 28, 33, 0.75), transparent);
  color: var(--paper);
  font-size: 0.88rem;
}

.anatomy-list {
  display: grid;
  gap: 0.4rem;
}

.anatomy-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0.4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s ease;
}

.anatomy-item::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--teal);
  border-radius: 3px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.anatomy-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cool-gray);
  letter-spacing: -0.02em;
  min-width: 3ch;
  transition: color 0.3s ease;
}

.anatomy-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.anatomy-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

.anatomy-item:hover {
  transform: translateX(8px);
}

.anatomy-item:hover::before {
  transform: scaleY(1);
}

.anatomy-item:hover .anatomy-num {
  color: var(--teal);
}

/* ---------- Maintenance timeline ---------- */
.maintenance {
  background: var(--off-white);
}

.timeline {
  position: relative;
  display: grid;
  gap: 2.2rem;
  padding-left: 2.2rem;
}

.timeline-track {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--cool-gray);
  border-radius: 3px;
}

.timeline-progress {
  position: absolute;
  inset: 0;
  background: var(--teal);
  border-radius: 3px;
  transform: scaleY(var(--p, 0));
  transform-origin: top;
}

.timeline-step {
  position: relative;
}

.timeline-num {
  position: absolute;
  left: -2.2rem;
  top: -4px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal);
  box-shadow: var(--shadow-1);
}

.timeline-step h3 {
  font-size: 1.2rem;
  margin: 0.4rem 0 0.35rem;
}

.timeline-step p {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 34ch;
}

/* ---------- Repair process (dark) ---------- */
.process {
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(61, 125, 114, 0.18) 0%, transparent 55%),
    var(--charcoal-deep);
  color: var(--blue-gray);
}

.process h2,
.process h3 {
  color: var(--off-white);
}

.process .section-note {
  color: var(--blue-gray);
}

.process-grid {
  display: grid;
  gap: 3rem;
}

.process-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  margin: 0.5rem 0 1rem;
}

.process-media {
  margin-top: 1.8rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-light);
}

.process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-steps {
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.process-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--blue-gray-dark);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--teal-soft);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--blue-gray);
}

.process-step:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--teal);
}

.process-step:hover .process-num {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
}

.process-step.reveal.in .process-num {
  animation: num-pop 0.6s ease backwards;
}

@keyframes num-pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- About ---------- */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  gap: 2.8rem;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  margin: 0.5rem 0 1.1rem;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 58ch;
}

.about-copy .link-arrow {
  margin-top: 0.4rem;
}

.about-identity {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 1.5rem;
  padding: 1.3rem 1.4rem;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.identity-item {
  display: grid;
  gap: 0.15rem;
}

.identity-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.identity-value {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--charcoal);
  font-size: 1rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}

.about-actions .btn i {
  font-size: 0.9rem;
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  box-shadow: var(--shadow-2);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(23, 28, 33, 0.72), transparent);
  color: var(--paper);
  font-size: 0.86rem;
}

/* ---------- Contact CTA ---------- */
.cta {
  background:
    radial-gradient(700px 400px at 85% 20%, rgba(61, 125, 114, 0.35) 0%, transparent 60%),
    var(--charcoal-deep);
  color: var(--blue-gray);
}

.cta-inner {
  max-width: 640px;
}

.cta-inner h2 {
  color: var(--off-white);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  margin: 0.5rem 0 1.1rem;
}

.cta-inner p:not(.eyebrow) {
  color: var(--blue-gray);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal-deep);
  color: var(--blue-gray);
  border-top: 1px solid var(--border-light);
}

/* Contact details row */
.footer-contact {
  display: grid;
  gap: 1.1rem;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.6rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 1.05rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-contact-item:hover .contact-icon {
  background: var(--teal-dark);
  transform: rotate(-8deg) scale(1.05);
}

.contact-meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.contact-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-gray-dark);
}

.contact-value {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--off-white);
  word-break: break-word;
}

a.contact-value:hover {
  color: var(--teal-soft);
}

.footer-grid {
  display: grid;
  gap: 2.2rem 3rem;
  padding: 0 0 2.5rem;
}

.footer-grid .footer-col {
  min-width: 0;
}

.wordmark-footer .wordmark-mark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--teal-soft);
}

.wordmark-footer .wordmark-text {
  color: var(--off-white);
}

.wordmark-footer .wordmark-text small {
  color: var(--blue-gray-dark);
}

.footer-blurb {
  font-size: 0.9rem;
  max-width: 30ch;
  color: var(--blue-gray-dark);
  margin-top: 1rem;
}

.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.92rem;
  position: relative;
  transition: color 0.2s ease;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-col a:hover {
  color: var(--off-white);
}

.footer-col a:hover::after {
  transform: scaleX(1);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 1.3rem 0 1.8rem;
  font-size: 0.82rem;
  color: var(--blue-gray-dark);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helpers */
.quicknav .reveal:nth-child(2) { --d: 0.08s; }
.quicknav .reveal:nth-child(3) { --d: 0.16s; }
.quicknav .reveal:nth-child(4) { --d: 0.24s; }

.service-list .reveal:nth-child(2) { --d: 0.05s; }
.service-list .reveal:nth-child(3) { --d: 0.1s; }
.service-list .reveal:nth-child(4) { --d: 0.15s; }
.service-list .reveal:nth-child(5) { --d: 0.2s; }
.service-list .reveal:nth-child(6) { --d: 0.25s; }

.anatomy-list .reveal:nth-child(2) { --d: 0.05s; }
.anatomy-list .reveal:nth-child(3) { --d: 0.1s; }
.anatomy-list .reveal:nth-child(4) { --d: 0.15s; }
.anatomy-list .reveal:nth-child(5) { --d: 0.2s; }
.anatomy-list .reveal:nth-child(6) { --d: 0.25s; }

/* ---------- Responsive: tablet (>=640px) ---------- */
@media (min-width: 640px) {

  .quicknav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-block:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .quick-block:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .hero-panel {
    width: 250px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-contact {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem 2rem;
  }

}

/* ---------- Responsive: desktop (>=900px) ---------- */
@media (min-width: 900px) {

  :root {
    --header-h: 118px;
  }

  .mainnav {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .burger {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .hero-panel {
    position: absolute;
    left: -34px;
    bottom: -26px;
    margin: 0;
  }

  .hero-media {
    aspect-ratio: 5 / 4.6;
  }

  .signals-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .anatomy-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
  }

  .anatomy-media {
    margin-bottom: 0;
    aspect-ratio: 4 / 4.6;
  }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding-left: 0;
    padding-top: 3.4rem;
  }

  .timeline-track {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
  }

  .timeline-progress {
    inset: 0;
    transform: scaleX(var(--p, 0));
    transform-origin: left;
  }

  .timeline-num {
    top: -3.4rem;
    left: 0;
  }

  .process-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4.5rem;
    align-items: start;
  }

  .about-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 4.5rem;
  }

  .about-identity {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head-split {
    grid-template-columns: 1.2fr 0.8fr;
  }

}

/* ---------- Responsive: large desktop (>=1100px) ---------- */
@media (min-width: 1100px) {

  .quicknav-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quick-block {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .quick-block:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .quick-block:last-child {
    border-right: 0;
  }

  .about-media {
    aspect-ratio: 4 / 4.4;
  }

  .footer-contact {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-line {
    right: -30px;
  }

}

/* ---------- Small screens (<=479px) ---------- */
@media (max-width: 479px) {
  .utility-tag,
  .utility-sep {
    display: none;
  }

  .utility-right {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-tag {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .wordmark-mark i,
  .hero-float {
    animation: none;
  }

}