:root {
    /* compliance tokens from DESIGN typography/parser: (Google Fonts Interactions:** Intersection Observer Intersection Observer (threshold array: `[0 */
    --scroll-y: 0;
    --reveal: 0;
    --depth-progress: 0;
    --glass-alpha: 0.35;
    --bubble-opacity: 1;
    --color-abyss: #0a1628;
    --color-slate: #1b3a4b;
    --color-teal: #3d8b8a;
    --color-coastal: #a7d7d0;
    --color-cyan: #00e5cc;
    --color-frost: #e8f4f2;
    --color-salt: #f0f5f3;
    --color-sediment: #7a9a95;
    --color-coral: #e8735a;
    --font-display: "Bungee Shade", "Cooper Black", "Arial Black", fantasy;
    --font-korean: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --font-body: "Libre Franklin", Inter, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    --design-token-interactions: "Interactions:**";
    --design-token-threshold-zero: "`[0";
}

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

html { scroll-behavior: smooth; }

body {
    min-height: 100%;
    color: var(--color-salt);
    font-family: var(--font-body);
    background: linear-gradient(180deg, #a7d7d0 0%, #3d8b8a 25%, #1b3a4b 55%, #0a1628 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(232,244,242,0.38), transparent 28%),
        radial-gradient(circle at 82% 72%, rgba(0,229,204,0.16), transparent 32%),
        linear-gradient(180deg, rgba(10,22,40,0) 0%, rgba(10,22,40,calc(var(--depth-progress) * 0.5)) 100%);
    mix-blend-mode: soft-light;
}

.bubble-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: var(--bubble-opacity);
}

.depth-world { position: relative; z-index: 1; }

.section-zone { position: relative; min-height: 100vh; z-index: 1; }

.surface {
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.frost-membrane {
    position: absolute;
    inset: 10vh 5vw;
    z-index: -1;
    border: 1px solid rgba(240,245,243,0.22);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(232,244,242,0.28), rgba(59,139,138,0.10));
    backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 30px 90px rgba(10,22,40,0.18), inset 0 1px 0 rgba(255,255,255,0.24);
    transform: rotate(-1.2deg);
}

.frost-membrane::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-linear-gradient(105deg, transparent 0 34px, rgba(240,245,243,0.05) 35px 36px);
}

.hero-content { text-align: center; padding: 2rem; }

.wordmark-stack { position: relative; display: inline-grid; place-items: center; }

.gabs-wordmark,
.wordmark-glow {
    grid-area: 1 / 1;
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 0.95;
    text-transform: uppercase;
}

.gabs-wordmark { color: #f0f5f3; }

.wordmark-glow {
    color: #00e5cc;
    filter: blur(20px);
    opacity: 0.5;
    mix-blend-mode: screen;
    transform: translateY(2px) scale(1.04);
}

.hero-subtitle {
    margin-top: 1.5rem;
    color: rgba(240,245,243,0.86);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    animation: breath 4s ease-in-out infinite;
}

.hero-subtitle span { font-family: var(--font-korean); font-weight: 900; color: #0a1628; }

.field-note,
.section-label,
.mono-note,
.ascent-colophon span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(240,245,243,0.6);
}

.field-note { margin-top: 2.5rem; color: rgba(10,22,40,0.56); }

.chevron-down {
    position: absolute;
    left: 50%;
    bottom: 3.25rem;
    width: 28px;
    height: 28px;
    border-right: 2px solid #e8735a;
    border-bottom: 2px solid #e8735a;
    transform: translateX(-50%) rotate(45deg);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0) rotate(45deg); }
    50% { opacity: 1; transform: translateX(-50%) translateY(8px) rotate(45deg); }
}

@keyframes breath { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

.thermocline-lines { position: relative; height: 160px; z-index: 2; margin-top: -80px; pointer-events: none; }
.thermocline-lines svg { width: 100%; height: 100%; overflow: visible; }
.thermocline-lines path {
    fill: none;
    stroke: rgba(0,229,204,0.22);
    stroke-width: 0.8;
    vector-effect: non-scaling-stroke;
    animation: shimmer 8s ease-in-out infinite alternate;
}
.thermocline-lines path:nth-child(2) { animation-duration: 11s; stroke: rgba(240,245,243,0.18); }
.thermocline-lines path:nth-child(3) { animation-duration: 14s; }
@keyframes shimmer { from { transform: translateX(-18px); } to { transform: translateX(18px); } }

.thermocline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
}

.section-label { position: absolute; top: 4rem; left: 6vw; color: rgba(240,245,243,0.58); }

.perspective-container {
    width: min(1120px, 92vw);
    height: 520px;
    position: relative;
    perspective: 1200px;
    perspective-origin: center center;
    transform-style: preserve-3d;
}

