
:root {
    /* Core PanGuard Brand */
    --navy: #06295a;
    --navy2: #0a3873;
    --blue: #0c8ed8;
    --orange: #ef7423;
  
    /* Typography */
    --ink: #173150;
    --muted: #60738a;
  
    /* UI / Layout */
    --line: #dfe8f0;
    --soft: #f5f9fc;
    --shadow: 0 28px 70px rgba(7, 39, 78, 0.14);
    --radius: 28px;
  
    /* PanGuard Size / Packaging Colors */
    --size-blue: #149ddb;    /* Window & Portable */
    --size-green: #39a95a;   /* 1 Ton */
    --size-orange: #f58220;  /* 2 Ton */
    --size-navy: #123b70;    /* 3 Ton */
    --size-gold: #e3b62f;    /* 3–5 Ton */
  }
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 999;
  background: #fff;
  padding: 10px;
}
/* ==========================================================================
   Site header & nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 50, 87, 0.08);
}
.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
  }
  
  .brand-logo {
    display: block;
    width: auto;
    height: 56px;
    max-width: 220px;
    object-fit: contain;
  }
  @media (max-width: 768px) {
    .brand-logo {
      height: 44px;
      max-width: 175px;
    }
  }
.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 650;
}
.site-nav a {
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--blue);
}
.nav-cta {
  padding: 11px 16px;
  background: var(--navy);
  color: #fff !important;
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px;
}
/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background:
    radial-gradient(
      circle at 78% 34%,
      rgba(12, 142, 216, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, #fff, #fbfdff);
}
.hero-water {
  position: absolute;
  right: -10%;
  bottom: -180px;
  width: 55%;
  height: 360px;
  border: 34px solid rgba(12, 142, 216, 0.06);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 54px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 15px;
}
.hero h1,
.section-heading h2,
.how-copy h2,
.install-copy h2,
.heritage-copy h2,
.shop-card h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero h1 {
  font-size: clamp(52px, 6vw, 82px);
}
.hero h1 span {
  color: var(--blue);
}
.hero-lede {
  max-width: 650px;
  font-size: 18px;
  color: #435b73;
  margin: 27px 0 30px;
}
.hero-actions,
.shop-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  transition: 0.2s;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 41, 90, 0.16);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--navy2);
}
.btn-secondary {
  border: 1px solid #b8c9d8;
  color: var(--navy);
  background: #fff;
}
.btn-secondary.dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.hero-proof {
  display: flex;
  margin-top: 35px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}
.hero-proof span {
  padding: 0 17px;
  border-left: 1px solid #c9d6e1;
}
.hero-proof span:first-child {
  padding-left: 0;
  border: 0;
}
.hero-product {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.package-stage {
  position: relative;
  isolation: isolate;
  width: min(650px, calc(100% + 130px));
  min-height: 610px;
  margin: -55px -85px -20px -45px;
  display: grid;
  place-items: center;
}
.hero-package {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgba(13, 36, 61, 0.18));
}
.stage-shadow {
  position: absolute;
  z-index: 1;
  left: 13%;
  right: 10%;
  bottom: 20px;
  height: 75px;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 45, 80, 0.17) 0%,
    rgba(10, 45, 80, 0.08) 38%,
    transparent 72%
  );
  border-radius: 50%;
  pointer-events: none;
}
.asset-note {
  font-size: 10px;
  color: #9aa8b6;
}
.asset-note code {
  background: #f2f5f7;
  padding: 3px 5px;
  border-radius: 4px;
}
.package-fallback {
  position: relative;
  z-index: 2;
  width: 430px;
  height: 500px;
  max-width: 92%;
  background: linear-gradient(#fff 0 70%, #ec7426 70% 100%);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--navy);
  display: none;
}
.package-fallback.is-visible {
  display: block;
}
.fallback-corner {
  position: absolute;
  right: 0;
  top: 0;
  background: #ef7423;
  color: #fff;
  padding: 16px 17px;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}
.fallback-logo {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  padding: 9px 17px;
  border-radius: 9px;
  font-size: 27px;
  font-weight: 800;
}
.fallback-logo sup {
  font-size: 0.4em;
}
.fallback-title {
  position: absolute;
  top: 158px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
}
.fallback-year {
  position: absolute;
  left: 34px;
  top: 238px;
  font-size: 42px;
  color: #0d85cf;
}
.fallback-sub {
  position: absolute;
  left: 38px;
  top: 288px;
  font-size: 14px;
}
.fallback-pan {
  position: absolute;
  right: 26px;
  top: 230px;
  width: 150px;
  height: 95px;
  background: linear-gradient(155deg, #dfe8ee, #8596a5);
  transform: skewY(-7deg);
}
.fallback-footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 33px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
/* ==========================================================================
   Shared section/heading utilities
   ========================================================================== */
.section {
  padding: 100px 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}
