/* monopole.one - Inflated Greenhouse Observatory */
/* Color Palette */
/* Primary Warm: Burnt Amber #c2703e */
/* Primary Cool: Deep Teal #2a7c6f */
/* Background Light: Warm Cream #f7f0e6 */
/* Background Deep: Rich Soil #2e1f14 */
/* Text Primary: Warm Charcoal #3d2e22 */
/* Text Secondary: Muted Sage #7a8c6e */
/* Accent Warm: Coral Bloom #e07850 */
/* Accent Cool: Pale Mint #b8d4c8 */
/* Gradient Start: Golden Hour #daa06d */
/* Gradient End: Sunset Rose #c97b6b */

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

html {
    font-family: 'Questrial', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: -0.01em;
    color: #3d2e22;
    overflow: hidden;
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
    background: #f7f0e6;
}

/* Main horizontal scroll container */
#greenhouse {
    display: flex;
    width: 700vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Each chamber = one viewport */
.chamber {
    min-width: 100vw;
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background patterns */
.chamber-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pattern-radial {
    background:
        repeating-radial-gradient(circle at 50% 50%, transparent 0px, transparent 40px, rgba(194, 112, 62, 0.04) 40px, rgba(194, 112, 62, 0.04) 42px);
}

.pattern-conic {
    background:
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, transparent 20deg, rgba(42, 124, 111, 0.03) 20deg, rgba(42, 124, 111, 0.03) 22deg);
}

.pattern-leaf {
    background:
        repeating-radial-gradient(ellipse at 30% 40%, transparent 0px, transparent 60px, rgba(42, 124, 111, 0.04) 60px, rgba(42, 124, 111, 0.04) 62px),
        repeating-radial-gradient(ellipse at 70% 60%, transparent 0px, transparent 50px, rgba(194, 112, 62, 0.03) 50px, rgba(194, 112, 62, 0.03) 52px);
}

.pattern-radial-alt {
    background:
        repeating-radial-gradient(circle at 40% 30%, transparent 0px, transparent 35px, rgba(184, 212, 200, 0.06) 35px, rgba(184, 212, 200, 0.06) 37px),
        repeating-radial-gradient(circle at 60% 70%, transparent 0px, transparent 45px, rgba(194, 112, 62, 0.04) 45px, rgba(194, 112, 62, 0.04) 47px);
}

.pattern-petal {
    background:
        repeating-conic-gradient(from 30deg at 50% 50%, transparent 0deg, transparent 15deg, rgba(218, 160, 109, 0.04) 15deg, rgba(218, 160, 109, 0.04) 17deg);
}

.pattern-concentric {
    background:
        repeating-radial-gradient(circle at 50% 50%, transparent 0px, transparent 30px, rgba(224, 120, 80, 0.03) 30px, rgba(224, 120, 80, 0.03) 32px);
}

