/*
 * Homepage v2 visual system — scoped implementation of docs/shouye2.png.
 * Loaded on the front page and reused by the product-page shell.
 */

.home-v2-page {
  --home-v2-blue-950: #00256e;
  --home-v2-blue-900: #003997;
  --home-v2-blue-800: #0047a8;
  --home-v2-blue-700: #0054b8;
  --home-v2-text: #26354a;
  --home-v2-muted: #667085;
  --home-v2-line: #dce5ef;
  --home-v2-pale: #f5f9fd;
  --home-v2-aqua: #16b8af;
  --home-v2-aqua-pale: #e9f8f7;
  --home-v2-white: #fff;
  --home-v2-container: 1332px;
  --jy-header-height: 88px;
  background: #fefefe;
  color: var(--home-v2-text);
  font-family: "Be Vietnam Pro", Inter, "Segoe UI", Arial, sans-serif;
}

.home-v2-page .container {
  width: min(calc(100% - 104px), var(--home-v2-container));
  max-width: 100%;
}

.home-v2-page .site-main {
  min-height: 0;
  overflow-x: clip;
  overflow-y: visible;
}

.home-v2-page :where(a, button, summary):focus-visible {
  outline-color: var(--home-v2-aqua);
}

/* Header */

.home-v2-page .home-v2-header {
  min-height: 88px;
  border-bottom: 1px solid var(--home-v2-line);
  background: #fff;
}

.home-v2-page .home-v2-header.is-scrolled {
  border-bottom-color: #cbd8e6;
  background: rgb(255 255 255 / 98%);
}

.home-v2-page .home-v2-header__inner {
  display: flex;
  width: min(calc(100% - 72px), 1368px);
  min-height: 88px;
  margin-inline: auto;
  padding: 0;
  align-items: center;
  gap: 2rem;
}

.home-v2-branding {
  flex: 0 0 auto;
}

.home-v2-page .home-v2-brand {
  display: inline-flex;
  margin: 0;
  color: var(--home-v2-blue-900);
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
  align-items: baseline;
  gap: 0.28rem;
}

.home-v2-page .home-v2-brand:hover,
.home-v2-page .home-v2-brand:focus-visible {
  color: var(--home-v2-blue-900);
}

.home-v2-page .home-v2-brand strong {
  color: inherit;
  font-size: 1em;
  font-weight: 800;
}

.home-v2-page .home-v2-branding .custom-logo-link {
  display: flex;
  align-items: center;
}

.home-v2-page .home-v2-branding .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 238px;
  max-height: 68px;
}

.home-v2-page .home-v2-nav {
  margin-left: auto;
}

.home-v2-page .home-v2-nav ul,
.home-v2-page .home-v2-nav .menu {
  gap: clamp(0.85rem, 1.65vw, 1.95rem);
}

.home-v2-page .home-v2-nav .sub-menu {
  min-width: 180px;
  padding: 0.35rem;
  gap: 0;
}

.home-v2-page .home-v2-nav .sub-menu li {
  display: block;
}

.home-v2-page .home-v2-nav .sub-menu a {
  min-height: 44px;
  padding: 0.35rem 0.6rem;
}

.home-v2-page .home-v2-nav a {
  min-height: 56px;
  color: #14243a;
  font-size: 0.78rem;
  font-weight: 600;
}

.home-v2-page .home-v2-nav > ul > li > a::after,
.home-v2-page .home-v2-nav > div > ul > li > a::after {
  bottom: -15px;
  height: 2px;
  background: var(--home-v2-blue-700);
}

.home-v2-page .home-v2-nav a:hover,
.home-v2-page .home-v2-nav a:focus-visible,
.home-v2-page .home-v2-nav .current-menu-item > a,
.home-v2-page .home-v2-nav .current-menu-ancestor > a {
  color: var(--home-v2-blue-700);
}

.home-v2-header__cta {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  padding: 0.65rem 0.75rem 0.65rem 1.25rem;
  border-radius: 6px;
  background: var(--home-v2-blue-900);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  align-items: center;
  gap: 0.6rem;
}

.home-v2-header__cta i {
  display: grid;
  width: 22px;
  height: 22px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 50%;
  font-size: 0.75rem;
  font-style: normal;
  place-items: center;
}

.home-v2-header__cta:hover,
.home-v2-header__cta:focus-visible {
  background: var(--home-v2-blue-800);
  color: #fff;
}

/* Shared homepage elements */

.home-v2 {
  background: #fff;
  color: var(--home-v2-text);
}