.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}
.section-heading h2,
.how-copy h2,
.install-copy h2,
.heritage-copy h2,
.shop-card h2 {
  font-size: clamp(38px, 4.2vw, 58px);
}
.section-heading p:not(.eyebrow),
.how-copy > p:not(.eyebrow),
.install-copy > p:not(.eyebrow) {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
}
/* ==========================================================================
   Sizes section (selector + product stage)
   ========================================================================== */
.sizes {
  background: var(--soft);
}
.size-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
}
.size-selector {
  display: grid;
  gap: 10px;
}
.size-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  padding: 16px 18px;
  text-align: left;
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  cursor: pointer;
  color: var(--ink);
  transition: 0.2s;
}
.size-chip:hover,
.size-chip.is-active {
  border-color: rgba(12, 142, 216, 0.6);
  box-shadow: 0 10px 25px rgba(24, 79, 120, 0.08);
  transform: translateY(-1px);
}
.size-chip:focus-visible {
  outline: 3px solid rgba(12, 142, 216, 0.42);
  outline-offset: 3px;
}
.size-chip strong {
  font-size: 14px;
}
.size-chip small {
  grid-column: 2;
  color: #7a8a9c;
}
.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 3px;
}
.swatch-blue {
  background: #0d8cd7;
}
.swatch-silver {
  background: #b9c4cd;
}
.swatch-orange {
  background: #ef7423;
}
.swatch-navy {
  background: #0c244f;
}
.swatch-green {
  background: #35a359;
}
.swatch-gold {

    background: var(--size-gold);
  
  }
.size-stage {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  min-height: 475px;
  box-shadow: 0 20px 50px rgba(18, 62, 99, 0.07);
}
.mini-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8a99a8;
}
.mini-box.blue {
    border-bottom-color: var(--size-blue);
  }
  
  .mini-box.green {
    border-bottom-color: var(--size-green);
  }
  
  .mini-box.orange {
    border-bottom-color: var(--size-orange);
  }
  
  .mini-box.navy {
    border-bottom-color: var(--size-navy);
  }
  
  .mini-box.gold {
    border-bottom-color: var(--size-gold);
  }
.size-copy h3 {
  font-size: 32px;
  line-height: 1.05;
  color: var(--navy);
  margin: 7px 0 12px;
}
.size-copy p {
  color: var(--muted);
  font-size: 14px;
}
.text-link {
  font-size: 13px;
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}
.size-package-wrap {
  min-height: 380px;
  display: grid;
  place-items: center;
}
.size-package {
  max-height: 375px;
}
.size-package-fallback {
  width: 280px;
  height: 330px;
  background: linear-gradient(#fff 0 70%, #0d8cd7 70% 100%);
  transform: rotate(2deg);
}
.family-strip {
  margin-top: 26px;
  background: #fff;
  border-radius: 22px;
  min-height: 170px;
  padding: 18px 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e5edf3;
}
.family-strip img {
  max-height: 150px;
}
.family-fallback {
  display: none;
  align-items: flex-end;
  gap: 6px;
  height: 130px;
}
.family-fallback.is-visible {
  display: flex;
}
.mini-box {
  width: 95px;
  height: 120px;
  background: #fff;
  border: 1px solid #dde5eb;
  border-bottom: 28px solid;
  border-radius: 3px;
  box-shadow: 0 12px 18px rgba(24, 55, 80, 0.08);
}
.mini-box.navy {
  border-bottom-color: #0c244f;
}
.mini-box.silver {
  border-bottom-color: #b9c4cd;
}
.mini-box.orange {
  border-bottom-color: #ef7423;
}
.mini-box.green {
  border-bottom-color: #35a359;
}
.mini-box.blue {
  border-bottom-color: #0d8cd7;
}
/* ==========================================================================
   Compare section (water demo + versus card)
   ========================================================================== */
.compare-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 78px;
  background: #f8fbfd;
  border: 1px solid #e4edf3;
  border-radius: 30px;
  padding: 38px;
}
.compare-side {
  display: flex;
  flex-direction: column;
}
.compare-badge {
  align-self: center;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 18px;
}
.compare-badge.muted {
  background: #68737e;
}

