@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;1,300;1,400&family=Cinzel+Decorative:wght@400&family=Jost:wght@100;200;300&display=swap');

:root {
    --ash: #0b0b0d;
    --pearl: #ddd8cf;
    --ivory: #f0ece4;
    --gold: #bfa060;
    --ember: rgba(191, 160, 96, 0.55);
    --smoke: rgba(220, 215, 208, 0.06);
    --mist: rgba(220, 215, 208, 0.25);
}

body {
    cursor: none;
    background:
        radial-gradient(circle at top left, rgba(98, 70, 35, 0.18), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(46, 59, 84, 0.16), transparent 24%),
        linear-gradient(180deg, #060608 0%, #0a0a0d 36%, #09090c 100%);
    color: var(--pearl);
}

.skip-link {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10001;
    padding: 12px 16px;
    border: 1px solid rgba(191, 160, 96, 0.35);
    border-radius: 999px;
    background: rgba(6, 6, 8, 0.96);
    color: var(--ivory);
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.noscript-panel {
    margin: 96px auto 0;
    width: min(960px, calc(100% - 32px));
    padding: 18px 20px;
    border: 1px solid rgba(191, 160, 96, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 250, 242, 0.88);
    line-height: 1.7;
    position: relative;
    z-index: 30;
}

.noscript-panel a {
    color: var(--gold);
}

#mouse-gradient {
    border-radius: 50%;
    width: 420px;
    height: 420px;
    filter: blur(72px);
    will-change: transform, opacity;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 240ms ease-out;
}

.page-ambient {
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.3;
}

.page-ambient-left {
    top: 6vh;
    left: -12vw;
    width: 34vw;
    height: 52vh;
    background: radial-gradient(circle, rgba(191, 160, 96, 0.18), transparent 72%);
}

.page-ambient-right {
    top: 44vh;
    right: -10vw;
    width: 30vw;
    height: 44vh;
    background: radial-gradient(circle, rgba(79, 102, 142, 0.16), transparent 70%);
}

.page-horizon {
    position: fixed;
    left: 0;
    right: 0;
    top: 48vh;
    height: 1px;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(191, 160, 96, 0.08), transparent);
}

.nav-shell {
    background: linear-gradient(180deg, rgba(6, 6, 8, 0.82), rgba(6, 6, 8, 0.18));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
}

.nav-brand {
    --brand-progress: 0;
    font-family: Futura, "Futura PT", "Avenir Next", "Century Gothic", sans-serif;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    position: relative;
    display: inline-grid;
    place-items: start;
    min-width: 20ch;
    white-space: nowrap;
}

.nav-brand-layer {
    grid-area: 1 / 1;
    display: block;
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), 
                opacity 400ms ease, 
                letter-spacing 500ms cubic-bezier(0.2, 0.8, 0.2, 1), 
                clip-path 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 400ms ease;
    will-change: transform, opacity, letter-spacing, clip-path, filter;
}

.nav-brand-short {
    opacity: calc(1 - var(--brand-progress) * 1.5);
    letter-spacing: calc(0.42em + (var(--brand-progress) * 0.35em));
    transform: translateX(calc(var(--brand-progress) * -12px));
    clip-path: inset(0 calc(var(--brand-progress) * 100%) 0 0);
    filter: blur(calc(var(--brand-progress) * 2px));
}

.nav-brand-long {
    opacity: var(--brand-progress);
    letter-spacing: calc(0.85em - (var(--brand-progress) * 0.43em));
    clip-path: inset(0 calc((1 - var(--brand-progress)) * 100%) 0 0);
    transform: translateX(calc((1 - var(--brand-progress)) * 14px));
    filter: blur(calc((1 - var(--brand-progress)) * 2px));
}

@media (max-width: 900px) {
    .nav-brand {
        min-width: 14ch;
    }

    .nav-brand-short {
        letter-spacing: calc(0.35em + (var(--brand-progress) * 0.25em));
    }

    .nav-brand-long {
        letter-spacing: calc(0.65em - (var(--brand-progress) * 0.31em));
    }
}

.nav-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 4;
}

