/* ==========================================================
   Clearwater Misting & Outdoor Cooling Systems
   ========================================================== */

:root {
  /* brand */
  --navy: #062747;          /* logo field */
  --navy-deep: #03182e;
  --navy-raise: #0b3460;
  --mist: #4fa8ec;          /* logo droplets */
  --mist-soft: #a9d3f5;
  --mist-ink: #1667b5;      /* mist blue that holds up as text on light */
  --steel: #9fb1c2;
  --frost: #edf3f8;
  --paper: #f6f9fc;
  --heat: #f59a3c;          /* ambient heat, never decoration */
  --heat-ink: #b85a0e;

  --line-dark: rgba(237, 243, 248, 0.14);
  --line-light: rgba(6, 39, 71, 0.12);

  /* type */
  --f-sans: "Archivo", system-ui, sans-serif;
  --f-serif: "Newsreader", Georgia, serif;

  /* classical scale */
  --s-14: 0.875rem;
  --s-16: 1rem;
  --s-18: 1.125rem;
  --s-21: 1.3125rem;
  --s-24: 1.5rem;
  --s-36: 2.25rem;
  --s-48: 3rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --slant: -13deg;          /* matches the wordmark's italic */
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--s-18);
  line-height: 1.55;
  color: var(--navy);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }

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

