/*
  SERNA TECHNICAL CENTER — LIGHTWEIGHT LAYOUT
  Removes the oversized 3D pipe lanes and keeps the site polished,
  responsive, and substantially lighter to render.
*/

:root {
  --section-space: clamp(68px, 7vw, 104px);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Render distant sections only when they approach the viewport. */
main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.section {
  padding-block: var(--section-space);
}

/* Decorative motion is intentionally restrained. */
.hero-star,
.stc-coin-embed::before,
.marquee-track {
  animation: none !important;
}

.marquee {
  overflow: hidden;
}

.marquee-track {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
  transform: none !important;
  padding-inline: 24px;
}

/* Keep the single homepage 3D logo modest instead of dominating the hero. */
.stc-coin-embed {
  width: clamp(250px, 27vw, 430px) !important;
  filter: drop-shadow(0 20px 24px rgba(5, 30, 48, 0.18)) !important;
}

.stc-coin-embed::before {
  opacity: .55 !important;
  transform: none !important;
}

/* The admissions steps from the supplied screenshot: smaller cards,
   no pipe model, and correct text width beside each number. */
.pipe-section-5 .container > .reveal:first-child {
  max-width: 760px;
  margin-bottom: 34px !important;
}

.pipe-section-5 .process-line {
  display: none;
}

.pipe-section-5 .process-grid {
  max-width: 980px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pipe-section-5 .process-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-areas:
    "node title"
    "node copy";
  column-gap: 18px;
  row-gap: 7px;
  min-height: 142px;
  align-items: center;
  padding: 22px 24px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 252, 247, .94);
  box-shadow: 0 12px 30px rgba(7, 27, 45, .075);
}

.pipe-section-5 .process-node {
  grid-area: node;
  width: 70px;
  height: 70px;
  margin: 0;
  border-width: 5px;
  font-size: 1.05rem;
  box-shadow: 0 12px 24px rgba(7, 27, 45, .14);
}

.pipe-section-5 .process-card h3 {
  grid-area: title;
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
}

.pipe-section-5 .process-card p {
  grid-area: copy;
  max-width: 42ch;
  margin: 0;
  line-height: 1.55;
}

/* Subpages return to a normal reading width after removing the pipe lane. */
.subhero {
  min-height: auto;
  padding-block: clamp(76px, 8vw, 104px) clamp(58px, 6vw, 78px);
}

.subhero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .62fr);
  gap: clamp(28px, 4vw, 52px);
}

.subhero h1 {
  font-size: clamp(3.2rem, 6.5vw, 6.2rem);
}

.content-grid {
  grid-template-columns: minmax(220px, .66fr) minmax(0, 1.34fr);
  gap: clamp(30px, 5vw, 64px);
}

.article-card,
.form-card,
.side-nav {
  box-shadow: 0 12px 30px rgba(7, 27, 45, .07);
}

/* Avoid expensive backdrop filters that are no longer needed without pipes. */
.subhero .tag-box,
.article-card,
.form-card,
.side-nav {
  backdrop-filter: none !important;
}

/* A restrained hover remains on capable desktop devices only. */
@media (hover: hover) and (pointer: fine) {
  .process-card,
  .article-card,
  .editorial-card,
  .feature,
  .support-card,
  .tuition-card {
    transition: transform .22s ease, box-shadow .22s ease;
  }

  .process-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(7, 27, 45, .10);
  }
}

@media (max-width: 900px) {
  .stc-coin-embed {
    width: min(72vw, 380px) !important;
  }

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

  .side-nav {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --section-space: 66px;
  }

  main > section:not(.hero) {
    contain-intrinsic-size: 620px;
  }

  .pipe-section-5 .process-grid {
    grid-template-columns: 1fr;
  }

  .pipe-section-5 .process-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 124px;
    padding: 18px;
  }

  .pipe-section-5 .process-node {
    width: 60px;
    height: 60px;
  }

  .marquee-track span:nth-child(n+6) {
    display: none;
  }
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 2026 pricing corrections and restrained decorative pipe details */
.tuition-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.registration-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.registration-line strong {
  font-size: 1.55rem;
}

.registration-line span {
  font-size: .82rem;
  opacity: .72;
}

.tuition-card.orange .registration-line {
  border-top-color: rgba(7,27,45,.15);
}

.tuition-details-section,
.contact-details-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.program-price-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
}

