/* ==============================================================
   SSETTL.com — Deep Sea Observation Station
   Aesthetic: inflated-3d  |  Layout: layered-depth
   Typography: serif-revival (Playfair Display + Source Serif 4 + Inter)
   Palette: dark-neon
   Colors: #0a0a12 #0e0a18 #111128 #1a1a2e #00f0ff #ff00aa #39ff8e #8844ff
   Accents: #d8d8e8 (pale silver) #7a7a9e (muted lavender)
   ============================================================== */

/* ------ @property for fiber-optic conic-gradient borders ------ */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --hue-shift {
    syntax: '<number>';
    initial-value: 0;
    inherits: false;
}

/* ------ Reset ------ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #0a0a12;
}

body {
    background-color: #0a0a12;
    color: #d8d8e8;
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

::selection {
    background: rgba(0, 240, 255, 0.25);
    color: #d8d8e8;
}

/* ==============================================================
   LAYER 4: FIBER-OPTIC VIEWPORT BORDER
   ============================================================== */

#viewport-border {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    border: 1px solid transparent;
    background:
        linear-gradient(#0a0a12, #0a0a12) padding-box,
        conic-gradient(
            from var(--angle),
            rgba(0, 240, 255, 0.55),
            rgba(136, 68, 255, 0.4),
            rgba(255, 0, 170, 0.5),
            rgba(57, 255, 142, 0.4),
            rgba(0, 240, 255, 0.55)
        ) border-box;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: viewportAngle 18s linear infinite;
    opacity: 0.6;
    transition: opacity 0.8s ease;
}

@keyframes viewportAngle {
    to { --angle: 360deg; }
}

/* ==============================================================
   LAYER 4: NOISE + VIGNETTE OVERLAYS
   ============================================================== */

#noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 900;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.85  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 240px 240px;
}

#vignette-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 901;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 10, 18, 0.85) 100%);
}

/* ==============================================================
   DEPTH LAYERS
   ============================================================== */

.depth-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}

#layer-void      { z-index: 0; }
#layer-drift     { z-index: 1; }
#layer-fauna     { z-index: 3; }
#layer-scatter   { z-index: 4; }

/* ==============================================================
   LAYER 0 — CAUSTIC BLOBS (void)
   ============================================================== */

.caustic-blob {
    position: absolute;
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    filter: blur(90px);
    opacity: 0.18;
    will-change: transform, border-radius;
}

.caustic-1 {
    width: 620px; height: 620px;
    background: radial-gradient(ellipse at 40% 40%, #1a1a2e, transparent 70%);
    top: -10%; left: -12%;
    animation: causticDrift1 38s ease-in-out infinite, blobMorph1 26s ease-in-out infinite;
}

.caustic-2 {
    width: 520px; height: 520px;
    background: radial-gradient(ellipse at 55% 45%, #0e0a18, transparent 72%);
    top: 38%; right: -15%;
    animation: causticDrift2 42s ease-in-out infinite, blobMorph2 24s ease-in-out infinite;
}

.caustic-3 {
    width: 720px; height: 720px;
    background: radial-gradient(ellipse at 50% 50%, #111128, transparent 72%);
    bottom: -22%; left: 28%;
    animation: causticDrift3 46s ease-in-out infinite, blobMorph3 22s ease-in-out infinite;
}

.caustic-4 {
    width: 420px; height: 420px;
    background: radial-gradient(ellipse at 50% 50%, #8844ff, transparent 80%);
    top: 58%; left: 8%;
    opacity: 0.08;
    animation: causticDrift4 50s ease-in-out infinite, blobMorph1 28s ease-in-out infinite;
}

@keyframes causticDrift1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(50px, 30px) rotate(5deg); }
    66%      { transform: translate(-30px, 50px) rotate(-3deg); }
}
@keyframes causticDrift2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(-40px, -20px) rotate(-4deg); }
    66%      { transform: translate(20px, -40px) rotate(6deg); }
}
@keyframes causticDrift3 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(60px, -30px); }
}
@keyframes causticDrift4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-40px, 20px) scale(1.2); }
}