.sr-only {
  position: absolute; 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: -4rem; z-index: 100;
  background: var(--frost); color: var(--navy);
  padding: 0.6rem 1rem; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Display type: echoes the wordmark (wide, heavy, slanted) */
.h2,
.hero__title {
  font-family: var(--f-sans);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  line-height: 1;
  max-width: 16ch;
}

/* ---------- Buttons: slanted like the logo ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1em 1.75em;
  font-family: var(--f-sans);
  font-style: italic;
  font-weight: 700;
  font-stretch: 112%;
  font-size: var(--s-16);
  line-height: 1;
  color: var(--navy-deep);
  text-decoration: none;
  border: 0;
  background: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mist);
  border-radius: 3px;
  transform: skewX(var(--slant));
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.btn:hover::before { background: #79bdf2; }
.btn:active::before { transform: skewX(var(--slant)) scale(0.97); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  transform: skewX(var(--slant));
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%;
  background-position: 130% 0;
  opacity: 0;
  pointer-events: none;
  transition: background-position 0s 0.35s, opacity 0.35s ease;
}
.btn:hover::after {
  opacity: 1;
  background-position: -30% 0;
  transition: background-position 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.15s ease;
}
.btn--ghost::after { background-image: linear-gradient(105deg, transparent 38%, rgba(169, 211, 245, 0.28) 50%, transparent 62%); }

.btn--small { padding: 0.75em 1.3em; font-size: var(--s-14); }
.btn--wide { width: 100%; padding-block: 1.15em; font-size: var(--s-18); }
.btn--ghost { color: var(--frost); }
.btn--ghost::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mist); }
.btn--ghost:hover::before { background: rgba(79, 168, 236, 0.14); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  --h: 0;                   /* 0 = cooled under the mist, 1 = full afternoon heat */
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--frost);
  background: var(--navy);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  background: radial-gradient(120% 60% at 50% 0%, rgba(79, 168, 236, 0.17), transparent 60%);
  opacity: calc(1 - var(--h) * 0.75);
}
.hero::after {
  z-index: 1;
  background:
    radial-gradient(120% 75% at 62% 118%, rgba(245, 154, 60, 0.34), rgba(245, 154, 60, 0.08) 45%, transparent 72%);
  opacity: var(--h);
}
.hero__title.is-hot { filter: url(#heat); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero__mist {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* nav sits on top of the misting line drawn in the canvas */
.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: calc(var(--max) + 160px);
  margin-inline: auto;
  padding: 1.25rem var(--gutter) 1.4rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav__brand > img { width: 48px; height: auto; }
.nav__word { display: grid; gap: 6px; }
.nav__word img { width: 176px; height: auto; }
.nav__word .nav__tagline { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--s-16);
  font-weight: 500;
}
.nav__links a:not(.btn) {
  text-decoration: none;
  color: rgba(237, 243, 248, 0.82);
  padding-block: 0.4rem;
  background: linear-gradient(var(--mist), var(--mist)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.2s ease, color 0.2s ease;
}
.nav__links a:not(.btn):hover { color: #fff; background-size: 100% 2px; }
.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__bars,
.nav__bars::before,
.nav__bars::after {
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: var(--frost);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__bars { top: 21px; }
.nav__bars::before, .nav__bars::after { content: ""; left: 0; }
.nav__bars::before { top: -7px; }
.nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--max) + 160px);
  margin: auto auto 0;
  padding: clamp(9rem, 26vh, 16rem) var(--gutter) clamp(4rem, 11vh, 7rem);
}

.hero__title {
  font-size: clamp(2.5rem, 9.2vw, 8.25rem);
  line-height: 0.9;
  text-wrap: wrap;
  color: #fff;
}
.nowrap { white-space: nowrap; }

.hero__lede {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  max-width: 34em;
  font-family: var(--f-serif);
  font-size: clamp(1.1875rem, 1.6vw, var(--s-24));
  font-weight: 400;
  line-height: 1.45;
  color: rgba(237, 243, 248, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
}
.hero__call {
  font-size: var(--s-16);
  color: rgba(237, 243, 248, 0.7);
  text-decoration: none;
}
.hero__call span {
  color: var(--frost);
  font-weight: 600;
  border-bottom: 1px solid rgba(79, 168, 236, 0.6);
  padding-bottom: 2px;
}
.hero__call:hover span { border-color: var(--mist); }

/* ---------- the rig: a live readout of the system in the hero ---------- */
.rig { margin-top: 2.75rem; width: max-content; max-width: 100%; }
.rig__hint {
  margin: 0 0 0.7rem;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: rgba(169, 211, 245, 0.62);
}
@media (hover: none) { .rig__hint { display: none; } }
.rig__panel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
  background: rgba(3, 24, 46, 0.58);
  border: 1px solid rgba(237, 243, 248, 0.13);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.rig__gauge { flex: none; width: 64px; height: 64px; }
.rig__gauge svg { width: 100%; height: 100%; overflow: visible; }
.rig__face { fill: #0a2340; }
.rig__ticks line { stroke: rgba(237, 243, 248, 0.55); stroke-width: 1.4; stroke-linecap: round; }
.rig__ticks line.is-major { stroke: rgba(237, 243, 248, 0.9); stroke-width: 2; }
.rig__red { fill: none; stroke: var(--heat); stroke-width: 3; stroke-linecap: round; opacity: 0.9; }
.rig__needle { transform-origin: 40px 40px; transform: rotate(-135deg); }
.rig__needle path { fill: #fff; }
.rig__hub { fill: #c9d5e0; stroke: #0a2340; stroke-width: 1.5; }
.rig__read {
  display: grid;
  gap: 0.2rem;
  padding-right: 1.1rem;
  border-right: 1px solid rgba(237, 243, 248, 0.13);
}
.rig__label { font-size: 0.78rem; color: var(--steel); white-space: nowrap; }
.rig__value {
  font-style: italic;
  font-weight: 800;
  font-stretch: 118%;
  font-size: 1.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #fff;
}
.rig__value > span { display: inline-block; min-width: 2.1ch; }
#psi { min-width: 4.4ch; }
.rig__value small {
  margin-left: 0.12em;
  font-size: 0.55em;
  font-weight: 600;
  font-stretch: 100%;
  color: var(--steel);
}
.rig__temp { color: var(--mist-soft); color: color-mix(in oklab, #ffb066 calc(var(--h) * 100%), var(--mist-soft)); }

.switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: var(--s-14);
  font-weight: 600;
  color: var(--frost);
}
.switch__track {
  position: relative;
  width: 46px; height: 26px;
  border-radius: 999px;
  background: #34506d;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease;
}
.switch__knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(#fff, #cbd8e4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.switch:active .switch__knob { width: 24px; }
.switch[aria-checked="true"] .switch__track { background: var(--mist); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(20px); }
.switch[aria-checked="true"]:active .switch__knob { transform: translateX(16px); }
.switch__state { min-width: 1.8em; text-align: left; }

@media (min-width: 1200px) {
  .hero__body { position: relative; }
  .rig {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(4rem, 11vh, 7rem);
    margin: 0;
  }
  .rig__hint { text-align: right; }
}

/* ---------- sticky bar ---------- */
.stickybar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem var(--gutter);
  background: rgba(6, 39, 71, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateY(-110%);
  transition: transform 0.28s ease;
}
/* the misting line, in miniature */
.stickybar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(#dfe8f0, #7a8fa3);
}
.stickybar::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--mist-ink), var(--mist));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.stickybar.is-visible { transform: none; }
.stickybar__brand { display: flex; align-items: center; gap: 0.6rem; }
.stickybar__brand img:first-child { width: 34px; height: auto; }
.stickybar__word { width: 150px; height: auto; }
.stickybar__actions { display: flex; align-items: center; gap: 1.25rem; }
.stickybar__phone {
  color: var(--frost);
  font-size: var(--s-14);
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================
   CALCULATOR
   ========================================================== */
.calc {
  background: var(--frost);
  padding-block: var(--section);
}

.calc__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem 4rem;
  align-items: end;
}
.calc__intro {
  max-width: 30em;
  font-size: var(--s-18);
  color: rgba(6, 39, 71, 0.78);
}

.calc__sentence {
  margin: clamp(3rem, 7vw, 5.5rem) 0 0;
  max-width: 22em;
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 3.6vw, 3.1rem);
  font-weight: 350;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--navy);
}
/* live values read like gauge readouts */
.calc__sentence [data-out] {
  font-family: var(--f-sans);
  font-style: italic;
  font-weight: 800;
  font-stretch: 118%;
  font-size: 0.86em;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.t-hot { color: var(--heat-ink); }
.t-cool { color: var(--mist-ink); }

/* gauge */
.gauge {
  --pad: 0px;
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-block: 2.6rem 3.4rem;
}
.gauge__track {
  position: relative;
  height: 40px;
  cursor: ew-resize;
  touch-action: pan-y;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(6, 39, 71, 0.14) 0 1px, transparent 1px calc(100% / 14)),
    #dbe6ef;
}
.gauge__span {
  position: absolute;
  top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mist-ink), #5aa6d8 55%, var(--heat));
  overflow: hidden;
}
.gauge__span::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 0.8px, transparent 1.4px);
  background-size: 23px 13px, 17px 11px;
  background-position: 0 3px, 7px 8px;
  opacity: 0.55;
}
.motion .gauge__span::before { animation: span-flow 2.4s linear infinite; }
@keyframes span-flow { to { background-position: -23px 3px, -10px 8px; } }
.gauge__drop { position: relative; }
.gauge__drop {
  font-style: italic;
  font-weight: 700;
  font-stretch: 112%;
  font-size: var(--s-14);
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(3, 24, 46, 0.35);
}
.gauge__span.is-narrow .gauge__drop { opacity: 0; }

