/* =====================================================================
   WATERWORX HEALTH — Design System
   Built by Quick-E's Web Design.  Brand: white base, water blue, cyan accents.
   Note: the --purple / --green variable names are legacy; they hold the blue
   and cyan values above.
   ===================================================================== */

:root {
  /* Brand */
  --purple:      #0E86D4;
  --purple-deep: #063D63;
  --purple-soft: #5AB6E8;
  --green:       #1FC8E3;
  --green-deep:  #1497AE;

  /* Neutrals */
  --white:   #FFFFFF;
  --lilac:   #F1F8FD;   /* panel background */
  --lilac-2: #DBEEF9;
  --ink:     #13242E;
  --ink-soft:#43555F;
  --ink-mute:#7F94A0;
  --line:    rgba(19,36,46,0.10);
  --line-2:  rgba(19,36,46,0.18);

  /* Type */
  --head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 26px;
  --pill: 999px;
  --shadow-sm: 0 6px 20px rgba(6,40,64,0.06);
  --shadow-md: 0 18px 50px rgba(6,40,64,0.12);
  --shadow-purple: 0 10px 30px rgba(14,134,212,0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body); color: var(--ink); background: var(--white);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Typography */
h1,h2,h3,h4 { font-family: var(--head); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.27rem); color: var(--ink-soft); }
.eyebrow {
  font-family: var(--body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple);
  display: inline-block; margin-bottom: 0.9rem;
}
.eyebrow.on-purple { color: var(--purple-soft); }
.text-green { color: var(--green-deep); }

/* Layout helpers */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.mx-auto { margin-inline: auto; }
.bg-lilac { background: var(--lilac); }
.sec-head { max-width: 56ch; margin-bottom: 3rem; }
.sec-head.center { margin-inline: auto; }
.sec-head p { margin-top: 0.85rem; }

/* Lily mark */
.lily { width: 40px; height: 40px; color: var(--purple); flex-shrink: 0; }
.lily .center { fill: rgba(255,255,255,0.55); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.9rem; font-family: var(--body); font-weight: 600;
  font-size: 0.96rem; border: 2px solid transparent; border-radius: var(--pill);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-purple); }
.btn-primary:hover { background: var(--purple-deep); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(31,200,227,0.25); }
.btn-green:hover { background: var(--green-deep); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--purple); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }
.btn svg { width: 16px; height: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand .lily { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--head); font-weight: 700; font-size: 1.18rem; color: var(--purple-deep); letter-spacing: -0.01em; }
.brand-text span { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 0.3rem; transition: color .2s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--purple); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s var(--ease); border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; z-index: 110; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 1.4rem; padding: 3rem var(--gut);
    background: var(--white); box-shadow: var(--shadow-md); transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.25rem; font-family: var(--head); font-weight: 600; }
  .nav .nav-cta .btn-desktop { display: none; }
}

/* Header brand logo */
.brand-logo { height: 54px; width: auto; border-radius: 10px; display: block; }
@media (max-width: 560px){ .brand-logo { height: 46px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--lilac) 0%, #fff 100%); }
.hero__bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__bubbles span { position: absolute; border-radius: 50%; opacity: 0.5; }
.hero__bubbles span:nth-child(1){ width: 120px; height:120px; background: var(--lilac-2); top: 12%; right: 8%; }
.hero__bubbles span:nth-child(2){ width: 60px; height:60px; background: rgba(31,200,227,0.12); top: 60%; right: 22%; }
.hero__bubbles span:nth-child(3){ width: 200px; height:200px; background: rgba(14,134,212,0.06); bottom: -6%; right: -3%; }
.hero__bubbles span:nth-child(4){ width: 40px; height:40px; background: rgba(14,134,212,0.12); top: 30%; left: 4%; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
@media (max-width: 880px){ .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--ink); }
.hero h1 .hl { color: var(--purple); }
.hero .lead { margin-top: 1.3rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero__note { margin-top: 1.25rem; font-size: 0.88rem; color: var(--ink-mute); display: flex; align-items: center; gap: 0.5rem; }
.hero__note svg { width: 18px; height: 18px; color: var(--green); }

/* Hero product photo */
.hero-product { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-product__img { height: min(460px, 56vh); width: auto; filter: drop-shadow(0 26px 34px rgba(6,40,64,0.22)); }
.hero-product__badge {
  position: absolute; top: 6%; right: 2%; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-md); padding: 0.95rem 1.2rem; text-align: center; min-width: 132px;
}
.hero-product__badge .big { display: block; font-family: var(--head); font-weight: 800; font-size: 2rem; color: var(--purple); line-height: 1; letter-spacing: -0.02em; }
.hero-product__badge .big span { font-size: 0.95rem; font-weight: 700; color: var(--ink-mute); }
.hero-product__badge .lbl { display: block; font-size: 0.74rem; color: var(--ink-soft); font-weight: 500; margin-top: 0.35rem; line-height: 1.35; }
@media (max-width: 880px){ .hero-product { margin-top: 1rem; } .hero-product__badge { right: 8%; } }

/* Product photo showcase */
.product-showcase { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; max-width: 720px; margin-inline: auto; }
@media (max-width: 820px){ .product-showcase { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prod__img { height: 240px; display: flex; align-items: flex-end; justify-content: center; gap: 1.2rem; margin-bottom: 1.35rem; background: linear-gradient(180deg, var(--lilac), #fff); border-radius: var(--radius); padding: 1.1rem; }
.prod__img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(6,40,64,0.14)); }
.prod__img--pair img:first-child { max-height: 100%; }
.prod__img--pair img:last-child { max-height: 62%; }
.prod__img--photo { padding: 0; overflow: hidden; background: none; }
.prod__img--photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; border-radius: var(--radius); }
.prod h3 { margin-bottom: 0.5rem; }
.prod p { font-size: 0.95rem; }

/* Our Water benefits */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 820px){ .benefit-grid { grid-template-columns: 1fr; } }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 460px){ .benefits { grid-template-columns: 1fr; } }
.benefits li { display: flex; align-items: center; gap: 0.85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.95rem 1.1rem; font-family: var(--head); font-weight: 600; font-size: 1rem; color: var(--ink); }
.benefits .bi { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--lilac-2); color: var(--purple-deep); display: grid; place-items: center; font-size: 0.82rem; font-weight: 800; }

