/* =============================================================
   yongjoon.net — seapunk / ocean-deep / blobitecture
   Palette:
     #0b1d2a  Abyss Ink
     #082a3a  Trench Blue
     #2ad0c8  Bioluminescent Teal
     #e85fc9  Seapunk Magenta
     #f4eadf  Pearl
     #6d4a80  Kelp Violet
     #8a6a2f  Sunken Gold
   ============================================================= */

:root {
    --abyss-ink: #0b1d2a;
    --trench-blue: #082a3a;
    --bio-teal: #2ad0c8;
    --seapunk-magenta: #e85fc9;
    --pearl: #f4eadf;
    --kelp-violet: #6d4a80;
    --sunken-gold: #8a6a2f;
    --oceanic-ease: cubic-bezier(0.32, 0, 0.28, 1);

    --font-display: 'Noto Serif KR', 'Cormorant Garamond', serif;
    --font-body: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --font-mono: 'Cutive Mono', 'Courier New', monospace;
    --font-fragment: 'Cormorant Garamond', 'Fraunces', serif;

    --margin-left: 12vw;
    --margin-right: 8vw;
    --gauge-width: 8vw;
}

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

html, body {
    background: var(--trench-blue);
    color: var(--pearl);
    font-family: var(--font-body);
    font-variation-settings: 'opsz' 14, 'wght' 380;
    overflow-x: hidden;
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    background: linear-gradient(to bottom,
        var(--trench-blue) 0%,
        var(--trench-blue) 15%,
        #061620 40%,
        var(--abyss-ink) 70%,
        #040c14 92%,
        #02070d 100%
    );
    background-attachment: fixed;
    min-height: 100vh;
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* =============================================================
   Canvas cursor trail
   ============================================================= */
#trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 5;
}

/* =============================================================
   Grain overlay
   ============================================================= */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(244, 234, 223, 0.02) 0.5px, transparent 1px),
        radial-gradient(circle at 60% 45%, rgba(244, 234, 223, 0.015) 0.4px, transparent 1px),
        radial-gradient(circle at 95% 80%, rgba(244, 234, 223, 0.025) 0.5px, transparent 1px),
        radial-gradient(circle at 30% 100%, rgba(244, 234, 223, 0.02) 0.3px, transparent 1px),
        radial-gradient(circle at 80% 15%, rgba(244, 234, 223, 0.02) 0.4px, transparent 1px);
    background-size: 120px 120px, 180px 180px, 150px 150px, 200px 200px, 130px 130px;
}

/* =============================================================
   Depth Gauge
   ============================================================= */
.depth-gauge {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--gauge-width);
    min-width: 72px;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
    backdrop-filter: blur(2px) saturate(1.4);
    -webkit-backdrop-filter: blur(2px) saturate(1.4);
    background: linear-gradient(to right,
        rgba(11, 29, 42, 0.5),
        rgba(11, 29, 42, 0.15) 70%,
        transparent
    );
    border-right: 1px solid rgba(109, 74, 128, 0.25);
}

.gauge-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.gauge-readout {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: var(--font-mono);
    color: var(--bio-teal);
    text-shadow: 0 0 12px rgba(42, 208, 200, 0.55);
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.gauge-number {
    display: block;
    font-size: 1.05rem;
    font-weight: 400;
}

.gauge-unit {
    display: block;
    font-size: 0.62rem;
    opacity: 0.7;
    margin-top: 2px;
    color: var(--pearl);
}

.gauge-scale {
    position: absolute;
    top: 108px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--kelp-violet);
    letter-spacing: 0.08em;
    line-height: 1.8;
    text-align: center;
}

.gauge-scale .gauge-mark {
    display: block;
    margin: 4px 0;
    transition: color 0.9s var(--oceanic-ease), opacity 0.9s var(--oceanic-ease);
    opacity: 0.35;
}

.gauge-scale .gauge-mark.passed {
    color: var(--bio-teal);
    opacity: 0.85;
    text-shadow: 0 0 8px rgba(42, 208, 200, 0.45);
}

