/* ============================================================
   Wild Grace Sanctuary - Unified Stylesheet
   wgs-styles.css
   ============================================================ */

/* ---- 1. Variables & Reset ---- */
:root {
    --bg: #FAF7F7;
    --panel: #FDFBFB;
    --carousel-panel: #FEFCFC;
    --white: #FFFFFF;
    --charcoal: #3A3A3A;
    --text: #5A5A5A;
    --text-light: #888888;
    --muted: #888888;
    --sage: #8B9A8B;
    --magenta: #A31662;
    --teal: #00897B;
    --gold: #D4A853;
    --coral: #E07A5F;
    --lavender: #9B8AA6;
    --purple-deep: #5E2750;
    --purple-mid: #7B2D8E;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
}


/* ---- 2. Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }


/* ---- 3. Dreamy Image Effect ---- */
.dreamy-image {
    position: relative;
    overflow: hidden;
}

.dreamy-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(250, 245, 245, 0.35) 0%,
        rgba(245, 235, 238, 0.3) 50%,
        rgba(250, 242, 242, 0.35) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.dreamy-image:hover::after {
    opacity: 0;
}

.dreamy-image img {
    filter: saturate(0.75) brightness(1.05) contrast(0.92) sepia(0.08);
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
                filter 0.8s ease;
}

.dreamy-image:hover img {
    filter: saturate(1) brightness(1) contrast(1) sepia(0);
    transform: scale(1.03);
}


/* ---- 4. Header & Navigation ---- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
}

header.scrolled {
    padding: 1.5rem 5%;
    background: rgba(250, 247, 247, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: 0.15em;
}

.nav-logo {
    height: 32px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--sage);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 300;
}

.close-menu {
    display: none;
}

/* Mobile menu close button (for pages using .mobile-close outside nav) */
.mobile-close {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 5%;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--charcoal);
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    z-index: 301;
}


/* ---- 5. Page Hero (inner pages) ---- */
.page-hero {
    padding: 10rem 5% 4rem;
    text-align: center;
    background: var(--panel);
}

.page-hero .label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-hero .subtitle {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
}


/* ---- 6. Section Headers ---- */
.section {
    padding: 2rem 5% 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal);
}

.section-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}


/* ---- 7. Content Section ---- */
.content-section {
    padding: 5rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.content-section p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}


/* ---- 8. Quote Section ---- */
.quote-section {
    padding: 5rem 5%;
    text-align: center;
}

.quote-section blockquote {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

.quote-section blockquote span {
    color: var(--magenta);
}

.quote-section cite {
    font-size: 0.9rem;
    color: var(--sage);
    font-style: normal;
}


/* ---- 9. Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-purple {
    background: var(--purple-mid);
    color: var(--white);
}

.btn-purple:hover {
    background: var(--purple-deep);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ---- 10. CTA Section ---- */
.cta-section {
    padding: 5rem 5%;
    text-align: center;
}

.cta-panel {
    max-width: 700px;
    margin: 0 auto;
    background: var(--purple-mid);
    color: var(--white);
    padding: 3rem;
}

.cta-panel h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.cta-panel p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}


/* ---- 11. Footer ---- */
footer {
    padding: 4rem 5% 3rem;
    text-align: center;
}

footer p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0.4rem 0;
}

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

footer a:hover {
    color: var(--sage);
}

footer .legal {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--text-light);
}


/* ============================================================
   HOME PAGE (index.html)
   ============================================================ */

/* Home Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    max-width: 1200px;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.hero-text .label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.hero-text .details {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
}

.hero-text a {
    color: var(--teal);
    text-decoration: none;
}

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

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
}

/* Home - Hero CTA buttons (sanctuary-stream) */
.hero-ctas {
    margin-top: 1.5rem;
}

.hero-ctas .btn {
    margin: 0.25rem;
}

/* Home - Three Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--panel);
    padding: 2rem;
    text-align: center;
    transition: transform 0.5s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
}

.pillar-card .pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    padding: 2px;
}

.pillar-card:nth-child(1) .pillar-icon { background: var(--magenta); }
.pillar-card:nth-child(2) .pillar-icon { background: var(--purple-mid); }
.pillar-card:nth-child(3) .pillar-icon { background: var(--purple-deep); }

.pillar-card .pillar-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: saturate(0.75) brightness(1.05) contrast(0.92) sepia(0.08);
    transition: filter 0.5s ease, transform 0.4s ease;
}

.pillar-card:hover .pillar-icon img {
    filter: saturate(1) brightness(1) contrast(1) sepia(0);
    transform: scale(1.1);
}

.pillar-card h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.pillar-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Home - Carousel */
.carousel-section {
    padding: 4rem 0;
}

