/* ════════════════════════════════════════
   HOW IT WORKS — page-specific styles
════════════════════════════════════════ */

        main { padding-top: 0 !important; }

        /* ── Chapter layout ── */
        .hiw-section {
            max-width: 1100px;
            margin: 0 auto;
            padding: 7rem 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
        }
        .hiw-section--flip { direction: rtl; }
        .hiw-section--flip > * { direction: ltr; }
        .hiw-section--center {
            grid-template-columns: 1fr;
            text-align: center;
            max-width: 760px;
            gap: 2rem;
        }
        .hiw-section--full {
            grid-template-columns: 1fr;
            max-width: 1000px;
        }
        @media (max-width: 680px) {
            .hiw-section { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 1.25rem; }
            .hiw-section--flip { direction: ltr; }
        }

        /* ── Chapter text ── */
        .chapter-eyebrow {
            font-size: 0.63rem;
            font-weight: 700;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--accent-cyan);
            opacity: 0.7;
            margin-bottom: 0.6rem;
        }
        .chapter-title {
            font-size: clamp(1.9rem, 3.5vw, 2.8rem);
            font-weight: 800;
            line-height: 1.08;
            letter-spacing: -0.025em;
            margin-bottom: 1.25rem;
        }
        .chapter-body {
            font-size: 0.93rem;
            line-height: 1.85;
            color: var(--text-muted);
        }
        .chapter-body strong { color: var(--text-primary); font-weight: 600; }
        .chapter-body p + p { margin-top: 1em; }
        .manifesto-narrative {
            position: relative;
        }
        .manifesto-narrative .narrative-sentence {
            display: inline;
            opacity: 0.12;
            filter: blur(8px);
            transform: translateY(16px);
            transition:
                opacity 0.8s ease,
                filter 0.9s ease,
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.8s ease;
            color: rgba(245, 245, 247, 0.42);
            will-change: opacity, filter, transform;
        }
        .manifesto-narrative.is-active .narrative-sentence {
            opacity: 1;
            filter: blur(0);
            transform: translateY(0);
            color: var(--text-muted);
        }
        .manifesto-narrative::after {
            content: '';
            position: absolute;
            inset: -0.35rem -0.65rem;
            border-radius: 18px;
            background: linear-gradient(90deg,
                rgba(6, 182, 212, 0) 0%,
                rgba(6, 182, 212, 0.12) 45%,
                rgba(245, 158, 11, 0.08) 55%,
                rgba(245, 158, 11, 0) 100%);
            opacity: 0;
            transform: translateX(-10%);
            pointer-events: none;
        }
        .manifesto-narrative.is-active::after {
            animation: manifestoSweep 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
        }
        @keyframes manifestoSweep {
            0% {
                opacity: 0;
                transform: translateX(-10%);
            }
            22% {
                opacity: 1;
            }
            100% {
                opacity: 0;
                transform: translateX(12%);
            }
        }

        /* ── Full-height hero ── */
        .hiw-hero {
            min-height: 70svh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 6rem 2rem 3rem;
            gap: 1.6rem;
            position: relative;
        }
        .hiw-hero-title {
            font-size: clamp(2.8rem, 8vw, 5.8rem);
            font-weight: 800;
            line-height: 1.0;
            letter-spacing: -0.03em;
        }
        .hiw-hero-sub {
            font-size: clamp(1rem, 2.5vw, 1.4rem);
            color: var(--text-muted);
            font-weight: 400;
            max-width: 560px;
            margin: 0;
        }
        .hiw-hero-sub strong { color: var(--text-primary); font-weight: 600; }
        .hiw-hero-sub-pair {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }
        /* ── Scroll hint ── */
        .scroll-cue {
            position: absolute;
            bottom: 0.4rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.4rem;
            color: var(--text-muted);
            font-size: 0.62rem;
            font-weight: 600;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }
        @keyframes fadeCue { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 0.45; transform: translateX(-50%) translateY(0); } }
        .scroll-cue-arrow { animation: cueArrow 1.8s ease-in-out infinite; }
        @keyframes cueArrow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

        /* ── Chapter divider ── */
        .ch-divider { display: none; }

        /* ── Option B / Option C label ── */
        .scope-marker {
            max-width: 1100px;
            margin: 0 auto 0;
            padding: 0.5rem 2rem;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--accent-amber);
            opacity: 0.35;
        }

        /* ── "What does it do?" — big centered answer ── */
        @keyframes hiwEyebrowPulse {
            0%, 100% { opacity: 0.55; }
            50%       { opacity: 1; }
        }
        .big-answer {
            max-width: 800px;
            margin: 0 auto;
            padding: 5rem 2rem;
            text-align: center;
        }
        .big-answer .chapter-eyebrow {
            animation: hiwEyebrowPulse 1.4s ease-in-out infinite;
        }
        .big-answer-text {
            font-size: clamp(1.7rem, 4.5vw, 3rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        /* ══════════════════════════
           VISUALS
        ══════════════════════════ */

        /* ── Animated eye SVG ── */
        .eye-wrap {
            width: min(260px, 60vw);
            height: min(260px, 60vw);
            position: relative;
            margin: 0 auto;
            flex-shrink: 0;
        }
        .eye-wrap svg { width: 100%; height: 100%; overflow: visible; }
        .eye-iris-spin {
            transform-origin: 45px 45px;
            animation: irisRot 18s linear infinite;
        }
        .eye-iris-spin-rev {
            transform-origin: 45px 45px;
            animation: irisRot 26s linear infinite reverse;
        }
        .eye-aperture { animation: aperturePulse 3.5s ease-in-out infinite; }
        @keyframes irisRot { to { transform: rotate(360deg); } }
        @keyframes aperturePulse {
            0%,100% { r: 10; opacity: 0.85; }
            50% { r: 7; opacity: 1; }
        }
        .vessel { opacity: 0; animation: vesselAppear 2s ease forwards; }
        .vessel:nth-child(1) { animation-delay: 0.3s; }
        .vessel:nth-child(2) { animation-delay: 0.6s; }
        .vessel:nth-child(3) { animation-delay: 0.9s; }
        .vessel:nth-child(4) { animation-delay: 1.2s; }
        @keyframes vesselAppear { to { opacity: 0.5; } }

        /* ── Pixel grid (canvas) ── */
        .pixel-wrap {
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid var(--glass-border);
            background: #080c14;
            aspect-ratio: 1;
            width: 100%;
            max-width: 320px;
            margin: 0 auto;
            position: relative;
        }
        #pixelCanvas { display: block; width: 100%; height: 100%; }
        .pixel-caption {
            font-size: 0.65rem;
            color: var(--text-muted);
            opacity: 0.5;
            text-align: center;
            margin-top: 0;
            margin-bottom: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        /* ── Attention visual ── */
        .attention-wrap {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
            position: relative;
        }
        .attention-eye {
            width: 100%;
            aspect-ratio: 1;
            border-radius: 50%;
            background: radial-gradient(circle at 50% 50%,
                #1a2030 0%, #0a0f1a 60%, #060a12 100%);
            border: 1px solid rgba(6,182,212,0.15);
            position: relative;
            overflow: hidden;
        }
        .attention-retina {
            position: absolute; inset: 0;
            border-radius: 50%;
            background-image:
                radial-gradient(2px 2px at 50% 50%, rgba(255,160,80,0.8) 0%, transparent 100%),
                repeating-radial-gradient(circle at 50% 50%, transparent 0px, transparent 30px, rgba(6,182,212,0.04) 31px, transparent 32px);
        }
        /* Branching vessel lines */
        .attention-vessels {
            position: absolute; inset: 0;
        }
        .attention-spotlight {
            position: absolute; inset: 0;
            border-radius: 50%;
            background: radial-gradient(circle 75px at 50% 50%, transparent 0%, rgba(0,0,0,0.88) 70%);
        }
        .attention-spotlight.active {
            animation: spotMove 3.6s ease-in-out infinite;
        }
        @keyframes spotMove {
            0%   { background: radial-gradient(circle 75px at 35% 30%, transparent 0%, rgba(0,0,0,0.88) 70%); }
            20%  { background: radial-gradient(circle 75px at 65% 25%, transparent 0%, rgba(0,0,0,0.88) 70%); }
            40%  { background: radial-gradient(circle 75px at 70% 60%, transparent 0%, rgba(0,0,0,0.88) 70%); }
            60%  { background: radial-gradient(circle 75px at 45% 70%, transparent 0%, rgba(0,0,0,0.88) 70%); }
            80%  { background: radial-gradient(circle 75px at 25% 55%, transparent 0%, rgba(0,0,0,0.88) 70%); }
            100% { background: radial-gradient(circle 75px at 35% 30%, transparent 0%, rgba(0,0,0,0.88) 70%); }
        }
        .attention-label {
            text-align: center;
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--accent-cyan);
            opacity: 0.55;
            margin-bottom: 0.75rem;
        }

        /* ── Signal waveform (ephemeral state) ── */
        .signal-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
        .signal-svg {
            border-radius: 12px;
            border: 1px solid var(--glass-border);
            background: rgba(255,255,255,0.02);
            display: block;
            width: 320px;
            max-width: 100%;
            height: auto;
        }
        .signal-svg .sig-grid line {
            stroke: rgba(255,255,255,0.04);
            stroke-width: 1;
        }
        .signal-svg .sig-wire {
            stroke: rgba(255,255,255,0.14);
            stroke-width: 1.2;
            stroke-dasharray: 4 8;
        }
        .signal-svg .sig-node { opacity: 0.75; }
        .signal-svg .sig-node-left { fill: rgba(245,158,11,0.7); }
        .signal-svg .sig-node-right { fill: rgba(6,182,212,0.7); }
        .signal-svg .sig-core-ring {
            fill: none;
            stroke: rgba(6,182,212,0.42);
            stroke-width: 1.8;
            animation: sigCorePulse 3.8s ease-in-out infinite;
        }
        .signal-svg .sig-core-dot {
            fill: rgba(6,182,212,0.5);
            animation: sigCoreDot 3.8s ease-in-out infinite;
        }
        .signal-svg .sig-pulse-main {
            fill: rgba(245,158,11,0.86);
            animation: sigPulse 3.8s linear infinite;
        }
        .signal-svg .sig-pulse-trail {
            fill: rgba(245,158,11,0.38);
            animation: sigPulseTrail 3.8s linear infinite;
        }
        .signal-svg .sig-result text {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.12em;
            fill: rgba(6,182,212,0.88);
            opacity: 0;
            animation: sigResult 3.8s ease-in-out infinite;
        }
        .signal-svg .sig-result text:last-child {
            font-size: 9px;
            font-weight: 600;
            fill: rgba(245,158,11,0.85);
            animation-delay: 0.08s;
        }

        @keyframes sigPulse {
            0%   { transform: translateX(0px); opacity: 0; }
            8%   { opacity: 1; }
            45%  { fill: rgba(245,158,11,0.9); }
            58%  { fill: rgba(6,182,212,0.9); }
            80%  { transform: translateX(264px); opacity: 1; }
            100% { transform: translateX(264px); opacity: 0; }
        }
        @keyframes sigPulseTrail {
            0%   { transform: translateX(0px); opacity: 0; }
            10%  { opacity: 0.85; }
            78%  { transform: translateX(240px); opacity: 0.45; }
            100% { transform: translateX(240px); opacity: 0; }
        }
        @keyframes sigCorePulse {
            0%, 35%, 100% { stroke: rgba(6,182,212,0.42); }
            50%, 62%      { stroke: rgba(6,182,212,0.85); }
        }
        @keyframes sigCoreDot {
            0%, 35%, 100% { fill: rgba(6,182,212,0.45); }
            50%, 62%      { fill: rgba(6,182,212,0.9); }
        }
        @keyframes sigResult {
            0%, 72% { opacity: 0; }
            82%, 92% { opacity: 1; }
            100% { opacity: 0; }
        }

        /* ── Breath node graph (ephemeral state) ── */
        .breath-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
        .breath-svg {
            border-radius: 12px;
            border: 1px solid var(--glass-border);
            background: rgba(255,255,255,0.02);
            display: block;
            width: 300px;
            max-width: 100%;
            height: auto;
        }
        .breath-svg .breath-grid line {
            stroke: rgba(255,255,255,0.03);
            stroke-width: 1;
        }
        .breath-svg .breath-edges line {
            stroke: rgba(6,182,212,0.34);
            stroke-width: 1;
            opacity: 0;
            animation: breathAssemble 4.2s ease-in-out infinite;
        }
        .breath-svg .breath-edges line:nth-child(3n) {
            stroke: rgba(245,158,11,0.36);
        }
        .breath-svg .breath-nodes circle {
            fill: rgba(245,158,11,0.74);
            opacity: 0;
            transform-origin: center;
            animation: breathAssemble 4.2s ease-in-out infinite;
        }
        .breath-svg .breath-core-node {
            fill: rgba(6,182,212,0.76);
            animation: breathCore 4.2s ease-in-out infinite;
        }
        .breath-svg .breath-core-halo {
            fill: rgba(6,182,212,0.08);
            stroke: rgba(6,182,212,0.34);
            stroke-width: 1;
            animation: breathHalo 4.2s ease-in-out infinite;
        }
        .breath-svg .breath-core text {
            font-size: 9px;
            font-weight: 700;
            letter-spacing: 0.12em;
            fill: rgba(6,182,212,0.84);
            opacity: 0;
            animation: breathLabel 4.2s ease-in-out infinite;
        }

        @keyframes breathAssemble {
            0%, 12% { opacity: 0; }
            30%, 72% { opacity: 1; }
            88%, 100% { opacity: 0; }
        }
        @keyframes breathCore {
            0%, 18% { fill: rgba(6,182,212,0.25); }
            48%, 70% { fill: rgba(6,182,212,0.95); }
            100% { fill: rgba(6,182,212,0.25); }
        }
        @keyframes breathHalo {
            0%, 24% { transform: scale(0.84); opacity: 0.2; }
            54% { transform: scale(1.08); opacity: 1; }
            82%, 100% { transform: scale(0.88); opacity: 0.12; }
        }
        @keyframes breathLabel {
            0%, 46% { opacity: 0; }
            58%, 76% { opacity: 1; }
            100% { opacity: 0; }
        }

        /* ── Transformer Patch Grid ── */
        .transformer-grid {
            position: absolute;
            inset: 0;
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            grid-template-rows: repeat(8, 1fr);
            opacity: 0;
            transition: opacity 1s ease;
            pointer-events: none;
        }
        .transformer-grid.active { opacity: 0.35; }
        .patch {
            border: 0.5px solid rgba(6,182,212,0.2);
            box-sizing: border-box;
        }
        .patch.highlight {
            background: rgba(6,182,212,0.15);
            box-shadow: inset 0 0 8px rgba(6,182,212,0.4);
            border-color: rgba(6,182,212,0.8);
            animation: patchPulse 2.4s ease-in-out infinite;
        }
        @keyframes patchPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

        /* ── Saliency Mini-Maps ── */
        .conf-row { position: relative; }
        .saliency-trigger {
            position: absolute;
            right: -24px;
            top: 2px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 1px solid var(--accent-cyan);
            color: var(--accent-cyan);
            font-size: 9px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0.4;
            transition: all 0.3s var(--spring);
        }
        .saliency-trigger:hover {
            opacity: 1;
            transform: scale(1.2);
            background: rgba(6,182,212,0.1);
        }
        .saliency-popup {
            position: absolute;
            right: 0;
            top: 30px;
            width: 140px;
            padding: 8px;
            border-radius: 12px;
            background: rgba(10,15,26,0.95);
            border: 1px solid var(--glass-border);
            box-shadow: 0 12px 32px rgba(0,0,0,0.5);
            backdrop-filter: blur(8px);
            z-index: 100;
            opacity: 0;
            transform: translateY(10px);
            pointer-events: none;
            transition: all 0.3s var(--spring);
        }
        .saliency-trigger:hover + .saliency-popup {
            opacity: 1;
            transform: translateY(0);
        }
        .saliency-img {
            width: 100%;
            aspect-ratio: 1;
            border-radius: 6px;
            background: #000;
            display: block;
            margin-bottom: 6px;
        }
        .saliency-cap {
            font-size: 0.55rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            line-height: 1.3;
        }

        /* ── Training counter ── */
        .training-display {
            text-align: center;
            padding: 2rem;
        }
        .training-num {
            font-size: clamp(3rem, 8vw, 5.5rem);
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1;
            font-variant-numeric: tabular-nums;
            background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-cyan) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .training-of {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--text-muted);
            opacity: 0.5;
            margin-top: 0.4rem;
        }
        .training-bar-wrap {
            margin-top: 1.25rem;
            height: 4px;
            background: rgba(255,255,255,0.06);
            border-radius: 99px;
            overflow: hidden;
            max-width: 280px;
            margin-left: auto;
            margin-right: auto;
        }
        .training-bar {
            height: 100%;
            width: 0%;
            border-radius: 99px;
            background: linear-gradient(90deg, var(--accent-amber), var(--accent-cyan));
            transition: width 3s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .training-bar.done { width: 100%; }

        /* ── Pipeline ── */
        .pipeline-scroll {
            width: 100%;
            overflow-x: auto;
            padding: 2.5rem 0 1.5rem;
            overscroll-behavior-x: contain;
        }
        .pipeline-scroll::-webkit-scrollbar { height: 3px; }
        .pipeline-scroll::-webkit-scrollbar-track { background: transparent; }
        .pipeline-scroll::-webkit-scrollbar-thumb { background: rgba(6,182,212,0.3); border-radius: 99px; }
        .pipeline {
            display: flex;
            align-items: flex-start;
            gap: 0;
            min-width: 700px;
            padding: 0 1rem;
        }
        .pipe-node {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.8rem;
            opacity: 0;
            transform: translateY(14px);
            transition: opacity 0.45s ease, transform 0.45s var(--spring);
        }
        .pipeline.active .pipe-node:nth-child(1) { transition-delay: 0.00s; opacity: 1; transform: none; }
        .pipeline.active .pipe-node:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: none; }
        .pipeline.active .pipe-node:nth-child(5) { transition-delay: 0.30s; opacity: 1; transform: none; }
        .pipeline.active .pipe-node:nth-child(7) { transition-delay: 0.45s; opacity: 1; transform: none; }
        .pipeline.active .pipe-node:nth-child(9) { transition-delay: 0.60s; opacity: 1; transform: none; }
        .pipe-arrow {
            flex: 0 0 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 1.25rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .pipeline.active .pipe-arrow:nth-child(2) { transition-delay: 0.10s; opacity: 1; }
        .pipeline.active .pipe-arrow:nth-child(4) { transition-delay: 0.25s; opacity: 1; }
        .pipeline.active .pipe-arrow:nth-child(6) { transition-delay: 0.40s; opacity: 1; }
        .pipeline.active .pipe-arrow:nth-child(8) { transition-delay: 0.55s; opacity: 1; }
        .pipe-arrow svg { display: block; }
        .pipe-icon-box {
            width: 68px;
            height: 68px;
            border-radius: 20px;
            border: 1px solid var(--glass-border);
            background: rgba(15,23,42,0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.7rem;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .pipe-icon-box:hover {
            border-color: rgba(6,182,212,0.4);
            box-shadow: 0 0 24px rgba(6,182,212,0.1);
        }
        .pipe-name {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.09em;
            text-transform: uppercase;
            color: var(--text-primary);
            text-align: center;
            max-width: 84px;
            line-height: 1.3;
        }
        .pipe-desc {
            font-size: 0.6rem;
            color: var(--text-muted);
            text-align: center;
            max-width: 84px;
            line-height: 1.5;
            opacity: 0.7;
        }

        /* ── Confidence bars ── */
        .conf-panel {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            width: 100%;
        }
        .conf-row {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
        }
        .conf-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .conf-name {
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.07em;
            text-transform: uppercase;
            color: var(--text-primary);
        }
        .conf-pct {
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--accent-cyan);
            font-variant-numeric: tabular-nums;
        }
        .conf-track {
            height: 5px;
            background: rgba(255,255,255,0.06);
            border-radius: 99px;
            overflow: hidden;
        }
        .conf-fill {
            height: 100%;
            width: 0%;
            border-radius: 99px;
            transition: width 1.3s cubic-bezier(0.22,1,0.36,1);
        }
        .conf-fill--green  { background: linear-gradient(90deg, #10b981, #34d399); }
        .conf-fill--amber  { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
        .conf-fill--cyan   { background: linear-gradient(90deg, #06b6d4, #67e8f9); }
        .conf-fill--red    { background: linear-gradient(90deg, #ef4444, #fca5a5); }
        .conf-fill--purple { background: linear-gradient(90deg, #a855f7, #d8b4fe); }
        .conf-fill--blue   { background: linear-gradient(90deg, #3b82f6, #93c5fd); }
        .conf-finding {
            font-size: 0.62rem;
            color: var(--text-muted);
            opacity: 0.65;
            line-height: 1.4;
        }

        /* ── Competitive grid ── */
        .vs-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
            width: 100%;
        }
        @media (max-width: 520px) { .vs-grid { grid-template-columns: 1fr; } }
        .vs-card {
            padding: 1.5rem;
            border-radius: 16px;
            border: 1px solid var(--glass-border);
            background: rgba(15,23,42,0.5);
        }
        .vs-card--them { border-color: rgba(239,68,68,0.12); }
        .vs-card--us   { border-color: rgba(6,182,212,0.18); background: rgba(6,182,212,0.03); }
        .vs-label {
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .vs-label--them { color: rgba(239,68,68,0.65); }
        .vs-label--us   { color: var(--accent-cyan); }
        .vs-item {
            display: flex;
            align-items: flex-start;
            gap: 0.55rem;
            margin-bottom: 0.7rem;
            font-size: 0.81rem;
            color: var(--text-muted);
            line-height: 1.45;
        }
        .vs-item strong { color: var(--text-primary); }
        .vs-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            flex-shrink: 0;
            margin-top: 0.42rem;
        }
        .vs-dot--red   { background: rgba(239,68,68,0.55); }
        .vs-dot--green { background: rgba(16,185,129,0.7); }

        /* ── Landing ── */
        .hiw-landing {
            max-width: 680px;
            margin: 0 auto;
            padding: 8rem 2rem 10rem;
            text-align: center;
        }
        .landing-quote {
            font-size: clamp(1.45rem, 3.5vw, 2.2rem);
            font-weight: 700;
            line-height: 1.35;
            letter-spacing: -0.015em;
            margin-bottom: 1.5rem;
        }
        .landing-sub {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.9;
            max-width: 540px;
            margin: 0 auto;
        }
        .landing-divider {
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-amber), var(--accent-cyan));
            border-radius: 99px;
            margin: 2rem auto;
        }

        /* ── Ambient glow behind hero eye ── */
        .hero-glow {
            position: absolute;
            width: min(500px, 100vw);
            height: min(500px, 100vw);
            border-radius: 50%;
            background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
            pointer-events: none;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* Prevent horizontal scroll without clipping position:fixed children (nav/bgCanvas).
           html must stay at its default so fixed children render correctly on Safari/WebKit.
           body overflow-x:hidden is sufficient and does not affect fixed descendants. */
        html { overflow-x: hidden; }
        body { overflow-x: hidden; }
        #bgCanvas { display: block; }
        main { position: relative; z-index: 1; }

        /* ── Timed hero reveal (page-load delay, not scroll-triggered) ── */
        .hiw-timed-reveal {
            opacity: 0;
            transform: translateY(10px);
            animation: hiwTimedReveal 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
            animation-delay: var(--hiw-delay, 1s);
        }
        @keyframes hiwTimedReveal {
            to { opacity: 1; transform: translateY(0); }
        }

        /* ── Reading time graph ── */
        .hiw-rt-wrap {
            max-width: 760px;
            margin: 0.1rem auto 0;
        }
        .hiw-rt-svg { width: 100%; height: auto; display: block; }
        #hiwLine2 { display: inline; transition: opacity 0.7s ease; }

        /* ── Cup-Disc Spotlight Reveal ── */
        .cup-disc-spotlight {
            opacity: 0;
            position: relative;
            max-width: 420px;
            width: 100%;
            margin: 0 auto;
        }
        .cup-disc-inner {
            position: relative;
            max-width: 100%;
            width: 100%;
            margin: 0 auto;
        }
        @media (max-width: 680px) {
            .cup-disc-spotlight { max-width: 300px; }
        }
        .cup-disc-inner::before {
            content: '';
            position: absolute;
            top: 4.5%; left: 4.5%;
            width: 91%; height: 91%;
            border-radius: 50%;
            opacity: 0;
            pointer-events: none;
        }
        .cup-disc-spotlight.illuminated {
            animation: cupDiscReveal 2s ease-out forwards;
        }
        .cup-disc-spotlight.illuminated .cup-disc-inner::before {
            animation: cupDiscGlow 2s ease-out forwards;
        }
        @keyframes cupDiscReveal {
            0%   { opacity: 0; filter: brightness(0.08); transform: scale(0.92); }
            30%  { opacity: 0.55; filter: brightness(0.5); transform: scale(0.97); }
            65%  { opacity: 0.92; filter: brightness(0.92); transform: scale(1.015); }
            100% { opacity: 1; filter: brightness(1); transform: scale(1); }
        }
        @keyframes cupDiscGlow {
            0%   { opacity: 0;   box-shadow: 0 0 0px rgba(245,158,11,0); }
            35%  { opacity: 1;   box-shadow: 0 0 50px 18px rgba(245,130,11,0.55), 0 0 90px 35px rgba(245,90,11,0.18); }
            65%  { opacity: 1;   box-shadow: 0 0 32px 10px rgba(245,158,11,0.38); }
            100% { opacity: 1;   box-shadow: 0 0 20px 6px rgba(245,158,11,0.2); }
        }

        /* Remove expensive blur on mobile — prevents scroll jank on iOS */
        @media (max-width: 768px) {
            .section-fade {
                filter: none !important;
                will-change: opacity, transform !important;
                transition: opacity 0.7s ease, transform 0.7s ease !important;
            }
            .manifesto-narrative .narrative-sentence {
                filter: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .manifesto-narrative .narrative-sentence,
            .manifesto-narrative::after,
            .manifesto-narrative.is-active::after {
                transition: none;
                animation: none;
                filter: none;
                transform: none;
            }
            .manifesto-narrative .narrative-sentence {
                opacity: 1;
                color: var(--text-muted);
            }
        }

        /* ═══════════════════════════════════════════════════════
           STORY PROGRESS BAR
        ═══════════════════════════════════════════════════════ */
        #hiwStoryProgress {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 200;
            padding-bottom: env(safe-area-inset-bottom, 0px);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.6s ease;
        }
        #hiwStoryProgress.is-visible {
            opacity: 1;
        }

        /* Floating chapter label */
        #hiwProgressLabel {
            position: absolute;
            bottom: 26px;
            padding: 3px 10px;
            border-radius: 20px;
            background: rgba(6, 182, 212, 0.08);
            border: 1px solid rgba(6, 182, 212, 0.22);
            color: rgba(6, 182, 212, 0.8);
            font-size: 0.57rem;
            font-weight: 700;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            white-space: nowrap;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.35s ease, left 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, color 0.35s ease;
            pointer-events: none;
        }
        #hiwProgressLabel.is-visible {
            opacity: 1;
        }

        /* Chapter dots row */
        #hiwProgressDots {
            position: relative;
            height: 16px;
        }
        .hiw-prog-dot {
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%) scale(1);
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            transition: background 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
        }
        .hiw-prog-dot.is-past {
            background: rgba(6, 182, 212, 0.35);
        }
        .hiw-prog-dot.is-active {
            background: #06b6d4;
            transform: translate(-50%, -50%) scale(2);
            box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.12), 0 0 10px rgba(6, 182, 212, 0.5);
        }

        /* Progress track */
        #hiwProgressTrack {
            position: relative;
            height: 2px;
            background: rgba(255, 255, 255, 0.05);
            overflow: visible;
        }
        #hiwProgressFill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #f59e0b 0%, #06b6d4 55%, #3b82f6 100%);
            background-size: 100vw 100%;
            background-position: left center;
            position: relative;
            box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
        }

        /* Pulsing leading edge */
        #hiwProgressEdge {
            position: absolute;
            right: -4px;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #06b6d4;
            box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
            animation: hiwEdgePulse 1.9s ease-out infinite;
        }
        @keyframes hiwEdgePulse {
            0%   { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
            70%  { box-shadow: 0 0 0 7px rgba(6, 182, 212, 0); }
            100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
        }

        /* ═══════════════════════════════════════════════════════
           CHAPTER BLOOM OVERLAY
        ═══════════════════════════════════════════════════════ */
        #hiwBloomLayer {
            position: fixed;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            opacity: 0;
        }
        #hiwBloomLayer.bloom-fire {
            animation: hiwBloomFire 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }
        @keyframes hiwBloomFire {
            0%   { opacity: 0; }
            15%  { opacity: 1; }
            100% { opacity: 0; }
        }

        /* ═══════════════════════════════════════════════════════
           PARALLAX — visual containers
        ═══════════════════════════════════════════════════════ */
        .hiw-parallax {
            will-change: transform;
        }

        /* ═══════════════════════════════════════════════════════
           REDUCED MOTION OVERRIDES
        ═══════════════════════════════════════════════════════ */
        @media (prefers-reduced-motion: reduce) {
            #hiwProgressEdge { animation: none; }
            #hiwBloomLayer.bloom-fire { animation: none; opacity: 0; }
            .hiw-parallax { transform: none !important; will-change: auto; }
        }
