/* 
 * DearCo Foundation - Master Stylesheet
 * Aesthetic: Warm, Artsy, Community-Centered
 * Inspired by: Vintage zine culture, intimate venues, NYC creative community
 * Brand Palette: Warm Charcoal (#2C3338), Golden Honey (#D4A843), Aged Parchment (#F5F0E8)
 */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
    /* Brand Colors — warm, analog, lived-in */
    --color-primary: #1C2226;
    --color-accent: #E5B84F;
    --color-accent-soft: rgba(229, 184, 79, 0.15);
    --color-warm: #D97C42;
    --color-text-dark: #1C2226;
    --color-text-body: #42494E;
    --color-text-muted: #7E868B;
    --color-text-light: #F9F6F0;
    
    /* Backgrounds — textured, warm, analog feel */
    --bg-light: #F9F6F0;
    --bg-warm: #EFEBE1;
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-hero: #1C2226;
    --gradient-hero: linear-gradient(160deg, #161A1D 0%, #2A3136 50%, #161A1D 100%);
    
    /* Borders & Shadows */
    --border-soft: rgba(28, 34, 38, 0.08);
    --border-warm: rgba(229, 184, 79, 0.3);
    --shadow-card: 0 8px 32px rgba(28, 34, 38, 0.06);
    --shadow-hover: 0 16px 48px rgba(28, 34, 38, 0.12);
    
    /* Typography */
    --font-script: 'Pacifico', cursive;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
    
    /* Spacing & Motion */
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 6px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--color-text-body);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 500;
    font-size: 1.15rem; /* Slightly larger for Cormorant Garamond readability */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-primary);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

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

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

.text-center {
    text-align: center;
}

/* Marquee Scrolling Ticker */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 12px 0;
    font-family: var(--font-script);
    font-size: 1.5rem;
    position: relative;
    z-index: 10;
}
.marquee-content {
    display: inline-block;
    animation: marquee 35s linear infinite;
}
.marquee-content span {
    margin-right: 60px;
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

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

.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(249, 246, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

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

/* Logo — Handwritten script like the brand */
.logo {
    font-family: var(--font-script);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.navbar:not(.scrolled) .logo {
    color: var(--color-accent);
}

.nav-links {
    display: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-dark);
    position: relative;
    padding-bottom: 3px;
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(245, 240, 232, 0.85);
}
.nav-links a.btn-primary {
    color: var(--bg-light); /* Default button text color for scrolled state */
}
.nav-links a.btn-primary:hover {
    color: var(--color-primary);
}

.navbar:not(.scrolled) .nav-links a.btn-primary {
    color: var(--color-primary); /* Fix poor contrast on gold button */
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -2px; left: 0;
    background: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--bg-light);
    box-shadow: 0 4px 15px rgba(28, 34, 38, 0.15);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent), #F2CA6B);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(229, 184, 79, 0.4);
    border-color: rgba(255,255,255,0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-primary);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Button overrides for dark backgrounds (Navbar & Hero) */
.navbar:not(.scrolled) .btn-primary,
.hero .btn-primary,
.page-header .btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #F2CA6B);
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.navbar:not(.scrolled) .btn-primary:hover,
.hero .btn-primary:hover,
.page-header .btn-primary:hover {
    background: var(--color-text-light);
    color: var(--color-primary);
}

.navbar:not(.scrolled) .btn-glass,
.hero .btn-glass,
.page-header .btn-glass {
    border-color: rgba(249, 246, 240, 0.4);
    color: var(--color-text-light);
}
.navbar:not(.scrolled) .btn-glass:hover,
.hero .btn-glass:hover,
.page-header .btn-glass:hover {
    background: var(--color-text-light);
    color: var(--color-primary);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: var(--gradient-hero);
    color: var(--color-text-light);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    z-index: 3;
    pointer-events: none;
}

/* Analog Film Grain Effect */
.noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 122, 74, 0.04) 0%, transparent 50%);
    z-index: 1;
}

/* Hero split layout */
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-bottom: 24px;
    letter-spacing: 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 28px;
    color: var(--color-text-light);
    line-height: 1.08;
}