.carousel-section .section-header {
    padding: 0 5%;
}

.carousel-panel {
    width: 100%;
    background: var(--carousel-panel);
    padding: 1.5rem 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    align-items: center;
}

.carousel-slide {
    flex: 0 0 25%;
    padding: 0 0.3rem;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    object-position: center 20%;
    display: block;
}

.carousel-slide:not(.active) {
    opacity: 0.4;
    filter: grayscale(30%);
    transform: scale(0.9);
}

.carousel-slide.active {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
    z-index: 2;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 5%;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--bg);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--charcoal);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--charcoal);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s;
}

.carousel-btn:hover svg {
    stroke: var(--white);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s ease;
}

.carousel-dot.active {
    background: var(--sage);
    transform: scale(1.3);
}

/* Carousel track — smooth sliding */
.carousel-slides {
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

/* Carousel caption (sanctuary-stream) */
.carousel-caption {
    text-align: center;
    padding: 14px 14px 0;
}

.carousel-caption h3 {
    margin: 10px 0 6px;
}

.carousel-caption p {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Home - Sanctuary Residents */
.residents-section {
    padding: 5rem 5%;
}

.residents-section .residents-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.residents-section .resident-card {
    text-align: center;
    transition: transform 0.4s ease;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.residents-section .resident-card:last-child {
    border-right: none;
}

.residents-section .resident-card:hover {
    transform: translateY(-5px);
}

.residents-section .resident-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.residents-section .resident-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.residents-section .resident-card:hover .card-icon img {
    transform: scale(1.1);
}

.residents-section .resident-card h4 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.residents-section .resident-card p {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Home - About Panel */
.about-section {
    padding: 5rem 5%;
}

.about-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--panel);
    overflow: hidden;
}

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

.about-panel:hover .about-image img {
    transform: scale(1.03);
}

.about-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.about-content > p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.values-list {
    list-style: none;
    margin-bottom: 2rem;
}

.values-list li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.values-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.values-list li:nth-child(1)::before { background: var(--magenta); }
.values-list li:nth-child(2)::before { background: var(--purple-mid); }
.values-list li:nth-child(3)::before { background: var(--purple-deep); }
.values-list li:nth-child(4)::before { background: var(--magenta); }

/* Home - Contact Section */
.contact-section {
    padding: 5rem 5%;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--panel);
}

.contact-info {
    padding: 3rem;
}

.contact-info h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-info .info-item span {
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--teal);
    text-decoration: none;
}

.contact-form-wrapper {
    padding: 3rem;
    background: var(--bg);
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--white);
    color: var(--charcoal);
    transition: border-color 0.3s;
    border-radius: 0;
    -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    background: var(--magenta);
    color: var(--white);
}

.contact-form .btn:hover {
    background: var(--charcoal);
}

/* Home - Support / Donate */
.support-section {
    padding: 4rem 5%;
    text-align: center;
}

.support-panel {
    max-width: 700px;
    margin: 0 auto;
    background: var(--panel);
    padding: 3rem;
}

.support-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.support-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.support-dots span:nth-child(1) { background: var(--magenta); }
.support-dots span:nth-child(2) { background: var(--purple-mid); }
.support-dots span:nth-child(3) { background: var(--purple-deep); }

.support-panel h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.support-panel p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.support-panel .btn {
    background: var(--magenta);
    color: var(--white);
}

.support-panel .btn:hover {
    background: var(--purple-deep);
}

/* Home - Chara Connection */
.chara-section {
    padding: 4rem 5%;
    text-align: center;
}

.chara-panel {
    max-width: 700px;
    margin: 0 auto;
    background: var(--panel);
    padding: 3rem;
}

.chara-panel h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.chara-panel p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.chara-panel a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 400;
}

.chara-panel a:hover {
    text-decoration: underline;
}


/* ============================================================
   ABOUT / GATHERINGS / MINISTER SERVICES
   ============================================================ */

/* Quote Section (inner pages with background) */
.quote-section--panel {
    background: var(--panel);
}

.quote-section blockquote {
    margin-bottom: 1.5rem;
}

/* Journey Timeline */
.journey-section {
    padding: 5rem 5%;
}

.journey-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.journey-section .section-header h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal);
}