.gauge__pin {
  position: absolute;
  top: -10px; bottom: -10px;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
}
.gauge__pin span {
  position: absolute;
  left: 50%;
  transform: translateX(var(--shift, -50%));
  font-size: var(--s-14);
  font-weight: 600;
  white-space: nowrap;
}
.gauge__pin--hot { background: var(--heat-ink); }
.gauge__pin--hot span { bottom: calc(100% + 6px); color: var(--heat-ink); }
.gauge__pin--cool { background: var(--mist-ink); }
.gauge__pin--cool span { top: calc(100% + 6px); color: var(--mist-ink); }

.gauge__scale {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.2rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: rgba(6, 39, 71, 0.5);
}
.gauge__scale span { position: absolute; transform: translateX(-50%); }
.gauge__scale span:first-child { transform: none; }
.gauge__scale span:last-child { transform: translateX(-100%); }

.calc__controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 4rem;
  margin-top: 1.5rem;
}

.field-range {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.6rem 1rem;
}
.field-range label {
  font-size: var(--s-16);
  font-weight: 600;
}
.field-range output {
  grid-row: 1;
  grid-column: 2;
  font-style: italic;
  font-weight: 800;
  font-stretch: 118%;
  font-variant-numeric: tabular-nums;
  font-size: var(--s-18);
}
.field-range input { grid-column: 1 / -1; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --fill: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy) var(--fill), rgba(6, 39, 71, 0.18) var(--fill));
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(6, 39, 71, 0.18);
}
input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 4px;
  background: var(--navy);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--frost);
  box-shadow: 0 0 0 1.5px var(--navy);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--frost);
  box-shadow: 0 0 0 1.5px var(--navy);
}
input[type="range"]::-webkit-slider-thumb { transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px var(--navy), 0 0 0 6px rgba(79, 168, 236, 0.55); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1.5px var(--navy), 0 0 0 6px rgba(79, 168, 236, 0.55); }

.presets {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.presets__label {
  margin-right: 0.5rem;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--s-18);
  color: rgba(6, 39, 71, 0.7);
}
.presets button {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(6, 39, 71, 0.22);
  border-radius: 999px;
  background: transparent;
  font-size: var(--s-14);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.presets button:hover { border-color: var(--navy); }
.presets button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--frost);
}

.calc__advice {
  margin: 2rem 0 0;
  max-width: 40em;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--mist-ink);
  background: rgba(79, 168, 236, 0.1);
  font-size: var(--s-16);
}

.calc__note {
  margin-top: 2.5rem;
  max-width: 46em;
  font-size: var(--s-14);
  line-height: 1.6;
  color: rgba(6, 39, 71, 0.6);
}

/* ==========================================================
   DROPLETS
   ========================================================== */
.drops {
  background: var(--navy);
  color: var(--frost);
  padding-block: var(--section);
}
.drops__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.drops__copy .h2 { color: #fff; margin-bottom: 2rem; }
.drops__copy p:not(.drops__fact) {
  max-width: 32em;
  color: rgba(237, 243, 248, 0.8);
}
.drops__fact {
  margin-top: 2.25rem;
  max-width: 18em;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--mist-soft);
}

