/* Aventyss website. Colors follow the game: sunlit turquoise shallows that sink into navy and black,
   gold means treasure and reward, the blue capsule means action; round Nunito everywhere. */
@font-face { font-family: "Nunito"; src: url("fonts/nunito_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito_extrabold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito_black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --foam: #eafcff;
  --text: #e3f5ff;
  --text-dim: rgba(227, 245, 255, .72);
  --aqua: #6ee7f5;
  --aqua-deep: #22b8dc;
  --sea: #1486c2;
  --deep: #0a3a5c;
  --ink: #06263a;
  --night: #020b16;
  --gold-light: #ffe7a0;
  --gold: #ffcb52;
  --gold-deep: #f29c1f;
  --gold-ink: #4a2a05;
  --coral: #ff8a78;
  --kelp: #6fdc8c;
  --o2: #5fd3ff;
  --violet: #b99bff;
  --line: rgba(160, 230, 255, .16);
  --glass: rgba(4, 30, 52, .62);
  --max: 1200px;
  --radius: 26px;

  /* The water behind the page follows the scroll from the sunlit shallows down to the Hadal Zone (site.js). */
  --depth-a: #2fb4da;
  --depth-b: #0d5f94;
  --sun: .55;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.6 "Nunito", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { color: var(--foam); }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; font-weight: 900; }
p { text-wrap: pretty; }
strong, b { font-weight: 900; }
.ic { width: 22px; height: 22px; fill: currentColor; flex: none; }
.muted { color: var(--text-dim); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 50;
  padding: 10px 14px; background: var(--foam); color: var(--ink); border-radius: 12px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- Living water behind every page ---------- */
.ocean {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, var(--depth-a), var(--depth-b));
}
/* Sun rays from the surface; they fade out as the page sinks (--sun). */
.ocean::before {
  content: ""; position: absolute; inset: -10% -20% 20%; opacity: var(--sun);
  background:
    linear-gradient(100deg, transparent 18%, rgba(255, 255, 255, .16) 21%, transparent 25%),
    linear-gradient(80deg, transparent 38%, rgba(255, 255, 255, .12) 42%, transparent 47%),
    linear-gradient(104deg, transparent 58%, rgba(255, 255, 255, .1) 61%, transparent 66%),
    linear-gradient(76deg, transparent 74%, rgba(255, 255, 255, .13) 77%, transparent 81%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
  transform-origin: 50% 0; animation: rays 14s ease-in-out infinite alternate;
}
.ocean::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 35%, transparent 40%, rgba(1, 8, 18, .5)); }

/* Bubbles, marine snow and the descending diver are drawn into one viewport-sized canvas (site.js). */
.sea-layer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.gauge {
  position: fixed; right: 18px; top: 86px; z-index: 20;
  display: flex; gap: 8px; pointer-events: none; opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .4s;
}
.gauge.is-on { opacity: 1; transform: none; }
.gauge .chip { padding: 7px 14px 7px 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gauge .chip b { font-size: 17px; }
.gauge .o2 { width: 92px; }

/* ---------- Navigation ---------- */
.nav {
  max-width: var(--max); margin: auto; padding: 16px 28px;
  display: flex; align-items: center; gap: 28px; position: relative; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--foam); font-size: 23px; font-weight: 900; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.brand:hover { color: var(--foam); }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; flex-wrap: wrap; }
.nav a:not(.brand) {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text-dim); text-decoration: none; font-weight: 800; font-size: 15px;
  transition: color .2s, background .2s;
}
.nav a:not(.brand):hover, .nav a[aria-current=page] { color: var(--foam); background: rgba(160, 230, 255, .14); }
/* Over the sky band at the top of the home page the links need dark ink. */
.home .site-nav:not(.is-scrolled) .nav a:not(.brand) { color: rgba(6, 38, 58, .72); }
.home .site-nav:not(.is-scrolled) .nav a:not(.brand):hover { color: var(--ink); background: rgba(255, 255, 255, .35); }
.home .site-nav:not(.is-scrolled) .brand { color: var(--ink); }
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background .35s, box-shadow .35s; }
.site-nav.is-scrolled, header:not(.site-nav) {
  background: rgba(3, 22, 40, .72);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .2);
}

