/* ==================================================
   SengGack.org — Seapunk Deep Sea Dive
   Palette : #FF6B6B #00D4AA #7B4FFF #1A0A3A #FF9F45
             #FF3DA4 #FFF5F0 #FFE8C0
   Fonts   : Nunito (400,600,800,900), Quicksand (500,600), Varela Round (400)
   ================================================== */

/* ===================== TOKENS ===================== */
:root {
    /* Palette */
    --coral-neon:        #FF6B6B;
    --teal-electric:     #00D4AA;
    --warm-violet:       #7B4FFF;
    --tropical-magenta:  #FF3DA4;
    --sandy-warm:        #FFE8C0;
    --ocean-deep:        #1A0A3A;
    --reef-amber:        #FF9F45;
    --pearl-white:       #FFF5F0;

    /* Neon glow stacks */
    --glow-l1: 0 0 4px currentColor;
    --glow-l2: 0 0 4px currentColor, 0 0 12px currentColor;
    --glow-l3: 0 0 4px currentColor, 0 0 12px currentColor, 0 0 32px currentColor;

    /* Scroll-driven custom properties (set by JS) */
    --scroll-progress: 0;
    --crt-opacity: 0;
    --zone-mix: 0;

    /* Type scale */
    --t-hero: clamp(64px, 15vw, 220px);
    --t-h2:   clamp(36px, 5.6vw, 72px);
    --t-h3:   28px;
    --t-body: 17px;
    --t-label: 11px;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: var(--t-body);
    line-height: 1.7;
    color: var(--ocean-deep);
    background:
        linear-gradient(180deg,
            #FFE8C0 0%,
            #FF9F45 12%,
            #FFD6A8 22%,
            #6FE3CB 38%,
            #00D4AA 50%,
            #4B6BFF 64%,
            #7B4FFF 78%,
            #2A1466 92%,
            #1A0A3A 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
button, a { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote { margin: 0; }

/* ===================== SVG DEFS HIDE ===================== */
.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ===================== CRT SCANLINE OVERLAY ===================== */
.crt-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: var(--crt-opacity);
    transition: opacity 320ms ease;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(26, 10, 58, 0.18) 0,
        rgba(26, 10, 58, 0.18) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: multiply;
}
.crt-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(0,0,0,0) 60%,
        rgba(26,10,58,0.18) 100%);
    pointer-events: none;
}

/* ===================== DEPTH INDICATOR PILL ===================== */
.depth-indicator {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 245, 240, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--coral-neon);
    color: var(--pearl-white);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: var(--glow-l2), 0 8px 24px rgba(26, 10, 58, 0.35);
    transition: border-color 800ms ease, color 800ms ease, background 800ms ease;
}
.depth-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral-neon);
    box-shadow: var(--glow-l2);
    animation: depth-dot-pulse 2.4s ease-in-out infinite;
}
.depth-label {
    transition: opacity 320ms ease;
    color: inherit;
    min-width: 5.6em;
    text-align: left;
}
.depth-meta {
    opacity: 0.7;
    font-family: 'Varela Round', sans-serif;
    letter-spacing: 0.08em;
    color: inherit;
}
.depth-label.fading { opacity: 0; }

@keyframes depth-dot-pulse {
    0%, 100% { transform: scale(1);   opacity: 1;   }
    50%      { transform: scale(1.4); opacity: 0.6; }
}

/* zone-tinted indicator (set by JS via class) */
.depth-indicator[data-zone="0"] { color: var(--coral-neon);       border-color: var(--coral-neon); }
.depth-indicator[data-zone="1"] { color: var(--reef-amber);       border-color: var(--reef-amber); }
.depth-indicator[data-zone="2"] { color: var(--teal-electric);    border-color: var(--teal-electric); }
.depth-indicator[data-zone="3"] { color: var(--tropical-magenta); border-color: var(--tropical-magenta); }
.depth-indicator[data-zone="4"] { color: var(--teal-electric);    border-color: var(--teal-electric); }