.nav-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(191, 160, 96, 0.08));
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(191, 160, 96, 0.75), transparent);
    transform: scaleX(0);
    transition: transform 240ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-link.is-active {
    color: var(--ivory) !important;
}

/* ── grain ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9000;
    mix-blend-mode: overlay;
    opacity: 0.5;
}

/* ── HERO ANIMATIONS ── */
@keyframes word-appear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes grid-draw {
    0% { stroke-dashoffset: 1000; opacity: 0; }
    50% { opacity: 0.3; }
    100% { stroke-dashoffset: 0; opacity: 0.15; }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

@keyframes underline-grow {
    to { width: 100%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
    25% { transform: translateY(-10px) translateX(5px); opacity: 0.6; }
    50% { transform: translateY(-5px) translateX(-3px); opacity: 0.4; }
    75% { transform: translateY(-15px) translateX(7px); opacity: 0.8; }
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.word {
    display: inline-block;
    opacity: 0;
    margin: 0 0.15em;
    transition: all 0.3s ease;
    will-change: transform, filter, opacity;
}

.word:hover {
    color: var(--gold) !important;
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(191, 160, 96, 0.5);
}

.grid-line {
    stroke: rgba(191, 160, 96, 0.8);
    stroke-width: 0.5;
    opacity: 0;
    stroke-dasharray: 5 5;
    stroke-dashoffset: 1000;
    animation: grid-draw 2s ease-out forwards;
}

.detail-dot {
    fill: var(--gold);
    opacity: 0;
    animation: pulse-glow 3s ease-in-out infinite;
}

.corner-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(191, 160, 96, 0.2);
    opacity: 0;
    animation: word-appear 1s ease-out forwards;
}

.corner-element::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(191, 160, 96, 0.3);
    border-radius: 50%;
}

.text-decoration {
    position: relative;
}

.text-decoration::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(191,160,96,0.5), transparent);
    animation: underline-grow 2s ease-out forwards;
    animation-delay: 2s;
}

.floating-element {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float 4s ease-in-out infinite forwards;
    animation-play-state: paused;
}

.btn-seance::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s;
}

.btn-seance:hover::after {
    transform: scaleX(1);
}

.btn-text::after {
    content: '';
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: width .4s;
}

.btn-text:hover::after {
    width: 40px;
}

/* ── SCROLL INDICATOR ── */
.scroll-i {
    animation: reveal 2s 2s ease forwards;
    opacity: 0;
}

.scroll-i::after {
    content: '';
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(191, 160, 96, 0.25), transparent);
    animation: drip 2.5s ease infinite;
}

@keyframes drip {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ── MANIFESTO PROMPTER ── */
.ms-line {
    will-change: color;
}

.ms-line em {
    font-style: italic;
}

.vectors-section {
    isolation: isolate;
}

.vectors-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 12, 0.06), rgba(10, 10, 12, 0.8) 18%, rgba(10, 10, 12, 0.92) 78%, rgba(10, 10, 12, 0.96) 100%);
    pointer-events: none;
}

