/* ============================================================
   eyes.cash — the vault behind the iris
   Holographic plate · iridescent surveillance couture
   ============================================================ */

:root {
    /* Anchored palette — DESIGN.md hex values */
    --graphite: #08090C;
    --cornea-shadow: #1A1B22;
    --mint-cream: #F5EFE2;
    --aqueous: #9AA0AC;
    --holo-magenta: #FF4FB2;
    --iris-cyan: #3DE0D2;
    --citrine: #E8C547;
    --lilac: #B69CFF;

    /* Ocular easing — slow, biological */
    --ease-pupil: cubic-bezier(0.22, 1, 0.36, 1);

    /* Cursor light source state, set by JS */
    --cursor-x: 50vw;
    --cursor-y: 50vh;
    --penlight-alpha: 0.06;

    /* Tilt stage state, set by JS via IntersectionObserver */
    --tilt-from: 0deg;
    --tilt-shift: 0deg;
    --hue-mix: 0;
}

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

html, body {
    background: #08090C;
    color: var(--mint-cream);
    font-family: 'Cormorant Garamond', 'Lora', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #08090C;
    min-height: 100vh;
    position: relative;
}

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

/* ============================================================
   Holographic backdrop — fixed, mouse + scroll driven
   ============================================================ */

.holo-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--graphite);
}

.holo-conic {
    position: absolute;
    inset: -10vmax;
    background:
        conic-gradient(
            from var(--tilt-from) at 50% 50%,
            #08090C 0deg,
            #1A1B22 30deg,
            #FF4FB2 80deg,
            #B69CFF 130deg,
            #3DE0D2 200deg,
            #E8C547 260deg,
            #FF4FB2 320deg,
            #08090C 360deg
        );
    opacity: 0.42;
    mix-blend-mode: screen;
    filter: blur(40px) saturate(140%);
    transform: rotate(var(--tilt-shift));
    transition: transform 1400ms var(--ease-pupil), opacity 1400ms var(--ease-pupil);
}

.holo-penlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        240px 240px at var(--cursor-x) var(--cursor-y),
        rgba(245, 239, 226, calc(var(--penlight-alpha) + 0.04)) 0%,
        rgba(61, 224, 210, calc(var(--penlight-alpha) + 0.02)) 30%,
        transparent 70%
    );
    mix-blend-mode: plus-lighter;
    pointer-events: none;
}

.holo-grain {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(245, 239, 226, 0.018) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(154, 160, 172, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(245, 239, 226, 0.012) 1px, transparent 1px);
    background-size: 3px 3px, 5px 5px, 7px 7px;
    mix-blend-mode: overlay;
    opacity: 0.35;
    pointer-events: none;
}

/* ============================================================
   Plate-registration crosshairs
   ============================================================ */

.reg-mark {
    position: fixed;
    z-index: 90;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aqueous);
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: screen;
    transition: transform 60ms linear, opacity 600ms var(--ease-pupil);
    will-change: transform;
}
.reg-mark .reg-glyph {
    font-size: 9px;
    color: var(--lilac);
    margin: 0 4px;
}
.reg-tl { top: 16px; left: 18px; }
.reg-tr { top: 16px; right: 18px; }
.reg-bl { bottom: 16px; left: 18px; }
.reg-br { bottom: 16px; right: 18px; }

/* ============================================================
   Diffraction starbursts — six fixed catch-the-light points
   ============================================================ */

.diffraction-burst {
    position: fixed;
    z-index: 5;
    width: 1px;
    height: 1px;
    pointer-events: none;
    transform: translate(-50%, -50%);
}
.diffraction-burst::before,
.diffraction-burst::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, var(--mint-cream), transparent);
    opacity: 0.32;
    mix-blend-mode: plus-lighter;
    pointer-events: none;
}
.diffraction-burst::before {
    width: 180px;
    height: 1px;
    animation: burstPulse 4200ms var(--ease-pupil) infinite;
}
.diffraction-burst::after {
    width: 1px;
    height: 180px;
    animation: burstPulse 4200ms var(--ease-pupil) infinite;
    animation-delay: 600ms;
}
.diffraction-burst[data-burst="2"]::before,
.diffraction-burst[data-burst="2"]::after { animation-delay: 800ms, 1400ms; }
.diffraction-burst[data-burst="3"]::before,
.diffraction-burst[data-burst="3"]::after { animation-delay: 1600ms, 2200ms; }
.diffraction-burst[data-burst="4"]::before,
.diffraction-burst[data-burst="4"]::after { animation-delay: 2400ms, 3000ms; }
.diffraction-burst[data-burst="5"]::before,
.diffraction-burst[data-burst="5"]::after { animation-delay: 3000ms, 3600ms; }
.diffraction-burst[data-burst="6"]::before,
.diffraction-burst[data-burst="6"]::after { animation-delay: 3600ms, 4200ms; }

