/* Walk-In Tub — Hydro Journal (space-filled editorial layout) */
:root {
  --hy-navy: #17324d;
  --hy-deep: #0a1824;
  --hy-coral: #d96832;
  --hy-ink: #182632;
  --hy-muted: #5c6b78;
  --hy-steam: #e8f0f4;
  --hy-mist: #f4f8fa;
  --hy-pool: #c5d9e4;
  --hy-face: #ffffff;
  --hy-line: rgba(23, 50, 77, 0.09);
  --hy-serif: "Playfair Display", serif;
  --hy-sans: Inter, sans-serif;
}

.hy-page {
  color: var(--hy-ink);
  background:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(197, 217, 228, 0.55), transparent 55%),
    linear-gradient(180deg, #fafcfd 0%, var(--hy-mist) 40%, var(--hy-steam) 100%);
  overflow-x: clip;
}

.hy-wrap {
  width: min(1240px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.hy-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.hy-reveal.is-in {
  opacity: 1;
  transform: none;
}
.hy-d1 { transition-delay: 0.07s; }
.hy-d2 { transition-delay: 0.14s; }
.hy-d3 { transition-delay: 0.21s; }
.hy-d4 { transition-delay: 0.28s; }

.hy-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--hy-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hy-coral);
}
.hy-kicker--light { color: #e8a078; }

.hy-title {
  margin: 0;
  font-family: var(--hy-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--hy-navy);
}
.hy-title--light { color: #fff; }

.hy-text {
  margin: 0.75rem 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--hy-muted);
}
.hy-text--light { color: rgba(255, 255, 255, 0.78); }

.hy-rule {
  width: 3rem;
  height: 3px;
  margin: 0.85rem 0 1rem;
  background: linear-gradient(90deg, var(--hy-coral), var(--hy-pool));
  border-radius: 99px;
}

.hy-section {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
  position: relative;
}

.hy-wave {
  display: block;
  width: 100%;
  height: 40px;
  color: var(--hy-steam);
  margin: 0;
  line-height: 0;
}
.hy-wave svg { width: 100%; height: 100%; display: block; }

/* —— Intro —— */
.hy-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
}

.hy-intro-story {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hy-intro-story::after {
  content: "";
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 217, 228, 0.7), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hy-shot-stack {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.35rem;
  flex: 1 1 auto;
  min-height: 300px;
}
.hy-shot-stack figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 14px 36px rgba(23, 50, 77, 0.12);
  min-height: 0;
}
.hy-shot-stack figure:first-child { grid-row: 1 / 3; }
.hy-shot-stack img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.hy-shot-stack figure:hover img { transform: scale(1.04); }

.hy-form {
  background: var(--hy-face);
  border: 1px solid var(--hy-line);
  border-radius: 2px;
  box-shadow: 0 24px 56px rgba(23, 50, 77, 0.1);
  overflow: hidden;
  position: sticky;
  top: 5.5rem;
  align-self: stretch;
}
.hy-form-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--hy-coral), var(--hy-navy), var(--hy-pool));
}
.hy-form-head {
  padding: 1.25rem 1.4rem 0.75rem;
}
.hy-form-head h3 {
  margin: 0;
  font-family: var(--hy-serif);
  font-size: 1.35rem;
  color: var(--hy-navy);
}
.hy-form-head p {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--hy-muted);
}
.hy-form-body { padding: 0.35rem 1.4rem 1.35rem; }

.hy-form--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.hy-form--dark .hy-form-head h3 { color: #fff; }
.hy-form--dark .hy-form-head p { color: rgba(255, 255, 255, 0.65); }

/* —— Mosaic —— */
.hy-spec-head {
  margin-bottom: 1.25rem;
}
.hy-spec-head .hy-title { max-width: none; }

.hy-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, minmax(210px, 1fr));
  gap: 0.6rem;
  min-height: 680px;
}

.hy-spec {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--hy-navy);
  min-height: 0;
}
.hy-spec:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.hy-spec:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 2; }
.hy-spec:nth-child(3) { grid-column: 8 / 13; grid-row: 2 / 3; }
.hy-spec:nth-child(4) { grid-column: 1 / 7; grid-row: 3 / 4; }
.hy-spec:nth-child(5) { grid-column: 7 / 13; grid-row: 3 / 4; }

.hy-spec img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease, filter 0.45s ease;
  filter: brightness(0.76);
}
.hy-spec:hover img {
  transform: scale(1.05);
  filter: brightness(0.88);
}

.hy-spec-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.3rem 1.35rem 1.4rem;
  background: linear-gradient(transparent, rgba(10, 24, 36, 0.9) 30%, rgba(10, 24, 36, 0.97));
  color: #fff;
  z-index: 1;
}
.hy-spec-body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--hy-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.hy-spec-body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}
.hy-spec:nth-child(1) .hy-spec-body {
  padding: 1.55rem 1.55rem 1.7rem;
}
.hy-spec:nth-child(1) .hy-spec-body h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}
.hy-spec:nth-child(1) .hy-spec-body p {
  font-size: 0.95rem;
}

