/* gabs.day - Inflated Gold Luxury */
:root {
    --obsidian: #0a0a0a;
    --deep-chamber: #141414;
    --sovereign-gold: #c9a84c;
    --burnished-amber: #a67c2e;
    --pale-bullion: #e8d48b;
    --antique-parchment: #e8dcc8;
    --smoked-pearl: #8a8278;
    --circuit-copper: #8b5e34;
}

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

body {
    font-family: 'Libre Baskerville', serif;
    background-color: var(--obsidian);
    color: var(--antique-parchment);
    overflow-x: hidden;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.75;
}

/* Navigation Dots */
.nav-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--sovereign-gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.nav-dot.active {
    background: var(--sovereign-gold);
    width: 12px;
    height: 12px;
}

.dot-label {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    color: var(--sovereign-gold);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    pointer-events: none;
}

.nav-dot:hover .dot-label { opacity: 1; }

/* Acts */
.act {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: clamp(80px, 12vh, 160px) 0;
    background: linear-gradient(180deg, var(--obsidian) 0%, var(--deep-chamber) 30%, var(--deep-chamber) 70%, var(--obsidian) 100%);
}

.act-vignette {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(201,168,76,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.act-vignette-intense {
    background: radial-gradient(ellipse at 50% 40%, rgba(201,168,76,0.15) 0%, transparent 70%);
}

.act-content {
    max-width: 720px;
    width: 90%;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.act-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.act-center { text-align: center; }

.act-body {
    margin-bottom: 1.618rem;
    letter-spacing: 0.005em;
}

/* Sigil */
.sigil-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: 0.01em;
    color: var(--sovereign-gold);
    text-shadow: 0 0 40px rgba(201,168,76,0.3);
    animation: sigilPulse 4s ease-in-out infinite;
}

@keyframes sigilPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.sigil-epigraph {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: var(--antique-parchment);
    opacity: 0.7;
    margin-top: 2rem;
}

/* DM Mono labels */
.dm-label {
    font-family: 'DM Mono', monospace;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    letter-spacing: 0.06em;
    color: var(--sovereign-gold);
    opacity: 0.7;
    display: block;
    margin-bottom: 1.618rem;
}

/* Circuit elements */
.circuit-bracket {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--sovereign-gold);
    opacity: 0.3;
}

.bracket-tl {
    top: -8px; left: -16px;
    border-top: 1px solid var(--sovereign-gold);
    border-left: 1px solid var(--sovereign-gold);
}

.bracket-br {
    bottom: -8px; right: -16px;
    border-bottom: 1px solid var(--sovereign-gold);
    border-right: 1px solid var(--sovereign-gold);
}

.circuit-divider {
    width: 100%;
    max-width: 80%;
    margin-top: 2rem;
    opacity: 0.4;
}

.circuit-line {
    transition: stroke-dashoffset 1.5s ease-out;
}

.circuit-divider.drawn .circuit-line {
    stroke-dashoffset: 0;
}

/* Inflated 3D Forms */
.inflated-form {
    position: absolute;
    z-index: 1;
    animation: morphForm 18s ease-in-out infinite;
}

.form-1 {
    width: 300px; height: 300px;
    top: 15%; right: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: radial-gradient(ellipse at 30% 30%, var(--pale-bullion), var(--sovereign-gold) 50%, var(--circuit-copper) 100%);
    box-shadow: inset 20px 20px 60px rgba(232,212,139,0.3), inset -20px -20px 60px rgba(10,10,10,0.5), 0 0 80px rgba(201,168,76,0.15);
}

.form-2 {
    width: 180px; height: 450px;
    top: 10%; left: 50%; transform: translateX(-50%);
    border-radius: 45% 55% 50% 50% / 30% 30% 70% 70%;
    background: radial-gradient(ellipse at 35% 25%, var(--pale-bullion), var(--sovereign-gold) 50%, var(--burnished-amber) 100%);
    box-shadow: inset 15px 15px 50px rgba(232,212,139,0.25), inset -15px -15px 50px rgba(10,10,10,0.5), 0 0 60px rgba(201,168,76,0.12);
    animation-duration: 22s;
}

.form-3 {
    width: 500px; height: 500px;
    top: 10%; left: 50%; transform: translateX(-50%);
    border-radius: 40% 60% 55% 45% / 35% 40% 60% 65%;
    background: radial-gradient(ellipse at 25% 25%, var(--pale-bullion), var(--sovereign-gold) 40%, var(--circuit-copper) 100%);
    box-shadow: inset 25px 25px 80px rgba(232,212,139,0.35), inset -25px -25px 80px rgba(10,10,10,0.6), 0 0 120px rgba(201,168,76,0.2);
    animation-duration: 24s;
}

.form-tiny {
    width: 80px; height: 80px;
    position: relative;
    margin-bottom: 3rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--pale-bullion), var(--sovereign-gold));
    box-shadow: 0 0 30px rgba(201,168,76,0.15);
    animation-duration: 30s;
}

.collection-forms {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.form-small {
    width: 150px; height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 35% 65% 60% 40% / 40% 35% 65% 60%;
    background: radial-gradient(ellipse at 30% 30%, var(--pale-bullion), var(--sovereign-gold) 60%, var(--circuit-copper));
    box-shadow: inset 10px 10px 30px rgba(232,212,139,0.25), inset -10px -10px 30px rgba(10,10,10,0.4), 0 0 40px rgba(201,168,76,0.1);
}

.form-s1 { animation-duration: 15s; }
.form-s2 { animation-duration: 19s; animation-delay: -5s; }
.form-s3 { animation-duration: 17s; animation-delay: -10s; }

@keyframes morphForm {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 35% 65% / 60% 45% 55% 40%; }
    50% { border-radius: 40% 60% 65% 35% / 45% 55% 40% 60%; }
    75% { border-radius: 65% 35% 45% 55% / 35% 60% 40% 65%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Corridor layout */
.act-corridor {
    display: flex;
    gap: 4vw;
    max-width: 960px;
}

.corridor-left, .corridor-right { flex: 1; }

/* Deep heading */
.deep-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--sovereign-gold);
    letter-spacing: 0.01em;
    line-height: 1.3;
}

/* Resonance */
.act-resonance {
    background: var(--deep-chamber);
}

.resonance-domain {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--antique-parchment);
    margin-bottom: 1rem;
}

.resonance-time {
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    color: var(--sovereign-gold);
    opacity: 0.7;
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .act-corridor { flex-direction: column; }
    .collection-forms { flex-direction: column; align-items: center; gap: 2rem; }
    .form-1, .form-3 { width: 200px; height: 200px; }
    .form-2 { width: 120px; height: 300px; }
    .nav-dots { right: 12px; }
}
