/* ============================================
   THE STILL FLAME SANCTUARY
   A sanctuary of quiet strength
   ============================================ */

/* --- CSS Variables --- */
:root {
    --purple-deep: #4A2361;
    --purple-mid: #6B3FA0;
    --purple-light: #9B6FCC;
    --purple-faint: #E8D8F5;
    --gold: #C9944A;
    --gold-light: #D4A574;
    --gold-warm: #E8C19A;
    --gold-faint: #F5E6D0;
    --rose: #D4738C;
    --rose-light: #E8A0BF;
    --cream: #FFF8F0;
    --cream-dark: #F5F0EB;
    --neutral: #E8DDD3;
    --text: #2D2028;
    --text-light: #5C4F56;
    --text-muted: #8A7E84;
    --white: #FFFFFF;
    --red-emergency: #DC2626;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(45, 32, 40, 0.08);
    --shadow-md: 0 4px 12px rgba(45, 32, 40, 0.1);
    --shadow-lg: 0 8px 30px rgba(45, 32, 40, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--purple-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-deep); }

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

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Quick Exit Button --- */
.quick-exit {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 9999;
    background: var(--red-emergency);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.35);
    transition: all var(--transition);
    text-transform: uppercase;
}
.quick-exit:hover {
    background: #b91c1c;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.45);
}
.quick-exit:focus {
    outline: 3px solid #fca5a5;
    outline-offset: 2px;
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 35, 97, 0.08);
    transition: all var(--transition);
}
.main-nav.scrolled {
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--purple-deep);
}
.flame-icon { font-size: 24px; }
.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--purple-deep);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}
.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: all var(--transition);
}
.nav-link:hover {
    color: var(--purple-deep);
    background: var(--purple-faint);
}
.nav-link.active {
    color: var(--purple-deep);
    background: var(--purple-faint);
    font-weight: 600;
}
.nav-link-cta {
    background: var(--purple-deep) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}
.nav-link-cta:hover {
    background: var(--purple-mid) !important;
    color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    gap: 8px;
}
.btn-primary {
    background: var(--purple-deep);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(74, 35, 97, 0.25);
}
.btn-primary:hover {
    background: var(--purple-mid);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(74, 35, 97, 0.35);
}
.btn-secondary {
    background: transparent;
    color: var(--purple-deep);
    border: 2px solid var(--purple-deep);
}
.btn-secondary:hover {
    background: var(--purple-faint);
    color: var(--purple-deep);
}

/* --- Pages (SPA routing) --- */
.page { display: none; min-height: 100vh; }
.page-active { display: block; }

/* --- Hero (Homepage) --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--purple-deep) 0%, #3A1B50 40%, #2D1540 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}
.hero-flame-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.15;
}
.flame {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}
.flame-1 {
    width: 400px; height: 400px;
    background: var(--gold);
    top: 20%; left: 30%;
}
.flame-2 {
    width: 300px; height: 300px;
    background: var(--rose);
    top: 40%; right: 20%;
    animation-delay: -3s;
}
.flame-3 {
    width: 250px; height: 250px;
    background: var(--gold-warm);
    bottom: 10%; left: 50%;
    animation-delay: -5s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold-warm);
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
}
.hero-title-accent {
    color: var(--gold);
    font-style: italic;
}
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--rose-light);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 20px;
}
.hero-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero .btn-primary {
    background: var(--gold);
    color: var(--purple-deep);
    box-shadow: 0 2px 12px rgba(201, 148, 74, 0.3);
}
.hero .btn-primary:hover {
    background: var(--gold-light);
    color: var(--purple-deep);
}
.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}
.hero-crisis-line {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-crisis-line p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 4px;
}
.crisis-number {
    color: var(--gold-warm) !important;
    font-weight: 600;
}

/* --- Mission Preview (Homepage) --- */
.mission-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 80px 0;
}
.mission-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(74, 35, 97, 0.05);
}
.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.mission-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.mission-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--purple-deep);
    margin-bottom: 12px;
}
.mission-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Quote Section --- */
.quote-section {
    background: var(--cream-dark);
    padding: 60px 0;
}
.sanctuary-quote {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}
.sanctuary-quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--purple-deep);
    font-style: italic;
    line-height: 1.5;
}

/* --- Page Heroes (inner pages) --- */
.page-hero {
    padding: 120px 24px 60px;
    text-align: center;
    background: linear-gradient(160deg, var(--purple-deep) 0%, #3A1B50 100%);
}
.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    font-weight: 600;
    margin-bottom: 12px;
}
.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    max-width: 550px;
    margin: 0 auto;
}

