/* ============================================
   PLOT SWAP - REDESIGN CSS
   Design System: Minimal, Clean, Color-Coded
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */

:root {
    /* Base Colors */
    --color-black: #0A0A0A;
    --color-white: #FFFFFF;

    /* Backgrounds */
    --color-bg-dark: #0A0A0A;
    --color-bg-light: #F8F8F8;
    --color-bg-card: #FFFFFF;

    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-text-muted: #666666;

    /* Accent Colors - Default (Teal for Homepage) */
    --color-accent: #14B8A6;
    --color-accent-hover: #0D9488;
    --color-accent-light: rgba(20, 184, 166, 0.1);

    /* Typography */
    --font-display: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-accent: 'Playfair Display', serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.75rem;
    /* 60px */
    --text-7xl: 4.5rem;
    /* 72px */

    /* Spacing */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */
    --space-24: 6rem;
    /* 96px */
    --space-32: 8rem;
    /* 128px */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* Base Utils */
.text-highlight {
    color: var(--color-accent);
    font-weight: 700;
}

body.page-home {
    --color-accent: #14B8A6;
    /* Teal */
    --color-accent-hover: #0D9488;
    --color-accent-light: rgba(20, 184, 166, 0.1);
}

body.page-about {
    --color-accent: #D4AF37;
    /* Gold */
    --color-accent-hover: #B8941F;
    --color-accent-light: rgba(212, 175, 55, 0.1);
}

body.page-business {
    --color-accent: #F97316;
    /* Orange */
    --color-accent-hover: #EA580C;
    --color-accent-light: rgba(249, 115, 22, 0.1);
}

body.page-season1 {
    --color-accent: #8B5CF6;
    /* Purple */
    --color-accent-hover: #7C3AED;
    --color-accent-light: rgba(139, 92, 246, 0.1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-dark);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
}

h1 {
    font-size: clamp(var(--text-5xl), 8vw, var(--text-7xl));
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
}

h3 {
    font-size: var(--text-2xl);
}

p {
    margin-bottom: var(--space-4);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-accent {
    color: var(--color-accent);
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: var(--text-xs);
    font-weight: 700;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--color-text-primary);
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
}

/* Hero Static Top (Consistent branding across pages) */
.hero-static-top {
    width: 100%;
    margin-bottom: var(--space-12);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    /* Force teal accent for branding header on all pages */
    --branding-accent: #14B8A6;
    --branding-accent-hover: #0D9488;
}

.hero-branding {
    margin-bottom: var(--space-2);
    text-align: center;
    pointer-events: auto;
}

.hero-branding .hero-title {
    margin-bottom: 0px;
    color: var(--color-text-primary);
}

.hero-branding .hero-subtitle {
    margin-bottom: 0;
    color: var(--branding-accent);
    font-size: clamp(var(--text-base), 2.1vw, var(--text-lg));
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Hero Badge (New in 2026) */
.hero-badge {
    margin-top: var(--space-4);
    /* Pulled up closer to header */
    margin-bottom: var(--space-6);
    /* Reduced bridge to pitch by ~30% */
    text-align: center;
}

.badge-label {
    display: block;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: var(--text-base);
    /* Reduced slightly from lg for quiet caption feel */
    color: var(--color-text-primary);
    opacity: 0.8;
    margin-bottom: -2px;
    /* Increased from -6px to give more air/fix overlap */
}

.badge-year {
    display: block;
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

/* Hero Tagline */
.hero-tagline {
    opacity: 0.5;
    margin-top: var(--space-12);
    /* Breathing room above CTA block */
    margin-bottom: var(--space-4);
    /* Reduced gap to Get Invited */
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Hero CTA Block */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    /* Consistent chunk of breathing room */
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-cta .btn {
    width: 100%;
    padding: var(--space-4) var(--space-8);
}

/* Last Season Module */
.hero-last-season {
    margin-top: var(--space-12);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Hero Divider (Last Season) */
.hero-divider {
    width: 100%;
    max-width: 400px;
    margin-bottom: var(--space-4);
    /* Reduced gap to card by ~40% */
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--color-text-muted);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 2.5px;
    /* Slightly increased for strength */
    text-transform: uppercase;
    opacity: 0.8;
    /* Strengthened by ~15% from default ghosted state */
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero-divider span {
    white-space: nowrap;
}

/* Hero Footer Link (2025 • Pheromones) */
.hero-footer-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-8);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    text-decoration: none;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.hero-footer-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.hero-footer-link .link-year {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 700;
    opacity: 0.8;
}

.hero-footer-link .link-arrow {
    transition: transform var(--transition-base);
}

.hero-footer-link .link-context {
    font-style: normal;
    /* Regular font for context bracket */
    font-size: 0.75em;
    /* Reduced from 0.85em for hierarchy */
    opacity: 0.5;
    /* Reduced from 0.7 to deemphasize */
    margin-left: 2px;
    /* Balanced spacing between Pheromones and (Season 1) */
}

.hero-footer-link:hover .link-arrow {
    transform: translateX(4px);
}

.nav-links {
    display: flex;
    gap: var(--space-8);
    list-style: none;
}

.nav-link {
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: var(--text-2xl);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
    padding: var(--space-24) var(--space-6) var(--space-16);
    /* Reduced top/bottom padding to tighten valley */
    position: relative;
    overflow: hidden;
}

/* Spotlights */
.spotlight-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.spotlight {
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    mix-blend-mode: screen;
}

.spotlight-1 {
    top: -5%;
    left: -5%;
    animation: moveSpotlight1 18s infinite alternate ease-in-out;
}

.spotlight-2 {
    bottom: -5%;
    right: -5%;
    animation: moveSpotlight2 22s infinite alternate ease-in-out;
}

.spotlight-3 {
    top: 25%;
    right: 15%;
    width: 32vw;
    height: 32vw;
    animation: moveSpotlight3 15s infinite alternate ease-in-out;
}

@keyframes moveSpotlight1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30%, 20%) scale(1.2);
    }
}

@keyframes moveSpotlight2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-40%, -20%) scale(1.1);
    }
}

