/* =============================================================================
   BOTENZA WATER — stylesheet
   Dark, glowing, dimensional. Glass surfaces over a deep blue-black ground,
   aqua light bloom, and real 3D depth (perspective + preserve-3d + parallax
   layers) rather than flat drop shadows.
   ============================================================================= */

/* ---------- 1. TOKENS ------------------------------------------------------ */
:root {
  /* ground */
  --bg:         #04070f;
  --bg-2:       #070c18;
  --bg-3:       #0a1120;

  /* light */
  --aqua:       #38e8ff;
  --aqua-2:     #22d3ee;
  --blue:       #3b82f6;
  --blue-2:     #2563eb;
  --deep:       #0b1e3d;

  /* type */
  --text:       #eaf2ff;
  --text-2:     rgba(234, 242, 255, .68);
  --text-3:     rgba(234, 242, 255, .42);
  --ink:        #04070f;

  /* glass */
  --glass:      linear-gradient(158deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .022) 58%, rgba(255, 255, 255, .045) 100%);
  --glass-2:    linear-gradient(158deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .035) 60%, rgba(255, 255, 255, .07) 100%);
  --edge:       rgba(255, 255, 255, .10);
  --edge-2:     rgba(255, 255, 255, .20);

  /* the bevel that sells the 3D: bright top rim, dark underside, cast shadow */
  --bevel:      inset 0 1px 0 rgba(255, 255, 255, .22),
                inset 0 -1px 0 rgba(0, 0, 0, .55),
                0 22px 48px -24px rgba(0, 0, 0, .95);
  --bevel-lift: inset 0 1px 0 rgba(255, 255, 255, .34),
                inset 0 -1px 0 rgba(0, 0, 0, .6),
                0 40px 80px -30px rgba(0, 0, 0, 1),
                0 0 60px -14px rgba(56, 232, 255, .40);

  --glow-aqua:  0 0 32px rgba(56, 232, 255, .45);
  --glow-soft:  0 0 90px rgba(34, 211, 238, .22);

  --font: "Outfit", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --r-pill: 999px;
  --r-card: 22px;
  --r-lg:   28px;
  --r-sm:   12px;

  --header-h: 64px;
  --gutter: 20px;
  --maxw: 1280px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-3d: cubic-bezier(.16, .84, .44, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 82px; --gutter: 40px; }
}

/* ---------- 2. RESET ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body.is-locked { overflow: hidden; }

/* Ambient light: two fixed bloom fields + a fine grain, behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(52% 40% at 12% 8%,  rgba(34, 211, 238, .20) 0%, rgba(34, 211, 238, 0) 70%),
    radial-gradient(46% 38% at 88% 22%, rgba(59, 130, 246, .20) 0%, rgba(59, 130, 246, 0) 72%),
    radial-gradient(60% 45% at 50% 108%, rgba(56, 232, 255, .14) 0%, rgba(56, 232, 255, 0) 70%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.04; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }

::selection { background: rgba(56, 232, 255, .3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -90px; z-index: 300;
  background: var(--aqua); color: var(--ink); padding: 12px 22px;
  border-radius: var(--r-pill); font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

/* ---------- 3. LAYOUT ------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}
.wrap--narrow { max-width: 880px; }

.section { padding-block: clamp(56px, 9vw, 116px); position: relative; }
.section--tight { padding-block: clamp(38px, 6vw, 72px); }

/* a lighter band, still dark — used to separate long stretches */
.section--raise { background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, 0)); }
.section--deep  { background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .18)); }

.stack > * + * { margin-top: 16px; }

/* ---------- 4. TYPE -------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(10.5px, 2.5vw, 12.5px);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: var(--glow-aqua);
  flex: 0 0 auto;
}

.h-display { font-size: clamp(2.6rem, 10.5vw, 6.2rem); line-height: .94; font-weight: 700; }
.h1        { font-size: clamp(2.2rem, 7.4vw, 4.1rem); }
.h2        { font-size: clamp(1.85rem, 5.6vw, 3.15rem); }
.h3        { font-size: clamp(1.3rem, 3.6vw, 1.8rem); line-height: 1.16; }
.h4        { font-size: clamp(1.05rem, 2.8vw, 1.25rem); line-height: 1.26; }

/* the light that makes headings feel lit rather than painted */
.glow-text {
  background: linear-gradient(180deg, #ffffff 0%, #cfe9ff 52%, #7fd4ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(56, 232, 255, .30);
}

.lead {
  font-size: clamp(1rem, 2.9vw, 1.22rem);
  line-height: 1.6;
  color: var(--text-2);
  font-weight: 300;
}
.body-text { color: var(--text-2); font-weight: 300; }
.body-text + .body-text { margin-top: 14px; }
.body-text a { color: var(--aqua); font-weight: 500; }

.section-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 18px; }

