/* ============================================
   eyes.team - Memphis Bold Shapes Portfolio
   ============================================ */

:root {
    --canvas-white: #fafafa;
    --memphis-pink: #ff6b9d;
    --memphis-yellow: #ffd93d;
    --memphis-blue: #4ecdc4;
    --memphis-black: #1a1a2e;
    --memphis-coral: #ff8a65;
    --light-gray: #f0f0f0;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--memphis-black);
    background: var(--canvas-white);
    overflow-x: hidden;
    position: relative;
}

/* ---- Typography ---- */
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--memphis-black);
    margin-bottom: 0.5rem;
}

.section-description {
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--memphis-black);
    opacity: 0.7;
    margin-bottom: 2rem;
}

/* ---- Keyframes ---- */
@keyframes memphisSpin {
    to { transform: rotate(360deg); }
}

@keyframes memphisSpinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

/* ---- Memphis Decorative Shapes ---- */
.memphis-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.memphis-shape {
    position: absolute;
    opacity: 0.15;
}

.shape-circle {
    border-radius: 50%;
    border: 6px solid var(--memphis-black);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid var(--memphis-pink);
    background: none !important;
    border-radius: 0;
}

.shape-square {
    border: 6px solid var(--memphis-black);
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        var(--memphis-yellow) 5px,
        var(--memphis-yellow) 10px
    );
}

.shape-squiggle {
    width: 200px;
    height: 40px;
}

.shape-squiggle svg {
    width: 100%;
    height: 100%;
}

/* Individual shape positions and sizes */
.shape-1 {
    width: 200px;
    height: 200px;
    top: 5%;
    right: 10%;
    background: var(--memphis-pink);
    opacity: 0.12;
    animation: memphisSpin 60s linear infinite;
}

.shape-2 {
    top: 15%;
    left: 5%;
    animation: memphisSpin 50s linear infinite;
    opacity: 0.1;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 5%;
    border-color: var(--memphis-blue);
    animation: memphisSpinReverse 70s linear infinite;
    opacity: 0.1;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 8%;
    animation: memphisSpin 45s linear infinite;
    opacity: 0.1;
}

.shape-5 {
    top: 75%;
    right: 15%;
    border-bottom-color: var(--memphis-yellow);
    animation: memphisSpinReverse 55s linear infinite;
    opacity: 0.08;
}

.shape-6 {
    width: 80px;
    height: 80px;
    top: 85%;
    left: 20%;
    border-color: var(--memphis-coral);
    animation: memphisSpin 65s linear infinite;
    opacity: 0.1;
}

.shape-7 {
    width: 140px;
    height: 140px;
    top: 30%;
    left: 70%;
    animation: memphisSpinReverse 40s linear infinite;
    opacity: 0.08;
}

.shape-8 {
    top: 50%;
    left: 40%;
    border-bottom-color: var(--memphis-coral);
    animation: memphisSpin 80s linear infinite;
    opacity: 0.06;
}

.shape-9 {
    width: 160px;
    height: 160px;
    top: 20%;
    left: 50%;
    border-color: var(--memphis-yellow);
    animation: memphisSpin 75s linear infinite;
    opacity: 0.07;
}

.shape-10 {
    top: 35%;
    left: 15%;
    animation: floatUp 6s ease-in-out infinite;
    opacity: 0.15;
}

.shape-11 {
    top: 70%;
    right: 25%;
    animation: floatUp 8s ease-in-out infinite;
    animation-delay: 3s;
    opacity: 0.12;
}

/* ---- Blinking Eye Decorations ---- */
.eye-decorations {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.eye-motif {
    position: absolute;
    animation: blink 8s ease-in-out infinite;
}

.eye-outer {
    width: 60px;
    height: 30px;
    border-radius: 50% / 50%;
    border: 3px solid var(--memphis-black);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--canvas-white);
    overflow: hidden;
}

