/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url('photos/shortintro-poster.png') center/cover no-repeat;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity 1.2s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: none;
}

.loading-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    animation: none;
}

.loading-title {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    text-align: center;
    opacity: 0;
    animation: fadeUpTitle 4s ease-out 2s forwards;
}

@media (max-width: 768px) {
    .loading-title {
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.skip-loading-button {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 10002;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .skip-loading-button {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

.skip-loading-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
}

.loading-title h1 {
    font-family: 'Urbanist', var(--font-sans);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 4px 40px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin: 0;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.4);
    }
}

@keyframes zoomInImage {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 1;
    }
}

@keyframes fadeUpTitle {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

:root {
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-accent: #000;
    --color-link: #000;
    --font-sans: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: 'Urbanist', Georgia, serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --max-width: 1200px;
    --line-height: 1.6;
    --speaker-name-size: 1.1rem;
    --speaker-read-more-size: 0.85rem;
    --speaker-toggle-size: 0.5rem;
    --speaker-bio-size: 0.7rem;
}

html {
    scroll-behavior: smooth;
}

/* Ensure register section has proper spacing for centering */
#register {
    scroll-margin-top: 0;
    scroll-margin-bottom: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: var(--line-height);
    font-size: 18px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--color-bg);
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
    padding: clamp(0.75rem, 2vw, 1.25rem) 0;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(0.5rem, 2vw, var(--spacing-md));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(0.5rem, 2vw, var(--spacing-sm));
}

.logo img {
    height: clamp(36px, 5vw, 60px);
    width: auto;
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: clamp(0.5rem, 1.5vw, var(--spacing-md));
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    color: var(--color-link);
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(10px, 1.2vw, 14px);
    letter-spacing: 0.05em;
    font-weight: 500;
    white-space: nowrap;
}

.nav a:hover {
    text-decoration: underline;
}

.nav-external {
    color: #666;
    opacity: 0.8;
}

.nav-external:hover {
    color: #999;
    opacity: 1;
    text-decoration: underline;
}

.external-arrow {
    display: inline-block;
    margin-left: 4px;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-external:hover .external-arrow {
    transform: translateX(2px);
}

.nav-rabbit {
    font-size: 18px;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.2s ease;
}

.nav-rabbit:hover {
    transform: scale(1.2);
    text-decoration: none;
}

.nav-speakers-full {
    display: none;
}

.nav-speakers-short {
    display: inline;
}

.nav a.nav-cta-button {
    display: inline-block;
    background: var(--color-accent);
    color: #ffffff !important;
    padding: var(--spacing-xs) var(--spacing-sm);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 14px;
    border: 2px solid var(--color-accent);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.nav a.nav-cta-button:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Sticky CTA Button */
.cta-sticky {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 1000;
}

.cta-button {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-bg);
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 14px;
    border: 2px solid var(--color-accent);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    margin-left: var(--spacing-md);
}

.cta-button:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 210px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    padding: var(--spacing-md) var(--spacing-md);
    text-align: center;
    color: var(--color-bg);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    width: 100%;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Urbanist', var(--font-sans);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.hero-tagline {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle a {
    color: var(--color-bg);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.hero-subtitle a:hover {
    opacity: 0.8;
}

/* Event Dates Banner */
.event-dates-banner {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: var(--spacing-md) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    margin-top: 0;
}

.event-dates-content {
    max-width: var(--max-width);
    text-align: center;
    flex: 1;
}

.event-dates-banner .cta-button {
    position: fixed;
    right: var(--spacing-md);
    bottom: var(--spacing-md);
    transform: none;
    margin-left: 0;
    background: var(--color-accent);
    color: var(--color-bg);
    z-index: 1000;
}

.event-dates-banner .cta-button:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.event-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    color: var(--color-bg);
}

.event-dates {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    opacity: 0.95;
}

/* Main Content */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem var(--spacing-md) 0;
    position: relative;
}

.section {
    margin-bottom: var(--spacing-xl);
    scroll-margin-top: 80px; /* Account for sticky header */
}

.section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 600;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0.02em;
}

.section h3 a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.section h3 a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.explore-link {
    display: inline-block;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
    transition: color 0.2s ease;
}

.explore-link:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.section p {
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    line-height: var(--line-height);
}

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

.feature-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.feature-list li {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
    font-size: 1.1rem;
    line-height: var(--line-height);
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.feature-list li strong {
    font-weight: 600;
}

.highlight-section {
    background: #f8f8f8;
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-accent);
    margin: var(--spacing-xl) 0;
}

/* CTA Section */
.cta-section {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: var(--spacing-lg);
    text-align: center;
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
}

.cta-content h2 {
    color: var(--color-bg);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
    line-height: 1.5;
}

.cta-content a {
    color: var(--color-bg);
    text-decoration: underline;
}

.cta-content a:hover {
    text-decoration: none;
}

.cta-final {
    margin-top: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Schedule Section */
.schedule-section {
    background: #f8f8f8;
    padding: var(--spacing-md);
    border-left: 4px solid var(--color-accent);
    position: relative;
    overflow-x: visible;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + var(--spacing-md));
    padding-right: calc(50vw - 50% + var(--spacing-md));
    box-sizing: border-box;
}