.vectors-section::after {
    content: '';
    position: absolute;
    inset: auto 10% 4% 10%;
    height: 120px;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(191, 160, 96, 0.08), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

/* ═══════════════════════════════════════
   VECTORS SCENE
═══════════════════════════════════════ */
.vs-bg {
    position: absolute;
    inset: -250px 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* slow-drifting orbs that blur into a matter/oil-slick feel */
.vs-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    will-change: transform;
}

.vs-orb-1 {
    width: 520px; height: 520px;
    left: -8%; top: -10%;
    background: radial-gradient(circle, rgba(191,160,96,0.18) 0%, transparent 70%);
    animation: orb1 22s ease-in-out infinite alternate;
}
.vs-orb-2 {
    width: 400px; height: 400px;
    right: 5%; top: 20%;
    background: radial-gradient(circle, rgba(100,120,150,0.14) 0%, transparent 70%);
    animation: orb2 28s ease-in-out infinite alternate;
}
.vs-orb-3 {
    width: 350px; height: 350px;
    left: 35%; bottom: -5%;
    background: radial-gradient(circle, rgba(160,140,100,0.12) 0%, transparent 70%);
    animation: orb3 19s ease-in-out infinite alternate;
}
.vs-orb-4 {
    width: 260px; height: 260px;
    right: 28%; top: 5%;
    background: radial-gradient(circle, rgba(80,90,110,0.10) 0%, transparent 70%);
    animation: orb4 33s ease-in-out infinite alternate;
}

@keyframes orb1 { 0% { transform: translate(0,0) scale(1); }    100% { transform: translate(60px, 80px) scale(1.15); } }
@keyframes orb2 { 0% { transform: translate(0,0) scale(1.1); }  100% { transform: translate(-70px, 50px) scale(0.9); } }
@keyframes orb3 { 0% { transform: translate(0,0) scale(0.95); } 100% { transform: translate(50px, -60px) scale(1.1); } }
@keyframes orb4 { 0% { transform: translate(0,0) scale(1); }    100% { transform: translate(-40px, 70px) scale(1.2); } }

/* noise grain overlay */
.vs-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    opacity: 0.028;
}

/* ── LABEL ── */
.vs-label {
    font-size: 0.68rem; font-weight: 300; letter-spacing: 0.42em;
    text-transform: uppercase; color: rgba(191,160,96,0.30);
    max-width: 1200px; margin: 0 auto 22px;
    display: flex; align-items: center; gap: 24px;
    position: relative; z-index: 2;
}
.vs-label::after { content: ''; flex: 1; height: 1px; background: rgba(191,160,96,0.07); }

.vs-intro {
    max-width: 760px;
    margin: 0 auto 52px;
    position: relative;
    z-index: 2;
    font-family: 'Jost', sans-serif;
    font-size: 0.92rem;
    line-height: 1.9;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(221, 216, 207, 0.42);
}

/* ── GRID ── */
.vs-grid {
    max-width: 1200px; margin: 0 auto;
    display: flex; height: 600px; gap: 10px;
    position: relative; z-index: 2;
}

/* ── CARD — glass panel ── */
.vs-card {
    position: relative; overflow: hidden;
    border-radius: 18px;
    /* frosted glass */
    background: rgba(255,255,255,0.030);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.07);
    cursor: pointer; flex-shrink: 0;
    width: var(--card-width, 100px);
    transition: border-color 0.5s ease, background 0.5s ease;
    will-change: width;
}

/* inner top-edge catch light */
.vs-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(255,252,230,0.16) 40%,
        rgba(255,255,240,0.22) 50%,
        rgba(255,252,230,0.16) 60%,
        transparent 95%);
    z-index: 5; pointer-events: none;
}

/* inner bottom-edge subtle gold tint */
.vs-card::after {
    content: '';
    position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(191,160,96,0.12) 50%, transparent);
    z-index: 5; pointer-events: none;
}

.vs-card:hover {
    background: rgba(255,255,255,0.042);
    border-color: rgba(255,255,255,0.10);
}
.vs-card.active {
    cursor: default;
    background: rgba(255,255,255,0.038);
    border-color: rgba(191,160,96,0.18);
}

.vs-card:focus-visible {
    outline: 1px solid rgba(191, 160, 96, 0.65);
    outline-offset: 2px;
}

