:root {
  --navy: #071a33;
  --navy-soft: #102a4c;
  --blue: #0878c9;
  --red: #e32332;
  --yellow: #f2bf17;
  --green: #19994b;
  --ink: #142239;
  --muted: #667184;
  --line: #d9dee6;
  --surface: #f4f7fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 26, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--red) 0 25%,
    var(--blue) 25% 50%,
    var(--yellow) 50% 75%,
    var(--green) 75% 100%
  );
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.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-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(1220px, calc(100% - 56px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 98px;
  padding: 14px max(28px, calc((100vw - 1220px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 222, 230, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 255px;
  color: var(--navy);
  text-decoration: none;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.brand-detail {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 1px solid var(--navy);
  line-height: 1.15;
}

.brand-detail strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.brand-detail small {
  margin-top: 6px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.brand-colors {
  position: absolute;
  bottom: -10px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  height: 3px;
}

.brand-colors i:nth-child(1) {
  background: var(--red);
}

.brand-colors i:nth-child(2) {
  background: var(--blue);
}

.brand-colors i:nth-child(3) {
  background: var(--yellow);
}

.brand-colors i:nth-child(4) {
  background: var(--green);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
}

.site-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  display: flex;
  gap: 6px;
  margin-left: 24px;
}

.language-button {
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: transparent;
  border: 1px solid #b9c1cc;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 98px);
  padding-block: 70px 96px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7%;
  left: -15vw;
  width: 72vw;
  height: 72vw;
  max-width: 930px;
  max-height: 930px;
  border: 1px solid rgba(8, 120, 201, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(8, 120, 201, 0.025),
    0 0 0 180px rgba(8, 120, 201, 0.018);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.intro h2,
.section-heading h2,
.approach h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 780px;
  color: var(--navy);
  font-size: clamp(3.2rem, 5.55vw, 5.7rem);
  line-height: 0.99;
}

.hero-lead {
  max-width: 700px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button-whatsapp {
  color: var(--navy);
  border-color: var(--green);
}

.button-whatsapp:hover {
  color: var(--white);
  background: var(--green);
}

.button-ghost:hover {
  color: var(--white);
  background: var(--navy);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.hero-proof span {
  max-width: 125px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  min-height: 670px;
}

.hero-image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.hero-image-main {
  inset: 0 0 16% 10%;
  border-radius: 2px 90px 2px 2px;
}

.hero-image-main img {
  filter: saturate(0.88) contrast(1.04);
}

.hero-image-secondary {
  z-index: 2;
  right: 46%;
  bottom: 0;
  left: 0;
  height: 220px;
  border: 8px solid var(--white);
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: -24px;
  bottom: 0;
  width: 260px;
  padding: 24px;
  color: var(--white);
  background: var(--navy);
}

.hero-note::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red) 25%, var(--blue) 25% 50%, var(--yellow) 50% 75%, var(--green) 75%);
}

.hero-note p {
  margin: 18px 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.note-index {
  color: #95a7bd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.intro {
  display: grid;
  grid-template-columns: 0.32fr 1.68fr;
  gap: 42px;
  padding-block: 112px;
  border-top: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 13px;
  color: var(--muted);
}

.section-label span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
}

.section-label p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 92px);
  align-items: end;
}

.intro h2 {
  color: var(--navy);
  font-size: clamp(2.25rem, 3.7vw, 4.25rem);
  line-height: 1.08;
}

.intro-content > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.services {
  padding-block: 60px 130px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.32fr 1.1fr 0.58fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 3.3vw, 3.8rem);
  line-height: 1.08;
}

.section-intro {
  margin: 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 286px;
  padding: 34px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.service-card::after {
  content: "↗";
  position: absolute;
  right: 30px;
  bottom: 24px;
  color: var(--blue);
  font-size: 1.25rem;
  transition: transform 220ms ease;
}

.service-card:hover {
  z-index: 2;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(7, 26, 51, 0.16);
}

.service-card:hover::after {
  color: var(--white);
  transform: translate(3px, -3px);
}

.service-number {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 46px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}

.service-card p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  transition: color 220ms ease;
}

.service-card:hover p {
  color: #c8d4e3;
}

.technical-showcase {
  padding-block: 18px 130px;
}

.technical-showcase > .section-heading {
  margin-bottom: 34px;
}

.systems-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 0 32px 0 0;
}

.systems-index a {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 18px 22px;
  color: var(--navy);
  text-decoration: none;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.systems-index a + a {
  border-left: 1px solid var(--line);
}

.systems-index a:hover,
.systems-index a:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.systems-index span {
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 900;
}

.systems-index a:nth-child(2) span {
  color: #b68a00;
}

.systems-index a:nth-child(3) span {
  color: var(--green);
}

.systems-index strong {
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.system-family {
  --family-accent: var(--blue);
  position: relative;
  scroll-margin-top: 118px;
  margin-top: 34px;
  padding: clamp(30px, 4vw, 58px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(7, 26, 51, 0.08);
}

.system-family::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--family-accent);
}

.system-family-electrical {
  border-radius: 0 72px 0 0;
}

.system-family-hvac {
  --family-accent: var(--yellow);
  color: var(--white);
  background:
    radial-gradient(circle at 95% 0%, rgba(8, 120, 201, 0.24), transparent 34%),
    var(--navy);
  border-color: var(--navy);
  border-radius: 0 0 0 72px;
  box-shadow: 0 28px 76px rgba(7, 26, 51, 0.2);
}

.system-family-plumbing {
  --family-accent: var(--green);
  border-radius: 72px 0 0;
}

.system-family-header {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: 32px;
  align-items: start;
}

.system-family-index {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: var(--family-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.system-family-index i {
  display: block;
  width: 46px;
  height: 2px;
  background: currentColor;
}

.system-family-copy {
  max-width: 690px;
}

.system-family-kicker {
  margin: 0 0 14px;
  color: var(--family-accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-family-copy h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.25vw, 3.55rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.system-family-copy > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
}

.system-family-hvac .system-family-copy h3 {
  color: var(--white);
}

.system-family-hvac .system-family-copy > p:last-child {
  color: #b8c7d8;
}

.system-tags {
  display: grid;
  gap: 0;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.system-tags li {
  position: relative;
  padding: 12px 10px 12px 24px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.system-tags li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 3px;
  width: 7px;
  height: 7px;
  background: var(--family-accent);
  border-radius: 50%;
}

.system-family-hvac .system-tags {
  border-color: rgba(255, 255, 255, 0.2);
}

.system-family-hvac .system-tags li {
  color: #c4d0de;
  border-color: rgba(255, 255, 255, 0.2);
}

.systems-photo-grid {
  display: grid;
  gap: 14px;
  margin-top: 46px;
}

.systems-photo-grid-electrical {
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: minmax(330px, 390px) minmax(250px, 300px);
}

.systems-photo-grid-hvac {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(310px, 370px) minmax(270px, 320px) minmax(230px, 280px);
}

.system-photo {
  position: relative;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  background: var(--navy-soft);
}

.system-photo.image-unavailable::before {
  content: "CVC LJ&CO · TECHNICAL REFERENCE";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  transform: translate(-50%, -50%);
}

.system-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 51, 0.02) 28%, rgba(7, 26, 51, 0.9) 100%);
  pointer-events: none;
}

.system-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.05);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.system-photo:hover img {
  transform: scale(1.035);
}

.system-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 23px;
  left: 25px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.system-photo figcaption span {
  color: #8fd0fb;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.system-family-hvac .system-photo figcaption span {
  color: #f7d969;
}

.system-photo figcaption strong {
  max-width: 520px;
  margin-top: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.65vw, 1.48rem);
  font-weight: 400;
  line-height: 1.2;
}

.system-photo-transformer {
  border-radius: 0 0 0 46px;
}

.system-photo-tgbt {
  border-radius: 0 42px 0 0;
}

.system-photo-transformer img {
  object-position: center 58%;
}

.system-photo-tgbt img {
  object-position: center 47%;
}

.system-photo-generator img {
  object-position: center 50%;
}

.system-photo-ssi img {
  object-position: center 44%;
}

.system-photo-chiller {
  grid-column: span 7;
  border-radius: 0 0 0 42px;
}

.system-photo-boiler {
  grid-column: span 5;
  border-radius: 0 42px 0 0;
}

.system-photo-hydronic {
  grid-column: span 4;
}

.system-photo-ahu {
  grid-column: span 8;
}

.system-photo-vmc {
  grid-column: 1 / -1;
}

.system-photo-chiller img {
  object-position: center 55%;
}

.system-photo-boiler img {
  object-position: center 48%;
}

.system-photo-hydronic img {
  object-position: center 52%;
}

.system-photo-ahu img {
  object-position: center 52%;
}

.system-photo-vmc img {
  object-position: center 58%;
}

.family-synoptics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.family-synoptics-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.family-synoptics a {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  min-width: 0;
  padding: 10px 15px 10px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.family-synoptics a:hover,
.family-synoptics a:focus-visible {
  z-index: 2;
  border-color: color-mix(in srgb, var(--family-accent) 60%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 15px 38px rgba(7, 26, 51, 0.12);
}

.family-synoptics img {
  width: 88px;
  height: 68px;
  object-fit: contain;
  background: var(--surface);
}

.family-synoptics span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.family-synoptics small {
  color: var(--family-accent);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.family-synoptics strong {
  margin-top: 5px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.25;
}

.family-synoptics b {
  color: var(--family-accent);
  font-size: 1.1rem;
  font-weight: 400;
}

.system-family-hvac .technical-source {
  color: #aebed0;
}

.system-family-hvac .technical-source a {
  color: #f7d969;
}

.system-family-plumbing .technical-family-title {
  margin-top: 54px;
}

.lift-station-card {
  height: clamp(320px, 39vw, 470px);
  margin-top: 16px;
  border-radius: 0 48px 0 0;
}

.lift-station-card img {
  object-position: center 48%;
}

.technical-family-title {
  margin: 0 0 24px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
}

.technical-gallery {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  grid-template-rows: repeat(2, minmax(270px, 340px));
  gap: 16px;
}

.technical-card {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  background: var(--navy-soft);
}

.technical-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(7, 26, 51, 0.92));
  pointer-events: none;
}

.technical-card-wide {
  grid-row: 1 / 3;
  border-radius: 0 0 0 64px;
}

.technical-gallery > .technical-card:nth-child(2) {
  border-radius: 0 52px 0 0;
}

.technical-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.technical-gallery > .technical-card:nth-child(3) img {
  object-position: center 38%;
}

.technical-card:hover img {
  transform: scale(1.035);
}

.technical-card figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.technical-card figcaption span {
  color: #87c8f2;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.technical-card figcaption strong {
  max-width: 560px;
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}

.technical-source {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.technical-source a {
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 3px;
}

.technical-subheading {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 34px;
  align-items: end;
  margin-top: 78px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.technical-subheading h3 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.25vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.technical-subheading > div > p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
}

.sanitary-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: minmax(330px, 420px) minmax(290px, 350px);
  gap: 16px;
  margin-top: 36px;
}

.sanitary-card-wide {
  grid-column: 1 / -1;
  border-radius: 0 58px 0 0;
}

.sanitary-card:nth-child(2) {
  border-radius: 0 0 0 52px;
}

.sanitary-card:nth-child(3) img {
  object-position: center 28%;
}

.synoptics {
  padding-block: 26px 138px;
}

.synoptics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.synoptic-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.synoptic-card:nth-child(1),
.synoptic-card:nth-child(5) {
  border-radius: 0 52px 0 0;
}

.synoptic-card:nth-child(4),
.synoptic-card:nth-child(8) {
  border-radius: 0 0 0 52px;
}

.synoptic-card:hover,
.synoptic-card:focus-visible {
  border-color: rgba(8, 120, 201, 0.55);
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(7, 26, 51, 0.12);
}

.synoptic-preview {
  display: block;
  aspect-ratio: 7 / 4.1;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.synoptic-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 420ms ease;
}

.synoptic-card:hover .synoptic-preview img,
.synoptic-card:focus-visible .synoptic-preview img {
  transform: scale(1.018);
}

.synoptic-copy {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 25px 62px 26px 26px;
}

.synoptic-copy small {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.synoptic-copy strong {
  margin-top: 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.24rem, 1.8vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}

.synoptic-copy > span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.synoptic-open {
  position: absolute;
  right: 27px;
  bottom: 25px;
  color: var(--blue);
  font-size: 1.45rem;
  transition: transform 180ms ease;
}

.synoptic-card:hover .synoptic-open,
.synoptic-card:focus-visible .synoptic-open {
  transform: translate(3px, -3px);
}

.synoptics-note {
  max-width: 820px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.approach {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 860px;
  color: var(--white);
  background: var(--navy);
}

.approach-image {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.approach-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 51, 0.02), rgba(7, 26, 51, 0.52));
}

.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
  filter: saturate(0.8);
}

.vertical-caption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 32px;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.approach-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(42px, 7vw, 120px);
}