/* ---------- 5. BUTTONS ----------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 30px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  text-align: center;
  isolation: isolate;
  transition: transform .18s var(--ease-3d), box-shadow .25s var(--ease), color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.985); }

/* primary: lit capsule with a top rim highlight */
.btn--primary {
  color: #02121a;
  background: linear-gradient(180deg, #7ff2ff 0%, var(--aqua) 38%, #12b6d8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8),
              inset 0 -2px 6px rgba(0, 60, 80, .45),
              0 10px 28px -8px rgba(56, 232, 255, .55),
              0 0 44px -10px rgba(56, 232, 255, .7);
}
.btn--glass {
  color: var(--text);
  background: var(--glass);
  border-color: var(--edge-2);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px -18px rgba(0, 0, 0, .9);
}
.btn--ghost { color: var(--text); border-color: var(--edge-2); }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: .86rem; }

@media (hover: hover) {
  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9),
                inset 0 -2px 6px rgba(0, 60, 80, .45),
                0 16px 38px -8px rgba(56, 232, 255, .68),
                0 0 70px -8px rgba(56, 232, 255, .9);
  }
  .btn--glass:hover, .btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 232, 255, .6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 36px -8px rgba(56, 232, 255, .5);
  }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; color: var(--aqua); min-height: 44px;
}
.link-arrow svg { transition: transform .22s var(--ease); }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(5px); } }

/* ---------- 6. GLASS PANEL (the shared 3D surface) ------------------------- */
.panel {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: var(--r-card);
  box-shadow: var(--bevel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
/* specular sweep across the top — reads as a curved glass surface */
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 45%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0));
  pointer-events: none;
}

/* ---------- 7. 3D TILT ----------------------------------------------------- */
.scene { perspective: 1400px; perspective-origin: 50% 40%; }

.tilt {
  --rx: 0deg; --ry: 0deg; --tz: 0px;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz));
  transition: transform .45s var(--ease-3d), box-shadow .45s var(--ease);
  will-change: transform;
}
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .tilt:hover { box-shadow: var(--bevel-lift); }
}

/* ---------- 8. HEADER / NAV ------------------------------------------------ */
.announce {
  position: relative;
  z-index: 101;
  background: linear-gradient(90deg, rgba(34, 211, 238, .16), rgba(59, 130, 246, .16));
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--text);
  font-size: .8rem;
  font-weight: 300;
  text-align: center;
  padding: 9px var(--gutter);
}
.announce b { font-weight: 600; color: var(--aqua); }
.announce a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 7, 15, .72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(4, 7, 15, .92);
  border-bottom-color: rgba(56, 232, 255, .18);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 1), 0 1px 0 rgba(56, 232, 255, .10);
}

.nav { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 36px; width: auto; filter: drop-shadow(0 0 18px rgba(56, 232, 255, .45)); }
@media (min-width: 900px) { .brand img { height: 44px; } }

.nav-links { display: none; }