.hy-center {
  text-align: center;
  margin-top: 1.25rem;
}

/* —— Safety —— */
.hy-safety {
  background: var(--hy-deep);
  position: relative;
  overflow: hidden;
}
.hy-safety::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hy-safety-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hy-safety-media {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  min-height: 100%;
}
.hy-safety-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
}

.hy-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.hy-rail-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.045);
  border-left: 2px solid var(--hy-coral);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.35;
}
.hy-rail-item span {
  font-family: var(--hy-serif);
  color: var(--hy-coral);
  font-size: 0.95rem;
}

/* —— Chapters —— */
.hy-chapters {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
}
.hy-chapter {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
  gap: 0;
  min-height: 270px;
  border-top: 1px solid var(--hy-line);
}
.hy-chapter:last-child { border-bottom: 1px solid var(--hy-line); }
.hy-chapter:nth-child(even) { grid-template-columns: 1.05fr minmax(280px, 0.95fr); }
.hy-chapter:nth-child(even) .hy-chapter-media { order: 2; }

.hy-chapter-media {
  overflow: hidden;
  min-height: 270px;
}
.hy-chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}
.hy-chapter:hover .hy-chapter-media img { transform: scale(1.04); }

.hy-chapter-copy {
  padding: clamp(1.35rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--hy-face);
}
.hy-chapter-num {
  font-family: var(--hy-serif);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--hy-pool);
  margin-bottom: 0.4rem;
}
.hy-chapter-copy h3 {
  margin: 0 0 0.45rem;
  font-family: var(--hy-serif);
  font-size: 1.3rem;
  color: var(--hy-navy);
}
.hy-chapter-copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--hy-muted);
}

/* —— Why —— */
.hy-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.35rem;
  margin-top: 1.5rem;
}
.hy-ledger-item {
  padding: 1rem 0.15rem 0.25rem;
  border-top: 2px solid var(--hy-coral);
}
.hy-ledger-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--hy-serif);
  font-size: 1.08rem;
  color: var(--hy-navy);
}
.hy-ledger-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--hy-muted);
}

/* —— Process —— */
.hy-flow {
  background: linear-gradient(180deg, var(--hy-navy) 0%, var(--hy-deep) 100%);
  position: relative;
  overflow: hidden;
}
.hy-flow-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.hy-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}
.hy-timeline::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(217, 104, 50, 0.5), transparent);
  pointer-events: none;
}

.hy-node {
  position: relative;
  padding: 0.35rem 0.65rem 0.85rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hy-node-dot {
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--hy-coral);
  color: #fff;
  font-family: var(--hy-serif);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(217, 104, 50, 0.18);
}
.hy-node h3 {
  margin: 0 0 0.4rem;
  font-family: var(--hy-serif);
  font-size: 1.02rem;
  color: #fff;
}
.hy-node p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.hy-flow-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.hy-flow-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
}
.hy-flow-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* —— Reviews —— */
.hy-quotes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.75rem;
  margin-top: 1.35rem;
}
.hy-quote {
  padding: 1.45rem 1.35rem;
  background: var(--hy-face);
  border: 1px solid var(--hy-line);
  position: relative;
}
.hy-quote--feature {
  grid-row: span 2;
  background:
    linear-gradient(165deg, rgba(197, 217, 228, 0.35), transparent 50%),
    var(--hy-face);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hy-quote::before {
  content: "“";
  position: absolute;
  top: 0.25rem;
  left: 0.75rem;
  font-family: var(--hy-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--hy-pool);
  opacity: 0.7;
}
.hy-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.hy-quote blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--hy-serif);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--hy-ink);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.hy-quote--feature blockquote {
  font-size: 1.28rem;
  line-height: 1.5;
}
.hy-who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hy-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--hy-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.hy-who strong {
  display: block;
  font-size: 0.9rem;
  color: var(--hy-navy);
}
.hy-who span {
  display: block;
  font-size: 0.75rem;
  color: var(--hy-muted);
}