.depth-indicator[data-zone="0"] .depth-dot { background: var(--coral-neon); }
.depth-indicator[data-zone="1"] .depth-dot { background: var(--reef-amber); }
.depth-indicator[data-zone="2"] .depth-dot { background: var(--teal-electric); }
.depth-indicator[data-zone="3"] .depth-dot { background: var(--tropical-magenta); }
.depth-indicator[data-zone="4"] .depth-dot { background: var(--teal-electric); }

/* ===================== SURFACE ANCHOR (returns to top) ===================== */
.surface-anchor {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(26, 10, 58, 0.55);
    border: 1.5px solid var(--teal-electric);
    color: var(--teal-electric);
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: var(--glow-l2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 360ms ease, transform 360ms ease, visibility 360ms;
}
.surface-anchor.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.surface-anchor:hover {
    color: var(--coral-neon);
    border-color: var(--coral-neon);
    box-shadow: var(--glow-l3);
}

/* ===================== BUBBLES ===================== */
.bubbles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}
.bubble {
    position: absolute;
    bottom: -40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 245, 240, 0.85),
        rgba(0, 212, 170, 0.35) 60%,
        rgba(0, 212, 170, 0) 100%);
    box-shadow: 0 0 6px rgba(0, 212, 170, 0.4);
    animation-name: bubble-rise;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
    opacity: 0.5;
}
@keyframes bubble-rise {
    0%   { transform: translate3d(0,    0,      0) scale(0.6); opacity: 0;   }
    8%   { opacity: 0.55; }
    50%  { transform: translate3d(14px, -55vh,  0) scale(1);   opacity: 0.6; }
    100% { transform: translate3d(-8px, -110vh, 0) scale(1.1); opacity: 0;   }
}

/* ===================== ZONE BASE ===================== */
.zone {
    position: relative;
    width: 100%;
    padding: 120px 6vw;
    z-index: 5;
    overflow: hidden;
}
.zone-0 { min-height: 100vh;  z-index: 7; }
.zone-1 { min-height: 150vh;  background: linear-gradient(180deg, rgba(255,232,192,0.4) 0%, rgba(0,212,170,0.18) 100%); }
.zone-2 { min-height: 200vh;  background: linear-gradient(180deg, rgba(0,212,170,0.22) 0%, rgba(123,79,255,0.34) 100%); }
.zone-3 { min-height: 200vh;  background: linear-gradient(180deg, rgba(123,79,255,0.42) 0%, rgba(26,10,58,0.72) 100%); }
.zone-4 { min-height: 100vh;  background: var(--ocean-deep); padding-bottom: 160px; }

/* Zone wave dividers */
.zone-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 80px;
    pointer-events: none;
    z-index: 6;
}
.zone-wave svg {
    width: 100%;
    height: 100%;
    animation: wave-shift 12s ease-in-out infinite;
    transform-origin: center;
}
@keyframes wave-shift {
    0%, 100% { transform: translateX(0)    scaleY(1);   }
    50%      { transform: translateX(-3%)  scaleY(1.06); }
}

/* ===================== ZONE 0 — SURFACE / HERO ===================== */
.zone-0 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 6vw 120px;
}
.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.hero-eyebrow {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ocean-deep);
    opacity: 0.65;
}
.hero-wordmark {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: var(--t-hero);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--coral-neon);
    text-shadow: var(--glow-l3);
    animation: wordmark-pulse 3s ease-in-out infinite;
    margin: 0;
    white-space: nowrap;
}
@keyframes wordmark-pulse {
    0%, 100% { text-shadow: 0 0 4px currentColor, 0 0 12px currentColor; }
    50%      { text-shadow: 0 0 4px currentColor, 0 0 12px currentColor, 0 0 32px currentColor; }
}
.hero-tagline {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.6;
    max-width: 620px;
    color: var(--ocean-deep);
}
.hero-cue {
    margin-top: 36px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ocean-deep);
    animation: hero-cue-fall 2.4s ease-in-out infinite;
}
.hero-cue-line {
    width: 44px;
    height: 2px;
    background: var(--coral-neon);
    box-shadow: var(--glow-l1);
    border-radius: 2px;
}
@keyframes hero-cue-fall {
    0%, 100% { transform: translateY(0);   opacity: 0.8; }
    50%      { transform: translateY(6px); opacity: 1;   }
}