.journey-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.journey-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.journey-item:nth-child(even) .journey-content {
    order: 3;
    text-align: left;
}

.journey-item:nth-child(even) .journey-image {
    order: 1;
}

.journey-content {
    text-align: right;
}

.journey-content h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.journey-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.journey-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sage);
    position: relative;
}

.journey-marker::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: rgba(0,0,0,0.1);
}

.journey-item:last-child .journey-marker::before {
    display: none;
}

.journey-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

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

/* Founder Section */
.founder-section {
    padding: 5rem 5%;
    background: var(--panel);
}

.founder-panel {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.founder-image {
    border-radius: 8px;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.founder-content .roles {
    font-size: 0.9rem;
    color: var(--sage);
    margin-bottom: 1.5rem;
}

.founder-content p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.founder-content em {
    color: var(--charcoal);
}

/* Reverse layout for alternating panels (gatherings, minister-services) */
.founder-panel.reverse {
    grid-template-columns: 1fr 350px;
}

.founder-panel.reverse .founder-content {
    grid-column: 1;
}

.founder-panel.reverse .founder-image {
    grid-column: 2;
}


/* ============================================================
   MISSION PAGE
   ============================================================ */

/* Wild Grace Statement */
.statement-section {
    padding: 5rem 5%;
    text-align: center;
    background: var(--purple-deep);
    color: var(--white);
}

.statement-section h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.statement-text {
    max-width: 700px;
    margin: 0 auto;
}

.statement-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.statement-text p span {
    color: var(--sage);
}

/* Mission Pillars */
.pillars-section {
    padding: 5rem 5%;
    background: var(--panel);
}

.pillars-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pillars-section .section-header h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal);
}

/* Mission - pillar cards use white bg */
.pillars-section .pillar-card {
    background: var(--white);
}

/* Covenant Section */
.covenant-section {
    padding: 5rem 5%;
}

.covenant-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.covenant-section .section-header h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
}

.covenant-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 3rem;
}

.covenant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.covenant-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--panel);
}

.covenant-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.covenant-item:nth-child(1) .covenant-dot { background: var(--magenta); }
.covenant-item:nth-child(2) .covenant-dot { background: var(--purple-mid); }
.covenant-item:nth-child(3) .covenant-dot { background: var(--purple-deep); }
.covenant-item:nth-child(4) .covenant-dot { background: var(--magenta); }
.covenant-item:nth-child(5) .covenant-dot { background: var(--purple-mid); }
.covenant-item:nth-child(6) .covenant-dot { background: var(--purple-deep); }

.covenant-item h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.covenant-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Different Section */
.different-section {
    padding: 5rem 5%;
    background: var(--panel);
}

.different-content {
    max-width: 800px;
    margin: 0 auto;
}

.different-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-align: center;
}

.different-content p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.different-highlight {
    background: var(--white);
    padding: 2rem;
    margin-top: 2rem;
    border-left: 3px solid var(--sage);
}

.different-highlight p {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin: 0;
    font-style: italic;
}


/* ============================================================
   ANIMALS PAGE
   ============================================================ */

/* Intro Section */
.intro-section {
    padding: 4rem 5%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-section p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 1rem;
}

/* Featured Animal */
.featured-section {
    padding: 4rem 5%;
    background: var(--panel);
}

.featured-panel {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.featured-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--magenta);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.featured-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.featured-content .role {
    font-size: 0.9rem;
    color: var(--sage);
    margin-bottom: 1.5rem;
}

.featured-content p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
}

/* Animals - Section Header variant */
.animals-section-header {
    text-align: center;
    padding: 4rem 5% 2rem;
}

.animals-section-header h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.animals-section-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Animals - Resident Cards (uses .residents-grid but different layout from home) */
.residents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5% 4rem;
}

.resident-card {
    background: var(--panel);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.resident-card:hover {
    transform: translateY(-6px);
}

.resident-card .card-image {
    height: 200px;
    overflow: hidden;
}

.resident-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.resident-card .card-content {
    padding: 1rem;
    text-align: center;
}

.resident-card h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.resident-card .nickname {
    font-size: 0.8rem;
    color: var(--sage);
    margin-bottom: 0.25rem;
}

.resident-card .species {
    font-size: 0.75rem;
    color: var(--text-light);
}

.resident-card .tag {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
}

.tag-board { background: var(--magenta); color: var(--white); }
.tag-family { background: var(--purple-mid); color: var(--white); }
.tag-twins { background: var(--purple-deep); color: var(--white); }
.tag-couple { background: var(--magenta); color: var(--white); }
.tag-feline { background: var(--purple-mid); color: var(--white); }

/* Outside Cats */
.outside-section {
    padding: 4rem 5%;
    background: var(--panel);
}

.outside-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.outside-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.outside-content > p {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.outside-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.outside-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.outside-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--charcoal);
}