/* ----------------------------------------
   CONTAINER (the "pan")
   ---------------------------------------- */

   .water-demo {
    position: relative;
    overflow: hidden;
    height: 360px;
  
    border-radius: 22px;
    border: 1px solid #c7dbea;
  
    background: linear-gradient(
      to bottom,
      #fbfdff 0%, #fbfdff 22%,
      #eaf6ff 22%, #cfe9fa 100%
    );
  
    box-shadow:
      0 18px 34px -14px rgba(13, 74, 122, .28),
      inset 0 0 0 1px rgba(255, 255, 255, .55),
      inset 0 -46px 54px -34px rgba(9, 66, 110, .14);
  }
  
  /* soft interior rim so it reads as a basin, not a flat rectangle */
  .water-demo::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
      inset 0 3px 0 rgba(255, 255, 255, .9),
      inset 0 0 0 1px rgba(120, 165, 195, .25);
    pointer-events: none;
    z-index: 6;
  }
  
  
  /* ----------------------------------------
     WATERLINE
     ---------------------------------------- */
  
  .waterline {
    position: absolute;
    left: 0;
    right: 0;
    top: 22%;
    height: 2px;
  
    background: linear-gradient(
      to right,
      rgba(45, 164, 221, 0) 0%,
      #2da4dd 12%,
      #2da4dd 88%,
      rgba(45, 164, 221, 0) 100%
    );
  
    box-shadow:
      0 0 10px 1px rgba(45, 164, 221, .4),
      0 8px 16px -6px rgba(45, 164, 221, .4);
  
    animation: waterline-shimmer 5s ease-in-out infinite;
  }
  
  /* thin bright highlight riding just above the line, like surface tension */
  .waterline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -3px;
    height: 3px;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(255, 255, 255, .8) 15%,
      rgba(255, 255, 255, .8) 85%,
      transparent 100%
    );
    opacity: .55;
  }
  
  @keyframes waterline-shimmer {
    0%, 100% { opacity: .82; }
    50%      { opacity: 1; }
  }
/* ========================================
   TRADITIONAL TABLET ANIMATION
   ======================================== */

.tablet-demo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #fbfdff 0 22%, #dff4ff 22% 100%);
}

.tablet-fizz-zone {
  position: absolute;
  inset: 22% 0 0;
  overflow: hidden;
}


/* ----------------------------------------
   3D TABLET
   ---------------------------------------- */