.section-label-light {
  color: #9aabbd;
}

.approach h2 {
  max-width: 650px;
  margin-top: 34px;
  font-size: clamp(3rem, 5vw, 5.7rem);
  line-height: 0.98;
}

.approach-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: #b7c5d5;
  font-size: 1.04rem;
}

.approach-steps {
  margin: 62px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-steps li > span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
}

.approach-steps h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.approach-steps p {
  margin: 5px 0 0;
  color: #9fb0c4;
  font-size: 0.89rem;
}

.experience {
  padding-block: 130px 120px;
}

.experience .section-heading {
  grid-template-columns: 0.32fr 1.05fr 0.63fr;
}

.experience-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 320px 320px;
  gap: 16px;
}

.experience-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.experience-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.experience-gallery figure:hover img {
  transform: scale(1.035);
}

.gallery-wide {
  grid-row: 1 / 3;
}

.gallery-tall {
  border-radius: 0 56px 0 0;
}

.experience-gallery figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 13px 16px;
  color: var(--white);
  background: rgba(7, 26, 51, 0.86);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.photo-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.reference-strip {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 30px;
  align-items: center;
  margin-top: 70px;
  padding-block: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reference-strip > p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reference-strip > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.reference-strip span {
  color: #8d98a7;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.founder {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(50px, 8vw, 130px);
  padding-block: 40px 140px;
}

.founder-statement {
  position: relative;
  padding-left: 68px;
}

.quote-mark {
  position: absolute;
  top: -30px;
  left: 0;
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem;
  line-height: 1;
}

.founder blockquote {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.6vw, 3rem);
  line-height: 1.28;
}