/* ==============================================================
   LAYER 1 — DRIFTING INFLATED BLOBS
   ============================================================== */

.drift-shape {
    position: absolute;
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    filter: blur(48px);
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity 2.5s ease;
    will-change: transform, border-radius;
}

.drift-1 {
    width: 420px; height: 360px;
    background: radial-gradient(ellipse at 30% 40%, rgba(0, 240, 255, 0.20), transparent 70%);
    top: 12%; left: -5%;
    animation: driftFloat1 30s ease-in-out infinite, blobMorph1 20s ease-in-out infinite;
}
.drift-2 {
    width: 360px; height: 310px;
    background: radial-gradient(ellipse at 60% 30%, rgba(136, 68, 255, 0.18), transparent 70%);
    top: 35%; right: -8%;
    animation: driftFloat2 35s ease-in-out infinite, blobMorph2 22s ease-in-out infinite;
}
.drift-3 {
    width: 520px; height: 460px;
    background: radial-gradient(ellipse at 40% 60%, rgba(57, 255, 142, 0.10), transparent 70%);
    bottom: 18%; left: 18%;
    animation: driftFloat3 28s ease-in-out infinite, blobMorph3 18s ease-in-out infinite;
}
.drift-4 {
    width: 320px; height: 290px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 0, 170, 0.14), transparent 70%);
    top: 58%; left: 48%;
    animation: driftFloat4 32s ease-in-out infinite, blobMorph1 25s ease-in-out infinite;
}
.drift-5 {
    width: 460px; height: 410px;
    background: radial-gradient(ellipse at 40% 40%, rgba(0, 240, 255, 0.08), transparent 70%);
    top: 4%; right: 18%;
    animation: driftFloat5 38s ease-in-out infinite, blobMorph2 19s ease-in-out infinite;
}

@keyframes driftFloat1 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-42px); }
}
@keyframes driftFloat2 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(32px); }
}
@keyframes driftFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(18px, -26px); }
}
@keyframes driftFloat4 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(36px); }
}
@keyframes driftFloat5 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-22px); }
}

@keyframes blobMorph1 {
    0%, 100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; }
    25%      { border-radius: 55% 45% 40% 60% / 40% 55% 45% 55%; }
    50%      { border-radius: 45% 55% 60% 40% / 55% 45% 50% 50%; }
    75%      { border-radius: 60% 40% 45% 55% / 45% 60% 40% 60%; }
}
@keyframes blobMorph2 {
    0%, 100% { border-radius: 50% 50% 45% 55% / 55% 45% 50% 50%; }
    33%      { border-radius: 45% 55% 55% 45% / 50% 50% 45% 55%; }
    66%      { border-radius: 55% 45% 50% 50% / 45% 55% 55% 45%; }
}
@keyframes blobMorph3 {
    0%, 100% { border-radius: 60% 40% 50% 50% / 50% 50% 40% 60%; }
    50%      { border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%; }
}

/* ==============================================================
   LAYER 3 — FISH
   ============================================================== */

.fish {
    position: absolute;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.2));
    mix-blend-mode: screen;
    transition: filter 0.5s ease;
    cursor: pointer;
    pointer-events: auto;
    will-change: transform, opacity;
}

.fish:hover {
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.7)) brightness(1.3);
    animation-play-state: paused;
}

.fish-1 { width: 90px;  top: 22%; left: -120px;  animation: swimRight 26s cubic-bezier(0.4,0,0.6,1) infinite; animation-delay: 3s; }
.fish-2 { width: 110px; top: 44%; right: -130px; animation: swimLeft  32s cubic-bezier(0.4,0,0.6,1) infinite; animation-delay: 7s; }
.fish-3 { width: 70px;  top: 62%; left: -90px;   animation: swimRight 22s cubic-bezier(0.4,0,0.6,1) infinite; animation-delay: 11s; }
.fish-4 { width: 65px;  top: 34%; right: -80px;  animation: swimLeft  28s cubic-bezier(0.4,0,0.6,1) infinite; animation-delay: 5s; }
.fish-5 { width: 80px;  top: 54%; left: -100px;  animation: swimRight 36s cubic-bezier(0.4,0,0.6,1) infinite; animation-delay: 15s; }
.fish-6 { width: 55px;  top: 76%; right: -70px;  animation: swimLeft  30s cubic-bezier(0.4,0,0.6,1) infinite; animation-delay: 18s; }
.fish-7 { width: 50px;  top: 18%; right: -60px;  animation: swimLeft  24s cubic-bezier(0.4,0,0.6,1) infinite; animation-delay: 9s; }