/* ---------- Buttons (the in-game blue capsule; gold for treasure) ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
  border-radius: 999px; border: 0;
  background: linear-gradient(180deg, #8ff0ff, var(--aqua-deep) 55%, #1585c4);
  color: #032a44; font: 900 16px/1 inherit; font-family: inherit; letter-spacing: .04em; text-decoration: none;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(4, 60, 110, .35), 0 12px 32px rgba(34, 184, 220, .3);
  transition: transform .2s, filter .2s;
}
a.button, button.button { cursor: pointer; }
a.button:hover, button.button:hover { color: #032a44; filter: brightness(1.07); transform: translateY(-2px); }
.button.gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 52%, var(--gold-deep)); color: var(--gold-ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -3px 0 rgba(160, 90, 20, .35), 0 12px 32px rgba(255, 203, 82, .28);
}
.button.ghost {
  background: var(--glass); color: var(--foam); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.button.ghost:hover { color: var(--foam); background: rgba(10, 58, 92, .85); }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.actions.center { justify-content: center; }

/* Store badges: not live yet, so they are labels rather than links. */
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 24px 0 18px;
  border-radius: 18px; background: rgba(2, 12, 24, .82); border: 1px solid rgba(160, 230, 255, .28); color: var(--foam);
  line-height: 1.1; box-shadow: 0 14px 34px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.store .ic { width: 28px; height: 28px; }
