/* ==========================================================================
   jungchi.boo — haunted tide pool
   Coastal-blend palette, serif-revival typography, five tidal zones.
   ========================================================================== */

:root {
    --abyssal-basalt: #0f1923;
    --abyssal-basalt-deep: #0f1520;
    --tidal-slate: #1a2f3a;
    --morning-mist: #c8dde4;
    --sunrise-apricot: #e8a87c;
    --shallow-turquoise: #5cbdb9;
    --seafoam-white: #e8f0ed;
    --drift-gray: #8a9fab;
    --bioluminescent: #3de8c7;

    --bg-start: var(--tidal-slate);
    --bg-end: var(--abyssal-basalt);

    --mouse-x: 50vw;
    --mouse-y: 50vh;

    --ease-water: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --font-display: 'Cormorant Garamond', 'Source Serif 4', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
    background: var(--abyssal-basalt);
}

body {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
    background-attachment: fixed;
    color: var(--seafoam-white);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   Ambient layers
   ========================================================================== */

.caustic-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    mix-blend-mode: screen;
}

.caustic {
    position: absolute;
    inset: -20%;
    opacity: 0.07;
    will-change: transform, background-position;
}

.caustic--one {
    background:
        radial-gradient(ellipse 40% 30% at 30% 40%, rgba(92, 189, 185, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 30% 20% at 70% 60%, rgba(61, 232, 199, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 25% 20% at 50% 20%, rgba(232, 168, 124, 0.3) 0%, transparent 50%);
    animation: causticDrift 21s ease-in-out infinite alternate;
}

.caustic--two {
    background:
        radial-gradient(ellipse 35% 25% at 60% 30%, rgba(61, 232, 199, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse 20% 15% at 20% 70%, rgba(232, 168, 124, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 30% 25% at 85% 85%, rgba(92, 189, 185, 0.4) 0%, transparent 55%);
    animation: causticDrift 13s ease-in-out infinite alternate-reverse;
    mix-blend-mode: overlay;
    opacity: 0.05;
}

.caustic--three {
    background:
        radial-gradient(ellipse 50% 35% at 40% 80%, rgba(92, 189, 185, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 25% 20% at 80% 20%, rgba(61, 232, 199, 0.25) 0%, transparent 50%);
    animation: causticDrift 8s ease-in-out infinite alternate;
    opacity: 0.04;
}

@keyframes causticDrift {
    0%   { transform: translate(-2%, -1%) scale(1.02); }
    50%  { transform: translate(2%, 1.5%) scale(1.08); }
    100% { transform: translate(-1.5%, 2%) scale(1.04); }
}

/* Cursor bioluminescent flashlight */
.cursor-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(
        200px circle at var(--mouse-x) var(--mouse-y),
        rgba(61, 232, 199, 0.06) 0%,
        rgba(61, 232, 199, 0.02) 40%,
        transparent 70%
    );
    transition: background 120ms linear;
    mix-blend-mode: screen;
}

/* ==========================================================================
   Particle field
   ========================================================================== */

.particle-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.particle-group {
    position: absolute;
    inset: 0;
    transition: opacity 600ms var(--ease-water);
}

.particle-group--surface { opacity: 0.9; }
.particle-group--mid     { opacity: 0.35; }
.particle-group--deep    { opacity: 0.15; }

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--bioluminescent);
    box-shadow: 0 0 6px rgba(61, 232, 199, 0.4);
    will-change: transform, opacity;
    animation-name: particleRise;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.particle--alt {
    background: var(--shallow-turquoise);
    box-shadow: 0 0 4px rgba(92, 189, 185, 0.35);
}

@keyframes particleRise {
    0%   { transform: translate(0, 20vh) scale(0.8); opacity: 0; }
    10%  { opacity: var(--p-opacity, 0.35); }
    50%  { transform: translate(var(--p-sway, 12px), -40vh) scale(1); }
    90%  { opacity: var(--p-opacity, 0.35); }
    100% { transform: translate(calc(var(--p-sway, 12px) * -1), -110vh) scale(0.6); opacity: 0; }
}

/* ==========================================================================
   Domain mark (fixed top-left)
   ========================================================================== */

.domain-mark {
    position: fixed;
    top: clamp(1.25rem, 2.5vw, 2.2rem);
    left: clamp(1.25rem, 2.5vw, 2.2rem);
    z-index: 30;
    transform-origin: top left;
    transition: opacity 400ms var(--ease-water), transform 400ms var(--ease-water);
    pointer-events: none;
    user-select: none;
}

.domain-mark__text {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    letter-spacing: 0.08em;
    color: var(--seafoam-white);
    text-shadow: 0 0 20px rgba(61, 232, 199, 0.15);
}

.domain-mark__meta {
    display: block;
    margin-top: 0.3rem;
    font-family: var(--font-mono);
    font-size: clamp(0.55rem, 0.7vw, 0.68rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--drift-gray);
    opacity: 0.85;
}

/* ==========================================================================
   Telemetry (fixed top-right)
   ========================================================================== */

.telemetry {
    position: fixed;
    top: clamp(1.25rem, 2.5vw, 2.2rem);
    right: clamp(1.25rem, 2.5vw, 2.2rem);
    z-index: 30;
    text-align: right;
    pointer-events: none;
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.telemetry__line {
    font-family: var(--font-mono);
    font-size: clamp(0.55rem, 0.7vw, 0.7rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--drift-gray);
    opacity: 0.8;
}

#telemetryDepth { color: var(--shallow-turquoise); }

/* ==========================================================================
   Tidal flow + zones
   ========================================================================== */

.tidal-flow {
    position: relative;
    z-index: 20;
    padding-bottom: 10vh;
}

.zone {
    position: relative;
    min-height: 100vh;
    padding: 12vh clamp(1.5rem, 5vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.zone--surface {
    min-height: 100vh;
    padding-top: 14vh;
    background: linear-gradient(180deg, var(--tidal-slate) 0%, var(--tidal-slate) 60%, rgba(15, 25, 35, 0.4) 100%);
}

.zone--shallows {
    min-height: 200vh;
    padding-top: 14vh;
    background: linear-gradient(180deg, rgba(15, 25, 35, 0.4) 0%, rgba(15, 25, 35, 0.7) 100%);
}

.zone--thermocline {
    min-height: 100vh;
    padding-top: 24vh;
    background: linear-gradient(180deg, rgba(26, 47, 58, 0.2) 0%, var(--abyssal-basalt) 60%, var(--abyssal-basalt-deep) 100%);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.zone--deep {
    min-height: 200vh;
    padding-top: 14vh;
    background: linear-gradient(180deg, var(--abyssal-basalt-deep) 0%, var(--abyssal-basalt-deep) 100%);
}

.zone--abyss {
    min-height: 100vh;
    padding-top: 14vh;
    background: radial-gradient(ellipse 70% 50% at 50% 55%, rgba(61, 232, 199, 0.07) 0%, var(--abyssal-basalt-deep) 55%, #06090e 100%);
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Zone marker (numeric index + name) */
.zone__marker {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    padding-bottom: clamp(3rem, 6vh, 5rem);
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 0.85vw, 0.78rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--drift-gray);
}

.zone__marker--faded  { color: rgba(138, 159, 171, 0.45); }
.zone__marker--deep   { color: rgba(61, 232, 199, 0.55); }

.zone__index {
    color: var(--shallow-turquoise);
    font-weight: 500;
}

.zone__label {
    color: var(--seafoam-white);
    letter-spacing: 0.28em;
}

.zone__depth {
    margin-left: auto;
    color: var(--drift-gray);
}

/* Zone header (serif display) */
.zone-header {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    letter-spacing: 0.05em;
    line-height: 1.15;
    color: var(--seafoam-white);
    margin-bottom: clamp(4rem, 8vh, 7rem);
    max-width: 70%;
}

.zone-header .char {
    display: inline-block;
    transform: translateY(20px);
    opacity: 0;
    animation: charRise 0.8s var(--ease-water) forwards;
    animation-play-state: paused;
}

.zone-header.in-view .char {
    animation-play-state: running;
}

@keyframes charRise {
    0%   { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

/* ==========================================================================
   Zone 1 :: Surface hero
   ========================================================================== */

.surface-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-top: clamp(5vh, 12vh, 15vh);
    max-width: 960px;
    position: relative;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(3rem, 9vw, 7.5rem);
    letter-spacing: 0.06em;
    line-height: 1.02;
    color: var(--seafoam-white);
    text-shadow: 0 0 60px rgba(61, 232, 199, 0.12);
}

.hero-title .char {
    display: inline-block;
    transform: translateY(40px);
    opacity: 0;
    animation: charRise 1s var(--ease-water) forwards;
}

.hero-title__row { display: block; }

.hero-haiku {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.85;
    letter-spacing: 0.02em;
    color: var(--morning-mist);
    max-width: 42ch;
}

.hero-haiku__line {
    display: block;
    opacity: 0;
    transform: translateY(12px);
    animation: charRise 1.2s var(--ease-water) forwards;
}
.hero-haiku__line:nth-child(1) { animation-delay: 1.0s; }
.hero-haiku__line:nth-child(2) { animation-delay: 1.3s; }
.hero-haiku__line:nth-child(3) { animation-delay: 1.6s; }

.scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--drift-gray);
    margin-top: clamp(2rem, 5vh, 4rem);
    opacity: 0;
    animation: charRise 1s var(--ease-water) forwards;
    animation-delay: 2.0s;
}

.scroll-cue__arrow {
    position: relative;
    width: 1px;
    height: 64px;
    background: linear-gradient(180deg, var(--shallow-turquoise) 0%, transparent 100%);
    animation: scrollCuePulse 3s ease-in-out infinite;
}

@keyframes scrollCuePulse {
    0%, 100% { height: 64px; opacity: 0.35; }
    50%      { height: 90px; opacity: 0.9;  }
}

/* ==========================================================================
   Drift blocks (mid-water content)
   ========================================================================== */

.drift-block {
    position: relative;
    max-width: 55%;
    padding: clamp(1.8rem, 3.2vw, 2.8rem) clamp(1.6rem, 3vw, 2.6rem);
    margin-bottom: clamp(30vh, 35vh, 40vh);
    background: rgba(15, 25, 35, 0.4);
    border: 1px solid rgba(92, 189, 185, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    transition:
        opacity 1.2s var(--ease-water),
        transform 1.2s var(--ease-water),
        border-color 600ms ease,
        box-shadow 600ms ease;
    will-change: transform, opacity;
    --drift-offset: 0px;
    --scroll-drift: 0px;
}

.drift-block.reveal {
    opacity: 0;
    transform: translateY(40px) translateX(var(--drift-offset));
}

.drift-block.reveal.in-view {
    opacity: 1;
    transform: translateY(0) translateX(var(--scroll-drift));
}

.drift-block--left  { margin-right: auto; --drift-offset: -40px; }
.drift-block--right { margin-left: auto; text-align: left; --drift-offset: 40px; }

.drift-block:hover {
    border-color: rgba(92, 189, 185, 0.3);
    box-shadow: 0 0 60px rgba(61, 232, 199, 0.08), inset 0 0 40px rgba(61, 232, 199, 0.03);
}

.drift-block__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 0.8vw, 0.72rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--shallow-turquoise);
    margin-bottom: 1.4rem;
}

.drift-block__tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bioluminescent);
    box-shadow: 0 0 12px rgba(61, 232, 199, 0.7);
    animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.25); }
}

.drift-block__heading {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    letter-spacing: 0.03em;
    line-height: 1.25;
    color: var(--seafoam-white);
    margin-bottom: 1.25rem;
}

.drift-block__body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.98rem, 1.2vw, 1.1rem);
    line-height: 1.85;
    color: var(--morning-mist);
    letter-spacing: 0.01em;
}

