:root {
  --navy-950: #071f2b;
  --navy-900: #0f2f3d;
  --navy-800: #174452;
  --teal-600: #0b7f83;
  --teal-500: #12989a;
  --aqua-100: #dff5f3;
  --warm-600: #b95f36;
  --warm-500: #d47746;
  --warm-200: #efd0b6;
  --sand-100: #f8f1e9;
  --ink: #15262d;
  --muted: #5d6d73;
  --line: #dce5e7;
  --surface: #f4f8f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgb(3 27 37 / 14%);
  --shell: min(1180px, calc(100% - 36px));
}

/* Privacy policy */
.legal-hero{padding:clamp(80px,10vw,140px) 0 70px;color:#fff;background:linear-gradient(120deg,#082d3a,#0d6570)}
.legal-hero h1{margin:12px 0 14px;font-size:clamp(44px,7vw,78px);letter-spacing:-.06em}
.legal-hero p:last-child{max-width:680px;color:#d8e7e8;font-size:17px;line-height:1.8}
.legal-content{padding-block:clamp(54px,8vw,100px)}
.legal-effective{display:inline-block;margin:0 0 28px;padding:8px 12px;border-radius:999px;color:#8a4d32;background:#fff0e8;font-size:12px;font-weight:800}
.legal-content article{padding:30px 0;border-top:1px solid #dce5e6}
.legal-content article h2{margin:0 0 16px;font-size:clamp(22px,3vw,30px);letter-spacing:-.035em}
.legal-content article p,.legal-content article li{color:#546b73;line-height:1.85}
.legal-content article ul{margin:0;padding-left:22px}
.legal-table{overflow:hidden;border:1px solid #d5e1e2;border-radius:10px}
.legal-table>div{display:grid;grid-template-columns:.7fr 1.25fr 1.25fr 1.3fr}
.legal-table>div>*{padding:13px;border-right:1px solid #e1e9ea;border-bottom:1px solid #e1e9ea;color:#536970;font-size:13px;line-height:1.65}
.legal-table>div>*:last-child{border-right:0}.legal-table>div:last-child>*{border-bottom:0}.legal-table>div:first-child{background:#edf4f4}.legal-table>div:first-child>*{color:#183b47}
.legal-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:10px}
.legal-contact div{padding:14px;border-radius:8px;background:#f2f7f6}.legal-contact dt{color:#72868c;font-size:11px;font-weight:800}.legal-contact dd{margin:6px 0 0;font-weight:800}.legal-contact a{color:#087a81}
.legal-review-note{padding:22px;border-left:4px solid #d66e40;border-radius:8px;background:#fff3ed}.legal-review-note p{margin:8px 0 0;color:#695c56;line-height:1.7}
@media(max-width:760px){.legal-table{overflow-x:auto}.legal-table>div{min-width:760px}.legal-contact{grid-template-columns:1fr}}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  padding-bottom: 64px;
  color: var(--ink);
  background: var(--white);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--ink);
  border-bottom: 1px solid rgb(14 47 61 / 10%);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 8px 28px rgb(5 28 38 / 7%);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 12px 34px rgb(5 28 38 / 11%);
}

.header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  position: relative;
  z-index: 102;
  display: flex;
  width: 174px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: none;
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: inherit;
  background: var(--surface);
  cursor: pointer;
  place-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: flex;
  visibility: hidden;
  padding: 100px 24px 40px;
  flex-direction: column;
  background: var(--white);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.primary-nav.is-open {
  visibility: visible;
  opacity: 1;
}

.primary-nav a {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.primary-nav {
  overflow-y: auto;
}

.nav-products {
  position: relative;
}

.nav-products-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-products-link::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.nav-products-menu {
  display: grid;
  margin: 0 0 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #f6f9f9;
}

.nav-products-menu > a,
.nav-products-menu > div {
  display: grid;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  gap: 4px;
}

.nav-products-menu > :last-child {
  border-bottom: 0;
}

.primary-nav .nav-products-menu a {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: inherit;
}

.nav-products-menu strong {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 750;
}

.nav-products-menu span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 450;
  line-height: 1.55;
}

.nav-products-menu > a:hover strong,
.nav-products-menu > a:focus-visible strong {
  color: var(--warm-600);
}

.header-actions {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  color: var(--white);
  isolation: isolate;
  align-items: end;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background: var(--navy-900);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(18 26 28 / 30%) 0%, rgb(18 26 28 / 8%) 25%, rgb(18 26 28 / 76%) 100%),
    linear-gradient(90deg, rgb(22 29 29 / 82%) 0%, rgb(22 29 29 / 30%) 78%);
}

.hero-content {
  padding-block: 132px 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f3b98e;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.05rem, 7.6vw, 4.25rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  align-items: center;
  justify-content: center;
  font-size: 0.93rem;
  font-weight: 750;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.button-solid {
  color: var(--white);
  background: var(--warm-500);
}

.button-solid:hover {
  background: var(--warm-600);
}

.button-ghost {
  border-color: rgb(255 255 255 / 56%);
  color: var(--white);
  background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(8px);
}

.text-link {
  display: inline-flex;
  min-height: 50px;
  padding-inline: 8px;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.hero-points {
  display: grid;
  margin: 42px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgb(255 255 255 / 28%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  gap: 10px 18px;
}

.hero-points li {
  position: relative;
  padding-left: 15px;
  color: rgb(255 255 255 / 78%);
  font-size: 0.86rem;
  font-weight: 650;
}

.hero-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f0a675;
  content: "";
}

.section {
  padding-block: 90px;
}

.service-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  gap: 22px;
}

.eyebrow-dark {
  color: var(--warm-600);
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 7vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.section-heading > p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.service-grid {
  display: grid;
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-card-featured {
  color: var(--white);
  background: #26373b;
  box-shadow: var(--shadow);
  margin-inline: -18px;
  padding-inline: 18px;
}

.service-number {
  color: var(--warm-500);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card-featured .service-number,
.service-card-featured .service-kicker {
  color: #f0b58a;
}

.service-kicker {
  margin: 42px 0 8px;
  color: var(--warm-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.service-card > p:not(.service-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
}

.service-card-featured > p:not(.service-kicker) {
  color: rgb(255 255 255 / 72%);
}

.service-card a {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card-featured a {
  left: 18px;
  color: var(--white);
}

.button-kakao {
  border-color: var(--line);
  color: var(--muted);
  background: var(--surface);
}

.site-header.is-scrolled .button-kakao,
.site-header.is-open .button-kakao {
  border-color: var(--line);
  color: var(--muted);
  background: var(--surface);
}

.button-light {
  color: var(--navy-950);
  background: var(--white);
}

.button-outline {
  border-color: var(--navy-900);
  color: var(--navy-900);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy-900);
}

.section-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.method-section {
  background: var(--sand-100);
}

.method-layout {
  display: grid;
  gap: 48px;
}

.method-intro h2,
.problem-content h2,
.process-heading h2,
.resource-copy h2,
.contact-content h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.method-intro h2,
.process-heading h2,
.resource-copy h2 {
  color: var(--navy-950);
  font-size: clamp(2rem, 7vw, 3.6rem);
}

.method-intro > p:not(.eyebrow),
.resource-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
}

.method-intro strong {
  display: block;
  margin-top: 24px;
  padding-left: 16px;
  border-left: 3px solid var(--warm-500);
  color: var(--navy-900);
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  padding: 22px 0;
  border-top: 1px solid #ccdadd;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
}

.method-list li:last-child {
  border-bottom: 1px solid #ccdadd;
}

.method-list li > span {
  color: var(--warm-600);
  font-size: 0.77rem;
  font-weight: 800;
}

.method-list h3,
.method-list p {
  margin: 0;
}

.method-list h3 {
  color: var(--navy-950);
  font-size: 1.15rem;
}

.method-list p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.problem-section {
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.problem-layout {
  display: grid;
  gap: 44px;
}

.problem-photo {
  margin: 0;
}

.problem-photo img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center;
}

.problem-photo figcaption {
  margin-top: 10px;
  color: rgb(255 255 255 / 57%);
  font-size: 0.76rem;
}

.problem-content h2 {
  font-size: clamp(2rem, 7vw, 3.35rem);
}

.problem-content > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgb(255 255 255 / 70%);
}

.problem-list {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  gap: 0;
}

.problem-list li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: rgb(255 255 255 / 86%);
  font-size: 0.91rem;
}

.problem-list li::before {
  position: absolute;
  top: 22px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: #e58a5c;
  content: "";
}

.case-summary {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 17%);
  background: rgb(255 255 255 / 6%);
}

.case-summary .case-label {
  margin: 0 0 8px;
  color: #f0b58a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.case-summary h3,
.case-summary > p:last-child {
  margin: 0;
}

.case-summary h3 {
  font-size: 1.18rem;
}

.case-summary > p:last-child {
  margin-top: 10px;
  color: rgb(255 255 255 / 67%);
  font-size: 0.88rem;
}

.product-section {
  background: var(--white);
}

.product-grid {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.product-card {
  min-height: 220px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.product-card > span {
  color: var(--warm-600);
  font-size: 0.75rem;
  font-weight: 800;
}

.product-card h3 {
  margin: 48px 0 0;
  color: var(--navy-950);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.product-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-card:first-child {
  margin-inline: -18px;
  padding-inline: 18px;
  background: var(--sand-100);
}

.product-link-wrap {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.product-link-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.project-section {
  background: var(--surface);
}

.project-categories {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 8px;
}

.project-categories span {
  padding: 7px 11px;
  border: 1px solid #ccdadd;
  color: var(--muted);
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
}

.project-list {
  display: grid;
  margin-top: 34px;
  gap: 22px;
}

.project-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 50px rgb(10 39 50 / 10%);
}

.project-image-wrap {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: var(--navy-900);
}

.project-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--warm-500);
  font-size: 0.73rem;
  font-weight: 800;
}

.project-copy {
  padding: 28px;
}

.project-copy .project-place {
  margin: 0 0 10px;
  color: var(--warm-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.project-copy h3,
.project-copy > p {
  margin: 0;
}

.project-copy h3 {
  color: var(--navy-950);
  font-size: 1.55rem;
  line-height: 1.3;
}

.project-copy > p:not(.project-place) {
  margin-top: 14px;
  color: var(--muted);
}

.project-results {
  display: grid;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.project-results li {
  padding-left: 16px;
  position: relative;
  color: var(--navy-800);
  font-size: 0.86rem;
  font-weight: 700;
}

.project-results li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--warm-500);
  content: "";
}

.process-section {
  background: var(--white);
}

.process-list {
  display: grid;
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 210px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--warm-600);
  font-size: 0.76rem;
  font-weight: 800;
}

.process-list h3 {
  margin: 40px 0 0;
  color: var(--navy-950);
  font-size: 1.12rem;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.resource-section {
  background: var(--sand-100);
}

.resource-layout {
  display: grid;
  gap: 44px;
}

.resource-cards {
  display: grid;
  gap: 14px;
}

.resource-card {
  padding: 28px;
  border: 1px solid #c9dadd;
  background: var(--white);
}

.resource-card > p {
  margin: 0;
  color: var(--warm-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.resource-card h3 {
  margin: 28px 0 0;
  color: var(--navy-950);
  font-size: 1.28rem;
}

.resource-card > span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.86rem;
}

.resource-card a {
  display: inline-flex;
  margin-top: 28px;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 800;
}

.resource-card-guide {
  overflow: hidden;
}

.resource-card-guide > img {
  width: calc(100% + 56px);
  height: 152px;
  margin: -28px -28px 24px;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.contact-section {
  position: relative;
  display: grid;
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  align-items: center;
}

.contact-media,
.contact-shade {
  position: absolute;
  inset: 0;
}

.contact-media {
  z-index: -2;
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgb(5 24 34 / 88%) 0%, rgb(5 24 34 / 60%) 70%, rgb(5 24 34 / 34%) 100%);
}

.contact-content {
  padding-block: 90px;
}

.contact-content h2 {
  max-width: 860px;
  font-size: clamp(2rem, 7vw, 3.7rem);
}

.contact-content > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgb(255 255 255 / 75%);
}

.contact-actions {
  display: flex;
  margin-top: 32px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.contact-actions .button {
  width: 100%;
}

.site-footer {
  color: rgb(255 255 255 / 72%);
  background: #061923;
}

.footer-layout {
  display: grid;
  padding-block: 54px 38px;
  gap: 36px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.footer-brand p {
  margin: 7px 0 0;
  font-size: 0.82rem;
}

.company-info {
  display: grid;
  margin: 0;
  font-style: normal;
  gap: 7px;
}

.company-info p {
  display: grid;
  margin: 0;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  font-size: 0.82rem;
}

.company-info span {
  color: rgb(255 255 255 / 46%);
}

.company-info a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  padding-block: 20px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  flex-direction: column;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.74rem;
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
  font-size: 0.76rem;
}

.mobile-contact,
.mobile-contact-bar {
  position: fixed;
  z-index: 120;
  inset: auto 0 0;
  display: grid;
  height: 64px;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -8px 26px rgb(3 26 37 / 16%);
}

.mobile-contact a,
.mobile-contact-bar a {
  display: grid;
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 800;
  place-items: center;
}

.mobile-contact a:last-child,
.mobile-contact-bar a:last-child {
  background: var(--warm-500);
}

.managed-page-section {
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.managed-page-section:nth-child(even) {
  background: var(--surface);
}

.managed-page-section-layout {
  display: grid;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}

.managed-page-section-copy h2 {
  max-width: 760px;
  margin: 12px 0 20px;
  color: var(--navy-950);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.managed-page-section-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.managed-page-section-copy .button {
  margin-top: 28px;
}

.managed-page-section-media {
  overflow: hidden;
  margin: 0;
  min-height: 280px;
  border-radius: 18px;
  background: #dfe9e9;
  box-shadow: 0 24px 60px rgb(4 39 52 / 12%);
}

.managed-page-section-media img,
.managed-page-section-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #59d1cb;
  outline-offset: 3px;
}

@media (min-width: 760px) {
  :root {
    --shell: min(1180px, calc(100% - 72px));
  }

  body {
    padding-bottom: 0;
  }

  .hero {
    min-height: 810px;
  }

  .hero-content {
    padding-bottom: 58px;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-points {
    grid-template-columns: repeat(5, auto);
    justify-content: start;
    gap: 34px;
  }

  .section {
    padding-block: 120px;
  }

  .section-heading {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: end;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    padding: 34px;
    border-right: 1px solid var(--line);
  }

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .service-card-featured {
    margin: 0;
  }

  .service-card a,
  .service-card-featured a {
    left: 34px;
  }

  .method-layout,
  .problem-layout,
  .resource-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px;
  }

  .problem-photo img {
    height: 100%;
    max-height: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    padding: 30px;
    border-right: 1px solid var(--line);
  }

  .product-card:first-child {
    margin-inline: 0;
  }

  .product-card:nth-child(2n) {
    border-right: 0;
  }

  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card:first-child {
    grid-column: 1 / -1;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .project-card:not(:first-child) {
    grid-template-columns: 1fr;
  }

  .project-card:not(:first-child) .project-image-wrap {
    min-height: 310px;
  }

  .project-copy {
    display: flex;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li {
    padding: 28px;
    border-right: 1px solid var(--line);
  }

  .process-list li:nth-child(2n) {
    border-right: 0;
  }

  .contact-actions {
    flex-direction: row;
    align-items: center;
  }

  .contact-actions .button {
    width: auto;
  }

  .footer-layout {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-contact,
  .mobile-contact-bar {
    display: none;
  }

  .managed-page-section-layout {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  }

  .managed-page-section.has-no-media .managed-page-section-layout {
    grid-template-columns: 1fr;
  }

  .managed-page-section.is-reversed .managed-page-section-copy {
    order: 2;
  }
}

@media (min-width: 1240px) {
  .header-inner {
    min-height: 80px;
  }

  .brand {
    width: 160px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    visibility: visible;
    padding: 0;
    flex-direction: row;
    background: transparent;
    opacity: 1;
    gap: clamp(10px, 1vw, 18px);
  }

  .primary-nav a {
    padding: 28px 0;
    border: 0;
    color: inherit;
    font-size: 0.84rem;
    font-weight: 650;
  }

  .primary-nav {
    overflow: visible;
  }

  .nav-products-link::after {
    width: 5px;
    height: 5px;
  }

  .nav-products-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    z-index: 120;
    display: grid;
    visibility: hidden;
    width: min(720px, 74vw);
    margin: 0;
    padding: 22px 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #dbe4e5;
    background: rgb(255 255 255 / 98%);
    box-shadow: 0 24px 55px rgb(5 29 38 / 18%);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    gap: 0 28px;
  }

  .nav-products:hover .nav-products-menu,
  .nav-products:focus-within .nav-products-menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .primary-nav .nav-products-menu a,
  .nav-products-menu > div {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .primary-nav .nav-products-menu a[aria-current="page"] {
    box-shadow: none;
  }

  .nav-products-menu strong {
    font-size: 0.9rem;
  }

  .nav-products-menu span {
    font-size: 0.76rem;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .phone-link {
    display: grid;
    line-height: 1.2;
  }

  .phone-link span {
    font-size: 0.65rem;
    opacity: 0.68;
  }

  .phone-link strong {
    margin-top: 3px;
    font-size: 0.9rem;
  }

  .button-small {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 880px;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .hero-copy {
    font-size: 1.13rem;
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-child(2n) {
    min-height: 390px;
    border-right: 1px solid var(--line);
  }

  .service-card:last-child {
    border-right: 0;
  }

  .method-layout {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 110px;
  }

  .method-intro {
    position: sticky;
    top: 120px;
    align-self: start;
  }

  .problem-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: stretch;
  }

  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-card,
  .product-card:nth-child(2n) {
    min-height: 270px;
    padding: 30px 24px;
    border-right: 1px solid var(--line);
  }

  .product-card:last-child {
    border-right: 0;
  }

  .project-card:first-child .project-image-wrap {
    min-height: 560px;
  }

  .project-card:first-child .project-copy {
    padding: 56px;
  }

  .project-card:not(:first-child) .project-image-wrap {
    min-height: 340px;
  }

  .project-card:not(:first-child) .project-copy {
    padding: 36px;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-list li,
  .process-list li:nth-child(2n) {
    min-height: 240px;
    padding: 32px;
    border-right: 1px solid var(--line);
  }

  .process-list li:nth-child(3n) {
    border-right: 0;
  }

  .resource-layout {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 100px;
    align-items: center;
  }

  .resource-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-card {
    min-height: 310px;
    padding: 34px;
  }

  .resource-card-guide > img {
    width: calc(100% + 68px);
    height: 170px;
    margin: -34px -34px 26px;
  }

  .contact-section {
    min-height: 680px;
  }

  .footer-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
  }

  .company-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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;
  }
}

/* Company introduction page */
.primary-nav a[aria-current="page"] {
  color: var(--warm-600);
}

.about-hero {
  min-height: 790px;
}

.about-hero h1 {
  max-width: 1100px;
  font-size: clamp(2.05rem, 7vw, 3.8rem);
}

.about-hero .hero-media img {
  object-position: center;
}

.about-hero .hero-shade {
  background:
    linear-gradient(180deg, rgb(9 26 31 / 34%) 0%, rgb(9 26 31 / 8%) 27%, rgb(9 26 31 / 82%) 100%),
    linear-gradient(90deg, rgb(12 29 32 / 86%) 0%, rgb(12 29 32 / 34%) 78%);
}

.about-hero-copy {
  display: grid;
  max-width: 720px;
  margin-top: 24px;
  color: rgb(255 255 255 / 86%);
  gap: 9px;
}

.about-hero-copy p {
  margin: 0;
}

.about-intro-layout,
.about-diagnosis-layout,
.about-message-layout,
.about-company-layout {
  display: grid;
  gap: 44px;
}

.about-intro-copy h2,
.about-dark-heading h2,
.about-diagnosis-copy h2,
.about-message-heading h2,
.about-company-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 7vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.about-intro-copy > p:not(.eyebrow),
.about-diagnosis-copy > p:not(.eyebrow),
.about-company-heading > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.about-intro-copy .about-lead,
.about-diagnosis-copy .about-lead {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 680;
}

.about-intro-visual {
  position: relative;
}

.about-photo-collage {
  display: grid;
  padding: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 280px 132px;
  gap: 8px;
}

.about-photo-collage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.about-photo-collage .about-photo-main {
  grid-column: 1 / -1;
}

.condition-panel {
  position: relative;
  width: calc(100% - 28px);
  margin: -32px 14px 0;
  padding: 24px;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.condition-panel > p {
  margin: 0 0 15px;
  color: #f3b98e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.condition-panel ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  gap: 9px 16px;
}

.condition-panel li {
  position: relative;
  padding-left: 13px;
  color: rgb(255 255 255 / 78%);
  font-size: 0.84rem;
}

.condition-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warm-500);
  content: "";
}

.about-business-section {
  background: var(--surface);
}

.about-business-grid {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.about-business-card {
  position: relative;
  min-height: 280px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.about-business-card > span {
  color: var(--warm-600);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.about-business-card h3 {
  margin: 24px 0 12px;
  color: var(--navy-950);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.about-business-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.about-strength-section {
  color: var(--white);
  background: var(--navy-950);
}

.about-dark-heading {
  max-width: 780px;
}

.about-dark-heading h2 {
  color: var(--white);
}

.about-dark-heading > p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgb(255 255 255 / 64%);
}

.about-strength-grid {
  display: grid;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
  list-style: none;
}

.about-strength-grid li {
  min-height: 230px;
  padding: 28px 0;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.about-strength-grid span {
  display: block;
  color: #f3b98e;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.about-strength-grid strong {
  display: block;
  margin-top: 35px;
  color: var(--white);
  font-size: 1.15rem;
}

.about-strength-grid p {
  margin: 11px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 0.88rem;
}

.about-diagnosis-section {
  background: var(--white);
}

.about-diagnosis-photo {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.diagnosis-photo-grid {
  display: grid;
  height: 520px;
  padding: 8px;
  background: var(--white);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 310px 194px;
  gap: 8px;
}

.diagnosis-photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.diagnosis-photo-grid .diagnosis-photo-main {
  grid-column: 1 / -1;
}

.about-diagnosis-photo figcaption {
  padding: 16px 20px;
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 700;
}

.about-issue-list {
  display: grid;
  margin: 28px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.about-issue-list li {
  position: relative;
  padding: 13px 8px 13px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 680;
}

.about-issue-list li::before {
  position: absolute;
  top: 1.48em;
  left: 3px;
  width: 6px;
  height: 2px;
  background: var(--warm-500);
  content: "";
}

.about-process-section {
  background: var(--surface);
}

.about-process-list {
  display: grid;
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.about-process-list li {
  display: grid;
  min-height: 128px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-content: space-between;
  gap: 24px;
}

.about-process-list span {
  color: var(--warm-600);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.about-process-list strong {
  color: var(--navy-950);
  font-size: 1rem;
}

.about-message-section {
  background: var(--sand-100);
}

.about-message-copy {
  padding-top: 5px;
}

.about-message-copy > p {
  margin: 0 0 18px;
  color: #35464c;
}

.about-message-copy > p:first-child {
  color: var(--navy-950);
  font-size: 1.15rem;
  font-weight: 750;
}

.about-signature {
  display: grid;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--warm-200);
  gap: 3px;
}

.about-signature strong {
  color: var(--navy-950);
}

.about-signature span {
  color: var(--muted);
  font-size: 0.82rem;
}

.about-company-heading > p:not(.eyebrow) {
  max-width: 340px;
}

.about-company-info {
  margin: 0;
  border-top: 2px solid var(--navy-950);
}

.about-company-info > div {
  display: grid;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 7px;
}

.about-company-info dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.about-company-info dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.about-company-info a {
  color: var(--teal-600);
  font-weight: 750;
}

.about-contact-section .contact-media img {
  object-position: center 58%;
}

@media (min-width: 760px) {
  .about-hero {
    min-height: 830px;
  }

  .about-hero-copy {
    font-size: 1.05rem;
  }

  .about-intro-layout,
  .about-diagnosis-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 66px;
  }

  .about-photo-collage {
    grid-template-rows: 360px 168px;
  }

  .condition-panel {
    width: calc(100% - 64px);
    margin: -64px 32px 0;
    padding: 28px;
  }

  .about-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-business-card {
    min-height: 310px;
    padding: 32px;
    border-right: 1px solid var(--line);
  }

  .about-business-card:nth-child(2n) {
    border-right: 0;
  }

  .about-strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-strength-grid li {
    min-height: 245px;
    padding: 30px;
    border-right: 1px solid rgb(255 255 255 / 16%);
  }

  .about-strength-grid li:nth-child(2n) {
    border-right: 0;
  }

  .about-strength-grid li:last-child {
    grid-column: span 2;
  }

  .diagnosis-photo-grid {
    height: 670px;
    grid-template-columns: 1.18fr 0.82fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .diagnosis-photo-grid .diagnosis-photo-main {
    grid-row: 1 / 3;
    grid-column: 1;
  }

  .about-issue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-issue-list li:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .about-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-process-list li {
    min-height: 150px;
    padding: 24px;
    border-right: 1px solid var(--line);
  }

  .about-process-list li:nth-child(2n) {
    border-right: 0;
  }

  .about-message-layout,
  .about-company-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
  }

  .about-message-copy {
    padding-left: 44px;
    border-left: 1px solid var(--warm-200);
  }

  .about-company-info > div {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 21px 0;
    gap: 20px;
  }
}

@media (min-width: 1240px) {
  .primary-nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--warm-500);
  }

  .about-hero {
    min-height: 880px;
  }

  .about-hero .hero-content {
    padding-bottom: 84px;
  }

  .about-intro-layout {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 100px;
  }

  .about-business-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-business-card,
  .about-business-card:nth-child(2n) {
    min-height: 330px;
    padding: 36px;
    border-right: 1px solid var(--line);
  }

  .about-business-card:nth-child(3n) {
    border-right: 0;
  }

  .about-strength-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-strength-grid li,
  .about-strength-grid li:nth-child(2n) {
    min-height: 270px;
    padding: 34px;
    border-right: 1px solid rgb(255 255 255 / 16%);
  }

  .about-strength-grid li:nth-child(4n) {
    border-right: 0;
  }

  .about-strength-grid li:last-child {
    grid-column: span 2;
    border-right: 0;
  }

  .about-diagnosis-layout {
    grid-template-columns: 0.86fr 1.14fr;
    gap: 100px;
  }

  .about-process-list {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .about-process-list li,
  .about-process-list li:nth-child(2n) {
    min-height: 190px;
    padding: 25px 20px;
    border-right: 1px solid var(--line);
  }

  .about-process-list li:last-child {
    border-right: 0;
  }

  .about-message-layout,
  .about-company-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 120px;
  }

  .about-message-copy {
    padding-left: 70px;
  }
}

/* Business area page */
.business-hero {
  min-height: 820px;
}

.business-hero .hero-media img {
  object-position: 62% center;
}

.business-hero-shade {
  background:
    linear-gradient(180deg, rgb(5 22 29 / 28%) 0%, rgb(5 22 29 / 14%) 26%, rgb(5 22 29 / 88%) 100%),
    linear-gradient(90deg, rgb(6 25 33 / 92%) 0%, rgb(6 25 33 / 62%) 62%, rgb(6 25 33 / 16%) 100%);
}

.business-hero h1 {
  max-width: 1040px;
  font-size: clamp(2.05rem, 7vw, 3.8rem);
}

.business-hero-copy {
  max-width: 720px;
}

.business-hero-points {
  display: grid;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 24%);
  list-style: none;
}

.business-hero-points li {
  display: grid;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  color: rgb(255 255 255 / 82%);
  font-size: 0.9rem;
  font-weight: 700;
  gap: 10px;
}

.business-hero-points span {
  color: #f3b98e;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.business-overview-section {
  background: var(--surface);
}

.business-route-grid {
  display: grid;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.business-route-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  color: var(--ink);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.business-route-card::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--teal-600);
  content: "";
  transition: width 220ms ease;
}

.business-route-card:hover,
.business-route-card:focus-visible {
  background: var(--white);
  transform: translateY(-4px);
}

.business-route-card:hover::before,
.business-route-card:focus-visible::before {
  width: 100%;
}

.business-route-card-accent::before {
  width: 42px;
  background: var(--warm-500);
}

.business-route-number {
  color: var(--warm-600);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.business-route-card > p {
  margin: 35px 0 9px;
  color: var(--teal-600);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.business-route-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.42rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.business-route-copy {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.business-route-link {
  display: flex;
  margin-top: auto;
  padding-top: 28px;
  color: var(--navy-900);
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 800;
}

.business-route-link b {
  color: var(--warm-600);
  font-size: 1.08rem;
}

.business-detail-section {
  background: var(--white);
  scroll-margin-top: 84px;
}

.business-detail-section-alt {
  background: var(--sand-100);
}

.business-detail-layout {
  display: grid;
  gap: 46px;
}

.business-detail-photo {
  margin: 0;
  background: var(--navy-950);
  box-shadow: var(--shadow);
}

.business-detail-photo img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
}

.business-detail-photo figcaption {
  padding: 15px 18px;
  color: rgb(255 255 255 / 72%);
  font-size: 0.78rem;
  font-weight: 650;
}

.business-detail-heading {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 14px;
}

.business-detail-heading > span {
  padding-top: 5px;
  color: var(--warm-600);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.business-detail-heading h2,
.business-improvement-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.business-detail-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
}

.business-detail-copy .business-detail-lead,
.business-improvement-heading .business-detail-lead {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 720;
}

.business-fact-grid {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.business-fact-grid > div {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.business-fact-grid h3 {
  margin: 0 0 16px;
  color: var(--navy-950);
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

.business-fact-grid ul,
.business-improvement-list ul,
.business-improvement-work ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 9px;
}

.business-fact-grid li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.business-fact-grid li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 2px;
  background: var(--teal-600);
  content: "";
}

.business-key-message {
  margin: 28px 0 0;
  padding: 20px 22px;
  border-left: 3px solid var(--warm-500);
  color: var(--navy-950);
  background: var(--surface);
  font-size: 1.02rem;
  font-weight: 780;
  line-height: 1.55;
}

.business-detail-section-alt .business-key-message {
  background: var(--white);
}

.business-improvement-section {
  color: var(--white);
  background: var(--navy-950);
  scroll-margin-top: 84px;
}

.business-improvement-heading {
  display: grid;
  gap: 30px;
}

.business-detail-heading-light > span {
  color: #f3b98e;
}

.business-detail-heading-light h2 {
  color: var(--white);
}

.business-improvement-heading > div:last-child p {
  margin: 0 0 14px;
  color: rgb(255 255 255 / 65%);
}

.business-improvement-heading > div:last-child .business-detail-lead {
  color: var(--white);
}

.business-compare {
  display: grid;
  margin-top: 52px;
  padding: 8px;
  background: rgb(255 255 255 / 9%);
  gap: 8px;
}

.business-compare figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #091d27;
}

.business-compare img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.business-compare figure:first-child img {
  object-position: center 68%;
}

.business-compare figcaption {
  padding: 15px 18px;
  color: rgb(255 255 255 / 68%);
  font-size: 0.8rem;
}

.business-compare-label {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  color: var(--white);
  background: rgb(9 28 38 / 84%);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.business-compare-label-after {
  background: var(--warm-500);
}

.business-improvement-content {
  display: grid;
  margin-top: 52px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  gap: 44px;
}

.business-improvement-list,
.business-improvement-work {
  padding-top: 32px;
}

.business-improvement-list h3,
.business-improvement-work h3 {
  margin: 0 0 22px;
  color: var(--white);
  font-size: 1.2rem;
}

.business-improvement-list li {
  position: relative;
  padding: 12px 8px 12px 18px;
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  color: rgb(255 255 255 / 72%);
  font-size: 0.87rem;
}

.business-improvement-list li::before {
  position: absolute;
  top: 1.55em;
  left: 2px;
  width: 6px;
  height: 2px;
  background: var(--warm-500);
  content: "";
}

.business-improvement-work ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.business-improvement-work li {
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 76%);
  font-size: 0.82rem;
}

.business-key-message-dark {
  color: var(--white);
  background: rgb(255 255 255 / 8%);
}

.business-contact-section .contact-media img {
  object-position: center 58%;
}

@media (min-width: 760px) {
  .business-hero {
    min-height: 850px;
  }

  .business-hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .business-hero-points li {
    padding: 18px 20px 18px 0;
    border-right: 1px solid rgb(255 255 255 / 18%);
    border-bottom: 0;
  }

  .business-hero-points li + li {
    padding-left: 20px;
  }

  .business-hero-points li:last-child {
    border-right: 0;
  }

  .business-route-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .business-route-card {
    min-height: 390px;
    padding: 32px 26px;
    border-right: 1px solid var(--line);
  }

  .business-route-card:last-child {
    border-right: 0;
  }

  .business-detail-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 66px;
  }

  .business-detail-layout-reverse .business-detail-photo {
    order: 2;
  }

  .business-detail-photo img {
    height: 620px;
  }

  .business-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-fact-grid > div {
    padding: 24px;
    border-right: 1px solid var(--line);
  }

  .business-fact-grid > div:last-child {
    border-right: 0;
  }

  .business-improvement-heading {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    gap: 80px;
  }

  .business-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-compare img {
    height: 520px;
  }

  .business-improvement-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px;
  }

  .business-improvement-list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }
}

@media (min-width: 1240px) {
  .business-hero {
    min-height: 880px;
  }

  .business-hero .hero-content {
    padding-bottom: 76px;
  }

  .business-route-card {
    min-height: 410px;
    padding: 38px 34px;
  }

  .business-detail-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 100px;
  }

  .business-detail-photo {
    position: sticky;
    top: 120px;
  }

  .business-detail-photo img {
    height: 680px;
  }

  .business-compare img {
    height: 590px;
  }
}

/* NEO pool heat pump product page */
.heatpump-page {
  overflow-x: hidden;
}

.product-detail-link {
  display: inline-flex;
  margin-top: 22px;
  align-items: center;
  color: var(--warm-600);
  font-size: 0.76rem;
  font-weight: 900;
  gap: 8px;
}

.product-detail-link:hover {
  color: var(--navy-900);
}

.heatpump-hero {
  position: relative;
  display: grid;
  min-height: 920px;
  padding-top: 70px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  isolation: isolate;
}

.heatpump-hero-media,
.heatpump-hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.heatpump-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.heatpump-hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(5 23 31 / 56%) 0%, rgb(5 23 31 / 76%) 52%, rgb(5 23 31 / 94%) 100%),
    linear-gradient(90deg, rgb(4 24 33 / 93%) 0%, rgb(4 24 33 / 46%) 88%);
}

.heatpump-hero-layout {
  display: grid;
  padding-block: 58px 44px;
  align-content: center;
  gap: 32px;
}

.heatpump-breadcrumb {
  display: flex;
  margin: 0 0 42px;
  align-items: center;
  color: rgb(255 255 255 / 62%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  gap: 9px;
}

.heatpump-breadcrumb a:hover {
  color: var(--white);
}

.heatpump-hero-copy h1 {
  max-width: 850px;
  margin: 16px 0 0;
  font-size: clamp(2.1rem, 10vw, 4.8rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.heatpump-hero-copy > p:not(.eyebrow, .heatpump-breadcrumb) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 80%);
  font-size: 0.96rem;
}

.heatpump-hero-actions {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  gap: 10px;
}

.heatpump-hero-actions .button {
  width: 100%;
}

.heatpump-hero-facts {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 18%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.heatpump-hero-facts li {
  display: grid;
  min-width: 0;
  padding: 18px 8px 0 0;
  gap: 2px;
}

.heatpump-hero-facts strong {
  color: #82d9d3;
  font-size: clamp(1rem, 4vw, 1.3rem);
  line-height: 1.25;
}

.heatpump-hero-facts span {
  color: rgb(255 255 255 / 65%);
  font-size: 0.66rem;
}

.heatpump-hero-product {
  display: grid;
  width: 190px;
  margin: 0;
  padding: 12px 12px 10px;
  justify-self: end;
  color: var(--navy-950);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 24px 70px rgb(3 21 30 / 30%);
  gap: 8px;
}

.heatpump-hero-product img {
  width: 100%;
  height: 205px;
  object-fit: contain;
}

.heatpump-hero-product figcaption {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--teal-600);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.heatpump-model-grid {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.heatpump-model-card {
  position: relative;
  min-height: 272px;
  padding: 28px 22px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}

.heatpump-model-card::after {
  position: absolute;
  right: -34px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 26px solid var(--aqua-100);
  border-radius: 50%;
  content: "";
  opacity: 0.72;
}

.heatpump-model-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.heatpump-model-card > div > span {
  color: var(--warm-600);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.heatpump-model-card em {
  padding: 5px 9px;
  color: var(--teal-600);
  border: 1px solid rgb(11 127 131 / 24%);
  border-radius: 999px;
  background: var(--aqua-100);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.heatpump-model-card-new {
  background: var(--sand-100);
}

.heatpump-model-card-new em {
  color: #8a3e1e;
  border-color: rgb(185 95 54 / 22%);
  background: #f9dfcd;
}

.heatpump-model-card h3 {
  position: relative;
  z-index: 1;
  margin: 28px 0 22px;
  font-size: clamp(1.45rem, 6vw, 2rem);
  letter-spacing: -0.035em;
}

.heatpump-model-card dl {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  gap: 9px;
}

.heatpump-model-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.heatpump-model-card dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.heatpump-model-card dd {
  margin: 0;
  color: var(--navy-900);
  font-size: 0.92rem;
  font-weight: 900;
}

.heatpump-data-source,
.heatpump-clearance-note,
.heatpump-table-footnote,
.heatpump-pending-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.heatpump-features {
  background: var(--surface);
}

.heatpump-feature-intro {
  display: grid;
  gap: 34px;
}

.heatpump-feature-intro h2,
.heatpump-operation-heading h2,
.heatpump-sizing-copy h2 {
  margin: 12px 0 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 8vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.heatpump-feature-intro > div > p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
}

.heatpump-feature-intro figure {
  margin: 0;
  padding: 18px;
  background: var(--navy-950);
  box-shadow: var(--shadow);
}

.heatpump-feature-intro figure img {
  width: 100%;
  aspect-ratio: 1.02;
  object-fit: contain;
}

.heatpump-feature-intro .heatpump-feature-installation img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.heatpump-feature-grid {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.heatpump-feature-card {
  min-height: 242px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
}

.heatpump-feature-card > span {
  color: var(--warm-600);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.heatpump-feature-card h3 {
  margin: 34px 0 12px;
  color: var(--navy-950);
  font-size: 1.24rem;
}

.heatpump-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.heatpump-clearance-note {
  padding: 18px;
  border-left: 3px solid var(--warm-500);
  background: var(--white);
}

.heatpump-comparison-section {
  background: var(--white);
}

.heatpump-spec-table-wrap {
  display: none;
}

.heatpump-mobile-specs {
  display: grid;
  margin-top: 40px;
  gap: 10px;
}

.heatpump-mobile-specs details {
  border: 1px solid var(--line);
  background: var(--white);
}

.heatpump-mobile-specs summary {
  position: relative;
  display: grid;
  padding: 20px 48px 20px 18px;
  cursor: pointer;
  list-style: none;
  gap: 4px;
}

.heatpump-mobile-specs summary::-webkit-details-marker {
  display: none;
}

.heatpump-mobile-specs summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--warm-600);
  content: "+";
  font-size: 1.45rem;
  transform: translateY(-50%);
}

.heatpump-mobile-specs details[open] summary::after {
  content: "−";
}

.heatpump-mobile-specs summary span {
  color: var(--teal-600);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.heatpump-mobile-specs summary strong {
  color: var(--navy-950);
  font-size: 1.2rem;
}

.heatpump-mobile-specs dl {
  display: grid;
  margin: 0;
  padding: 4px 18px 22px;
}

.heatpump-mobile-specs dl > div {
  display: grid;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
}

.heatpump-mobile-specs dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.heatpump-mobile-specs dd {
  margin: 0;
  color: var(--navy-900);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: right;
}

.heatpump-performance-section {
  background: var(--surface);
}

.heatpump-performance-tabs {
  display: grid;
  margin-top: 42px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.heatpump-performance-tabs button {
  min-height: 48px;
  padding: 8px;
  color: var(--muted);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.heatpump-performance-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--navy-900);
}

.heatpump-performance-panel {
  margin-top: 12px;
  padding: 22px 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.heatpump-performance-panel[hidden] {
  display: none;
}

.heatpump-performance-heading {
  display: flex;
  padding: 0 6px 18px;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.heatpump-performance-heading span {
  color: var(--warm-600);
  font-size: 0.68rem;
  font-weight: 900;
}

.heatpump-performance-heading h3 {
  margin: 3px 0 0;
  color: var(--navy-950);
  font-size: 1.28rem;
}

.heatpump-performance-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  text-align: right;
}

.heatpump-performance-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.heatpump-performance-table-wrap th,
.heatpump-performance-table-wrap td {
  padding: 12px 5px;
  border-bottom: 1px solid var(--line);
  font-size: 0.69rem;
  text-align: center;
  white-space: nowrap;
}

.heatpump-performance-table-wrap th {
  color: var(--muted);
  background: var(--surface);
  font-weight: 700;
}

.heatpump-performance-table-wrap td:first-child {
  color: var(--warm-600);
  font-weight: 900;
}

.heatpump-winter-note {
  display: grid;
  margin-top: 22px;
  padding: 24px 20px;
  color: var(--white);
  background: var(--navy-950);
  gap: 10px;
}

.heatpump-winter-note span {
  color: #f1a477;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.heatpump-winter-note p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 0.85rem;
}

.heatpump-operation-heading {
  margin-bottom: 44px;
}

.heatpump-operation-row {
  display: grid;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  gap: 30px;
}

.heatpump-operation-row figure {
  margin: 0;
  overflow: hidden;
  background: var(--navy-950);
}

.heatpump-operation-row figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.heatpump-operation-row:first-of-type figure img {
  padding: 24px;
  object-fit: contain;
}

.heatpump-operation-row > div > span {
  color: var(--warm-600);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.heatpump-operation-row h3 {
  margin: 20px 0 12px;
  color: var(--navy-950);
  font-size: clamp(1.45rem, 6vw, 2.15rem);
  line-height: 1.25;
}

.heatpump-operation-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.heatpump-gallery-section {
  background: var(--surface);
}

.heatpump-gallery {
  display: grid;
  margin-top: 44px;
  gap: 14px;
}

.heatpump-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy-950);
}

.heatpump-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 450ms ease;
}

.heatpump-gallery figure:hover img {
  transform: scale(1.025);
}

.heatpump-gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  padding: 54px 18px 18px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgb(5 25 34 / 90%));
}

.heatpump-gallery figcaption strong {
  font-size: 0.94rem;
}

.heatpump-gallery figcaption span {
  color: rgb(255 255 255 / 68%);
  font-size: 0.7rem;
}

.heatpump-sizing-section {
  background: var(--sand-100);
}

.heatpump-sizing-layout {
  display: grid;
  gap: 48px;
}

.heatpump-sizing-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
}

.heatpump-sizing-copy aside {
  display: grid;
  margin-top: 30px;
  padding: 22px;
  border-left: 3px solid var(--warm-500);
  background: var(--white);
  gap: 5px;
}

.heatpump-sizing-copy aside strong {
  color: var(--navy-950);
}

.heatpump-sizing-copy aside span {
  color: var(--muted);
  font-size: 0.82rem;
}

.heatpump-sizing-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(185 95 54 / 22%);
  list-style: none;
}

.heatpump-sizing-list li {
  display: grid;
  padding: 19px 0;
  border-bottom: 1px solid rgb(185 95 54 / 22%);
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
}

.heatpump-sizing-list li > span {
  color: var(--warm-600);
  font-size: 0.72rem;
  font-weight: 900;
}

.heatpump-sizing-list strong {
  color: var(--navy-950);
}

.heatpump-sizing-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.heatpump-quote-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  isolation: isolate;
}

.heatpump-quote-media,
.heatpump-quote-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.heatpump-quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.heatpump-quote-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgb(5 23 31 / 94%) 0%, rgb(5 23 31 / 78%) 62%, rgb(5 23 31 / 52%) 100%);
}

.heatpump-quote-layout {
  display: grid;
  padding-block: 78px 90px;
  gap: 42px;
}

.heatpump-quote-copy h2 {
  max-width: 850px;
  margin: 14px 0 0;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.heatpump-quote-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgb(255 255 255 / 74%);
}

.heatpump-quote-actions {
  display: flex;
  margin-top: 28px;
  flex-direction: column;
  gap: 10px;
}

.heatpump-quote-actions .button {
  width: 100%;
}

.heatpump-quote-checklist {
  padding: 24px 20px;
  border: 1px solid rgb(255 255 255 / 24%);
  background: rgb(8 32 42 / 64%);
  backdrop-filter: blur(8px);
}

.heatpump-quote-checklist h3 {
  margin: 0;
  font-size: 1.05rem;
}

.heatpump-quote-checklist ul {
  display: grid;
  margin: 20px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  gap: 9px 12px;
}

.heatpump-quote-checklist li {
  position: relative;
  padding-left: 14px;
  color: rgb(255 255 255 / 76%);
  font-size: 0.76rem;
}

.heatpump-quote-checklist li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef9b6b;
  content: "";
}

.heatpump-quote-checklist p {
  margin: 20px 0 0;
  padding-top: 16px;
  color: rgb(255 255 255 / 52%);
  border-top: 1px solid rgb(255 255 255 / 15%);
  font-size: 0.68rem;
}

@media (min-width: 760px) {
  .heatpump-hero {
    min-height: 820px;
  }

  .heatpump-hero-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.48fr);
    align-items: center;
    gap: 48px;
  }

  .heatpump-breadcrumb {
    margin-bottom: 56px;
  }

  .heatpump-hero-actions,
  .heatpump-quote-actions {
    flex-direction: row;
  }

  .heatpump-hero-actions .button,
  .heatpump-quote-actions .button {
    width: auto;
  }

  .heatpump-hero-product {
    display: grid;
    width: auto;
    margin: 0;
    padding: 22px 22px 16px;
    justify-self: stretch;
    color: var(--navy-950);
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 28px 90px rgb(3 21 30 / 32%);
    gap: 12px;
  }

  .heatpump-hero-product img {
    width: 100%;
    height: 420px;
    object-fit: contain;
  }

  .heatpump-hero-product figcaption {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--teal-600);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: center;
  }

  .heatpump-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heatpump-model-card {
    border-right: 1px solid var(--line);
  }

  .heatpump-model-card:nth-child(2n) {
    border-right: 0;
  }

  .heatpump-feature-intro {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: 70px;
  }

  .heatpump-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heatpump-feature-card {
    min-height: 270px;
    padding: 34px 28px;
    border-right: 1px solid var(--line);
  }

  .heatpump-feature-card:nth-child(2n) {
    border-right: 0;
  }

  .heatpump-spec-table-wrap {
    display: block;
    margin-top: 44px;
    overflow: hidden;
    border: 1px solid var(--line);
  }

  .heatpump-spec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .heatpump-spec-table caption {
    padding: 15px 20px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    font-size: 0.74rem;
    text-align: left;
  }

  .heatpump-spec-table th,
  .heatpump-spec-table td {
    padding: 15px 9px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
    text-align: center;
  }

  .heatpump-spec-table th:last-child,
  .heatpump-spec-table td:last-child {
    border-right: 0;
  }

  .heatpump-spec-table thead th {
    color: var(--white);
    background: var(--navy-900);
    font-size: 0.78rem;
  }

  .heatpump-spec-table thead th:first-child {
    width: 18%;
  }

  .heatpump-spec-table thead small {
    display: inline-block;
    margin-left: 3px;
    color: #f1a477;
    font-size: 0.58rem;
  }

  .heatpump-spec-table tbody th {
    color: var(--navy-900);
    background: var(--surface);
    text-align: left;
  }

  .heatpump-spec-table tbody tr:last-child th,
  .heatpump-spec-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .heatpump-mobile-specs {
    display: none;
  }

  .heatpump-performance-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .heatpump-performance-tabs button {
    min-height: 56px;
    font-size: 0.78rem;
  }

  .heatpump-performance-panel {
    padding: 32px;
  }

  .heatpump-performance-table-wrap th,
  .heatpump-performance-table-wrap td {
    padding: 16px 10px;
    font-size: 0.82rem;
  }

  .heatpump-winter-note {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    padding: 28px 32px;
    gap: 28px;
  }

  .heatpump-operation-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    padding: 54px 0;
    align-items: center;
    gap: 60px;
  }

  .heatpump-operation-row-reverse figure {
    order: 2;
  }

  .heatpump-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heatpump-gallery img {
    aspect-ratio: 16 / 10;
  }

  .heatpump-sizing-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    align-items: start;
    gap: 70px;
  }

  .heatpump-quote-section {
    min-height: 680px;
  }

  .heatpump-quote-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
    padding-block: 110px;
    align-items: end;
    gap: 70px;
  }
}

@media (min-width: 1240px) {
  .heatpump-hero {
    min-height: 880px;
  }

  .heatpump-hero-copy h1 {
    font-size: 3.55rem;
  }

  .heatpump-hero-layout {
    grid-template-columns: minmax(0, 1.22fr) 380px;
    gap: 92px;
  }

  .heatpump-hero-product img {
    height: 500px;
  }

  .heatpump-model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .heatpump-model-card,
  .heatpump-model-card:nth-child(2n) {
    min-height: 318px;
    padding: 34px 28px;
    border-right: 1px solid var(--line);
  }

  .heatpump-model-card:last-child {
    border-right: 0;
  }

  .heatpump-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .heatpump-feature-card,
  .heatpump-feature-card:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .heatpump-feature-card:nth-child(3n) {
    border-right: 0;
  }

  .heatpump-spec-table th,
  .heatpump-spec-table td {
    padding: 17px 12px;
    font-size: 0.77rem;
  }

  .heatpump-operation-row {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 100px;
  }

  .heatpump-gallery {
    grid-template-columns: 1.35fr 0.65fr 0.65fr;
    grid-template-rows: repeat(2, 260px);
  }

  .heatpump-gallery figure:first-child {
    grid-row: 1 / 3;
  }

  .heatpump-gallery figure:last-child {
    grid-column: 2 / 4;
  }

  .heatpump-gallery img {
    height: 100%;
    aspect-ratio: auto;
  }

  .heatpump-sizing-layout {
    gap: 110px;
  }
}

/* Electric heater detail page */
.electric-heater-hero-product { padding: 16px; }
.electric-heater-hero-product img { aspect-ratio: 4 / 3; object-fit: cover; }
.electric-fit-section, .electric-model-section, .electric-install-section { background: var(--surface); }
.electric-fit-grid { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.electric-fit-grid article { min-height: 190px; padding: 26px 2px; border-bottom: 1px solid var(--line); }
.electric-fit-grid span, .electric-feature-list span, .electric-model-cards span, .electric-flow span { color: var(--orange); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.electric-fit-grid h3, .electric-feature-list h3 { margin: 24px 0 0; color: var(--navy-950); font-size: 1.16rem; }
.electric-fit-grid p, .electric-feature-list p { margin: 10px 0 0; color: var(--muted); line-height: 1.75; }
.electric-feature-section { background: var(--white); }
.electric-feature-layout { display: grid; gap: 36px; }
.electric-feature-media { min-height: 420px; overflow: hidden; background: var(--navy-950); }
.electric-feature-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.electric-feature-copy > h2 { margin: 12px 0 0; color: var(--navy-950); font-size: clamp(2.15rem, 8vw, 4.4rem); line-height: 1.08; letter-spacing: -.06em; }
.electric-feature-list { display: grid; margin-top: 34px; border-top: 1px solid var(--line); }
.electric-feature-list article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.electric-feature-list h3 { margin-top: 10px; }
.electric-model-cards { display: grid; gap: 12px; margin-top: 34px; }
.electric-model-cards article { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.electric-model-cards h3 { margin: 26px 0 0; color: var(--navy-950); font-size: 1.35rem; }
.electric-model-cards strong { display: block; margin-top: 10px; color: var(--teal-700); font-size: 2.4rem; }
.electric-model-cards p { margin: 18px 0 0; color: var(--muted); line-height: 1.7; }
.electric-model-section .heatpump-spec-table-wrap { margin-top: 24px; }
.electric-system-section { color: var(--white); background: var(--navy-950); }
.electric-system-section .section-heading h2, .electric-system-section .section-heading > p { color: var(--white); }
.electric-system-section .section-heading > p { opacity: .72; }
.electric-system-section .eyebrow-dark { color: var(--aqua-400); }
.electric-flow { display: grid; gap: 1px; margin: 36px 0 0; padding: 0; list-style: none; background: rgb(255 255 255 / 18%); }
.electric-flow li { padding: 26px; background: var(--navy-900); }
.electric-flow strong { display: block; margin-top: 22px; font-size: 1.15rem; }
.electric-flow p { margin: 10px 0 0; color: rgb(255 255 255 / 68%); line-height: 1.65; }
.electric-system-note { margin-top: 24px; padding: 24px; border-left: 3px solid var(--orange); background: rgb(255 255 255 / 7%); }
.electric-system-note strong { font-size: 1.12rem; }
.electric-system-note p { margin: 10px 0 0; color: rgb(255 255 255 / 70%); line-height: 1.75; }
.electric-install-layout { display: grid; gap: 16px; margin-top: 36px; }
.electric-install-layout figure { position: relative; min-height: 420px; margin: 0; overflow: hidden; background: var(--navy-950); }
.electric-install-layout img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.electric-install-layout figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 46px 22px 20px; color: var(--white); background: linear-gradient(transparent, rgb(5 24 33 / 92%)); }
.electric-install-layout figcaption strong, .electric-install-layout figcaption span { display: block; }
.electric-install-layout figcaption span { margin-top: 6px; color: rgb(255 255 255 / 70%); font-size: .88rem; }
.electric-clearance-copy { padding: 28px; color: var(--white); background: var(--navy-950); }
.electric-clearance-copy > span { color: var(--aqua-400); font-weight: 900; }
.electric-clearance-copy h3 { margin: 20px 0 0; font-size: 1.6rem; }
.electric-clearance-copy p { margin: 14px 0 0; color: rgb(255 255 255 / 70%); line-height: 1.75; }
.electric-clearance-copy ul { display: grid; gap: 12px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid rgb(255 255 255 / 18%); list-style: none; }
.electric-clearance-copy li::before { margin-right: 8px; color: var(--orange); content: "—"; }
.electric-sizing-section { background: #f7f1e8; }
.electric-sizing-grid { display: grid; gap: 12px; margin-top: 34px; }
.electric-sizing-grid article { padding: 26px; border-top: 3px solid var(--orange); background: var(--white); }
.electric-sizing-grid span { color: var(--navy-950); font-size: 1.12rem; font-weight: 900; }
.electric-sizing-grid div { display: grid; gap: 8px; margin-top: 24px; }
.electric-sizing-grid strong { color: var(--teal-700); font-size: 1.3rem; }
.electric-warning { margin-top: 18px; padding: 24px; border: 1px solid #ead8c1; background: rgb(255 255 255 / 70%); }
.electric-warning strong { color: var(--navy-950); font-size: 1.12rem; }
.electric-warning p { margin: 10px 0 0; color: var(--muted); line-height: 1.8; }

@media (min-width: 700px) {
  .electric-fit-grid { grid-template-columns: repeat(2, 1fr); }
  .electric-fit-grid article { padding: 30px; border-right: 1px solid var(--line); }
  .electric-model-cards, .electric-sizing-grid { grid-template-columns: repeat(3, 1fr); }
  .electric-feature-list { grid-template-columns: repeat(2, 1fr); }
  .electric-feature-list article:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
  .electric-feature-list article:nth-child(even) { padding-left: 24px; }
  .electric-flow { grid-template-columns: repeat(4, 1fr); }
  .electric-install-layout { grid-template-columns: repeat(2, 1fr); }
  .electric-clearance-copy { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .electric-fit-grid { grid-template-columns: repeat(5, 1fr); }
  .electric-fit-grid article { min-height: 250px; padding: 34px 22px; }
  .electric-feature-layout { grid-template-columns: minmax(330px, .8fr) minmax(0, 1.4fr); align-items: stretch; gap: 70px; }
  .electric-install-layout { grid-template-columns: .72fr .72fr 1.1fr; }
  .electric-clearance-copy { grid-column: auto; padding: 42px; }
}

/* Product catalog and grouped product pages */
.catalog-page {
  background: #fff;
}

.catalog-index-hero,
.catalog-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgb(18 152 154 / 22%), transparent 36%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.catalog-index-hero-layout,
.catalog-detail-hero-layout {
  display: grid;
  gap: 42px;
  align-items: center;
}

.catalog-index-hero .heatpump-breadcrumb,
.catalog-detail-hero .heatpump-breadcrumb {
  margin: 0 0 24px;
  color: rgb(255 255 255 / 65%);
}

.catalog-index-hero h1,
.catalog-detail-hero h1 {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: clamp(2.55rem, 9vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -.065em;
}

.catalog-index-hero h1 + p,
.catalog-detail-hero h1 + p {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: clamp(1rem, 2.5vw, 1.14rem);
  line-height: 1.85;
}

.catalog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.catalog-index-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.catalog-index-collage figure,
.catalog-detail-product {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  background: #edf3f3;
}

.catalog-index-collage figure:first-child {
  grid-column: 1 / -1;
}

.catalog-index-collage img,
.catalog-detail-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-index-collage figure:first-child img {
  aspect-ratio: 16 / 8;
}

.catalog-index-collage.catalog-field-collage img {
  object-fit: cover;
}

.catalog-detail-product {
  min-height: 390px;
  padding: 26px;
}

.catalog-detail-product img {
  min-height: 330px;
  aspect-ratio: 4 / 3;
}

.catalog-photo-product {
  padding: 0;
  background: var(--navy-950);
}

.catalog-photo-product img {
  object-fit: cover;
}

.catalog-detail-product figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  color: var(--white);
  background: rgb(7 31 43 / 84%);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.catalog-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 18%);
  list-style: none;
}

.catalog-facts li {
  padding: 18px 8px 0 0;
}

.catalog-facts strong,
.catalog-facts span {
  display: block;
}

.catalog-facts strong {
  color: #7ed9d5;
  font-size: clamp(.95rem, 3vw, 1.28rem);
}

.catalog-facts span {
  margin-top: 5px;
  color: rgb(255 255 255 / 58%);
  font-size: .7rem;
}

.catalog-index-section {
  background: var(--white);
}

.catalog-alt {
  background: var(--surface);
}

.catalog-card-grid,
.catalog-feature-grid,
.catalog-model-cards,
.catalog-condition-grid,
.catalog-option-grid,
.catalog-product-lineup,
.fitting-grid,
.catalog-process,
.catalog-before-after {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.catalog-card {
  display: grid;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.catalog-card:hover,
.catalog-card:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.catalog-card figure {
  min-height: 245px;
  margin: 0;
  overflow: hidden;
  background: #edf3f3;
}

.catalog-card figure.catalog-light {
  background: #f8fbfb;
}

.catalog-card figure img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.catalog-card figure.catalog-light img,
.catalog-card[href*="ebh-filter"] figure img,
.catalog-card[href*="circulation-pump"] figure img,
.catalog-card[href*="electric-heater"] figure img,
.catalog-card[href*="esw-sand-filter"] figure img,
.catalog-card[href*="heatpump"] figure img {
  padding: 20px;
  object-fit: contain;
}

.catalog-card > div {
  display: flex;
  min-height: 230px;
  padding: 26px;
  flex-direction: column;
}

.catalog-card span,
.catalog-product-lineup span,
.fitting-grid span {
  color: var(--teal-600);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.catalog-card h3,
.catalog-feature-grid h3,
.catalog-product-lineup h3,
.fitting-grid h3,
.catalog-option-grid h3 {
  margin: 12px 0 0;
  color: var(--navy-950);
  font-size: 1.25rem;
}

.catalog-card p,
.catalog-feature-grid p,
.catalog-product-lineup p,
.catalog-option-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.catalog-card > div > strong {
  margin-top: auto;
  padding-top: 24px;
  color: var(--warm-600);
  font-size: .82rem;
}

.catalog-card-pending {
  background: #fbfaf7;
}

.catalog-card-pending > div > strong {
  color: var(--muted);
}

.catalog-faq-section {
  background: #f3f6f5;
}

.catalog-faq-layout {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.catalog-faq-list {
  border-top: 1px solid var(--line);
}

.catalog-faq-list details {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.catalog-faq-list summary {
  position: relative;
  padding: 24px 58px 24px 22px;
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

.catalog-faq-list summary::-webkit-details-marker {
  display: none;
}

.catalog-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--warm-600);
  font-size: 1.45rem;
  font-weight: 500;
  content: "+";
  transform: translateY(-50%);
}

.catalog-faq-list details[open] summary::after {
  content: "–";
}

.catalog-faq-list details > p {
  margin: 0;
  padding: 0 22px 26px;
  color: var(--muted);
  line-height: 1.85;
}

.catalog-prep-card {
  align-self: start;
  padding: 30px;
  color: var(--white);
  background: var(--navy-950);
}

.catalog-prep-card > span {
  color: var(--aqua-400);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.catalog-prep-card h3 {
  margin: 16px 0 0;
  font-size: 1.45rem;
  line-height: 1.35;
}

.catalog-prep-card p {
  margin: 14px 0 0;
  color: rgb(255 255 255 / 70%);
  line-height: 1.75;
}

.catalog-prep-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgb(255 255 255 / 18%);
  list-style: none;
}

.catalog-prep-card li::before {
  margin-right: 9px;
  color: var(--orange);
  content: "✓";
}

.catalog-selection {
  padding-block: 76px;
  color: var(--white);
  background: var(--navy-950);
}

.catalog-selection-layout,
.catalog-split {
  display: grid;
  gap: 42px;
  align-items: center;
}

.catalog-selection h2,
.catalog-guide-section h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 7vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.catalog-selection ol,
.catalog-process {
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-selection ol {
  display: grid;
  gap: 1px;
  background: rgb(255 255 255 / 14%);
}

.catalog-selection li {
  padding: 22px;
  background: var(--navy-900);
}

.catalog-selection li span,
.catalog-process li span {
  color: var(--warm-500);
  font-size: .75rem;
  font-weight: 900;
}

.catalog-selection li strong,
.catalog-process li strong {
  display: block;
  margin-top: 22px;
}

.catalog-selection li p,
.catalog-process li p {
  margin: 7px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: .85rem;
}

.catalog-feature-section,
.catalog-model-section,
.catalog-guide-section {
  background: var(--white);
}

.catalog-model-section {
  background: var(--surface);
}

.catalog-feature-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.catalog-feature-grid article > span,
.option-number {
  color: var(--warm-600);
  font-size: .75rem;
  font-weight: 900;
}

.catalog-table-wrap {
  margin-top: 38px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.catalog-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.catalog-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.catalog-table th,
.catalog-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.catalog-table thead th {
  color: var(--white);
  background: var(--navy-900);
  font-size: .78rem;
}

.catalog-table tbody th {
  color: var(--teal-600);
}

.catalog-model-cards,
.catalog-condition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-model-cards article,
.catalog-condition-grid article {
  display: grid;
  min-height: 110px;
  padding: 22px;
  border-top: 3px solid var(--teal-600);
  background: var(--white);
  align-content: space-between;
}

.catalog-model-cards strong,
.catalog-condition-grid strong {
  color: var(--navy-950);
}

.catalog-model-cards span,
.catalog-condition-grid span {
  color: var(--muted);
  font-size: .8rem;
}

.catalog-split figure,
.catalog-wide-photo {
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.catalog-split figure img,
.catalog-wide-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.catalog-check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.catalog-check-list li {
  padding: 13px 0 13px 25px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.catalog-check-list li::before {
  position: absolute;
  margin-left: -24px;
  color: var(--teal-600);
  content: "✓";
  font-weight: 900;
}

.catalog-note,
.catalog-warning {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--warm-500);
  background: var(--sand-100);
}

.catalog-note strong,
.catalog-warning strong {
  color: var(--navy-950);
}

.catalog-note p,
.catalog-warning p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.catalog-option-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.cover-swatch {
  display: block;
  width: 100%;
  height: 72px;
  border: 1px solid var(--line);
}

.cover-white {
  background: linear-gradient(135deg, #fff, #e8f0f1);
}

.cover-blue {
  background: linear-gradient(135deg, #2aa4d4, #0f65a8);
}

.catalog-process li {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.catalog-process li p {
  color: var(--muted);
}

.catalog-product-lineup article {
  display: grid;
  border: 1px solid var(--line);
  background: var(--white);
}

.catalog-product-lineup figure,
.fitting-grid figure {
  min-height: 280px;
  margin: 0;
  padding: 20px;
  overflow: hidden;
  background: #f7fafa;
}

.catalog-product-lineup img,
.fitting-grid img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: contain;
}

.catalog-product-lineup article > div,
.fitting-grid article > div {
  padding: 26px;
}

.catalog-product-lineup article > div > strong {
  display: block;
  margin-top: 20px;
  color: var(--warm-600);
  font-size: .82rem;
}

.fitting-grid article {
  border: 1px solid var(--line);
  background: var(--white);
}

.fitting-grid dl {
  margin: 20px 0 0;
}

.fitting-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.fitting-grid dt {
  color: var(--muted);
}

.fitting-grid dd {
  margin: 0;
  color: var(--navy-950);
  font-weight: 800;
}

.catalog-before-after figure {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
}

.catalog-before-after figure img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.catalog-before-after figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(transparent, rgb(7 31 43 / 88%));
}

.catalog-before-after figcaption span,
.catalog-before-after figcaption strong {
  display: block;
}

.catalog-before-after figcaption span {
  color: #7ed9d5;
  font-size: .7rem;
  font-weight: 900;
}

.catalog-before-after > div {
  padding-top: 20px;
}

.catalog-before-after > div p:last-child {
  color: var(--muted);
  line-height: 1.85;
}

.catalog-quote {
  padding-block: 78px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--teal-600));
}

.catalog-quote h2 {
  max-width: 850px;
  margin: 12px 0 0;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.055em;
}

.catalog-quote .shell > p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 74%);
}

.catalog-quote .shell > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

@media (min-width: 700px) {
  .catalog-card-grid,
  .catalog-feature-grid,
  .catalog-product-lineup,
  .fitting-grid,
  .catalog-process,
  .catalog-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-product-lineup article {
    grid-template-columns: .85fr 1.15fr;
  }

  .catalog-selection ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-before-after {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-before-after > div {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .catalog-index-hero,
  .catalog-detail-hero {
    min-height: 760px;
    padding: 148px 0 80px;
  }

  .catalog-index-hero-layout,
  .catalog-detail-hero-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
    gap: 70px;
  }

  .catalog-card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-card-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-card-grid-four .catalog-card > div {
    min-height: 260px;
    padding: 24px;
  }

  .catalog-feature-grid,
  .catalog-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-model-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .catalog-condition-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-selection-layout,
  .catalog-split {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 70px;
  }

  .catalog-selection ol {
    grid-template-columns: repeat(4, 1fr);
  }

  .catalog-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-product-lineup,
  .fitting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-faq-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    align-items: start;
    gap: 48px;
  }

  .catalog-prep-card {
    position: sticky;
    top: 116px;
  }

  .catalog-before-after {
    grid-template-columns: .8fr .8fr 1.1fr;
    align-items: center;
  }

  .catalog-before-after > div {
    grid-column: auto;
    padding: 0 0 0 26px;
  }
}

@media (min-width: 1240px) {
  .nav-products-menu {
    width: min(930px, 78vw);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .catalog-index-hero h1 br,
  .catalog-detail-hero h1 br {
    display: none;
  }

  .catalog-facts {
    gap: 8px;
  }

  .catalog-detail-product {
    min-height: 320px;
  }

  .catalog-detail-product img {
    min-height: 270px;
  }

  .catalog-table-wrap {
    margin-right: -18px;
  }
}

/* Unified product directory */
.product-directory {
  padding-block: clamp(54px, 7vw, 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f6f9f9;
}

.product-directory-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.product-directory-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.product-directory-heading > p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-directory-grid {
  display: grid;
  border-top: 1px solid var(--line);
}

.product-directory-group {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.product-directory-group > p {
  margin: 0 0 8px;
  color: var(--warm-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-directory-group h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
}

.product-directory-group ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-directory-group li + li {
  border-top: 1px solid rgb(20 52 62 / 9%);
}

.product-directory-group a {
  display: grid;
  padding: 15px 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  color: var(--ink);
  text-decoration: none;
}

.product-directory-group a strong {
  font-size: 0.98rem;
}

.product-directory-group a small {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.76rem;
}

.product-directory-group a > span,
.product-directory-group a > em {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--warm-600);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}

.product-directory-group a > em {
  padding: 5px 8px;
  border: 1px solid rgb(197 92 39 / 28%);
  background: rgb(197 92 39 / 7%);
}

.product-directory-group a:hover strong,
.product-directory-group a:focus-visible strong {
  color: var(--warm-600);
}

@media (min-width: 760px) {
  .product-directory-heading {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    align-items: end;
  }

  .product-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-directory-group {
    padding: 32px 28px;
    border-right: 1px solid var(--line);
  }

  .product-directory-group:first-child {
    padding-left: 0;
  }

  .product-directory-group:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

/* Pool heat exchanger detail page */
.heat-exchanger-hero-product img {
  object-fit: cover;
}

.heat-exchanger-guide-section {
  background: var(--surface);
}

.heat-exchanger-guide-card {
  max-width: 820px;
  margin: 38px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 70px rgb(5 33 43 / 10%);
}

.heat-exchanger-guide-card img {
  display: block;
  width: 100%;
  height: auto;
}

.heat-exchanger-guide-card figcaption {
  padding: 18px 10px 6px;
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.65;
  text-align: center;
}

.heat-exchanger-case-layout figure:nth-child(2) img {
  object-position: center;
}

@media (min-width: 700px) {
  .heat-exchanger-guide-card {
    padding: 24px;
  }
}

/* ESW side-mount sand filter detail page */
.esw-page {
  --esw-green: #087c72;
  --esw-green-deep: #075e59;
  --esw-mint: #e9f5f1;
}

.esw-hero-product {
  border-top-color: var(--orange);
}

.esw-hero-product img {
  object-fit: contain;
}

.esw-separate-notice {
  padding: 24px 0;
  color: var(--white);
  background: var(--navy-950);
}

.esw-separate-notice .shell {
  display: grid;
  gap: 8px;
  border-left: 3px solid var(--orange);
  padding-left: 18px;
}

.esw-separate-notice strong {
  font-size: 1rem;
}

.esw-separate-notice p {
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: .9rem;
  line-height: 1.75;
}

.esw-feature-section,
.esw-model-section,
.esw-space-section,
.esw-install-type-section,
.esw-media-section {
  background: var(--surface);
}

.esw-feature-grid {
  display: grid;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.esw-feature-grid article {
  min-height: 210px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.esw-feature-grid span,
.esw-backwash-steps span {
  color: var(--orange);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.esw-feature-grid h3 {
  margin: 26px 0 0;
  color: var(--navy-950);
  font-size: 1.18rem;
}

.esw-feature-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.esw-use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.esw-use-list li {
  padding: 10px 14px;
  border: 1px solid #bcdcd7;
  color: var(--esw-green-deep);
  background: var(--esw-mint);
  font-size: .86rem;
  font-weight: 800;
}

.esw-condition-section {
  background: var(--white);
}

.esw-condition-layout {
  display: grid;
  gap: 40px;
}

.esw-field-photo,
.esw-expertise-layout figure,
.esw-install-type-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--navy-950);
}

.esw-field-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.esw-field-photo figcaption,
.esw-expertise-layout figcaption,
.esw-install-type-grid figcaption {
  padding: 16px 18px;
  color: rgb(255 255 255 / 78%);
  font-size: .82rem;
  line-height: 1.65;
}

.esw-condition-layout h2,
.esw-expertise-layout h2 {
  margin: 12px 0 0;
  color: var(--navy-950);
  font-size: clamp(2.1rem, 8vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.esw-condition-list {
  display: grid;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.esw-condition-list div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.esw-condition-list dt {
  color: var(--muted);
  font-size: .86rem;
}

.esw-condition-list dd {
  margin: 0;
  color: var(--navy-950);
  font-weight: 900;
  text-align: right;
}

.esw-spec-table-wrap {
  display: none;
  margin-top: 36px;
  overflow-x: auto;
  border-top: 3px solid var(--esw-green);
  background: var(--white);
}

.esw-spec-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--navy-950);
}

.esw-spec-table th,
.esw-spec-table td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  text-align: center;
  white-space: nowrap;
}

.esw-spec-table thead th {
  color: var(--muted);
  background: #edf3f2;
  font-size: .74rem;
  letter-spacing: .04em;
}

.esw-spec-table tbody th {
  color: var(--esw-green-deep);
  font-size: .94rem;
}

.esw-spec-cards {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.esw-spec-cards details {
  border: 1px solid var(--line);
  background: var(--white);
}

.esw-spec-cards summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 20px;
  color: var(--navy-950);
  font-weight: 900;
  cursor: pointer;
}

.esw-spec-cards summary span {
  color: var(--esw-green);
}

.esw-spec-cards dl {
  margin: 0;
  padding: 0 20px 18px;
}

.esw-spec-cards dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.esw-spec-cards dt {
  color: var(--muted);
}

.esw-spec-cards dd {
  margin: 0;
  color: var(--navy-950);
  font-weight: 800;
}

.esw-recommend-section {
  color: var(--white);
  background: var(--navy-950);
}

.esw-recommend-section .section-heading h2,
.esw-recommend-section .section-heading > p {
  color: var(--white);
}

.esw-recommend-section .section-heading > p {
  opacity: .7;
}

.esw-recommend-section .eyebrow-dark {
  color: var(--aqua-400);
}

.esw-recommend-list {
  display: grid;
  gap: 1px;
  margin-top: 38px;
  background: rgb(255 255 255 / 16%);
}

.esw-recommend-list article {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--navy-900);
}

.esw-recommend-list strong {
  color: var(--aqua-400);
  font-size: .82rem;
}

.esw-recommend-list span {
  font-size: 1.16rem;
  font-weight: 900;
}

.esw-recommend-list em {
  color: rgb(255 255 255 / 66%);
  font-size: .86rem;
  font-style: normal;
}

.esw-advice-notes {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.esw-advice-notes p {
  margin: 0;
  padding: 16px 18px;
  border-left: 2px solid var(--orange);
  color: var(--muted);
  background: rgb(255 255 255 / 74%);
  font-size: .88rem;
  line-height: 1.75;
}

.esw-recommend-section .esw-advice-notes p {
  color: rgb(255 255 255 / 68%);
  background: rgb(255 255 255 / 6%);
}

.esw-space-layout,
.esw-piping-rules,
.esw-install-type-grid,
.esw-maintenance-grid,
.esw-expertise-layout {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.esw-space-copy,
.esw-components,
.esw-piping-rules article,
.esw-maintenance-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.esw-space-copy h3,
.esw-components h3,
.esw-piping-rules h3,
.esw-maintenance-grid h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.18rem;
}

.esw-space-copy ul,
.esw-components ul,
.esw-piping-rules ul {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  line-height: 1.65;
}

.esw-space-copy li::before,
.esw-components li::before,
.esw-piping-rules li::before {
  margin-right: 8px;
  color: var(--orange);
  content: "—";
}

.esw-component-warning {
  margin: 14px 0 0;
  padding: 18px;
  border-left: 3px solid var(--orange);
  color: var(--muted);
  background: #fff8ef;
  line-height: 1.75;
}

.esw-component-warning p {
  margin: 8px 0 0;
}

.esw-piping-section {
  background: var(--white);
}

.esw-pipe-sizes {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.esw-pipe-sizes article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border-top: 3px solid var(--esw-green);
  background: var(--esw-mint);
}

.esw-pipe-sizes span {
  color: var(--muted);
  font-weight: 700;
}

.esw-pipe-sizes strong {
  color: var(--esw-green-deep);
  font-size: 1.16rem;
}

.esw-install-type-grid figure {
  border: 1px solid var(--line);
  background: var(--white);
}

.esw-install-type-grid img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--white);
}

.esw-install-type-grid figcaption {
  color: var(--navy-950);
  background: var(--white);
  font-weight: 800;
  text-align: center;
}

.esw-install-type-grid figcaption strong,
.esw-install-type-grid figcaption span {
  display: block;
}

.esw-install-type-grid figcaption span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 500;
}

.esw-valve-section {
  color: var(--white);
  background: var(--navy-950);
}

.esw-valve-section .section-heading h2,
.esw-valve-section .section-heading > p {
  color: var(--white);
}

.esw-valve-section .section-heading > p {
  opacity: .7;
}

.esw-valve-section .eyebrow-dark {
  color: var(--aqua-400);
}

.esw-valve-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: rgb(255 255 255 / 15%);
}

.esw-valve-grid article {
  min-height: 130px;
  padding: 20px;
  background: var(--navy-900);
}

.esw-valve-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--aqua-400);
  font-size: .76rem;
  letter-spacing: .05em;
}

.esw-valve-grid span {
  display: block;
  color: var(--orange);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.esw-valve-grid p {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 70%);
  font-size: .9rem;
  line-height: 1.65;
}

.esw-danger {
  margin: 22px 0 0;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-left: 4px solid var(--orange);
  color: rgb(255 255 255 / 76%);
  background: rgb(255 255 255 / 6%);
  line-height: 1.75;
}

.esw-backwash-steps {
  display: grid;
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.esw-backwash-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 90px;
  padding: 22px;
  background: var(--white);
}

.esw-backwash-steps p {
  margin: 0;
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.65;
}

.esw-piping-rules article > strong {
  color: var(--esw-green-deep);
  font-size: 1rem;
}

.esw-piping-rules article > p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.esw-maintenance-grid article p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.esw-sand-grid {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.esw-sand-grid article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 21px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--esw-green);
  background: var(--white);
}

.esw-sand-grid span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.esw-sand-grid strong {
  color: var(--esw-green-deep);
  font-size: 1.15rem;
}

.esw-expertise-section {
  background: var(--white);
}

.esw-expertise-layout {
  margin-top: 0;
  gap: 40px;
}

.esw-expertise-layout > div > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.esw-experience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
}

.esw-experience article {
  padding: 22px;
  background: var(--surface);
}

.esw-experience strong,
.esw-experience span {
  display: block;
}

.esw-experience strong {
  color: var(--esw-green-deep);
  font-size: 2rem;
}

.esw-experience span {
  margin-top: 7px;
  color: var(--muted);
  font-size: .8rem;
}

.esw-expertise-layout figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (min-width: 700px) {
  .esw-separate-notice .shell {
    grid-template-columns: minmax(230px, .7fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 32px;
  }

  .esw-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .esw-feature-grid article {
    padding: 30px;
    border-right: 1px solid var(--line);
  }

  .esw-spec-table-wrap {
    display: block;
  }

  .esw-spec-cards {
    display: none;
  }

  .esw-recommend-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .esw-space-layout,
  .esw-piping-rules,
  .esw-install-type-grid,
  .esw-maintenance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .esw-pipe-sizes,
  .esw-sand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .esw-valve-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .esw-backwash-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 760px) and (max-width: 1023px) {
  .esw-hero .heatpump-hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .esw-hero .heatpump-hero-copy {
    max-width: 680px;
  }

  .esw-hero-product {
    width: min(100%, 480px);
    justify-self: center;
  }

  .esw-hero-product img {
    height: auto;
    aspect-ratio: 1;
  }
}

@media (min-width: 1024px) {
  .esw-condition-layout,
  .esw-expertise-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: center;
    gap: 72px;
  }

  .esw-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .esw-feature-grid article {
    min-height: 250px;
    padding: 34px 28px;
  }

  .esw-recommend-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .esw-space-layout {
    grid-template-columns: .9fr 1.1fr;
  }

  .esw-backwash-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .esw-sand-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .esw-sand-grid article {
    display: block;
    min-height: 130px;
  }

  .esw-sand-grid strong {
    display: block;
    margin-top: 30px;
  }
}

/* Construction cases */
.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;
}

.case-list-hero {
  padding: 132px 0 70px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 15%, rgb(212 119 70 / 12%), transparent 28%),
    linear-gradient(135deg, #f8fbfb, #eef5f4);
}

.project-archive-link {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.case-list-hero-grid {
  display: grid;
  gap: 28px;
}

.case-list-hero h1 {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--navy-950);
  font-size: clamp(2.35rem, 8.8vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.case-list-hero-grid > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.case-browser {
  padding-top: 72px;
}

.case-browser-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.case-browser-heading h2 {
  margin: 8px 0 0;
  color: var(--navy-950);
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1.18;
  letter-spacing: -.04em;
}

.case-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
}

.case-count strong {
  color: var(--warm-600);
  font-size: 1.35rem;
}

.case-tools {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.case-search input,
.case-sort select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--white);
  font: inherit;
}

.case-search input:focus,
.case-sort select:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgb(11 127 131 / 15%);
}

.case-filters {
  display: flex;
  margin: 0 -18px 32px;
  padding: 0 18px 8px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.case-filters button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  font-size: .91rem;
  font-weight: 700;
  cursor: pointer;
}

.case-filters button:hover,
.case-filters button:focus-visible,
.case-filters button.is-active {
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.case-grid {
  display: grid;
  gap: 24px;
}

.case-list-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 14px 44px rgb(6 39 51 / 7%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.case-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgb(6 39 51 / 12%);
}

.case-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}

.case-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.case-list-card:hover .case-card-media > img {
  transform: scale(1.025);
}

.case-card-badge {
  position: absolute;
  inset: 14px auto auto 14px;
  padding: 7px 11px;
  color: var(--white);
  border-radius: 999px;
  background: rgb(7 31 43 / 88%);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.case-photo-pending {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  padding: 24px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgb(15 47 61 / 94%), rgb(11 127 131 / 78%)),
    linear-gradient(45deg, transparent 48%, rgb(255 255 255 / 12%) 49% 51%, transparent 52%);
  background-size: auto, 34px 34px;
}

.case-photo-pending span {
  margin-bottom: 12px;
  color: var(--aqua-100);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.case-photo-pending strong {
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  line-height: 1.32;
}

.case-card-content {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  padding: 24px 22px;
}

.case-card-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 14px;
  gap: 7px 14px;
  color: var(--teal-600);
  font-size: .8rem;
  font-weight: 800;
}

.case-card-meta > * + * {
  position: relative;
}

.case-card-meta > * + *::before {
  position: absolute;
  top: .62em;
  left: -8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--warm-500);
  content: "";
}

.case-card-content h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.case-card-content h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.case-card-content > p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: .94rem;
}

.case-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.case-card-footer > span {
  max-width: 68%;
  color: var(--muted);
  font-size: .78rem;
}

.case-detail-link {
  position: relative;
  z-index: 1;
  color: var(--warm-600);
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}

.case-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.case-empty,
.case-noscript {
  padding: 54px 24px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.case-empty strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-950);
  font-size: 1.15rem;
}

.case-empty p {
  margin: 0;
}

.case-data-note {
  padding: 28px 0;
  color: var(--navy-950);
  border-top: 1px solid var(--warm-200);
  border-bottom: 1px solid var(--warm-200);
  background: var(--sand-100);
}

.case-data-note-grid {
  display: grid;
  gap: 8px;
}

.case-data-note-grid strong {
  font-size: 1.05rem;
}

.case-data-note-grid p {
  margin: 0;
  color: #685b52;
  font-size: .91rem;
}

@media (min-width: 680px) {
  .case-tools {
    grid-template-columns: minmax(0, 1fr) 170px;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .case-list-hero {
    padding: 170px 0 96px;
  }

  .case-list-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: end;
    gap: 72px;
  }

  .case-data-note-grid {
    grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr);
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 1080px) {
  .case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.case-breadcrumb {
  display: flex;
  padding-top: 106px;
  gap: 8px;
  color: var(--muted);
  font-size: .8rem;
  overflow: hidden;
  white-space: nowrap;
}

.case-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-detail-hero {
  display: grid;
  padding-top: 38px;
  padding-bottom: 56px;
  gap: 34px;
}

.case-detail-heading h1 {
  max-width: 850px;
  margin: 12px 0 20px;
  color: var(--navy-950);
  font-size: clamp(2.1rem, 8vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -.055em;
}

.case-detail-lead {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.5vw, 1.22rem);
}

.case-category-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  gap: 8px;
}

.case-category-row span {
  padding: 7px 11px;
  color: var(--teal-600);
  border: 1px solid rgb(11 127 131 / 25%);
  border-radius: 999px;
  background: rgb(223 245 243 / 48%);
  font-size: .78rem;
  font-weight: 800;
}

.case-hero-media {
  min-height: 280px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.case-hero-media > img,
.case-hero-media .case-photo-pending {
  width: 100%;
  min-height: 280px;
  height: 100%;
  object-fit: cover;
}

.case-facts {
  color: var(--white);
  background: var(--navy-950);
}

.case-facts-grid {
  display: grid;
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 24px;
  gap: 0;
}

.case-facts-grid > div {
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.case-facts-grid > div:last-child {
  border-bottom: 0;
}

.case-facts dt {
  color: var(--warm-200);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.case-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.case-story-layout {
  display: grid;
  padding-top: 70px;
  padding-bottom: 70px;
  gap: 50px;
}

.case-story-main,
.case-story-aside {
  min-width: 0;
}

.case-story-section {
  padding: 0 0 54px;
}

.case-story-section + .case-story-section {
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.case-section-number {
  margin: 0 0 8px;
  color: var(--warm-600);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.case-story-section h2,
.case-aside-card h2,
.case-related-heading h2 {
  margin: 0 0 22px;
  color: var(--navy-950);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -.04em;
}

.case-story-section > p:not(.case-section-number, .case-caution),
.case-story-section li {
  color: #43555d;
}

.case-detail-list,
.case-check-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.case-detail-list li,
.case-check-list li {
  position: relative;
  padding-left: 22px;
}

.case-detail-list li::before,
.case-check-list li::before {
  position: absolute;
  top: .68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  content: "";
}

.case-problem-block {
  margin: 0 -18px;
  padding: 34px 18px 54px;
  border-top: 0 !important;
  background: var(--sand-100);
}

.case-process-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.case-process-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.case-process-list span {
  display: grid;
  width: 38px;
  height: 38px;
  place-content: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--navy-900);
  font-size: .72rem;
  font-weight: 800;
}

.case-process-list p {
  margin: 0;
}

.case-detail-gallery {
  display: grid;
  gap: 16px;
}

.case-detail-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
}

.case-detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-detail-gallery figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: .78rem;
}

.case-gallery-pending {
  padding: 40px 24px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.case-gallery-pending strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-950);
}

.case-gallery-pending p {
  margin: 0;
  font-size: .86rem;
}

.case-caution {
  margin: 24px 0 0;
  padding: 18px;
  color: #654f42;
  border-left: 3px solid var(--warm-500);
  background: var(--sand-100);
  font-size: .88rem;
}

.case-story-aside {
  display: grid;
  align-content: start;
  gap: 16px;
}

.case-aside-card {
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.case-aside-card h2 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.case-aside-card .case-detail-list + .case-detail-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.case-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.case-service-tags span {
  padding: 6px 9px;
  color: var(--teal-600);
  border-radius: 6px;
  background: var(--aqua-100);
  font-size: .75rem;
  font-weight: 700;
}

.case-source-link {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--white);
  border-radius: 10px;
  background: var(--navy-900);
  font-size: .85rem;
  font-weight: 800;
}

.case-post-nav {
  display: grid;
  padding-bottom: 70px;
  gap: 8px;
}

.case-post-nav > * {
  display: block;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.case-post-nav span {
  display: block;
  margin-bottom: 4px;
  color: var(--warm-600);
  font-size: .72rem;
  font-weight: 800;
}

.case-post-nav strong {
  display: block;
  overflow: hidden;
  color: var(--navy-950);
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-post-nav .is-empty {
  visibility: hidden;
}

.case-related {
  background: var(--surface);
}

.case-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 20px;
}

.case-related-heading h2 {
  margin: 6px 0 0;
}

.case-related-heading > a {
  color: var(--warm-600);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.case-related-grid {
  display: grid;
  gap: 14px;
}

.case-related-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.case-related-card p {
  margin: 0 0 10px;
  color: var(--teal-600);
  font-size: .75rem;
  font-weight: 800;
}

.case-related-card h3 {
  margin: 0 0 18px;
  color: var(--navy-950);
  font-size: 1.05rem;
  line-height: 1.42;
}

.case-related-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.case-related-card > span {
  color: var(--muted);
  font-size: .75rem;
}

@media (min-width: 680px) {
  .case-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-facts-grid > div {
    padding: 18px;
    border-right: 1px solid rgb(255 255 255 / 14%);
  }

  .case-facts-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .case-detail-gallery,
  .case-related-grid,
  .case-post-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .case-detail-hero {
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
    min-height: 680px;
    align-items: center;
    gap: 64px;
  }

  .case-hero-media {
    height: 520px;
  }

  .case-facts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .case-facts-grid > div,
  .case-facts-grid > div:nth-child(2n) {
    border-right: 1px solid rgb(255 255 255 / 14%);
    border-bottom: 0;
  }

  .case-facts-grid > div:last-child {
    border-right: 0;
  }

  .case-story-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 74px;
  }

  .case-story-aside {
    position: sticky;
    top: 104px;
  }

  .case-problem-block {
    margin: 0;
    padding: 36px;
    border-radius: 14px;
  }

  .case-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
