/* Water Heaters — heat-orange + steel */

.wh {
  background: linear-gradient(180deg, #fff8f0 0%, #fff 60%);
  padding: 0 0 120px;
  position: relative;
}

.wh-hazard {
  background: var(--ink);
  color: var(--accent-2);
  overflow: hidden;
  contain: paint;
  max-width: 100vw;
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  position: relative;
}
.wh-hazard::before, .wh-hazard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(255,180,0,0.08) 18px, rgba(255,180,0,0.08) 36px);
  pointer-events: none;
}
.wh-hazard-inner {
  display: flex;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  padding: 14px 0;
  animation: marquee 50s linear infinite;
}
.wh-hazard-inner span { padding-right: 28px; }

.wh-inner {
  padding: 100px 0 0;
}

/* Headline offer + tank rig */
.wh-headline {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  margin: 80px 0 96px;
  align-items: stretch;
}
@media (max-width: 980px) { .wh-headline { grid-template-columns: 1fr; } }

.wh-offer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 48px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--ink);
}
.wh-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(36,115,196,0.25), transparent 60%);
  pointer-events: none;
}
.wh-offer-eye {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin-bottom: 32px;
  position: relative;
}
.wh-offer-eye .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: blink-fast 1s ease-in-out infinite;
}
.wh-offer-amount {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  position: relative;
}
.wh-amt-num {
  font-family: var(--display);
  /* was 14vw/180px — "$100 OFF" clipped the OFF inside the offer panel on desktop */
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-weight: 900;
  text-shadow: 0 0 40px rgba(36,115,196,0.4);
}
.wh-amt-sub {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.02em;
  color: var(--paper);
}
.wh-offer-line {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin-bottom: 24px;
  position: relative;
}
.wh-offer-fine {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 420px;
  position: relative;
}
.wh-offer-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.btn-coupon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--mono);
  text-align: left;
  position: relative;
  transition: transform 0.12s ease;
}
.btn-coupon:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--accent); }
.cc-label { font-size: 10px; letter-spacing: 0.2em; color: var(--mute); }
.cc-code {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.cc-copy {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent);
}

/* Tank + tankless live demo */
.wh-tank-rig {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wh-tank-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 12px;
}
.wh-online { color: var(--accent); font-weight: 600; }

.wh-live-demo {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: stretch;
}
.wh-cutaway-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--rule);
  background: #fff;
  padding: 14px;
}
.wh-cutaway-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wh-cutaway-title span {
  color: var(--mute);
  font-size: 10px;
  font-weight: 800;
}
.wh-cutaway-title strong {
  color: var(--accent);
  font-size: 11px;
}
.wh-tank {
  position: relative;
  width: min(100%, 290px);
  height: 370px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.68), transparent 18%, transparent 82%, rgba(0,0,0,0.12)),
    linear-gradient(180deg, #f3f5f7 0%, #c8d0d8 100%);
  border: 3px solid var(--ink);
  border-radius: 78px 78px 22px 22px / 28px 28px 22px 22px;
  overflow: hidden;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.42), 0 14px 24px rgba(14,26,43,0.12);
}
.wh-tank::before {
  content: "";
  position: absolute;
  inset: 18px 54% 18px 16px;
  z-index: 7;
  border-left: 3px solid rgba(255,255,255,0.45);
  border-radius: 60px;
  pointer-events: none;
}
.wh-tank::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 7;
  background: rgba(14,26,43,0.16);
  pointer-events: none;
}
.wh-tank-topcap {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 8px;
  height: 28px;
  z-index: 9;
  border: 2px solid rgba(14,26,43,0.34);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(190,200,210,0.28));
}
.wh-top-pipe {
  position: absolute;
  top: 20px;
  z-index: 12;
  display: grid;
  gap: 3px;
  justify-items: center;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wh-top-pipe i {
  display: block;
  width: 14px;
  height: 54px;
  border: 2px solid var(--ink);
  border-top: 0;
  background: #d8e0e8;
}
.wh-top-pipe-cold {
  left: 40px;
  color: #2473c4;
}
.wh-top-pipe-cold i {
  background: linear-gradient(180deg, #a8d9ff, #2473c4);
}
.wh-top-pipe-hot {
  right: 40px;
  color: #d94545;
}
.wh-top-pipe-hot i {
  background: linear-gradient(180deg, #ffbb7d, #d94545);
}
.wh-dip-tube {
  position: absolute;
  left: 58px;
  top: 64px;
  bottom: 42px;
  width: 18px;
  z-index: 10;
  border: 3px solid #0e1a2b;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #4ab3ff, #1261a5);
  box-shadow: inset 4px 0 0 rgba(255,255,255,0.28);
}
.wh-dip-tube::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: -14px;
  width: 58px;
  height: 18px;
  border: 3px solid #0e1a2b;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 20px 0;
  background: #1261a5;
}
.wh-dip-label {
  position: absolute;
  left: -52px;
  top: 92px;
  width: 46px;
  color: #0e1a2b;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: right;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.wh-dip-arrow {
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
  animation: whDipPulse 1.4s linear infinite;
}
.wh-dip-arrow-a { top: 35%; }
.wh-dip-arrow-b { top: 53%; animation-delay: .28s; }
.wh-dip-arrow-c { top: 71%; animation-delay: .56s; }
@keyframes whDipPulse {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}
.wh-hot-pickup {
  position: absolute;
  right: 47px;
  top: 78px;
  z-index: 11;
  width: 70px;
  height: 44px;
  border-top: 5px solid #d94545;
  border-right: 5px solid #d94545;
  border-radius: 0 18px 0 0;
}
.wh-hot-pickup::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -9px;
  width: 12px;
  height: 12px;
  border-top: 3px solid #d94545;
  border-right: 3px solid #d94545;
  transform: rotate(45deg);
}
.wh-hot-pickup span {
  position: absolute;
  right: -10px;
  top: 48px;
  width: 76px;
  color: #0e1a2b;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: right;
  text-shadow: 0 1px 0 rgba(255,255,255,0.62);
}
.wh-tank-water {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255,138,0,0.55) 0%, rgba(217,69,69,0.7) 100%);
  overflow: hidden;
  transition: height 0.15s linear;
  z-index: 2;
}
.wh-tank-cold {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(36,115,196,0.85) 0%, rgba(20,80,160,0.95) 100%);
  transition: height 0.15s linear;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}