.drift-block__body em {
    color: var(--sunrise-apricot);
    font-style: italic;
    font-family: var(--font-display);
}

/* Circuit-coral corner motif */
.circuit-coral {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 600ms var(--ease-water), clip-path 600ms var(--ease-water);
    clip-path: inset(0 80% 80% 0);
}

.circuit-coral--tl { top: -10px; left: -10px; }
.circuit-coral--br {
    bottom: -10px; right: -10px;
    clip-path: inset(80% 0 0 80%);
}

.circuit-coral svg {
    width: 100%;
    height: 100%;
    display: block;
}

.circuit-coral svg path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.2s var(--ease-water);
    opacity: 0.6;
}

.drift-block:hover .circuit-coral {
    opacity: 0.5;
    clip-path: inset(0 0 0 0);
}

.drift-block:hover .circuit-coral svg path {
    stroke-dashoffset: 0;
}

/* ==========================================================================
   Zone 2 wave dividers + other waves
   ========================================================================== */

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    pointer-events: none;
    opacity: 0.35;
}

.wave-divider path {
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    transition: stroke-dashoffset 2s var(--ease-water);
    opacity: 0.6;
}

.wave-divider.in-view path {
    stroke-dashoffset: 0;
}

/* ==========================================================================
   Zone 3 :: Thermocline core
   ========================================================================== */