.eye-iris {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.eye-1 {
    top: 12%;
    left: 80%;
    animation-delay: 0s;
}

.eye-2 {
    top: 45%;
    left: 3%;
    animation-delay: 2s;
}

.eye-3 {
    top: 70%;
    left: 85%;
    animation-delay: 4s;
}

.eye-4 {
    top: 90%;
    left: 35%;
    animation-delay: 6s;
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 33%;
    min-width: 300px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--memphis-black);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'Karla', sans-serif;
    font-size: 1.1rem;
    color: var(--memphis-black);
    opacity: 0.7;
    max-width: 400px;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--memphis-pink);
    opacity: 0.2;
    top: 10%;
    right: 15%;
    animation: memphisSpin 60s linear infinite;
}

.hero-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--memphis-yellow);
    opacity: 0.25;
    bottom: 15%;
    right: 35%;
    animation: memphisSpinReverse 50s linear infinite;
}

.hero-squiggle {
    position: absolute;
    width: 300px;
    top: 60%;
    right: 10%;
    opacity: 0.3;
    animation: floatUp 5s ease-in-out infinite;
}

.hero-squiggle svg {
    width: 100%;
}

/* ---- Zigzag Divider ---- */
.zigzag-divider {
    height: 40px;
    position: relative;
    z-index: 2;
}

.zigzag-pink {
    background: linear-gradient(135deg, var(--memphis-pink) 25%, transparent 25%) -20px 0,
                linear-gradient(225deg, var(--memphis-pink) 25%, transparent 25%) -20px 0,
                linear-gradient(315deg, var(--memphis-pink) 25%, transparent 25%),
                linear-gradient(45deg, var(--memphis-pink) 25%, transparent 25%);
    background-size: 40px 40px;
    background-color: var(--canvas-white);
    clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
    background: var(--memphis-pink);
}

.zigzag-yellow {
    clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
    background: var(--memphis-yellow);
}

/* ---- Team Section ---- */
.team-section {
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.team-cluster {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 3rem auto;
    max-width: 900px;
    position: relative;
}

.team-card {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--memphis-pink);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -15px;
    position: relative;
    transition: transform 0.3s ease, z-index 0s;
    cursor: pointer;
}

.team-card:nth-child(1) { border-color: var(--memphis-pink); z-index: 5; }
.team-card:nth-child(2) { border-color: var(--memphis-blue); z-index: 4; top: 30px; }
.team-card:nth-child(3) { border-color: var(--memphis-yellow); z-index: 3; }
.team-card:nth-child(4) { border-color: var(--memphis-coral); z-index: 2; top: 30px; }
.team-card:nth-child(5) { border-color: var(--memphis-pink); z-index: 1; }

.team-card:hover {
    transform: scale(1.15);
    z-index: 10;
}

.card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.card-avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.card-avatar svg {
    width: 100%;
    height: 100%;
}

.card-name {
    font-family: 'Righteous', cursive;
    font-size: 1.1rem;
    color: var(--memphis-black);
    display: block;
}

.card-role {
    font-family: 'Karla', sans-serif;
    font-size: 0.75rem;
    color: var(--memphis-black);
    opacity: 0.6;
    display: block;
}

.squiggle-connector {
    width: 100%;
    max-width: 600px;
    height: 60px;
    display: block;
    margin: 2rem auto 0;
    opacity: 0.3;
}

/* ---- Activity Feed Section ---- */
.activity-section {
    padding: 5rem 4rem;
    position: relative;
    z-index: 2;
}

.activity-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.activity-intro {
    position: sticky;
    top: 4rem;
}

.activity-legend {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-shape {
    display: inline-block;
    flex-shrink: 0;
}

.legend-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--memphis-blue);
}

.legend-triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid var(--memphis-coral);
}

.legend-square {
    width: 14px;
    height: 14px;
    background: var(--memphis-yellow);
}

.legend-label {
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    color: var(--memphis-black);
}

/* Timeline Vertical */
.timeline-vertical {
    position: relative;
    padding-left: 3rem;
}

.timeline-line {
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--memphis-black);
    opacity: 0.15;
}

