/* ============================================================
   PINK LAGOON POOLS — CINEMATIC SITE 2025
   Palette (sampled from brand logo + color-block images):
   navy #194960 · script pink #f498c0 · hot pink #ff66c4
   cyan #4ad8f9 · lime #a6e864 · green #59d98c
   ============================================================ */

:root {
  --navy: #194960;
  --navy-deep: #0b2534;
  --ink: #04141f;
  --pink: #ff66c4;
  --pink-soft: #f498c0;
  --pink-ghost: rgba(255, 102, 196, 0.14);
  --cyan: #4ad8f9;
  --lime: #a6e864;
  --paper: #f6f8f9;
  --white: #ffffff;
  --muted: rgba(244, 250, 253, 0.66);
  --line: rgba(255, 255, 255, 0.14);
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-script: 'Yellowtail', cursive;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --gutter: clamp(20px, 4.5vw, 84px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: var(--ink); }

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 800; }

/* ---------- film grain + vignette ---------- */
.grain {
  position: fixed; inset: -100px; z-index: 2000; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-38px, 22px); }
  50% { transform: translate(24px, -30px); }
  75% { transform: translate(-14px, -32px); }
  100% { transform: translate(0, 0); }
}
.grain { animation-name: grainShift; }

.vignette {
  position: fixed; inset: 0; z-index: 900; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 58%, rgba(2, 10, 16, 0.42) 100%);
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1300;
  background: rgba(255, 255, 255, 0.06); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transform: scaleX(0); transform-origin: left;
}

/* ---------- custom cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 2000; pointer-events: none; opacity: 0; }
.cursor__dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink); transform: translate(-50%, -50%);
}
.cursor__ring {
  position: absolute; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(255, 102, 196, 0.65);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.28s var(--ease-out), background 0.28s, opacity 0.28s;
}
.cursor__label {
  position: absolute; transform: translate(-50%, -50%) scale(0);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--pink); padding: 7px 14px; border-radius: 999px;
  transition: transform 0.3s var(--ease-out);
  white-space: nowrap;
}
.cursor.is-link .cursor__ring { transform: translate(-50%, -50%) scale(1.9); background: rgba(255, 102, 196, 0.12); }
.cursor.is-view .cursor__ring { transform: translate(-50%, -50%) scale(2.6); border-color: transparent; background: var(--pink); }
.cursor.is-view .cursor__label { transform: translate(-50%, -50%) scale(1); }
.cursor.is-view .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  clip-path: inset(0 0 0 0);
}
.loader__inner { text-align: center; }
.loader__script {
  display: block; font-family: var(--font-script); font-size: clamp(44px, 9vw, 96px);
  color: var(--pink); line-height: 1;
  text-shadow: 0 0 26px rgba(255, 102, 196, 0.55);
  animation: neonFlicker 2.8s ease-in-out infinite;
}
.loader__word {
  display: block; margin-top: 10px; font-weight: 800; letter-spacing: 0.5em;
  font-size: clamp(14px, 2.4vw, 22px); color: var(--white);
}
.loader__bar {
  width: min(320px, 60vw); height: 2px; margin: 34px auto 0;
  background: rgba(255, 255, 255, 0.12); overflow: hidden; border-radius: 2px;
}
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.loader__count {
  margin-top: 18px; font-size: 13px; letter-spacing: 0.3em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@keyframes neonFlicker {
  0%, 100% { opacity: 1; text-shadow: 0 0 18px rgba(255,102,196,.5), 0 0 60px rgba(255,102,196,.25); }
  8% { opacity: 0.72; } 9% { opacity: 1; }
  34% { opacity: 1; } 35% { opacity: 0.6; text-shadow: none; } 36% { opacity: 1; }
  60% { text-shadow: 0 0 24px rgba(255,102,196,.7), 0 0 60px rgba(255,102,196,.3); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; border: 0;
  position: relative; overflow: hidden;
}
.btn b { font-weight: 700; transition: transform 0.35s var(--ease-out); }
.btn:hover b { transform: translateX(5px); }
.btn--hot {
  background: var(--pink); color: var(--ink);
  padding: 17px 34px; border-radius: 999px;
  box-shadow: 0 12px 40px rgba(255, 102, 196, 0.35);
}
.btn--hot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn--hot:hover::after { transform: translateX(120%); }
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.45); color: var(--white);
  padding: 16px 30px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn--pill {
  background: var(--pink); color: var(--ink);
  padding: 11px 24px; border-radius: 999px; font-size: 14px;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 3px;
}

/* ---------- header ---------- */
.header {
  /* Sits ABOVE .mega (z-index 1200) on purpose: the mega overlay covers the
     viewport, so while the menu is open the burger must stay on top of it and
     clickable — otherwise the only way to close the menu is Escape. */
  position: fixed; top: 0; left: 0; right: 0; z-index: 1250;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter, 34px);
  transition: background 0.45s, padding 0.4s var(--ease-out), backdrop-filter 0.4s;
  mix-blend-mode: normal;
}
.header.is-scrolled {
  background: rgba(4, 20, 31, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 8px; padding-bottom: 12px;
}
.header__brand { display: inline-flex; text-decoration: none; }
.header__logo { height: 58px; width: auto; transition: height 0.35s var(--ease-out); }
.header.is-scrolled .header__logo { height: 44px; }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; text-align: right; }
.header__phone-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink); font-weight: 700; }
.header__phone-num { font-size: 15px; font-weight: 700; color: var(--white); }
.header__book { padding: 12px 24px; font-size: 14px; }