.outside-card .status {
    font-size: 0.8rem;
    color: var(--sage);
}

/* Memoriam */
.memoriam-section {
    padding: 4rem 5%;
    text-align: center;
}

.memoriam-section h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.memoriam-section p {
    font-size: 0.95rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.memoriam-names {
    font-size: 0.9rem;
    color: var(--sage);
    font-style: italic;
}

/* Memoriam Grid (circular icons) */
.mem-section {
    padding: 5rem 5%;
}

.mem-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.mem-card {
    text-align: center;
    transition: transform 0.4s ease;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.mem-card:last-child {
    border-right: none;
}

.mem-card:hover {
    transform: translateY(-5px);
}

.mem-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.mem-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mem-card:hover .card-icon img {
    transform: scale(1.1);
}

.mem-card h4 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.mem-card p {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Animals Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.support-grid h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.support-grid h3 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.support-grid p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.support-grid ul {
    list-style: none;
}

.support-grid li {
    font-size: 0.9rem;
    color: var(--text);
    padding: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
}

.support-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage);
}

/* Animals CTA with magenta bg */
.cta-panel--magenta {
    background: var(--magenta);
}

.cta-panel--magenta .btn {
    background: var(--white);
    color: var(--magenta);
}

.cta-panel--magenta .btn:hover {
    background: var(--charcoal);
    color: var(--white);
}


/* ============================================================
   RETREATS PAGE
   ============================================================ */

/* Partnership Section */
.partnership-section {
    padding: 5rem 5%;
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.partnership-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.partnership-content p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.chara-meaning {
    background: var(--panel);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 3px solid var(--teal);
}

.chara-meaning strong {
    color: var(--teal);
}

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

.diagram-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--panel);
    margin-bottom: 1rem;
}

.diagram-item img {
    height: 50px;
    width: auto;
}

.diagram-item h3 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.diagram-item p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.diagram-arrow {
    font-size: 1.5rem;
    color: var(--sage);
    margin: 0.5rem 0;
}

/* Offerings Section */
.offerings-section {
    padding: 5rem 5%;
    background: var(--panel);
}

.offerings-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.offerings-section .section-header h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
}

.offerings-intro {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.offering-card {
    background: var(--white);
    padding: 2rem;
    transition: transform 0.4s ease;
}

.offering-card:hover {
    transform: translateY(-6px);
}

.offering-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 2px;
}

.offering-card:nth-child(1) .card-icon { background: var(--magenta); }
.offering-card:nth-child(2) .card-icon { background: var(--purple-mid); }

.offering-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.offering-card h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.offering-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.offering-model {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
}

/* Creative Retreats Section */
.creative-section {
    padding: 5rem 5%;
}

.creative-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.creative-section .section-header h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--charcoal);
}

.creative-intro {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.creative-section .offerings-grid {
    margin-bottom: 2rem;
}

.creative-section .offering-card:nth-child(1) .card-icon { background: var(--purple-deep); }
.creative-section .offering-card:nth-child(2) .card-icon { background: var(--magenta); }

.chara-cta {
    text-align: center;
    margin-top: 2rem;
}

/* The Space Section */
.space-section {
    padding: 5rem 5%;
    background: var(--purple-deep);
    color: var(--white);
}

.space-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.space-section .section-header h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
}

.space-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.space-item {
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.space-item:last-child {
    border-right: none;
}

.space-item .space-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 2px solid rgba(255,255,255,0.3);
}

.space-item .space-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-item h3 {
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.space-item p {
    font-size: 0.75rem;
    opacity: 0.8;
    line-height: 1.5;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.support-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.support-content p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.support-highlight {
    background: var(--white);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 3px solid var(--sage);
    text-align: left;
}

.support-highlight h3 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

/* Retreats Quote Section (italic variant) */
.retreats-quote .quote-section blockquote {
    font-style: italic;
}


/* ============================================================
   SANCTUARY STREAM PAGE
   ============================================================ */

/* Stream Panel */
.stream-panel {
    max-width: 980px;
    margin: 0 auto;
    background: var(--panel);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.05);
}

.stream-note {
    margin: 0 0 10px;
    font-size: 0.92rem;
    color: var(--muted);
    text-align: center;
}

.stream-embed {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

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

/* Hero inner (sanctuary-stream variant) */
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}


/* ============================================================
   VIRTUAL GATHERINGS PAGE
   ============================================================ */

.virtual-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 5%;
    text-align: center;
}