/* ── VERTICAL LABEL ── */
.vs-vert {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; opacity: 1; transition: opacity 0.3s ease; z-index: 3;
}
.vs-card.active .vs-vert { opacity: 0; transition: opacity 0.15s ease; }
.vs-vert-inner {
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    writing-mode: vertical-rl; transform: rotate(180deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.vs-card:not(.active):hover .vs-vert-inner {
    transform: rotate(180deg) translateY(12px);
}
.vs-vert-num   { font-size: 0.8rem; letter-spacing: 0.35em; color: rgba(191,160,96,0.60); transition: color 0.4s ease; }
.vs-card:not(.active):hover .vs-vert-num { color: rgba(191,160,96,1); }

.vs-vert-title {
    font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300;
    color: rgba(221,216,207,0.55); letter-spacing: 0.08em; white-space: nowrap;
    transition: color 0.5s ease, letter-spacing 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.vs-card:not(.active):hover .vs-vert-title { 
    color: rgba(221,216,207,1); 
    letter-spacing: 0.14em;
}

/* hover bar */
.vs-hover-bar {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 1px; height: 0; background: rgba(191,160,96,0.35);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; z-index: 6;
}
.vs-card:not(.active):hover .vs-hover-bar { height: 50px; }

/* ── CONTENT ── */
.vs-content {
    position: absolute; inset: 0; padding: 56px 52px;
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; transform: translateX(20px);
    pointer-events: none; z-index: 4;
    transition: opacity 0s, transform 0s;
}
.vs-card.active .vs-content {
    pointer-events: auto; opacity: 1; transform: translateX(0);
    transition: opacity 0.55s ease 0.45s, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.40s;
}
.vs-content > * { opacity: 0; transform: translateY(12px); }
.vs-card.active .vs-content > * { opacity: 1; transform: translateY(0); }
.vs-card.active .vs-content .c-num     { transition: opacity .5s ease .50s, transform .6s cubic-bezier(0.16, 1, 0.3, 1) .50s; }
.vs-card.active .vs-content .c-title   { transition: opacity .5s ease .55s, transform .6s cubic-bezier(0.16, 1, 0.3, 1) .55s; }
.vs-card.active .vs-content .c-sub     { transition: opacity .5s ease .60s, transform .6s cubic-bezier(0.16, 1, 0.3, 1) .60s; }
.vs-card.active .vs-content .c-divider { transition: opacity .5s ease .63s, transform .6s cubic-bezier(0.16, 1, 0.3, 1) .63s; }
.vs-card.active .vs-content .c-desc    { transition: opacity .5s ease .68s, transform .6s cubic-bezier(0.16, 1, 0.3, 1) .68s; }
.vs-card.active .vs-content .c-tags    { transition: opacity .5s ease .73s, transform .6s cubic-bezier(0.16, 1, 0.3, 1) .73s; }
.vs-card.active .vs-content .c-link    { transition: opacity .5s ease .78s, transform .6s cubic-bezier(0.16, 1, 0.3, 1) .78s; }
.vs-card.active .vs-content .c-icon-wrap { transition: opacity .8s ease .85s, transform .9s cubic-bezier(0.16, 1, 0.3, 1) .85s; }

.c-icon-wrap {
    position: absolute;
    right: 8%;
    top: 50%;
    margin-top: -140px;
    width: 280px;
    height: 280px;
    color: rgba(191,160,96,0.18);
    pointer-events: none;
    z-index: 0;
}
.c-icon-wrap svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(191,160,96,0.15));
}

@media (max-width: 900px) {
    .c-icon-wrap { display: none; }
}

.vs-content > *:not(.c-icon-wrap) {
    position: relative;
    z-index: 2;
}

.c-num     { font-size: 0.65rem; font-weight: 300; letter-spacing: 0.42em; color: rgba(191,160,96,0.60); margin-bottom: 10px; }
.c-title   { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem,4vw,3.8rem); font-weight: 300; color: #ffffff; line-height: 1.05; margin-bottom: 6px; }
.c-sub     { font-size: 0.65rem; font-weight: 300; letter-spacing: 0.30em; text-transform: uppercase; color: rgba(191,160,96,0.75); margin-bottom: 20px; }
.c-divider { width: 32px; height: 1px; background: rgba(191,160,96,0.45); margin-bottom: 22px; }
.c-desc    { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 300; font-style: italic; line-height: 1.85; color: rgba(221,216,207,0.70); max-width: 480px; margin-bottom: 28px; }
.c-tags    { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 36px; }
.c-tag     { font-size: 0.72rem; font-weight: 300; color: rgba(221,216,207,0.50); display: flex; align-items: center; gap: 10px; letter-spacing: 0.04em; }
.c-tag::before { content: ''; display: block; width: 16px; height: 1px; background: rgba(191,160,96,0.45); flex-shrink: 0; }

.c-link {
    font-size: 0.68rem; font-weight: 300; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--gold); text-decoration: none;
    display: inline-flex; align-items: center; gap: 12px;
    position: relative; width: fit-content;
    transition: letter-spacing 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.c-link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.c-link:hover  { letter-spacing: 0.42em; color: rgba(191,160,96,0.88); }
.c-link:hover::after { width: 100%; }
.c-link-arrow { display: inline-block; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.c-link:hover .c-link-arrow { transform: translateX(5px); }

/* responsive */
@media (max-width: 768px) {
    .vs-grid { flex-direction: column; height: auto; }
    .vs-card { width: 100% !important; height: 56px; transition: height 0.75s cubic-bezier(0.16, 1, 0.3, 1); }
    .vs-card.active { height: auto; min-height: 340px; }
    .vs-vert-inner { writing-mode: horizontal-tb; transform: none; flex-direction: row; }
    .vs-content { position: relative; inset: auto; padding: 36px 28px; }
    .vs-vert { position: relative; height: 56px; flex-shrink: 0; }
    .vs-card.active .vs-vert { height: 0; overflow: hidden; }
    .nav-logo-wrap {
        width: 50px;
        height: 50px;
    }
}

/* ── SIGNAL ── */
.sig-wrap::before,
.sig-wrap::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
}

.sig-wrap::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}