/* ========================================
   TRADITIONAL TABLET ANIMATION
   ======================================== */

   .tablet-demo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #fbfdff 0 22%, #dff4ff 22% 100%);
  }
  
  .tablet-fizz-zone {
    position: absolute;
    inset: 22% 0 0;
    overflow: hidden;
  }
  
  
  /* ----------------------------------------
     3D TABLET
     ---------------------------------------- */
  
     .tablet-3d {
      position: absolute;
      left: 50%;
      bottom: 34px;
    
      width: 100px;
      height: 44px;
    
      /* anchor scaling to the base, not the center, so the tablet
         shrinks INTO the floor instead of receding as it dissolves */
      transform-origin: 50% 88%;
    
      border-radius: 50%;
    
      /* one smooth top-lit gradient plus the porous texture baked into
         the SAME element (instead of a separate mis-registered layer),
         so it reads as one solid object, not a disc with something
         stacked on top of it */
      background:
        radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1.4px) 0 0 / 9px 9px,
        linear-gradient(to bottom, #6cc0f6 0%, #2f97dc 45%, #0f74bb 78%, #095f9c 100%);
    
      box-shadow:
        0 10px 14px rgba(4, 68, 116, 0.3),
        inset 0 3px 5px rgba(255,255,255,0.55),
        inset 0 -7px 10px rgba(0,52,100,0.4);
    
      z-index: 5;
    
      animation: tablet-dissolve 8s cubic-bezier(.3,.05,.2,1) infinite;
    }
    
    /* cylindrical side wall — sits BEHIND the top face and only its
       bottom curve peeks out, so it reads as one continuous puck
       instead of two stacked discs */
    .tablet-3d::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 48%;
      bottom: -15px;
      border-radius: 0 0 50% 50%;
      background: linear-gradient(to bottom, #0f74bb, #063f6c);
      z-index: -1;
    }
    
    
    /* ----------------------------------------
       DISSOLVE CYCLE
    
       0%   -> 8%   drop from above the waterline, free-falling
       8%   -> 12%  impact — flattens/spreads on landing
       12%  -> 16%  settles, briefly intact
       16%  -> 19%  SUDDEN fizz burst
       19%  -> 60%  steady dissolve, shrinking (anchored to the floor)
       60%  -> 72%  final breakup
       72%  -> 90%  fully dissolved / invisible, sediment sits on bottom
       90%  -> 100% repositions above the waterline for the next drop
       ---------------------------------------- */
    
    @keyframes tablet-dissolve {
      0% {
        opacity: 1;
        transform: translateX(-50%) translateY(-255px) perspective(180px) rotateX(58deg) scale(.92, .78);
      }
      8% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) perspective(180px) rotateX(58deg) scale(1.14, .8);
      }
      12% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) perspective(180px) rotateX(58deg) scale(.97, 1.04);
      }
      16% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) perspective(180px) rotateX(58deg) scale(1);
      }
      30% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) perspective(180px) rotateX(58deg) scale(.82);
      }
      46% {
        opacity: .95;
        transform: translateX(-50%) translateY(0) perspective(180px) rotateX(58deg) scale(.6);
      }
      60% {
        opacity: .8;
        transform: translateX(-50%) translateY(0) perspective(180px) rotateX(58deg) scale(.36);
      }
      72%, 90% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) perspective(180px) rotateX(58deg) scale(.05);
      }
      96% {
        opacity: 0;
        transform: translateX(-50%) translateY(-255px) perspective(180px) rotateX(58deg) scale(.92, .78);
      }
      100% {
        opacity: 1;
        transform: translateX(-50%) translateY(-255px) perspective(180px) rotateX(58deg) scale(.92, .78);
      }
    }
    
    
    /* ----------------------------------------
       SPLASH RING (impact moment)
       ---------------------------------------- */
    
    .splash-ring {
      position: absolute;
      left: 50%;
      bottom: 30px;
      width: 40px;
      height: 16px;
      transform: translateX(-50%) scale(.4);
      border-radius: 50%;
      border: 3px solid rgba(140, 205, 245, .8);
      opacity: 0;
      animation: splash-ring-cycle 8s cubic-bezier(.3,.05,.2,1) infinite;
    }
    
    @keyframes splash-ring-cycle {
      0%, 7%    { opacity: 0; transform: translateX(-50%) scale(.3, .2); }
      9%        { opacity: .9; transform: translateX(-50%) scale(1, .5); }
      16%       { opacity: 0; transform: translateX(-50%) scale(2.6, 1.1); }
      17%, 100% { opacity: 0; transform: translateX(-50%) scale(.3, .2); }
    }
    
    
    /* ----------------------------------------
       FIZZ CLOUD — sudden burst, not a slow ramp
       ---------------------------------------- */
    
    .fizz-cloud {
      position: absolute;
      left: 50%;
      bottom: 16px;
      width: 120px;
      height: 155px;
      transform: translateX(-50%);
      background: radial-gradient(ellipse at bottom,
        rgba(25, 143, 218, .42), rgba(70, 177, 235, .2) 42%, transparent 72%);
      filter: blur(8px);
      opacity: 0;
      animation: fizz-cloud-cycle 8s cubic-bezier(.3,.05,.2,1) infinite;
    }
    
    @keyframes fizz-cloud-cycle {
      0%, 15%   { opacity: 0;   transform: translateX(-50%) scale(.45); }
      19%       { opacity: 1;   transform: translateX(-50%) scale(1.05); }
      40%       { opacity: .95; transform: translateX(-50%) scale(1.2); }
      62%       { opacity: .55; transform: translateX(-50%) scale(1.32); }
      74%, 100% { opacity: 0;   transform: translateX(-50%) scale(1.4); }
    }
    
    
    /* ----------------------------------------
       GENERATED BUBBLES
       ---------------------------------------- */
    
    .bubble-field,
    .sediment-field {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    
    .bubble-field {
      opacity: 0;
      animation: bubble-field-visibility 8s cubic-bezier(.3,.05,.2,1) infinite;
    }
    
    @keyframes bubble-field-visibility {
      0%, 15%   { opacity: 0; }
      19%       { opacity: 1; }
      62%       { opacity: 1; }
      72%, 100% { opacity: 0; }
    }
    
    .fizz-bubble {
      position: absolute;
      bottom: 34px;
      width: var(--bubble-size);
      height: var(--bubble-size);
      left: var(--bubble-x);
      border-radius: 50%;
      border: 1.5px solid rgba(24, 142, 207, .7);
      background: radial-gradient(circle at 35% 30%,
        rgba(255,255,255,.9), rgba(255,255,255,.25) 38%, transparent 65%);
      box-shadow: inset 0 0 4px rgba(255,255,255,.7);
      opacity: 0;
      animation: fizz-rise var(--bubble-speed) ease-out var(--bubble-delay) infinite;
    }
    
    @keyframes fizz-rise {
      0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(.45); }
      10%  { opacity: .85; }
      55%  { opacity: .75; transform: translate3d(var(--bubble-drift), -85px, 0) scale(.9); }
      100% { opacity: 0; transform: translate3d(calc(var(--bubble-drift) * 1.5), -172px, 0) scale(1.2); }
    }
    
    
    /* ----------------------------------------
       SEDIMENT — trickles in gradually as the
       tablet shrinks, via 5 staggered "waves"
       ---------------------------------------- */
    
    .sediment-particle {
      position: absolute;
      left: var(--sediment-x);
      bottom: 12px;
      width: var(--sediment-size);
      height: calc(var(--sediment-size) * .55);
      border-radius: 50%;
      background: linear-gradient(145deg, #278fd2, #0962a4);
      box-shadow: 0 2px 3px rgba(4, 73, 121, .25);
      opacity: 0;
      transform: translateY(-13px) rotate(var(--sediment-rotation));
    
      animation-duration: 8s;
      animation-timing-function: cubic-bezier(.3,.05,.2,1);
      animation-delay: var(--sediment-delay);
      animation-iteration-count: infinite;
    }
    
    .sediment-particle.wave-1 { animation-name: sediment-wave-1; }
    .sediment-particle.wave-2 { animation-name: sediment-wave-2; }
    .sediment-particle.wave-3 { animation-name: sediment-wave-3; }
    .sediment-particle.wave-4 { animation-name: sediment-wave-4; }
    .sediment-particle.wave-5 { animation-name: sediment-wave-5; }
    
    @keyframes sediment-wave-1 {
      0%, 22%  { opacity: 0;  transform: translateY(-13px) rotate(var(--sediment-rotation)); }
      32%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      90%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      96%,100% { opacity: 0;  transform: translateY(0) rotate(var(--sediment-rotation)); }
    }
    @keyframes sediment-wave-2 {
      0%, 32%  { opacity: 0;  transform: translateY(-13px) rotate(var(--sediment-rotation)); }
      42%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      90%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      96%,100% { opacity: 0;  transform: translateY(0) rotate(var(--sediment-rotation)); }
    }
    @keyframes sediment-wave-3 {
      0%, 42%  { opacity: 0;  transform: translateY(-13px) rotate(var(--sediment-rotation)); }
      52%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      90%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      96%,100% { opacity: 0;  transform: translateY(0) rotate(var(--sediment-rotation)); }
    }
    @keyframes sediment-wave-4 {
      0%, 52%  { opacity: 0;  transform: translateY(-13px) rotate(var(--sediment-rotation)); }
      62%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      90%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      96%,100% { opacity: 0;  transform: translateY(0) rotate(var(--sediment-rotation)); }
    }
    @keyframes sediment-wave-5 {
      0%, 62%  { opacity: 0;  transform: translateY(-13px) rotate(var(--sediment-rotation)); }
      72%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      90%      { opacity: .9; transform: translateY(0) rotate(var(--sediment-rotation)); }
      96%,100% { opacity: 0;  transform: translateY(0) rotate(var(--sediment-rotation)); }
    }


.polymer {
  position: absolute;
  width: 72%;
  height: 86px;
  left: 14%;
  bottom: 52px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e4a0c8, #efb8d8, #e09ac4);
  box-shadow: 0 8px 16px rgba(121, 45, 96, 0.18);
}
.polymer:after {
  content: "PanGuard®";
  position: absolute;
  left: 18px;
  top: 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
}
.polymer-product {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 42px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
  }
  
  .polymer-product img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
  
    /* subtle grounding */
    filter: drop-shadow(0 12px 12px rgba(64, 76, 92, 0.16));
  }