.burger {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  cursor: pointer; position: relative; backdrop-filter: blur(8px);
  display: grid; place-items: center; gap: 0;
}
.burger span {
  display: block; width: 22px; height: 2px; background: var(--white);
  transition: transform 0.45s var(--ease-expo), opacity 0.3s;
  grid-column: 1; grid-row: 1;
}
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

/* ---------- mega navigation ---------- */
.mega {
  position: fixed; inset: 0; z-index: 1200;
  visibility: hidden; pointer-events: none;
  overscroll-behavior: contain;
}
.mega.is-open { visibility: visible; pointer-events: auto; touch-action: none; }
/* Without GSAP (reduced motion / no gsap) the panel is not animated by a
   timeline, so it needs a plain CSS state rule — otherwise the menu content
   appears over the page with no background behind it. */
html.no-anim .mega__bg { transition: transform 0.85s var(--ease-expo); }
html.no-anim .mega.is-open .mega__bg { transform: translateY(0); }
.mega__bg {
  position: absolute; inset: 0; background: var(--navy-deep);
  transform: translateY(-100%);
  will-change: transform;
}
.mega__bg span {
  position: absolute; right: -2vw; bottom: -6vw;
  font-family: var(--font-script); font-size: 34vw; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 102, 196, 0.12);
  user-select: none; white-space: nowrap;
}
.mega__inner {
  position: relative; height: 100%;
  max-width: 1500px; margin: 0 auto; padding: 16vh var(--gutter, 6vw) 8vh;
  display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 6vw;
  opacity: 0; transition: opacity 0.5s 0.25s;
}
.mega.is-open .mega__inner { opacity: 1; }
.mega__links { list-style: none; margin: 0; padding: 0; align-self: center; }
.mega__links li { overflow: hidden; }
.mega__links a {
  display: flex; align-items: baseline; gap: 22px;
  font-size: clamp(40px, 7.2vh, 74px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--white); text-decoration: none; line-height: 1.18;
  transform: translateY(110%);
  transition: color 0.3s, letter-spacing 0.45s var(--ease-out);
}
.mega.is-open .mega__links a { transform: translateY(0); transition: transform 0.85s var(--ease-expo) calc(0.12s + var(--i) * 0.055s); }
.mega__links em { font-style: normal; font-size: 13px; color: var(--pink); letter-spacing: 0.14em; font-weight: 600; }
.mega__links a:hover { color: var(--pink); letter-spacing: 0.01em; }
.mega__links a span { position: relative; }
.mega__links a span::after {
  content: ""; position: absolute; left: 0; bottom: 6px; height: 3px; width: 100%;
  background: var(--pink); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-expo);
}
.mega__links a:hover span::after { transform: scaleX(1); transform-origin: left; }