.timeline-entry {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

.entry-shape {
    position: absolute;
    left: -2.35rem;
    top: 0.5rem;
}

.shape-indicator-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--memphis-blue);
    border: 3px solid var(--canvas-white);
    box-shadow: 0 0 0 2px var(--memphis-blue);
}

.shape-indicator-triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 17px solid var(--memphis-coral);
}

.shape-indicator-square {
    width: 16px;
    height: 16px;
    background: var(--memphis-yellow);
    border: 2px solid var(--memphis-black);
}

.entry-content {
    background: var(--light-gray);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--memphis-black);
    transition: border-color 0.3s ease;
}

.timeline-entry[data-type="observation"] .entry-content {
    border-left-color: var(--memphis-blue);
}

.timeline-entry[data-type="alert"] .entry-content {
    border-left-color: var(--memphis-coral);
}

.timeline-entry[data-type="report"] .entry-content {
    border-left-color: var(--memphis-yellow);
}

.entry-time {
    font-family: 'Karla', sans-serif;
    font-size: 0.75rem;
    color: var(--memphis-black);
    opacity: 0.5;
    display: block;
    margin-bottom: 0.25rem;
}

.entry-author {
    font-family: 'Righteous', cursive;
    font-size: 0.9rem;
    color: var(--memphis-pink);
    display: block;
    margin-bottom: 0.5rem;
}

.entry-text {
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--memphis-black);
}

/* ---- Observations Section ---- */
.observations-section {
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.observations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 2rem auto 0;
}

.observation-card {
    background: var(--light-gray);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.observation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.12);
}

.obs-shape {
    margin-bottom: 1.5rem;
}

.obs-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--memphis-pink);
    border: 4px solid var(--memphis-black);
}

.obs-circle-alt {
    background: var(--memphis-blue);
}

.obs-triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid var(--memphis-coral);
}

.obs-square {
    width: 46px;
    height: 46px;
    background: var(--memphis-yellow);
    border: 4px solid var(--memphis-black);
    background-image: radial-gradient(circle, var(--memphis-black) 2px, transparent 2px);
    background-size: 16px 16px;
}

.obs-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--memphis-black);
}

.obs-text {
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--memphis-black);
    opacity: 0.7;
    margin-bottom: 1.25rem;
}

.obs-badge {
    font-family: 'Righteous', cursive;
    font-size: 0.75rem;
    color: var(--canvas-white);
    background: var(--memphis-black);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

.observation-card:nth-child(1) .obs-badge { background: var(--memphis-pink); }
.observation-card:nth-child(2) .obs-badge { background: var(--memphis-coral); }
.observation-card:nth-child(3) .obs-badge { background: var(--memphis-blue); color: var(--memphis-black); }
.observation-card:nth-child(4) .obs-badge { background: var(--memphis-yellow); color: var(--memphis-black); }

/* ---- Footer ---- */
.footer {
    padding: 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--memphis-black);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--canvas-white);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: 'Karla', sans-serif;
    font-size: 0.9rem;
    color: var(--canvas-white);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.footer-shapes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-dot:hover {
    transform: scale(1.5);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 2rem;
    }

    .hero-content {
        width: 100%;
        min-width: unset;
    }

    .hero-circle {
        width: 150px;
        height: 150px;
    }

    .team-section,
    .activity-section,
    .observations-section {
        padding: 3rem 2rem;
    }

    .team-cluster {
        gap: 0;
    }

    .team-card {
        width: 140px;
        height: 140px;
        margin: 0 -10px;
    }

    .team-card:nth-child(2),
    .team-card:nth-child(4) {
        top: 20px;
    }

    .activity-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .activity-intro {
        position: static;
    }

    .observations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .team-card {
        width: 110px;
        height: 110px;
        border-width: 5px;
    }

    .card-name {
        font-size: 0.85rem;
    }

    .card-role {
        font-size: 0.65rem;
    }

    .card-avatar {
        width: 40px;
        height: 40px;
    }
}
