/* Th3st Water — brand tokens drawn from the logo: navy wordmark, teal drop, aqua highlights */
:root {
  --deep: #041a30;
  --navy: #06213b;
  --ink: #0b3a5e;
  --blue: #1572c9;
  --teal: #10b3a3;
  --aqua: #2ad0e6;
  --mist: #eef7fb;
  --line: #d6e8f1;
  --text: #20384c;
  --muted: #5b7486;
  --white: #ffffff;
  --grad: linear-gradient(100deg, #2ad0e6 0%, #10b3a3 55%, #1572c9 100%);
  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(6, 33, 59, .35);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.hidden { display: none; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--light { color: var(--aqua); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; color: var(--white); background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 30px -10px rgba(16, 179, 163, .7); transition: background-position .4s, transform .2s, box-shadow .2s; }
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(21, 114, 201, .7); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px var(--aqua); }
.btn--small { padding: .6rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav__inner { width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__brand { display: flex; align-items: center; background: rgba(255,255,255,.96); padding: 6px 14px; border-radius: 16px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.4); transition: box-shadow .3s, padding .3s; }
.nav__brand img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav.is-scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 30px -18px rgba(6, 33, 59, .5); }
.nav.is-scrolled .nav__brand { box-shadow: none; padding: 0; background: transparent; }
.nav.is-scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, top .3s, background .3s; }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav.is-scrolled .nav__toggle span { background: var(--navy); }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; padding: 120px 0 140px;
  background: radial-gradient(1000px 600px at 75% 40%, rgba(42, 208, 230, .22), transparent 60%), radial-gradient(800px 500px at 10% 90%, rgba(16, 179, 163, .18), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--deep) 70%); }
.hero__bubbles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; width: min(1180px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 900; letter-spacing: -.035em; margin-bottom: .35em; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 32rem; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__chips li { font-size: .82rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.hero__visual { position: relative; width: 100%; max-width: min(470px, 62vh); justify-self: end; }
.hero__glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(42, 208, 230, .45), transparent); filter: blur(40px); }
.hero__visual img { position: relative; border-radius: 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

.wave { position: absolute; left: 0; width: 100%; height: 90px; fill: var(--white); }
.wave--bottom { bottom: -1px; }

/* MARQUEE */
.marquee { background: var(--white); overflow: hidden; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--navy); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--blue); }
.marquee i { width: 10px; height: 14px; background: var(--grad); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: polygon(50% 0, 100% 60%, 85% 95%, 15% 95%, 0 60%); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.section--mist { background: var(--mist); }
.section__head { max-width: 46rem; margin-bottom: 3.5rem; }
.section__sub { color: var(--muted); font-size: 1.1rem; }

/* WAYS */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.way { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.way:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(6, 33, 59, .45); }
.way__media { aspect-ratio: 16 / 11; overflow: hidden; }
.way__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.way:hover .way__media img { transform: scale(1.05); }
.way__body { padding: 2rem 2rem 2.2rem; position: relative; }
.way__num { position: absolute; top: -28px; right: 24px; font-family: var(--font-head); font-weight: 900; font-size: 3.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.way__body p { color: var(--muted); margin: 0; }

/* PURITY */
.purity { background: linear-gradient(170deg, var(--navy), var(--deep)); color: rgba(255, 255, 255, .78); padding: clamp(5rem, 10vw, 8rem) 0; position: relative; overflow: hidden; }
.purity::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(closest-side, rgba(42, 208, 230, .18), transparent); }
.purity__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; position: relative; }
.purity h2 { color: var(--white); }
.purity__media img { border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.steps { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1rem; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: background .3s, border-color .3s; }
.steps li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(42, 208, 230, .4); }
.steps h4 { color: var(--white); font-size: 1.05rem; margin-bottom: .25rem; }
.steps p { margin: 0; font-size: .95rem; }
.steps__icon, .card__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.steps__icon svg, .card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* SIZES */
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; align-items: end; height: 340px; }
.size { display: flex; flex-direction: column; align-items: center; gap: .9rem; height: 100%; justify-content: flex-end; }
.size__jar { width: 100%; max-width: 120px; height: var(--h); border-radius: 18px 18px 14px 14px; background: rgba(255, 255, 255, .8); border: 2px solid #bfe2ee; position: relative; overflow: hidden; box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .7), 0 14px 30px -18px rgba(21, 114, 201, .6); }
.size__jar::before { content: ""; position: absolute; top: -10px; left: 50%; translate: -50%; width: 34%; height: 14px; background: var(--blue); border-radius: 6px; z-index: 2; }
.size__fill { position: absolute; inset: auto 0 0; height: 0; background: linear-gradient(180deg, rgba(42, 208, 230, .85), rgba(21, 114, 201, .95)); transition: height 1.6s cubic-bezier(.2, .8, .2, 1); }
.size__fill::before { content: ""; position: absolute; top: -8px; left: -50%; width: 200%; height: 16px; background: radial-gradient(12px 8px at 12px 8px, rgba(42, 208, 230, .85) 98%, transparent) 0 0 / 24px 16px repeat-x; animation: ripple 3s linear infinite; }
@keyframes ripple { to { transform: translateX(24px); } }
.sizes.is-visible .size__fill { height: 82%; }
.size:nth-child(2) .size__fill { transition-delay: .1s; } .size:nth-child(3) .size__fill { transition-delay: .2s; } .size:nth-child(4) .size__fill { transition-delay: .3s; } .size:nth-child(5) .size__fill { transition-delay: .4s; } .size:nth-child(6) .size__fill { transition-delay: .5s; }
.size b { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.15rem; }

/* LIFESTYLE */
.lifestyle { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.lifestyle > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 8%; }
.lifestyle__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 26, 48, .88) 0%, rgba(4, 26, 48, .45) 50%, transparent 80%), linear-gradient(0deg, rgba(4, 26, 48, .6), transparent 50%); }
.lifestyle__copy { position: relative; padding: 6rem 0; max-width: 1180px; }
.lifestyle h2 { color: var(--white); max-width: 34rem; }
.lifestyle p { max-width: 28rem; color: rgba(255, 255, 255, .82); font-size: 1.1rem; }