@keyframes swimRight {
    0%   { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0; }
    8%   { opacity: 0.8; }
    25%  { transform: translateX(calc(25vw + 60px)) translateY(-14px) rotate(-2deg); }
    50%  { transform: translateX(calc(50vw + 100px)) translateY(10px) rotate(1deg); }
    75%  { transform: translateX(calc(75vw + 140px)) translateY(-8px) rotate(-1deg); }
    92%  { opacity: 0.8; }
    100% { transform: translateX(calc(100vw + 220px)) translateY(6px) rotate(0deg); opacity: 0; }
}

@keyframes swimLeft {
    0%   { transform: scaleX(-1) translateX(0) translateY(0) rotate(0deg); opacity: 0; }
    8%   { opacity: 0.75; }
    25%  { transform: scaleX(-1) translateX(calc(25vw + 60px)) translateY(12px) rotate(2deg); }
    50%  { transform: scaleX(-1) translateX(calc(50vw + 100px)) translateY(-10px) rotate(-1deg); }
    75%  { transform: scaleX(-1) translateX(calc(75vw + 140px)) translateY(8px) rotate(1deg); }
    92%  { opacity: 0.75; }
    100% { transform: scaleX(-1) translateX(calc(100vw + 220px)) translateY(-6px) rotate(0deg); opacity: 0; }
}

/* ==============================================================
   LAYER 3 — SCATTER DOTS (particulate matter)
   ============================================================== */

.scatter-cluster {
    position: absolute;
    width: 200px;
    height: 200px;
}
.scatter-cluster::before,
.scatter-cluster::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    box-shadow:
        8px 12px 0 rgba(0, 240, 255, 0.5),
        34px 22px 0 rgba(0, 240, 255, 0.35),
        62px 8px 0 rgba(57, 255, 142, 0.5),
        96px 44px 0 rgba(255, 0, 170, 0.4),
        120px 18px 0 rgba(0, 240, 255, 0.5),
        52px 62px 0 rgba(136, 68, 255, 0.4),
        140px 72px 0 rgba(0, 240, 255, 0.35),
        18px 84px 0 rgba(57, 255, 142, 0.5),
        82px 100px 0 rgba(0, 240, 255, 0.4),
        160px 110px 0 rgba(255, 0, 170, 0.35),
        24px 140px 0 rgba(0, 240, 255, 0.3),
        108px 150px 0 rgba(136, 68, 255, 0.4),
        60px 170px 0 rgba(57, 255, 142, 0.4);
    width: 4px;
    height: 4px;
    background: transparent;
    animation: scatterDrift 14s ease-in-out infinite;
}
.scatter-cluster::after {
    animation-delay: -7s;
    opacity: 0.7;
}
.scatter-a { top: 10%; left: 8%; }
.scatter-b { top: 40%; right: 10%; animation-delay: 2s; }
.scatter-c { top: 68%; left: 14%; }
.scatter-d { top: 82%; right: 20%; }

@keyframes scatterDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    50%      { transform: translate(20px, -30px); opacity: 1; }
}

/* ==============================================================
   SECTION BASE
   ============================================================== */