@keyframes burstPulse {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scaleX(0.4); }
    20%, 30% { opacity: 0.55; transform: translate(-50%, -50%) scaleX(1); }
    50% { opacity: 0; transform: translate(-50%, -50%) scaleX(0.4); }
}

/* ============================================================
   Micro-signal strip
   ============================================================ */

.micro-signals {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 80;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 60px;
    background: linear-gradient(180deg, rgba(8, 9, 12, 0.85), transparent);
    pointer-events: none;
}

.micro-mark {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aqueous);
    opacity: 0.78;
}
.micro-mark:nth-child(1) { color: var(--mint-cream); opacity: 0.95; }
#microReadout #specVal {
    color: var(--iris-cyan);
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
    font-weight: 200;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

/* ============================================================
   Section base
   ============================================================ */

main { position: relative; z-index: 2; }

.section {
    position: relative;
    width: 100%;
    padding: 0;
    z-index: 2;
}

/* ============================================================
   APERTURE HERO
   ============================================================ */

.section--aperture {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.aperture-stage {
    position: relative;
    width: 92vmin;
    height: 92vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iris-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 60px rgba(61, 224, 210, 0.12));
}

.iris-print {
    transform-origin: center;
    mix-blend-mode: screen;
    transition: transform 1200ms var(--ease-pupil);
}
.iris-print--magenta {
    transform: translate(2px, 1px);
    opacity: 0.65;
}
.iris-print--cyan {
    transform: translate(0, 0);
    opacity: 1;
}
.iris-print--citrine {
    transform: translate(-2px, -1px);
    opacity: 0.55;
}

.iris-striations line {
    stroke-linecap: round;
}

.orbit-text {
    font-family: 'Fraunces', 'Lora', Georgia, serif;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.12em;
    fill: var(--mint-cream);
    text-transform: uppercase;
    mix-blend-mode: plus-lighter;
}

#pupil {
    transition: r 800ms var(--ease-pupil);
    filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.95));
}

.aperture-caption {
    position: absolute;
    bottom: -4vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
}

.aperture-deck {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--aqueous);
    opacity: 0.75;
}

/* ============================================================
   TILT-PLATE MANIFESTO
   ============================================================ */

.section--manifesto {
    min-height: 140vh;
    padding: 18vh 8vw 18vh;
    position: relative;
}

.plate-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px 18px;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.foil-panel {
    position: relative;
    padding: 56px 48px 48px;
    background:
        linear-gradient(160deg, rgba(26, 27, 34, 0.78), rgba(8, 9, 12, 0.55));
    border: 1px solid rgba(154, 160, 172, 0.18);
    overflow: hidden;
    transition: transform 1100ms var(--ease-pupil), border-color 1100ms var(--ease-pupil);
    backdrop-filter: blur(2px);
}