/* WHY */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card { padding: 2rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--white), var(--mist)); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { margin-bottom: 1.3rem; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* VISIT */
.visit { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; color: rgba(255, 255, 255, .8); overflow: hidden; background: var(--deep); }
.visit__bg { position: absolute; inset: 0; background: url("assets/img/water.webp") center / cover; opacity: .16; mix-blend-mode: screen; }
.visit::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 20% 20%, rgba(16, 179, 163, .25), transparent 60%); pointer-events: none; }
.visit__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.visit h2 { color: var(--white); }
.contact { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.contact li { display: flex; gap: 1.2rem; align-items: baseline; padding-bottom: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 1.1rem; color: var(--white); }
.contact span { width: 64px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); }
.contact a { text-decoration: none; transition: color .2s; }
.contact a:hover { color: var(--aqua); }
.form { background: var(--white); border-radius: 26px; padding: 2.2rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); display: grid; gap: 1rem; }
.form h3 { margin-bottom: .3rem; }
.form label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--text); padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--mist); transition: border-color .2s, background .2s; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }

/* FOOTER */
.footer { background: var(--deep); color: rgba(255, 255, 255, .6); border-top: 1px solid rgba(255, 255, 255, .08); padding: 2.4rem 0; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__brand img { width: 44px; height: auto; }
.footer__brand strong { display: block; font-family: var(--font-head); color: var(--white); font-size: 1.1rem; }
.footer__brand span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.footer__links { display: flex; gap: 1.6rem; }
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__legal { margin: 0; width: 100%; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero__inner, .purity__grid, .visit__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; justify-self: center; }
  .why { grid-template-columns: 1fr 1fr; }
  .purity__media { max-width: 520px; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 76px 16px auto; flex-direction: column; align-items: stretch; gap: 0; padding: .8rem; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .25s, transform .25s; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a:not(.btn) { color: var(--ink); padding: .9rem 1rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: .4rem; }
  .nav__brand img { height: 38px; }
  .ways { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: repeat(3, 1fr); height: auto; row-gap: 2rem; }
  .size { height: 200px; }
  .why { grid-template-columns: 1fr; }
  .lifestyle { min-height: 90vh; }
  .lifestyle__overlay { background: linear-gradient(0deg, rgba(4, 26, 48, .92) 10%, rgba(4, 26, 48, .2) 65%); }
  .form { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .size__fill { height: 82%; }
  html { scroll-behavior: auto; }
}