.thermocline-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    max-width: 720px;
    padding: 4vh 2rem;
}

.thermocline-pulse {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thermocline-pulse__ring,
.thermocline-pulse__ring--two {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(92, 189, 185, 0.3);
    border-radius: 50%;
    animation: pulseRing 5s ease-out infinite;
}

.thermocline-pulse__ring--two {
    animation-delay: 2.5s;
    border-color: rgba(61, 232, 199, 0.35);
}

@keyframes pulseRing {
    0%   { transform: scale(0.4); opacity: 0; }
    40%  { opacity: 0.9; }
    100% { transform: scale(1.8); opacity: 0; }
}

.thermocline-pulse__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bioluminescent);
    box-shadow: 0 0 32px rgba(61, 232, 199, 0.65);
}

.thermocline-whisper {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.2rem, 2.4vw, 1.9rem);
    letter-spacing: 0.06em;
    color: var(--drift-gray);
    line-height: 1.6;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.4rem;
}

.thermocline-whisper__gap {
    display: inline-block;
    width: clamp(18px, 4vw, 40px);
    height: 1px;
    background: rgba(92, 189, 185, 0.4);
    margin: 0 0.4rem;
    transform: translateY(-0.4em);
}

/* ==========================================================================
   Zone 4 :: Deep artifacts
   ========================================================================== */