.schedule-intro {
    margin-bottom: var(--spacing-md);
}

.schedule-intro p {
    margin-bottom: var(--spacing-sm);
}

.schedule-photo {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 8px;
    object-fit: cover;
}

.schedule-weeks {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    width: 100%;
}

.schedule-week {
    background: var(--color-bg);
    padding: var(--spacing-sm);
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    min-height: auto;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    transform: none;
    contain: layout style;
    transition: none !important;
    animation: none !important;
}

.schedule-week > h3,
.schedule-week > .week-theme {
    display: inline;
}

.schedule-week > .week-theme {
    margin-left: 0.5em;
}

.schedule-week:hover {
    border-color: var(--color-accent);
}

@media (min-width: 769px) {
    /* Hover behavior handled by visibility/opacity/max-height rules above */
}

.schedule-week h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 120px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline;
}

.schedule-week h3::after {
    content: ": ";
    margin-right: 0.25em;
}

.schedule-week .week-theme {
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--color-accent);
    margin: 0;
    margin-left: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline;
}

.schedule-week .week-dates {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
    margin-top: 2px;
    font-weight: 400;
    letter-spacing: 0.02em;
    display: block;
}

.schedule-week .week-description {
    margin-top: var(--spacing-xs);
    position: relative;
}

.schedule-week .week-description-preview {
    display: inline;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.read-more-link {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 10;
}

.read-more-link:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.schedule-week .week-description-full {
    display: none;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid #e5e5e5;
}

.schedule-week:hover .week-description-full,
.schedule-week.expanded .week-description-full {
    display: block;
}

/* Ensure collapsed state works on mobile */
@media (max-width: 768px) {
    .schedule-week:not(.expanded) .week-description-full {
        display: none !important;
    }
}

.schedule-week.expanded .read-more-link::after {
    content: " (click to collapse)";
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--color-text-light);
}

@media (min-width: 769px) {
    .read-more-link {
        pointer-events: none;
    }
    
    .schedule-week.expanded .read-more-link::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .schedule-week.expanded .read-more-link {
        pointer-events: auto;
    }
    
    .schedule-week.expanded .read-more-link {
        font-size: 0.95rem;
    }
    
    .schedule-week.expanded .read-more-link::before {
        content: "";
        display: none;
    }
    
    /* Hide original text when expanded, show only collapse text */
    .schedule-week.expanded .read-more-link {
        color: transparent;
        font-size: 0;
    }
    
    .schedule-week.expanded .read-more-link::after {
        content: "click to collapse";
        display: inline;
        color: var(--color-accent);
        font-size: 0.95rem;
    }
}

.speakers-section {
    margin-bottom: var(--spacing-xl);
}

.speakers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: var(--spacing-sm);
    background: var(--color-bg);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    min-height: auto;
    width: fit-content;
    max-width: 200px;
    align-self: flex-start;
    overflow: visible;
}

.speaker-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    z-index: 1;
}

.speaker-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-bottom: -0.2rem;
    border: 3px solid #e5e5e5;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
    filter: grayscale(100%);
}

.speaker-card:hover .speaker-image {
    border-color: var(--color-accent);
}

.speaker-name {
    font-size: var(--speaker-name-size);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--color-accent);
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.25;
    width: auto;
    max-width: 160px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-break: normal;
    hyphens: none;
    overflow-wrap: normal;
}

.speaker-read-more-desktop {
    font-size: var(--speaker-read-more-size);
    color: var(--color-text-light);
    font-style: italic;
    display: block;
    width: auto;
    text-align: center;
}

.speaker-toggle-text {
    font-size: var(--speaker-toggle-size);
    color: var(--color-text-light);
    margin-top: var(--spacing-xs);
    font-style: italic;
    display: none;
    width: auto;
    text-align: center;
}

.speaker-bio {
    font-size: var(--speaker-bio-size);
    line-height: 1;
    color: var(--color-text);
    margin: 0;
    margin-top: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    text-align: left;
    max-width: 100%;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
    visibility: hidden;
    padding: 0;
    width: 100%;
}

.speaker-card:hover .speaker-bio,
.speaker-card.expanded .speaker-bio {
    opacity: 1;
    font-size: var(--speaker-bio-size);
    max-height: none;
    overflow: visible;
    visibility: visible;
    margin-top: var(--spacing-sm);
    padding: 0;
    display: block;
}

.community-partners-section {
    margin-bottom: var(--spacing-xl);
    background: #f8f8f8;
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-accent);
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    width: 100%;
    max-width: 100%;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    flex: 1 1 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 300px;
    min-width: 150px;
}

.partner-link:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.2s ease, opacity 0.2s ease;
    display: block;
}

.partner-link:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.explore-section {
    margin-bottom: var(--spacing-xl);
}

