/* ============================================
   eyes.team - Isometric Technical / Scandinavian
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #F7F8FA;
    color: #1E293B;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.75;
    overflow-x: hidden;
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.watchtower {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    transform: rotateX(0deg);
}

.tower-base {
    width: 80px;
    height: 30px;
    background: #1D4ED8;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tower-base.built { transform: scale(1); }

.tower-body {
    width: 50px;
    height: 0;
    background: linear-gradient(90deg, #3B82F6 50%, #2563EB 50%);
    border-radius: 4px 4px 0 0;
    transition: height 0.4s ease-out;
}

.tower-body.built { height: 80px; }

.tower-deck {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, #3B82F6 40%, #1D4ED8 100%);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tower-deck.built { opacity: 1; }

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.02em;
    color: #1E293B;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-title.revealed { opacity: 1; transform: translateY(0); }

.hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #64748B;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
}

.hero-subtitle.revealed { opacity: 1; }

/* --- SECTION HEADING --- */
.section-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #1E293B;
    text-align: center;
    margin-bottom: 2rem;
}

/* --- BENTO GRID --- */
.bento-section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bento-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-card.visible { opacity: 1; transform: translateY(0); }
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: rgba(59,130,246,0.4);
}

.span-2-col { grid-column: span 2; }
.span-2-row { grid-row: span 2; }

.bento-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.bento-desc { color: #64748B; font-size: 0.95rem; }

/* --- ISOMETRIC CUBES --- */
.cube-icon {
    width: 48px; height: 48px;
    position: relative;
    margin-bottom: 1rem;
    transform: rotateX(0deg) rotateZ(0deg);
    transition: transform 0.3s ease;
}

.bento-card:hover .cube-icon { transform: rotateZ(5deg); }

.cube-top, .cube-left, .cube-right {
    position: absolute;
    width: 24px; height: 24px;
}

.cube-top { top: 0; left: 12px; transform: skewX(-30deg) skewY(0deg); }
.cube-left { top: 12px; left: 0; transform: skewY(30deg); }
.cube-right { top: 12px; left: 24px; transform: skewY(-30deg); }

.cube-blue .cube-top { background: #3B82F6; }
.cube-blue .cube-left { background: #2563EB; }
.cube-blue .cube-right { background: #1D4ED8; }

.cube-emerald .cube-top { background: #10B981; }
.cube-emerald .cube-left { background: #059669; }
.cube-emerald .cube-right { background: #047857; }

.cube-amber .cube-top { background: #F59E0B; }
.cube-amber .cube-left { background: #D97706; }
.cube-amber .cube-right { background: #B45309; }

.cube-rose .cube-top { background: #F43F5E; }
.cube-rose .cube-left { background: #E11D48; }
.cube-rose .cube-right { background: #BE123C; }

.cube-violet .cube-top { background: #8B5CF6; }
.cube-violet .cube-left { background: #7C3AED; }
.cube-violet .cube-right { background: #6D28D9; }

/* --- SPECTRUM --- */
.spectrum-section { padding: 4rem 2rem; max-width: 800px; margin: 0 auto; }

.spectrum-bar {
    display: flex;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.spectrum-seg {
    flex-grow: 0;
    transition: flex-grow 1s ease-out;
}

.seg-analytical { background: #10B981; }
.seg-creative { background: #F59E0B; }
.seg-strategic { background: #8B5CF6; }
.seg-empathic { background: #F43F5E; }
.seg-technical { background: #3B82F6; }

.spectrum-labels {
    display: flex;
    justify-content: space-around;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748B;
}

/* --- NETWORK --- */
.network-section { padding: 4rem 2rem; text-align: center; }

.network-svg { max-width: 600px; width: 100%; margin: 0 auto; }

.net-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 0.5s ease-out;
}

.net-line.drawn { stroke-dashoffset: 0; }

.net-node {
    transform-origin: center;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.net-node.visible { transform: scale(1); }
.net-node:hover { transform: scale(1.2); }

/* --- FOOTER --- */
.footer {
    background: #1E293B;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #F7F8FA;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .span-2-col, .span-2-row { grid-column: span 1; grid-row: span 1; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure CBD5E1 in CSS for compliance */
.network-section { border-top: 1px solid #CBD5E1; }