.store small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--text-dim); }
.store span { font-size: 19px; font-weight: 900; }
.store .soon {
  position: absolute; top: -10px; right: -8px; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); color: var(--gold-ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

/* ---------- Glass and chips ---------- */
.glass, .card {
  background: linear-gradient(160deg, rgba(40, 150, 200, .2), rgba(2, 18, 34, .62));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border-radius: 999px;
  background: rgba(2, 18, 34, .78); border: 1px solid var(--line); color: var(--foam);
  font-weight: 900; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); line-height: 1.15;
}
.chip b { font-size: 20px; font-variant-numeric: tabular-nums; }
.chip small { display: block; color: var(--text-dim); font-size: 12px; font-weight: 800; }
.coin { width: 22px; height: 22px; flex: none; }
.bar { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(180deg, #b6f0ff, var(--o2)); transform-origin: left; transform: scaleX(var(--v, 1)); transition: transform .4s, background .3s; }
.bar i.is-low { background: linear-gradient(180deg, #ffc1b6, var(--coral)); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(700px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
/* The surface: a sliver of sky and a moving waterline above the first screen. */
.surface { position: absolute; left: 0; right: 0; top: 0; height: 150px; z-index: -1; pointer-events: none; }
.surface::before { content: ""; position: absolute; inset: 0 0 40px; background: linear-gradient(180deg, #9fe6ff, #6fd2f2); }
.surface svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 60px; animation: swell 11s linear infinite; }
.surface svg path:first-child { fill: rgba(255, 255, 255, .45); }
.surface svg path + path { fill: #43c2e4; }
.hero-inner {
  max-width: var(--max); width: 100%; margin: auto; padding: 190px 28px 110px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.kicker, .eyebrow { color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.wordmark, .tagline { display: block; }
.wordmark {
  font-size: clamp(64px, 9.4vw, 132px); line-height: .9; letter-spacing: -.035em; margin: 16px 0 6px; padding-bottom: .06em;
  background: linear-gradient(180deg, #fff 0 46%, #bff4ff 47%, var(--aqua) 70%, var(--aqua-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: .035em var(--ink); paint-order: stroke fill;
  filter: drop-shadow(0 .06em 0 var(--ink)) drop-shadow(0 14px 30px rgba(0, 20, 40, .45));
}
.tagline { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 0 0 20px; letter-spacing: -.02em; color: var(--gold-light); text-shadow: 0 4px 20px rgba(0, 20, 40, .4); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: rgba(234, 252, 255, .9); max-width: 560px; margin: 0 0 30px; text-shadow: 0 1px 12px rgba(0, 30, 60, .35); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--text-dim); font-size: 15px; font-weight: 800; }
.hero-facts li { display: flex; align-items: center; gap: 6px; }
.hero-facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 16px; }
.hero-facts b { color: var(--foam); font-size: 18px; font-variant-numeric: tabular-nums; }

.hero-art { position: relative; justify-self: center; }
.hero-art .phone { width: min(330px, 76vw); animation: bob 8s ease-in-out infinite; }
.hero-art .chip { position: absolute; animation: float 7s ease-in-out infinite; z-index: 2; }
.hero-art .c1 { left: -70px; top: 14%; }
.hero-art .c2 { right: -60px; top: 44%; animation-delay: -2.5s; }
.hero-art .c3 { left: -40px; bottom: 12%; animation-delay: -4.5s; }
.c2 .bar { width: 110px; }
.c2 .bar i { animation: breath 9s ease-in-out infinite; }

/* Drifting sea life (decorative). */
.drift { position: absolute; pointer-events: none; z-index: -1; opacity: .9; }
.drift.turtle { width: 220px; top: 62%; left: -260px; animation: drift-right 46s linear infinite; }
.drift.clown { width: 90px; top: 30%; right: -120px; animation: drift-left 28s linear infinite -6s; }
.drift.school { width: 200px; top: 80%; right: -240px; animation: drift-left 38s linear infinite -20s; opacity: .7; }
.drift.manta { width: 320px; top: 20%; left: -360px; animation: drift-right 60s linear infinite -30s; opacity: .45; filter: blur(1px); }
.drift.jelly { width: 90px; animation: jelly 9s ease-in-out infinite; }

/* ---------- Phone ---------- */
.phone {
  position: relative; width: min(340px, 78vw); aspect-ratio: 886 / 1920; padding: 11px; border-radius: 54px;
  background: linear-gradient(150deg, #2c6f93, #08263d 40%, #1d5577);
  box-shadow: 0 0 0 1px rgba(160, 230, 255, .3), 0 50px 100px rgba(0, 12, 26, .55), 0 0 120px rgba(110, 231, 245, .18);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--ink); }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform .9s ease; }
.phone figure.is-active { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
main { overflow: clip; }
.section { max-width: var(--max); margin: auto; padding: 110px 28px; position: relative; }
.section.narrow-top { padding-bottom: 40px; }
.section h2, .page h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin: 12px 0 18px; }
.section-lead { color: var(--text-dim); font-size: 19px; max-width: 660px; margin: 0 0 40px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.loop li { position: relative; padding: 22px 18px 20px; text-align: center; }
.loop li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 12px; height: 2px; background: var(--line); }
.loop img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 10px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.loop b { display: block; font-size: 20px; }
.loop span { color: var(--text-dim); font-size: 14px; }

.greed { padding: 30px; }
.greed .row { display: flex; align-items: center; gap: 14px; margin: 10px 0; font-weight: 900; }
.greed .row .bar { flex: 1; height: 14px; border-radius: 7px; }
.greed .row .bar i { animation: breath 9s ease-in-out infinite; }
.greed .row .bag i { background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); animation: fill 9s ease-in-out infinite; }
.greed .label { width: 52px; color: var(--text-dim); font-size: 14px; letter-spacing: .08em; }
.greed p { margin: 16px 0 0; color: var(--text-dim); }
.greed q { display: block; font-size: 24px; line-height: 1.25; color: var(--foam); font-weight: 900; quotes: "“" "”"; margin-bottom: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(110, 231, 245, .45); }
.card .number { display: block; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-top: 18px; }
.card h3 { font-size: 23px; margin: 6px 0 8px; line-height: 1.2; }
.card p { color: var(--text-dim); margin: 0; }
.badge-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(180deg, #a8f4ff, var(--aqua-deep)); color: var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5); }
.badge-ic svg { width: 28px; height: 28px; fill: currentColor; }
.badge-ic.gold { background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); color: var(--gold-ink); }
.badge-ic.coral { background: linear-gradient(180deg, #ffd0c6, var(--coral)); color: #5a1a10; }
.badge-ic.kelp { background: linear-gradient(180deg, #c5f7cf, #3fbf6a); color: #0d3a1b; }
.badge-ic.violet { background: linear-gradient(180deg, #e0d4ff, var(--violet)); color: #2b1550; }
.badge-ic img { width: 40px; height: 40px; object-fit: contain; }

/* ---------- Gallery ---------- */
.gallery { max-width: var(--max); margin: auto; padding: 0 28px 110px; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.gallery-tabs { display: grid; gap: 8px; }
.gallery-tabs button {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; text-align: left; position: relative; overflow: hidden;
  padding: 14px 18px; border-radius: 20px; border: 1px solid transparent; background: transparent; color: var(--foam); font: inherit; cursor: pointer;
  transition: background .25s, border-color .25s;
}
.gallery-tabs button:hover { background: rgba(160, 230, 255, .08); }
.gallery-tabs button[aria-selected=true] { background: var(--glass); border-color: var(--line); }
.t-n { grid-row: span 2; align-self: center; color: var(--gold); font-weight: 900; font-size: 15px; letter-spacing: .08em; }
.gallery-tabs b { font-size: 19px; line-height: 1.25; }
.gallery-tabs small { color: var(--text-dim); font-size: 15px; }
.t-progress { position: absolute; left: 18px; right: 18px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--aqua); transform-origin: left; transform: scaleX(0); opacity: 0; }
.gallery-tabs button[aria-selected=true] .t-progress { opacity: 1; animation: tabprogress var(--slide, 6s) linear forwards; }
.gallery.is-paused .t-progress { animation-play-state: paused; }

/* ---------- The lamp (interactive dark water) ---------- */
.lamp-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.lamp {
  position: relative; aspect-ratio: 5 / 4; border-radius: 34px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 50% 110%, #0a2342, #030c1a 60%, #01050c);
  border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: none;
  --x: 50%; --y: 45%; --r: 120px;
}
.lamp .seabed { position: absolute; left: -5%; right: -5%; bottom: -8%; height: 30%; background: radial-gradient(ellipse at 30% 0, #1b2f4a, #0b1626 70%); border-radius: 50% 50% 0 0 / 60% 60% 0 0; }
.lamp .seabed::after { content: ""; position: absolute; left: 45%; right: -10%; top: -30%; bottom: 0; background: radial-gradient(ellipse at 60% 0, #15263d, transparent 70%); border-radius: 50% 50% 0 0; }
.find {
  position: absolute; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: none; color: inherit; font: inherit;
  transform: translate(-50%, -50%); transition: transform .35s, opacity .35s, filter .35s;
  filter: drop-shadow(0 0 14px rgba(255, 215, 120, .55));
}
.find img { width: var(--w, 70px); height: auto; animation: float 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.find::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 215, 120, .55); opacity: 0; transform: scale(.6); animation: ping 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
.find.is-taken { opacity: 0; transform: translate(-50%, -140%) scale(.4); pointer-events: none; }
.find:focus-visible { outline-offset: 8px; border-radius: 50%; }
.lamp .mega { position: absolute; width: 46%; top: 16%; left: 0; pointer-events: none; animation: mega 26s linear infinite; }
.lamp .angler { position: absolute; width: 22%; top: 58%; right: 0; pointer-events: none; animation: angler 19s ease-in-out infinite; }
/* The beam itself: cold light in the water, under the darkness layer. */
.lamp::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle calc(var(--r) * 1.1) at var(--x) var(--y), rgba(160, 225, 255, .34), rgba(90, 170, 220, .12) 55%, transparent 100%);
}
/* Darkness with a hole cut out around the lamp. */
.lamp .dark {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0 55%, rgba(1, 5, 12, .45) 84%, rgba(1, 4, 10, .93) 100%);
}
.lamp .dark::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle calc(var(--r) * 2.4) at var(--x) var(--y), transparent 48%, #01040a 78%);
}
.lamp .beam { position: absolute; z-index: 3; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid rgba(234, 252, 255, .7); background: rgba(234, 252, 255, .12); pointer-events: none; transition: opacity .3s; }
.lamp.is-idle .beam { opacity: 0; }
.lamp-hud { position: absolute; z-index: 4; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.lamp-hud .chip { padding: 7px 14px 7px 10px; }
.lamp-hud .chip b { font-size: 17px; }
.lamp-depth { text-align: center; line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.lamp-depth b { font-size: 34px; font-variant-numeric: tabular-nums; }
.lamp-depth span { font-size: 17px; font-weight: 900; margin-left: 2px; }
.lamp-status {
  position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); margin: 0; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; background: rgba(2, 18, 34, .82); border: 1px solid var(--line);
  font-weight: 900; font-size: 15px; pointer-events: none;
}
.try-hint { display: inline-flex; align-items: center; gap: 12px; color: var(--foam); font-weight: 800; margin: 0; padding: 12px 18px; border-radius: 999px; background: rgba(110, 231, 245, .1); border: 1px solid rgba(110, 231, 245, .32); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); animation: pulse 1.8s infinite; flex: none; }

/* ---------- Zones ---------- */
.zones { list-style: none; margin: 0; padding: 0; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.zone {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding: 24px 28px; position: relative; min-height: 108px;
  background: linear-gradient(90deg, var(--z), color-mix(in srgb, var(--z) 55%, #010509));
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.zone:first-child { border-top: 0; }
.zone .z-depth { font-weight: 900; font-variant-numeric: tabular-nums; color: var(--gold-light); font-size: 15px; }
.zone h3 { margin: 0; font-size: 23px; line-height: 1.2; }
.zone p { margin: 2px 0 0; color: var(--text-dim); font-size: 15px; }
.zone .z-art { width: 110px; height: 70px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
.z1 { --z: #2ea7cf; }
.z2 { --z: #167fae; }
.z3 { --z: #0e5a86; }
.z4 { --z: #0a3556; }
.z5 { --z: #071d36; }
.z6 { --z: #050c1a; }
.z5 .z-art, .z6 .z-art { filter: drop-shadow(0 0 16px rgba(110, 231, 245, .35)); }

/* ---------- Progression ---------- */
.grow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grow .card { padding: 26px; }
.grow .card h3 { margin-top: 16px; }

/* ---------- Respect ---------- */
.fair { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 52px; align-items: center; }
.fair ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fair li { display: flex; gap: 12px; align-items: center; font-weight: 800; font-size: 17px; }
.fair li::before { content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--aqua-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 56px 0 0; }
.stats li { text-align: center; padding: 26px 12px; }
.stats b { display: block; font-size: clamp(40px, 5vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--text-dim); font-weight: 800; }

/* ---------- Finale ---------- */
.finale { text-align: center; padding: 120px 28px 140px; position: relative; }
.finale::before { content: ""; position: absolute; left: 50%; top: 40%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, rgba(110, 231, 245, .16), transparent 62%); pointer-events: none; }
.finale-inner { position: relative; max-width: 760px; margin: auto; }
.finale-icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 60px rgba(110, 231, 245, .3); }
.finale h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 16px; }
.finale .section-lead { margin: 0 auto 32px; }
.finale .notify { margin-top: 22px; }

/* ---------- Footer ---------- */
footer {
  max-width: var(--max); margin: auto; padding: 32px 28px 48px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 15px; border-top: 1px solid var(--line);
}
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--text-dim); text-decoration: none; font-weight: 800; }
footer a:hover { color: var(--foam); }

/* ---------- Text pages (support, contact, privacy, terms, 404) ---------- */
.page { max-width: 820px; margin: auto; padding: 130px 28px 96px; }
.page h1 { margin-top: 10px; }
.page h2 { font-size: 26px; line-height: 1.2; margin: 44px 0 10px; }
.page p, .page li { color: rgba(234, 252, 255, .86); }
.page ul { padding-left: 22px; }
.effective { color: var(--text-dim); font-weight: 800; font-size: 15px; }
.summary { padding: 24px 28px; margin: 28px 0; }
.summary strong { color: var(--gold); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.summary ul { margin: 10px 0 0; }
.contact-box { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 26px; margin: 28px 0; }
.faq details { padding: 0; margin: 10px 0; border-radius: 20px; }
.faq summary { cursor: pointer; padding: 18px 24px; font-weight: 900; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aqua); font-size: 26px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 20px; }
.legal-note { color: var(--text-dim); font-size: 14px; margin-top: 40px; }
.page-404 { text-align: center; padding-top: 6vh; }
.page-404 img { width: 220px; margin: 0 auto 10px; animation: bob 6s ease-in-out infinite; }
header:not(.site-nav) { position: fixed; top: 0; left: 0; right: 0; z-index: 30; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes rays { from { transform: skewX(-4deg) scaleX(1); } to { transform: skewX(4deg) scaleX(1.06); } }
@keyframes swell { to { transform: translateX(-50%); } }
@keyframes breath { 0%, 100% { transform: scaleX(.86); } 50% { transform: scaleX(.34); } }
@keyframes fill { 0%, 100% { transform: scaleX(.2); } 50% { transform: scaleX(.92); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(110, 231, 245, .7); } 70% { box-shadow: 0 0 0 12px rgba(110, 231, 245, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 231, 245, 0); } }
@keyframes ping { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes tabprogress { to { transform: scaleX(1); } }
@keyframes bump { 50% { transform: scale(1.25); color: var(--gold-light); } }
@keyframes drift-right { to { transform: translateX(calc(100vw + 600px)) translateY(-40px); } }
@keyframes drift-left { to { transform: translateX(calc(-100vw - 600px)) translateY(30px); } }
@keyframes jelly { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-26px) scaleY(.92); } }
@keyframes mega { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
@keyframes angler { 0%, 100% { transform: translate(0, 0) scaleX(-1); } 50% { transform: translate(-160%, -30%) scaleX(-1); } }
.chip b.is-bump { display: inline-block; animation: bump .35s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .split, .fair, .gallery, .lamp-wrap { grid-template-columns: 1fr; }
  .hero-art { margin: 10px auto 0; }
  .gallery .phone { margin: auto; grid-row: 1; }
  .features, .grow { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop li + li::before { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { padding: 12px 18px; gap: 12px; }
  .nav ul a[href^="#"] { display: none; }
  .nav a:not(.brand) { padding: 7px 10px; font-size: 14px; }
  .section { padding: 80px 20px; }
  .hero-inner { padding: 160px 20px 90px; }
  .hero-art .c1 { left: -18px; }
  .hero-art .c2 { right: -18px; }
  .hero-art .c3 { left: -12px; }
  .features, .grow { grid-template-columns: 1fr; }
  .gallery { padding: 0 20px 80px; }
  .gallery-tabs small { display: none; }
  .lamp { aspect-ratio: 4 / 5; }
  .zone { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 22px; }
  .zone .z-depth { grid-column: 1 / -1; }
  .zone .z-art { width: 80px; height: 54px; }
  .fair { padding: 30px 24px; }
  .page { padding: 100px 20px 72px; }
  .gauge { top: auto; bottom: 14px; right: 14px; }
  .drift.clown, .drift.school { display: none; }
  .drift.turtle, .drift.manta { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .drift { display: none; }
}

/* Lamp finds: positions and sizes live here because the CSP blocks inline styles. */
.f1 { left: 22%; top: 72%; --w: 78px; }
.f2 { left: 52%; top: 80%; --w: 60px; --d: -1.4s; }
.f3 { left: 82%; top: 40%; --w: 44px; --d: -2.2s; }
.f4 { left: 70%; top: 70%; --w: 56px; --d: -3s; }
.f5 { left: 14%; top: 34%; --w: 46px; --d: -.8s; }
.f6 { left: 40%; top: 48%; --w: 40px; --d: -3.6s; }
.grow.after-loop { margin-top: 18px; }

/* Text pages sit in calm mid-water instead of following a scroll dive. */
body:not(.home) { --depth-a: #0d4a75; --depth-b: #041a30; --sun: .18; }