@media (min-width: 1040px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 22px;
    flex: 1 1 auto;
  }
  .nav-links a {
    position: relative;
    padding: 10px 15px;
    font-size: .93rem;
    font-weight: 400;
    color: var(--text-2);
    border-radius: var(--r-pill);
    transition: color .18s var(--ease);
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 15px; right: 15px; bottom: 2px;
    height: 2px;
    background: var(--aqua);
    box-shadow: var(--glow-aqua);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s var(--ease);
  }
  .nav-links a:hover { color: var(--text); }
  .nav-links a:hover::after,
  .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links a[aria-current="page"] { color: #fff; }
}

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-actions .btn { display: none; }
@media (min-width: 1040px) { .nav-actions .btn { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: var(--glass);
  margin-right: -4px;
}
@media (min-width: 1040px) { .nav-toggle { display: none; } }

.nav-toggle span {
  position: relative;
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background-color .15s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .28s var(--ease), top .18s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(4, 7, 15, .97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s var(--ease);
  overscroll-behavior: contain;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
@media (min-width: 1040px) { .mobile-nav { display: none; } }

.mobile-nav a.mnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.02em;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  min-height: 62px;
  color: var(--text);
}
.mobile-nav a.mnav-link[aria-current="page"] { color: var(--aqua); }
.mobile-nav a.mnav-link svg { flex: 0 0 auto; color: var(--aqua); }

.mnav-foot { margin-top: 32px; display: grid; gap: 12px; }
.mnav-foot .btn { width: 100%; }
.mnav-meta { margin-top: 28px; font-size: .9rem; color: var(--text-3); }
.mnav-meta a { color: var(--aqua); font-weight: 500; }

/* ---------- 9. HERO -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-track { position: relative; }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .85s var(--ease), visibility .85s var(--ease);
}
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 22s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
/* darken + tint the photo so the glow reads on top of it */
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(72% 58% at 18% 42%, rgba(9, 32, 58, .30) 0%, rgba(4, 7, 15, .72) 74%),
    linear-gradient(180deg, rgba(4, 7, 15, .62) 0%, rgba(4, 7, 15, .22) 42%, rgba(4, 7, 15, .92) 100%);
}
/* a soft light source in the corner */
.hero::before {
  content: "";
  position: absolute;
  left: -14%; top: -28%;
  width: 62vw; height: 62vw;
  max-width: 820px; max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 232, 255, .30) 0%, rgba(56, 232, 255, 0) 66%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 86svh, 840px);
  padding-block: clamp(70px, 12vw, 128px);
}
.hero-copy { max-width: 640px; }
@media (min-width: 1100px) { .hero-copy { max-width: 800px; } }
.hero-copy h1 { color: #fff; }
.hero-copy p {
  margin-top: 20px;
  font-size: clamp(1rem, 3vw, 1.24rem);
  font-weight: 300;
  color: rgba(234, 242, 255, .82);
  max-width: 50ch;
}

.hero-dots {
  position: absolute;
  left: var(--gutter);
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  position: relative;
  width: 36px; height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .22);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.hero-dots button::after { content: ""; position: absolute; inset: -20px -6px; }
.hero-dots button[aria-selected="true"] {
  background: var(--aqua);
  box-shadow: var(--glow-aqua);
}
@media (min-width: 900px) {
  .hero-dots { left: 50%; transform: translateX(-50%); bottom: 72px; }
  .hero-dots button { width: 52px; }
  .stats-panel { margin-top: -46px; }
}

/* ---------- 10. STATS ------------------------------------------------------ */
.stats-panel {
  margin-top: 18px;
  position: relative;
  z-index: 5;
  padding: clamp(26px, 4vw, 44px) clamp(18px, 3vw, 36px);
  border-radius: var(--r-lg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 14px;
  text-align: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat { position: relative; }
@media (min-width: 760px) {
  .stat + .stat::before {
    content: "";
    position: absolute;
    left: -7px; top: 12%; bottom: 12%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .16), transparent);
  }
}
.stat-value {
  font-size: clamp(2.2rem, 7.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #ffffff, #8fe4f8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(56, 232, 255, .45);
}
.stat-label {
  margin-top: 10px;
  font-size: clamp(.76rem, 2.3vw, .88rem);
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--text-3);
}

/* ---------- 11. PRODUCT CARDS ---------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px)  { .product-grid { gap: 22px; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 26px; } }

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  height: 100%;
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #060b15;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
/* floor shadow gives the "standing on a surface" read */
.product-media::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 7, 15, .12) 0%, rgba(4, 7, 15, .06) 45%, rgba(4, 7, 15, .9) 100%);
}
.product-wash {
  position: absolute; inset: 0;
  z-index: 1;
  mix-blend-mode: soft-light;
  opacity: .85;
  pointer-events: none;
}
@media (hover: hover) { .product-card:hover .product-media img { transform: scale(1.08); } }

.product-tag {
  position: absolute;
  left: 10px; top: 10px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(4, 7, 15, .6);
  border: 1px solid var(--edge);
  backdrop-filter: blur(8px);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--text-2);
  max-width: calc(100% - 20px);
}

.product-body { padding: 16px 16px 20px; display: flex; flex-direction: column; flex: 1 1 auto; position: relative; z-index: 2; }
@media (min-width: 640px) { .product-body { padding: 20px 20px 24px; } }
.product-body h3 { font-size: clamp(1rem, 2.6vw, 1.22rem); font-weight: 600; }
.product-body p { margin-top: 9px; font-size: .86rem; color: var(--text-3); font-weight: 300; line-height: 1.55; }
.product-size {
  margin-top: 14px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aqua);
  font-weight: 500;
}