.scale { margin: 0; --u: clamp(1.8px, 0.25vw, 3.2px); }
.scale__stage {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  padding: 3.25rem 0 2rem;
}
.scale__hair {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: calc(70 * var(--u));
  border-radius: 2px;
  background:
    linear-gradient(90deg,
      rgba(237, 243, 248, 0.22) 0 1px,
      rgba(237, 243, 248, 0.07) 1px 30%,
      rgba(237, 243, 248, 0.12) 50%,
      rgba(237, 243, 248, 0.05) 70%,
      rgba(237, 243, 248, 0.22) calc(100% - 1px) 100%);
}
.scale__hair span {
  position: absolute;
  top: 0.4rem;
  left: calc(100% + 0.9rem);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--s-16);
  white-space: nowrap;
  color: rgba(237, 243, 248, 0.6);
}
.scale__row {
  position: relative;
  display: grid;
  grid-template-columns: calc(70 * var(--u)) 1fr;
  align-items: center;
  gap: 1.5rem;
}
.scale__dot {
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55) 0 6%, transparent 22%),
    radial-gradient(circle at 50% 55%, rgba(79, 168, 236, 0.55), rgba(79, 168, 236, 0.85) 70%, #8fcaf5 100%);
  box-shadow: inset 0 0 0 1px rgba(169, 211, 245, 0.5);
}
.scale__dot--50 {
  width: calc(50 * var(--u)); height: calc(50 * var(--u));
  padding: 0;
  border: 0;
  cursor: pointer;
  transition: scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scale__dot--50:hover { scale: 1.04; }
.scale__dot--50:focus-visible { outline-offset: 6px; }
.scale__dot--50[aria-disabled="true"] { cursor: default; }
.motion .scale__dot--50 { animation: wobble 5s ease-in-out infinite; }
@keyframes wobble {
  0%, 100% { border-radius: 50%; transform: scale(1, 1); }
  30% { border-radius: 51% 49% 50% 50% / 47% 47% 53% 53%; transform: scale(1.02, 0.98); }
  65% { border-radius: 49% 51% 50% 50% / 52% 52% 48% 48%; transform: scale(0.99, 1.012); }
}
.scale__dot--25 { width: calc(25 * var(--u)); height: calc(25 * var(--u)); }
.scale__dot--10 {
  position: relative;
  width: calc(10 * var(--u)); height: calc(10 * var(--u));
  box-shadow: inset 0 0 0 1px rgba(169, 211, 245, 0.6), 0 0 0 7px rgba(79, 168, 236, 0.1), 0 0 22px 6px rgba(79, 168, 236, 0.3);
}
.scale__dot--10 i {
  position: absolute;
  left: 50%; top: 50%;
  width: 3px; height: 3px;
  margin: -1.5px;
  border-radius: 50%;
  background: var(--mist-soft);
  opacity: 0;
}
.motion .scale__dot--10 i { animation: shed 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; animation-delay: calc(var(--k) * -0.43s); }
@keyframes shed {
  0% { transform: rotate(var(--a)) translateX(3px) scale(1); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: rotate(var(--a)) translateX(calc(14 * var(--u))) translateY(-10px) scale(0.2); opacity: 0; }
}
.burst { position: absolute; width: 0; height: 0; z-index: 3; pointer-events: none; }
.burst i {
  position: absolute;
  width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.45) 0 6%, transparent 22%),
    radial-gradient(circle at 50% 55%, rgba(79, 168, 236, 0.35), rgba(143, 202, 245, 0.8) 100%);
  box-shadow: 0 0 12px 1px rgba(79, 168, 236, 0.25);
  will-change: transform, opacity;
}
.scale__meta { display: grid; gap: 0.15rem; }
.scale__try {
  margin-top: 0.3rem;
  font-family: var(--f-serif);
  font-size: 0.9375rem;
  color: var(--mist-soft);
}
html:not(.js) .scale__try { display: none; }
.drops__count { display: inline-block; min-width: 1.55em; text-align: center; font-variant-numeric: tabular-nums; }
.scale__meta strong {
  font-style: italic;
  font-weight: 800;
  font-stretch: 115%;
  font-size: var(--s-18);
  color: #fff;
}
.scale__meta span { font-size: var(--s-16); color: rgba(237, 243, 248, 0.68); }
.scale figcaption {
  margin-top: 0.5rem;
  font-size: var(--s-14);
  color: rgba(237, 243, 248, 0.5);
}

/* ==========================================================
   SYSTEM
   ========================================================== */