.section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 15vh 8vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-inner {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Offset layouts — content never exceeds 55% viewport width */
.section-left-offset .section-inner {
    align-items: flex-start;
    padding-left: 4vw;
}
.section-left-offset .content-card,
.section-left-offset .pull-quote {
    margin-left: 2vw;
    margin-right: auto;
    max-width: 55vw;
}

.section-right-offset .section-inner {
    align-items: flex-end;
    padding-right: 4vw;
}
.section-right-offset .content-card {
    margin-right: 2vw;
    margin-left: auto;
    max-width: 55vw;
}

/* ==============================================================
   OPENING SECTION (0-100vh)
   ============================================================== */

#opening {
    min-height: 100vh;
    background: #0a0a12;
}
.opening-inner {
    position: relative;
    text-align: center;
    padding: 0 20px;
}

.title-main {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(64px, 12vw, 120px);
    letter-spacing: -0.03em;
    color: #d8d8e8;
    opacity: 0;
    transform: scale(0.95);
    text-shadow: 0 0 0 transparent;
    animation: titleReveal 3s ease-out 1s forwards;
    line-height: 1;
}

@keyframes titleReveal {
    0%   { opacity: 0; transform: scale(0.95); letter-spacing: 0.12em; text-shadow: 0 0 0 transparent; }
    40%  { opacity: 0.85; transform: scale(0.98); letter-spacing: -0.01em; }
    100% {
        opacity: 1;
        transform: scale(1);
        letter-spacing: -0.03em;
        text-shadow:
            0 0 40px rgba(0, 240, 255, 0.6),
            0 0 80px rgba(0, 240, 255, 0.3),
            0 0 140px rgba(0, 240, 255, 0.12);
    }
}

.title-border-line {
    height: 1px;
    width: 0;
    margin: 40px auto;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.6) 20%, rgba(136, 68, 255, 0.7) 50%, rgba(0, 240, 255, 0.6) 80%, transparent);
    animation: lineExtend 3s ease-out 2s forwards;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}
@keyframes lineExtend {
    0%   { width: 0; }
    100% { width: min(520px, 70vw); }
}

.subtitle-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #7a7a9e;
    opacity: 0;
    animation: subtitleFade 2s ease-out 3s forwards;
}
@keyframes subtitleFade {
    0%   { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0.75; transform: translateY(0); }
}

.scroll-hint {
    position: absolute;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: subtitleFade 1.5s ease-out 4s forwards;
}
.scroll-hint-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #7a7a9e;
}
.scroll-hint-arrow {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, transparent, #00f0ff);
    animation: scrollHintPulse 2.2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}
@keyframes scrollHintPulse {
    0%, 100% { height: 24px; opacity: 0.5; }
    50%      { height: 40px; opacity: 1; }
}

/* Depth indicator (UI overlay) */
.depth-indicator {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    opacity: 0;
    animation: uiFadeIn 1s ease-out 4s forwards;
}
@keyframes uiFadeIn { to { opacity: 1; } }

.depth-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #7a7a9e;
}
.depth-value {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 26px;
    color: #00f0ff;
    text-shadow: 0 0 14px rgba(0, 240, 255, 0.45);
    letter-spacing: 0.02em;
}
.depth-unit {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7a7a9e;
    opacity: 0.7;
}

/* ==============================================================
   CONTENT CARDS (glass + animated border)
   ============================================================== */

.content-card {
    position: relative;
    padding: 56px 52px;
    border-radius: 20px;
    z-index: 2;
}

.glass-card {
    background: rgba(17, 17, 40, 0.48);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    border: 1px solid rgba(0, 240, 255, 0.08);
    box-shadow:
        0 20px 60px rgba(10, 10, 18, 0.55),
        inset 0 1px 0 rgba(216, 216, 232, 0.05);
    overflow: hidden;
}

/* Fiber-optic animated border (rotating conic-gradient via @property) */
.animated-border {
    position: relative;
    isolation: isolate;
}
.animated-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--angle),
        rgba(0, 240, 255, 0.65),
        rgba(136, 68, 255, 0.45),
        rgba(255, 0, 170, 0.55),
        rgba(57, 255, 142, 0.35),
        rgba(0, 240, 255, 0.65)
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: angleRotate 10s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.animated-border-circle {
    position: relative;
}
.animated-border-circle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(
        from var(--angle),
        #00f0ff,
        #8844ff,
        #ff00aa,
        #39ff8e,
        #00f0ff
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: angleRotate 8s linear infinite;
    filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.4));
    pointer-events: none;
}