/* ---------- 12. SPLIT FEATURE ---------------------------------------------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip .split-media { order: 2; }
}
.split + .split { margin-top: clamp(56px, 8vw, 104px); }

.split-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #060b15;
  border: 1px solid var(--edge);
  box-shadow: var(--bevel);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 15, .08), rgba(4, 7, 15, .55));
  pointer-events: none;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 40%;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.split-media--tall { aspect-ratio: 3 / 4; }

/* ---------- 13. PROCESS STEPS (water purification) ------------------------- */
.process-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 22px);
  grid-template-columns: 1fr;
  counter-reset: step;
}
/* six steps: 1 / 2 / 3 across, so the rows always come out even */
@media (min-width: 620px)  { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-card);
}
.process-card::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  right: 16px; top: 8px;
  z-index: 2;
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: -.05em;
  color: rgba(255, 255, 255, .055);
  pointer-events: none;
  line-height: 1;
}
.process-card h3 { font-size: 1.1rem; font-weight: 600; margin-top: 18px; position: relative; z-index: 2; }
.process-card p { margin-top: 10px; color: var(--text-3); font-size: .92rem; font-weight: 300; position: relative; z-index: 2; }

.icon-orb {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 17px;
  color: var(--ink);
  background: linear-gradient(180deg, #7ff2ff, var(--aqua-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85),
              inset 0 -3px 8px rgba(0, 50, 70, .5),
              0 12px 26px -10px rgba(56, 232, 255, .8),
              0 0 40px -8px rgba(56, 232, 255, .65);
}

/* ---------- 14. DIRECTOR CARDS --------------------------------------------- */
.director-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 3vw, 30px);
}
@media (max-width: 520px) { .director-grid { grid-template-columns: 1fr; } }

.director-card { display: flex; flex-direction: column; border-radius: var(--r-card); }

.director-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #070d19;
  overflow: hidden;
}
.director-photo img { width: 100%; height: 100%; object-fit: cover; }
.director-photo::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0) 45%, rgba(4, 7, 15, .75) 100%);
  pointer-events: none;
}

.director-body { padding: 22px 20px 26px; display: flex; flex-direction: column; flex: 1 1 auto; position: relative; z-index: 2; }
.director-name { font-size: 1.18rem; font-weight: 600; }
.director-role {
  margin-top: 5px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aqua);
}
.director-bio { margin-top: 15px; font-size: .9rem; color: var(--text-3); font-weight: 300; line-height: 1.62; flex: 1 1 auto; }
.director-social {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--edge-2);
  color: var(--text);
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease);
}
@media (hover: hover) {
  .director-social:hover {
    background: var(--aqua); color: var(--ink);
    border-color: var(--aqua); box-shadow: var(--glow-aqua);
  }
}

/* ---------- 15. LICENCE GALLERY -------------------------------------------- */
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2.6vw, 26px);
}
@media (max-width: 560px) { .license-grid { grid-template-columns: 1fr; } }

.license-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  border-radius: var(--r-card);
}
@media (hover: hover) { .license-card:hover .license-zoom { opacity: 1; transform: scale(1); } }

.license-thumb {
  display: block;
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 3;
  background: #070d19;
  overflow: hidden;
  border-bottom: 1px solid var(--edge);
}
.license-thumb img { width: 100%; height: 100%; object-fit: cover; }

.license-zoom {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(4, 7, 15, .78);
  border: 1px solid var(--edge-2);
  backdrop-filter: blur(8px);
  color: var(--aqua);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
@media (hover: none) { .license-zoom { opacity: 1; transform: scale(1); } }

.license-body { display: block; padding: 20px 20px 24px; flex: 1 1 auto; position: relative; z-index: 2; }
.license-title {
  display: block;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--text);
}
.license-issuer { display: block; margin-top: 7px; font-size: .84rem; color: var(--text-3); font-weight: 300; }
.license-meta {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, .12);
  display: grid;
  gap: 5px;
  font-size: .78rem;
  color: var(--text-3);
  font-weight: 300;
}