.sig-wrap::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}

.sig-corner-tr {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 24px;
    height: 24px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}

.sig-corner-bl {
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 24px;
    height: 24px;
    border-bottom: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}

.signal-section {
    position: relative;
}

.signal-section::before {
    content: '';
    position: absolute;
    inset: 0 8% auto 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(191, 160, 96, 0.12), transparent);
}

.signal-shell {
    border-radius: 32px;
    background:
        radial-gradient(circle at top center, rgba(191, 160, 96, 0.06), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-shell {
    position: relative;
}

.footer-shell::before {
    content: '';
    position: absolute;
    inset: 4rem 0 auto 0;
    height: 240px;
    background: radial-gradient(circle at center, rgba(191, 160, 96, 0.08), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.footer-panel {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    border-top: 1px solid rgba(221, 216, 207, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0));
}

.contact-direct {
    display: grid;
    gap: 12px;
}

.contact-direct-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(221, 216, 207, 0.08);
    background:
        radial-gradient(circle at right center, rgba(191, 160, 96, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.018);
    color: rgba(255, 250, 242, 0.9);
    text-decoration: none;
    transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.contact-direct-item:hover {
    border-color: rgba(191, 160, 96, 0.26);
    background:
        radial-gradient(circle at right center, rgba(191, 160, 96, 0.12), transparent 38%),
        rgba(255, 255, 255, 0.026);
    transform: translateY(-1px);
}

.contact-direct-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(191, 160, 96, 0.72);
}

.contact-direct-value {
    font-size: 1.08rem;
    line-height: 1.5;
    color: rgba(255, 250, 242, 0.94);
    word-break: break-word;
}

.intake-shell {
    padding: 1.75rem;
    border: 1px solid rgba(221, 216, 207, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(191, 160, 96, 0.06), transparent 28%),
        rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.intake-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
    max-height: 420px;
    overflow-y: auto;
    padding-top: 4px;
    padding-right: 10px;
    margin-bottom: 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(191, 160, 96, 0.42) transparent;
    scrollbar-gutter: stable;
}

.intake-thread::-webkit-scrollbar {
    width: 10px;
}

.intake-thread::-webkit-scrollbar-track {
    background: transparent;
}

.intake-thread::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(191, 160, 96, 0.42), rgba(191, 160, 96, 0.18));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.intake-bubble {
    max-width: 82%;
    padding: 14px 16px;
    border-radius: 18px;
    line-height: 1.7;
    font-size: 1rem;
    text-wrap: pretty;
    word-break: break-word;
}

.intake-bubble-meta {
    margin-bottom: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(221, 216, 207, 0.44);
}

.intake-bubble-body {
    min-height: 1.2em;
}

.intake-bubble-assistant {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(240, 236, 228, 0.88);
    border: 1px solid rgba(221, 216, 207, 0.07);
    text-align: left;
}

.intake-thread > .intake-bubble-assistant:first-child {
    max-width: 100%;
    padding: 18px 20px;
    font-size: 1.08rem;
    line-height: 1.85;
    background: rgba(255, 255, 255, 0.05);
}

.intake-bubble-user {
    align-self: flex-end;
    background: rgba(191, 160, 96, 0.14);
    color: rgba(255, 250, 242, 0.96);
    border: 1px solid rgba(191, 160, 96, 0.18);
}

.intake-bubble-user .intake-bubble-meta {
    color: rgba(255, 250, 242, 0.56);
    text-align: right;
}

.intake-bubble.is-typing {
    min-width: 128px;
}

.intake-typing {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 20px;
}

.intake-typing span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(221, 216, 207, 0.5);
    animation: intake-typing-bounce 1s ease-in-out infinite;
}

.intake-typing span:nth-child(2) {
    animation-delay: 0.14s;
}

.intake-typing span:nth-child(3) {
    animation-delay: 0.28s;
}

.intake-summary {
    align-self: stretch;
    margin-top: 6px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(191, 160, 96, 0.16);
    background:
        linear-gradient(180deg, rgba(191, 160, 96, 0.10), rgba(191, 160, 96, 0.05)),
        rgba(255, 255, 255, 0.02);
}

.intake-summary-title {
    margin-bottom: 14px;
    font-family: 'Jost', sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(191, 160, 96, 0.78);
}

.intake-summary-grid {
    display: grid;
    gap: 16px;
}

.intake-summary-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.intake-summary-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(221, 216, 207, 0.48);
}