.gauge-glyph {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 0;
    transition: top 0.05s linear;
    filter: drop-shadow(0 0 10px rgba(42, 208, 200, 0.6));
    z-index: 3;
}

/* =============================================================
   Main dive log
   ============================================================= */
.dive-log {
    position: relative;
    margin-left: var(--gauge-width);
    width: calc(100% - var(--gauge-width));
    padding-left: var(--margin-left);
    padding-right: var(--margin-right);
    z-index: 3;
}

.zone {
    min-height: 100vh;
    position: relative;
    padding: clamp(6rem, 12vh, 10rem) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tide lines between zones */
.tide-line {
    position: absolute;
    top: 0;
    left: -4vw;
    right: -4vw;
    height: 1px;
    border-top: 1px dashed rgba(109, 74, 128, 0.55);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 14px;
    padding-left: 2vw;
}

.tide-label {
    position: absolute;
    top: -0.5rem;
    left: 2vw;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--kelp-violet);
    letter-spacing: 0.14em;
    text-transform: lowercase;
    background: var(--abyss-ink);
    padding: 0 10px;
}

.zone-surface .tide-label { background: var(--trench-blue); }

/* =============================================================
   Zone 1: Surface
   ============================================================= */
.zone-surface {
    min-height: 110vh;
    justify-content: center;
    align-items: center;
}

.dragon-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70vh;
}

.dragon-glow {
    position: absolute;
    width: clamp(20rem, 48vw, 42rem);
    height: clamp(20rem, 48vw, 42rem);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 208, 200, 0.12), rgba(232, 95, 201, 0.06) 45%, transparent 70%);
    filter: blur(20px);
    animation: breath 9s var(--oceanic-ease) infinite;
}

@keyframes breath {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%      { transform: scale(1.08); opacity: 1; }
}

.dragon-glyph {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(18rem, 42vw, 36rem);
    line-height: 1;
    background: conic-gradient(
        from 0deg,
        var(--seapunk-magenta),
        var(--bio-teal) 33%,
        var(--pearl) 66%,
        var(--seapunk-magenta) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 2px var(--sunken-gold);
    text-stroke: 2px var(--sunken-gold);
    transform: rotate(3deg);
    position: relative;
    z-index: 2;
    transition: -webkit-text-stroke-color 2s var(--oceanic-ease);
    animation: dragon-spin 60s linear infinite;
    animation-play-state: paused;
    filter: drop-shadow(0 0 30px rgba(42, 208, 200, 0.35));
}

.dragon-stage.awakened .dragon-glyph {
    animation-play-state: running;
}

@keyframes dragon-spin {
    /* Rotates conic gradient; simulated by filter hue-rotate since background-clip gradient can't rotate via angle variable in Safari */
    0%   { filter: drop-shadow(0 0 30px rgba(42, 208, 200, 0.35)) hue-rotate(0deg); }
    100% { filter: drop-shadow(0 0 30px rgba(42, 208, 200, 0.35)) hue-rotate(360deg); }
}

.dragon-pulse {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    border: 2px solid var(--bio-teal);
    opacity: 0;
    pointer-events: none;
}

.dragon-pulse.pulse {
    animation: pulse-out 2.4s var(--oceanic-ease) 1;
}

@keyframes pulse-out {
    0%   { transform: scale(0.2); opacity: 0.7; }
    70%  { opacity: 0.25; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wordmark {
    position: absolute;
    right: 6vw;
    bottom: 8vh;
    text-align: right;
    color: var(--pearl);
    z-index: 4;
}

.wordmark-text {
    display: block;
    font-family: var(--font-fragment);
    font-style: italic;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--pearl);
    letter-spacing: 0.02em;
    opacity: 0.92;
}

.wordmark-sub {
    display: block;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--kelp-violet);
    letter-spacing: 0.22em;
    text-transform: lowercase;
}

.surface-meta {
    position: absolute;
    left: 2vw;
    bottom: 6vh;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--sunken-gold);
    letter-spacing: 0.14em;
    opacity: 0.7;
    z-index: 4;
}

/* Gold fades out as user leaves surface */
.surface-faded .dragon-glyph {
    -webkit-text-stroke-color: transparent;
}