.virtual-container .intro p {
    max-width: 650px;
    margin: 0 auto 1.2rem;
}

.whereby-wrapper {
    margin: 3rem 0;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.whereby-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.guidelines {
    max-width: 600px;
    margin: 2rem auto 0;
    font-size: 0.95rem;
    color: var(--text-light);
}


/* ============================================================
   RESPONSIVE: TABLET (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {

    /* Home */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
    }

    .hero-image img {
        height: 400px;
    }

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

    .residents-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .resident-card:nth-child(3) {
        border-right: none;
    }

    .resident-card:nth-child(4) {
        border-right: 1px solid rgba(0,0,0,0.08);
    }

    .about-panel {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 350px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    /* About / Gatherings / Minister */
    .founder-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .journey-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .journey-content {
        text-align: center;
        order: 2 !important;
    }

    .journey-image {
        margin: 0 auto;
        order: 1 !important;
    }

    .journey-marker {
        display: none;
    }

    .founder-panel.reverse {
        grid-template-columns: 1fr;
    }

    .founder-panel.reverse .founder-content,
    .founder-panel.reverse .founder-image {
        grid-column: auto;
    }

    /* Gatherings / Minister override: keep side-by-side longer */
    .gatherings-layout .founder-panel {
        grid-template-columns: 350px 1fr;
        gap: 2.5rem;
    }

    .gatherings-layout .founder-image {
        max-width: none;
        margin: 0;
    }

    .gatherings-layout .founder-panel.reverse {
        grid-template-columns: 1fr 350px;
    }

    /* Mission */
    .covenant-grid {
        grid-template-columns: 1fr;
    }

    /* Animals */
    .featured-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-image {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .mem-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .mem-card:nth-child(4n) {
        border-right: none;
    }

    /* Retreats */
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .space-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .space-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 2rem;
    }

    .space-item:nth-child(3),
    .space-item:last-child {
        border-bottom: none;
    }
}