.wh-tank-zone-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.wh-tank-zone-hot {
  position: absolute;
  left: 55%;
  bottom: 84px;
  transform: translateX(-50%);
  color: #fff;
  white-space: nowrap;
}
.wh-tank-fill-marker {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  border-top: 2px dashed rgba(255,255,255,0.7);
  z-index: 4;
  transition: bottom 0.15s linear;
}
.wh-tank-fill-marker span {
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  font-weight: 700;
  white-space: nowrap;
}
.wh-online.wh-warn { color: #ff8a00; }
.wh-online.wh-cold { color: #2473c4; }
.wh-readout-row .v.wh-warn-text { color: #ff8a00; }
.wh-readout-row .v.wh-cold-text { color: #2473c4; }

.wh-demo-note {
  min-height: 78px;
  color: var(--mute);
  font-size: 12px;
  line-height: 1.45;
}

.wh-tankless {
  display: grid;
  gap: 12px;
}
.wh-tankless-shell {
  position: relative;
  height: 370px;
  width: min(100%, 290px);
  margin: 0 auto;
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.75), transparent 24%, transparent 76%, rgba(0,0,0,0.12)),
    linear-gradient(180deg, #eef2f5, #bac6cf);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.45), 0 14px 24px rgba(14,26,43,0.12);
}
.wh-tankless-vent {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 74px;
  height: 18px;
  transform: translateX(-50%);
  border: 2px solid var(--ink);
  background: repeating-linear-gradient(90deg, #77828c 0 5px, #dfe5ea 5px 10px);
}
.wh-tankless-screen {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 55px;
  display: grid;
  gap: 5px;
  border: 2px solid var(--ink);
  background: #0e1a2b;
  color: var(--paper);
  padding: 12px;
  font-family: var(--mono);
  text-align: center;
}
.wh-tankless-screen strong {
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.wh-tankless-screen span {
  color: rgba(255,255,255,0.65);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.wh-heat-exchanger {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 132px;
  height: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.wh-heat-exchanger span {
  border: 5px solid #d94545;
  border-top-color: #ffb15f;
  border-bottom-color: #ffb15f;
  border-radius: 999px;
  box-shadow: 0 0 0 rgba(255,138,0,0);
}
.wh-cutaway-card-tankless.is-firing .wh-heat-exchanger span {
  animation: exchangerGlow 1.2s ease-in-out infinite alternate;
}
@keyframes exchangerGlow {
  from { box-shadow: 0 0 10px rgba(255,138,0,.22); }
  to { box-shadow: 0 0 26px rgba(255,138,0,.7); }
}
.wh-flame-bank {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 82px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 14px;
}
.wh-flame-bank span {
  width: 28px;
  height: 42px;
  border-radius: 999px 999px 999px 999px;
  background: linear-gradient(180deg, #ffd36c, #ff8a00 54%, #d94545);
  opacity: .34;
  transform-origin: bottom;
}
.wh-cutaway-card-tankless.is-firing .wh-flame-bank span {
  animation: flameFlicker .8s ease-in-out infinite alternate;
}
.wh-cutaway-card-tankless.is-firing .wh-flame-bank span:nth-child(2) {
  animation-delay: .18s;
}
.wh-cutaway-card-tankless.is-firing .wh-flame-bank span:nth-child(3) {
  animation-delay: .32s;
}
@keyframes flameFlicker {
  from { opacity: .58; transform: scaleY(.78); }
  to { opacity: 1; transform: scaleY(1.08); }
}
.wh-tankless-line {
  position: absolute;
  bottom: 20px;
  width: 72px;
  height: 24px;
  border-top: 6px solid;
}
.wh-tankless-line em {
  position: absolute;
  top: -30px;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .12em;
  white-space: nowrap;
}
.wh-tankless-cold {
  left: 26px;
  border-color: #2473c4;
}
.wh-tankless-cold em { left: 0; color: #2473c4; }
.wh-tankless-hot {
  right: 84px;
  border-color: #d94545;
}
.wh-tankless-hot em { right: 0; color: #d94545; }
.wh-tankless-flow {
  display: grid;
  gap: 4px;
  border: 1px dashed var(--rule);
  padding: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
}
.wh-tankless-flow span,
.wh-tankless-flow em {
  color: var(--mute);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.12em;
}
.wh-tankless-flow strong {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.is-flowing .wh-top-pipe-hot i,
.is-flowing .wh-tankless-hot {
  animation: hotPulse 1s ease-in-out infinite alternate;
}
.is-flowing .wh-top-pipe-cold i,
.is-flowing .wh-tankless-cold {
  animation: coldPulse 1s ease-in-out infinite alternate;
}
@keyframes hotPulse {
  from { filter: brightness(1); }
  to { filter: brightness(1.3); box-shadow: 0 0 16px rgba(217,69,69,0.6); }
}
@keyframes coldPulse {
  from { filter: brightness(1); }
  to { filter: brightness(1.25); box-shadow: 0 0 16px rgba(36,115,196,0.55); }
}

/* Fixture toggles — interactive demo */
.wh-fixtures {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
}
.wh-fixtures-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.wh-fixtures-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--mute);
  font-weight: 700;
}
.wh-fixtures-reset {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 4px 10px;
  cursor: pointer;
  font-weight: 700;
}
.wh-fixtures-reset:hover { background: var(--ink); color: var(--paper); }
.wh-fixtures-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
@media (max-width: 540px) {
  .wh-fixtures-grid { grid-template-columns: repeat(3, 1fr); }
}
.wh-fixture {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--mono);
}
.wh-fixture:hover { background: #f0f0f0; }
.wh-fixture.on {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 0 0 2px var(--accent), 0 0 12px rgba(255,138,0,0.5);
  animation: wh-fixture-on 1s ease-in-out infinite alternate;
}
@keyframes wh-fixture-on {
  from { box-shadow: 0 0 0 2px var(--accent), 0 0 8px rgba(255,138,0,0.4); }
  to { box-shadow: 0 0 0 2px var(--accent), 0 0 18px rgba(255,138,0,0.7); }
}
.wh-fixture-icon { font-size: 18px; line-height: 1; }
.wh-fixture-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-align: center;
}
.wh-fixture-gpm {
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* Tankless sizing calculator */
.wh-size-check {
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(74,179,255,0.08), transparent 42%),
    #fff;
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: 8px 8px 0 rgba(14,26,43,0.08);
}
.wh-size-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.wh-size-top > div {
  display: grid;
  gap: 4px;
}
.wh-size-kicker {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 900;
}
.wh-size-top strong {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--ink);
}
.wh-size-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wh-size-presets button {
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 7px 9px;
  text-transform: uppercase;
}
.wh-size-presets button:hover {
  background: var(--ink);
  color: var(--paper);
}
.wh-size-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(260px, 0.95fr);
  gap: 14px;
}
.wh-size-pickers {
  display: grid;
  gap: 7px;
}
.wh-size-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 8px;
}
.wh-size-item.on {
  border-color: var(--accent);
  box-shadow: inset 4px 0 0 var(--accent);
  background: color-mix(in oklab, var(--accent-2) 10%, #fff);
}
.wh-size-item strong,
.wh-size-item span {
  display: block;
}
.wh-size-item strong {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.wh-size-item > div:first-child span {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.08em;
}
.wh-size-stepper {
  display: grid;
  grid-template-columns: 28px 30px 28px;
  align-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
}
.wh-size-stepper button,
.wh-size-stepper span {
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 900;
}
.wh-size-stepper button {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
}
.wh-size-stepper button:hover {
  background: var(--accent);
  color: var(--paper);
}
.wh-size-stepper span {
  color: var(--paper);
  font-size: 12px;
}
.wh-size-score {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.wh-size-score::before {
  content: "";
  position: absolute;
  inset: auto -20% -42% 12%;
  height: 130px;
  background: radial-gradient(circle, rgba(74,179,255,0.28), transparent 68%);
  pointer-events: none;
}
.wh-size-result-label {
  position: relative;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
}
.wh-size-meter {
  position: relative;
  height: 16px;
  background:
    linear-gradient(90deg, rgba(46,204,113,0.22), rgba(255,138,0,0.22) 74%, rgba(216,58,58,0.28)),
    rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  overflow: hidden;
}
.wh-size-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ok), var(--accent-2));
  transition: width 0.18s ease;
}
.wh-size-edge .wh-size-meter span {
  background: linear-gradient(90deg, var(--accent-2), #ff8a00);
}
.wh-size-multi .wh-size-meter span {
  background: linear-gradient(90deg, #ff8a00, var(--emerg));
}
.wh-size-load {
  position: relative;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 70px);
  line-height: 0.85;
  color: var(--accent-2);
}
.wh-size-edge .wh-size-load { color: #ffb15f; }
.wh-size-multi .wh-size-load { color: #ff6464; }
.wh-size-score h4 {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--paper);
}
.wh-size-score p {
  position: relative;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.45;
}
.wh-size-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.wh-size-stats div {
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px;
  display: grid;
  gap: 3px;
}
.wh-size-stats span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.48);
}
.wh-size-stats strong {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.wh-size-send {
  position: relative;
  justify-content: center;
  width: 100%;
}
.wh-size-note {
  position: relative;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.48);
}

.wh-bubble {
  position: absolute;
  bottom: -10px;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: bubble-up 4s ease-in infinite;
}
@keyframes bubble-up {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-260px); opacity: 0; }
}
.wh-coil {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 60%;
  height: 18px;
  border: 3px solid #ff8a00;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 30px rgba(255,138,0,0.7);
  animation: coil-glow 2s ease-in-out infinite alternate;
}
@keyframes coil-glow {
  from { box-shadow: 0 0 20px rgba(255,138,0,0.5); }
  to { box-shadow: 0 0 50px rgba(255,138,0,0.9); }
}

.wh-dial {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 13;
  width: 90px;
  height: 90px;
  background: var(--ink);
  border-radius: 50%;
  border: 4px solid var(--paper);
  display: grid;
  place-items: center;
}
.wh-dial-ring {
  text-align: center;
  color: var(--paper);
}
.wh-dial-temp {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  color: var(--accent-2);
  line-height: 1;
}
.wh-dial-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  margin-top: 4px;
  opacity: 0.6;
}

.wh-tank-readout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  font-family: var(--mono);
  font-size: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
}

@media (max-width: 760px) {
  .wh-live-demo {
    grid-template-columns: 1fr;
  }
  .wh-size-grid {
    grid-template-columns: 1fr;
  }
  .wh-size-stats {
    grid-template-columns: 1fr 1fr;
  }
  .wh-tank,
  .wh-tankless-shell {
    height: 340px;
  }
  .wh-demo-note {
    min-height: auto;
  }
  .wh-tank-readout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .wh {
    padding-bottom: 190px;
  }
  .wh-tank-rig {
    padding: 18px 14px;
  }
  .wh-cutaway-card {
    padding: 12px;
  }
  .wh-tank,
  .wh-tankless-shell {
    width: min(100%, 260px);
  }
  .wh-dip-label,
  .wh-hot-pickup span {
    font-size: 7px;
  }
  .wh-dial {
    width: 72px;
    height: 72px;
    top: 30px;
    right: 18px;
  }
  .wh-dial-temp {
    font-size: 19px;
  }
  .wh-size-check {
    padding: 12px;
    box-shadow: 5px 5px 0 rgba(14,26,43,0.08);
  }
  .wh-size-top {
    align-items: stretch;
  }
  .wh-size-top strong {
    font-size: 24px;
  }
  .wh-size-presets button {
    flex: 1 1 auto;
    font-size: 9px;
    padding: 7px 6px;
  }
  .wh-size-item {
    padding: 7px;
  }
  .wh-size-item strong {
    font-size: 10px;
  }
  .wh-size-stepper {
    grid-template-columns: 26px 28px 26px;
  }
  .wh-size-score {
    padding: 14px;
  }
  .wh-size-stats {
    grid-template-columns: 1fr;
  }
}
.wh-readout-row {
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.08em;
  color: var(--mute);
}
.wh-readout-row .v {
  color: var(--ink);
  font-weight: 600;
}
.wh-readout-row .v.ok { color: var(--ok, #2e8b3a); }
.wh-readout-row .v.accent { color: var(--accent); }

.wh-temp-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wh-temp-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.wh-temp-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #4a90e2 0%, var(--accent) 50%, #d62828 100%);
  outline: none;
  border-radius: 0;
}
.wh-temp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--ink);
  border: 3px solid var(--paper);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--ink);
}
.wh-temp-warn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}