.pending-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(56, 232, 255, .09);
  border: 1px solid rgba(56, 232, 255, .28);
  color: var(--aqua);
  font-size: .78rem;
  font-weight: 500;
}
.pending-note::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: var(--glow-aqua);
  flex: 0 0 auto;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 4, 9, .93);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox-figure {
  max-width: 900px; width: 100%; max-height: 100%;
  display: flex; flex-direction: column; gap: 16px;
}
.lightbox-figure img {
  width: 100%;
  max-height: 70svh;
  object-fit: contain;
  border-radius: var(--r-sm);
  background: #0a1120;
  border: 1px solid var(--edge);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 1), 0 0 90px -30px rgba(56, 232, 255, .5);
}
.lightbox-cap { text-align: center; }
.lightbox-cap strong { display: block; font-size: 1.05rem; font-weight: 600; }
.lightbox-cap span { font-size: .85rem; color: var(--text-3); }

.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--edge-2);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
@media (hover: hover) {
  .lightbox-close:hover { background: var(--aqua); color: var(--ink); box-shadow: var(--glow-aqua); }
}

/* ---------- 16. TIMELINE --------------------------------------------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(56, 232, 255, .7), rgba(56, 232, 255, .06));
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(4, 7, 15, 1), 0 0 22px rgba(56, 232, 255, .9);
}
.timeline-year {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--aqua);
}
.timeline-item h3 { margin-top: 6px; font-size: 1.12rem; font-weight: 600; }
.timeline-item p { margin-top: 9px; color: var(--text-3); font-size: .93rem; font-weight: 300; }

@media (min-width: 900px) {
  .timeline { padding-left: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
  .timeline::before { left: 0; right: 0; top: 7px; bottom: auto; height: 2px; width: auto;
    background: linear-gradient(90deg, rgba(56, 232, 255, .7), rgba(56, 232, 255, .06)); }
  .timeline-item { padding: 36px 0 0; }
  .timeline-item::before { left: 0; top: -1px; }
}

/* ---------- 17. VALUE CARDS ------------------------------------------------ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2.6vw, 26px);
}
.value-card { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-card); }
.value-card h3 { font-size: 1.1rem; font-weight: 600; margin-top: 20px; position: relative; z-index: 2; }
.value-card p { margin-top: 11px; color: var(--text-3); font-size: .92rem; font-weight: 300; position: relative; z-index: 2; }

/* ---------- 18. MINERAL / SPEC TABLE --------------------------------------- */
.spec-panel { padding: clamp(22px, 3.4vw, 38px); border-radius: var(--r-lg); }
.spec-list { position: relative; z-index: 2; }
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
}
.spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row:first-child { padding-top: 0; }
.spec-name { font-size: .95rem; font-weight: 300; color: var(--text-2); }
.spec-value { font-size: 1.02rem; font-weight: 600; color: var(--aqua); white-space: nowrap; }

/* ---------- 19. PAGE HERO (inner pages) ------------------------------------ */
.page-hero { position: relative; overflow: hidden; background: var(--bg); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.page-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(62% 58% at 16% 40%, rgba(11, 40, 70, .32) 0%, rgba(4, 7, 15, .78) 72%),
    linear-gradient(180deg, rgba(4, 7, 15, .58), rgba(4, 7, 15, .94));
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(64px, 11vw, 124px);
  max-width: 800px;
}
.page-hero h1 { color: #fff; }
.page-hero p { margin-top: 18px; color: var(--text-2); font-weight: 300; font-size: clamp(1rem, 2.8vw, 1.2rem); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--text-3); margin-bottom: 20px;
}
.crumbs a { color: var(--text-2); font-weight: 400; }
@media (hover: hover) { .crumbs a:hover { color: var(--aqua); } }

/* ---------- 20. CTA BAND --------------------------------------------------- */
.cta-band { position: relative; padding-block: clamp(20px, 4vw, 40px); }
.cta-inner {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 68px) clamp(24px, 5vw, 60px);
  border-radius: var(--r-lg);
  display: grid;
  gap: 28px;
  align-items: center;
}
.cta-inner::after {
  content: "";
  position: absolute;
  right: -110px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 232, 255, .30) 0%, rgba(56, 232, 255, 0) 68%);
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; gap: 44px; } }
.cta-inner > div { position: relative; z-index: 3; }
.cta-inner p { margin-top: 14px; color: var(--text-2); font-weight: 300; max-width: 54ch; }