.release {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a9fe4;
  bottom: 150px;
  animation: release 3.5s infinite ease-out;
}
.r1 {
  left: 31%;
}
.r2 {
  left: 42%;
  animation-delay: 0.6s;
}
.r3 {
  left: 52%;
  animation-delay: 1.2s;
}
.r4 {
  left: 63%;
  animation-delay: 1.8s;
}
.r5 {
  left: 70%;
  animation-delay: 2.4s;
}
.versus {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 96px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
}
.versus:before,
.versus:after {
  content: "";
  position: absolute;
  width: 2px;
  height: 30px;
  background: var(--orange);
}
.versus:before {
  top: 0;
}
.versus:after {
  bottom: 0;
}
.compare-copy {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  margin-top: 20px;
}
.compare-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #71808c;
  color: #fff;
  font-size: 28px;
}
.compare-icon.calendar {
  background: var(--blue);
}
.compare-copy h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 20px;
}
.compare-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.compare-bottom {
  margin-top: 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 17px;
  padding: 18px 25px;
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 15px;
  text-transform: uppercase;
}
.compare-bottom strong:after {
  content: " —";
  color: var(--orange);
}
.test-details {
  max-width: 980px;
  margin: 24px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.test-details summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--navy);
}
.test-method {
  padding: 18px 0 6px;
}
.test-details p {
  color: var(--muted);
  font-size: 13px;
}
.test-intro {
  margin: 0 0 16px;
}
.test-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.test-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7fbfe;
}
.test-steps li > span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.test-steps strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}
.test-steps p {
  margin: 4px 0 0;
  line-height: 1.55;
}
.test-result {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--navy);
}
.test-result-time {
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 52px;
  padding: 6px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  font-weight: 850;
}
.test-result p {
  margin: 0;
  color: #d7e4ef;
  line-height: 1.55;
}
.test-result strong {
  color: #fff;
}
.test-note {
  margin: 14px 0 0;
  padding-left: 13px;
  border-left: 3px solid var(--orange);
  line-height: 1.6;
}
.test-note strong {
  color: var(--navy);
}
.panguard-logo-badge {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: 0;
  }
  
  .panguard-logo-badge img {
    display: block;
    width: 165px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* ----------------------------------------
   BADGE ROW WRAPPERS (clock + calendar sit
   beside their pill labels)
   ---------------------------------------- */
.icon-badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-badge-row.reverse {
  flex-direction: row-reverse;
}

/* ----------------------------------------
   MINI CLOCK - real, ticking, sits beside
   "TRADITIONAL TABLET" (dissolves fast)
   ---------------------------------------- */
.mini-clock {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 35% 30%, #ffffff, #eef4fa 70%);
  border: 2px solid #8b98a8;
  box-shadow:
    0 2px 4px rgba(20, 30, 45, .18),
    inset 0 1px 2px rgba(255, 255, 255, .9);
}
.mini-clock::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background-image:
    linear-gradient(#8b98a8, #8b98a8), linear-gradient(#8b98a8, #8b98a8),
    linear-gradient(#8b98a8, #8b98a8), linear-gradient(#8b98a8, #8b98a8);
  background-size: 1.5px 4px, 1.5px 4px, 4px 1.5px, 4px 1.5px;
  background-position: top center, bottom center, left center, right center;
  background-repeat: no-repeat;
  opacity: .55;
}
.mini-clock-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  transform-origin: bottom center;
  border-radius: 2px;
  transition: transform .18s cubic-bezier(.4, 2.2, .5, 1);
}
.mini-clock-hand.hour   { height: 9px;  margin-left: -1px; background: #3a4658; }
.mini-clock-hand.minute { height: 12.5px; margin-left: -1px; background: #3a4658; }
.mini-clock-hand.second { height: 14px; width: 1.5px; margin-left: -.75px; background: #e8622c; }
.mini-clock-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #e8622c;
}

/* ----------------------------------------
   MINI CALENDAR - flips forward through
   months, sits beside "PanGuard"
   ---------------------------------------- */
.mini-calendar {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 7px;
  background: #fff;
  box-shadow:
    0 2px 4px rgba(20, 30, 45, .18),
    0 0 0 1px rgba(20, 30, 45, .08);
  overflow: hidden;
  perspective: 160px;
}
.mini-calendar-month-band {
  height: 13px;
  line-height: 13px;
  text-align: center;
  background: #e8622c;
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .04em;
}
.mini-calendar-day {
  height: 25px;
  line-height: 25px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: #2c3b4d;
}
.mini-calendar-flap {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 19px;
  background: #f4f7fa;
  border-bottom: 1px solid rgba(20, 30, 45, .08);
  transform-origin: bottom center;
  transform: rotateX(-180deg);
  backface-visibility: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #2c3b4d;
  overflow: hidden;
}
.mini-calendar-flap.flipping {
  animation: calendar-flip .5s ease-in forwards;
}
@keyframes calendar-flip {
  0%   { transform: rotateX(0deg); }
  100% { transform: rotateX(-180deg); }
}
/* ==========================================================================
   "How it works" section + benefit cards
   ========================================================================== */
.how {
  background: linear-gradient(180deg, #f7fbfe, #fff);
}
.how-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.process-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 17px;
}
.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
}
.process-list li > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f6fd;
  color: var(--blue);
  font-weight: 800;
  font-size: 11px;
}
.process-list strong {
  color: var(--navy);
}
.process-list p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 13px;
}
.how-visual {
  position: relative;
  min-height: 540px;
}