/* Type grid */
.wh-types-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 2px solid var(--ink);
  padding-top: 32px;
  margin-bottom: 24px;
}
.wh-brands-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.wh-brand-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.wh-brand {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 6px 12px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.wh-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  margin-bottom: 80px;
}
@media (max-width: 800px) { .wh-types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .wh-types-grid { grid-template-columns: 1fr; } }

.wh-type {
  padding: 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
  position: relative;
}
.wh-type:hover, .wh-type.is-hover {
  background: var(--accent);
  color: var(--paper);
}
.wh-type-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.wh-type:hover .wh-type-num { color: rgba(255,255,255,0.7); }
.wh-type-name {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.wh-type-spec {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}
.wh-type:hover .wh-type-spec { color: rgba(255,255,255,0.85); }
.wh-type-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}
.wh-type:hover .wh-type-foot { border-top-color: rgba(255,255,255,0.3); }
.wh-type-price {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.wh-type-arrow {
  font-family: var(--display);
  font-size: 22px;
  transform: translateX(0);
  transition: transform 0.15s ease;
}
.wh-type:hover .wh-type-arrow { transform: translateX(8px); }

/* Compare table */
.wh-compare {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 48px;
  margin-bottom: 80px;
}
.wh-compare-head { margin-bottom: 32px; }
.wh-compare-head h3 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 12px;
}
.wh-compare-table {
  font-family: var(--mono);
  font-size: 14px;
}
.wh-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: center;
}
.wh-row-head {
  border-bottom: 2px solid var(--accent);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--mute);
  padding-bottom: 14px;
}
.wh-row-head .hot { color: var(--accent); }
.wh-rk {
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
}
.wh-row > div { padding-right: 16px; }
.wh-row .hot { color: var(--accent-2); font-weight: 600; }
@media (max-width: 720px) {
  .wh-row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .wh-row-head { display: none; }
  .wh-rk { grid-column: 1 / -1; padding-top: 12px; }
}

/* Signs */
.wh-signs { margin-bottom: 80px; }
.wh-signs-head { margin-bottom: 32px; max-width: 760px; }
.wh-signs-head h3 {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 12px 0;
}
.wh-signs-head p {
  color: var(--mute);
  line-height: 1.6;
}
.wh-signs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-top: none;
}
@media (max-width: 900px) { .wh-signs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .wh-signs-grid { grid-template-columns: 1fr; } }
.wh-sign {
  padding: 28px;
  border-top: 2px solid var(--ink);
  border-right: 1px solid var(--rule);
  background: var(--paper);
  transition: background 0.15s ease;
}
.wh-sign:hover { background: #fff8f0; }
.wh-sign-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}
.wh-sign-h {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.wh-sign-p {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.5;
}

/* CTA bar */
.wh-cta-bar {
  background: var(--accent);
  color: var(--paper);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.wh-cta-h {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.wh-cta-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.wh-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@keyframes blink-fast {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.3; }
}