/* Intro fish swims across the hero on load */
.fish-lane-intro {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 9;
}
.fish-intro {
    position: absolute;
    top: 26%;
    left: -180px;
    width: 140px;
    animation: hero-fish-swim 9s ease-in-out 0.4s 1 forwards;
    filter: drop-shadow(0 0 14px rgba(255, 107, 107, 0.5));
}
@keyframes hero-fish-swim {
    0%   { left: -180px;  top: 26%; transform: rotate(2deg); }
    40%  { left: 38vw;    top: 38%; transform: rotate(-4deg); }
    70%  { left: 70vw;    top: 22%; transform: rotate(3deg); }
    100% { left: calc(100vw + 180px); top: 30%; transform: rotate(-2deg); }
}

/* Seaweed */
.seaweed {
    position: absolute;
    width: 60px;
    height: 60vh;
    z-index: 6;
    pointer-events: none;
    transform-origin: bottom center;
    animation: seaweed-sway 6s ease-in-out infinite;
}
.seaweed-left  { left: 1vw;  bottom: 0; }
.seaweed-right { right: 1vw; bottom: 0; animation-direction: alternate-reverse; animation-duration: 7.2s; }

@keyframes seaweed-sway {
    0%, 100% { transform: rotate(-3deg); }
    50%      { transform: rotate(4deg);  }
}

/* Coral cluster */
.coral {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    z-index: 6;
    pointer-events: none;
    opacity: 0.92;
    filter: drop-shadow(0 0 12px rgba(255, 107, 107, 0.4));
}
.coral-reef {
    height: 180px;
    filter: drop-shadow(0 0 16px rgba(0, 212, 170, 0.5));
}
.coral-pulse {
    animation: coral-breathe 4.6s ease-in-out infinite;
    transform-origin: center bottom;
}
.coral-pulse-2 { animation-duration: 5.8s; animation-delay: -1.2s; }
.coral-pulse-3 { animation-duration: 6.4s; animation-delay: -2.4s; }

@keyframes coral-breathe {
    0%, 100% { transform: scaleY(1);    opacity: 1;    }
    50%      { transform: scaleY(1.06); opacity: 0.85; }
}

/* ===================== FISH (drifting in lanes) ===================== */
.fish-lane {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    top: 0;
    pointer-events: none;
    z-index: 7;
}
.drift-fish {
    position: absolute;
    will-change: transform;
    filter: drop-shadow(0 0 8px currentColor);
}
.drift-fish.flip { transform: scaleX(-1); }
.fish-clown { color: var(--coral-neon); }
.fish-angel { color: var(--warm-violet); }

/* Drift lanes vary per fish */
.fish-lane-shallows .drift-1 { top: 12%;  width: 100px; animation: fish-swim-r 16s ease-in-out -2s infinite;  }
.fish-lane-shallows .drift-2 { top: 38%;  width: 110px; animation: fish-swim-l 22s ease-in-out -8s infinite;  }
.fish-lane-shallows .drift-3 { top: 64%;  width: 84px;  animation: fish-swim-r 18s ease-in-out -12s infinite; }