/* Different page hero accents */
.page-hero-about { background: linear-gradient(160deg, var(--purple-deep) 0%, #3A1B50 60%, #5C2D7A 100%); }
.page-hero-resources { background: linear-gradient(160deg, #2D1540 0%, var(--purple-deep) 60%, #6B3FA0 100%); }
.page-hero-packs { background: linear-gradient(160deg, var(--purple-deep) 0%, #4A2B6B 60%, #8B5E3C 100%); }
.page-hero-affirmations { background: linear-gradient(160deg, #3A1B50 0%, var(--purple-deep) 50%, #7B4FA0 100%); }
.page-hero-contact { background: linear-gradient(160deg, #2D1540 0%, #4A2361 60%, #C9944A 100%); }

/* --- Section Title --- */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--purple-deep);
    margin-bottom: 16px;
    font-weight: 600;
}

/* ============ ABOUT PAGE ============ */
.about-content {
    padding: 60px 0 80px;
}
.about-block {
    margin-bottom: 48px;
}
.about-block p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-block strong { color: var(--text); }
.about-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.about-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    border-bottom: 1px solid rgba(74, 35, 97, 0.06);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}
.vision-list li::before {
    background: var(--purple-mid);
}

/* ============ RESOURCES PAGE ============ */
.emergency-banner {
    background: linear-gradient(135deg, var(--red-emergency), #b91c1c);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 32px 0;
    font-size: 15px;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.2);
}
.emergency-banner a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 80px;
}

.resource-category {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 35, 97, 0.06);
}
.resource-category-local {
    border: 2px solid var(--gold);
}
.resource-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    color: var(--white);
}
.resource-category-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
}
.rc-icon { font-size: 24px; }
.rc-dv { background: var(--purple-deep); }
.rc-trafficking { background: #2D4A6B; }
.rc-sa { background: #6B3FA0; }
.rc-child { background: #4A6B3F; }
.rc-coercive { background: #5C4F56; }
.rc-local { background: linear-gradient(135deg, var(--gold), #A67C3D); }

.resource-list { padding: 8px 28px 20px; }
.resource-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(74, 35, 97, 0.06);
}
.resource-item:last-child { border-bottom: none; }
.resource-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.resource-item p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}
.resource-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.resource-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}
.resource-phone {
    background: var(--purple-faint);
    color: var(--purple-deep) !important;
}
.resource-phone:hover { background: #d9c2ef; }
.resource-text {
    background: #E8F5E9;
    color: #2E7D32 !important;
}
.resource-text:hover { background: #C8E6C9; }
.resource-web {
    background: var(--gold-faint);
    color: #8B6914 !important;
}
.resource-web:hover { background: var(--gold-warm); }

/* ============ WARRIOR PACKS PAGE ============ */
.packs-intro {
    text-align: center;
    max-width: 650px;
    margin: 48px auto 48px;
}
.packs-intro p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.pack-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 35, 97, 0.06);
    transition: all var(--transition);
}
.pack-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.pack-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.pack-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--purple-deep);
    margin-bottom: 10px;
}
.pack-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.7;
}
.pack-items {
    list-style: none;
    padding: 0;
}
.pack-items li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: var(--text-light);
    font-size: 14px;
}
.pack-items li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 10px;
    top: 9px;
}

.packs-cta-section {
    padding-bottom: 80px;
}
.packs-cta-card {
    background: linear-gradient(135deg, var(--purple-deep), #5C2D7A);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
}
.packs-cta-card h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 16px;
}
.packs-cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 12px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.packs-cta-card .btn-primary {
    background: var(--gold);
    color: var(--purple-deep);
    margin-top: 16px;
}
.packs-cta-card .btn-primary:hover {
    background: var(--gold-light);
    color: var(--purple-deep);
}

/* ============ AFFIRMATION PAGE ============ */
.affirmation-section, .breathing-section, .grounding-section, .meditation-section {
    padding: 48px 0;
}
.affirmation-intro, .breathing-intro, .grounding-intro {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 550px;
}

/* Affirmation Cards */
.affirmation-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}
.affirmation-card {
    width: 320px;
    height: 200px;
    perspective: 800px;
    cursor: pointer;
    user-select: none;
}
.affirmation-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}
.affirmation-card.flipped .affirmation-card-inner {
    transform: rotateY(180deg);
}
.affirmation-card-front, .affirmation-card-back {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.affirmation-card-front {
    background: linear-gradient(135deg, var(--purple-deep), #5C2D7A);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.affirmation-flame { font-size: 48px; margin-bottom: 12px; }
.affirmation-tap { font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.affirmation-card-back {
    background: linear-gradient(135deg, var(--gold-faint), var(--cream));
    border: 2px solid var(--gold);
    transform: rotateY(180deg);
    box-shadow: var(--shadow-md);
}
.affirmation-text {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--purple-deep);
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}

/* Breathing Exercise */
.breathing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 20px 0;
}
.breathing-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-faint), var(--cream-dark));
    border: 3px solid var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 4s ease-in-out;
}
.breathing-circle.inhale {
    transform: scale(1.3);
    border-color: var(--purple-mid);
    background: linear-gradient(135deg, var(--purple-faint), #E0D0F0);
}
.breathing-circle.hold {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--gold-faint), var(--cream-dark));
}
.breathing-circle.exhale {
    transform: scale(1);
    border-color: var(--rose);
    background: linear-gradient(135deg, #FBEDF3, var(--cream-dark));
}
.breathing-inner {
    text-align: center;
}
.breathing-instruction {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--purple-deep);
    font-weight: 600;
}
.breathing-timer {
    font-size: 36px;
    color: var(--purple-mid);
    font-weight: 300;
    margin-top: 4px;
}
.breathing-controls {
    display: flex;
    gap: 12px;
}