@keyframes angleRotate {
    to { --angle: 360deg; }
}

.content-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.35), transparent);
    opacity: 0.6;
    pointer-events: none;
}

/* Section tag (small caps label) */
.section-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #00f0ff;
    margin-bottom: 18px;
    opacity: 0.75;
}

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #d8d8e8;
    margin-bottom: 24px;
    text-shadow: 0 0 36px rgba(0, 240, 255, 0.18);
    transition: text-shadow 0.6s ease;
}

.section-body {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.8;
    color: #d8d8e8;
    opacity: 0.82;
    max-width: 620px;
}

.card-footer {
    display: flex;
    gap: 28px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}
.card-coord {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7a7a9e;
}

/* ==============================================================
   BIOLUMINESCENT SECTION
   ============================================================== */

#bioluminescent { min-height: 110vh; }

.bio-blob {
    position: absolute;
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    filter: blur(34px);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1;
}
.bio-blob-1 {
    width: 320px; height: 300px;
    background: radial-gradient(ellipse at 40% 40%, rgba(0, 240, 255, 0.28), rgba(0, 240, 255, 0.05) 60%, transparent 80%);
    top: -60px; left: -80px;
    animation: blobBreathe 9s ease-in-out infinite, blobMorph1 20s ease-in-out infinite;
}
.bio-blob-2 {
    width: 260px; height: 240px;
    background: radial-gradient(ellipse at 50% 50%, rgba(136, 68, 255, 0.22), rgba(136, 68, 255, 0.04) 60%, transparent 80%);
    top: 60px; right: -60px;
    animation: blobBreathe 11s ease-in-out infinite 2s, blobMorph2 22s ease-in-out infinite;
}
.bio-blob-3 {
    width: 220px; height: 220px;
    background: radial-gradient(ellipse at 40% 60%, rgba(57, 255, 142, 0.18), rgba(57, 255, 142, 0.03) 60%, transparent 80%);
    bottom: -30px; left: 34%;
    animation: blobBreathe 13s ease-in-out infinite 5s, blobMorph3 18s ease-in-out infinite;
}

@keyframes blobBreathe {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.15); opacity: 1; }
}

/* ==============================================================
   PULL-QUOTE SECTION
   ============================================================== */

#pull-quote {
    min-height: 90vh;
}

.pull-quote {
    position: relative;
    padding: 64px 72px;
    border-radius: 16px;
    background: rgba(14, 10, 24, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
    overflow: visible;
}

.quote-mark {
    position: absolute;
    top: -10px;
    left: 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 120px;
    color: #00f0ff;
    opacity: 0.35;
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    pointer-events: none;
}

.quote-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.3;
    color: #d8d8e8;
    letter-spacing: -0.01em;
    margin: 20px 0 32px 0;
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.12);
}

.quote-attribution {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7a7a9e;
}
.quote-attribution em {
    font-style: italic;
    color: #8844ff;
    text-transform: none;
    letter-spacing: 0.05em;
}

.quote-accent {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    mix-blend-mode: screen;
}
.quote-accent-1 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2), transparent 70%);
    top: -40px; right: -80px;
    animation: blobBreathe 11s ease-in-out infinite;
}
.quote-accent-2 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 0, 170, 0.15), transparent 70%);
    bottom: -40px; left: -60px;
    animation: blobBreathe 14s ease-in-out infinite 3s;
}

/* ==============================================================
   SIGNAL & DEPTH SECTION
   ============================================================== */

#signal-depth { min-height: 110vh; }

.signal-rings {
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    width: 440px;
    height: 440px;
    pointer-events: none;
    z-index: 0;
}
.signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    animation: ringPulse 6s ease-out infinite;
}
.ring-1 { width: 120px; height: 120px; animation-delay: 0s;   }
.ring-2 { width: 230px; height: 230px; animation-delay: 1.5s; }
.ring-3 { width: 340px; height: 340px; animation-delay: 3s;   }
.ring-4 { width: 440px; height: 440px; animation-delay: 4.5s; }