.mega__side { display: flex; flex-direction: column; justify-content: flex-end; gap: 26px; padding-bottom: 2vh; }
.mega__preview {
  border-radius: 20px; overflow: hidden; aspect-ratio: 16/10;
  border: 1px solid var(--line); background: var(--navy);
  transform: translateY(40px); opacity: 0; transition: 0.6s var(--ease-out) 0.3s;
}
.mega.is-open .mega__preview { transform: none; opacity: 1; }
.mega__preview img { width: 100%; height: 100%; object-fit: cover; }
.mega__meta { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.mega__meta a { color: rgba(255,255,255,0.85); text-decoration: none; width: fit-content; }
.mega__meta a:hover { color: var(--pink); }
.mega__ig img { width: 30px; margin-top: 8px; }
.mega__hours { color: var(--muted); font-size: 13.5px; letter-spacing: 0.04em; }

/* ---------- shared section chrome ---------- */
.section { position: relative; padding: clamp(90px, 14vh, 170px) var(--gutter, 6vw); }
.section__head { display: flex; align-items: baseline; gap: 26px; margin-bottom: clamp(44px, 7vh, 90px); }
.section__index {
  font-size: 13px; font-weight: 700; letter-spacing: 0.3em; color: var(--pink);
  border: 1px solid rgba(255, 102, 196, 0.4); border-radius: 999px; padding: 7px 16px;
}
.section__kicker {
  font-size: clamp(30px, 5vw, 64px); font-weight: 800; letter-spacing: -0.02em;
  text-transform: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 640px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 78% 12%, rgba(255, 102, 196, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(4, 20, 31, 0.42) 0%, rgba(4, 20, 31, 0.28) 34%, rgba(4, 20, 31, 0.78) 74%, rgba(4, 20, 31, 0.94) 100%);
}
.hero__content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1500px; margin: 0 auto;
  padding: 0 var(--gutter, 6vw) clamp(120px, 17vh, 190px);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pink); border: 1px solid rgba(255, 102, 196, 0.45);
  padding: 9px 18px; border-radius: 999px; backdrop-filter: blur(6px);
  background: rgba(4, 20, 31, 0.3); margin-bottom: 26px;
}
.hero__eyebrow i { font-style: normal; animation: spinStar 6s linear infinite; display: inline-block; }
@keyframes spinStar { to { transform: rotate(360deg); } }
.hero__title {
  position: relative; margin: 0;
  font-size: clamp(64px, 12.5vw, 190px);
  line-height: 0.9; letter-spacing: -0.025em; font-weight: 800; text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; }
.hero__line--accent { color: var(--pink); }
.hero__word { display: inline-block; will-change: transform; }
.hero__script {
  position: absolute; right: 2vw; bottom: -0.18em;
  font-family: var(--font-script); font-weight: 400; font-size: clamp(40px, 7vw, 110px);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 102, 196, 0.8);
  transform: rotate(-4deg); pointer-events: none;
  text-shadow: 0 0 34px rgba(255, 102, 196, 0.35);
}
.hero__sub {
  margin-top: 26px; max-width: 44ch;
  font-size: clamp(15px, 1.6vw, 21px); font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 var(--gutter, 6vw) 26px;
}
.hero__cue { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.hero__cue-line { width: 1px; height: 54px; background: linear-gradient(var(--pink), transparent); animation: cuePulse 2.2s var(--ease-out) infinite; }
@keyframes cuePulse { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__cue-line { animation: cuePulse 2.2s ease-in-out infinite; }
.hero__areas {
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62); text-align: center; margin: 0 auto;
}
.hero__ig img { width: 26px; opacity: 0.85; }

/* ---------- marquee ---------- */
.marquee {
  background: var(--pink); color: var(--ink); overflow: hidden;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.2);
  transform: rotate(-1.2deg) scale(1.02); margin: -8px 0;
}
.marquee__track { display: flex; white-space: nowrap; will-change: transform; }
.marquee__track span {
  font-size: 15px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding-right: 24px;
}
.marquee__track i { font-style: normal; color: var(--navy); padding: 0 10px; }