/* Grounding Exercise */
.grounding-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.grounding-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 35, 97, 0.06);
}
.grounding-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}
.grounding-content h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    color: var(--purple-deep);
    margin-bottom: 6px;
}
.grounding-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Meditation Prompts */
.meditation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.meditation-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 35, 97, 0.06);
}
.meditation-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--purple-deep);
    margin-bottom: 12px;
}
.meditation-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* ============ CONTACT PAGE ============ */
.crisis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 0;
}
.crisis-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 35, 97, 0.06);
}
.crisis-card h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 600;
}
.crisis-big-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--purple-deep) !important;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-decoration: none;
}
.crisis-big-number:hover { color: var(--purple-mid) !important; }
.crisis-text-option { font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important; cursor: default; }
.crisis-card p {
    color: var(--text-muted);
    font-size: 13px;
}
.crisis-alt {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 500;
}
.crisis-card-emergency {
    background: linear-gradient(135deg, var(--red-emergency), #b91c1c);
    color: var(--white);
}
.crisis-card-emergency h2 { color: var(--white); }
.crisis-card-emergency .crisis-big-number { color: var(--white) !important; font-size: clamp(2rem, 5vw, 3.5rem); }
.crisis-card-emergency p { color: rgba(255, 255, 255, 0.8); }

/* Safety Section */
.safety-section {
    padding: 40px 0;
}
.safety-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 16px;
}
.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.safety-card {
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(74, 35, 97, 0.06);
}
.safety-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}
.safety-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Contact Reach Section */
.contact-reach-section {
    padding: 40px 0;
}
.contact-reach-section > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
}
.contact-info-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 8px;
}
.contact-info-card p:last-child { margin-bottom: 0; }

/* Disclaimer */
.disclaimer {
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 40px 0 60px;
    border: 1px solid rgba(74, 35, 97, 0.06);
}
.disclaimer p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--purple-deep);
    color: var(--white);
    padding: 48px 0 24px;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .flame-icon { font-size: 32px; margin-bottom: 8px; }
.footer-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
}
.footer-tagline {
    color: var(--gold);
    font-size: 14px;
    font-style: italic;
    margin-top: 2px;
}
.footer-location {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 8px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-crisis p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 6px;
}
.footer-crisis a {
    color: var(--gold-warm);
    font-weight: 600;
}
.footer-bottom {
    padding-top: 20px;
    text-align: center;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}
.footer-heart {
    margin-top: 4px;
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 900px) {
    .mission-preview { grid-template-columns: 1fr; }
    .packs-grid { grid-template-columns: 1fr; }
    .meditation-grid { grid-template-columns: 1fr; }
    .crisis-grid { grid-template-columns: repeat(2, 1fr); }
    .safety-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-links { align-items: center; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid rgba(74, 35, 97, 0.08);
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: 12px 16px; width: 100%; text-align: left; }

    .hero { min-height: 80vh; padding: 100px 20px 60px; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

    .quick-exit { top: 8px; right: 8px; padding: 8px 14px; font-size: 12px; }

    .crisis-grid { grid-template-columns: 1fr; }

    .affirmation-card { width: 280px; height: 180px; }
    .affirmation-text { font-size: 19px; }

    .grounding-step { flex-direction: column; align-items: center; text-align: center; }

    .breathing-circle { width: 180px; height: 180px; }
}

@media (max-width: 480px) {
    .section-container { padding: 0 16px; }
    .hero { padding: 90px 16px 48px; }
    .hero-cta-row { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; }
    .resource-contacts { flex-direction: column; }
    .resource-contacts a { width: 100%; justify-content: center; }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .breathing-circle { transition-duration: 0.01ms !important; }
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid var(--purple-mid);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
