/* ==========================================================
   Coastal-cool HVAC theme
   Ocean #023E58 · Sky #4FC3F7 · Sunset #FF8C42
   Sea-salt #F3F9FB · Ink #0E1A22
   ========================================================== */

:root {
  --ocean: #023E58;
  --ocean-2: #03506f;
  --ocean-deep: #012a3c;
  --sky: #4FC3F7;
  --sky-soft: #d6f0fc;
  --sunset: #FF8C42;
  --sunset-dark: #e86f22;
  --salt: #F3F9FB;
  --ink: #0E1A22;
  --ink-soft: #3a4d59;
  --line: #d3e4ec;
  --white: #ffffff;
  --flag-h: 30px;
  --head-h: 84px;
  --head-h-solid: 68px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -18px rgba(2, 62, 88, 0.45);
  --display: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--flag-h) + var(--head-h-solid) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--flag-h);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--salt);
}

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

a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--ocean-2); }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ocean);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1.1em; }
h1, h2, h3, .hero-card p { overflow-wrap: break-word; }

.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }

:focus-visible {
  outline: 3px solid var(--sunset);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--sunset);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 700;
}
.skip:focus { top: 2.5rem; }

/* ---------- advertorial flag ---------- */
.ad-flag {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--flag-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--sky);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.ad-flag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sunset);
}

/* ---------- masthead: overlays the hero, turns solid on scroll ---------- */
.masthead {
  position: fixed;
  top: var(--flag-h);
  left: 0;
  right: 0;
  z-index: 80;
  color: var(--white);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.masthead::before {
  content: "";
  position: absolute;
  inset: 0 0 -48px 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(1, 30, 44, 0.82) 0%, rgba(1, 30, 44, 0.6) 55%, rgba(1, 30, 44, 0) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.masthead.is-solid,
.no-js .masthead {
  background: var(--ocean);
  box-shadow: 0 12px 30px -14px rgba(1, 20, 30, 0.6);
}
.masthead.is-solid::before,
.no-js .masthead::before { opacity: 0; }

.masthead-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--head-h);
  padding: 0 clamp(1rem, 3vw, 2.75rem);
  transition: height 0.3s ease;
}
.is-solid .masthead-bar { height: var(--head-h-solid); }

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
  border-radius: 10px;
}
.brand img { display: block; height: 46px; width: auto; }

.topnav { display: none; margin-left: auto; }
.topnav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.topnav-list > li { position: relative; }
.topnav-list > li > a,
.menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--white);
  font: 600 0.98rem var(--display);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.topnav-list > li > a::after,
.menu-trigger::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.topnav-list > li > a:hover,
.menu-trigger:hover { color: var(--white); }
.topnav-list > li > a:hover::after,
.topnav-list > li > a[aria-current="page"]::after,
.menu-trigger:hover::after,
.menu-trigger.is-current::after { transform: scaleX(1); }
.menu-trigger svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.has-menu.open .menu-trigger svg { transform: rotate(180deg); }

.systems-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  min-width: 300px;
  margin: 0;
  padding: 0.55rem;
  list-style: none;
  border-radius: var(--radius);
  background: rgba(2, 62, 88, 0.95);
  border: 1px solid rgba(79, 195, 247, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(1, 20, 30, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.systems-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -0.7rem;
  height: 0.7rem;
}
.has-menu.open .systems-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.systems-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  color: rgba(243, 249, 251, 0.92);
  font: 500 0.96rem var(--display);
  text-decoration: none;
}
.systems-menu a:hover,
.systems-menu a:focus-visible { background: rgba(79, 195, 247, 0.16); color: var(--white); }
.systems-menu a[aria-current="page"] { background: rgba(79, 195, 247, 0.2); color: var(--white); box-shadow: inset 3px 0 0 var(--sky); }