@keyframes moveSpotlight3 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-20%, 30%);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    /* Stacked as per mockup */
    align-items: center;
    gap: var(--space-4);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-cta .btn {
    width: 100%;
    padding: var(--space-4) var(--space-8);
}

.hero-cta {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

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

/* ============================================
   CARDS
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-light);
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--color-text-dark);
}

.card-description {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-8);
}

.section-description {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
    padding: var(--space-12) 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.footer-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-4);
}

.footer-link {
    color: var(--color-accent);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px dotted var(--color-accent);
    transition: opacity var(--transition-base);
}

.footer-link:hover {
    opacity: 0.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll-triggered animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {

    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-dark);
        flex-direction: column;
        gap: 0;
        padding: var(--space-4) 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: var(--space-4) var(--space-6);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Refine active underline for mobile */
    .nav-link.active::after {
        bottom: var(--space-2);
        left: var(--space-6);
        right: auto;
        width: 2rem;
    }

    .nav-toggle {
        display: block;
    }

    /* Spacing */
    .section {
        padding: var(--space-16) 0;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding: var(--space-32) var(--space-4) var(--space-16);
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--space-4);
    }

    .btn {
        width: 100%;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .section {
        padding: var(--space-12) 0;
    }
}

/* ============================================
   LOCATION SECTION
   ============================================ */

.location-section {
    background: var(--color-bg-dark);
}

.location-section .section-label {
    text-align: left;
    display: block;
    margin-bottom: var(--space-8);
}

@media (max-width: 899px) {
    .location-section .section-label {
        text-align: left;
    }
}

.location-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px 96px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 900px) {
    .location-grid {
        grid-template-columns: 1.6fr 1fr;
        gap: 56px;
    }
}

.location-text {
    text-align: left;
}

.location-title {
    font-size: clamp(40px, 4.2vw, 64px);
    line-height: 1.05;
    margin-bottom: 24px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-text-primary);
}

.location-body {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 56ch;
}

.location-body p {
    margin-bottom: 20px;
}

.location-body p:last-child {
    margin-bottom: 0;
}

.location-cta-line {
    color: rgba(255, 255, 255, 0.9);
}

.location-cta-line strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.location-cta-sub {
    display: block;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 4px;
}

.location-cta-column {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 900px) {
    .location-cta-column {
        padding-top: 120px;
    }
}



.location-btn {
    width: 100%;
    max-width: 400px;
    padding: 18px 22px;
    text-align: center;
}

@media (min-width: 900px) {
    .location-btn {
        margin-left: 0;
    }
}

.location-microline {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (min-width: 900px) {
    .location-microline {
        text-align: left;
    }

    .location-cta-column {
        align-items: flex-start;
    }
}

@media (max-width: 899px) {
    .location-inner {
        padding: 48px 20px 72px;
    }

    .location-grid {
        gap: 32px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus styles */
*:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }

    .card {
        border-width: 2px;
    }
}