/* footprint.bar - Flat Design Bar Culture
   Colors: #D4A574, #5C3A1E, #FAF5EE, #2A9D8F, #C1424E, #E8B84B, #2E2E2E
   Fonts: Architects Daughter, Nunito Sans, Courier Prime */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --warm-earthy: #D4A574;
    --bourbon-brown: #5C3A1E;
    --foam-white: #FAF5EE;
    --coaster-teal: #2A9D8F;
    --lipstick-red: #C1424E;
    --bokeh-amber: #E8B84B;
    --slate-charcoal: #2E2E2E;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    color: var(--bourbon-brown);
    background: var(--foam-white);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Architects Daughter', cursive;
    font-weight: 400;
    line-height: 1.3;
}

h2 {
    font-size: clamp(28px, 5vw, 56px);
    color: var(--bourbon-brown);
}

h3 {
    font-size: clamp(20px, 3vw, 32px);
    color: var(--bourbon-brown);
}

/* === HERO SECTION === */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: var(--warm-earthy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Bokeh background circles */
.bokeh-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--bokeh-amber);
    opacity: 0.08;
}

/* Glass rings layer */
.glass-rings-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.glass-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--bourbon-brown);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.glass-ring.visible {
    opacity: 0.15;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.glass-ring.rotating {
    animation: slowRotate 60s linear infinite;
}

/* Shoe print hero */
#shoe-print-hero {
    position: absolute;
    z-index: 3;
    width: clamp(200px, 30vw, 360px);
    transform: rotate(-25deg) scale(1.2);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                opacity 0.3s ease;
}

#shoe-print-hero.stamped {
    transform: rotate(-25deg) scale(1);
    opacity: 1;
}

.shoe-print-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Dust puff effect */
#dust-puff {
    position: absolute;
    z-index: 4;
    pointer-events: none;
}

.dust-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--foam-white);
    opacity: 0;
}

@keyframes dustExpand {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.dust-particle.active {
    animation: dustExpand 0.8s ease-out forwards;
}

/* Hero title */
#hero-title {
    position: relative;
    z-index: 5;
    text-align: center;
    pointer-events: none;
}

.title-footprint {
    font-family: 'Architects Daughter', cursive;
    font-size: clamp(48px, 10vw, 120px);
    color: var(--foam-white);
    letter-spacing: 0.05em;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.6s ease-out, opacity 0.1s ease;
}

.title-footprint.revealed {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
}

.title-bar {
    display: block;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(24px, 5vw, 60px);
    font-weight: 700;
    color: var(--bokeh-amber);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                opacity 0.15s ease;
}

.title-bar.popped {
    opacity: 1;
    transform: scale(1);
}

/* === EVIDENCE BOARD === */
#evidence-board {
    position: relative;
    padding: 100px 24px;
    background: var(--foam-white);
    overflow: hidden;
}

.board-bokeh-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.board-bokeh-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--warm-earthy);
    opacity: 0.06;
}

.section-heading {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(13px, 1.4vw, 16px);
    color: var(--bourbon-brown);
    opacity: 0.6;
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Evidence cards - flat design, no shadows */
.evidence-card {
    background: var(--foam-white);
    border: 2px solid var(--bourbon-brown);
    border-radius: 0;
    padding: 32px 24px;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.evidence-card.bounce-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes cardBounceIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.evidence-card.bounce-in-animated {
    animation: cardBounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.card-tag {
    font-family: 'Courier Prime', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--coaster-teal);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.card-illustration {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
}

.card-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

.evidence-card h3 {
    margin-bottom: 12px;
    font-size: clamp(20px, 2.5vw, 28px);
}

.evidence-card p {
    color: var(--bourbon-brown);
    opacity: 0.8;
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.7;
}

/* Card hover - flat design accent border, no shadow */
.evidence-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--coaster-teal);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.evidence-card:hover::before {
    opacity: 1;
}

/* Card hover - tag color change */
.evidence-card:hover .card-tag {
    color: var(--lipstick-red);
    transition: color 0.3s ease;
}

/* === TRAIL SECTION === */
#trail-section {
    position: relative;
    padding: 100px 24px;
    background: var(--warm-earthy);
    overflow: hidden;
}

.trail-container {
    max-width: 900px;
    margin: 0 auto;
}

.trail-heading {
    text-align: center;
    margin-bottom: 80px;
}

.trail-heading h2 {
    color: var(--foam-white);
}

.trail-heading p {
    font-family: 'Courier Prime', monospace;
    color: var(--foam-white);
    opacity: 0.7;
    margin-top: 8px;
    font-size: clamp(13px, 1.4vw, 16px);
    letter-spacing: 0.05em;
}

.trail-path {
    position: relative;
}

/* Vertical center line */
.trail-path::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bourbon-brown);
    opacity: 0.2;
    transform: translateX(-50%);
}

.trail-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
}

.trail-step:last-child {
    margin-bottom: 0;
}

.trail-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.trail-step-left {
    flex-direction: row;
    padding-right: 50%;
}

.trail-step-right {
    flex-direction: row-reverse;
    padding-left: 50%;
    text-align: right;
}

.trail-print {
    flex-shrink: 0;
    width: 50px;
}

.trail-print svg {
    width: 100%;
    height: auto;
    display: block;
}

.trail-time {
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--bokeh-amber);
    text-transform: uppercase;
    display: inline-block;
}

.trail-content h3 {
    color: var(--foam-white);
    font-size: clamp(20px, 3vw, 28px);
    margin: 4px 0 8px;
}

.trail-content p {
    color: var(--foam-white);
    opacity: 0.85;
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.7;
}

/* Dot on the vertical line at each step */
.trail-step::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bokeh-amber);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.trail-step.visible::after {
    opacity: 0.8;
}

/* === LAST CALL FOOTER === */
#last-call {
    position: relative;
    width: 100%;
    padding: 120px 24px;
    background: var(--bourbon-brown);
    overflow: hidden;
    text-align: center;
}

.footer-glass-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid var(--foam-white);
    opacity: 0.1;
    animation: slowRotate 60s linear infinite;
}

.footer-glass-ring-sm {
    width: 180px;
    height: 180px;
    opacity: 0.06;
    animation-duration: 45s;
    animation-direction: reverse;
}

.footer-content {
    position: relative;
    z-index: 2;
}

#last-call h2 {
    font-family: 'Architects Daughter', cursive;
    color: var(--foam-white);
    font-size: clamp(28px, 5vw, 52px);
    margin-bottom: 16px;
}

.footer-tagline {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    color: var(--bokeh-amber);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-small {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    color: var(--foam-white);
    opacity: 0.5;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .evidence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .evidence-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trail-step-left,
    .trail-step-right {
        padding-left: 70px;
        padding-right: 0;
        flex-direction: row;
        text-align: left;
    }

    .trail-path::before {
        left: 25px;
    }

    .trail-step::after {
        left: 25px;
    }

    .trail-step {
        gap: 20px;
    }

    #hero-title {
        padding: 0 20px;
    }

    .footer-glass-ring {
        width: 200px;
        height: 200px;
    }

    .footer-glass-ring-sm {
        width: 120px;
        height: 120px;
    }
}