.fish-lane-reef .drift-1 { top: 8%;   width: 92px;  animation: fish-swim-r 14s ease-in-out -3s infinite;  }
.fish-lane-reef .drift-2 { top: 28%;  width: 98px;  animation: fish-swim-l 20s ease-in-out -6s infinite;  }
.fish-lane-reef .drift-3 { top: 52%;  width: 84px;  animation: fish-swim-r 24s ease-in-out -10s infinite; }
.fish-lane-reef .drift-4 { top: 72%;  width: 96px;  animation: fish-swim-l 17s ease-in-out -1s infinite;  }

@keyframes fish-swim-r {
    0%   { transform: translate3d(-12vw, 0,    0) scaleX(1)  rotate(2deg);  }
    25%  { transform: translate3d(28vw,  18px, 0) scaleX(1)  rotate(-2deg); }
    50%  { transform: translate3d(58vw,  -12px,0) scaleX(1)  rotate(3deg);  }
    75%  { transform: translate3d(86vw,  14px, 0) scaleX(1)  rotate(-1deg); }
    100% { transform: translate3d(112vw, 0,    0) scaleX(1)  rotate(2deg);  }
}
@keyframes fish-swim-l {
    0%   { transform: translate3d(112vw, 0,    0) scaleX(-1) rotate(-2deg); }
    25%  { transform: translate3d(84vw,  16px, 0) scaleX(-1) rotate(3deg);  }
    50%  { transform: translate3d(54vw,  -14px,0) scaleX(-1) rotate(-3deg); }
    75%  { transform: translate3d(24vw,  18px, 0) scaleX(-1) rotate(2deg);  }
    100% { transform: translate3d(-12vw, 0,    0) scaleX(-1) rotate(-2deg); }
}

/* ===================== ZONE HEADER ===================== */
.zone-header {
    position: relative;
    z-index: 10;
    max-width: 920px;
    margin: 0 auto 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.zone-tag {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--coral-neon);
    text-shadow: var(--glow-l1);
    padding: 6px 16px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
}
.zone-1 .zone-tag { color: var(--reef-amber); }
.zone-2 .zone-tag { color: var(--teal-electric); }
.zone-3 .zone-tag { color: var(--tropical-magenta); }
.zone-tag-abyss   { color: var(--teal-electric); }

.zone-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: var(--t-h2);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ocean-deep);
}
.zone-2 .zone-title { color: var(--ocean-deep); }
.zone-3 .zone-title { color: var(--pearl-white); text-shadow: 0 0 18px rgba(255, 61, 164, 0.4); }
.abyss-title        { color: var(--pearl-white); text-shadow: 0 0 22px rgba(0, 212, 170, 0.55); }

.zone-sub {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    max-width: 640px;
    color: var(--ocean-deep);
    opacity: 0.82;
}
.zone-3 .zone-sub { color: var(--pearl-white); opacity: 0.78; }

/* ===================== CARD (sticky, tilt-3D) ===================== */
.card {
    position: relative;
    z-index: 11;
    max-width: 560px;
    margin: 60px 0;
    padding: 36px 38px 40px;
    border-radius: 22px;
    background: rgba(255, 245, 240, 0.94);
    border: 1.5px solid var(--coral-neon);
    box-shadow: var(--glow-l1), 0 18px 50px rgba(26, 10, 58, 0.2);
    transform-style: preserve-3d;
    transform: perspective(700px);
    transition: box-shadow 280ms ease, border-color 280ms ease;
    overflow: hidden;
    will-change: transform;
}
.card-left  { margin-left: 8%;  margin-right: auto; position: sticky; top: 14vh; }
.card-right { margin-right: 8%; margin-left: auto;  position: sticky; top: 22vh; }
.card-reef  { margin-left: 6%;  margin-right: auto; position: sticky; top: 12vh; }
.card-reef-2{ margin-right: 6%; margin-left: auto;  position: sticky; top: 28vh; max-width: 540px; }
.card-deep  { margin: 80px auto; position: sticky; top: 18vh; max-width: 620px; }

