:root {
    /* Florida Sunshine & Honk Palette */
    --fl-sand: #FDF9F1;
    --fl-sun: #FFDE00;
    --fl-orange: #FF8A00;
    --fl-flamingo: #FF2E93;
    --fl-ocean: #00D4D4;
    --fl-ink: #1A1525;
    
    --border-thick: 4px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--fl-sand);
    color: var(--fl-ink);
    overflow-x: hidden;
    line-height: 1.5;
    cursor: none; 
    font-size: 1.05rem;
    background-image: radial-gradient(var(--fl-ocean) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    background-position: 0 0;
}

/* * SLOW SUNSET PIXEL FIRE CURSOR */
#cursor-core {
    position: fixed;
    width: 14px; height: 14px;
    background-color: var(--fl-sun);
    border: 2px solid var(--fl-ink);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 2px 2px 0 var(--fl-flamingo);
    transition: transform 0.1s;
}

.pixel-flame {
    position: fixed;
    width: 12px; height: 12px;
    pointer-events: none;
    z-index: 9999;
    border: 2px solid var(--fl-ink);
    animation: sunsetBurn 1.5s steps(6) forwards;
}

@keyframes sunsetBurn {
    0% { transform: translate(0, 0); background-color: var(--fl-sun); opacity: 1; }
    25% { transform: translate(var(--driftX), -15px); background-color: var(--fl-orange); opacity: 1; }
    50% { transform: translate(calc(var(--driftX) * 1.5), -30px); background-color: var(--fl-flamingo); opacity: 1; }
    75% { transform: translate(calc(var(--driftX) * 2), -45px); background-color: #9B00E8; opacity: 1; }
    100% { transform: translate(calc(var(--driftX) * 2), -55px); background-color: var(--fl-ink); opacity: 0; }
}

h1, h2, h3, h4 {
    line-height: 1.1;
}

/* Honk Font Wrapper */
.honk-text {
    font-family: 'Honk', system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    padding-left: 0.8rem; 
    padding-bottom: 0.8rem; 
    display: inline-block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Sunny Neo-brutalist styling */
.bold-shadow {
    border: var(--border-thick) solid var(--fl-ink);
    box-shadow: 6px 6px 0 var(--fl-ink);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}

.bold-shadow:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 var(--fl-ink);
}

.shadow-pink { box-shadow: 6px 6px 0 var(--fl-flamingo); }
.shadow-pink:hover { box-shadow: 4px 4px 0 var(--fl-flamingo); }

.shadow-ocean { box-shadow: 6px 6px 0 var(--fl-ocean); }
.shadow-ocean:hover { box-shadow: 4px 4px 0 var(--fl-ocean); }

.shadow-sun { box-shadow: 6px 6px 0 var(--fl-sun); }
.shadow-sun:hover { box-shadow: 4px 4px 0 var(--fl-sun); }

/* Sections */
.section-padding { padding: 4.5rem 0; }

.section-header {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

/* Hero */
.hero {
    padding: 6rem 0 2rem;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    margin-bottom: 1.5rem; 
    line-height: 1.1; 
    transform: rotate(-2deg);
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--fl-sand);
    background: var(--fl-ink);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    transform: rotate(1deg);
}

/* Combined People & Purpose */
.people-purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.people-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.person-card {
    padding: 2.5rem;
    border-radius: 12px;
    flex: 1;
}

.person-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem; 
    transform: rotate(-1deg);
}

.person-role {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--fl-ocean);
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
    background: var(--fl-ink);
    padding: 0.4rem 0.8rem;
    display: inline-block;
    border-radius: 4px;
}

.person-card p {
    font-weight: 600;
    font-size: 1rem;
    color: rgba(26, 21, 37, 0.9);
}

.purpose-block {
    background: #fff; /* Updated to pure white */
    padding: 3rem 2.5rem;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.purpose-block h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.purpose-block p.headline {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--fl-ink);
}

.purpose-block .body-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(26, 21, 37, 0.85);
    line-height: 1.6;
}

/* -------------------------------------
   INTERACTIVE FLIP CARDS (UNIFIED ENGINE)
   ------------------------------------- */
.scene {
    perspective: 1000px;
    cursor: none;
    transition: transform 0.3s ease;
}