.masthead-actions { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.6rem;
  border-radius: 999px;
  color: var(--sky);
  font: 700 0.98rem var(--display);
  text-decoration: none;
  white-space: nowrap;
}
.call-link svg { width: 20px; height: 20px; flex: none; }
.call-link:hover { color: var(--white); }
.call-link span {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.masthead .btn-quote { display: none; min-height: 44px; padding: 0.6rem 1.25rem; font-size: 0.95rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(79, 195, 247, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: 700 0.85rem var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger { position: relative; }
.burger::before,
.burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.menu-open .burger { background: transparent; }
.menu-open .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger::after { transform: translateY(-6px) rotate(-45deg); }
.menu-open .masthead { background: var(--ocean); }
.menu-open .masthead::before { opacity: 0; }
.menu-open { overflow: hidden; }

/* full-height panel below 1024px */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--flag-h) + var(--head-h) + 1rem) 1.4rem 1.6rem;
  background:
    radial-gradient(120% 60% at 100% 100%, rgba(79, 195, 247, 0.18), transparent 60%),
    var(--ocean);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.menu-open .drawer {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.75rem;
  border-radius: 12px;
  color: rgba(243, 249, 251, 0.9);
  text-decoration: none;
  font: 500 1.02rem var(--display);
  line-height: 1.3;
}
.drawer-nav a:hover { background: rgba(79, 195, 247, 0.12); color: var(--white); }
.drawer-nav a[aria-current="page"] { background: rgba(79, 195, 247, 0.18); color: var(--white); box-shadow: inset 3px 0 0 var(--sky); }
.drawer-nav .ico { width: 18px; height: 18px; color: var(--sky); }
.drawer-group {
  display: block;
  margin: 1rem 0 0.3rem 0.75rem;
  font: 700 0.7rem var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
}
.drawer-sub a { padding-left: 1.1rem; font-size: 0.97rem; }
.drawer-sub a::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--sky);
}
.drawer-foot { margin-top: auto; padding-top: 1.4rem; display: grid; gap: 0.75rem; }
.drawer-phone {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(79, 195, 247, 0.25);
  color: var(--white);
  text-decoration: none;
}
.drawer-phone small { font: 700 0.7rem var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
.drawer-phone span { font: 700 1.05rem var(--display); overflow-wrap: anywhere; }
.drawer-phone:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }

/* content starts beneath the overlaid masthead */
main > :first-child { padding-top: calc(var(--head-h) + 1rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem var(--display);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-sun { background: var(--sunset); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 140, 66, 0.8); }
.btn-sun:hover { background: #ff9d5c; color: var(--ink); transform: translateY(-2px); }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: var(--white); border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); color: var(--white); }
.btn-ocean { background: var(--ocean); color: var(--white); }
.btn-ocean:hover { background: var(--ocean-2); color: var(--white); }
.btn-line { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn-line:hover { background: var(--ocean); color: var(--white); }

/* ---------- layout helpers ---------- */
.shell { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.shell-narrow { width: min(860px, 100% - 2.5rem); margin-inline: auto; }
.band { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.band-white { background: var(--white); }
.band-ocean { background: var(--ocean); color: var(--salt); }
.band-ocean h2, .band-ocean h3 { color: var(--white); }
.band-ocean a { color: var(--sky); }

.lead-in { max-width: 62ch; color: var(--ink-soft); font-size: 1.12rem; }
.band-ocean .lead-in { color: rgba(243, 249, 251, 0.82); }
.head-block { margin-bottom: clamp(2rem, 4vw, 3rem); }
.head-center { text-align: center; }
.head-center .lead-in { margin-inline: auto; }

/* ---------- waves ---------- */
.wave {
  display: block;
  width: 100%;
  height: clamp(42px, 6vw, 90px);
  margin: 0;
}
.wave path { fill: currentColor; }
.wave-salt { color: var(--salt); }
.wave-white { color: var(--white); }
.wave-ocean { color: var(--ocean); }
.wave-sky { color: var(--sky-soft); }
.wave-overlap { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }
.wave-overlap-top { position: absolute; left: 0; right: 0; top: -1px; z-index: 2; transform: scaleY(-1); }
.bg-salt { background: var(--salt); }
.bg-white { background: var(--white); }
.bg-ocean { background: var(--ocean); }
.bg-salt .wave, .bg-white .wave, .bg-ocean .wave { margin-bottom: -1px; }
.photo-band > .band,
.reach > .band { padding-block: calc(clamp(3.5rem, 7vw, 6rem) + clamp(42px, 6vw, 90px)); }

/* ---------- full-bleed hero ---------- */
.hero-full {
  position: relative;
  min-height: calc(100vh - var(--flag-h));
  min-height: calc(100svh - var(--flag-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-full > img,
.hero-page > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-full::after,
.hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(200deg, rgba(2, 62, 88, 0) 30%, rgba(2, 42, 60, 0.72) 100%),
    linear-gradient(0deg, rgba(14, 26, 34, 0.35), rgba(14, 26, 34, 0) 50%);
}

.glass {
  background: rgba(2, 62, 88, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(1, 20, 30, 0.7);
}

.hero-card {
  position: relative;
  width: min(640px, 100% - 2.5rem);
  margin: 0 0 clamp(5rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 4.5rem);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.hero-card h1 { color: var(--white); margin-bottom: 0.45em; }
.hero-card h1 em { font-style: normal; color: var(--sky); }
.hero-card p { color: rgba(255, 255, 255, 0.9); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

.scroll-cue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(5rem, 9vw, 7.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
  font: 700 0.72rem var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue:hover { color: var(--sky); }
.scroll-cue span.track {
  writing-mode: horizontal-tb;
  width: 26px; height: 42px;
  border: 2px solid currentColor;
  border-radius: 20px;
  position: relative;
}
.scroll-cue span.track::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--sunset);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- inner page hero ---------- */
.hero-page {
  position: relative;
  min-height: clamp(380px, 58vh, 560px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-page .glass {
  width: min(760px, 100% - 2.5rem);
  margin: 0 0 clamp(4.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.hero-page h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); }
.hero-page p { color: rgba(255, 255, 255, 0.9); margin: 0; font-size: 1.08rem; }
main > .hero-plain {
  min-height: 0;
  padding-top: calc(var(--head-h) + clamp(2.5rem, 6vw, 4.5rem));
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(79, 195, 247, 0.35), transparent 60%),
    linear-gradient(160deg, var(--ocean) 0%, var(--ocean-deep) 100%);
}
.hero-plain::after { display: none; }

.trail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.trail li + li::before { content: "/"; margin-right: 0.4rem; color: var(--sky); }
.trail a { color: var(--white); }

/* ---------- masonry services ---------- */
.masonry { columns: 3 300px; column-gap: 1.25rem; }
.tile {
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--ocean);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.tile img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tile-tall img { height: 470px; }
.tile-mid img { height: 360px; }
.tile-short img { height: 270px; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 62, 88, 0) 35%, rgba(1, 30, 44, 0.78) 100%);
  z-index: 0;
}
.tile-body {
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.9rem;
  z-index: 1;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
}
.tile h3 { color: var(--white); margin-bottom: 0.3rem; }
.tile p { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.88); line-height: 1.5; }
.tile .more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font: 700 0.85rem var(--display);
  color: var(--sky);
}
.tile:hover img { transform: scale(1.05); }
.tile:hover { color: var(--white); }
.tile-note {
  break-inside: avoid;
  margin: 0 0 1.25rem;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--sunset);
  color: var(--ink);
}
.tile-note h3 { color: var(--ink); }
.tile-note p { margin-bottom: 1rem; }
.tile-note .btn { background: var(--ink); color: var(--white); }
.tile-note .btn:hover { background: var(--ocean); color: var(--white); }

/* Wide screens: CSS columns split the seven tiles 3/3/1, so place them on a
   10px-row grid instead. Spans = image height + 20px gap; columns end within one row. */
@media (min-width: 1000px) {
  .masonry { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 10px; grid-auto-flow: dense; column-gap: 1.25rem; }
  .masonry > * { margin: 0; align-self: start; }
  .masonry .tile-tall { grid-row: span 49; }
  .masonry .tile-mid { grid-row: span 38; }
  .masonry .tile-short { grid-row: span 29; }
  .masonry .tile-note { grid-row: span 30; height: 280px; display: flex; flex-direction: column; justify-content: center; }
  .masonry > :nth-child(1), .masonry > :nth-child(7) { grid-column: 1; }
  .masonry > :nth-child(2), .masonry > :nth-child(4), .masonry > :nth-child(6) { grid-column: 2; }
  .masonry > :nth-child(3), .masonry > :nth-child(5) { grid-column: 3; }
}

/* ---------- comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.table-wrap:focus-visible { outline-offset: 4px; }
.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.compare caption {
  text-align: left;
  padding: 1rem 1.3rem;
  font: 600 0.9rem var(--display);
  color: var(--ink-soft);
  caption-side: bottom;
  border-top: 1px solid var(--line);
}
.compare th,
.compare td {
  padding: 1.05rem 1.3rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  background: var(--ocean);
  color: var(--white);
  font: 700 0.82rem var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.compare tbody th {
  font-family: var(--display);
  color: var(--ocean);
  font-size: 1.05rem;
  width: 18%;
}
.compare tbody th small {
  display: block;
  font: 500 0.8rem var(--text);
  color: var(--ink-soft);
}
.compare tbody tr:nth-child(even) { background: #f7fbfd; }
.compare ul { margin: 0; padding-left: 1.1rem; }
.compare li + li { margin-top: 0.25rem; }
.tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font: 700 0.72rem var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--sky-soft);
  color: var(--ocean);
}

/* ---------- photo band with glass tips ---------- */
.photo-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.photo-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(1, 42, 60, 0.92) 0%, rgba(2, 62, 88, 0.78) 55%, rgba(2, 62, 88, 0.55) 100%);
}
.photo-band h2, .photo-band h3 { color: var(--white); }
.photo-band .lead-in { color: rgba(255, 255, 255, 0.85); }

.tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
  counter-reset: tip;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tips li {
  counter-increment: tip;
  padding: 1.5rem 1.4rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tips li::before {
  content: counter(tip, decimal-leading-zero);
  display: block;
  font: 800 1.9rem var(--display);
  color: var(--sunset);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.tips h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.tips p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 0.97rem; }

/* ---------- process steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 4%; right: 4%; top: 31px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M0 7c5-6 10-6 20 0s15 6 20 0' fill='none' stroke='%234FC3F7' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 40px 14px;
  z-index: 0;
}
.steps li { position: relative; z-index: 1; }
.step-num {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  font: 800 1.3rem var(--display);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--sky);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- reviews ---------- */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.voice {
  margin: 0;
  padding: 1.8rem 1.6rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(79, 195, 247, 0.3);
  position: relative;
}
.voice:nth-child(2) { transform: translateY(1.6rem); }
.voice svg { width: 34px; height: 34px; color: var(--sunset); margin-bottom: 0.8rem; }
.voice blockquote { margin: 0 0 1rem; font-size: 1.05rem; color: rgba(243, 249, 251, 0.92); }
.voice figcaption { font: 700 0.95rem var(--display); color: var(--sky); }
.voice figcaption span { display: block; font: 500 0.82rem var(--text); color: rgba(243, 249, 251, 0.7); }
.voices-note { margin-top: 3rem; font-size: 0.85rem; color: rgba(243, 249, 251, 0.7); text-align: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details[open] { border-color: var(--sky); box-shadow: 0 10px 30px -18px rgba(2, 62, 88, 0.5); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font: 700 1.05rem var(--display);
  color: var(--ocean);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23023E58' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / 16px;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sunset); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- contact / form ---------- */
.reach {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.reach > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.reach::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(1, 42, 60, 0.94) 0%, rgba(2, 62, 88, 0.82) 45%, rgba(2, 62, 88, 0.45) 100%);
}
.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.reach-copy { color: var(--white); }
.reach-copy h1,
.reach-copy h2 { color: var(--white); }
.reach-copy p { color: rgba(255, 255, 255, 0.88); }
.reach-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.reach-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.reach-list .ico-bubble {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(79, 195, 247, 0.18);
  border: 1px solid rgba(79, 195, 247, 0.45);
  color: var(--sky);
}
.reach-list svg { width: 20px; height: 20px; }
.reach-list small {
  display: block;
  font: 700 0.72rem var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
}
.reach-list a, .reach-list span.val {
  color: var(--white);
  font: 600 1.05rem var(--display);
  overflow-wrap: anywhere;
}

.form-card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white);
}
.form-card h3 { color: var(--white); font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font: 700 0.85rem var(--display);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.95);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: 400 1rem var(--text);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sunset);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.45);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #ffb3b3; box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.45); }
.sum-row { display: flex; align-items: flex-end; gap: 0.9rem; }
.sum-q {
  flex: none;
  min-width: 112px;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: var(--sky);
  color: var(--ink);
  font: 800 1.1rem var(--display);
  text-align: center;
}
.sum-row .field { flex: 1; }
.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}
.form-status.ok { background: #dff7e9; color: #0d4f2c; }
.form-status.err { background: #ffe3dc; color: #7a1e0b; }
.form-fine { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); margin: 0; }
.form-fine a { color: var(--sky); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* ---------- inner page content ---------- */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.prose { font-size: 1.07rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--sunset-dark); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; max-height: 440px; object-fit: cover; }
.prose figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.5rem; }
.prose .callout {
  margin: 1.8rem 0;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: var(--sky-soft);
  border-left: 5px solid var(--ocean);
}
.prose .callout p:last-child { margin: 0; }

.aside-stack { position: sticky; top: calc(var(--flag-h) + var(--head-h-solid) + 1.5rem); display: grid; gap: 1.1rem; }
.card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.15rem; }
.card-ocean { background: var(--ocean); color: var(--salt); border: 0; }
.card-ocean h3 { color: var(--white); }
.card-ocean p { color: rgba(243, 249, 251, 0.85); }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.tick-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.97rem; line-height: 1.5; }
.tick-list li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23023E58' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.link-list a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.link-list a:hover { background: var(--sky-soft); }
.link-list a[aria-current="page"] { background: var(--sky-soft); color: var(--ocean); }
.card-ocean .btn { width: 100%; }

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    var(--sunset);
  color: var(--ink);
}
.cta-strip h2 { color: var(--ink); margin-bottom: 0.3rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-strip p { margin: 0; }
.cta-strip .btn { background: var(--ink); color: var(--white); }
.cta-strip .btn:hover { background: var(--ocean); color: var(--white); }

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.feature svg { width: 36px; height: 36px; color: var(--sunset-dark); margin-bottom: 0.8rem; }
.feature p { color: var(--ink-soft); margin: 0; }

.legal-meta { font-size: 0.92rem; color: var(--ink-soft); }
.legal-toc ol { padding-left: 1.2rem; margin: 0; font-size: 0.95rem; }
.legal-toc li { margin-bottom: 0.3rem; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.details-list { margin: 0; display: grid; gap: 0.7rem; }
.details-list div { display: grid; gap: 0.1rem; }
.details-list dt { font: 700 0.75rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean-2); }
.details-list dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- disclosure + footer ---------- */
.disclosure {
  background: var(--sky-soft);
  border-top: 1px solid #b7def0;
}
.disclosure .shell { padding: 1.6rem 0; }
.disclosure p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
}
.disclosure strong { font-family: var(--display); color: var(--ocean); }