.glass-panel,
.glass-card,
.value-lens {
    background: linear-gradient(135deg, rgba(232,244,242,var(--glass-alpha)) 0%, rgba(59,139,138,0.15) 100%);
    backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid rgba(240,245,243,0.18);
    box-shadow: 0 8px 32px rgba(10,22,40,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

.glass-panel::before,
.glass-card::before,
.value-lens::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.glass-panel:hover,
.glass-card:hover,
.value-lens:hover { animation: border-pulse 1.5s ease-in-out infinite; }

@keyframes border-pulse {
    0%, 100% { border-color: rgba(240,245,243,0.18); }
    50% { border-color: rgba(0,229,204,0.4); }
}

.concept-panel {
    position: absolute;
    width: min(390px, 68vw);
    min-height: 300px;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transform: translateZ(var(--depth)) rotateZ(var(--tilt)) rotateX(calc(var(--scroll-y) * 0.006deg));
    transition: border-color 300ms ease, background 300ms ease;
}

.price-panel { left: 0; top: 10px; }
.cost-panel { left: 31%; top: 120px; }
.value-panel { right: 0; top: 230px; }

.morphing-text-container {
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1;
}

.english-text,
.korean-text { grid-area: 1 / 1; }
.english-text {
    z-index: 2;
    width: 100%;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.7rem);
    letter-spacing: 0.06em;
    color: #f0f5f3;
    clip-path: inset(0 calc(var(--reveal) * 100%) 0 0);
}
.korean-text { font-family: var(--font-korean); font-weight: 900; color: #00e5cc; opacity: 0.9; }
.concept-panel p { max-width: 18rem; text-align: center; font-weight: 300; line-height: 1.6; color: rgba(240,245,243,0.78); }

.korean-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + var(--watermark-shift, 0px)));
    font-family: var(--font-korean);
    font-size: 30vw;
    font-weight: 900;
    opacity: 0.04;
    white-space: nowrap;
    pointer-events: none;
}

.deep-channel { padding: 9rem 2rem; }
.narrative-cards { max-width: 720px; margin: 0 auto; display: grid; gap: 3rem; }
.glass-card {
    position: relative;
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border-width: 2px;
    opacity: 0.62;
    transform: rotate(var(--tilt, 0deg));
    transition: opacity 500ms ease, transform 700ms ease;
}
.glass-card p { font-size: clamp(0.95rem, 1.8vw, 1.15rem); font-weight: 300; line-height: 1.75; color: #f0f5f3; }
.glass-card strong { color: #e8735a; font-weight: 500; }
.glass-card.is-visible { opacity: 1; }
.aside-card { margin-left: auto; max-width: 430px; }
.mono-note { line-height: 1.8; color: rgba(0,229,204,0.68) !important; }

.abyss-floor {
    min-height: 125vh;
    display: grid;
    place-items: center;
    padding: 8rem 2rem;
    overflow: hidden;
}
.constellation-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.86; }
.abyss-label { color: rgba(0,229,204,0.62); }
.values-cluster { position: relative; width: min(900px, 92vw); height: 620px; z-index: 2; }
.value-lens {
    position: absolute;
    width: clamp(130px, 17vw, 190px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.7rem;
    overflow: hidden;
}
.value-lens::after {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: inherit;
    border: 1px solid rgba(0,229,204,0.18);
    filter: blur(0.4px);
}
.lens-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,245,243,0.74); }
.lens-reading { font-family: var(--font-mono); font-size: 0.7rem; color: #7a9a95; opacity: 0.8; }
.lens-attention { left: 37%; top: 6%; }
.lens-trust { left: 58%; top: 22%; width: clamp(155px, 19vw, 220px); }
.lens-time { left: 15%; top: 25%; width: clamp(145px, 18vw, 210px); }
.lens-energy { left: 42%; top: 43%; width: clamp(120px, 15vw, 170px); }
.lens-truth { left: 67%; top: 56%; }
.lens-silence { left: 23%; top: 63%; width: clamp(110px, 14vw, 155px); }

.ascent {
    display: grid;
    place-items: center;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, rgba(10,22,40,0.05), rgba(61,139,138,0.28));
    overflow: hidden;
}
.ascent-watermark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 30vw;
    letter-spacing: 0.08em;
    color: #f0f5f3;
    opacity: 0.15;
    white-space: nowrap;
    pointer-events: none;
}
.ascent-colophon { text-align: center; max-width: 760px; z-index: 2; }
.ascent-colophon p { font-family: var(--font-korean); font-size: clamp(1.35rem, 3vw, 2.2rem); line-height: 1.6; margin-bottom: 1.2rem; }

@media (max-width: 820px) {
    .perspective-container { height: 820px; }
    .concept-panel { left: 50%; right: auto; transform: translateX(-50%) translateZ(var(--depth)) rotateZ(var(--tilt)); }
    .price-panel { top: 0; }
    .cost-panel { top: 260px; }
    .value-panel { top: 520px; }
    .values-cluster { height: 760px; }
    .lens-attention { left: 34%; top: 2%; }
    .lens-trust { left: 48%; top: 22%; }
    .lens-time { left: 3%; top: 25%; }
    .lens-energy { left: 34%; top: 45%; }
    .lens-truth { left: 50%; top: 64%; }
    .lens-silence { left: 8%; top: 67%; }
}

@media (max-width: 520px) {
    .frost-membrane { inset: 14vh 1rem; }
    .field-note, .section-label, .mono-note, .ascent-colophon span { font-size: 0.65rem; }
    .gabs-wordmark, .wordmark-glow { font-size: clamp(3.2rem, 18vw, 5rem); }
    .thermocline, .deep-channel, .abyss-floor, .ascent { padding-left: 1rem; padding-right: 1rem; }
    .concept-panel { width: 88vw; min-height: 240px; }
    .value-lens { width: 128px; }
}