.hero p {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.7);
    margin-bottom: 45px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Artsy hero image with scrapbook blue outline */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    /* Scrapbook cutout effect: thick solid blue outline + soft drop shadow */
    filter: 
        drop-shadow( 5px  5px 0px #3A8FD6) 
        drop-shadow(-5px -5px 0px #3A8FD6) 
        drop-shadow( 5px -5px 0px #3A8FD6) 
        drop-shadow(-5px  5px 0px #3A8FD6)
        drop-shadow( 0px  8px 0px #3A8FD6)
        drop-shadow( 0px -8px 0px #3A8FD6)
        drop-shadow( 8px  0px 0px #3A8FD6)
        drop-shadow(-8px  0px 0px #3A8FD6)
        drop-shadow( 0 16px 32px rgba(44, 51, 56, 0.25));
}

/* Scrapbook Art Elements */
.scribble-underline {
    position: relative;
    display: inline-block;
}

.scribble-underline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2,15 Q30,2 70,12 T130,5 T198,16' fill='none' stroke='%23D4A843' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

.scrapbook-tape {
    position: absolute;
    width: 120px;
    height: 35px;
    background-color: rgba(235, 235, 225, 0.6);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), inset 0 0 4px rgba(255,255,255,0.4);
    backdrop-filter: blur(2px);
    z-index: 5;
    clip-path: polygon(2% 5%, 98% 2%, 97% 95%, 3% 98%);
}
.scrapbook-tape.tape-1 {
    top: -15px;
    left: 10%;
    transform: rotate(-4deg);
}
.scrapbook-tape.tape-2 {
    bottom: -10px;
    right: 15%;
    transform: rotate(6deg);
}
.scrapbook-tape.tape-3 {
    top: 40%;
    left: -40px;
    width: 90px;
    transform: rotate(-80deg);
}
/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content { text-align: center; max-width: 100%; }
    .hero-ctas { justify-content: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero-image-wrapper { max-width: 350px; margin: 0 auto; }
}

/* ========================================
   PAGE HEADERS (Inner Pages)
   ======================================== */

.page-header {
    padding: 200px 0 100px;
    background: var(--gradient-hero);
    text-align: center;
    color: var(--color-text-light);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.8rem;
    font-weight: 400;
    margin-bottom: 18px;
    color: var(--color-text-light);
}

.page-header p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: rgba(245, 240, 232, 0.65);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SECTIONS & LAYOUT
   ======================================== */

.content-section {
    padding: 100px 0;
}

.section-programs {
    padding: 100px 0;
    background: var(--bg-warm);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    max-width: 550px;
    margin: 0 auto;
}

/* Decorative line after section headers */
.section-header::after {
    content: '~';
    display: block;
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-accent);
    margin-top: 20px;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

/* ========================================
   CARDS — Warm, tactile, artsy
   ======================================== */

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: 45px;
    transition: var(--transition-smooth);
    color: var(--color-text-dark);
    position: relative;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.9);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 24px;
    display: block;
}

/* Creative Polaroid/Handmade Image Frame */
.polaroid {
    background: #fff;
    padding: 12px 12px 40px 12px;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05), inset 0 0 0 1px rgba(0,0,0,0.02);
    transform: rotate(3deg);
    transition: var(--transition-smooth);
    position: relative;
    max-width: 100%;
}
.polaroid:hover {
    transform: rotate(0deg) scale(1.03) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.1);
    z-index: 10;
}
.polaroid img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1px;
}
.polaroid-caption {
    font-family: var(--font-script);
    color: var(--color-text-dark);
    font-size: 1.4rem;
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    left: 0;
    opacity: 0.8;
}

/* Scribble/Accent Graphics */
.scribble-underline {
    position: relative;
    display: inline-block;
}
.scribble-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5%;
    width: 110%;
    height: 12px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"%3E%3Cpath d="M0,5 Q50,0 100,5 T200,5" stroke="%23D4A843" stroke-width="2" fill="none" vector-effect="non-scaling-stroke" stroke-linecap="round"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1;
    opacity: 0.8;
}

.glass-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.glass-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   FORMS — Clean, warm
   ======================================== */

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(28, 34, 38, 0.15);
    color: var(--color-text-dark);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-soft), inset 0 2px 4px rgba(0,0,0,0.02);
    background: #fff;
    transform: translateY(-1px);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

hr {
    border: 0;
    height: 1px;
    background: var(--border-soft);
    margin: 50px 0;
}

/* Script accent text */
.script-accent {
    font-family: var(--font-script);
    color: var(--color-accent);
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   STATUS BADGES
   ======================================== */

.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}
.badge-success {
    background: rgba(45, 106, 79, 0.1);
    color: #2d6a4f;
}
.badge-warning {
    background: var(--color-accent-soft);
    color: #A68444;
}