/* ---------- about ---------- */
.about { background: var(--ink); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.about__copy {
  font-size: clamp(26px, 3.4vw, 52px); font-weight: 600; line-height: 1.22; letter-spacing: -0.01em;
  color: var(--white);
}
.about__side { position: relative; display: grid; justify-items: center; gap: 20px; }
.about__spark { width: 90px; mix-blend-mode: screen; opacity: 0.9; }
.about__badge { max-width: 300px; }
.about__note { color: var(--muted); font-size: 14px; text-align: center; max-width: 34ch; }

/* ---------- services (horizontal rail) ---------- */
.services { position: relative; background: var(--ink); }
.services__pin { height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.services__track { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding: 0 var(--gutter, 6vw); width: max-content; }
.services__intro { flex: 0 0 auto; width: clamp(280px, 30vw, 460px); padding-right: 2vw; }
.services__title { font-size: clamp(44px, 6.5vw, 96px); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; }
.services__title em { font-style: normal; color: var(--pink); }
.services__hint { margin-top: 26px; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; font-size: 12px; }
.svc {
  flex: 0 0 auto; width: clamp(300px, 30vw, 430px);
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px; padding: 18px 18px 26px; position: relative;
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.svc:hover { border-color: var(--pink); }
.svc__media {
  border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; background: var(--tint, var(--navy));
}
.svc__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.94; transition: transform 0.7s var(--ease-out), mix-blend-mode 0.5s; }
.svc:hover .svc__media img { transform: scale(1.07); mix-blend-mode: normal; }
.svc__num { position: absolute; top: 26px; right: 22px; font-family: var(--font-script); font-size: 44px; color: var(--pink); }
.svc__title { margin: 18px 4px 0; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -0.01em; }
.services__progress { position: absolute; bottom: 5vh; left: 50%; transform: translateX(-50%); width: min(420px, 60vw); height: 2px; background: rgba(255,255,255,0.12); }
.services__progress span { display: block; height: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; }

/* ---------- immaculate (video interlude) ---------- */
.immaculate { position: relative; min-height: 88svh; display: grid; place-items: center; overflow: hidden; }
.immaculate__media, .immaculate__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.immaculate__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,20,31,0.55), rgba(4,20,31,0.35) 45%, rgba(4,20,31,0.8));
}
.immaculate__inner { position: relative; text-align: center; padding: 0 var(--gutter, 6vw); }
.immaculate__kicker { font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--pink); margin-bottom: 22px; }
.immaculate__title {
  font-size: clamp(38px, 7vw, 104px); line-height: 1.02; letter-spacing: -0.02em;
  font-weight: 800; text-transform: uppercase; text-wrap: balance;
}
.immaculate__title .accent { color: var(--pink); }