/* Hero credential card */
.cred-card {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md); border: 1px solid var(--line); position: relative;
}
.cred-card__save { display: flex; align-items: baseline; gap: 0.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.cred-card__save .big { font-family: var(--head); font-weight: 800; font-size: clamp(2.6rem,6vw,3.4rem); color: var(--purple); line-height: 1; letter-spacing: -0.02em; }
.cred-card__save .lbl { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }
.cred-list { display: grid; gap: 0.85rem; }
.cred-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; color: var(--ink); }
.cred-list .tick { width: 24px; height: 24px; border-radius: 50%; background: rgba(31,200,227,0.14); color: var(--green-deep); display: grid; place-items: center; flex-shrink: 0; }
.cred-list .tick svg { width: 14px; height: 14px; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
.trust__item { background: #fff; padding: 1.6rem 1.25rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.trust__item svg { width: 28px; height: 28px; color: var(--purple); }
.trust__item .t { font-family: var(--head); font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.trust__item .s { font-size: 0.8rem; color: var(--ink-mute); }
@media (max-width: 720px){ .trust__grid { grid-template-columns: repeat(2,1fr); } }

/* Pillars / cards */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 820px){ .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.25rem 2rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.3rem; background: var(--lilac); color: var(--purple); }
.card .ico.green { background: rgba(31,200,227,0.12); color: var(--green-deep); }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.55rem; }

/* Savings band */
.savings { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%); color: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.savings__lily { position: absolute; right: -3%; top: -25%; width: min(40vw, 360px); opacity: 0.10; color: #fff; pointer-events: none; }
.savings .inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(2rem,5vw,3.5rem); }
@media (max-width: 760px){ .savings .inner { grid-template-columns: 1fr; text-align: center; } }
.savings h2 { color: #fff; }
.savings p { color: rgba(255,255,255,0.85); margin-top: 0.6rem; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width: 820px){ .cat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .cat-grid { grid-template-columns: 1fr; } }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--purple-soft); }
.cat .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--lilac); color: var(--purple); display: grid; place-items: center; }
.cat .ico svg { width: 24px; height: 24px; }
.cat .name { font-family: var(--head); font-weight: 600; font-size: 1rem; color: var(--ink); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; max-width: 880px; margin-inline: auto; }
@media (max-width: 760px){ .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--feature { background: linear-gradient(150deg, var(--purple) 0%, var(--purple-deep) 100%); border-color: transparent; box-shadow: var(--shadow-md); }
.price-card__tag {
  align-self: flex-start; font-family: var(--body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 0.85rem;
  border-radius: var(--pill); background: var(--lilac); color: var(--purple); margin-bottom: 1.1rem;
}
.price-card--feature .price-card__tag { background: rgba(255,255,255,0.18); color: #fff; }
.price-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.price-card--feature h3 { color: #fff; }
.price-card__sub { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.price-card--feature .price-card__sub { color: rgba(255,255,255,0.82); }
.price { display: flex; align-items: baseline; gap: 0.4rem; padding-bottom: 1.3rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.price-card--feature .price { border-bottom-color: rgba(255,255,255,0.22); }
.price .amt { font-family: var(--head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3rem); line-height: 1; letter-spacing: -0.02em; color: var(--purple); }
.price-card--feature .price .amt { color: #fff; }
.price .per { font-size: 1rem; font-weight: 500; color: var(--ink-mute); }
.price-card--feature .price .per { color: rgba(255,255,255,0.75); }
.price-list { display: grid; gap: 0.75rem; margin-bottom: 1.9rem; }
.price-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.96rem; font-weight: 500; color: var(--ink); }
.price-list li::before {
  content: "\2713"; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: rgba(31,200,227,0.16); color: var(--green-deep);
  font-size: 0.72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.price-card--feature .price-list li { color: rgba(255,255,255,0.92); }
.price-card--feature .price-list li::before { background: rgba(255,255,255,0.2); color: #fff; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note { margin-top: 2rem; color: var(--ink-mute); font-size: 0.95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--head); font-weight: 700; display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

/* Forms */
.quote-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 880px){ .quote-grid { grid-template-columns: 1fr; } }
.info-item { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ico { width: 22px; height: 22px; color: var(--purple); flex-shrink: 0; margin-top: 3px; }
.info-item .k { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.info-item .v { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.form-card { background: var(--lilac); border-radius: var(--radius-lg); padding: clamp(1.6rem,4vw,2.75rem); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.field label .req { color: var(--purple); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1.05rem; font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(14,134,212,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.35rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d23f5a; }
.field .error-msg { display: none; font-size: 0.78rem; color: #d23f5a; margin-top: 0.3rem; }
.field.invalid .error-msg { display: block; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 1.3rem; }
.consent input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--purple); flex-shrink: 0; }
.consent label { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.5; }
.form-status { display: none; padding: 0.95rem 1.15rem; border-radius: 12px; margin-top: 1.1rem; font-size: 0.92rem; }
.form-status.show { display: block; }
.form-status.success { background: rgba(31,200,227,0.12); color: var(--green-deep); border: 1px solid var(--green); }
.form-status.error { background: #fbe7eb; color: #b22a44; border: 1px solid #e2a9b5; }

/* Footer */
.site-footer { background: var(--purple-deep); color: rgba(255,255,255,0.78); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .lily { color: #fff; }
.site-footer .lily .center { fill: var(--purple); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(255,255,255,0.6); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 1rem; max-width: 32ch; }
.site-footer h4 { color: #fff; font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255,255,255,0.78); font-size: 0.92rem; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer ul li { margin-bottom: 0.65rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-bottom .credit { color: rgba(255,255,255,0.75); display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.footer-bottom .credit:hover { color: rgba(255,255,255,0.75); }
.credit-logo { height: 17px; width: auto; filter: brightness(0) invert(1); opacity: 0.72; transition: opacity .2s var(--ease); }
.footer-bottom .credit:hover .credit-logo { opacity: 1; }

/* Reveal + a11y */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--purple); color:#fff; padding: 0.7rem 1.2rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.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; }
.pill-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.9rem; background: var(--lilac); color: var(--purple); border-radius: var(--pill); font-size: 0.8rem; font-weight: 600; }

/* Scrollytelling story section — animation gets its own space (never overlaps content) */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.story__viz { position: relative; }
.story__steps { display: flex; flex-direction: column; }
.story__step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.story__n { width: 46px; height: 46px; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.1rem; display: grid; place-items: center; margin-bottom: 1.1rem; box-shadow: var(--shadow-purple); }
.story__step h3 { margin-bottom: 0.5rem; }

.morph {
  position: sticky; top: 12vh; width: 100%; height: min(70vh, 520px);
  pointer-events: none; filter: drop-shadow(0 18px 30px rgba(6,40,64,0.10));
}
.morph svg { width: 100%; height: 100%; display: block; overflow: visible; }
.morph .ww-line  { fill: none; stroke: var(--purple); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.morph .ww-fill  { fill: var(--purple); }
.morph .ww-navy  { fill: var(--purple-deep); }
.morph .ww-soft  { fill: var(--lilac-2); }
.morph .ww-white { fill: #fff; }
.morph .ww-water { fill: var(--green); }
.morph .ww-ground { stroke: var(--lilac-2); stroke-width: 4; stroke-linecap: round; }
.morph .ww-vantext { fill: #fff; font: 700 9px var(--head); letter-spacing: 0.5px; text-anchor: middle; }
.morph #sc1, .morph #sc2, .morph #sc3 { will-change: opacity; }
/* flowing water stream */
.morph .stream { stroke: var(--green); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.5 9; animation: ww-flow .5s linear infinite; }
@keyframes ww-flow { to { stroke-dashoffset: -9.5; } }
/* spinning wheels + motion lines */
.morph .wheel { animation: ww-spin .8s linear infinite; transform-box: fill-box; transform-origin: center; }
.morph .ww-spoke { stroke: var(--lilac-2); stroke-width: 2; stroke-linecap: round; }
@keyframes ww-spin { to { transform: rotate(360deg); } }
.morph .motion line { stroke: var(--purple-soft); stroke-width: 3; stroke-linecap: round; opacity: 0.6; }
@media (prefers-reduced-motion: reduce) { .morph .stream, .morph .wheel { animation: none; } }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__viz { position: sticky; top: 64px; z-index: 1; }
  .morph { position: static; height: 42vh; margin-bottom: 1rem; }
  .story__step { min-height: 58vh; }
}

@media (hover: none) {
  .btn:hover, .card:hover, .cat:hover { transform: none; }
  .btn:active { transform: scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}