/* ============================================================
   RESPONSIVE: MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

    /* Header */
    header {
        padding: 1.5rem 5%;
    }

    .logo {
        font-size: 0.9rem;
    }

    .nav-logo {
        height: 28px;
    }

    nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--charcoal);
        display: block;
    }

    nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 200;
    }

    nav.mobile-open a {
        font-size: 1.2rem;
    }

    nav.mobile-open .nav-logo {
        display: none;
    }

    /* Close button - .close-menu (inside nav, used on index) */
    .close-menu {
        display: none;
    }

    nav.mobile-open .close-menu {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 5%;
        font-size: 2rem;
        color: var(--charcoal);
        cursor: pointer;
        line-height: 1;
        padding: 0.5rem;
    }

    /* Close button - .mobile-close (outside nav, used on inner pages) */
    .mobile-close {
        display: none;
        position: fixed;
        top: 1.5rem;
        right: 5%;
        font-size: 2rem;
        color: var(--charcoal);
        cursor: pointer;
        line-height: 1;
        padding: 0.5rem;
        background: none;
        border: none;
        z-index: 301;
    }

    .mobile-close.visible {
        display: block;
    }

    /* Home Hero */
    .hero {
        padding: 7rem 5% 4rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image img {
        height: 300px;
    }

    /* Page Hero (inner pages) */
    .page-hero {
        padding: 8rem 5% 3rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    /* Contact form mobile fix */
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    /* Animal cards mobile fix */
    .resident-card {
        padding: 0 0.75rem;
        border-right: none !important;
    }

    .resident-card .card-icon {
        width: 70px;
        height: 70px;
    }

    .resident-card h4 {
        font-size: 0.85rem;
    }

    .resident-card p {
        font-size: 0.75rem;
    }

    /* Home Residents grid */
    .residents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resident-card:nth-child(2n) {
        border-right: none;
    }

    .resident-card:nth-child(2n+1) {
        border-right: 1px solid rgba(0,0,0,0.08);
    }

    .resident-card:nth-child(5) {
        border-right: 1px solid rgba(0,0,0,0.08);
    }

    /* Carousel */
    .carousel-slide {
        flex: 0 0 50%;
    }

    /* About Content */
    .about-content {
        padding: 2.5rem;
    }

    /* Quote */
    .quote-section blockquote {
        font-size: 1.8rem;
    }

    /* Dreamy filter - remove on mobile (no hover) */
    .dreamy-image::after {
        display: none;
    }

    .dreamy-image img {
        filter: none;
    }

    /* Gatherings / Minister layout stacks on mobile */
    .gatherings-layout .founder-panel,
    .gatherings-layout .founder-panel.reverse {
        grid-template-columns: 1fr;
    }

    .gatherings-layout .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .gatherings-layout .founder-panel.reverse .founder-content,
    .gatherings-layout .founder-panel.reverse .founder-image {
        grid-column: auto;
    }

    /* Mission */
    .statement-text p {
        font-size: 1.1rem;
    }

    /* Mem Grid */
    .mem-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mem-card {
        padding: 0.5rem;
        border-right: none;
        margin-bottom: 1rem;
    }

    .mem-card .card-icon {
        width: 60px;
        height: 60px;
    }

    /* Space Grid */
    .space-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .space-item:nth-child(2n) {
        border-right: none;
    }

    /* Support/CTA panels */
    .support-panel,
    .cta-panel {
        padding: 2rem;
    }

    /* Stream */
    .stream-panel {
        padding: 16px;
    }
}


/* ============================================================
   RESPONSIVE: SMALL MOBILE (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 6rem 5% 3rem;
    }

    .carousel-slide {
        flex: 0 0 70%;
    }

@media (max-width: 768px) {
    header.scrolled {
        backdrop-filter: none;
        background: rgba(250, 247, 247, 0.98);
    }
}

    /* Carousel — force active slide opacity through parent reveal issue */
.carousel-slide.active {
    opacity: 1 !important;
    filter: none !important;
}

/* Reduce scale effect on mobile to avoid clipping */
.carousel-slide:not(.active) {
    transform: scale(0.95);
}

.carousel-slide.active {
    transform: scale(1.02);
}

/* Ensure carousel container reveal animation doesn't block children */
.carousel-section.reveal,
.carousel-panel.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

    .carousel-nav {
        gap: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
/* Mobile: one slide centered at a time */
@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 85%;
    }
    .carousel-slide.active {
        opacity: 1 !important;
        filter: none !important;
        transform: scale(1.02) !important;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        flex: 0 0 90%;
    }
}

    .mem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .space-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 1.5rem;
    }

    .space-item:last-child {
        border-bottom: none;
    }

    .about-content {
        padding: 1.5rem;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .cta-panel,
    .support-panel {
        padding: 1.5rem;
    }

    .founder-panel {
        gap: 1.5rem;
    }
/* BEFORE (broken — too low specificity) 
    .residents-grid {
        grid-template-columns: 1fr;
    }*/

    /* AFTER — matches desktop rule specificity */
.residents-section .residents-grid {
    grid-template-columns: repeat(2, 1fr);
}
/* BEFORE 
.residents-grid {
    grid-template-columns: 1fr;
}*/

/* AFTER */
.residents-section .residents-grid {
    grid-template-columns: 1fr;
}

    .resident-card {
        border-right: none !important;
    }
} /* === CLOSE 480px media query === */

/* HERO CTA FIX - global styles */
.hero-text .hero-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 20px;
}

.hero-text .hero-ctas a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.2;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.hero-text .hero-ctas .cta-primary {
  background: #552b67;
  color: #fffdf8;
  border-color: #552b67;
}

.hero-text .hero-ctas .cta-secondary {
  background: #f7f4ec;
  color: #e20d7c;
  border-color: #e20d7c;
}

.hero-text .hero-ctas .cta-primary:hover {
  background: #e20d7c;
  border-color: #e20d7c;
}

.hero-text .hero-ctas .cta-secondary:hover {
  background: #efe9dd;
  color: #e20d7c;
  border-color: #e20d7c;
}

/* DESKTOP: stack buttons as full-width buttons */
@media (min-width: 769px) {
  .hero-text .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 400px;
  }

  .hero-text .hero-ctas a {
    width: 100%;
    text-align: center;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-text .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-text .hero-ctas a {
    width: 100%;
    text-align: center;
  }
}

/* 480px query already closed above */

/* OUR PATH WIDTH FIX - applies on all screen sizes */
.section-header {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.section-header p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