.coil {
  position: absolute;
  right: 8%;
  top: 35px;
  width: 52%;
  height: 160px;
  display: flex;
  gap: 9px;
  opacity: 0.16;
}
.coil span {
  flex: 1;
  background: repeating-linear-gradient(180deg, #4c7d9e 0 3px, transparent 3px 7px);
}

/* ----------------------------------------
   WATER DROPS - fall from the coil, stretch
   on the way down, splat flat on impact
   ---------------------------------------- */
   .drop {
    position: absolute;
  
    width: 18px;
    height: 18px;
  
    background:
      linear-gradient(
        135deg,
        #9bdcff 0%,
        #56b7ea 50%,
        #258fd3 100%
      );
  
     border-radius: 50% 8% 50% 50%; 
  
    opacity: 0;
  
    transform-origin: 50% 50%;
  
    animation:
      drip
      3s
      cubic-bezier(.5,0,.7,1)
      infinite;
  }
/* top is set so each drop's bottom edge actually reaches the strip's
   top surface (strip top sits at 300px in this 540px-tall container:
   bottom:100px + height:140px = 240px from the bottom, i.e. 300px
   from the top) */
.d1 { --fall: 82px; right: 22%; top: 280px; }
.d2 { --fall: 96px; right: 44%; top: 284px; animation-delay: 1s; }
.d3 { --fall: 74px; right: 32%; top: 276px; animation-delay: 2s; }

@keyframes drip {

  0% {
    opacity: 0;

    transform:
      translateY(calc(var(--fall) * -1))
      rotate(-45deg)
      scale(.8);
  }

  10% {
    opacity: .95;

    transform:
      translateY(calc(var(--fall) * -0.55))
      rotate(-45deg)
      scale(.9);
  }

  58% {
    opacity: .95;

    transform:
      translateY(0)
      rotate(-45deg)
      scale(1);
  }

  64% {
    opacity: .9;

    transform:
      translateY(2px)
      rotate(0deg)
      scale(1.6, .4);
  }

  76% {
    opacity: 0;

    transform:
      translateY(2px)
      rotate(0deg)
      scale(1.9, .22);
  }

  100% {
    opacity: 0;

    transform:
      translateY(2px)
      rotate(0deg)
      scale(1.9, .22);
  }
}

/* small ripple at each drop's landing point ON TOP of the strip -
   bottom:236px sits right at the strip's top surface (strip spans
   from bottom:100px to bottom:240px), not its underside */
.contact-ripple {
  position: absolute;
  bottom: 236px;
  width: 26px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  opacity: 0;
  transform: translate(-50%, 0) scale(.3);
  animation: ripple 3s cubic-bezier(.5,0,.7,1) infinite;
}
.cr1 { right: calc(22% - 5px); animation-delay: 0s; }
.cr2 { right: calc(44% - 5px); animation-delay: 1s; }
.cr3 { right: calc(32% - 5px); animation-delay: 2s; }

@keyframes ripple {
  0%, 58%   { opacity: 0; transform: translate(-50%, 0) scale(.3, .2); }
  66%       { opacity: .9; transform: translate(-50%, 0) scale(1, .5); }
  84%       { opacity: 0; transform: translate(-50%, 0) scale(2.4, 1); }
  100%      { opacity: 0; transform: translate(-50%, 0) scale(.3, .2); }
}

.polymer-strip {
  position: absolute;
  left: 7%;
  right: 3%;
  bottom: 100px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 42px rgba(13, 42, 74, 0.18);

  /* fallback color shown briefly while the photo loads (or if it
     fails to load) - swap to match your strip's real packaging tone */
  background: #d8e3ec;
}
.polymer-strip-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.polymer-strip span {
  position: absolute;
  left: 30px;
  top: 35px;
  background: var(--blue);
  color: #fff;
  padding: 9px 15px;
  border-radius: 8px;
  font-weight: 800;
  z-index: 2;
}

/* ----------------------------------------
   MOLECULE RELEASE - a soft pulse plus a
   handful of particles drifting slowly out
   from the strip's underside
   ---------------------------------------- */
.activation-glow {
  position: absolute;
  left: 28%;
  right: 4%;
  bottom: 62px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(12, 142, 216, 0.28), transparent 70%);
  filter: blur(16px);
  opacity: .5;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%      { opacity: .7;  transform: scale(1.08); }
}