.card.tilt-card:hover {
    border-color: var(--tropical-magenta);
    box-shadow: var(--glow-l2), 0 24px 60px rgba(26, 10, 58, 0.32);
}

.card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 107, 107, 0.22),
        rgba(255, 107, 107, 0) 50%);
    opacity: 0;
    transition: opacity 220ms ease;
    border-radius: inherit;
}
.card.tilting .card-glow { opacity: 1; }

.zone-2 .card { background: rgba(255, 245, 240, 0.93); border-color: var(--teal-electric); }
.zone-2 .card.tilt-card:hover { border-color: var(--tropical-magenta); }
.zone-2 .card-glow { background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,212,170,0.28), rgba(0,212,170,0) 55%); }

.zone-3 .card { background: rgba(26, 10, 58, 0.75); border-color: var(--tropical-magenta); color: var(--pearl-white); }
.zone-3 .card .card-title { color: var(--pearl-white); }
.zone-3 .card .pull-quote { color: var(--teal-electric); border-left-color: var(--teal-electric); }
.zone-3 .card-glow { background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,61,164,0.34), rgba(255,61,164,0) 55%); }

.card-label {
    display: inline-block;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: var(--t-label);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral-neon);
    margin-bottom: 14px;
    text-shadow: var(--glow-l1);
}
.zone-2 .card-label { color: var(--teal-electric); }
.zone-3 .card-label { color: var(--tropical-magenta); }

.card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: var(--t-h3);
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--ocean-deep);
    margin-bottom: 14px;
}
.card-body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ocean-deep);
    opacity: 0.92;
}
.zone-3 .card-body { color: var(--pearl-white); opacity: 0.86; }

.card-footer {
    margin-top: 18px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral-neon);
    opacity: 0.85;
}
.zone-2 .card-footer { color: var(--teal-electric); }
.zone-3 .card-footer { color: var(--tropical-magenta); }

.pull-quote {
    margin-top: 22px;
    padding: 14px 0 14px 18px;
    border-left: 3px solid var(--coral-neon);
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    font-style: italic;
    color: var(--coral-neon);
    text-shadow: var(--glow-l1);
}
.pull-quote-abyss {
    border-left-color: var(--teal-electric);
    color: var(--teal-electric);
    text-shadow: var(--glow-l2);
    max-width: 720px;
    margin: 36px 0;
    padding: 18px 0 18px 22px;
    font-size: 22px;
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== ZONE 3 — PUFFERFISH CLUSTER ===================== */
.puffer-cluster {
    position: relative;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1140px;
    margin: 30px auto 100px;
}
.puffer-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 28px 18px 24px;
    border-radius: 24px;
    background: rgba(26, 10, 58, 0.4);
    border: 1.5px solid var(--tropical-magenta);
    box-shadow: var(--glow-l1), 0 18px 40px rgba(26, 10, 58, 0.35);
    transition: box-shadow 320ms ease, transform 320ms ease, border-color 320ms ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    --puff: 0;
}
.puffer-wrap:hover {
    border-color: var(--coral-neon);
    box-shadow: var(--glow-l3), 0 24px 60px rgba(26, 10, 58, 0.5);
    transform: translateY(-6px);
}

.puffer {
    width: 200px;
    height: 200px;
    transition: transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(calc(1 + var(--puff) * 0.12));
    color: var(--tropical-magenta);
    filter: drop-shadow(0 0 12px currentColor);
}
.puffer-body {
    transition: r 480ms cubic-bezier(0.34, 1.56, 0.64, 1),
                fill 480ms ease;
}
.puffer-spikes {
    fill: var(--coral-neon);
    stroke: #1A0A3A;
    stroke-width: 1.5;
    opacity: calc(0.25 + var(--puff) * 0.75);
    transform-origin: 100px 100px;
    transform: scale(calc(0.55 + var(--puff) * 0.45));
    transition: opacity 480ms ease, transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 6px var(--coral-neon));
}
.puffer-wrap:hover { --puff: 1; }