.footer {
  background: var(--ocean-deep);
  color: rgba(243, 249, 251, 0.82);
  position: relative;
}
.footer .wave { color: var(--ocean-deep); background: var(--sky-soft); margin-bottom: -1px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 3rem;
}
.footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--sky); text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer .brand { margin-bottom: 1.1rem; }
.footer .brand img { height: 52px; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 0.3rem; color: var(--sky); }
.footer-base {
  border-top: 1px solid rgba(79, 195, 247, 0.2);
  padding: 1.2rem 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.88rem;
}
.footer-base ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- reveal ---------- */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

/* ==========================================================
   Desktop: full top navigation
   ========================================================== */
@media (min-width: 1024px) {
  .brand img { height: 48px; }
  .topnav { display: block; }
  .masthead-actions { margin-left: 0.4rem; }
  .masthead .btn-quote { display: inline-flex; }
  .nav-toggle,
  .drawer { display: none; }
  .menu-open { overflow: auto; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .masthead-bar { gap: 0.5rem; }
  .topnav-list > li > a,
  .menu-trigger { padding: 0.5rem 0.55rem; font-size: 0.93rem; }
  .topnav-list > li > a::after,
  .menu-trigger::after { left: 0.55rem; right: 0.55rem; }
}

@media (min-width: 1320px) {
  .call-link span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

@media (max-width: 1023px) {
  :root { --head-h: 72px; --head-h-solid: 64px; }
}

/* ==========================================================
   Tablet and below
   ========================================================== */
@media (max-width: 1023px) {
  .split-layout { grid-template-columns: 1fr; }
  .aside-stack { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .steps::before { display: none; }
  .voices { grid-template-columns: 1fr 1fr; }
  .voice:nth-child(2) { transform: none; }
  .reach-grid { grid-template-columns: 1fr; }
  .reach::after { background: linear-gradient(180deg, rgba(1, 42, 60, 0.94), rgba(2, 62, 88, 0.86)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .masonry { columns: 1; }
  .tile-tall img { height: 380px; }
  .tile-mid img { height: 320px; }
  .tile-short img { height: 260px; }
  .steps { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; }
  .hero-card { margin-left: 1.25rem; margin-right: 1.25rem; width: auto; }
  .hero-page .glass { margin-left: 1.25rem; margin-right: 1.25rem; width: auto; }
  :root { --head-h: 64px; --head-h-solid: 60px; }
  .masthead-bar { gap: 0.4rem; }
  .nav-toggle { padding: 0.5rem 0.8rem; }
  .nav-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sum-row { flex-wrap: wrap; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rise { opacity: 1; transform: none; }
  .tile:hover img { transform: none; }
}