/* ---------- why (stacking deck) ---------- */
.why { background: var(--ink); }
.why__deck { display: grid; gap: 18px; }
.why__card {
  position: sticky; top: 12vh;
  background: linear-gradient(140deg, #0e3145 0%, #0a2434 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px; padding: clamp(30px, 4vw, 54px);
  min-height: 46vh; display: grid; align-content: center; gap: 12px;
  box-shadow: 0 -14px 60px rgba(0, 0, 0, 0.45);
}
.why__card:nth-child(2) { --cardtint: #123b52; }
.why__card:nth-child(odd) { background: linear-gradient(140deg, #11374d 0%, #0b2333 100%); }
.why__num { font-family: var(--font-script); color: var(--pink); font-size: 30px; }
.why__card h3 { font-size: clamp(28px, 4vw, 58px); line-height: 1.05; letter-spacing: -0.015em; text-transform: uppercase; }
.why__card p { color: var(--muted); max-width: 52ch; font-size: clamp(15px, 1.4vw, 19px); }

/* ---------- reviews ---------- */
.reviews { background: var(--navy-deep); overflow: hidden; text-align: center; }
.reviews__glow {
  position: absolute; top: 50%; left: 50%; width: 70vw; height: 60vh; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 102, 196, 0.13), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.reviews__figure { max-width: 1000px; margin: 0 auto; position: relative; }
.reviews__stars { color: var(--pink); letter-spacing: 0.35em; font-size: 19px; margin-bottom: 30px; }
.reviews__quote {
  font-size: clamp(22px, 3.4vw, 46px); font-weight: 600; line-height: 1.28; letter-spacing: -0.01em;
  text-wrap: balance; margin: 0;
}
.reviews__by { margin-top: 34px; font-family: var(--font-script); font-size: clamp(26px, 3vw, 40px); color: var(--pink); }

/* ---------- faq ---------- */
.faq { background: var(--ink); }
.faq__list { max-width: 900px; }
.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -0.01em;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--pink); }
.faq__item summary i {
  flex: 0 0 auto; width: 34px; height: 34px; border: 1.5px solid var(--pink); border-radius: 50%;
  position: relative; transition: transform 0.45s var(--ease-expo), background 0.3s;
}
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--pink);
  transform: translate(-50%, -50%);
}
.faq__item summary i::before { width: 14px; height: 2px; }
.faq__item summary i::after { width: 2px; height: 14px; transition: opacity 0.3s; }
.faq__item[open] summary i { transform: rotate(135deg); background: var(--pink-ghost); }
.faq__item p { padding: 0 4px 28px; color: var(--muted); max-width: 62ch; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--ink); }
.contact__media, .contact__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,20,31,0.96) 30%, rgba(4,20,31,0.72) 55%, rgba(4,20,31,0.55));
}
.contact__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 110px); padding: clamp(90px, 13vh, 160px) var(--gutter, 6vw);
}
.contact__title { font-size: clamp(40px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.contact__title .accent { color: var(--pink); }
.contact__channels { margin-top: 40px; display: grid; gap: 8px; }
.contact__tel { font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; text-decoration: none; color: var(--white); letter-spacing: -0.01em; }
.contact__tel:hover { color: var(--pink); }
.contact__mail { color: rgba(255,255,255,0.8); text-decoration: none; }
.contact__mail:hover { color: var(--pink); }
.contact__addr, .contact__hours { color: var(--muted); font-size: 14.5px; margin-top: 14px; }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; align-content: start; }
.field { position: relative; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px;
  color: var(--white); font: 600 15.5px var(--font-display);
  padding: 24px 18px 10px; outline: none; transition: border 0.3s, background 0.3s;
  resize: vertical;
}
.field textarea { min-height: 120px; }
.field label {
  position: absolute; left: 18px; top: 17px; font-size: 15px; color: rgba(255,255,255,0.62);
  pointer-events: none; transition: 0.25s var(--ease-out);
}
.field label b { color: var(--pink); }
.field input:focus, .field textarea:focus { border-color: var(--pink); background: rgba(255, 102, 196, 0.06); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  top: 7px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink);
}
.contact__submit { grid-column: 1 / -1; justify-self: start; border: 0; }
.contact__status { grid-column: 1 / -1; font-size: 14px; color: var(--pink); min-height: 20px; }

/* ---------- footer ---------- */
.footer { background: #02090e; padding: clamp(70px, 10vh, 130px) var(--gutter, 6vw) 0; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 0.9fr; gap: clamp(28px, 4vw, 70px); position: relative; z-index: 2; }
.footer__logo { max-width: 250px; }
.footer__head { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--pink); margin: 0 0 12px; font-weight: 700; }
.footer__head--gap { margin-top: 26px; }
.footer__col p { color: var(--muted); font-size: 14.5px; }
.footer__col a { color: var(--white); text-decoration: none; }
.footer__col a:hover { color: var(--pink); }
.footer__ig img { width: 30px; margin-top: 16px; }
.footer__watermark {
  font-size: clamp(70px, 13vw, 210px); font-weight: 800; letter-spacing: 0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 102, 196, 0.13);
  white-space: nowrap; text-align: center; margin-top: 40px; user-select: none;
  transform: translateY(24%);
}
.footer__base {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: -30px;
  position: relative; z-index: 2; color: var(--muted); font-size: 13.5px;
}
.footer__base a { color: var(--muted); text-decoration: none; }
.footer__base a:hover { color: var(--pink); }

