/* Bath-inspired atmosphere and motion */
.hero-steam {
  position: absolute;
  z-index: 3;
  top: -36px;
  right: 19%;
  width: 110px;
  height: 150px;
  pointer-events: none;
}

.hero-steam span {
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 86px;
  border: 3px solid rgba(255, 250, 242, .78);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(24px) rotate(-12deg) scale(.72);
  animation: steam-rise 4.8s ease-in-out infinite;
}

.hero-steam span:nth-child(2) {
  left: 34px;
  height: 106px;
  animation-delay: 1.35s;
}

.hero-steam span:nth-child(3) {
  left: 68px;
  height: 78px;
  animation-delay: 2.7s;
}

@keyframes steam-rise {
  0% { opacity: 0; transform: translateY(28px) rotate(-12deg) scale(.7); }
  24% { opacity: .72; }
  72% { opacity: .32; }
  100% { opacity: 0; transform: translateY(-46px) rotate(14deg) scale(1.12); }
}

.atmosphere {
  max-width: none;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--green-dark);
  color: var(--white);
}

.atmosphere-inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  min-height: 640px;
  max-width: 1440px;
  margin: 0 auto;
}

.atmosphere-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(64px, 8vw, 104px) clamp(24px, 6vw, 86px);
}

.atmosphere .section-label {
  color: #d8b184;
}

.atmosphere h2 {
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.04;
}

.atmosphere-copy > p:not(.section-label) {
  max-width: 520px;
  margin-top: 22px;
  color: #d9e4d8;
}

.atmosphere-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.atmosphere-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: transparent;
  color: #e9efe7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.atmosphere-tab:hover,
.atmosphere-tab.is-active {
  border-color: #d8b184;
  background: #d8b184;
  color: var(--ink);
}

.atmosphere-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 520px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.atmosphere-details span,
.atmosphere-details strong {
  display: block;
}

.atmosphere-details span {
  color: #9fb4a4;
  font-size: 12px;
  font-weight: 700;
}

.atmosphere-details strong {
  margin-top: 7px;
  color: var(--white);
  font-size: 17px;
  line-height: 1.35;
}

.atmosphere-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #6b4932;
}

.atmosphere-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 63, 44, .38), transparent 34%);
  pointer-events: none;
}

.atmosphere-media img {
  transition: opacity .25s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.atmosphere-media.is-changing img {
  opacity: .2;
  transform: scale(1.035);
}

.atmosphere-caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: rgba(36, 25, 21, .58);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.atmosphere-caption span {
  color: #d8b184;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.atmosphere-caption strong {
  max-width: 350px;
  text-align: right;
  font-size: 18px;
  line-height: 1.35;
}

.heat-mark {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 242, .9);
  color: var(--ink);
}

.heat-mark span {
  margin-right: 3px;
  font-size: 11px;
  font-weight: 800;
}

.heat-mark i {
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: #d8b184;
  animation: heat-pulse 1.8s ease-in-out infinite alternate;
}

.heat-mark i:nth-child(2) { height: 24px; animation-delay: .25s; }
.heat-mark i:nth-child(3) { height: 30px; animation-delay: .5s; }

@keyframes heat-pulse {
  from { opacity: .45; transform: scaleY(.72); }
  to { opacity: 1; transform: scaleY(1); }
}