.surface-faded .surface-meta {
    color: var(--kelp-violet);
    opacity: 0.35;
}

/* =============================================================
   Zone 2: Twilight — blob field
   ============================================================= */
.zone-twilight {
    background: linear-gradient(to bottom,
        rgba(8, 42, 58, 0.0),
        rgba(11, 29, 42, 0.3)
    );
}

.blob-field {
    position: relative;
    width: 100%;
    min-height: 85vh;
    margin-top: 4rem;
}

.blob {
    position: absolute;
    opacity: 0;
    transition: opacity 1.6s var(--oceanic-ease);
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 0%, transparent 0%);
    mask-image: radial-gradient(circle at center, #000 0%, #000 0%, transparent 0%);
    transition: -webkit-mask-image 1.4s var(--oceanic-ease),
                mask-image 1.4s var(--oceanic-ease),
                opacity 1.4s var(--oceanic-ease);
}

.blob.revealed {
    opacity: 1;
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 70%, transparent 120%);
    mask-image: radial-gradient(circle at center, #000 0%, #000 70%, transparent 120%);
}

.blob-a {
    top: 0;
    left: -2vw;
    width: 42vw;
    max-width: 620px;
    aspect-ratio: 1.1 / 1;
    transform: rotate(-3deg);
}

.blob-b {
    top: 18vh;
    right: -4vw;
    width: 46vw;
    max-width: 680px;
    aspect-ratio: 1.25 / 1;
    transform: rotate(4deg);
}

.blob-c {
    top: 48vh;
    left: 22vw;
    width: 40vw;
    max-width: 580px;
    aspect-ratio: 1 / 1.05;
    transform: rotate(-1.5deg);
}

.blob-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(140deg,
        rgba(8, 42, 58, 0.85),
        rgba(11, 29, 42, 0.7) 50%,
        rgba(109, 74, 128, 0.35)
    );
    padding: 18% 16% 16% 18%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(42, 208, 200, 0.08);
}

.blob-shape::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 30%, rgba(42, 208, 200, 0.18), transparent 55%);
    pointer-events: none;
}

.blob-inner {
    position: relative;
    z-index: 2;
    transform: rotate(var(--inner-rot, 2deg));
}

.blob-a .blob-inner { --inner-rot: 3deg; }
.blob-b .blob-inner { --inner-rot: -4deg; }
.blob-c .blob-inner { --inner-rot: 1.5deg; }

.blob-text {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-variation-settings: 'opsz' 14, 'wght' 380;
    line-height: 1.72;
    color: var(--pearl);
    letter-spacing: 0.005em;
    text-wrap: balance;
}

.blob-a .blob-text { color: var(--pearl); }
.blob-b .blob-text { color: #e9e0d4; }
.blob-c .blob-text { color: #eadfd1; }

/* =============================================================
   Zone 3: Midnight — ctenophore field
   ============================================================= */
.zone-midnight {
    background: linear-gradient(to bottom,
        rgba(11, 29, 42, 0.4),
        rgba(4, 12, 20, 0.85)
    );
    min-height: 130vh;
    position: relative;
    overflow: hidden;
}

.ctenophore-field {
    position: relative;
    width: 100%;
    height: 110vh;
    margin-top: 2rem;
}

.ctenophore {
    position: absolute;
    width: 56px;
    height: 56px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    transform-origin: center;
    transition: transform 0.6s var(--oceanic-ease);
    filter: drop-shadow(0 0 14px rgba(42, 208, 200, 0.35));
}

.ctenophore-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: ctenophore-bob 6s var(--oceanic-ease) infinite;
}

.ctenophore:nth-child(2n) .ctenophore-svg { animation-duration: 7.3s; animation-delay: -1.2s; }
.ctenophore:nth-child(3n) .ctenophore-svg { animation-duration: 5.6s; animation-delay: -2.8s; }
.ctenophore:nth-child(4n) .ctenophore-svg { animation-duration: 8.1s; animation-delay: -0.6s; }
.ctenophore:nth-child(5n) .ctenophore-svg { animation-duration: 6.7s; animation-delay: -3.4s; }

@keyframes ctenophore-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(4deg); }
}