/* ---------- 21. CONTACT ---------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.05fr; } }

.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .icon-orb { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; }
.info-item h3 { font-size: .98rem; font-weight: 600; }
.info-item p, .info-item address {
  margin-top: 5px; font-style: normal; color: var(--text-3);
  font-size: .94rem; font-weight: 300; line-height: 1.6;
}
.info-item a { color: var(--text-2); font-weight: 400; }
@media (hover: hover) { .info-item a:hover { color: var(--aqua); } }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); }
.form-card > * { position: relative; z-index: 2; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .82rem; font-weight: 500;
  margin-bottom: 8px; color: var(--text-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;            /* 16px stops iOS zooming on focus */
  font-weight: 300;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--edge);
  border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2338e8ff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field option { background: #0a1120; color: var(--text); }
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(56, 232, 255, .6);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 4px rgba(56, 232, 255, .12), 0 0 30px -10px rgba(56, 232, 255, .6);
}
.field-row { display: grid; gap: 0; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; gap: 0 18px; } }
.form-note { margin-top: 8px; font-size: .79rem; color: var(--text-3); font-weight: 300; }

.map-embed {
  margin-top: clamp(32px, 5vw, 56px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--edge);
  box-shadow: var(--bevel);
  aspect-ratio: 16 / 9;
  background: #0a1120;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) saturate(.7); }
@media (max-width: 700px) { .map-embed { aspect-ratio: 4 / 3; } }

/* ---------- 22. FOOTER ----------------------------------------------------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .85));
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin-top: clamp(30px, 6vw, 60px);
}
.footer-top { display: grid; gap: 36px; padding-block: clamp(48px, 7vw, 82px); }
@media (min-width: 760px)  { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.footer-brand img { height: 44px; margin-bottom: 20px; filter: drop-shadow(0 0 20px rgba(56, 232, 255, .4)); }
.footer-brand p { color: var(--text-3); font-size: .93rem; font-weight: 300; max-width: 40ch; }

.footer-col h4 {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 16px;
}
.footer-col li a {
  display: block; padding: 9px 0; font-size: .93rem; font-weight: 300;
  color: var(--text-2); transition: color .18s var(--ease);
}
@media (hover: hover) { .footer-col li a:hover { color: var(--aqua); } }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--edge); background: var(--glass);
  color: var(--text-2);
  transition: color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
@media (hover: hover) {
  .socials a:hover { color: var(--aqua); border-color: rgba(56, 232, 255, .5); box-shadow: var(--glow-aqua); }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-size: .8rem; color: var(--text-3); font-weight: 300;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
.footer-bottom a { padding: 6px 0; }
@media (hover: hover) { .footer-bottom a:hover { color: var(--aqua); } }

/* ---------- 23. MISC ------------------------------------------------------- */
.note-box {
  border-left: 2px solid var(--aqua);
  background: rgba(56, 232, 255, .06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px;
  font-size: .9rem;
  font-weight: 300;
  color: var(--text-2);
}
.note-box strong { color: var(--text); font-weight: 600; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .86em;
  color: var(--aqua);
  background: rgba(56, 232, 255, .1);
  padding: 2px 6px;
  border-radius: 5px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  padding: 8px 17px;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--edge);
  font-size: .83rem;
  font-weight: 300;
  color: var(--text-2);
}

.to-top {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7ff2ff, var(--aqua-2));
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8),
              0 14px 30px -10px rgba(56, 232, 255, .7),
              0 0 40px -8px rgba(56, 232, 255, .8);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), visibility .25s var(--ease), transform .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (hover: hover) { .to-top:hover { transform: translateY(-3px); } }

/* Reveal-on-scroll — a small Z push so things arrive from depth */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, -40px);
  transition: opacity .7s var(--ease-3d), transform .7s var(--ease-3d);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 24. MOTION / PERFORMANCE GUARDS -------------------------------- */
/* Blur is expensive on phones — drop the heaviest effects on small screens. */
@media (max-width: 720px) {
  .panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, .05);
  }
  body::after { opacity: .2; }
  .hero-media img { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; transform: scale(1.02); }
  .tilt { transform: none !important; }
}

/* ---------- 25. PRINT ------------------------------------------------------ */
@media print {
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
  .site-header, .mobile-nav, .to-top, .hero-dots, .cta-band, .announce { display: none !important; }
  .panel { background: #fff; border-color: #ccc; box-shadow: none; }
  .site-footer { background: #fff; }
  .glow-text, .stat-value { color: #000 !important; -webkit-text-fill-color: #000; }
}