.program-price-card {
  min-height: 650px;
  padding: clamp(30px, 4vw, 48px);
  border-radius: 30px;
  background: linear-gradient(155deg, #0b3858, #05253c 72%);
  color: #fff;
  box-shadow: 0 20px 46px rgba(7,27,45,.15);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
}

.program-price-card h2 {
  margin: 12px 0 28px;
  font-size: clamp(2.2rem, 4vw, 3.55rem);
}

.program-total-label {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.program-total {
  margin: 4px 0 24px;
  font: 800 clamp(3.6rem, 7vw, 5.6rem)/1 'Fraunces', Georgia, serif;
}

.program-facts {
  display: grid;
  gap: 0;
  margin-bottom: 30px;
}

.program-facts > div {
  display: grid;
  gap: 5px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.24);
}

.program-facts span {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
}

.program-facts strong {
  font-size: 1.36rem;
}

.program-facts small {
  color: var(--orange);
  font-style: italic;
}

.program-price-card .button {
  align-self: flex-start;
  margin-top: auto;
  background: #fff;
  color: var(--navy);
}

.tuition-footnote {
  position: relative;
  z-index: 2;
  margin: 26px 0 0;
}

.tuition-pipe-art {
  position: absolute;
  z-index: 1;
  right: -56px;
  bottom: -48px;
  width: min(32vw, 430px);
  opacity: .58;
  pointer-events: none;
}

.tuition-pipe-art svg,
.contact-pipe-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.contact-details-section {
  padding-block: clamp(62px, 6.5vw, 88px);
}

.contact-content-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(210px, .58fr) minmax(0, 1.42fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.contact-details-section .side-nav {
  padding: 20px 22px;
}

.contact-details-section .side-nav a {
  padding: 9px 0;
  font-size: .94rem;
}

.contact-article-stack {
  gap: 14px;
}

.contact-details-section .article-card {
  min-height: 0;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255,250,240,.94);
}

.contact-details-section .article-card h3 {
  margin-bottom: 6px;
}

.contact-details-section .article-card p {
  margin-bottom: 0;
  line-height: 1.55;
}

.contact-pipe-art {
  position: absolute;
  z-index: 1;
  right: clamp(-155px, -7vw, -78px);
  top: 48px;
  width: min(39vw, 520px);
  opacity: .82;
  pointer-events: none;
}

@media (max-width: 900px) {
  .program-price-grid {
    grid-template-columns: 1fr;
  }

  .program-price-card {
    min-height: auto;
  }

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

  .contact-pipe-art {
    right: -145px;
    top: 170px;
    width: 390px;
    opacity: .34;
  }
}

@media (max-width: 680px) {
  .tuition-pipe-art {
    display: none;
  }

  .contact-pipe-art {
    right: -210px;
    top: 290px;
    opacity: .22;
  }

  .contact-details-section .article-card {
    padding: 18px;
  }
}

/* =========================================================
   VISIBLE LIGHTWEIGHT PIPE DETAILS — JULY 2026
   CSS-only, metallic depth, no WebGL and no continuous motion.
   ========================================================= */

.contact-details-section {
  min-height: 690px;
}

.contact-content-grid {
  grid-template-columns: minmax(210px, .58fr) minmax(190px, .52fr) minmax(420px, 1.55fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
}

.contact-pipe-stage {
  position: relative;
  min-height: 520px;
  width: 100%;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
}

.industrial-pipe {
  position: relative;
  filter: drop-shadow(0 22px 24px rgba(4, 28, 45, .24));
}

.industrial-pipe--contact {
  width: 230px;
  height: 500px;
}

.metal-pipe {
  position: absolute;
  display: block;
  border: 1px solid rgba(7, 27, 45, .42);
  background:
    linear-gradient(90deg,
      #153f52 0%,
      #4b7786 9%,
      #c7d9da 28%,
      #f8ffff 42%,
      #9db8bd 58%,
      #3f6877 78%,
      #102f41 100%);
  box-shadow:
    inset 8px 0 10px rgba(255,255,255,.34),
    inset -10px 0 13px rgba(1,18,30,.32),
    0 12px 22px rgba(7,27,45,.16);
}

.metal-pipe--vertical {
  left: 79px;
  top: 20px;
  width: 72px;
  height: 360px;
  border-radius: 35px 35px 18px 18px;
}

.metal-pipe--vertical::after,
.tuition-pipe-vertical::after {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 16px;
  width: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.08));
  opacity: .72;
}

.metal-pipe--horizontal {
  left: 112px;
  top: 350px;
  width: 112px;
  height: 72px;
  border-radius: 0 36px 36px 0;
  background:
    linear-gradient(180deg,
      #173f51 0%,
      #71939d 13%,
      #f5ffff 39%,
      #9db7bb 61%,
      #365f70 80%,
      #102f41 100%);
  box-shadow:
    inset 0 9px 10px rgba(255,255,255,.32),
    inset 0 -10px 13px rgba(1,18,30,.34),
    0 12px 22px rgba(7,27,45,.16);
}

.pipe-elbow--contact {
  position: absolute;
  left: 79px;
  top: 350px;
  width: 74px;
  height: 74px;
  border-radius: 0 0 0 72px;
  border-left: 36px solid #75959e;
  border-bottom: 36px solid #315768;
  box-shadow: inset 10px -8px 12px rgba(255,255,255,.22), 0 12px 18px rgba(7,27,45,.18);
  z-index: 2;
}

.pipe-flange {
  position: absolute;
  left: 66px;
  width: 98px;
  height: 31px;
  border-radius: 8px;
  border: 2px solid #143849;
  background: linear-gradient(90deg, #173c4d, #b8cbcd 20%, #f4fbfa 42%, #7897a0 65%, #163d4e);
  box-shadow: inset 0 4px 4px rgba(255,255,255,.4), 0 7px 12px rgba(7,27,45,.24);
  z-index: 4;
}

.pipe-flange::before,
.pipe-flange::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #edf5f3, #223e49 70%);
  box-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.pipe-flange::before { left: 10px; }
.pipe-flange::after { right: 10px; }
.pipe-flange--top { top: 9px; }
.pipe-flange--middle { top: 248px; }

.pipe-end-cap {
  position: absolute;
  left: 207px;
  top: 351px;
  width: 23px;
  height: 70px;
  border-radius: 6px 18px 18px 6px;
  border: 2px solid #173746;
  background: linear-gradient(90deg, #315768, #eef8f7 48%, #173c4d);
  z-index: 4;
}

.valve-neck {
  position: absolute;
  left: 98px;
  top: 178px;
  width: 34px;
  height: 76px;
  border-radius: 8px;
  border: 2px solid #193b48;
  background: linear-gradient(90deg, #173d4e, #d9e6e4 46%, #234d5d);
  transform: translateX(-55px) rotate(90deg);
  z-index: 5;
}

.valve-wheel {
  position: absolute;
  left: 0;
  top: 143px;
  width: 108px;
  height: 108px;
  border: 12px solid #c92826;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 30%, rgba(98,0,0,.25) 31% 35%, transparent 36%);
  box-shadow:
    inset 0 0 0 4px #7b0c0c,
    0 12px 18px rgba(69,10,10,.28),
    0 0 0 2px rgba(255,255,255,.18);
  z-index: 7;
}

.valve-wheel i {
  position: absolute;
  left: 43px;
  top: 5px;
  width: 10px;
  height: 74px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c0b0b, #e45d51 46%, #7c0b0b);
  transform-origin: 5px 37px;
}

.valve-wheel i:nth-child(2) { transform: rotate(45deg); }
.valve-wheel i:nth-child(3) { transform: rotate(90deg); }
.valve-wheel i:nth-child(4) { transform: rotate(135deg); }

.valve-wheel b {
  position: absolute;
  left: 30px;
  top: 30px;
  width: 25px;
  height: 25px;
  border: 9px solid #66100f;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3a28e, #a31b18 65%);
  box-sizing: content-box;
  z-index: 2;
}

/* Tuition: one smaller pipe along the outer right edge. */
.tuition-details-section {
  padding-bottom: clamp(110px, 10vw, 150px);
}

.tuition-pipe-stage {
  position: absolute;
  right: -24px;
  bottom: 4px;
  width: 330px;
  height: 250px;
  z-index: 3;
  pointer-events: none;
}

.industrial-pipe--tuition {
  width: 330px;
  height: 250px;
}

.tuition-pipe-horizontal {
  right: 0;
  top: 110px;
  width: 270px;
  height: 62px;
  border-radius: 32px 0 0 32px;
  background: linear-gradient(180deg, #173f51, #7397a0 16%, #f7ffff 40%, #91afb4 61%, #315d6e 83%, #102f41);
}

.tuition-pipe-vertical {
  position: absolute;
  right: 0;
  top: 0;
  width: 62px;
  height: 142px;
  border-radius: 31px 31px 0 0;
}

.tuition-pipe-elbow {
  position: absolute;
  right: 0;
  top: 110px;
  width: 64px;
  height: 64px;
  border-radius: 0 0 0 64px;
  border-left: 31px solid #819ca3;
  border-bottom: 31px solid #315b6b;
  z-index: 2;
}

.tuition-pipe-flange {
  left: auto;
  right: -14px;
  top: 24px;
  width: 90px;
  height: 28px;
}

.tuition-valve-neck {
  left: 112px;
  top: 90px;
  transform: rotate(0deg);
  width: 26px;
  height: 48px;
}

.tuition-valve-wheel {
  left: 71px;
  top: 40px;
  width: 90px;
  height: 90px;
  border-width: 10px;
}

.tuition-valve-wheel i {
  left: 35px;
  top: 4px;
  width: 8px;
  height: 62px;
  transform-origin: 4px 31px;
}

.tuition-valve-wheel b {
  left: 24px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-width: 7px;
}

@media (max-width: 1080px) {
  .contact-content-grid {
    grid-template-columns: 230px minmax(160px, .55fr) minmax(360px, 1.35fr);
    gap: 20px;
  }
  .industrial-pipe--contact {
    transform: scale(.88);
  }
}

@media (max-width: 900px) {
  .contact-content-grid {
    grid-template-columns: 1fr;
  }
  .contact-pipe-stage {
    min-height: 330px;
    order: 3;
  }
  .industrial-pipe--contact {
    transform: scale(.72) rotate(90deg);
    transform-origin: center;
  }
  .contact-article-stack { order: 2; }
  .tuition-pipe-stage {
    right: -70px;
    opacity: .72;
    transform: scale(.84);
    transform-origin: right bottom;
  }
}

@media (max-width: 680px) {
  .contact-pipe-stage {
    display: none;
  }
  .tuition-pipe-stage {
    display: none;
  }
}


/* =========================================================
   HOMEPAGE PIPE NETWORK — JULY 2026
   One restrained decorative assembly using the earlier
   metallic blue pipes and red valve style. No continuous
   animation, no WebGL, and no obstruction of hero content.
   ========================================================= */
.hero-visual {
  isolation: isolate;
}

.hero-visual .hero-photo {
  z-index: 1;
}

.home-pipe-stage {
  position: absolute;
  z-index: 5;
  right: -86px;
  bottom: 18px;
  width: 310px;
  height: 520px;
  pointer-events: none;
  opacity: .96;
  filter: drop-shadow(0 24px 28px rgba(4, 28, 45, .26));
  transform: rotate(-2deg);
  transform-origin: center bottom;
}

.home-pipe-network {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-pipe {
  position: absolute;
  display: block;
  border: 1px solid rgba(3, 36, 58, .55);
  background:
    linear-gradient(90deg,
      #063a5d 0%,
      #0a70a8 10%,
      #61b9dd 26%,
      #e8fbff 43%,
      #7bc6e2 57%,
      #0d78ad 78%,
      #052f4d 100%);
  box-shadow:
    inset 7px 0 10px rgba(255,255,255,.38),
    inset -9px 0 12px rgba(0,24,43,.34),
    0 12px 22px rgba(7,27,45,.17);
}

.home-pipe-v {
  top: 66px;
  width: 54px;
  height: 372px;
  border-radius: 27px;
}

.home-pipe-v::after {
  content: "";
  position: absolute;
  top: 7%;
  bottom: 7%;
  left: 12px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.08));
  opacity: .72;
}

.home-pipe-v-left { left: 36px; }
.home-pipe-v-right { right: 36px; }

.home-pipe-h {
  left: 63px;
  width: 184px;
  height: 54px;
  border-radius: 27px;
  background:
    linear-gradient(180deg,
      #073b5d 0%,
      #177eaf 13%,
      #dff8ff 39%,
      #72c0df 59%,
      #0b70a4 80%,
      #052f4d 100%);
  box-shadow:
    inset 0 8px 10px rgba(255,255,255,.35),
    inset 0 -9px 12px rgba(0,24,43,.34),
    0 12px 22px rgba(7,27,45,.17);
}

.home-pipe-h-top { top: 66px; }
.home-pipe-h-bottom { top: 384px; }

.home-elbow {
  position: absolute;
  z-index: 2;
  width: 58px;
  height: 58px;
  border: 27px solid transparent;
  filter: drop-shadow(0 8px 10px rgba(7,27,45,.16));
}

.home-elbow-tl {
  left: 35px;
  top: 65px;
  border-right-color: #2b9dca;
  border-bottom-color: #0c6d9f;
  border-radius: 58px 0 0 0;
}
.home-elbow-tr {
  right: 35px;
  top: 65px;
  border-left-color: #70c7e4;
  border-bottom-color: #0a6698;
  border-radius: 0 58px 0 0;
}
.home-elbow-bl {
  left: 35px;
  top: 383px;
  border-right-color: #53b5d9;
  border-top-color: #0b699b;
  border-radius: 0 0 0 58px;
}
.home-elbow-br {
  right: 35px;
  top: 383px;
  border-left-color: #78cbe5;
  border-top-color: #0b699b;
  border-radius: 0 0 58px 0;
}

.home-flange {
  position: absolute;
  z-index: 4;
  width: 78px;
  height: 25px;
  border: 2px solid #073550;
  border-radius: 8px;
  background: linear-gradient(90deg, #063958, #67b7d5 20%, #f0fdff 44%, #5ca8c8 67%, #073957);
  box-shadow: inset 0 3px 4px rgba(255,255,255,.44), 0 7px 12px rgba(7,27,45,.24);
}

.home-flange::before,
.home-flange::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f7ffff, #1d536b 70%);
  box-shadow: 0 1px 2px rgba(0,0,0,.36);
}
.home-flange::before { left: 9px; }
.home-flange::after { right: 9px; }
.home-flange-left-top { left: 24px; top: 144px; }
.home-flange-left-bottom { left: 24px; top: 330px; }
.home-flange-right-top { right: 24px; top: 144px; }
.home-flange-right-bottom { right: 24px; top: 330px; }

.home-valve-neck {
  position: absolute;
  z-index: 5;
  left: 16px;
  top: 238px;
  width: 68px;
  height: 28px;
  border: 2px solid #123f52;
  border-radius: 7px;
  background: linear-gradient(180deg, #0a4260, #dbf1f4 46%, #1b607e);
  box-shadow: 0 7px 12px rgba(7,27,45,.2);
}

.home-valve-wheel {
  position: absolute;
  z-index: 7;
  left: -35px;
  top: 194px;
  width: 96px;
  height: 96px;
  border: 11px solid #c82c27;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 29%, rgba(89,0,0,.22) 30% 35%, transparent 36%);
  box-shadow:
    inset 0 0 0 4px #78100e,
    0 12px 18px rgba(69,10,10,.28),
    0 0 0 2px rgba(255,255,255,.16);
}

.home-valve-wheel i {
  position: absolute;
  left: 37px;
  top: 4px;
  width: 9px;
  height: 66px;
  border-radius: 999px;
  background: linear-gradient(90deg, #760b0b, #e45d51 48%, #760b0b);
  transform-origin: 4.5px 33px;
}
.home-valve-wheel i:nth-child(2) { transform: rotate(45deg); }
.home-valve-wheel i:nth-child(3) { transform: rotate(90deg); }
.home-valve-wheel i:nth-child(4) { transform: rotate(135deg); }

.home-valve-wheel b {
  position: absolute;
  left: 27px;
  top: 27px;
  width: 22px;
  height: 22px;
  border: 8px solid #65100f;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f1a08d, #a31b18 65%);
  box-sizing: content-box;
}

@media (max-width: 1100px) {
  .home-pipe-stage {
    right: -74px;
    transform: scale(.88) rotate(-2deg);
  }
}

@media (max-width: 820px) {
  .home-pipe-stage {
    right: -34px;
    bottom: 4px;
    transform: scale(.72) rotate(-2deg);
    transform-origin: right bottom;
    opacity: .78;
  }
}

@media (max-width: 520px) {
  .home-pipe-stage {
    right: -92px;
    bottom: -12px;
    transform: scale(.58) rotate(-2deg);
    opacity: .58;
  }
}

/* =========================================================
   EXTRA 3D PIPE DETAILS — JULY 2026 ROUND 2
   More visible pipe presence in the admissions steps area,
   plus a compact hero pipe on subpages.
   ========================================================= */

.subhero.has-pipe-scene {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.subhero .container.subhero-grid {
  position: relative;
  z-index: 1;
}

.subhero-pipe-stage {
  position: absolute;
  right: clamp(8px, 2vw, 24px);
  bottom: -14px;
  width: 180px;
  height: 240px;
  pointer-events: none;
  z-index: 0;
  opacity: .92;
  filter: drop-shadow(0 16px 22px rgba(7, 27, 45, .16));
}

.mini-pipe-cluster {
  position: relative;
  width: 100%;
  height: 100%;
}

.mini-pipe {
  position: absolute;
  display: block;
  border: 1px solid rgba(3, 36, 58, .5);
  background: linear-gradient(90deg,
    #063a5d 0%,
    #0d79ad 12%,
    #67bfdc 28%,
    #eefcff 42%,
    #7dc8e3 58%,
    #0f79ad 78%,
    #052f4d 100%);
  box-shadow: inset 6px 0 8px rgba(255,255,255,.34), inset -7px 0 10px rgba(0,24,43,.28), 0 10px 18px rgba(7,27,45,.16);
}

.mini-pipe--vert {
  left: 92px;
  top: 18px;
  width: 40px;
  height: 146px;
  border-radius: 20px;
}

.mini-pipe--vert::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 9px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.08));
}

.mini-pipe--horiz {
  left: 42px;
  top: 126px;
  width: 88px;
  height: 40px;
  border-radius: 0 22px 22px 0;
  background: linear-gradient(180deg,
    #073b5d 0%,
    #177eaf 14%,
    #e6fbff 40%,
    #76c0dd 59%,
    #0b70a4 80%,
    #052f4d 100%);
  box-shadow: inset 0 6px 8px rgba(255,255,255,.32), inset 0 -8px 10px rgba(0,24,43,.3), 0 10px 18px rgba(7,27,45,.16);
}

.mini-pipe-elbow {
  position: absolute;
  left: 91px;
  top: 126px;
  width: 43px;
  height: 43px;
  border-left: 20px solid #5db8d8;
  border-bottom: 20px solid #0d6d9e;
  border-radius: 0 0 0 42px;
  box-shadow: inset 6px -5px 8px rgba(255,255,255,.2), 0 8px 12px rgba(7,27,45,.16);
}

.mini-pipe-flange {
  position: absolute;
  left: 84px;
  width: 56px;
  height: 18px;
  border: 2px solid #073550;
  border-radius: 6px;
  background: linear-gradient(90deg, #063958, #67b7d5 20%, #f0fdff 44%, #5ca8c8 67%, #073957);
  box-shadow: inset 0 3px 4px rgba(255,255,255,.38), 0 6px 10px rgba(7,27,45,.18);
}

.mini-pipe-flange::before,
.mini-pipe-flange::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f7ffff, #1d536b 70%);
}

.mini-pipe-flange::before { left: 7px; }
.mini-pipe-flange::after { right: 7px; }
.mini-pipe-flange--top { top: 12px; }
.mini-pipe-flange--bottom { top: 96px; }

.mini-valve-neck {
  position: absolute;
  left: 48px;
  top: 72px;
  width: 58px;
  height: 22px;
  border: 2px solid #123f52;
  border-radius: 7px;
  background: linear-gradient(180deg, #0a4260, #dbf1f4 46%, #1b607e);
}

.mini-valve-wheel {
  position: absolute;
  left: 2px;
  top: 45px;
  width: 72px;
  height: 72px;
  border: 9px solid #c82c27;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 29%, rgba(89,0,0,.22) 30% 35%, transparent 36%);
  box-shadow: inset 0 0 0 4px #78100e, 0 10px 16px rgba(69,10,10,.26), 0 0 0 2px rgba(255,255,255,.14);
}

.mini-valve-wheel i {
  position: absolute;
  left: 28px;
  top: 3px;
  width: 7px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(90deg, #760b0b, #e45d51 48%, #760b0b);
  transform-origin: 3.5px 24px;
}

.mini-valve-wheel i:nth-child(2) { transform: rotate(45deg); }
.mini-valve-wheel i:nth-child(3) { transform: rotate(90deg); }
.mini-valve-wheel i:nth-child(4) { transform: rotate(135deg); }

.mini-valve-wheel b {
  position: absolute;
  left: 19px;
  top: 19px;
  width: 16px;
  height: 16px;
  border: 6px solid #65100f;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f1a08d, #a31b18 65%);
  box-sizing: content-box;
}

.pipe-section-5 .container,
.pipe-section-5 .process {
  position: relative;
}

.pipe-section-5 .process {
  padding-inline: 110px 86px;
  padding-bottom: 110px;
}

.pipe-section-5 .process-grid,
.pipe-section-5 .process-line {
  position: relative;
  z-index: 2;
}

.steps-pipe-assemblies {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.steps-pipe {
  position: absolute;
  filter: drop-shadow(0 18px 20px rgba(7, 27, 45, .18));
}

.steps-p {
  position: absolute;
  display: block;
  border: 1px solid rgba(3, 36, 58, .52);
  background: linear-gradient(90deg,
    #063a5d 0%,
    #0d79ad 12%,
    #67bfdc 28%,
    #eefcff 42%,
    #7dc8e3 58%,
    #0f79ad 78%,
    #052f4d 100%);
  box-shadow: inset 6px 0 9px rgba(255,255,255,.34), inset -8px 0 10px rgba(0,24,43,.28), 0 12px 18px rgba(7,27,45,.16);
}

.steps-p--v {
  width: 48px;
  height: 208px;
  border-radius: 24px;
}

.steps-p--v::after,
.steps-p--long::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8%;
  bottom: 8%;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.06));
}

.steps-p--h {
  left: 46px;
  top: 160px;
  width: 120px;
  height: 48px;
  border-radius: 0 24px 24px 0;
  background: linear-gradient(180deg,#073b5d 0%,#177eaf 14%,#e6fbff 40%,#76c0dd 59%,#0b70a4 80%,#052f4d 100%);
  box-shadow: inset 0 6px 8px rgba(255,255,255,.32), inset 0 -8px 10px rgba(0,24,43,.3), 0 10px 18px rgba(7,27,45,.16);
}

.steps-p--hshort {
  left: auto;
  right: 46px;
  top: 0;
  width: 116px;
  border-radius: 24px 0 0 24px;
}

.steps-p--long {
  width: 280px;
  height: 42px;
  border-radius: 22px;
  background: linear-gradient(180deg,#073b5d 0%,#177eaf 14%,#e6fbff 40%,#76c0dd 59%,#0b70a4 80%,#052f4d 100%);
  box-shadow: inset 0 6px 8px rgba(255,255,255,.32), inset 0 -8px 10px rgba(0,24,43,.3), 0 10px 18px rgba(7,27,45,.16);
}

.steps-elbow {
  position: absolute;
  width: 50px;
  height: 50px;
  box-shadow: inset 6px -5px 8px rgba(255,255,255,.2), 0 8px 12px rgba(7,27,45,.16);
}

.steps-elbow--lb {
  left: 0;
  top: 160px;
  border-left: 24px solid #5db8d8;
  border-bottom: 24px solid #0d6d9e;
  border-radius: 0 0 0 48px;
}

.steps-elbow--rt {
  right: 0;
  top: 0;
  border-right: 24px solid #5db8d8;
  border-top: 24px solid #0d6d9e;
  border-radius: 0 48px 0 0;
}

.steps-flange {
  position: absolute;
  width: 62px;
  height: 18px;
  border: 2px solid #073550;
  border-radius: 6px;
  background: linear-gradient(90deg, #063958, #67b7d5 20%, #f0fdff 44%, #5ca8c8 67%, #073957);
  box-shadow: inset 0 3px 4px rgba(255,255,255,.38), 0 6px 10px rgba(7,27,45,.18);
}

.steps-flange::before,
.steps-flange::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f7ffff, #1d536b 70%);
}
.steps-flange::before { left: 8px; }
.steps-flange::after { right: 8px; }

.steps-valve-neck {
  position: absolute;
  left: -46px;
  top: 92px;
  width: 58px;
  height: 22px;
  border: 2px solid #123f52;
  border-radius: 7px;
  background: linear-gradient(180deg, #0a4260, #dbf1f4 46%, #1b607e);
}

.steps-valve-wheel {
  position: absolute;
  left: -88px;
  top: 66px;
  width: 76px;
  height: 76px;
  border: 9px solid #c82c27;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 29%, rgba(89,0,0,.22) 30% 35%, transparent 36%);
  box-shadow: inset 0 0 0 4px #78100e, 0 10px 16px rgba(69,10,10,.26), 0 0 0 2px rgba(255,255,255,.14);
}

.steps-valve-wheel i {
  position: absolute;
  left: 30px;
  top: 3px;
  width: 7px;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(90deg, #760b0b, #e45d51 48%, #760b0b);
  transform-origin: 3.5px 25px;
}
.steps-valve-wheel i:nth-child(2) { transform: rotate(45deg); }
.steps-valve-wheel i:nth-child(3) { transform: rotate(90deg); }
.steps-valve-wheel i:nth-child(4) { transform: rotate(135deg); }
.steps-valve-wheel b {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 16px;
  height: 16px;
  border: 6px solid #65100f;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f1a08d, #a31b18 65%);
  box-sizing: content-box;
}

.steps-pipe--left {
  left: 8px;
  top: 56px;
  width: 166px;
  height: 214px;
  opacity: .98;
}
.steps-pipe--left .steps-flange--a { left: -7px; top: 18px; }
.steps-pipe--left .steps-flange--b { left: -7px; top: 116px; }

.steps-pipe--top {
  right: 28px;
  top: -12px;
  width: 162px;
  height: 162px;
  opacity: .9;
}
.steps-pipe--top .steps-p--v { right: 0; top: 0; height: 118px; }
.steps-pipe--top .steps-flange--c { right: -8px; top: 60px; }

.steps-pipe--bottom {
  right: 118px;
  bottom: 18px;
  width: 280px;
  height: 126px;
  opacity: .96;
}
.steps-pipe--bottom .steps-p--long { left: 0; bottom: 0; }
.steps-pipe--bottom .steps-flange--d { left: 34px; bottom: 12px; }
.steps-pipe--bottom .steps-flange--e { left: 182px; bottom: 12px; }
.steps-valve-neck--bottom {
  left: 106px;
  top: 20px;
  width: 24px;
  height: 46px;
  border-radius: 8px;
}
.steps-valve-wheel--bottom {
  left: 80px;
  top: -30px;
}

@media (max-width: 1120px) {
  .pipe-section-5 .process {
    padding-inline: 86px 70px;
  }
  .steps-pipe--bottom {
    right: 34px;
  }
}

@media (max-width: 900px) {
  .subhero-pipe-stage {
    transform: scale(.8);
    transform-origin: right bottom;
    right: -6px;
    opacity: .72;
  }
  .pipe-section-5 .process {
    padding-inline: 22px;
    padding-bottom: 34px;
  }
  .steps-pipe-assemblies {
    display: none;
  }
}

@media (max-width: 640px) {
  .subhero-pipe-stage {
    display: none;
  }
}

/* Subpage content sections: one lateral pipe cluster per section */
.subpage-pipe-section:not(.subhero) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.subpage-pipe-section:not(.subhero) .container.content-grid {
  position: relative;
  z-index: 1;
}

.section-side-pipe {
  position: absolute;
  top: 50%;
  width: 180px;
  height: 250px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: .92;
  filter: drop-shadow(0 16px 22px rgba(7,27,45,.16));
}

.subpage-pipe-left .section-side-pipe {
  left: clamp(-34px, -2vw, -12px);
}
.subpage-pipe-right .section-side-pipe {
  right: clamp(-34px, -2vw, -12px);
}
.subpage-pipe-upper .section-side-pipe {
  top: 34%;
}
.subpage-pipe-lower .section-side-pipe {
  top: 66%;
}
.subpage-pipe-size-small .section-side-pipe {
  transform: translateY(-50%) scale(.84);
}
.subpage-pipe-size-medium .section-side-pipe {
  transform: translateY(-50%) scale(.95);
}
.subpage-pipe-size-large .section-side-pipe {
  transform: translateY(-50%) scale(1.06);
}

.subpage-pipe-right .section-side-pipe .mini-pipe-cluster {
  transform: scaleX(-1);
  transform-origin: center;
}

.mini-pipe-cluster--section .mini-pipe--vert {
  left: 98px;
  top: 20px;
  height: 154px;
}

.mini-pipe-cluster--section .mini-pipe--horiz {
  left: 46px;
  top: 134px;
  width: 90px;
}

.mini-pipe-cluster--section .mini-pipe-elbow {
  left: 97px;
  top: 134px;
}

.mini-pipe-cluster--section .mini-pipe-flange--top { top: 18px; }
.mini-pipe-cluster--section .mini-pipe-flange--bottom { top: 104px; }
.mini-pipe-cluster--section .mini-valve-neck { left: 50px; top: 78px; }
.mini-pipe-cluster--section .mini-valve-wheel { left: 4px; top: 52px; }

/* Add a little breathing room so the lateral pipes never cover copy. */
.subpage-pipe-left .container.content-grid {
  padding-left: clamp(30px, 6vw, 94px);
}
.subpage-pipe-right .container.content-grid {
  padding-right: clamp(30px, 6vw, 94px);
}

/* Homepage FAQ/support subtle side pipe balance */
.pipe-section-7,
.pipe-section-8 {
  position: relative;
  overflow: hidden;
}

.pipe-section-7::after,
.pipe-section-8::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 240px;
  pointer-events: none;
  z-index: 0;
  opacity: .36;
  filter: drop-shadow(0 14px 18px rgba(7,27,45,.14));
  background:
    radial-gradient(circle at 50% 24%, #cb2d28 0 16px, #7b1110 17px 22px, transparent 23px),
    linear-gradient(180deg, transparent 0 54px, #0f70a4 54px 76px, transparent 76px),
    linear-gradient(180deg, #073b5d 0%, #177eaf 14%, #e6fbff 40%, #76c0dd 59%, #0b70a4 80%, #052f4d 100%);
  border-radius: 26px;
}
.pipe-section-7::after {
  right: 18px;
  top: 34px;
  clip-path: inset(0 round 26px);
}
.pipe-section-8::before {
  left: 16px;
  bottom: 28px;
  transform: scaleX(-1);
  clip-path: inset(0 round 26px);
}

@media (max-width: 900px) {
  .section-side-pipe,
  .pipe-section-7::after,
  .pipe-section-8::before {
    display: none;
  }
  .subpage-pipe-left .container.content-grid,
  .subpage-pipe-right .container.content-grid {
    padding-inline: 0;
  }
}


/* Support + FAQ sections: same richer side pipe treatment as admissions steps */
.pipe-section-7,
.pipe-section-8 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.pipe-section-7::after,
.pipe-section-8::before {
  display: none !important;
  content: none !important;
}

.support-grid,
.faq-grid {
  position: relative;
  z-index: 2;
}

.support-pipe-assemblies,
.faq-pipe-assemblies {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.support-side-pipe,
.faq-side-pipe {
  position: absolute;
  width: 205px;
  height: 325px;
  filter: drop-shadow(0 20px 22px rgba(7,27,45,.18));
}

.support-side-pipe--right {
  right: 28px;
  top: 34px;
}

.faq-side-pipe--left {
  left: -8px;
  bottom: 16px;
}

.support-side-pipe .mini-pipe-cluster,
.faq-side-pipe .mini-pipe-cluster {
  position: relative;
  width: 100%;
  height: 100%;
}

.mini-pipe-cluster--support .mini-pipe--vert,
.mini-pipe-cluster--faq .mini-pipe--vert {
  left: 102px;
  top: 18px;
  width: 48px;
  height: 210px;
  border-radius: 24px;
}

.mini-pipe-cluster--support .mini-pipe--vert::after,
.mini-pipe-cluster--faq .mini-pipe--vert::after {
  left: 11px;
  width: 6px;
}

.mini-pipe-cluster--support .mini-pipe--horiz,
.mini-pipe-cluster--faq .mini-pipe--horiz {
  left: 54px;
  top: 184px;
  width: 96px;
  height: 48px;
  border-radius: 0 24px 24px 0;
}

.mini-pipe-cluster--support .mini-pipe-elbow,
.mini-pipe-cluster--faq .mini-pipe-elbow {
  left: 101px;
  top: 183px;
  width: 52px;
  height: 52px;
  border-left-width: 24px;
  border-bottom-width: 24px;
  border-radius: 0 0 0 50px;
}

.mini-pipe-cluster--support .mini-pipe-flange,
.mini-pipe-cluster--faq .mini-pipe-flange {
  left: 94px;
  width: 64px;
  height: 20px;
}

.mini-pipe-cluster--support .mini-pipe-flange--top,
.mini-pipe-cluster--faq .mini-pipe-flange--top { top: 22px; }

.mini-pipe-cluster--support .mini-pipe-flange--bottom,
.mini-pipe-cluster--faq .mini-pipe-flange--bottom { top: 128px; }

.mini-pipe-cluster--support .mini-valve-neck,
.mini-pipe-cluster--faq .mini-valve-neck {
  left: 56px;
  top: 102px;
  width: 64px;
  height: 24px;
}

.mini-pipe-cluster--support .mini-valve-wheel,
.mini-pipe-cluster--faq .mini-valve-wheel {
  left: 8px;
  top: 66px;
  width: 84px;
  height: 84px;
  border-width: 10px;
}

.mini-pipe-cluster--support .mini-valve-wheel i,
.mini-pipe-cluster--faq .mini-valve-wheel i {
  left: 32px;
  height: 56px;
  transform-origin: 3.5px 28px;
}

.mini-pipe-cluster--support .mini-valve-wheel b,
.mini-pipe-cluster--faq .mini-valve-wheel b {
  left: 22px;
  top: 22px;
  width: 18px;
  height: 18px;
}

.pipe-section-7 .container {
  padding-right: clamp(90px, 10vw, 180px);
}

.pipe-section-8 .container {
  padding-left: clamp(100px, 10vw, 170px);
}

@media (max-width: 1180px) {
  .pipe-section-7 .container {
    padding-right: 120px;
  }
  .pipe-section-8 .container {
    padding-left: 110px;
  }
  .support-side-pipe--right {
    right: 10px;
  }
  .faq-side-pipe--left {
    left: -24px;
  }
}

@media (max-width: 900px) {
  .support-pipe-assemblies,
  .faq-pipe-assemblies {
    display: none;
  }
  .pipe-section-7 .container,
  .pipe-section-8 .container {
    padding-left: 0;
    padding-right: 0;
  }
}