.cteno-blob {
    fill: url(#ctenophore-core);
    opacity: 0.85;
    animation: hue-shimmer 8s linear infinite;
}

@keyframes hue-shimmer {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.cteno-core {
    fill: var(--seapunk-magenta);
    animation: core-pulse 3s var(--oceanic-ease) infinite;
}

@keyframes core-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.3); opacity: 0.7; }
}

.cteno-comb {
    stroke: var(--bio-teal);
    stroke-width: 0.8;
    fill: none;
    opacity: 0.7;
}

.ctenophore:hover .cteno-core {
    fill: var(--pearl);
}

.ctenophore-fragment {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    white-space: normal;
    min-width: 180px;
    max-width: 240px;
    font-family: var(--font-fragment);
    font-style: italic;
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--pearl);
    opacity: 0;
    transition: opacity 0.7s var(--oceanic-ease);
    pointer-events: none;
    text-shadow: 0 0 12px rgba(11, 29, 42, 0.9);
    letter-spacing: 0.01em;
    line-height: 1.4;
    z-index: 20;
}

.ctenophore.revealed .ctenophore-fragment,
.ctenophore:hover .ctenophore-fragment,
.ctenophore:focus .ctenophore-fragment {
    opacity: 1;
}

.ctenophore.revealed {
    filter: drop-shadow(0 0 18px rgba(232, 95, 201, 0.5));
}

.discovery-counter {
    position: absolute;
    top: 3rem;
    right: 2vw;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--bio-teal);
    letter-spacing: 0.12em;
    opacity: 0;
    transition: opacity 1s var(--oceanic-ease);
    z-index: 5;
    text-shadow: 0 0 10px rgba(42, 208, 200, 0.4);
}

.discovery-counter.active {
    opacity: 0.85;
}

.counter-label {
    display: block;
    color: var(--kelp-violet);
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    margin-bottom: 3px;
}

.counter-value {
    display: block;
    font-size: 0.92rem;
    color: var(--bio-teal);
}

.midnight-whisper {
    position: absolute;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--kelp-violet);
    letter-spacing: 0.3em;
    text-transform: lowercase;
    opacity: 0.6;
    z-index: 4;
}

.sr-fragments {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================================
   Zone 4: Abyss — heavy prose
   ============================================================= */
.zone-abyss {
    background: linear-gradient(to bottom,
        rgba(4, 12, 20, 0.8),
        rgba(2, 7, 13, 0.95)
    );
    min-height: 160vh;
}

.abyss-prose {
    max-width: 55ch;
    margin: 3rem auto;
    padding: 0 4vw;
    color: var(--pearl);
}

.prose-paragraph {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    font-variation-settings: 'opsz' 14, 'wght' 400;
    line-height: 1.85;
    letter-spacing: 0.005em;
    margin-bottom: 2.4rem;
    text-wrap: pretty;
    transition: font-variation-settings 0.3s var(--oceanic-ease),
                letter-spacing 0.3s var(--oceanic-ease);
}

.prose-paragraph:nth-child(2) {
    opacity: 0.92;
}

.prose-deepest {
    font-variation-settings: 'opsz' 144, 'wght' 720;
    letter-spacing: -0.02em;
    font-size: clamp(1.3rem, 1.9vw, 1.6rem);
    color: var(--bio-teal);
    text-shadow: 0 0 14px rgba(42, 208, 200, 0.3);
    margin-top: 4rem;
    text-align: center;
}

/* =============================================================
   Zone 5: Trench — telephone
   ============================================================= */
.zone-trench {
    background: radial-gradient(ellipse at center,
        rgba(11, 29, 42, 0.8),
        rgba(2, 7, 13, 0.98) 70%
    );
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.trench-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 6rem;
}

.telephone-link {
    position: relative;
    display: block;
    width: 220px;
    height: 220px;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.6s var(--oceanic-ease);
}

.telephone-link:hover {
    filter: drop-shadow(0 0 20px rgba(42, 208, 200, 0.7));
}

.telephone-svg {
    position: absolute;
    inset: 0;
    margin: auto;
    filter: drop-shadow(0 0 18px rgba(42, 208, 200, 0.3));
}

#handset-group {
    transform-origin: 100px 130px;
}