.puffer-info {
    text-align: center;
    color: var(--pearl-white);
    max-width: 240px;
}
.puffer-info .card-label {
    color: var(--teal-electric);
    margin-bottom: 8px;
}
.puffer-info p {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.88;
}

/* ===================== ZONE 4 — ABYSS ===================== */
.zone-4 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    color: var(--pearl-white);
    overflow: hidden;
}
.anglerfish-stage {
    position: relative;
    width: min(420px, 70vw);
    margin: 0 auto 40px;
}
.anglerfish {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(0, 212, 170, 0.6));
    animation: angler-drift 9s ease-in-out infinite;
}
@keyframes angler-drift {
    0%, 100% { transform: translateY(0)    rotate(-1deg); }
    50%      { transform: translateY(-12px) rotate(2deg);  }
}
.angler-lure {
    filter: drop-shadow(0 0 18px var(--teal-electric));
    animation: lure-blink 2.4s ease-in-out infinite;
    transform-origin: center;
}
@keyframes lure-blink {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%      { opacity: 0.55; transform: scale(1.2); }
}
.angler-glow-source {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 32% 22%,
        rgba(0, 212, 170, 0.45) 0%,
        rgba(0, 212, 170, 0.18) 18%,
        rgba(0, 212, 170, 0) 50%);
    z-index: -1;
    animation: lure-glow-pulse 2.4s ease-in-out infinite;
}
@keyframes lure-glow-pulse {
    0%, 100% { opacity: 0.85; }
    50%      { opacity: 0.4;  }
}

.abyss-inner {
    position: relative;
    z-index: 12;
    max-width: 720px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 0 6vw;
}
.abyss-body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.7;
    color: var(--pearl-white);
    opacity: 0.86;
    max-width: 600px;
}
.abyss-cta {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    border-radius: 999px;
    background: transparent;
    border: 2px solid var(--teal-electric);
    color: var(--teal-electric);
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    box-shadow: var(--glow-l2);
    transition: transform 280ms ease, box-shadow 280ms ease, color 280ms ease, border-color 280ms ease;
}
.abyss-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-l3);
    color: var(--coral-neon);
    border-color: var(--coral-neon);
}
.abyss-cta-arrow {
    font-size: 16px;
    transform: translateY(-1px);
    transition: transform 220ms ease;
}
.abyss-cta:hover .abyss-cta-arrow {
    transform: translateY(-5px);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .puffer-cluster {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}
@media (max-width: 720px) {
    :root { --t-hero: clamp(48px, 18vw, 120px); }

    .zone { padding: 90px 5vw; }
    .zone-0 { padding-top: 60px; }
    .zone-1, .zone-2, .zone-3 { min-height: auto; }

    .hero-wordmark { letter-spacing: -0.03em; }
    .hero-tagline  { font-size: 16px; }

    .card-left, .card-right, .card-reef, .card-reef-2, .card-deep {
        margin-left: 0;
        margin-right: 0;
        position: relative;
        top: 0;
        max-width: 100%;
    }
    .card { padding: 26px 24px 30px; }

    .puffer-cluster {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .puffer { width: 160px; height: 160px; }

    .seaweed { display: none; }
    .depth-indicator { top: 12px; right: 12px; padding: 8px 14px; font-size: 10px; }
    .surface-anchor  { bottom: 12px; right: 12px; padding: 10px 16px; font-size: 10px; }

    /* Tilt-3D disabled on coarse pointer (mobile press feedback) */
    .tilt-card { transform: none !important; }
    .tilt-card:active { transform: scale(0.98) !important; transition: transform 150ms ease; }
}

@media (pointer: coarse) {
    .tilt-card { transform: none !important; }
    .tilt-card:active { transform: scale(0.98) !important; transition: transform 150ms ease; }
    .card-glow { display: none; }
}