/* ---------- touch scroll lock (mobile only, no layout shift) ---------- */
body.is-locked { overflow: hidden; }

/* ---------- magnetic helper ---------- */
[data-magnetic] { will-change: transform; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__media video { width: 100%; height: 100%; object-fit: cover; }
  .cursor { display: none !important; }
  .loader { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .contact__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__side { justify-items: start; }
  /* Services: vertical stack on tablets/phones (no pinned rail) */
  .services__pin { height: auto; overflow: visible; padding: clamp(90px, 13vh, 150px) 0; }
  .services__track {
    flex-direction: column; align-items: stretch;
    width: auto; padding: 0 var(--gutter, 6vw);
    gap: 20px;
  }
  .services__intro { width: auto; padding: 0 0 6px; }
  .svc { width: 100%; }
  .services__progress, .services__hint { display: none; }
}
@media (max-width: 900px) {
  .mega__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding-top: 11vh; padding-bottom: 4vh;
    gap: 3vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mega__links a { font-size: clamp(34px, 6.8vh, 54px); line-height: 1.12; }
  .mega__links em { font-size: 11px; }
  .mega__side { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding-bottom: 0; }
  .mega__preview { display: none; }
  .mega__meta { font-size: 14px; }
  .mega__ig img { width: 26px; margin-top: 4px; }
  .mega__hours { font-size: 12.5px; }
  .mega__bg span { font-size: 58vw; opacity: 0.5; }
}
@media (max-width: 640px) {
  .header__phone, .header__book { display: none; }
  .hero__title { font-size: clamp(52px, 16vw, 96px); }
  .hero__script { right: 4vw; }
  .contact__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__watermark { font-size: 64px; }
  .hero__foot { flex-wrap: wrap; gap: 10px; }
  .hero__areas { display: none; }
  .marquee { transform: rotate(-2deg); }
}

/* ---------- social links (footer, mega nav, hero) ----------
   The anchors keep their original per-context classes (footer__ig, mega__ig,
   hero__ig) so nothing else regresses; .social is the shared row wrapper and
   its higher specificity overrides the older single-icon sizing. */
.social { display: flex; align-items: center; gap: 14px; }
.social > a {
  display: inline-flex; line-height: 0; border-radius: 8px;
  transition: transform 0.35s var(--ease-out);
}
.social > a img {
  width: 30px; height: auto; margin-top: 0; opacity: 1;
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.social > a:hover img,
.social > a:focus-visible img { transform: translateY(-3px); opacity: 0.86; }
.social > a:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }

.footer__social { margin-top: 18px; }
.mega__social { margin-top: 12px; }
.mega__social > a img { width: 28px; }
.hero__social > a img { width: 26px; opacity: 0.85; }
.hero__social > a:hover img,
.hero__social > a:focus-visible img { opacity: 1; }

/* ============================================================
   HOMEPAGE CONTENT SECTIONS
   (added with the client's 2026-09 homepage wording update)
   ============================================================ */

/* ---------- hero: longer headline + supporting copy ----------
   The approved headline ("Your Neighborhood Pool Care Experts")
   has far longer words than the previous one, so the display
   scale is reduced and the hero is allowed to grow past one
   viewport instead of clipping its own copy. */
.hero { height: auto; min-height: 100svh; }
.hero__title--lede { font-size: clamp(38px, 6.6vw, 104px); }
.hero__tag {
  margin-top: 24px; font-family: var(--font-script);
  font-size: clamp(24px, 2.6vw, 40px); line-height: 1.25; color: var(--pink);
}

/* ---------- intro band (hero body copy) ---------- */
.intro {
  background: var(--navy-deep);
  padding: clamp(56px, 9vh, 104px) var(--gutter, 6vw) clamp(24px, 4vh, 46px);
}
.intro__inner {
  max-width: 1500px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 72px);
}
.intro__inner p {
  color: rgba(244, 250, 253, 0.78);
  font-size: clamp(15px, 1.32vw, 19.5px); line-height: 1.66;
}
.intro__inner p:first-child { color: var(--white); font-weight: 500; }
@media (max-width: 900px) { .intro__inner { grid-template-columns: 1fr; } }