.signal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, #00f0ff, rgba(0, 240, 255, 0.2) 70%);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8), 0 0 60px rgba(0, 240, 255, 0.4);
    animation: coreFlicker 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.9; border-color: rgba(0, 240, 255, 0.5); }
    100% { transform: translate(-50%, -50%) scale(2);   opacity: 0;   border-color: rgba(0, 240, 255, 0);   }
}
@keyframes coreFlicker {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.3); }
}

/* ==============================================================
   SPECIMENS SECTION
   ============================================================== */

#specimens { min-height: 100vh; }
.specimens-tag { align-self: center; margin-bottom: 14px; }
.specimens-heading {
    text-align: center;
    margin-bottom: 56px;
}

.specimen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.specimen-card {
    padding: 36px 24px 32px;
    text-align: center;
    border-radius: 16px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.6, 1), box-shadow 0.6s ease;
    position: relative;
}

.specimen-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 240, 255, 0.12);
}

.specimen-orb {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 0 auto 22px;
    animation: orbPulse 4s ease-in-out infinite;
    position: relative;
}
.specimen-orb::after {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: inherit;
    filter: blur(24px);
    opacity: 0.5;
    z-index: -1;
}

.orb-cyan {
    background: radial-gradient(circle at 35% 35%, #00f0ff, rgba(0, 240, 255, 0.3) 60%, transparent 80%);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.45), inset 0 0 20px rgba(0, 240, 255, 0.3);
}
.orb-purple {
    background: radial-gradient(circle at 35% 35%, #8844ff, rgba(136, 68, 255, 0.3) 60%, transparent 80%);
    box-shadow: 0 0 30px rgba(136, 68, 255, 0.45), inset 0 0 20px rgba(136, 68, 255, 0.3);
    animation-delay: 1.2s;
}
.orb-green {
    background: radial-gradient(circle at 35% 35%, #39ff8e, rgba(57, 255, 142, 0.3) 60%, transparent 80%);
    box-shadow: 0 0 30px rgba(57, 255, 142, 0.45), inset 0 0 20px rgba(57, 255, 142, 0.3);
    animation-delay: 2.4s;
}
.orb-magenta {
    background: radial-gradient(circle at 35% 35%, #ff00aa, rgba(255, 0, 170, 0.3) 60%, transparent 80%);
    box-shadow: 0 0 30px rgba(255, 0, 170, 0.45), inset 0 0 20px rgba(255, 0, 170, 0.3);
    animation-delay: 3.6s;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1);    filter: brightness(1); }
    50%      { transform: scale(1.08); filter: brightness(1.25); }
}

.specimen-tag {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #7a7a9e;
    margin-bottom: 8px;
}

.specimen-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 24px;
    color: #d8d8e8;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.specimen-desc {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    color: #7a7a9e;
}

/* ==============================================================
   ABYSS SECTION
   ============================================================== */

#abyss {
    min-height: 120vh;
    background: linear-gradient(to bottom, transparent, rgba(14, 10, 24, 0.5), transparent);
}

.abyss-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.abyss-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00f0ff;
    border-radius: 50%;
    opacity: 0;
    animation: particleSink 9s linear infinite;
    box-shadow: 0 0 4px currentColor;
}

@keyframes particleSink {
    0%   { opacity: 0;   transform: translateY(-30px) translateX(0); }
    10%  { opacity: 0.7; }
    50%  { transform: translateY(50vh) translateX(12px); }
    90%  { opacity: 0.7; }
    100% { opacity: 0;   transform: translateY(110vh) translateX(-8px); }
}

.abyss-card {
    max-width: 620px;
    z-index: 5;
}

/* ==============================================================
   SETTLEMENT / THE FLOOR
   ============================================================== */

#settlement {
    min-height: 100vh;
    background: radial-gradient(ellipse at center bottom, rgba(17, 17, 40, 0.4) 0%, transparent 60%);
}

.section-floor .section-inner {
    align-items: center;
    text-align: center;
}