/* ========================================
   DATA TABLES (Admin)
   ======================================== */

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--border-soft);
    font-weight: 500;
}
.data-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--color-text-dark);
}
.data-table tbody tr:hover {
    background: var(--color-accent-soft);
}

/* Admin Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

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

/* Old mobile rules removed — see comprehensive responsive block below */


@media (min-width: 768px) {
    .nav-links { display: flex; }
    .programs-grid { grid-template-columns: repeat(3, 1fr); }
    .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   THEORY OF CHANGE
   ======================================== */
.toc-flow {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.toc-card {
    position: relative;
    padding: 35px 40px 35px 45px !important;
}
.toc-card p {
    font-size: 1.05rem;
    color: var(--color-text-body);
    margin: 0;
}
.toc-label {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}
.toc-arrow {
    text-align: center;
    font-size: 1.4rem;
    color: var(--color-accent);
    padding: 10px 0;
}

/* ========================================
   VALUES GRID
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-smooth);
    text-align: center;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-warm);
}
.value-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.2rem;
    color: var(--color-accent);
}
.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}
.value-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================
   STRATEGIC PILLARS
   ======================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pillar-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition-smooth);
}
.pillar-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
    border-color: var(--color-accent);
}
.pillar-num {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}
.pillar-card h4 {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
    line-height: 1.3;
}
.pillar-card p {
    font-size: 0.9rem;
    color: rgba(245,240,232,0.55);
    line-height: 1.6;
}

/* ========================================
   ARTIST JOURNEY TIMELINE
   ======================================== */
.journey-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}
.journey-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-warm));
}
.journey-step {
    position: relative;
    margin-bottom: 35px;
}
.journey-step:last-child { margin-bottom: 0; }
.journey-dot {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--color-accent);
    z-index: 2;
}
.journey-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.journey-content h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}
.journey-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================
   BRAND PROMISE
   ======================================== */
.brand-promise-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}
.brand-promise-section::before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 10%;
    font-family: var(--font-display);
    font-size: 15rem;
    color: var(--color-accent);
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
}

/* ========================================
   NARRATIVE GRID
   ======================================== */
.narrative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.narrative-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 35px;
    text-align: center;
    transition: var(--transition-smooth);
}
.narrative-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-warm);
}
.narrative-card i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 18px;
    display: block;
}
.narrative-card h4 {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}
.narrative-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--color-warm);
    line-height: 1.5;
}

/* ========================================
   IMAGE BREAKER — Full-width visual pauses
   ======================================== */
.image-breaker {
    width: 100%;
    overflow: hidden;
    position: relative;
    line-height: 0;
}
.image-breaker img {
    width: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
    transition: filter 0.6s ease;
}
.image-breaker:hover img {
    filter: saturate(1) contrast(1);
}
/* Optional subtle gradient overlay at top/bottom */
.image-breaker::before,
.image-breaker::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 60px;
    z-index: 2;
    pointer-events: none;
}
.image-breaker::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-light), transparent);
}
.image-breaker::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ======================================== */

/* Tablet */
@media (max-width: 991px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .narrative-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3.2rem; }
    .section-header h2 { font-size: 2.2rem; }
}

