/* ========================================
   Every Story Cinema Collective — Light Theme
   Brand Colors:
   - Forest Green: #2F5233
   - Copper/Rust: #B45A3C
   - Navy: #1E2D4A
   - Cream: #F5F0E8
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #2F5233;
    --green-light: #3D6B42;
    --copper: #B45A3C;
    --copper-light: #C97A5F;
    --copper-bg: #FAF0EB;
    --navy: #1E2D4A;
    --cream: #F5F0E8;
    --cream-dark: #EBE4D8;
    --white: #FFFFFF;
    --text: #2C2C2C;
    --text-light: #5A5A5A;
    --text-muted: #8A8A8A;
    --border: rgba(0,0,0,0.08);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- Container --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav.scrolled .nav-logo-img {
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--green);
    transition: color 0.2s ease;
}

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

.nav-cta {
    background: var(--copper);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--copper-light);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--cream);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(47, 82, 51, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(180, 90, 60, 0.06) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
    max-width: 800px;
}

.hero-logo {
    width: 300px;
    margin: 0 auto 44px;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--green);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 48px;
    font-weight: 400;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--copper-light), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

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

.btn-primary:hover {
    background: var(--copper-light);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-white {
    background: var(--white);
}

.section-cream {
    background: var(--cream);
}

.section-green {
    background: var(--green);
    color: var(--white);
}

.section-header {
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--green);
    line-height: 1.2;
}

.section-header-light .section-title {
    color: var(--white);
}

.section-header-light .section-label {
    color: var(--copper-light);
}

/* --- Content Grid --- */
.content-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}

.content-grid-wide {
    grid-template-columns: 1.6fr 1fr;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
}

.content-main p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.content-main .lead {
    color: var(--text);
}

/* --- Pull Quote --- */
.pull-quote {
    border-left: 3px solid var(--copper);
    padding: 24px 0 24px 28px;
    margin-top: 8px;
}

.pull-quote p {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    color: var(--green);
    line-height: 1.5;
}

/* --- Band --- */
.band {
    padding: 64px 0;
    background: var(--green);
    text-align: center;
}

.band-copper {
    background: var(--copper);
}

.band-text {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Purpose Pillars --- */
.purpose-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--border);
}

.pillar {
    text-align: center;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    color: var(--copper);
    margin: 0 auto 20px;
}

.pillar h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 12px;
}

.pillar p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Goals (Stacked Editorial) --- */
.goals-stacked {
    display: flex;
    flex-direction: column;
}

.goal-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 48px 0;
    border-top: 1px solid var(--border);
    align-items: start;
}

.goal-row:last-child {
    padding-bottom: 0;
}

.goal-label {
    position: sticky;
    top: 100px;
}

.goal-number {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--copper);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.goal-label h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1.3;
}

.goal-body p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.goal-detail {
    font-style: italic;
    color: var(--text-muted);
}

.access-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.access-point {
    padding-left: 20px;
    border-left: 2px solid var(--copper);
}

.access-point strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 4px;
}

.access-point span {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Commitment Card --- */
.commitment-card {
    background: var(--green);
    border-radius: 12px;
    padding: 36px;
    color: var(--white);
}

.commitment-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.commitment-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.commitment-card li {
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
    opacity: 0.9;
}

.commitment-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background: var(--copper-light);
}

/* --- Commitment Text --- */
.commitment-text {
    max-width: 720px;
}

.commitment-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.commitment-text .lead {
    color: var(--text);
}

.closing-statement {
    font-family: var(--font-display);
    font-size: 1.35rem !important;
    font-weight: 700;
    font-style: italic;
    color: var(--green) !important;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--copper);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-method {
    margin-bottom: 32px;
}

.contact-method h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--copper);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-link {
    font-size: 1.15rem;
    color: var(--green);
    border-bottom: 1px solid var(--cream-dark);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.contact-link:hover {
    border-color: var(--copper);
}

.contact-note {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* --- Contact Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    color: var(--text);
    transition: border-color 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--copper);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Footer --- */
.footer {
    background: var(--green);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.footer-logo {
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--copper-light);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    width: 100%;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.footer-email a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s ease;
}

.footer-email a:hover {
    color: var(--copper-light);
}

/* --- Active Nav Link --- */
.nav-links a.active {
    color: var(--copper);
}

/* --- Homepage --- */
.page-home {
    background: var(--cream);
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.home-content {
    max-width: 640px;
}

.home-logo {
    width: 240px;
    margin: 0 auto 48px;
}

.home-tagline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    font-style: italic;
    color: var(--green);
    margin-bottom: 20px;
    line-height: 1.2;
}

.home-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 56px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.home-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.home-nav-link {
    display: block;
    width: 280px;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--green);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease, padding-left 0.2s ease;
    letter-spacing: 0.01em;
}

.home-nav-link:first-child {
    border-top: 1px solid var(--border);
}

.home-nav-link:hover {
    color: var(--copper);
    padding-left: 8px;
}

.home-nav-cta {
    margin-top: 32px;
    border: none;
    background: var(--copper);
    color: var(--white);
    padding: 16px 0;
    border-radius: 6px;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: background 0.2s ease;
}

.home-nav-cta:hover {
    background: var(--copper-light);
    color: var(--white);
    padding-left: 0;
}

/* --- Page Header (inner pages) --- */
.page-header {
    padding: 120px 0 48px;
    background: var(--cream);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--green);
    line-height: 1.2;
}

/* --- Events Page --- */
.events-intro {
    max-width: 720px;
    margin-bottom: 64px;
}

.events-coming-soon {
    text-align: center;
    padding: 64px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 64px;
}

.coming-soon-icon {
    width: 64px;
    height: 64px;
    color: var(--copper);
    margin: 0 auto 24px;
}

.events-coming-soon h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 16px;
}

.events-coming-soon p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 12px;
}

.inline-link {
    color: var(--copper);
    border-bottom: 1px solid var(--copper-light);
    transition: border-color 0.2s ease;
}

.inline-link:hover {
    border-color: var(--copper);
}

.events-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.event-detail-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 10px;
}

.event-detail-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .content-grid,
    .content-grid-wide {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .goal-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .goal-label {
        position: static;
    }

    .purpose-pillars {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .events-details {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 72px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(245, 240, 232, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.25rem;
        color: var(--green);
    }

    .nav-cta {
        margin-top: 16px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .band {
        padding: 48px 0;
    }

    .goal-row {
        padding: 32px 0;
    }
}