/* ---------- about: heading + multi-paragraph body ---------- */
.about__title {
  font-size: clamp(30px, 4.4vw, 64px); line-height: 1.06;
  letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 28px;
}
.about__title .accent { color: var(--pink); }
.about__body p {
  color: var(--muted); font-size: clamp(14.5px, 1.3vw, 17.5px);
  line-height: 1.68; max-width: 68ch;
}
.about__body p + p { margin-top: 16px; }

/* ---------- detail sections (weekly service / water chemistry) ---------- */
.detail { background: var(--navy-deep); }
.detail--alt { background: var(--ink); }
.detail__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px); align-items: start;
}
.detail__prose p { color: var(--muted); font-size: clamp(15px, 1.35vw, 19px); line-height: 1.66; }
.detail__prose p + p { margin-top: 18px; }
.detail__prose strong { color: var(--white); }
.detail__sub {
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; color: var(--white);
  margin-bottom: 4px;
}
.detail__checklist { list-style: none; display: grid; gap: 10px; }
.detail__checklist li {
  position: relative; padding: 14px 18px 14px 50px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px; color: rgba(244, 250, 253, 0.86);
  font-size: clamp(14.5px, 1.15vw, 16.5px);
}
.detail__checklist li::before {
  content: "\2713"; position: absolute; left: 19px; top: 50%; transform: translateY(-50%);
  color: var(--pink); font-weight: 800;
}
.detail__aside { display: grid; gap: 20px; align-content: start; }
.detail__goalm {
  font-family: var(--font-script); font-size: clamp(24px, 2.5vw, 38px);
  color: var(--pink); line-height: 1.2;
}

/* ---------- pink notice callout (scope disclaimer) ---------- */
.notice {
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 32px);
  border-radius: 18px; border: 1px solid rgba(255, 102, 196, 0.34);
  background: var(--pink-ghost); color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14.5px, 1.2vw, 17px); line-height: 1.6; max-width: 74ch;
}
.notice b { color: var(--pink); }

/* ---------- service area + promise ---------- */
.area { background: var(--navy-deep); border-top: 1px solid var(--line); }
.area__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 90px); align-items: center;
}
.area__lead { color: rgba(244, 250, 253, 0.72); font-size: clamp(15px, 1.4vw, 19px); }
.area__title {
  font-size: clamp(26px, 3.4vw, 50px); line-height: 1.08;
  letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 18px;
}
.area__title .accent { color: var(--pink); }
.area__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.area__list li {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244, 250, 253, 0.82);
}
.promise { border-left: 2px solid var(--pink); padding-left: clamp(20px, 2.4vw, 34px); }
.promise__label {
  font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 18px;
}
.promise__line {
  font-family: var(--font-script); font-size: clamp(28px, 3.2vw, 50px);
  color: var(--pink); line-height: 1.18;
}
.promise__sign {
  margin-top: 22px; font-size: clamp(17px, 1.7vw, 24px); font-weight: 800;
  letter-spacing: -0.01em; color: var(--white);
}
.promise__note { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 46ch; }

@media (max-width: 900px) {
  .mega__social > a img { width: 26px; }
}
@media (max-width: 1024px) {
  .detail__grid, .area__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__title--lede { font-size: clamp(32px, 10vw, 62px); }
  .about__title { margin-bottom: 22px; }
  /* the approved hero copy is longer than the section it replaced —
     trim the bottom padding so the hero still fits one phone screen */
  .hero__content { padding-bottom: 118px; }
}