.molecule-field {
  position: absolute;
  left: 7%;
  right: 3%;
  bottom: 0;
  height: 100px; /* the gap below the strip */
  pointer-events: none;
}
.molecule {
  position: absolute;
  bottom: 96px;
  left: var(--mx);
  width: var(--msize);
  height: var(--msize);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #bfe6fb, #2f97dc);
  opacity: 0;
  animation: molecule-drift var(--mdur) ease-out var(--mdelay) infinite;
}
@keyframes molecule-drift {
  0%   { opacity: 0; transform: translate(0, 0) scale(.6); }
  18%  { opacity: .8; }
  70%  { opacity: .5; transform: translate(var(--mdx), var(--mdy)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--mdx) * 1.3), calc(var(--mdy) * 1.3)) scale(1.15); }
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.benefit-card {
  background: #f8fbfd;
  border: 1px solid #e5edf3;
  border-radius: 22px;
  padding: 28px;
  min-height: 240px;
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e9f6fd;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
}
.benefit-card h3 {
  color: var(--navy);
  margin: 24px 0 8px;
}
.benefit-card p {
  color: var(--muted);
  font-size: 13px;
}
/* ==========================================================================
   Install section
   ========================================================================== */
.install {
  background: var(--soft);
}
.install-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.install-media {
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.install-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.install-fallback {
  display: none;
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #eef3f7, #d8e1e8);
}
.install-fallback.is-visible {
  display: block;
}
.air-handler {
  position: absolute;
  left: 18%;
  top: 14%;
  width: 46%;
  height: 63%;
  background: linear-gradient(160deg, #6c7a83, #c5cfd5);
  clip-path: polygon(7% 0, 100% 8%, 88% 100%, 0 88%);
}
.install-strip {
  position: absolute;
  left: 25%;
  top: 52%;
  background: #e5a6cc;
  border-radius: 6px;
  padding: 14px 22px;
  font-size: 11px;
  font-weight: 800;
}
.install-arrow {
  position: absolute;
  right: 20%;
  top: 48%;
  color: var(--orange);
  font-size: 70px;
}
.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 27px;
  color: #496177;
  font-size: 14px;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}
/* ==========================================================================
   Heritage banner
   ========================================================================== */
.heritage-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border-radius: 32px;
  background: #06295a;
  color: #fff;
}
.heritage-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 60px 36px 60px 60px;
}
.heritage-copy .eyebrow {
  color: #76cdf5;
}
.heritage-copy h2 {
  color: #fff;
}
.heritage-copy p {
  color: #c9d9e8;
}
.industry-row {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.industry-row a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
  pointer-events: auto;
}
.industry-row a strong {
  color: #76cdf5;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.industry-row a:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}
.industry-row a:hover strong {
  transform: translateX(3px);
}
.industry-row a:focus-visible {
  outline: 3px solid #7cd1f7;
  outline-offset: 3px;
}
.heritage-media {
  position: relative;
  z-index: 1;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
}
.heritage-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #06295a 0%, rgba(6, 41, 90, 0.35) 20%, rgba(6, 41, 90, 0.02) 55%), linear-gradient(0deg, rgba(2, 24, 57, 0.68), transparent 58%);
  pointer-events: none;
}
.heritage-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: 58% center;
}
.heritage-year {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 34px;
  text-align: right;
  color: #fff;
}
.heritage-year span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
}
.heritage-year strong {
  font-size: 74px;
}
/* ==========================================================================
   Shop CTA
   ========================================================================== */