.bath-card,
.benefit-card,
.process-grid article,
.equipment-grid article {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.bath-card:hover,
.benefit-card:hover,
.process-grid article:hover,
.equipment-grid article:hover {
  border-color: rgba(135, 85, 51, .38);
  box-shadow: 0 22px 54px rgba(62, 42, 24, .14);
  transform: translateY(-4px);
}

.bath-image img {
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.bath-card:hover .bath-image img {
  transform: scale(1.045);
}

.reveal-animated {
  will-change: transform, opacity;
}
@media (max-width: 860px) {
  .atmosphere-inner {
    grid-template-columns: 1fr;
  }

  .atmosphere-media {
    min-height: 480px;
  }
}

@media (max-width: 620px) {
  .hero-steam {
    top: -22px;
    right: 13%;
    transform: scale(.72);
    transform-origin: bottom right;
  }

  .atmosphere-copy {
    padding: 58px 20px 46px;
  }

  .atmosphere-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .atmosphere-tab {
    border-radius: var(--radius);
  }

  .atmosphere-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .atmosphere-media {
    min-height: 420px;
  }

  .atmosphere-caption {
    align-items: start;
    flex-direction: column;
  }

  .atmosphere-caption strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-steam,
  .heat-mark {
    display: none;
  }
}
.catalog-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 620px) {
  .catalog-note-actions {
    display: grid;
  }
}
/* Hand-drawn wood grain, used only on signature bands */
.estimate,
.atmosphere-copy {
  background-image: url("assets/wood-grain-line.svg");
  background-repeat: repeat;
  background-size: 520px 360px;
  background-blend-mode: soft-light;
}
/* Full-height split hero with a calm photo carousel */
.hero-carousel {
  position: relative;
  isolation: isolate;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .9s ease, transform 5.8s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-carousel-top {
  position: absolute;
  z-index: 4;
  top: 26px;
  right: 26px;
  left: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-slide-label {
  display: grid;
  gap: 4px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  background: rgba(36, 25, 21, .58);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.hero-slide-label span {
  color: #d8b184;
  font-size: 11px;
  font-weight: 800;
}

.hero-slide-label strong {
  font-size: 14px;
  line-height: 1.2;
}

.hero-carousel-controls {
  display: flex;
  gap: 8px;
}

.hero-carousel-controls button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 250, 242, .9);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hero-carousel-controls button:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-carousel-dots {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(36, 25, 21, .54);
  backdrop-filter: blur(10px);
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--white);
}

@media (min-width: 861px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 50vw;
    gap: clamp(38px, 4.7vw, 72px);
    min-height: calc(100vh - 82px);
    padding: 0 0 0 clamp(20px, 6vw, 96px);
  }

  .hero-copy {
    padding: 62px 0;
  }

  .hero-media,
  .hero-photo {
    min-height: 620px;
    height: calc(100vh - 82px);
  }

  .hero-photo {
    border-radius: var(--radius) 0 0 var(--radius);
    box-shadow: none;
  }

  .hero-note {
    left: 28px;
    bottom: 28px;
  }
}

@media (max-width: 620px) {
  .hero-carousel-top {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .hero-slide-label {
    padding: 9px 11px;
  }

  .hero-carousel-controls button {
    width: 38px;
    height: 38px;
  }

  .hero-carousel-dots {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: none;
  }
}
/* A second background language: hand-drawn tree rings */
#benefits,
#equipment {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#benefits > *,
#equipment > * {
  position: relative;
  z-index: 1;
}

#benefits::after,
#equipment::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 430px;
  aspect-ratio: 1;
  background: url("assets/tree-rings-line.svg") center / contain no-repeat;
  pointer-events: none;
}

#benefits::after {
  top: -145px;
  right: -115px;
  opacity: .68;
  transform: rotate(11deg);
}

#equipment::before {
  bottom: -190px;
  left: -150px;
  opacity: .52;
  transform: rotate(-17deg);
}

@media (max-width: 620px) {
  #benefits::after,
  #equipment::before {
    width: 300px;
    opacity: .4;
  }
}

/* Keep a compact visual dot inside a full touch target. */
.hero-carousel-dots { gap: 0; padding: 2px 4px; }
.hero-dot, .hero-dot.is-active { width: 44px; height: 44px; background: transparent; display: grid; place-items: center; }
.hero-dot::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.55); }
.hero-dot.is-active::before { width: 26px; background: #fff; }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .atmosphere-media, .hero-dot { transition: none !important; animation: none !important; }
}