.monogram-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
    background: radial-gradient(circle at center, rgba(17, 17, 40, 0.8), rgba(10, 10, 18, 0.9));
    box-shadow:
        0 0 60px rgba(0, 240, 255, 0.15),
        inset 0 0 40px rgba(0, 240, 255, 0.05);
    position: relative;
}
.monogram-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.monogram-letters {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: 0.08em;
    color: #d8d8e8;
    text-shadow:
        0 0 20px rgba(0, 240, 255, 0.6),
        0 0 40px rgba(0, 240, 255, 0.3);
}

.settlement-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(40px, 6vw, 72px);
    color: #7a7a9e;
    text-shadow: 0 0 50px rgba(0, 240, 255, 0.3), 0 0 100px rgba(0, 240, 255, 0.12);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.settlement-body {
    margin: 0 auto 56px;
    max-width: 560px;
    text-align: center;
}

.cta-container {
    margin-top: 8px;
}

.cta-button {
    position: relative;
    display: inline-block;
    padding: 20px 56px;
    border: 1px solid rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.04);
    color: #00f0ff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.6, 1);
    overflow: hidden;
    border-radius: 2px;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}
.cta-button:hover::before {
    transform: translateX(100%);
}

.cta-button:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.7);
    box-shadow: 0 0 48px rgba(0, 240, 255, 0.3), inset 0 0 48px rgba(0, 240, 255, 0.06);
    transform: translateY(-2px);
    color: #d8d8e8;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.18), transparent 50%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}
.cta-button:hover .cta-glow {
    transform: translate(-50%, -50%) scale(1);
}

.floor-line {
    width: 240px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.45), transparent);
    margin: 72px auto 32px;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.floor-coords {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7a7a9e;
}
.coord-sep {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* ==============================================================
   SCROLL PROGRESS (left rail)
   ============================================================== */

#scroll-progress {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 140px;
    background: rgba(122, 122, 158, 0.18);
    border-radius: 1px;
    z-index: 500;
    opacity: 0;
    animation: uiFadeIn 1s ease-out 4s forwards;
}

#scroll-progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #00f0ff, #8844ff, #ff00aa);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    transition: height 0.15s ease;
}

/* ==============================================================
   SCROLL REVEAL
   ============================================================== */

.reveal-up {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1s cubic-bezier(0.4,0,0.2,1), transform 1s cubic-bezier(0.4,0,0.2,1);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.4,0,0.2,1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ==============================================================
   RESPONSIVE
   ============================================================== */

@media (max-width: 900px) {
    .specimen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-left-offset .content-card,
    .section-left-offset .pull-quote,
    .section-right-offset .content-card {
        max-width: 92vw;
        margin: 0 auto;
    }
    .section-left-offset .section-inner,
    .section-right-offset .section-inner {
        align-items: center;
        padding: 0 3vw;
    }
    .signal-rings {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 260px;
        height: 260px;
        margin: 0 auto 40px;
    }
    .ring-3 { width: 220px; height: 220px; }
    .ring-4 { width: 260px; height: 260px; }
}

@media (max-width: 600px) {
    .section { padding: 10vh 5vw; }
    .specimen-grid { grid-template-columns: 1fr; gap: 20px; }
    .content-card { padding: 40px 28px; }
    .pull-quote { padding: 48px 32px; }
    .quote-mark { font-size: 80px; top: -4px; left: 14px; }
    .title-main { font-size: 56px; }
    .section-heading { font-size: 36px; }
    .settlement-title { font-size: 42px; }
    .monogram-ring { width: 220px; height: 220px; }
    .monogram-letters { font-size: 30px; }
    .depth-indicator { right: 14px; bottom: 14px; }
    .depth-value { font-size: 20px; }
    #scroll-progress { left: 10px; height: 90px; }
    #viewport-border { display: none; }
}

/* ==============================================================
   REDUCED MOTION — keep ambient motion subtle
   ============================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .title-main { opacity: 1; transform: none; text-shadow: 0 0 40px rgba(0, 240, 255, 0.6); }
    .drift-shape { opacity: 1; }
}