/* —— Area —— */
.hy-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  margin-top: 1.35rem;
}
.hy-map {
  background: linear-gradient(160deg, var(--hy-pool), var(--hy-steam));
  padding: 1.35rem;
  border-radius: 2px;
  height: 100%;
}
.hy-map-label { text-align: center; margin-bottom: 0.65rem; }
.hy-map-label strong {
  display: block;
  font-family: var(--hy-serif);
  font-size: 1.45rem;
  color: var(--hy-navy);
}
.hy-map-svg {
  position: relative;
  width: 100%;
  padding-bottom: 110%;
}
.hy-map-svg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(23, 50, 77, 0.15));
}
.hy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 0.85rem;
}
.hy-stat {
  background: var(--hy-face);
  padding: 0.8rem 0.45rem;
  text-align: center;
}
.hy-stat strong {
  display: block;
  font-family: var(--hy-serif);
  font-size: 1.3rem;
  color: var(--hy-navy);
}
.hy-stat span {
  display: block;
  font-size: 0.68rem;
  color: var(--hy-muted);
  margin-top: 0.15rem;
}
.hy-cities {
  display: flex;
  flex-direction: column;
}
.hy-cities h3 {
  margin: 0.25rem 0 0;
  font-family: var(--hy-serif);
  font-size: 1.45rem;
  color: var(--hy-navy);
}
.hy-city-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}
.hy-note {
  margin-top: auto;
  padding: 1rem 1.1rem;
  background: var(--hy-face);
  border-left: 3px solid var(--hy-coral);
}
.hy-note strong {
  display: block;
  font-size: 0.9rem;
  color: var(--hy-navy);
  margin-bottom: 0.25rem;
}
.hy-note p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--hy-muted);
  line-height: 1.55;
}
.hy-note a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--hy-coral);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
}
.hy-note a:hover { text-decoration: underline; }

/* —— More —— */
.hy-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.hy-more a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.95rem 1.1rem;
  background: var(--hy-face);
  border: 1px solid var(--hy-line);
  color: var(--hy-navy);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.hy-more a:hover {
  background: var(--hy-navy);
  border-color: var(--hy-navy);
  color: #fff;
}

/* —— Final —— */
.hy-final {
  background:
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(217, 104, 50, 0.22), transparent 55%),
    linear-gradient(145deg, var(--hy-deep), var(--hy-navy));
}
.hy-final-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: stretch;
}
.hy-final-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.25rem 0.5rem 0;
  height: 100%;
}
.hy-final-copy .hy-title {
  max-width: 16ch;
}
.hy-final-copy .hy-text {
  max-width: 34ch;
}
.hy-final-points {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.hy-final-points li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}
.hy-final-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--hy-coral);
  box-shadow: 0 0 0 3px rgba(217, 104, 50, 0.22);
}
.hy-final-call {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

/* Dark form: force visible labels/consent on navy */
.hy-form--dark .form-label,
.hy-form--dark .est-form .form-label,
.hy-final .hy-form--dark label.form-label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  font-size: 0.86rem;
}
.hy-form--dark .est-req {
  color: #f0a57a;
}
.hy-form--dark .est-consent,
.hy-form--dark .est-consent-dark {
  color: rgba(255, 255, 255, 0.7) !important;
}
.hy-form--dark .est-consent a,
.hy-form--dark .est-consent-dark a {
  color: #fff !important;
  text-decoration: underline;
}
.hy-form--dark {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hy-form--dark .hy-form-body {
  flex: 1;
}
.hy-form--dark .hy-form-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* —— FAQs —— */
.hy-faqs {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  margin-top: 1.35rem;
}
.hy-faqs-media {
  position: sticky;
  top: 5.5rem;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  min-height: 100%;
}
.hy-faqs-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .hy-intro,
  .hy-safety-grid,
  .hy-area,
  .hy-final-grid,
  .hy-faqs,
  .hy-quotes {
    grid-template-columns: 1fr;
  }
  .hy-form,
  .hy-faqs-media { position: static; }
  .hy-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .hy-spec:nth-child(1) { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .hy-spec:nth-child(2),
  .hy-spec:nth-child(3),
  .hy-spec:nth-child(4),
  .hy-spec:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }
  .hy-chapter,
  .hy-chapter:nth-child(even) { grid-template-columns: 1fr; }
  .hy-chapter:nth-child(even) .hy-chapter-media { order: 0; }
  .hy-ledger { grid-template-columns: 1fr 1fr; }
  .hy-timeline { grid-template-columns: 1fr 1fr; }
  .hy-timeline::before { display: none; }
  .hy-quote--feature { grid-row: auto; }
  .hy-flow-gallery { grid-template-columns: 1fr 1fr; }
  .hy-flow-gallery figure:first-child { grid-column: 1 / -1; }
  .hy-more { grid-template-columns: 1fr 1fr; }
  .hy-rail { grid-template-columns: 1fr; }
  .hy-safety::before { display: none; }
  .hy-shot-stack { min-height: 240px; }
}

@media (max-width: 640px) {
  .hy-mosaic { grid-template-columns: 1fr; }
  .hy-spec:nth-child(1),
  .hy-spec:nth-child(2),
  .hy-spec:nth-child(3),
  .hy-spec:nth-child(4),
  .hy-spec:nth-child(5) {
    grid-column: 1;
    min-height: 240px;
  }
  .hy-ledger,
  .hy-timeline,
  .hy-more { grid-template-columns: 1fr; }
  .hy-shot-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 180px;
  }
  .hy-shot-stack figure:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 180px; }
  .hy-stats { grid-template-columns: 1fr; }
  .hy-flow-gallery { grid-template-columns: 1fr; }
  .hy-safety-media img,
  .hy-faqs-media img { min-height: 280px; }
}