.home-v2__symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.home-v2__icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.home-v2__section-title,
.home-v2__knowledge-heading h2 {
  margin: 0;
  color: var(--home-v2-blue-950);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-v2__section-title--center {
  text-align: center;
}

.home-v2__button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.75rem 1.45rem;
  border: 1px solid var(--home-v2-blue-900);
  border-radius: 6px;
  background: var(--home-v2-blue-900);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.home-v2__button:hover,
.home-v2__button:focus-visible {
  border-color: var(--home-v2-blue-700);
  background: var(--home-v2-blue-700);
  color: #fff;
}

.home-v2__button--outline {
  border-color: var(--home-v2-blue-700);
  background: #fff;
  color: var(--home-v2-blue-700);
}

.home-v2__button--outline:hover,
.home-v2__button--outline:focus-visible {
  background: #eef5fd;
  color: var(--home-v2-blue-900);
}

.home-v2__button--light {
  min-width: 222px;
  border-color: #fff;
  background: #fff;
  color: var(--home-v2-blue-900);
}

.home-v2__button--light:hover,
.home-v2__button--light:focus-visible {
  border-color: #eaf2ff;
  background: #eaf2ff;
  color: var(--home-v2-blue-950);
}

.home-v2__text-link {
  display: inline-flex;
  color: var(--home-v2-blue-700);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  align-items: center;
  gap: 0.35rem;
}

.home-v2__text-link:hover,
.home-v2__text-link:focus-visible {
  color: var(--home-v2-blue-950);
}

/* Homepage-only image placeholders */

.home-v2 .visual-media {
  overflow: hidden;
  background: #edf4fa;
}

.home-v2 .visual-media > img,
.home-v2 .visual-media .visual-media__placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.home-v2 .visual-media__placeholder {
  --media-bg: #d9e8f4;
  --media-mid: #a8c3d7;
  --media-dark: #7198b6;
  border: 0;
  background: linear-gradient(135deg, #f6faff 0%, var(--media-bg) 62%, #c5d9e8 100%);
}

.home-v2 .visual-media--tone-02 .visual-media__placeholder {
  --media-bg: #d7e7f1;
  --media-mid: #9dbed1;
  --media-dark: #668fac;
}

.home-v2 .visual-media--tone-03 .visual-media__placeholder {
  --media-bg: #d4e7e9;
  --media-mid: #94c1c2;
  --media-dark: #528f91;
}

.home-v2 .visual-media__placeholder::before {
  inset: 8%;
  border-color: rgb(0 57 151 / 12%);
}

.home-v2 .visual-media__placeholder::after {
  display: none;
}

.home-v2 .visual-media__code,
.home-v2 .visual-media__index,
.home-v2 .visual-media__label {
  display: none;
}

.home-v2 .visual-media__frame {
  inset: 16% 8% 9%;
  border-bottom-color: rgb(0 57 151 / 23%);
}

.home-v2 .visual-media__frame::before {
  background: rgb(0 57 151 / 15%);
}

.home-v2 .visual-media__frame::after {
  background: rgb(0 57 151 / 12%);
}

.home-v2 .visual-media__frame i {
  border-color: rgb(0 57 151 / 16%);
}

/* Hero */

.home-v2__hero {
  position: relative;
  isolation: isolate;
  height: 564px;
  overflow: hidden;
  background: #eef5fb;
}

.home-v2__hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 97%) 35%, rgb(255 255 255 / 76%) 51%, rgb(255 255 255 / 18%) 69%, transparent 82%);
  content: "";
}

.home-v2__hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.home-v2__hero-media > img {
  object-fit: cover;
  object-position: 72% center;
}