.telephone-link.ringing #handset-group {
    animation: handset-shake 0.4s var(--oceanic-ease);
}

@keyframes handset-shake {
    0%, 100% { transform: translateX(0) rotate(0); }
    20%      { transform: translateX(-3px) rotate(-1deg); }
    40%      { transform: translateX(3px) rotate(1deg); }
    60%      { transform: translateX(-3px) rotate(-0.5deg); }
    80%      { transform: translateX(3px) rotate(0.5deg); }
}

.telephone-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.telephone-waves .wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid var(--bio-teal);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
}

.telephone-link.ringing .wave-1 { animation: wave-expand 2s var(--oceanic-ease); }
.telephone-link.ringing .wave-2 { animation: wave-expand 2s var(--oceanic-ease) 0.25s; }
.telephone-link.ringing .wave-3 { animation: wave-expand 2s var(--oceanic-ease) 0.5s; }

@keyframes wave-expand {
    0%   { transform: translate(-50%, -50%) scale(0.2); opacity: 0.85; }
    100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

.trench-depth {
    margin-top: 2.2rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--bio-teal);
    letter-spacing: 0.22em;
    text-shadow: 0 0 14px rgba(42, 208, 200, 0.55);
}

.trench-hint {
    margin-top: 0.6rem;
    font-family: var(--font-fragment);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--kelp-violet);
    opacity: 0.65;
    letter-spacing: 0.04em;
}

/* =============================================================
   Voicemail overlay (closing stanza)
   ============================================================= */
.voicemail-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #000;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s var(--oceanic-ease);
}

.voicemail-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.voicemail-blur {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(8, 42, 58, 0.4),
        rgba(0, 0, 0, 0.95) 70%
    );
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.voicemail-text {
    position: relative;
    z-index: 2;
    max-width: 36ch;
    text-align: center;
    font-family: var(--font-body);
    font-variation-settings: 'opsz' 14, 'wght' 380;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--pearl);
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.6s var(--oceanic-ease) 0.7s,
                transform 1.6s var(--oceanic-ease) 0.7s;
}

.voicemail-overlay.active .voicemail-text {
    opacity: 1;
    transform: translateY(0);
}

.voicemail-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 6px;
    background: var(--bio-teal);
    vertical-align: middle;
    animation: cursor-blink 1.4s steps(2, end) infinite;
    box-shadow: 0 0 10px rgba(42, 208, 200, 0.7);
}

@keyframes cursor-blink {
    0%, 49%   { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* =============================================================
   Liquid typography application in deeper zones
   ============================================================= */
.zone-midnight .tide-label,
.zone-abyss .tide-label,
.zone-trench .tide-label {
    filter: url(#liquid);
}

.zone-trench .trench-depth,
.zone-trench .trench-hint {
    filter: url(#liquid);
}

/* =============================================================
   Responsive tweaks
   ============================================================= */
@media (max-width: 768px) {
    :root {
        --gauge-width: 60px;
        --margin-left: 8vw;
        --margin-right: 6vw;
    }

    .dragon-glyph {
        font-size: clamp(10rem, 50vw, 20rem);
    }

    .blob-a, .blob-b, .blob-c {
        position: relative;
        width: 92%;
        max-width: none;
        margin: 3vh auto;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
    }

    .blob-field {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .wordmark {
        right: 4vw;
        bottom: 4vh;
    }

    .ctenophore-fragment {
        min-width: 140px;
        max-width: 180px;
        font-size: 0.82rem;
    }

    .voicemail-text {
        font-size: 1.05rem;
        padding: 0 8vw;
    }
}

/* =============================================================
   Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    .dragon-glyph,
    .dragon-glow,
    .ctenophore-svg,
    .cteno-core,
    .cteno-blob,
    .telephone-link.ringing #handset-group,
    .telephone-link.ringing .wave {
        animation: none !important;
    }

    #trail-canvas {
        display: none;
    }

    .prose-deepest {
        font-variation-settings: 'opsz' 80, 'wght' 540;
    }
}