.deep-block {
    background: rgba(15, 21, 32, 0.6);
    border-color: rgba(92, 189, 185, 0.12);
}

.artifact-meta,
.telemetry-grid {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(92, 189, 185, 0.14);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem 1.25rem;
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 0.78vw, 0.72rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--drift-gray);
}

.artifact-meta > div,
.telemetry-grid__row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.artifact-meta dt,
.telemetry-grid__key {
    color: rgba(138, 159, 171, 0.7);
    font-weight: 300;
}

.artifact-meta dd,
.telemetry-grid__val {
    color: var(--shallow-turquoise);
    font-weight: 400;
}

/* Keep the hangul readable without Plex's tracking */
.telemetry-grid__val:lang(ko),
.telemetry-grid__val:last-child {
    letter-spacing: 0.04em;
    text-transform: none;
    font-family: var(--font-body);
    color: var(--seafoam-white);
}

/* Re-apply coastal colors for specific rows */
.telemetry-grid__row:nth-child(3) .telemetry-grid__val {
    color: var(--sunrise-apricot);
    font-family: var(--font-body);
    letter-spacing: 0.04em;
    text-transform: none;
}

/* ==========================================================================
   Zone 5 :: Abyss + ghost
   ========================================================================== */

.abyss-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.6rem, 4vh, 3rem);
    max-width: 640px;
    padding: 2vh 2rem;
}