/* Mobile */
@media (max-width: 767px) {
    /* Typography scaling */
    body { font-size: 1rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    /* Container tighter padding */
    .container { padding: 0 18px; }

    /* Sections reduce padding */
    .content-section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.8rem; }

    /* Hero mobile */
    .hero { min-height: auto; padding: 140px 0 60px; }
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-content { text-align: center; max-width: 100%; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1rem; margin: 0 auto 30px; }
    .hero-ctas { justify-content: center; flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 280px; }
    .hero-label { font-size: 1.1rem; }
    .hero-image-wrapper { max-width: 280px; margin: 0 auto; }
    .hero-image-wrapper img {
        filter: drop-shadow(3px 3px 0px #3A8FD6) drop-shadow(-3px -3px 0px #3A8FD6)
                drop-shadow(3px -3px 0px #3A8FD6) drop-shadow(-3px 3px 0px #3A8FD6)
                drop-shadow(0 10px 20px rgba(44,51,56,0.25));
    }
    /* Hide floating accents and scrapbook tapes on mobile */
    .hero > svg, .hero > div[style*="position: absolute"][style*="Thrive"] { display: none !important; }
    .scrapbook-tape { display: none !important; }
    .hero .btn-glass { background: transparent; border-color: rgba(245,240,232,0.4); color: var(--color-text-light); }

    /* Page headers */
    .page-header { padding: 130px 0 60px; }
    .page-header h1 { font-size: 2rem; }
    .page-header p { font-size: 1rem; }

    /* Grids stack */
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 30px; }
    .programs-grid { grid-template-columns: 1fr; }

    /* Cards */
    .glass-card { padding: 25px; }

    /* Marquee */
    .marquee-container { font-size: 1.1rem; padding: 10px 0; }

    /* Polaroids on mobile - simplify */
    .polaroid { max-width: 100%; transform: rotate(0deg) !important; }

    /* Core philosophy - hide absolute-positioned polaroids */
    #about .polaroid[style*="position: absolute"] { display: none; }

    /* Theory of Change */
    .toc-card { padding: 25px 25px 25px 30px !important; }
    .toc-card p { font-size: 0.95rem; }

    /* Image breakers on mobile */
    .image-breaker img { height: 200px !important; }

    /* Journey companion image - unstick on mobile */
    #journey [style*="position:sticky"] { position: relative !important; top: auto !important; }

    /* Values grid */
    .values-grid { grid-template-columns: 1fr; gap: 16px; }
    .value-card { padding: 24px; display: flex; align-items: center; text-align: left; gap: 16px; }
    .value-icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
    .value-card h4 { font-size: 1rem; margin-bottom: 4px; }
    .value-card p { font-size: 0.88rem; }

    /* Strategic pillars */
    .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
    .pillar-card { padding: 25px; }
    .pillar-num { font-size: 1.8rem; margin-bottom: 8px; display: block; width: 100%; }
    .pillar-card h4 { margin-top: 4px; }

    /* Journey */
    .journey-timeline { padding-left: 35px; }
    .journey-dot { left: -29px; width: 14px; height: 14px; }
    .journey-content h4 { font-size: 1.05rem; }

    /* Brand promise */
    .brand-promise-section { padding: 60px 0; }
    .brand-promise-section h2 { font-size: 1.7rem !important; }
    .brand-promise-section::before { font-size: 8rem; top: 10px; left: 5%; }

    /* Narrative */
    .narrative-grid { grid-template-columns: 1fr; gap: 16px; }
    .narrative-card { padding: 25px; display: flex; flex-direction: column; }
    .narrative-card i { font-size: 1.5rem; margin-bottom: 12px; }

    /* Impact stats */
    .grid-3.text-center h3 { font-size: 2.2rem; }

    /* Newsletter form */
    .newsletter-form { flex-direction: column !important; align-items: center; }
    .newsletter-form input[type="email"] { max-width: 100% !important; width: 100% !important; }
    .newsletter-form .btn { width: 100%; }

    /* Footer */
    footer .container > div[style*="display: flex"][style*="gap: 40px"] {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center;
    }

    /* About page floating polaroids */
    .content-section > .polaroid[style*="position: absolute"] { display: none; }

    /* Forms */
    form div[style*="display: flex"][style*="gap: 20px"] {
        flex-direction: column !important;
    }

    /* Buttons full-width on mobile */
    .btn { width: 100%; max-width: 320px; text-align: center; }

    /* Mobile nav */
    .menu-toggle {
        display: block !important;
        background: transparent;
        color: var(--color-primary);
        font-size: 1.8rem;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 101;
    }
    .navbar:not(.scrolled) .menu-toggle { color: var(--color-text-light); }
    .navbar.scrolled .menu-toggle { color: var(--color-primary); }
    .nav-links {
        display: none !important;
    }
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--bg-light);
        padding: 90px 30px 30px;
        gap: 8px;
        z-index: 99;
        overflow-y: auto;
        animation: slideDown 0.3s ease;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-links.active a {
        color: var(--color-primary) !important;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-soft);
    }
    .nav-links.active a.btn-primary {
        margin-top: 10px;
        border-bottom: none;
        text-align: center;
    }
    .nav-links.active a[title="Admin Login"] {
        margin-left: 0 !important;
        justify-content: center;
        border-bottom: none;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .hero h1 { font-size: 1.8rem; }
    h2, .section-header h2 { font-size: 1.45rem !important; }
    .grid-3.text-center h3 { font-size: 1.6rem; }
    .container { padding: 0 14px; }
    .pillar-num { font-size: 1.5rem; }
    .value-card { flex-direction: column; text-align: center; }
    .value-icon { margin: 0 auto; }
    .image-breaker img { height: 140px !important; }
}

/* Desktop large values grid */
@media (min-width: 992px) {
    .values-grid { grid-template-columns: repeat(5, 1fr); }
}