.home-v2__hero-media .visual-media__placeholder {
  background: linear-gradient(105deg, #f8fbfe 0%, #eaf3fa 43%, #cadae7 67%, #9fbbcf 100%);
}

.home-v2__hero-media .visual-media__frame {
  inset: 12% 3% 6% 46%;
}

.home-v2__hero-inner {
  position: relative;
  height: 100%;
}

.home-v2__hero-content {
  width: min(56%, 750px);
  padding-top: 68px;
}

.home-v2__hero h1 {
  margin: 0;
  color: var(--home-v2-blue-950);
  font-size: clamp(2.25rem, 2.9vw, 2.55rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.33;
}

.home-v2__hero-content > p {
  max-width: 590px;
  margin: 1.05rem 0 0;
  color: #34465d;
  font-size: 0.88rem;
  line-height: 1.75;
}

.home-v2__hero-actions {
  display: flex;
  margin-top: 1.55rem;
  gap: 1.2rem;
}

.home-v2__hero-actions .home-v2__button:first-child {
  min-width: 238px;
}

.home-v2__hero-actions .home-v2__button:last-child {
  min-width: 190px;
}

.home-v2__trust {
  position: absolute;
  bottom: 30px;
  left: 0;
  display: grid;
  width: min(55%, 726px);
  min-height: 84px;
  border: 1px solid var(--home-v2-line);
  border-radius: 8px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 10px 32px rgb(0 37 110 / 5%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-v2__trust-item {
  display: flex;
  min-width: 0;
  padding: 0.9rem 1.15rem;
  color: var(--home-v2-blue-700);
  align-items: center;
  gap: 0.9rem;
}

.home-v2__trust-item + .home-v2__trust-item {
  border-left: 1px solid var(--home-v2-line);
}

.home-v2__trust-item .home-v2__icon {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
}

.home-v2__trust-item div {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.home-v2__trust-item strong {
  color: #14243a;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-v2__trust-item span {
  color: var(--home-v2-muted);
  font-size: 0.61rem;
  line-height: 1.35;
}

/* Four capabilities */

.home-v2__capabilities {
  padding-bottom: 21px;
  background: #fff;
}

.home-v2__capability-grid {
  display: grid;
  min-height: 190px;
  background: var(--home-v2-pale);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-v2__capability-card {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 1.7rem 1.65rem 1.35rem;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.home-v2__capability-card + .home-v2__capability-card {
  border-left: 1px solid var(--home-v2-line);
}

.home-v2__capability-card .home-v2__icon {
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.85rem;
  color: var(--home-v2-blue-700);
  stroke-width: 1.45;
}

.home-v2__capability-card h2 {
  margin: 0 0 0.45rem;
  color: #192a40;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.home-v2__capability-card p {
  max-width: 250px;
  margin: 0;
  color: var(--home-v2-muted);
  font-size: 0.72rem;
  line-height: 1.65;
}

/* Three solution cards */

.home-v2__solutions {
  padding-bottom: 18px;
}

.home-v2__solution-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-v2__solution-card {
  min-width: 0;
  height: 342px;
  overflow: hidden;
  border: 1px solid var(--home-v2-line);
  border-radius: 8px;
  background: #fff;
}

.home-v2__solution-image-link {
  display: block;
  height: 180px;
}

.home-v2__solution-media {
  height: 100%;
}

.home-v2__solution-media > img {
  object-fit: cover;
}

.home-v2__solution-body {
  display: flex;
  height: 162px;
  padding: 1rem 1.25rem 1.1rem;
  flex-direction: column;
}

.home-v2__solution-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.35;
}

.home-v2__solution-body h3 a {
  color: #192a40;
  text-decoration: none;
}

.home-v2__solution-body p {
  margin: 0;
  color: var(--home-v2-muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.home-v2__solution-body .home-v2__text-link {
  margin-top: auto;
}

/* Products */

.home-v2__products {
  padding-bottom: 28px;
}

.home-v2__products-heading {
  display: flex;
  min-height: 34px;
  margin-bottom: 0.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-v2__products-heading .home-v2__section-title {
  margin-bottom: 0;
}

.home-v2__product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-v2__product-card {
  display: flex;
  min-width: 0;
  height: 308px;
  overflow: hidden;
  border: 1px solid var(--home-v2-line);
  border-radius: 8px;
  background: #fff;
  flex-direction: column;
}

.home-v2__product-card > a:first-child {
  display: block;
  height: 145px;
  flex: 0 0 145px;
  padding: 0.7rem 0.85rem 0;
}

.home-v2 .home-v2__product-media {
  height: 100%;
  background: #fff;
}

.home-v2__product-media > img {
  object-fit: contain;
}

.home-v2__product-media.visual-media--demo > img {
  object-fit: cover;
}

.home-v2__product-media .visual-media__placeholder {
  background: linear-gradient(180deg, #fff 0%, #f4f8fb 100%);
}

.home-v2__product-media .visual-media__frame {
  inset: 16% 6% 7%;
}

.home-v2__product-body {
  display: flex;
  min-height: 0;
  flex: 1;
  padding: 0.7rem 0.9rem 0.8rem;
  flex-direction: column;
}

.home-v2__product-body h3 {
  margin: 0 0 0.38rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.home-v2__product-body h3 a {
  color: #16263c;
  text-decoration: none;
}

.home-v2__product-body p,
.home-v2__product-body small {
  color: var(--home-v2-muted);
  font-size: 0.64rem;
  line-height: 1.5;
}

.home-v2__product-body p {
  margin: 0 0 0.18rem;
}

.home-v2__product-body small {
  display: block;
}

.home-v2__product-body .home-v2__text-link {
  margin-top: auto;
  font-size: 0.67rem;
}

/* Wastewater */

.home-v2__wastewater {
  padding-bottom: 25px;
}

.home-v2__wastewater .home-v2__section-title {
  margin-bottom: 0.85rem;
}

.home-v2__wastewater-layout {
  display: grid;
  min-height: 290px;
  align-items: stretch;
  gap: 30px;
  grid-template-columns: 1.18fr 0.86fr 0.96fr;
}

.home-v2__wastewater-media {
  height: 290px;
  border-radius: 4px;
}

.home-v2__wastewater-media > img {
  object-fit: cover;
}

.home-v2__wastewater-copy {
  display: flex;
  min-width: 0;
  padding: 0.05rem 0 0.3rem;
  border-bottom: 1px solid var(--home-v2-line);
  flex-direction: column;
}

.home-v2__wastewater-copy h3 {
  margin: 0 0 0.8rem;
  color: var(--home-v2-blue-950);
  font-size: 1.4rem;
  line-height: 1.35;
}

.home-v2__wastewater-copy > p {
  margin: 0 0 1rem;
  color: var(--home-v2-muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

.home-v2__wastewater-copy ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.72rem;
  list-style: none;
}

.home-v2__wastewater-copy li {
  position: relative;
  padding-left: 1.6rem;
  color: #40536a;
  font-size: 0.69rem;
  line-height: 1.6;
}

.home-v2__wastewater-copy li::before {
  position: absolute;
  top: 0.03rem;
  left: 0;
  display: grid;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid var(--home-v2-aqua);
  border-radius: 50%;
  color: var(--home-v2-aqua);
  content: "✓";
  font-size: 0.65rem;
  line-height: 1;
  place-items: center;
}

.home-v2__wastewater-services {
  position: relative;
  min-width: 0;
  padding-top: 0.75rem;
}

.home-v2__wastewater-services > h3 {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 1.4rem;
  margin: 0;
  padding: 0 0.6rem;
  background: #fff;
  color: #30435a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-transform: uppercase;
}

.home-v2__wastewater-service-list {
  display: grid;
  height: 100%;
  padding: 1.2rem 1.1rem 0.85rem;
  border: 1px solid var(--home-v2-line);
  border-radius: 8px;
  gap: 0.35rem;
}

.home-v2__wastewater-service-list a {
  display: flex;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  align-items: center;
  gap: 0.85rem;
}

.home-v2__wastewater-service-list a > span {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  border-radius: 5px;
  background: var(--home-v2-aqua-pale);
  color: var(--home-v2-aqua);
  place-items: center;
}

.home-v2__wastewater-service-list .home-v2__icon {
  width: 1.55rem;
  height: 1.55rem;
}

.home-v2__wastewater-service-list a > div {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.home-v2__wastewater-service-list strong {
  color: #1d2d42;
  font-size: 0.74rem;
  line-height: 1.35;
}

.home-v2__wastewater-service-list small {
  color: var(--home-v2-muted);
  font-size: 0.62rem;
  line-height: 1.45;
}

/* Industries */

.home-v2__industries {
  padding-bottom: 19px;
}

.home-v2__industries .home-v2__section-title {
  margin-bottom: 0.8rem;
}

.home-v2__industry-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-v2__industry-card {
  display: flex;
  min-width: 0;
  height: 270px;
  overflow: hidden;
  border: 1px solid var(--home-v2-line);
  border-radius: 8px;
  background: #fff;
  flex-direction: column;
}

.home-v2__industry-card > a:first-child,
.home-v2__industry-card > .home-v2__industry-media {
  display: block;
  height: 132px;
  flex: 0 0 132px;
}

.home-v2__industry-media {
  height: 100%;
}

.home-v2__industry-media > img {
  object-fit: cover;
}

.home-v2__industry-body {
  display: flex;
  min-height: 0;
  flex: 1;
  padding: 0.75rem 1rem 0.85rem;
  flex-direction: column;
}

.home-v2__industry-body h3 {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.home-v2__industry-body h3 a {
  color: #16263c;
  text-decoration: none;
}

.home-v2__industry-body p {
  margin: 0;
  color: var(--home-v2-muted);
  font-size: 0.66rem;
  line-height: 1.5;
}

.home-v2__industry-body .home-v2__text-link {
  margin-top: auto;
  font-size: 0.67rem;
}

/* Process */

.home-v2__process {
  padding: 0.25rem 0 23px;
}

.home-v2__process .home-v2__section-title {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.home-v2__process-list {
  display: grid;
  min-height: 154px;
  margin: 0;
  padding: 0.8rem 0 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.home-v2__process-list li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 0.85rem;
  text-align: center;
}

.home-v2__process-list li:not(:last-child)::after {
  position: absolute;
  top: 36px;
  left: calc(50% + 43px);
  width: calc(100% - 86px);
  border-top: 2px dotted var(--home-v2-aqua);
  content: "";
}

.home-v2__process-node {
  position: relative;
  z-index: 1;
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  background: #edf6fc;
  color: var(--home-v2-blue-700);
  place-items: center;
}

.home-v2__process-node > span {
  position: absolute;
  top: -12px;
  left: 50%;
  display: grid;
  width: 26px;
  height: 26px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--home-v2-blue-900);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  place-items: center;
  transform: translateX(-50%);
}

.home-v2__process-node .home-v2__icon {
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.35rem;
}

.home-v2__process-list h3 {
  margin: 0 0 0.25rem;
  color: #1d2d42;
  font-size: 0.76rem;
  line-height: 1.4;
}

.home-v2__process-list p {
  margin: 0 auto;
  color: var(--home-v2-muted);
  font-size: 0.66rem;
  line-height: 1.5;
}

/* Projects */

.home-v2__projects {
  padding-bottom: 24px;
}

.home-v2__projects .home-v2__section-title {
  margin-bottom: 0.8rem;
}

.home-v2__project-grid {
  display: grid;
  height: 320px;
  gap: 12px 24px;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.home-v2__project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--home-v2-line);
  border-radius: 8px;
  background: #fff;
}

.home-v2__project-card--featured {
  display: flex;
  grid-row: 1 / -1;
  flex-direction: column;
}

.home-v2__project-card--featured .home-v2__project-image-link {
  display: block;
  height: 142px;
  flex: 0 0 142px;
  padding: 0.55rem 0.55rem 0;
}

.home-v2__project-card--featured .home-v2__project-media {
  height: 100%;
  border-radius: 4px;
}

.home-v2__project-card--featured .home-v2__project-body {
  display: flex;
  min-height: 0;
  flex: 1;
  padding: 0.75rem 1rem 0.8rem;
  flex-direction: column;
}

.home-v2__project-card--compact {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
}

.home-v2__project-card--compact .home-v2__project-image-link,
.home-v2__project-card--compact .home-v2__project-media {
  height: 100%;
}

.home-v2__project-card--compact .home-v2__project-body {
  display: flex;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  flex-direction: column;
}

.home-v2__project-body h3 {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.home-v2__project-card--featured h3 {
  font-size: 0.95rem;
}

.home-v2__project-body h3 a {
  color: #16263c;
  text-decoration: none;
}

.home-v2__project-tags {
  display: flex;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.home-v2__project-tags span {
  display: inline-flex;
  min-height: 21px;
  padding: 0.12rem 0.45rem;
  border: 1px solid #8eb4de;
  border-radius: 4px;
  color: var(--home-v2-blue-700);
  font-size: 0.55rem;
  font-weight: 650;
  line-height: 1.3;
  align-items: center;
}

.home-v2__project-body p {
  margin: 0;
  color: var(--home-v2-muted);
  font-size: 0.65rem;
  line-height: 1.55;
}

.home-v2__project-body .home-v2__text-link {
  margin-top: auto;
  font-size: 0.67rem;
}

/* Knowledge and FAQ */

.home-v2__knowledge {
  padding-bottom: 10px;
}

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

.home-v2__knowledge-grid--faq-only {
  grid-template-columns: minmax(0, 1fr);
}

.home-v2__knowledge-grid--faq-only .home-v2__faq {
  width: min(100%, 780px);
  margin-inline: auto;
}

.home-v2__knowledge-grid > section {
  min-width: 0;
}

.home-v2__knowledge-heading {
  display: flex;
  min-height: 32px;
  margin-bottom: 0.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-v2__knowledge-heading h2 {
  font-size: 1rem;
}

.home-v2__knowledge-heading > a {
  color: var(--home-v2-blue-700);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
}

.home-v2__article-list {
  display: grid;
  height: 214px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--home-v2-line);
  border-radius: 7px;
  background: #fff;
}

.home-v2__article-item {
  display: grid;
  min-width: 0;
  padding: 0.35rem 0;
  color: inherit;
  text-decoration: none;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: 96px minmax(0, 1fr);
}

.home-v2__article-item + .home-v2__article-item {
  border-top: 1px solid var(--home-v2-line);
}

.home-v2__article-media {
  width: 96px;
  height: 55px;
  border-radius: 3px;
}

.home-v2__article-item > span {
  display: grid;
  min-width: 0;
  gap: 0.28rem;
}

.home-v2__article-item strong {
  color: #1b2b40;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.4;
}

.home-v2__article-item small {
  color: var(--home-v2-muted);
  font-size: 0.56rem;
  line-height: 1.35;
}

.home-v2__article-item small i {
  padding-inline: 0.25rem;
  font-style: normal;
}

.home-v2__faq-list {
  display: grid;
  gap: 7px;
}

.home-v2__faq-list details {
  min-width: 0;
  border: 1px solid var(--home-v2-line);
  border-radius: 6px;
  background: #fff;
}

.home-v2__faq-list summary {
  position: relative;
  display: flex;
  min-height: 45px;
  padding: 0.65rem 2.5rem 0.65rem 0.85rem;
  color: #1b2b40;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
  align-items: center;
}

.home-v2__faq-list summary::-webkit-details-marker {
  display: none;
}

.home-v2__faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  color: var(--home-v2-blue-700);
  content: "⌄";
  font-size: 1rem;
  transform: translateY(-60%);
}

.home-v2__faq-list details[open] summary::after {
  transform: translateY(-35%) rotate(180deg);
}

.home-v2__faq-list details p {
  margin: 0;
  padding: 0 0.85rem 0.8rem;
  color: var(--home-v2-muted);
  font-size: 0.65rem;
  line-height: 1.55;
}

/* CTA */

.home-v2__cta {
  position: relative;
  isolation: isolate;
  min-height: 105px;
  overflow: hidden;
  background: linear-gradient(100deg, #0047a8 0%, #003997 72%, #064aab 100%);
}

.home-v2__cta::after {
  position: absolute;
  inset: 0 0 0 58%;
  z-index: -1;
  opacity: 0.22;
  background-image: radial-gradient(circle, rgb(255 255 255 / 64%) 1px, transparent 1.5px);
  background-size: 8px 8px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000);
}

.home-v2__cta-inner {
  display: flex;
  min-height: 105px;
  color: #fff;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.home-v2__cta h2 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.35;
}

.home-v2__cta p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 0.74rem;
  line-height: 1.55;
}

/* Homepage footer */

.home-v2-page .home-v2-footer {
  min-height: 207px;
  border-top: 1px solid rgb(255 255 255 / 20%);
  background: #063989;
  color: rgb(255 255 255 / 82%);
}

.home-v2-footer__grid {
  display: grid;
  min-height: 162px;
  padding-top: 1.2rem;
  padding-bottom: 0.8rem;
  gap: 2.5rem;
  grid-template-columns: 1.12fr 0.92fr 1fr 1.2fr;
}

.home-v2-footer__logo {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.home-v2-footer__logo span {
  color: #dcecff;
}

.home-v2-footer__brand p {
  max-width: 330px;
  margin: 0 0 0.65rem;
  color: rgb(255 255 255 / 74%);
  font-size: 0.64rem;
  line-height: 1.6;
}

.home-v2-footer__social {
  display: inline-flex;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 650;
  text-decoration: none;
}

.home-v2-footer__column h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-v2-footer__column ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.2rem;
  list-style: none;
}

.home-v2-footer__column li,
.home-v2-footer__column a {
  color: rgb(255 255 255 / 78%);
  font-size: 0.61rem;
  line-height: 1.55;
  text-decoration: none;
}

.home-v2-footer__column a:hover,
.home-v2-footer__column a:focus-visible,
.home-v2-footer__social:hover,
.home-v2-footer__social:focus-visible {
  color: #fff;
}

.home-v2-footer__column strong {
  color: #fff;
  font-weight: 650;
}

.home-v2-footer__bottom {
  display: flex;
  min-height: 45px;
  padding-block: 0.7rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.home-v2-footer__bottom p,
.home-v2-footer__bottom a {
  margin: 0;
  color: rgb(255 255 255 / 66%);
  font-size: 0.56rem;
  line-height: 1.4;
  text-decoration: none;
}

/* Intermediate layouts */

@media (max-width: 1180px) {
  .home-v2-page .container,
  .home-v2-page .home-v2-header__inner {
    width: min(calc(100% - 48px), var(--home-v2-container));
  }

  .home-v2-page .home-v2-header__inner {
    gap: 1.25rem;
  }

  .home-v2-page .home-v2-nav ul,
  .home-v2-page .home-v2-nav .menu {
    gap: 0.85rem;
  }

  .home-v2-page .home-v2-nav a {
    font-size: 0.7rem;
  }

  .home-v2-header__cta {
    display: none;
  }

  .home-v2__hero-content {
    width: 60%;
  }

  .home-v2__trust {
    width: 62%;
  }

  .home-v2__solution-grid,
  .home-v2__industry-grid {
    gap: 18px;
  }

  .home-v2__product-grid {
    gap: 10px;
  }

  .home-v2__wastewater-layout {
    gap: 20px;
  }

  .home-v2__project-grid {
    gap: 12px 18px;
  }
}

@media (max-width: 960px) {
  .home-v2-page {
    --jy-header-height: 72px;
  }

  .home-v2-page .home-v2-header,
  .home-v2-page .home-v2-header__inner {
    min-height: 72px;
  }

  .home-v2-page .home-v2-header__inner {
    width: min(calc(100% - 40px), var(--home-v2-container));
  }

  .home-v2-page .home-v2-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    border-color: var(--home-v2-line);
    border-radius: 5px;
    color: var(--home-v2-blue-950);
  }

  .home-v2-page .home-v2-nav {
    padding: 0 1.25rem 1.5rem;
    border-color: var(--home-v2-line);
    background: #fff;
  }

  .home-v2-page .home-v2-nav ul,
  .home-v2-page .home-v2-nav .menu {
    gap: 0;
  }

  .home-v2-page .home-v2-nav a {
    min-height: 52px;
    font-size: 0.88rem;
  }

  .home-v2-page .home-v2-nav li {
    border-color: var(--home-v2-line);
  }

  .home-v2__hero-content {
    width: 66%;
  }

  .home-v2__hero h1 {
    font-size: 2.1rem;
  }

  .home-v2__trust {
    width: 70%;
  }

  .home-v2__capability-grid,
  .home-v2__industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2__capability-card:nth-child(3) {
    border-left: 0;
  }

  .home-v2__capability-card:nth-child(n + 3) {
    border-top: 1px solid var(--home-v2-line);
  }

  .home-v2__solution-card {
    height: 330px;
  }

  .home-v2__product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-v2__product-card {
    height: 315px;
  }

  .home-v2__wastewater-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .home-v2__wastewater-services {
    min-height: 280px;
    grid-column: 1 / -1;
  }

  .home-v2__wastewater-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2__process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .home-v2__process-list li:nth-child(3)::after {
    display: none;
  }

  .home-v2__project-grid {
    height: 350px;
  }

  .home-v2__knowledge-grid {
    gap: 22px;
  }

  .home-v2-footer__grid {
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 390px target */

@media (max-width: 700px) {
  .home-v2-page {
    --jy-header-height: 64px;
  }

  .home-v2-page .container,
  .home-v2-page .home-v2-header__inner {
    width: calc(100% - 32px);
  }

  .home-v2-page .home-v2-header,
  .home-v2-page .home-v2-header__inner {
    min-height: 64px;
  }

  .home-v2-page .home-v2-brand {
    font-size: 1.1rem;
  }

  .home-v2-page .home-v2-branding .custom-logo {
    max-width: 145px;
    max-height: 48px;
  }

  .home-v2-page .home-v2-menu-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .home-v2__section-title,
  .home-v2__knowledge-heading h2 {
    font-size: 1.18rem;
  }

  .home-v2__hero {
    height: 760px;
  }

  .home-v2__hero::after {
    z-index: -1;
    background: linear-gradient(180deg, rgb(3 30 82 / 82%) 0%, rgb(3 30 82 / 70%) 48%, rgb(3 30 82 / 40%) 100%);
  }

  .home-v2__hero-media {
    inset: 0;
  }

  .home-v2__hero-media > img {
    object-position: 68% center;
  }

  .home-v2__hero-media .visual-media__frame {
    inset: 12% 5% 10%;
  }

  .home-v2__hero-content {
    width: 100%;
    padding-top: 2.65rem;
  }

  .home-v2__hero h1 {
    max-width: 22rem;
    color: #fff;
    font-size: 1.72rem;
    line-height: 1.31;
    text-shadow: 0 2px 12px rgb(0 25 71 / 22%);
  }

  .home-v2__hero h1 br {
    display: none;
  }

  .home-v2__hero-content > p {
    max-width: 23rem;
    margin-top: 0.9rem;
    color: rgb(247 251 255 / 92%);
    font-size: 0.75rem;
    line-height: 1.68;
  }

  .home-v2__hero-actions {
    display: grid;
    margin-top: 1.1rem;
    gap: 0.55rem;
  }

  .home-v2__hero-actions .home-v2__button:first-child,
  .home-v2__hero-actions .home-v2__button:last-child {
    width: 100%;
    min-width: 0;
  }

  .home-v2__button {
    min-height: 48px;
    font-size: 0.75rem;
  }

  .home-v2__hero-actions .home-v2__button:first-child {
    background: #fff;
    border-color: #fff;
    color: var(--home-v2-blue-700);
  }

  .home-v2__hero-actions .home-v2__button--outline {
    border-color: rgb(255 255 255 / 88%);
    background: rgb(5 50 133 / 18%);
    color: #fff;
  }

  .home-v2__trust {
    right: 0;
    bottom: 16px;
    left: 0;
    width: 100%;
    min-height: 108px;
  }

  .home-v2__trust-item {
    padding: 0.65rem 0.35rem;
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.35rem;
  }

  .home-v2__trust-item .home-v2__icon {
    width: 1.45rem;
    height: 1.45rem;
    flex-basis: 1.45rem;
  }

  .home-v2__trust-item strong {
    font-size: 0.56rem;
    line-height: 1.3;
  }

  .home-v2__trust-item span {
    font-size: 0.48rem;
  }

  .home-v2__capabilities {
    padding-bottom: 1rem;
  }

  .home-v2__capability-grid {
    min-height: 0;
  }

  .home-v2__capability-card {
    min-height: 142px;
    padding: 1.1rem 0.65rem 0.9rem;
  }

  .home-v2__capability-card .home-v2__icon {
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 0.55rem;
  }

  .home-v2__capability-card h2 {
    margin-bottom: 0.3rem;
    font-size: 0.78rem;
  }

  .home-v2__capability-card p {
    font-size: 0.6rem;
    line-height: 1.5;
  }

  .home-v2__solutions {
    padding-bottom: 1.15rem;
  }

  .home-v2__solution-grid {
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v2__solution-card {
    height: 328px;
  }

  .home-v2__solution-image-link {
    height: 162px;
  }

  .home-v2__solution-body {
    height: 166px;
    padding: 0.95rem 1rem 1rem;
  }

  .home-v2__solution-body h3 {
    font-size: 0.96rem;
  }

  .home-v2__solution-body p {
    font-size: 0.73rem;
  }

  .home-v2__products {
    padding-bottom: 1.35rem;
  }

  .home-v2__products-heading,
  .home-v2__wastewater .home-v2__section-title,
  .home-v2__industries .home-v2__section-title,
  .home-v2__projects .home-v2__section-title {
    margin-bottom: 0.65rem;
  }

  .home-v2__product-grid {
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2__products-heading .home-v2__text-link {
    font-size: 0.67rem;
    text-align: right;
  }

  .home-v2__product-card {
    height: 295px;
  }

  .home-v2__product-card > a:first-child {
    height: 112px;
    flex-basis: 112px;
    padding: 0.45rem 0.5rem 0;
  }

  .home-v2__product-body {
    padding: 0.65rem 0.7rem 0.75rem;
  }

  .home-v2__product-body h3 {
    font-size: 0.78rem;
  }

  .home-v2__product-body p,
  .home-v2__product-body small {
    font-size: 0.59rem;
  }

  .home-v2__wastewater {
    padding-bottom: 1.45rem;
  }

  .home-v2__wastewater-layout {
    min-height: 0;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v2__wastewater-media {
    height: 205px;
  }

  .home-v2__wastewater-copy {
    padding-bottom: 1rem;
  }

  .home-v2__wastewater-copy h3 {
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
  }

  .home-v2__wastewater-copy > p {
    font-size: 0.74rem;
  }

  .home-v2__wastewater-copy li {
    font-size: 0.71rem;
  }

  .home-v2__wastewater-services {
    min-height: 0;
    grid-column: auto;
  }

  .home-v2__wastewater-service-list {
    height: auto;
    padding: 1.4rem 0.9rem 0.8rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v2__wastewater-service-list a {
    min-height: 57px;
  }

  .home-v2__industries {
    padding-bottom: 1.2rem;
  }

  .home-v2__industry-grid {
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2__industry-card {
    height: 270px;
  }

  .home-v2__industry-card > a:first-child,
  .home-v2__industry-card > .home-v2__industry-media {
    height: 82px;
    flex-basis: 82px;
  }

  .home-v2__industry-body {
    padding: 0.65rem 0.7rem 0.7rem;
  }

  .home-v2__industry-body h3 {
    font-size: 0.8rem;
  }

  .home-v2__industry-body p {
    font-size: 0.61rem;
  }

  .home-v2__process {
    padding-bottom: 1.45rem;
  }

  .home-v2__process .home-v2__section-title {
    margin-bottom: 1.15rem;
    font-size: 0.9rem;
  }

  .home-v2__process-list {
    display: grid;
    min-height: 0;
    padding: 0;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v2__process-list li {
    display: grid;
    min-height: 104px;
    padding: 0 0 1rem 5.2rem;
    text-align: left;
    align-content: start;
  }

  .home-v2__process-list li:not(:last-child)::after,
  .home-v2__process-list li:nth-child(3)::after {
    top: 64px;
    bottom: 0;
    left: 34px;
    display: block;
    width: 0;
    height: auto;
    border-top: 0;
    border-left: 2px dotted var(--home-v2-aqua);
  }

  .home-v2__process-node {
    position: absolute;
    top: 0;
    left: 0;
    width: 68px;
    height: 68px;
    margin: 0;
  }

  .home-v2__process-list h3 {
    margin-top: 0.55rem;
    font-size: 0.78rem;
  }

  .home-v2__process-list p {
    margin: 0;
    font-size: 0.68rem;
  }

  .home-v2__projects {
    padding-bottom: 1.35rem;
  }

  .home-v2__project-grid {
    display: grid;
    height: auto;
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .home-v2__project-card--featured {
    min-height: 330px;
    grid-row: auto;
  }

  .home-v2__project-card--featured .home-v2__project-image-link {
    height: 164px;
    flex-basis: 164px;
  }

  .home-v2__project-card--compact {
    min-height: 152px;
    grid-template-columns: 40% minmax(0, 1fr);
  }

  .home-v2__project-card--compact .home-v2__project-body {
    padding: 0.75rem;
  }

  .home-v2__project-body h3,
  .home-v2__project-card--featured h3 {
    font-size: 0.79rem;
  }

  .home-v2__knowledge {
    padding-bottom: 1.15rem;
  }

  .home-v2__knowledge-grid {
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v2__knowledge-heading {
    min-height: 30px;
  }

  .home-v2__article-list {
    height: auto;
  }

  .home-v2__article-item {
    min-height: 72px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .home-v2__article-media {
    width: 82px;
    height: 54px;
  }

  .home-v2__article-item strong,
  .home-v2__faq-list summary {
    font-size: 0.67rem;
  }

  .home-v2__cta,
  .home-v2__cta-inner {
    min-height: 178px;
  }

  .home-v2__cta-inner {
    padding-block: 1.5rem;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  .home-v2__cta h2 {
    font-size: 1.05rem;
  }

  .home-v2__cta p {
    font-size: 0.7rem;
  }

  .home-v2__cta .home-v2__button {
    width: 100%;
  }

  .home-v2-page .home-v2-footer {
    min-height: 0;
  }

  .home-v2-footer__grid {
    min-height: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.2rem;
    gap: 1.35rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v2-footer__brand p {
    max-width: none;
  }

  .home-v2-footer__column h2 {
    margin-bottom: 0.5rem;
    font-size: 0.76rem;
  }

  .home-v2-footer__column li,
  .home-v2-footer__column a,
  .home-v2-footer__brand p {
    font-size: 0.67rem;
  }

  .home-v2-footer__bottom {
    padding-block: 0.9rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 390px) {
  .home-v2__hero h1 {
    font-size: 1.75rem;
  }

  .home-v2__product-body h3 {
    font-size: 0.75rem;
  }
}