.abyss-whisper {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    letter-spacing: 0.06em;
    color: var(--drift-gray);
    line-height: 1.75;
    max-width: 48ch;
}

.ghost-wrap {
    position: relative;
    width: clamp(140px, 22vw, 220px);
    height: clamp(160px, 26vw, 260px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ghost {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 60px rgba(61, 232, 199, 0.3))
            drop-shadow(0 0 20px rgba(61, 232, 199, 0.35));
    animation: ghostBob 4s ease-in-out infinite;
    cursor: pointer;
    transition: filter 400ms var(--ease-water), transform 400ms var(--ease-water);
}

.ghost svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ghost:hover {
    filter: drop-shadow(0 0 90px rgba(61, 232, 199, 0.55))
            drop-shadow(0 0 30px rgba(61, 232, 199, 0.5));
}

@keyframes ghostBob {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-16px) rotate(1deg); }
}

.ghost-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.ghost-bubble {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bioluminescent);
    box-shadow: 0 0 12px rgba(61, 232, 199, 0.6);
    opacity: 0;
    animation: bubbleRise 2s ease-out forwards;
}

@keyframes bubbleRise {
    0%   { transform: translate(var(--b-x, 0), 0) scale(0.6); opacity: 0; }
    15%  { opacity: 0.9; }
    100% { transform: translate(var(--b-x, 0), -220px) scale(1.1); opacity: 0; }
}

.abyss-sig {
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 0.85vw, 0.75rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bioluminescent);
    opacity: 0.85;
}

.abyss-coords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: clamp(0.55rem, 0.7vw, 0.68rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--drift-gray);
}

/* Return to surface */
.surface-return {
    margin-top: 2rem;
    background: transparent;
    border: 1px solid rgba(92, 189, 185, 0.35);
    color: var(--seafoam-white);
    padding: 0.9rem 1.8rem;
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 0.8vw, 0.72rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    transition: all 400ms var(--ease-water);
    border-radius: 0;
}

.surface-return:hover {
    border-color: var(--bioluminescent);
    color: var(--bioluminescent);
    box-shadow: 0 0 30px rgba(61, 232, 199, 0.2);
    transform: translateY(-3px);
}

.surface-return__arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-left: 1px solid currentColor;
    border-top: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 400ms var(--ease-water);
}

.surface-return:hover .surface-return__arrow {
    transform: rotate(45deg) translate(-3px, -3px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .drift-block,
    .drift-block--left,
    .drift-block--right {
        max-width: 100%;
        margin-bottom: 22vh;
    }
    .zone-header { max-width: 100%; }
    .zone {
        padding: 10vh clamp(1.25rem, 5vw, 2rem);
    }
    .domain-mark__meta,
    .telemetry { display: none; }
}

@media (max-width: 560px) {
    .hero-title {
        font-size: clamp(2.6rem, 13vw, 4.2rem);
    }
    .drift-block {
        padding: 1.5rem 1.25rem;
    }
    .circuit-coral { width: 56px; height: 56px; }
    .zone__marker {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
}

/* Honor reduced motion */
@media (prefers-reduced-motion: reduce) {
    .caustic,
    .particle,
    .ghost,
    .thermocline-pulse__ring,
    .thermocline-pulse__ring--two,
    .scroll-cue__arrow,
    .drift-block__tag-dot {
        animation: none !important;
    }
    .drift-block.reveal,
    .drift-block.reveal.in-view,
    .hero-haiku__line,
    .scroll-cue,
    .hero-title .char,
    .zone-header .char {
        opacity: 1;
        transform: none;
    }
}