/* 3D Lift Animation on Hover */
.scene:hover {
    transform: translateY(-8px);
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.scene.flipped .card-inner {
    transform: rotateY(180deg);
}

.face {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden; /* Safari Fix */
    border: var(--border-thick) solid var(--fl-ink);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.click-hint {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--fl-flamingo);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* --- Verticals Flip Cards (Yellow Shadow) --- */
.grid-verticals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vertical-scene { height: 350px; }

.vertical-front {
    box-shadow: 6px 6px 0 var(--fl-sun);
    justify-content: center;
    align-items: center;
    text-align: center;
}
.scene:hover .vertical-front { box-shadow: 10px 10px 0 var(--fl-sun); } /* Hover Shadow Extend */

.vertical-back {
    box-shadow: -6px 6px 0 var(--fl-sun);
    justify-content: flex-start;
    transform: rotateY(180deg); /* Crucial Fix */
    overflow-y: auto;
}
.scene:hover .vertical-back { box-shadow: -10px 10px 0 var(--fl-sun); } /* Hover Shadow Extend */

.vertical-tag {
    display: inline-block;
    background: var(--fl-ink);
    color: var(--fl-sun);
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 4px;
}

.vertical-front h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--fl-ink);
    line-height: 1.1;
}

.vertical-back p {
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(26, 21, 37, 0.9);
    font-size: 0.95rem;
}

.vertical-back ul {
    list-style: none;
    border-top: 2px dashed var(--fl-ink);
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.vertical-back ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
    font-size: 0.9rem;
}

.vertical-back ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--fl-flamingo);
}

.card-link {
    display: inline-block;
    background: var(--fl-ocean);
    color: var(--fl-ink);
    font-weight: 800;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border: 2px solid var(--fl-ink);
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-align: center;
    margin-top: auto;
    transition: all 0.2s;
    cursor: none; 
}

.card-link:hover {
    background: var(--fl-flamingo);
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 var(--fl-ink);
}

/* --- Core Pillars Flip Cards (Black Shadow & White Back) --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.pillar-scene { height: 260px; }

.pillar-front {
    box-shadow: 6px 6px 0 var(--fl-ink);
    justify-content: center;
    align-items: center;
    text-align: center;
}
.scene:hover .pillar-front { box-shadow: 10px 10px 0 var(--fl-ink); }

.pillar-back {
    box-shadow: -6px 6px 0 var(--fl-ink);
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: rotateY(180deg);
}
.scene:hover .pillar-back { box-shadow: -10px 10px 0 var(--fl-ink); }

.pillar-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
}

.pillar-front h3 {
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.pillar-back p {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--fl-ink);
}

/* Timeline */
.timeline {
    border-left: var(--border-thick) solid var(--fl-ink);
    padding-left: 3.5rem; 
    margin-left: 1.5rem;
}

.tl-item {
    position: relative;
    margin-bottom: 4.5rem; 
}

.tl-item::before {
    content: '';
    position: absolute;
    left: calc(-3.5rem - 14px); 
    top: 0;
    width: 24px; 
    height: 24px;
    background: var(--fl-ocean);
    border: var(--border-thick) solid var(--fl-ink);
    border-radius: 50%;
    z-index: 10;
}

.tl-year {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem; 
    transform: rotate(-2deg);
    transform-origin: left bottom;
    line-height: 0.8;
}

.tl-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.tl-desc { 
    font-weight: 600;
    max-width: 800px;
    color: rgba(26, 21, 37, 0.8);
    font-size: 1rem;
}

/* Work With Us Form */
.work-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.work-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.work-cat {
    padding: 1.5rem 2rem;
    border-radius: 12px;
    background: #fff;
}

.work-cat h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.work-cat p {
    font-weight: 600;
    color: rgba(26, 21, 37, 0.8);
}

.contact-form-container {
    background: var(--fl-sun);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: var(--border-thick) solid var(--fl-ink);
    border-radius: 8px;
    margin-bottom: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    background: #fff;
    color: var(--fl-ink);
    outline: none;
}

.contact-form textarea { resize: vertical; }

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--fl-flamingo);
}

.submit-btn {
    width: 100%;
    background: var(--fl-ocean);
    color: var(--fl-ink);
    border: var(--border-thick) solid var(--fl-ink);
    padding: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 4px 4px 0 var(--fl-ink);
    cursor: none;
    transition: all 0.2s;
}

.submit-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--fl-ink);
    background: var(--fl-flamingo);
    color: #fff;
}

footer {
    padding: 3rem 0;
    text-align: center;
    background: var(--fl-ink);
    color: var(--fl-sand);
    margin-top: 4rem;
    border-top: var(--border-thick) solid var(--fl-ink);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

a, .scene, button { cursor: none; }

@media(max-width: 900px) {
    .people-purpose-grid, .work-wrapper { grid-template-columns: 1fr; }
    .grid-4, .grid-verticals { grid-template-columns: 1fr; }
    body { cursor: auto; background-image: none; }
    #cursor-core, .pixel-flame { display: none; }
    .timeline { padding-left: 2.5rem; margin-left: 1rem; }
    .tl-item::before { left: calc(-2.5rem - 14px); }
    .vertical-scene { height: 380px; }
}