.shop {
  background: var(--soft);
}
.shop-card {
  background: var(--navy);
  color: #fff;
  border-radius: 32px;
  padding: 54px 58px;
}
.shop-card .eyebrow {
  color: #7cd1f7;
}
.shop-card h2 {
  color: #fff;
}
.shop-heading {
  max-width: 790px;
}
.shop-heading > p:not(.eyebrow) {
  color: #c7d6e5;
  max-width: 680px;
}
.purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.purchase-option {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}
.purchase-option h3 {
  margin: 7px 0 12px;
  color: #fff;
  font-size: 23px;
  line-height: 1.15;
}
.purchase-option > p:not(.purchase-kicker) {
  margin: 0 0 24px;
  color: #c7d6e5;
  font-size: 13px;
}
.purchase-kicker {
  margin: 0;
  color: #7cd1f7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.purchase-btn {
  align-self: flex-start;
  gap: 7px;
  margin-top: auto;
}
.purchase-btn-light {
  background: #fff;
  color: var(--navy);
}
.purchase-btn-blue {
  background: var(--blue);
  color: #fff;
}
.purchase-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.purchase-btn:hover {
  transform: translateY(-1px);
}
.purchase-btn:focus-visible {
  outline: 3px solid #7cd1f7;
  outline-offset: 3px;
}
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 50px 0 60px;
  background: #031a3b;
  color: #aebfd0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
}
.footer-links {
  display: flex;
  gap: 18px;
  font-size: 11px;
}
.footer-links a {
  text-decoration: none;
  color: #dce7f1;
}
.fine-print {
  grid-column: 1/-1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 10px;
}
/* ==========================================================================
   Scroll reveal & keyframe animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.65s;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes bubble {
  0% {
    transform: translateY(0) scale(0.7);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-150px) scale(1.1);
    opacity: 0;
  }
}
@keyframes release {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-130px);
    opacity: 0;
  }
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
  }
  .site-nav.is-open {
    display: flex;
  }
  .hero-grid,
  .how-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }
  .package-stage {
    width: min(680px, 100%);
    min-height: 0;
    margin: 20px auto 0;
  }
  .hero-package {
    max-height: none;
  }
  .how-visual {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
    overflow: visible;
  }
  .polymer-strip {
    left: 50%;
    right: auto;
    width: min(90%, 527px);
    transform: translateX(-50%);
  }
  .polymer-strip-photo {
    object-fit: contain;
    object-position: center;
  }
  .size-layout {
    grid-template-columns: 1fr;
  }
  .size-stage {
    grid-template-columns: 1fr 1fr;
  }
  .compare-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .versus {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: auto;
    height: 35px;
  }
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .heritage-card {
    grid-template-columns: 1fr;
  }
  .heritage-copy {
    padding: 50px 42px 36px;
  }
  .heritage-media {
    min-height: 310px;
  }
  .heritage-media img {
    min-height: 310px;
  }
  .shop-card {
    grid-template-columns: 1fr;
  }
  .purchase-grid {
    grid-template-columns: 1fr;
  }
  .purchase-option {
    min-height: 0;
  }
}
@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }
  .hero h1 {
    font-size: 48px;
  }
  .section {
    padding: 72px 0;
  }
  .how-visual {
    min-height: 400px;
  }
  .polymer-strip {
    width: 92%;
    height: auto;
    aspect-ratio: 915 / 243;
    bottom: 20px;
    border-radius: 12px;
  }
  .contact-ripple {
    display: none;
  }
  .d1 {
    top: 264px;
  }
  .d2 {
    top: 266px;
  }
  .d3 {
    top: 262px;
  }
  .section-heading h2,
  .how-copy h2,
  .install-copy h2,
  .heritage-copy h2,
  .shop-card h2 {
    font-size: 38px;
  }
  .size-stage {
    grid-template-columns: 1fr;
  }
  .compare-card {
    padding: 20px;
  }
  .water-demo {
    height: 300px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .test-steps {
    grid-template-columns: 1fr;
  }
  .heritage-card {
    padding: 0;
  }
  .heritage-copy {
    padding: 36px 26px 30px;
  }
  .heritage-media,
  .heritage-media img {
    min-height: 250px;
  }
  .heritage-year {
    right: 24px;
    bottom: 20px;
  }
  .heritage-year strong {
    font-size: 56px;
  }
  .shop-card {
    padding: 36px 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Respect visitors who prefer less interface motion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