.founder-name {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}

.founder-name strong {
  color: var(--navy);
}

.founder-name span {
  color: var(--muted);
  font-size: 0.83rem;
}

.founder-facts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.founder-facts div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.founder-facts span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-facts strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.contact::before,
.contact::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.contact::before {
  width: 500px;
  height: 500px;
  right: -160px;
  top: -260px;
}

.contact::after {
  width: 700px;
  height: 700px;
  right: -260px;
  top: -360px;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: end;
  padding-block: 110px;
}

.eyebrow-light {
  color: #87c8f2;
}

.contact h2 {
  font-size: clamp(3.5rem, 6vw, 7rem);
  line-height: 0.95;
}

.contact-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-actions a {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 23px 48px 23px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

.contact-actions a::after {
  content: "↗";
  position: absolute;
  right: 5px;
  top: 50%;
  color: #87c8f2;
  font-size: 1.6rem;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.contact-actions a:hover::after {
  transform: translate(4px, calc(-50% - 4px));
}

.contact-actions span {
  color: #9fb0c4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-actions strong {
  margin-top: 4px;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  min-height: 142px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  color: var(--navy);
}

.footer-brand span {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: flex;
    grid-column: 2;
    justify-self: end;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px max(28px, calc((100vw - 1220px) / 2)) 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(7, 26, 51, 0.1);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .language-switch {
    grid-column: 3;
    margin-left: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 78px;
  }

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

  .hero-visual {
    min-height: 620px;
  }

  .hero-image-main {
    left: 18%;
  }

  .hero-image-secondary {
    right: 54%;
  }

  .intro,
  .intro-content {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 28px;
  }

  .intro-content {
    gap: 34px;
  }

  .section-heading,
  .experience .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading h2,
  .section-intro {
    max-width: 760px;
  }

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

  .technical-gallery {
    grid-template-rows: repeat(2, minmax(250px, 310px));
  }

  .system-family-header {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .system-tags {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-tags li:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .system-family-hvac .system-tags li:nth-child(odd) {
    border-right-color: rgba(255, 255, 255, 0.2);
  }

  .systems-photo-grid-electrical {
    grid-template-rows: minmax(290px, 340px) minmax(235px, 280px);
  }

  .systems-photo-grid-hvac {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(260px, 310px)) minmax(230px, 270px);
  }

  .system-photo-chiller,
  .system-photo-boiler,
  .system-photo-hydronic,
  .system-photo-ahu {
    grid-column: auto;
  }

  .system-photo-vmc {
    grid-column: 1 / -1;
  }

  .family-synoptics-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-subheading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sanitary-gallery {
    grid-template-rows: minmax(300px, 360px) minmax(260px, 320px);
  }

  .synoptics-grid {
    gap: 18px;
  }

  .approach {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .founder {
    grid-template-columns: 1fr;
  }

  .founder-facts {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(100% - 36px, 1220px);
  }

  .site-header {
    min-height: 78px;
    padding-inline: 18px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-name {
    font-size: 1.9rem;
  }

  .brand-detail {
    padding-left: 9px;
  }

  .brand-detail strong {
    font-size: 0.67rem;
  }

  .brand-detail small {
    display: none;
  }

  .brand-colors {
    bottom: -7px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    margin-left: 8px;
  }

  .language-switch {
    gap: 3px;
    margin-left: 7px;
  }

  .language-button {
    width: 37px;
    height: 37px;
    font-size: 0.67rem;
  }

  .site-nav {
    padding-inline: 18px;
  }

  .hero {
    gap: 54px;
    padding-block: 56px 78px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
  }

  .hero-lead {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 34px;
  }

  .hero-proof div {
    display: grid;
    grid-template-columns: 82px 1fr;
    align-items: center;
  }

  .hero-proof span {
    max-width: none;
  }

  .hero-visual {
    min-height: 510px;
  }

  .hero-image-main {
    inset: 0 0 21% 8%;
    border-radius: 2px 58px 2px 2px;
  }

  .hero-image-secondary {
    right: 42%;
    height: 170px;
  }

  .hero-note {
    right: -8px;
    width: 210px;
    padding: 18px;
  }

  .hero-note p {
    margin-top: 10px;
    font-size: 0.77rem;
  }

  .intro {
    padding-block: 82px;
  }

  .intro h2,
  .section-heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
  }

  .services {
    padding-block: 30px 90px;
  }

  .technical-showcase {
    padding-block: 10px 90px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 250px;
    padding: 28px;
  }

  .service-card h3 {
    margin-top: 34px;
  }

  .technical-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 300px);
  }

  .systems-index {
    grid-template-columns: 1fr;
    border-radius: 0 28px 0 0;
  }

  .systems-index a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .systems-index strong {
    white-space: normal;
  }

  .system-family {
    margin-top: 24px;
    padding: 25px 18px 28px;
  }

  .system-family-electrical,
  .system-family-hvac,
  .system-family-plumbing {
    border-radius: 0 38px 0 0;
  }

  .system-family-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .system-family-index {
    flex-direction: row;
    align-items: center;
  }

  .system-family-index i {
    width: 56px;
  }

  .system-family-copy h3 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .system-family-copy > p:last-child {
    margin-top: 17px;
  }

  .system-tags {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .system-tags li:nth-child(odd),
  .system-family-hvac .system-tags li:nth-child(odd) {
    border-right: 0;
  }

  .systems-photo-grid-electrical,
  .systems-photo-grid-hvac {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    margin-top: 30px;
  }

  .systems-photo-grid .system-photo {
    grid-column: auto;
    grid-row: auto;
    min-height: 290px;
    border-radius: 0;
  }

  .systems-photo-grid .system-photo:first-child {
    border-radius: 0 34px 0 0;
  }

  .systems-photo-grid .system-photo:last-child {
    border-radius: 0 0 0 34px;
  }

  .family-synoptics,
  .family-synoptics-four {
    grid-template-columns: 1fr;
  }

  .family-synoptics a {
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .family-synoptics img {
    width: 78px;
    height: 62px;
  }

  .system-family-plumbing .technical-family-title {
    margin-top: 44px;
  }

  .lift-station-card {
    height: 300px;
  }

  .technical-card-wide {
    grid-row: auto;
    border-radius: 0 42px 0 0;
  }

  .technical-gallery > .technical-card:nth-child(2) {
    border-radius: 0;
  }

  .technical-gallery > .technical-card:last-child {
    border-radius: 0 0 0 42px;
  }

  .technical-card figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .technical-subheading {
    margin-top: 58px;
    padding-top: 48px;
  }

  .sanitary-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 300px);
    margin-top: 28px;
  }

  .sanitary-card-wide {
    grid-column: auto;
    border-radius: 0 42px 0 0;
  }

  .sanitary-card:nth-child(2) {
    border-radius: 0;
  }

  .sanitary-card:last-child {
    border-radius: 0 0 0 42px;
  }

  .synoptics {
    padding-block: 10px 96px;
  }

  .synoptics-grid {
    grid-template-columns: 1fr;
  }

  .synoptic-card:nth-child(1),
  .synoptic-card:nth-child(4),
  .synoptic-card:nth-child(5),
  .synoptic-card:nth-child(8) {
    border-radius: 0;
  }

  .synoptic-card:first-child {
    border-radius: 0 38px 0 0;
  }

  .synoptic-card:last-child {
    border-radius: 0 0 0 38px;
  }

  .synoptic-copy {
    min-height: 150px;
    padding: 22px 55px 23px 22px;
  }

  .approach {
    grid-template-columns: 1fr;
  }

  .approach-image {
    min-height: 560px;
  }

  .approach-copy {
    padding: 70px 26px 82px;
  }

  .approach h2 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .experience {
    padding-block: 90px 80px;
  }

  .experience-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 280px);
  }

  .gallery-wide {
    grid-row: auto;
  }

  .gallery-tall {
    border-radius: 0 40px 0 0;
  }

  .reference-strip {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .reference-strip > div {
    justify-content: flex-start;
  }

  .founder {
    padding-block: 30px 100px;
  }

  .founder-statement {
    padding-left: 36px;
  }

  .quote-mark {
    left: -5px;
    font-size: 4.5rem;
  }

  .founder-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 84px;
  }

  .contact h2 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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