.intake-summary-value {
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 250, 242, 0.94);
    text-align: left;
    word-break: break-word;
}

.intake-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.intake-choice {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(221, 216, 207, 0.09);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(221, 216, 207, 0.72);
    font: inherit;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
    cursor: pointer;
    transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.intake-choice:hover {
    border-color: rgba(191, 160, 96, 0.28);
    color: rgba(255, 255, 255, 0.94);
}

.intake-choice:disabled {
    opacity: 0.45;
    cursor: default;
}

.intake-choices.is-busy {
    pointer-events: none;
}

.intake-composer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.intake-input,
.intake-send,
.intake-voice {
    border-radius: 999px;
    border: 1px solid rgba(221, 216, 207, 0.08);
}

.intake-input {
    min-width: 0;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.92);
    padding: 15px 18px;
    outline: none;
    transition: border-color 220ms ease;
}

.intake-input::placeholder {
    color: rgba(221, 216, 207, 0.24);
}

.intake-input:focus {
    border-color: rgba(191, 160, 96, 0.35);
}

.intake-send,
.intake-voice {
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(221, 216, 207, 0.82);
    font: inherit;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.68rem;
    cursor: pointer;
}

.intake-send {
    background: var(--gold);
    color: var(--ash);
    border-color: rgba(191, 160, 96, 0.3);
}

.intake-voice.is-live {
    border-color: rgba(191, 160, 96, 0.35);
    color: rgba(255, 255, 255, 0.95);
    background: rgba(191, 160, 96, 0.10);
}

.intake-status {
    margin-top: 12px;
    font-family: 'Cormorant Infant', serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(221, 216, 207, 0.42);
}

@keyframes intake-typing-bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* responsive overrides for mouse effects */
@media (max-width:900px) {
    .page-ambient,
    .page-horizon,
    #mouse-gradient,
    #c-dot,
    #c-ring {
        display: none !important;
    }

    .vs-intro {
        font-size: 0.76rem;
        letter-spacing: 0.12em;
        margin-bottom: 24px;
    }

    .signal-shell {
        border-radius: 24px;
    }

    .intake-shell {
        padding: 1rem;
        border-radius: 22px;
    }

    .intake-thread {
        min-height: 260px;
    }

    .intake-composer {
        grid-template-columns: 1fr;
    }

    .intake-bubble {
        max-width: 100%;
    }

    .intake-summary-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .contact-direct-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intake-typing span {
        animation: none;
        opacity: 0.7;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