.foil-panel::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        conic-gradient(
            from 220deg at 30% 30%,
            transparent 0deg,
            var(--panel-hue-1, #FF4FB2) 60deg,
            var(--panel-hue-2, #B69CFF) 140deg,
            var(--panel-hue-3, #3DE0D2) 220deg,
            transparent 300deg,
            transparent 360deg
        );
    opacity: 0.0;
    mix-blend-mode: plus-lighter;
    pointer-events: none;
    transition: opacity 900ms var(--ease-pupil);
    filter: blur(20px);
}

.foil-panel:hover::before { opacity: 0.55; }
.foil-panel:hover { transform: translateY(-3px); border-color: rgba(245, 239, 226, 0.25); }

.foil-panel--magenta { --panel-hue-1: #FF4FB2; --panel-hue-2: #B69CFF; --panel-hue-3: #FF4FB2; }
.foil-panel--cyan    { --panel-hue-1: #3DE0D2; --panel-hue-2: #B69CFF; --panel-hue-3: #3DE0D2; }
.foil-panel--citrine { --panel-hue-1: #E8C547; --panel-hue-2: #FF4FB2; --panel-hue-3: #E8C547; }

.panel-mark {
    display: inline-block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--aqueous);
    margin-bottom: 24px;
}

.panel-title {
    font-family: 'Fraunces', 'Lora', Georgia, serif;
    font-weight: 300;
    font-size: clamp(34px, 4.4vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.012em;
    color: var(--mint-cream);
    margin-bottom: 22px;
    background:
        linear-gradient(110deg,
            var(--mint-cream) 0%,
            var(--panel-hue-1) 50%,
            var(--mint-cream) 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1400ms var(--ease-pupil);
}
.foil-panel:hover .panel-title { background-position: 100% 50%; }

.panel-body {
    font-family: 'Cormorant Garamond', 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: var(--mint-cream);
    opacity: 0.92;
    max-width: 60ch;
}
.panel-body em {
    font-style: italic;
    color: var(--lilac);
}

.panel-spec {
    display: block;
    margin-top: 28px;
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
    font-weight: 200;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--iris-cyan);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   SPECTRAL LEDGER STRIP
   ============================================================ */

.section--ledger {
    height: 220vh;
    position: relative;
}

.ledger-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ledger-frame {
    width: 100%;
    height: 60vh;
    min-height: 460px;
    display: flex;
    flex-direction: column;
}

.ledger-header {
    display: flex;
    justify-content: space-between;
    padding: 0 60px 18px;
}

.ledger-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 0 60px;
}

.ledger-inner {
    display: flex;
    gap: 36px;
    height: 100%;
    will-change: transform;
}

.ledger-stripe {
    flex: 0 0 320px;
    height: 420px;
    position: relative;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(154, 160, 172, 0.2);
    background:
        linear-gradient(170deg, rgba(26, 27, 34, 0.82), rgba(8, 9, 12, 0.5));
}
.ledger-stripe::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            18deg,
            transparent 0px,
            transparent 6px,
            var(--stripe-hue, #FF4FB2) 7px,
            transparent 8px,
            transparent 14px
        );
    opacity: 0.18;
    mix-blend-mode: plus-lighter;
    pointer-events: none;
}
.ledger-stripe::after {
    content: "";
    position: absolute;
    inset: -10%;
    background: conic-gradient(
        from 60deg,
        transparent 0deg,
        var(--stripe-hue, #FF4FB2) 50deg,
        transparent 110deg,
        var(--stripe-hue-2, #B69CFF) 200deg,
        transparent 260deg,
        transparent 360deg
    );
    opacity: 0.32;
    mix-blend-mode: screen;
    filter: blur(30px);
    pointer-events: none;
}
.ledger-stripe[data-hue="magenta"] { --stripe-hue: #FF4FB2; --stripe-hue-2: #B69CFF; }
.ledger-stripe[data-hue="cyan"]    { --stripe-hue: #3DE0D2; --stripe-hue-2: #B69CFF; }
.ledger-stripe[data-hue="citrine"] { --stripe-hue: #E8C547; --stripe-hue-2: #FF4FB2; }
.ledger-stripe[data-hue="lilac"]   { --stripe-hue: #B69CFF; --stripe-hue-2: #3DE0D2; }

.stripe-num {
    position: relative;
    z-index: 2;
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
    font-weight: 200;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--mint-cream);
    opacity: 0.72;
}

.stripe-line {
    position: relative;
    z-index: 2;
    font-family: 'Cormorant Garamond', 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    color: var(--mint-cream);
    margin-top: auto;
    margin-bottom: 16px;
}

.stripe-spec {
    position: relative;
    z-index: 2;
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
    font-weight: 200;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--iris-cyan);
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   PUPILLOMETRY CHAMBER
   ============================================================ */

.section--chamber {
    min-height: 110vh;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(26, 27, 34, 0.4), transparent 60%),
        #1A1B22;
    padding: 18vh 0;
    position: relative;
    overflow: hidden;
}

.chamber-stage {
    position: relative;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 6vw;
    display: flex;
    align-items: flex-start;
}

.chamber-column {
    width: 38%;
    margin-left: 0;
    padding-right: 4vw;
    position: relative;
    z-index: 3;
}

.column-mark { display: block; margin-bottom: 36px; }

.chamber-headline {
    font-family: 'Fraunces', 'Lora', Georgia, serif;
    font-weight: 300;
    font-size: clamp(38px, 4.6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.014em;
    color: var(--mint-cream);
    margin-bottom: 36px;
}

.chamber-paragraph {
    font-family: 'Cormorant Garamond', 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.74;
    color: var(--mint-cream);
    opacity: 0.92;
    margin-bottom: 26px;
}
.chamber-paragraph em { color: var(--lilac); font-style: italic; }

.bloom {
    display: inline-block;
    transform-origin: bottom left;
    transition: transform 1100ms var(--ease-pupil);
    position: relative;
}
.bloom.bloomed {
    animation: bloomScale 1100ms var(--ease-pupil);
}
.bloom.bloomed::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 1.2px;
    background: var(--citrine);
    transform-origin: left center;
    animation: bloomLine 1100ms var(--ease-pupil);
}
@keyframes bloomScale {
    0% { transform: scale(1); }
    45% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
@keyframes bloomLine {
    0% { transform: scaleX(0); opacity: 0; }
    45% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0.6; }
}

.chamber-spec {
    display: block;
    margin-top: 20px;
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
    font-weight: 200;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--iris-cyan);
    font-variant-numeric: tabular-nums;
}

.chamber-reflection {
    position: absolute;
    right: 6vw;
    top: 50%;
    width: 46vw;
    height: 70vh;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}
.chamber-reflection::before {
    content: "";
    position: absolute;
    width: 60%;
    height: 60%;
    left: 20%; top: 20%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(245, 239, 226, 0.05) 0%,
        rgba(61, 224, 210, 0.04) 30%,
        transparent 65%
    );
    filter: blur(40px);
    animation: reflectionOrbit 14000ms var(--ease-pupil) infinite;
}
.chamber-reflection::after {
    content: "";
    position: absolute;
    width: 30%;
    height: 30%;
    left: 35%; top: 35%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(245, 239, 226, 0.12) 0%,
        rgba(182, 156, 255, 0.06) 40%,
        transparent 70%
    );
    filter: blur(24px);
    animation: reflectionOrbit 18000ms var(--ease-pupil) infinite reverse;
}
@keyframes reflectionOrbit {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(4%, -2%); }
    50%  { transform: translate(2%, 3%); }
    75%  { transform: translate(-3%, 1%); }
    100% { transform: translate(0, 0); }
}

/* ============================================================
   FOIL-STAMP INDEX (BENTO)
   ============================================================ */

.section--bento {
    min-height: 80vh;
    padding: 14vh 6vw;
    position: relative;
}

.bento-frame {
    max-width: 1480px;
    margin: 0 auto;
}

.bento-title-mark { display: block; margin-bottom: 36px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 220px 180px 240px;
    gap: 16px;
    grid-template-areas:
        "a a a a a b b b c c c c"
        "a a a a a d d e e e e e"
        "f f f f d d e e e e e e";
}

.bento-tile {
    position: relative;
    padding: 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(154, 160, 172, 0.18);
    background:
        linear-gradient(160deg, rgba(26, 27, 34, 0.78), rgba(8, 9, 12, 0.52));
    transition: transform 1100ms var(--ease-pupil), border-color 1100ms var(--ease-pupil);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: conic-gradient(
        from 200deg at 30% 30%,
        transparent 0deg,
        var(--bento-hue-1, #FF4FB2) 60deg,
        var(--bento-hue-2, #B69CFF) 130deg,
        transparent 220deg,
        transparent 360deg
    );
    opacity: 0.0;
    mix-blend-mode: plus-lighter;
    filter: blur(28px);
    transition: opacity 900ms var(--ease-pupil);
    pointer-events: none;
}
.bento-tile:hover::before { opacity: 0.55; }
.bento-tile:hover { border-color: rgba(245, 239, 226, 0.28); transform: translateY(-2px); }

.bento-tile[data-hue="magenta"] { --bento-hue-1: #FF4FB2; --bento-hue-2: #B69CFF; }
.bento-tile[data-hue="cyan"]    { --bento-hue-1: #3DE0D2; --bento-hue-2: #B69CFF; }
.bento-tile[data-hue="citrine"] { --bento-hue-1: #E8C547; --bento-hue-2: #FF4FB2; }
.bento-tile[data-hue="lilac"]   { --bento-hue-1: #B69CFF; --bento-hue-2: #3DE0D2; }

.bento-tile--a { grid-area: a; }
.bento-tile--b { grid-area: b; }
.bento-tile--c { grid-area: c; }
.bento-tile--d { grid-area: d; }
.bento-tile--e { grid-area: e; }
.bento-tile--f { grid-area: f; }

.bento-num {
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
    font-weight: 200;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--aqueous);
}

.bento-h {
    font-family: 'Fraunces', 'Lora', Georgia, serif;
    font-weight: 300;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.0;
    color: var(--mint-cream);
    margin: 16px 0 8px;
    letter-spacing: -0.01em;
}

.bento-line {
    font-family: 'Cormorant Garamond', 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--mint-cream);
    opacity: 0.82;
    max-width: 36ch;
}

/* ============================================================
   CLOSING CORNEA
   ============================================================ */

.section--cornea {
    height: 90vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.cornea-wet {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 60%, rgba(61, 224, 210, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 30% 40%, rgba(255, 79, 178, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 70% 50%, rgba(232, 197, 71, 0.14) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 50% 50%, rgba(245, 239, 226, 0.08) 0%, transparent 70%);
    filter: url(#aqueousRipple) blur(2px);
    mix-blend-mode: screen;
    opacity: 0.85;
    transition: filter 600ms var(--ease-pupil);
}
.cornea-wet::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 30% 18% at 38% 32%, rgba(245, 239, 226, 0.4), transparent 70%),
        radial-gradient(ellipse 12% 6% at 56% 70%, rgba(245, 239, 226, 0.18), transparent 70%);
    filter: blur(3px);
    mix-blend-mode: plus-lighter;
}

.cornea-text {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 6vw;
}

.cornea-headline {
    font-family: 'Fraunces', 'Lora', Georgia, serif;
    font-weight: 300;
    font-size: clamp(72px, 14vw, 220px);
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--mint-cream);
    margin-bottom: 26px;
    background: linear-gradient(110deg,
        var(--mint-cream) 0%,
        var(--iris-cyan) 30%,
        var(--lilac) 60%,
        var(--citrine) 90%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: corneaShift 14000ms var(--ease-pupil) infinite;
}
@keyframes corneaShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cornea-accent {
    font-style: italic;
}

.cornea-tagline {
    font-family: 'Cormorant Garamond', 'Lora', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.5;
    color: var(--mint-cream);
    opacity: 0.78;
    margin-bottom: 36px;
}

.cornea-spec {
    display: inline-block;
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
    font-weight: 200;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--iris-cyan);
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
}

/* ============================================================
   LENS-INVOKE — affordance as lensing
   ============================================================ */

.lens-invoke {
    position: fixed;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 95;
    padding: 14px 28px;
    cursor: pointer;
    user-select: none;
    transition: transform 800ms var(--ease-pupil);
    filter: url(#cornealLens);
}
.lens-invoke:hover { filter: url(#cornealLensHover); transform: translateX(-50%) scale(1.02); }

.lens-invoke-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mint-cream);
    background: linear-gradient(110deg,
        var(--mint-cream) 0%,
        var(--iris-cyan) 50%,
        var(--mint-cream) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: invokeShimmer 5400ms var(--ease-pupil) infinite;
}
@keyframes invokeShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.lens-invoke.active .lens-invoke-label {
    color: var(--citrine);
    -webkit-text-fill-color: var(--citrine);
}

/* ============================================================
   GUILLOCHE RULE
   ============================================================ */

.guilloche-rule {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 40px;
    margin-top: -40px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.7;
}

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

@media (max-width: 900px) {
    .micro-signals { padding: 12px 18px; flex-wrap: wrap; gap: 8px; }
    .micro-mark { font-size: 9px; }
    .reg-mark { font-size: 9px; }
    .reg-tl, .reg-bl { left: 8px; }
    .reg-tr, .reg-br { right: 8px; }

    .section--manifesto { padding: 12vh 4vw; }
    .plate-grid { grid-template-columns: 1fr; }
    .foil-panel { padding: 36px 28px; }
    .foil-panel[style] { grid-column: 1 / -1 !important; grid-row: auto !important; }

    .ledger-stripe { flex: 0 0 260px; height: 360px; }

    .chamber-stage { padding: 0 6vw; flex-direction: column; }
    .chamber-column { width: 100%; padding-right: 0; }
    .chamber-reflection { display: none; }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "a a"
            "b c"
            "d e"
            "f e";
    }
}