.explore-embed {
    width: 100%;
    max-width: 100%;
    margin-top: var(--spacing-md);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.explore-embed iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Register CTA */
.cta-details {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
    font-size: 1.1rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.cta-details span {
    white-space: nowrap;
}

.register-button {
    display: inline-block;
    background: var(--color-bg);
    color: var(--color-accent) !important;
    padding: var(--spacing-sm) var(--spacing-lg);
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
    border: 2px solid var(--color-bg);
    transition: all 0.2s ease;
    margin: var(--spacing-sm) 0;
}

.register-button:hover {
    background: transparent;
    color: var(--color-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 0.9rem !important;
    opacity: 0.8;
    margin-top: var(--spacing-sm) !important;
}

/* Newsletter Signup */
.newsletter-section {
    background: #f8f8f8;
    padding: var(--spacing-md) var(--spacing-md);
    text-align: center;
}

.newsletter-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.newsletter-heading {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    max-width: 460px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 1rem;
    border: 2px solid #e5e5e5;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-accent);
}

.newsletter-form button {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-accent);
    color: var(--color-bg);
    border: 2px solid var(--color-accent);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.newsletter-form button:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.8);
}

.newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-message {
    margin-top: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    text-align: center;
    font-size: 0.95rem;
    min-height: 1.2rem;
}

.newsletter-message.success {
    color: #2d5016;
}

.newsletter-message.error {
    color: #c53030;
}

/* Footer */
.footer {
    border-top: 1px solid #e5e5e5;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: 0;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    color: var(--color-text-light);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-column ul li a {
    color: var(--color-link);
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom a {
    color: var(--color-link);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
        --speaker-name-size: 1rem;
        --speaker-bio-size: 0.7rem;
    }

    .hero {
        min-height: 50vh;
    }

    .hero-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .event-dates-banner {
        padding: var(--spacing-md);
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .event-dates-banner .cta-button {
        position: static;
        transform: none;
        margin-top: var(--spacing-sm);
    }

    .event-title {
        font-size: 1.25rem;
    }

    .event-dates {
        font-size: 1rem;
    }

    .main-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .section {
        margin-bottom: var(--spacing-lg);
    }

    .highlight-section {
        padding: var(--spacing-md);
    }

    .cta-section {
        padding: var(--spacing-lg);
    }

    .schedule-section {
        padding: var(--spacing-md);
    }

    .schedule-weeks {
        gap: var(--spacing-sm);
    }

    .schedule-week {
        min-height: auto;
    }

    .speakers-container {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }

    .speaker-card {
        min-height: auto;
        padding: var(--spacing-xs);
        width: fit-content;
        margin: 0 auto;
    }

    .speaker-image {
        width: 90px;
        height: 90px;
    }

    .speaker-name {
        line-height: 1.15;
        min-height: 2.2em;
        justify-content: flex-start;
    }

    .speaker-read-more-desktop {
        display: none;
    }

    .speaker-toggle-text {
        display: block;
        line-height: 1.1;
    }

    .speaker-bio {
        line-height: .5;
    }

    .speaker-card.expanded .speaker-bio {
        max-height: none;
    }
    
    /* Ensure collapsed state works on mobile - matching schedule fix */
    .speaker-card:not(.expanded) .speaker-bio {
        opacity: 0 !important;
        max-height: 0 !important;
        visibility: hidden !important;
        margin-top: 0 !important;
        overflow: hidden !important;
    }

    .partners-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md);
        padding: var(--spacing-sm) 0;
    }

    .partner-link {
        padding: var(--spacing-xs) var(--spacing-sm);
        max-width: 200px;
        min-width: 120px;
        flex: 1 1 auto;
    }

    .partner-logo {
        max-width: 100%;
        max-height: 70px;
    }

    .cta-sticky {
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .cta-button {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 12px;
    }

    .cta-details {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 clamp(0.25rem, 1vw, 0.5rem);
        flex-wrap: nowrap;
        gap: clamp(0.25rem, 1vw, 0.5rem);
    }

    .logo img {
        height: clamp(28px, 6vw, 40px);
        flex-shrink: 1;
    }

    .nav {
        gap: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex: 1;
        min-width: 0;
        justify-content: space-between;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav-speakers-full {
        display: none;
    }

    .nav-speakers-short {
        display: inline;
    }

    .nav a[href="#explore"] {
        display: none;
    }

    .nav a.nav-get-involved {
        display: none;
    }

    .nav a {
        font-size: clamp(10px, 2.5vw, 14px);
        flex-shrink: 0;
        white-space: nowrap;
        padding: clamp(0.2rem, 1vw, 0.4rem) clamp(0.3rem, 1.2vw, 0.6rem);
    }

    .nav a:not(.nav-cta-button):not(.nav-rabbit) {
        min-width: fit-content;
        text-align: center;
    }

    .nav a.nav-rabbit {
        font-size: clamp(14px, 3vw, 18px);
        padding: 0 clamp(0.2rem, 0.8vw, 0.4rem);
    }

    .nav a.nav-cta-button {
        background: var(--color-accent);
        z-index: 10;
        font-size: clamp(10px, 2.5vw, 14px);
        padding: clamp(0.3rem, 1.2vw, 0.5rem) clamp(0.5rem, 2vw, 0.8rem);
        flex-shrink: 0;
    }
}

