/* Global Variables */
:root {
    --white: #ffffff;
    --off-white: #f5f5f7;
    --black: #000000;
    --gray: #888888;
    --border: #e0e0e0;
    
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--white);
    color: var(--black);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography & Links */
a {
    text-decoration: none;
    color: inherit;
}

.massive-text {
    font-size: 6.5rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.massive-background-text {
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -4px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--black);
}

.block-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.mini-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Island Navbar */
.island-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1440px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 10px 25px;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 100%;
    display: block;
    mix-blend-mode: multiply;
}

.links {
    display: flex;
    gap: 30px;
}

.links a {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
}

.links a:hover {
    color: var(--gray);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #333;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    padding: 20px 40px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.btn-dark:hover {
    transform: translateY(-5px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--black);
    border: 3px solid var(--black);
    padding: 17px 40px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-5px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--black);
    display: block;
}

/* Hero Section */
.hero-clean {
    padding: 150px 5% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-clean .container {
    display: flex;
    align-items: center;
    gap: 5%;
    width: 100%;
}

.hero-left {
    flex: 1;
    margin-top: -60px;
}

.hero-right {
    flex: 1;
}

.hero-subtext {
    font-size: 1.25rem;
    font-weight: 400;
    color: #444;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-img {
    width: 80%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto;
}

/* Sections */
.section-block {
    padding: 120px 5%;
}

.bg-light {
    background-color: var(--off-white);
}

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

.container-sm {
    max-width: 800px;
    margin: 0 auto;
}

/* Block Grid (Founders) */
.block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
}

.editorial-img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.editorial-img:hover {
    filter: grayscale(0%);
}

.block-desc {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
}

.highlight-list {
    list-style: none;
    padding: 0;
}

.highlight-list li {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
}

/* Stats Row */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--black);
    padding-left: 20px;
}

.stat-big {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--black);
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Collab Grid */
.collab-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.collab-item {
    background: var(--white);
    border: 3px solid var(--black);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.collab-name {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--black);
    transition: color 0.3s ease;
}

.collab-item:hover {
    background: var(--black);
    transform: translateY(-5px);
}

.collab-item:hover .collab-name {
    color: var(--white);
}


/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.program-card {
    background: var(--white);
    border: 4px solid var(--black);
    display: flex;
    flex-direction: column;
}

.program-header {
    background: var(--off-white);
    padding: 30px;
    border-bottom: 4px solid var(--black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-header.dark {
    background: var(--black);
    color: var(--white);
}

.program-header h3 {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.program-badge {
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.program-badge.dark-badge {
    background: var(--white);
    color: var(--black);
}

.program-features {
    padding: 40px;
    list-style: none;
}

.program-features li {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.program-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: 900;
    color: var(--black);
}

/* Vault / Media Grid */
.vault-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.vault-item {
    background: var(--white);
    padding: 40px;
    border: 2px solid var(--border);
    transition: border-color 0.3s;
}

.vault-item:hover {
    border-color: var(--black);
}

.media-grid-clean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.media-embed-wrap {
    width: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
}

.black-border {
    border: 4px solid var(--black);
}

.media-embed-wrap iframe {
    width: 100%;
    height: 480px;
}


/* Sticky Section - The Marathon Village */
.sticky-section {
    position: relative;
    background: var(--white);
    padding-top: 100px;
    padding-bottom: 100px;
}

.container-sticky {
    display: flex;
    gap: 5%;
    align-items: flex-start;
}

.sticky-visuals {
    position: sticky;
    top: 100px;
    flex: 1;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.sticky-content {
    flex: 1;
    padding-bottom: 50vh; /* Allow scrolling past the last item */
}

.svg-map-container {
    position: relative;
    flex: 1;
    width: 100%;
    background: var(--off-white);
    border: 4px solid var(--black);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-svg {
    width: 90%;
    height: 90%;
}

.track-bg {
    fill: none;
    stroke: #ddd;
    stroke-width: 40;
    stroke-linecap: round;
}

.track-animate {
    fill: none;
    stroke: #d00; /* Aggressive Red */
    stroke-width: 40;
    stroke-linecap: round;
    /* Dashboard array setup via JS */
}

/* Map Overlays */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: rgba(255,255,255,0.9);
}

.map-overlay.active {
    opacity: 1;
}

.overlay-box {
    padding: 20px 40px;
    background: var(--black);
    color: var(--white);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

.map-overlay.active .overlay-box {
    transform: scale(1);
}

.dark-box {
    background: #d00;
}


.scrolling-block {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sticky-heading {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
    transition: opacity 0.3s;
}

.sticky-desc {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #444;
    transition: opacity 0.3s;
}


/* Footer Clean */
.footer-clean {
    background: var(--black);
    color: var(--white);
    padding: 100px 5% 50px;
    text-align: center;
}

.footer-stack h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.footer-stack p {
    color: var(--gray);
    margin-bottom: 40px;
}

.lead-input::placeholder {
    color: #aaa;
    font-weight: 700;
}

.copyright {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1000px) {
    .massive-text { font-size: 4.5rem !important; }
    .hero-clean { padding-top: 150px; text-align: center;}
    .hero-clean .container { flex-direction: column; }
    .hero-left, .hero-right { width: 100%; }
    .hero-right { margin-top: 50px; }
    .hero-image-wrapper { height: auto; }
    .hero-img { height: auto; }
    .hero-subtext { margin: 0 auto 30px; }
    .hero-actions { justify-content: center; }
    .block-grid { grid-template-columns: 1fr; gap: 40px; }
    .block-title { font-size: 3rem !important; }
    .programs-grid { grid-template-columns: 1fr; }
    .vault-grid { grid-template-columns: 1fr; }
    .media-grid-clean { grid-template-columns: 1fr; }
    
    .island-nav { width: 95%; top: 10px; }
    .links, .btn-primary { display: none; }
    .hamburger { display: flex; }

    /* Sticky section — keep track visible while scrolling on mobile */
    .container-sticky { flex-direction: column; gap: 0; }
    .sticky-visuals { position: sticky; top: 80px; width: 100%; height: 40vh; z-index: 1; }
    .sticky-content { width: 100%; padding-bottom: 0; padding-top: 30px; }
    .scrolling-block { min-height: 60vh; margin-bottom: 0; }
}

@media (max-width: 600px) {
    .massive-text { font-size: 3rem !important; }
    .program-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .lead-form { flex-direction: column; }
    .sticky-heading { font-size: 2.5rem; }
    .massive-background-text { font-size: 3.5rem !important; }
}

/* WhatsApp Floating Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-bubble::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.wa-label {
    display: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.whatsapp-bubble:hover {
    width: auto;
    border-radius: 40px;
    padding: 0 20px;
    gap: 10px;
}

.whatsapp-bubble:hover .wa-label {
    display: inline;
}

.whatsapp-bubble:hover::before {
    display: none;
}