.system {
  background: var(--paper);
  padding-block: var(--section) calc(var(--section) * 0.6);
}
.system__intro {
  margin-top: 1.25rem;
  font-family: var(--f-serif);
  font-size: var(--s-21);
  color: rgba(6, 39, 71, 0.72);
}
.system__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.diagram svg { width: 100%; height: auto; overflow: visible; }
.d-ground { stroke: #9fb1c2; stroke-width: 2; }
.d-wall { fill: #dfe7ee; }
.d-wood { fill: #c4d1dc; }
.d-rafters rect { fill: #b4c3d0; }
.d-tube { fill: none; stroke: #7b8fa3; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.d-hit { fill: transparent; stroke: transparent; stroke-width: 22; }
.d-nozzles g rect { fill: #c49a4a; }
.d-nozzles g path { fill: #8a6a2e; }
.d-plumes path { fill: url(#puff); }
.d-hose { stroke: #7b8fa3; stroke-width: 4; fill: none; stroke-linecap: round; }
.d-box { fill: var(--navy); }
.d-vent { fill: #2a5583; }
.d-dial { fill: var(--mist); }
.d-screen { fill: var(--mist-soft); }
.d-furniture { fill: #d3dde6; }

.d-fill {
  fill: none;
  stroke: var(--mist);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.55, 0, 0.3, 1);
}
.system.is-filling .d-fill { stroke-dashoffset: 0; }
.d-flow {
  fill: none;
  stroke: #eaf5fe;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2 12;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.system.is-on .d-flow { opacity: 0.95; animation: d-flow 0.8s linear infinite; }
@keyframes d-flow { to { stroke-dashoffset: -14; } }
.d-mist circle { fill: var(--mist); opacity: 0; }
.system.is-on .d-mist circle { animation: d-mist var(--dur) cubic-bezier(0.15, 0.6, 0.35, 1) var(--delay) infinite; }
@keyframes d-mist {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: var(--o); }
  100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
.js .d-plumes path { opacity: 0; transition: opacity 1.4s ease 0.3s; }
.js .system.is-on .d-plumes path { opacity: 0.8; }
.system.is-on .d-part[data-part="pump"] .d-dial { animation: led 1.4s ease-in-out infinite; }
@keyframes led { 50% { fill: #d4ecfd; } }

.d-part { cursor: pointer; transition: opacity 0.25s ease; }
.d-marks g { cursor: pointer; transition: transform 0.2s ease; }
.d-marks circle {
  fill: var(--navy);
  stroke: var(--paper);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.2s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.d-marks text {
  fill: #fff;
  font-family: var(--f-sans);
  font-style: italic;
  font-weight: 800;
  font-size: 14px;
  text-anchor: middle;
}

.diagram[data-active="pump"] .d-part:not([data-part="pump"]),
.diagram[data-active="line"] .d-part:not([data-part="line"]),
.diagram[data-active="nozzles"] .d-part:not([data-part="nozzles"]),
.diagram[data-active="controls"] .d-part:not([data-part="controls"]) { opacity: 0.35; }

.diagram[data-active="pump"] .d-marks [data-part="pump"] circle,
.diagram[data-active="line"] .d-marks [data-part="line"] circle,
.diagram[data-active="nozzles"] .d-marks [data-part="nozzles"] circle,
.diagram[data-active="controls"] .d-marks [data-part="controls"] circle { fill: var(--mist-ink); transform: scale(1.22); }
.part__body.is-opening { animation: part-open 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes part-open { from { opacity: 0; transform: translateY(-6px); } }

.parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.parts li { border-bottom: 1px solid var(--line-light); }
.part {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.part__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-style: italic;
  font-weight: 800;
  font-size: var(--s-14);
  transition: background-color 0.2s ease;
}
.part__name {
  font-style: italic;
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(1.2rem, 1.8vw, var(--s-24));
  line-height: 1.1;
}
.part[aria-expanded="true"] .part__num { background: var(--mist-ink); }
.part:hover .part__name { color: var(--mist-ink); }
.part__body {
  padding: 0 0 1.4rem calc(30px + 1rem);
  max-width: 34em;
  font-size: var(--s-16);
  color: rgba(6, 39, 71, 0.8);
}

/* ==========================================================
   SPACES
   ========================================================== */
.spaces {
  background: var(--paper);
  padding-block: calc(var(--section) * 0.6) var(--section);
}
.spaces__cols {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-light);
}
.space {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 1rem clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--line-light);
}
.space:first-child { border-top: 3px solid var(--navy); }
.space { position: relative; }
.space::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 3px;
  background: var(--mist);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.space:first-child::after { top: -3px; }
.space:hover::after,
.space.is-lit::after { transform: scaleX(1); }
.space:hover .space__title,
.space.is-lit .space__title { font-stretch: 125%; color: var(--mist-ink); }
.space li::before { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.space:hover li::before,
.space.is-lit li::before { transform: scale(1.5); }
.space:hover li:nth-child(2)::before, .space.is-lit li:nth-child(2)::before { transition-delay: 0.06s; }
.space:hover li:nth-child(3)::before, .space.is-lit li:nth-child(3)::before { transition-delay: 0.12s; }
.space__title {
  margin: 0;
  font-style: italic;
  font-weight: 800;
  font-stretch: 108%;
  transition: font-stretch 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.space__lede {
  margin: 0.2rem 0 0;
  font-family: var(--f-serif);
  font-size: var(--s-21);
  line-height: 1.4;
  color: rgba(6, 39, 71, 0.85);
}
.space ul {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: var(--s-16);
}
.space li {
  position: relative;
  padding: 0.2rem 0 0.2rem 1.25rem;
}
.space li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mist);
}

/* ==========================================================
   PROCESS
   ========================================================== */
.process {
  background: var(--frost);
  padding-block: var(--section);
}
.steps {
  --dot: 46px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
}
/* the run that connects the steps */
.steps::before {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2 - 2px);
  left: 0; right: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(#e2eaf1, #8ea2b5);
}
.steps::after {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2 - 2px);
  left: 0; right: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mist-ink), var(--mist));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.step { position: relative; z-index: 1; }
.step__num {
  transition: background-color 0.4s ease, box-shadow 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step.is-wet .step__num {
  background: var(--mist-ink);
  box-shadow: 0 0 0 6px var(--frost), 0 0 0 11px rgba(79, 168, 236, 0.28);
  transform: scale(1.06);
}
.step h3 { transition: color 0.4s ease; }
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--dot); height: var(--dot);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 6px var(--frost);
  color: #fff;
  font-style: italic;
  font-weight: 800;
  font-stretch: 118%;
  font-size: var(--s-18);
}
.step h3 {
  margin: 1.5rem 0 0.6rem;
  font-style: italic;
  font-weight: 800;
  font-stretch: 118%;
  font-size: var(--s-24);
  line-height: 1.1;
}
.step p { font-size: var(--s-16); color: rgba(6, 39, 71, 0.78); }

/* ==========================================================
   SERVICE
   ========================================================== */
.service {
  background: var(--navy-deep);
  color: var(--frost);
  padding-block: var(--section);
}
.service__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.service .h2 { color: #fff; max-width: 14ch; }
.service__lede {
  margin: 1.75rem 0 2.25rem;
  max-width: 30em;
  font-family: var(--f-serif);
  font-size: var(--s-21);
  line-height: 1.45;
  color: rgba(237, 243, 248, 0.82);
}
.service__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
}
.service__list li {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.service__list strong {
  font-style: italic;
  font-weight: 700;
  font-stretch: 115%;
  font-size: var(--s-21);
  color: #fff;
}
.service__list span { font-size: var(--s-16); color: var(--steel); }
.service__list li { transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.service__list li:hover { transform: translateX(8px); }
.service__list strong { transition: color 0.3s ease; }
.service__list li:hover strong { color: var(--mist-soft); }

/* ==========================================================
   FAQ
   ========================================================== */
.faq {
  background: var(--paper);
  padding-block: var(--section);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.faq .h2 { position: sticky; top: 100px; max-width: 10ch; }
.faq__list { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--f-serif);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  font-weight: 450;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px; height: 2px;
  background: var(--mist-ink);
  transition: transform 0.25s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--mist-ink); }
.faq details p {
  max-width: 36em;
  padding-bottom: 1.5rem;
  font-size: var(--s-16);
  color: rgba(6, 39, 71, 0.8);
}

/* ==========================================================
   QUOTE
   ========================================================== */
.quote {
  position: relative;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(79, 168, 236, 0.12), transparent 60%),
    var(--navy);
  color: var(--frost);
  padding-block: var(--section);
}
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.quote .h2 { color: #fff; max-width: 11ch; }
.quote__copy > p {
  margin-top: 1.75rem;
  max-width: 28em;
  font-family: var(--f-serif);
  font-size: var(--s-21);
  line-height: 1.45;
  color: rgba(237, 243, 248, 0.82);
}
.quote__contact { margin: 2.5rem 0 0; display: grid; gap: 1.1rem; }
.quote__contact div { display: grid; gap: 0.1rem; }
.quote__contact dt { font-size: var(--s-14); color: var(--steel); }
.quote__contact dd { margin: 0; font-size: var(--s-18); font-weight: 600; }
.quote__contact a { text-decoration: none; border-bottom: 1px solid rgba(79, 168, 236, 0.5); }
.quote__contact a:hover { border-color: var(--mist); }

.form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: rgba(3, 24, 46, 0.55);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; min-width: 0; align-content: start; }
.field label,
.field legend {
  font-size: var(--s-14);
  font-weight: 600;
  color: rgba(237, 243, 248, 0.9);
}
.field .opt { font-weight: 400; color: var(--steel); margin-left: 0.25rem; }
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: var(--s-16);
  color: #fff;
  background: rgba(237, 243, 248, 0.06);
  border: 1px solid rgba(237, 243, 248, 0.2);
  border-radius: 6px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 5.5rem; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(237, 243, 248, 0.38); }
.field input:hover,
.field textarea:hover { border-color: rgba(237, 243, 248, 0.35); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mist);
  background: rgba(79, 168, 236, 0.08);
  box-shadow: 0 0 0 3px rgba(79, 168, 236, 0.3);
}
.field input[aria-invalid="true"] { border-color: #ff9b8a; }
.field__error { font-size: var(--s-14); color: #ffb3a6; animation: err-in 0.3s ease; }
@keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }
.field label { transition: color 0.2s ease; }
.field:focus-within > label { color: var(--mist-soft); }

.chips {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips legend { margin-bottom: 0.55rem; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(237, 243, 248, 0.22);
  border-radius: 999px;
  font-size: var(--s-14);
  font-weight: 500;
  color: rgba(237, 243, 248, 0.88);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chips label:hover span { border-color: rgba(237, 243, 248, 0.5); }
.chips input:checked + span { background: var(--mist); border-color: var(--mist); color: var(--navy-deep); animation: chip-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes chip-pop { from { transform: scale(0.92); } }
.chips input:focus-visible + span { outline: 3px solid var(--mist); outline-offset: 2px; }

.form .btn--wide { margin-top: 0.5rem; }
.btn__check {
  display: none;
  width: 1.25em; height: 1.25em;
  margin-right: 0.55em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}
.btn.is-sent .btn__check { display: block; animation: draw 0.55s 0.1s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__status { margin: 0; font-size: var(--s-16); min-height: 1.5em; }
.form__status.is-ok {
  font-family: var(--f-serif);
  font-size: var(--s-21);
  color: var(--mist-soft);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(237, 243, 248, 0.72);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  font-size: var(--s-16);
}
.footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.footer__logo { width: 210px; height: auto; }
.footer__info { max-width: 26em; padding-top: 0.5rem; }
.footer__links { list-style: none; margin: 0; padding: 0.5rem 0 0; display: grid; gap: 0.6rem; }
.footer__links a { text-decoration: none; color: var(--frost); }
.footer__links a:hover { color: var(--mist); }
.footer__base {
  margin-top: 3.5rem;
  font-size: var(--s-14);
  color: rgba(237, 243, 248, 0.5);
}
.footer__baseline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.footer__baseline p { margin: 0; }

/* studio credit: quiet until you look for it */
.credit a {
  color: rgba(237, 243, 248, 0.4);
  text-decoration: none;
  background: linear-gradient(var(--mist-soft), var(--mist-soft)) 0 100% / 0 1px no-repeat;
  transition: color 0.25s ease, background-size 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.credit a:hover,
.credit a:focus-visible { color: var(--mist-soft); background-size: 100% 1px; }

/* ==========================================================
   MOTION: type condenses out of mist
   ========================================================== */
.motion .hero__title:not(.split),
.motion .h2:not(.split) { visibility: hidden; }
.split .w { display: inline-block; }
.hero__title .w { white-space: nowrap; }
.split .c { display: inline-block; }

.motion .hero__title .c {
  opacity: 0;
  filter: blur(16px);
  transform: translateY(-0.3em) scale(1.06);
  transition:
    opacity 0.8s ease,
    filter 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(420ms + var(--i) * 30ms);
}
.motion .hero.is-in .hero__title .c { opacity: 1; filter: none; transform: none; }

.motion [data-enter] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity 0.9s ease,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s ease;
  transition-delay: var(--d, 0ms);
}
.motion .is-in [data-enter] { opacity: 1; transform: none; filter: none; }

.motion .h2.split .w {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-0.28em);
  transition:
    opacity 0.7s ease,
    filter 0.8s ease,
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i) * 60ms);
}
.motion .h2.split.is-in .w { opacity: 1; filter: none; transform: none; }

/* ==========================================================
   /links PAGE
   ========================================================== */
.lp {
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(79, 168, 236, 0.17), transparent 62%),
    var(--navy);
  color: var(--frost);
}
.lp__wrap {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
  overflow: hidden;
}
.lp__mist {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 440px;
  pointer-events: none;
}
.lp__head {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  max-width: 30rem;
  padding-top: clamp(5.75rem, 15vh, 8rem);
  text-align: center;
}
.lp__mark { width: 112px; height: auto; }
.lp__name { margin: 0.35rem 0 0; line-height: 0; }
.lp__name img { width: 204px; height: auto; }
.lp__tag { margin: 0; line-height: 0; }
.lp__tag img { width: 204px; height: auto; opacity: 0.85; }
.lp__lede {
  margin: 0.75rem 0 0;
  max-width: 21em;
  font-family: var(--f-serif);
  font-size: 1.1875rem;
  line-height: 1.4;
  color: rgba(237, 243, 248, 0.82);
}

.lp__links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  width: 100%;
  max-width: 30rem;
  margin-top: 2.25rem;
}
.lp__link {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
  padding: 0.85rem 1.5rem;
  color: var(--frost);
  text-decoration: none;
}
.lp__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 4px;
  transform: skewX(var(--slant));
  background: rgba(237, 243, 248, 0.06);
  box-shadow: inset 0 0 0 1px rgba(237, 243, 248, 0.15);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.lp__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 4px;
  transform: skewX(var(--slant));
  background: linear-gradient(105deg, transparent 38%, rgba(169, 211, 245, 0.22) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%;
  background-position: 130% 0;
  opacity: 0;
  pointer-events: none;
  transition: background-position 0s 0.35s, opacity 0.35s ease;
}
.lp__link:hover::before { background: rgba(79, 168, 236, 0.13); box-shadow: inset 0 0 0 1px rgba(79, 168, 236, 0.6); }
.lp__link:hover::after {
  opacity: 1;
  background-position: -30% 0;
  transition: background-position 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.15s ease;
}
.lp__link:active::before { transform: skewX(var(--slant)) scale(0.975); }
.lp__link--primary { color: var(--navy-deep); }
.lp__link--primary::before { background: var(--mist); box-shadow: none; }
.lp__link--primary:hover::before { background: #79bdf2; box-shadow: none; }
.lp__link--primary::after { background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%); }

.lp__icon {
  flex: none;
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--mist-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lp__link:hover .lp__icon { transform: scale(1.12) rotate(-6deg); }
.lp__link--primary .lp__icon { stroke: var(--navy-deep); }
.lp__text { display: grid; gap: 0.12rem; min-width: 0; }
.lp__text strong {
  font-style: italic;
  font-weight: 800;
  font-stretch: 115%;
  font-size: 1.0625rem;
  line-height: 1.15;
}
.lp__text span { font-size: 0.875rem; line-height: 1.3; color: var(--steel); }
.lp__link--primary .lp__text span { color: rgba(3, 24, 46, 0.72); }

.lp__foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.8125rem;
}
.lp__foot p { margin: 0; }

.motion .lp__head > *,
.motion .lp__link {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px);
  transition:
    opacity 0.7s ease,
    filter 0.8s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(250ms + var(--i, 0) * 70ms);
}
.motion .lp.is-in .lp__head > *,
.motion .is-in .lp__head > *,
.motion .is-in .lp__link { opacity: 1; filter: none; transform: none; }

/* ==========================================================
   404
   ========================================================== */
.nf {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem var(--gutter);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(79, 168, 236, 0.14), transparent 60%),
    var(--navy);
  color: var(--frost);
  text-align: center;
}
.nf__box { display: grid; justify-items: center; gap: 1.25rem; max-width: 34rem; }
.nf__box img { width: 96px; height: auto; }
.nf .h2 { color: #fff; max-width: none; }
.nf p { margin: 0; font-family: var(--f-serif); font-size: var(--s-21); color: rgba(237, 243, 248, 0.82); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; margin-top: 0.75rem; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1040px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--navy-deep);
    border: 1px solid var(--line-dark);
    border-radius: 10px;
    box-shadow: 0 24px 48px rgba(3, 24, 46, 0.5);
    font-size: var(--s-18);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0.35s;
  }
  .nav__links.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
  }
  .nav__links li a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line-dark); background: none; }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; padding-block: 1em; font-size: var(--s-16); }
}

@media (max-width: 900px) {
  .calc__head,
  .drops__grid,
  .system__grid,
  .service__grid,
  .faq__grid,
  .quote__grid { grid-template-columns: minmax(0, 1fr); }

  .calc__controls { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .space { grid-template-columns: minmax(0, 1fr); }
  .faq .h2 { position: static; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .steps::before {
    top: calc(var(--dot) / 2);
    left: calc(var(--dot) / 2 - 2px);
    right: auto;
    width: 4px;
    height: var(--len, 0px);
    background: linear-gradient(90deg, #e2eaf1, #8ea2b5);
  }
  .steps::after {
    top: calc(var(--dot) / 2);
    left: calc(var(--dot) / 2 - 2px);
    right: auto;
    width: 4px;
    height: var(--len, 0px);
    background: linear-gradient(180deg, var(--mist-ink), var(--mist));
    transform-origin: top;
    transform: scaleY(var(--p, 0));
  }
  .step { display: grid; grid-template-columns: var(--dot) 1fr; column-gap: 1.25rem; }
  .step h3 { margin-top: 0.55rem; }
  .step > :not(.step__num) { grid-column: 2; }
  .step__num { grid-row: span 2; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .nav__word { display: none; }
  .nav__brand > img { width: 44px; }
  .nav__brand::after {
    content: "";
    width: 150px; height: 14px;
    background: url("assets/wordmark.png") left center / contain no-repeat;
  }
  .hero__body { padding-top: 7.5rem; }
  .rig { width: 100%; }
  .rig__panel { gap: 0.7rem; padding: 0.45rem 0.8rem 0.45rem 0.45rem; }
  .rig__gauge { width: 50px; height: 50px; }
  .rig__read { padding-right: 0.7rem; }
  .rig__label { font-size: 0.7rem; }
  .rig__value { font-size: 1.15rem; }
  .switch__state { display: none; }
  .switch { margin-left: auto; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .stickybar__word { display: none; }
  .gauge__drop { font-size: 0.75rem; }
  .gauge__scale span:nth-child(even) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