/* Chamber backgrounds - alternating warm/cool */
.chamber-entrance { background: #f7f0e6; }
.chamber-propagation { background: #f2f6f4; }
.chamber-greenhouse { background: #f7f0e6; }
.chamber-archive { background: #f2f6f4; }
.chamber-reading { background: #f7f0e6; }
.chamber-observation { background: #f2f6f4; }
.chamber-exit {
    background: linear-gradient(135deg, #daa06d 0%, #c97b6b 100%);
}


/* ========================================
   INFLATED-3D CARD SYSTEM
   ======================================== */

.inflated {
    border-radius: 24px;
    background: radial-gradient(ellipse at 35% 30%, #d4915e 0%, #c2703e 60%, #a05a2e 100%);
    box-shadow:
        0 1px 2px rgba(46, 31, 20, 0.25),
        0 8px 16px rgba(46, 31, 20, 0.15),
        0 24px 48px rgba(46, 31, 20, 0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.inflated:hover {
    transform: scale(1.02);
    box-shadow:
        0 2px 4px rgba(46, 31, 20, 0.3),
        0 12px 24px rgba(46, 31, 20, 0.2),
        0 32px 64px rgba(46, 31, 20, 0.1);
}

.inflated-teal {
    border-radius: 24px;
    background: radial-gradient(ellipse at 35% 30%, #48a396 0%, #2a7c6f 60%, #1e5c53 100%);
    box-shadow:
        0 1px 2px rgba(46, 31, 20, 0.25),
        0 8px 16px rgba(46, 31, 20, 0.15),
        0 24px 48px rgba(46, 31, 20, 0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.inflated-teal:hover {
    transform: scale(1.02);
    box-shadow:
        0 2px 4px rgba(46, 31, 20, 0.3),
        0 12px 24px rgba(46, 31, 20, 0.2),
        0 32px 64px rgba(46, 31, 20, 0.1);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.title-display {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: 0.05em;
    color: #f7f0e6;
    text-align: center;
    line-height: 1.1;
}

.exit-title {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.05em;
    color: #f7f0e6;
    text-align: center;
    margin-bottom: 1.5rem;
}

.specimen-text,
.mini-text {
    font-family: 'Questrial', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #f7f0e6;
    letter-spacing: -0.01em;
}

.mono-accent {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 0.78rem;
    background: #f5e6d3;
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

/* ========================================
   CHAMBER 1: ENTRANCE VESTIBULE
   ======================================== */

.entrance-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.entrance-card {
    padding: 3rem 5rem;
    max-width: 80vw;
}

.entrance-flower {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.scroll-hint {
    animation: pulseRight 2s ease-in-out infinite;
}

@keyframes pulseRight {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(12px); opacity: 1; }
}

/* ========================================
   CHAMBER 2: PROPAGATION ROOM
   ======================================== */

.propagation-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    max-width: 95vw;
}

.specimen-card {
    padding: 2rem;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.card-1 {
    transform: translateY(-30px);
}

.card-2 {
    transform: translateY(20px);
}

.card-3 {
    transform: translateY(-10px);
}

.specimen-illustration {
    width: 160px;
    height: 160px;
}


/* ========================================
   CHAMBER 3: MAIN GREENHOUSE
   ======================================== */

.greenhouse-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.greenhouse-panel {
    width: 80%;
    max-width: 900px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.morph-flower {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

/* ========================================
   CHAMBER 4: SPECIMEN ARCHIVE
   ======================================== */

.archive-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 95vw;
    flex-wrap: wrap;
}

.specimen-mini {
    padding: 1.5rem;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
}

.mini-1 { transform: translate(-20px, -40px); }
.mini-2 { transform: translate(10px, 20px); }
.mini-3 { transform: translate(-15px, -15px); }
.mini-4 { transform: translate(25px, 30px); }
.mini-5 { transform: translate(-10px, -25px); }

.mini-motif {
    width: 80px;
    height: 80px;
}

.mini-text {
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ========================================
   CHAMBER 5: READING ALCOVE
   ======================================== */

.chamber-reading {
    background:
        linear-gradient(135deg, rgba(218, 160, 109, 0.08) 0%, rgba(247, 240, 230, 1) 50%, rgba(218, 160, 109, 0.05) 100%);
}

.reading-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 3rem;
}

.reading-panel {
    max-width: 680px;
    padding: 3rem 3.5rem;
    background: radial-gradient(ellipse at 35% 30%, #d4915e 0%, #c2703e 60%, #a05a2e 100%);
}

.reading-text {
    color: #f7f0e6;
}

.reading-text p {
    margin-bottom: 1.2rem;
    text-indent: 1.5em;
}

.reading-text p:first-child {
    text-indent: 0;
}

.reading-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CHAMBER 6: OBSERVATION DECK
   ======================================== */

.observation-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.observation-flower {
    width: min(80vw, 80vh);
    height: min(80vw, 80vh);
}

.observation-text {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    color: #3d2e22;
    text-align: center;
    max-width: 500px;
}

/* ========================================
   CHAMBER 7: EXIT GARDEN
   ======================================== */

.exit-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    max-width: 600px;
}

.exit-farewell {
    font-family: 'Questrial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f7f0e6;
    max-width: 480px;
}

/* ========================================
   PROGRESS DOTS
   ======================================== */

.progress-dots {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 100;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(247, 240, 230, 0.6);
    backdrop-filter: blur(8px);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: radial-gradient(circle at 40% 35%, #9aab93, #7a8c6e);
    box-shadow:
        0 1px 1px rgba(46, 31, 20, 0.2),
        0 2px 4px rgba(46, 31, 20, 0.1);
    transition:
        width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.3s ease;
    padding: 0;
}

.dot.active {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 40% 35%, #f09070, #e07850);
    box-shadow:
        0 1px 2px rgba(46, 31, 20, 0.3),
        0 3px 6px rgba(46, 31, 20, 0.15);
}
