/* ==========================================================================
   Mount Carmel Ministries — Common Stylesheet
   ========================================================================== */

/* ===== CSS CUSTOM PROPERTIES (Design Tokens) ===== */
:root {
    --cream:       #F6F0E4;
    --cream-2:     #EFE7D4;
    --ink:         #241A14;
    --oxblood:     #6E1F2B;
    --oxblood-deep:#4A141D;
    --gold:        #B98B3E;
    --gold-light:  #D9B876;
    --verdigris:   #3F5B52;
    --navy:        #0A2342;
    --navy-deep:   #051627;
    --navy-2:      #0F2E56;
    --line:        #DCD0B8;
    --line-dark:   rgba(246, 240, 228, 0.18);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ===== LAYOUT ===== */
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .wrap {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .wrap {
        padding: 0 32px;
    }
}

/* ===== TYPOGRAPHY ===== */
.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .eyebrow {
        font-size: 12px;
    }
}

h1, h2, h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

/* Touch-friendly link targets */
a {
    -webkit-touch-callout: none;
}

@media (hover: none) {
    .btn, a, button {
        min-height: 48px;
        min-width: 48px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background 0.18s ease, color 0.18s ease;
    min-height: 44px;
    min-width: 44px;
}

@media (min-width: 768px) {
    .btn {
        padding: 13px 26px;
        font-size: 12.5px;
    }
}

.btn-primary {
    background: var(--gold);
    color: var(--cream);
}

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

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(246, 240, 228, 0.55);
}

.btn-ghost:hover {
    background: rgba(246, 240, 228, 0.1);
    border-color: var(--cream);
}

/* ===== SECTION SHARED ===== */
.section {
    padding: 48px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 88px 0;
    }
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .section-head {
        align-items: flex-end;
        gap: 24px;
        margin-bottom: 52px;
        flex-direction: row;
    }
}

.section-head .eyebrow {
    color: var(--oxblood);
    margin-bottom: 8px;
    font-size: 11px;
}

@media (min-width: 768px) {
    .section-head .eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
    }
}

.section-head h2 {
    font-size: clamp(22px, 5vw, 38px);
}

.section-head p {
    font-size: 13px;
    color: #5a4f43;
    max-width: 340px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .section-head p {
        font-size: 14.5px;
    }
}

/* ===== TOP UTILITY BAR ===== */
.utility-bar {
    background: var(--ink);
    color: rgba(246, 240, 228, 0.75);
    font-size: 9px;
    letter-spacing: 0.02em;
    padding: 2px 0;
}

.utility-bar .wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.utility-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 8.5px;
}

.utility-links a {
    white-space: nowrap;
    padding: 1px 0;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .utility-bar {
        font-size: 11.5px;
/*        padding: 8px 0;*/
    }

    .utility-bar .wrap {
        padding: 8px 32px;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 12px;
    }
    
    .utility-links {
        display: flex;
        gap: 20px;
        font-size: 11.5px;
        flex-wrap: nowrap;
    }

    .utility-links a {
        padding: 4px 0;
        line-height: 1.5;
    }
}

.utility-links a:hover {
    color: var(--gold-light);
}

.utility-bar .verse {
    font-style: italic;
    font-family: 'Fraunces', serif;
    font-size: 9px;
    color: var(--gold-light);
    display: block;
    text-align: center;
    line-height: 1.2;
    width: 100%;
    padding: 2px 0;
}

@media (min-width: 1024px) {
    .utility-bar .verse {
        display: block;
        width: auto;
        font-size: 12.5px;
        padding: 0;
        line-height: 1.4;
    }
}

/* ===== NAVIGATION ===== */
header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 240, 228, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    max-width: 1180px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .nav {
        padding: 12px 32px;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .brand {
        gap: 12px;
    }
}

.brand svg {
    width: 45px;
    height: 45px;
    flex: none;
    color: var(--oxblood);
}

@media (min-width: 768px) {
    .brand svg {
        width: 45px;
        height: 45px;
    }
}

.brand-text {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

@media (min-width: 768px) {
    .brand-text {
        font-size: 18px;
    }
}

.brand-text span {
    display: none;
}

@media (min-width: 768px) {
    .brand-text span {
        display: block;
        font-family: 'Inter', sans-serif;
        font-size: 9.5px;
        letter-spacing: 0.2em;
        color: var(--oxblood);
        font-weight: 700;
        margin-top: 2px;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    padding: 0;
    margin-left: auto;
    z-index: 1000;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation Menu */
nav.links {
    display: none;
    gap: 0;
    align-items: flex-start;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(36, 26, 20, 0.1);
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

nav.links.active {
    display: flex;
}

@media (min-width: 768px) {
    nav.links {
        display: flex !important;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        background: transparent;
        border-bottom: none;
        padding: 0;
        box-shadow: none;
        flex-direction: row;
        gap: 26px;
        align-items: center;
        max-height: none;
        overflow-y: visible;
    }
}

nav.links a {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
    transition: color 0.15s;
}

@media (max-width: 767px) {
    nav.links a {
        font-size: 13px;
        padding: 12px 0;
        display: block;
        width: 100%;
    }
}

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

.nav-cta {
    color: var(--cream);
    padding: 10px 22px;
    border-radius: 2px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.15s;
    margin-top: 12px;
    width: 100%;
    text-align: center;
    display: block;
}

@media (min-width: 768px) {
    .nav-cta {
        margin-top: 0;
        width: auto;
        display: inline-block;
    }
}

.nav-cta:hover {
/*    background: var(--oxblood-deep);*/
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    color: var(--cream);
}

@media (min-width: 768px) {
    .hero {
        min-height: 640px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}

.hero-scrim {
    position: absolute;
    inset: 0;
/*    background: linear-gradient(180deg, rgba(36, 26, 20, 0.25) 0%, rgba(36, 26, 20, 0.82) 100%);*/
}

.hero-cross {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 260px;
    opacity: 0.06;
    color: var(--cream);
    display: none;
}

@media (min-width: 1024px) {
    .hero-cross {
        display: block;
        width: 300px;
        height: 390px;
        opacity: 0.08;
    }
}

.hero .wrap {
    position: relative;
    z-index: 2;
    padding: 0 20px 36px;
    width: 100%;
}

@media (min-width: 768px) {
    .hero .wrap {
        padding: 0 32px 56px;
    }
}

.hero-eyebrow {
    color: var(--gold-light);
    margin-bottom: 12px;
    font-size: 11px;
}

@media (min-width: 768px) {
    .hero-eyebrow {
        margin-bottom: 18px;
        font-size: 12px;
    }
}

.hero h1 {
    font-size: clamp(28px, 7vw, 56px);
    margin-bottom: 16px;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero h1 {
        margin-bottom: 22px;
    }
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.hero .lede {
    font-size: 14px;
    max-width: 560px;
    color: rgba(246, 240, 228, 0.78);
    margin-bottom: 24px;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .hero .lede {
        font-size: 16px;
        margin-bottom: 32px;
    }
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero-actions {
        gap: 14px;
        margin-bottom: 36px;
    }
}

.hero-actions .btn {
    padding: 11px 16px;
    font-size: 11px;
}

@media (min-width: 768px) {
    .hero-actions .btn {
        padding: 13px 26px;
        font-size: 12.5px;
    }
}

.hero-verse {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid rgba(246, 240, 228, 0.18);
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 12px;
    color: rgba(246, 240, 228, 0.72);
}

@media (min-width: 768px) {
    .hero-verse {
        margin-top: 40px;
        padding-top: 18px;
        font-size: 15px;
    }
}

/* ===== EXPLORE QUICKLINKS ===== */
.explore {
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
}

.explore-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

@media (min-width: 768px) {
    .explore-grid {
        padding: 0 32px;
        display: flex;
        overflow-x: auto;
        gap: 2px;
        scrollbar-width: none;
        grid-template-columns: unset;
    }
    
    .explore-grid::-webkit-scrollbar {
        display: none;
    }
}

.explore-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 16px 8px;
    min-width: auto;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    transition: background 0.15s;
}

@media (min-width: 768px) {
    .explore-item {
        gap: 7px;
        padding: 30px 22px;
        min-width: 90px;
        font-size: 10.5px;
    }
}

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

.explore-item:hover {
    background: var(--cream);
    color: var(--oxblood);
}

.ico-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}

@media (min-width: 768px) {
    .ico-circle {
        width: 55px;
        height: 55px;
    }
}

.ico-circle svg {
    width: 14px;
    height: 14px;
}

@media (min-width: 768px) {
    .ico-circle svg {
        width: 18px;
        height: 18px;
    }
}

.explore-item:hover .ico-circle {
    background: var(--oxblood);
    border-color: var(--oxblood);
    color: var(--cream);
}

/* ===== MINISTRIES GRID ===== */
.ministries {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
}

@media (min-width: 640px) {
    .ministries {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ministries {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }
}

.m-card {
    padding: 20px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.18s;
    cursor: default;
}

@media (min-width: 768px) {
    .m-card {
        padding: 32px;
        gap: 14px;
    }
}

.m-card a {
    color: inherit;
}

.m-icon {
    width: 28px;
    height: 28px;
    color: var(--oxblood);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .m-icon {
        width: 32px;
        height: 32px;
    }
}

.m-card h3 {
    font-size: 16px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .m-card h3 {
        font-size: 18px;
    }
}

.m-card p {
    font-size: 12px;
    color: #5a4f43;
    line-height: 1.6;
    flex: 1;
}

@media (min-width: 768px) {
    .m-card p {
        font-size: 13.5px;
    }
}

.m-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin-top: auto;
}

@media (min-width: 768px) {
    .m-link {
        font-size: 12px;
    }
}

.m-link svg {
    width: 12px;
    height: 12px;
}

@media (min-width: 768px) {
    .m-link svg {
        width: 14px;
        height: 14px;
    }
}

.m-card:hover {
    background: var(--cream-2);
}

.m-card.accent {
    background: var(--oxblood);
    color: var(--cream);
    border-color: var(--oxblood);
}

.m-card.accent .m-icon {
    color: var(--gold-light);
}

.m-card.accent p {
    color: rgba(246, 240, 228, 0.8);
}

.m-card.accent .m-link {
    color: var(--gold-light);
}

.m-card.accent:hover {
    background: var(--oxblood-deep);
}

/* ===== APP BUTTONS ===== */
.app-buttons {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
    border: 1.5px solid var(--gold-light);
    border-radius: 2px;
    background: transparent;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    text-decoration: none;
}

@media (min-width: 768px) {
    .app-btn {
        padding: 14px 20px;
        font-size: 12px;
        min-width: 150px;
    }
}

.app-btn:hover {
    background: var(--gold-light);
    color: var(--oxblood);
}

.app-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .app-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== APP BUTTONS ROW (Single Row) ===== */
.app-buttons-row {
    display: flex;
    gap: 12px;
    margin-top: auto;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

.app-btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 130px;
    padding: 12px 16px;
    border: 1.5px solid #d9b876;
    border-radius: 2px;
    background: transparent;
    color: #d9b876;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    text-decoration: none;
    width: calc(50% - 6px);
}

@media (min-width: 768px) {
    .app-btn-row {
        padding: 10px 20px;
        font-size: 10px;
        min-width: 140px;
    }
}

.app-btn-row:hover {
    background: #d9b876;
    color: var(--oxblood);
}

.app-btn-row svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .app-btn-row svg {
        width: 18px;
        height: 18px;
    }
}

.app-badges {
    display: flex;
    gap: 8px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(63, 91, 82, 0.35);
    padding: 7px 11px;
    border-radius: 2px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--verdigris);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.app-badge svg {
    width: 14px;
    height: 14px;
}

.app-badge:hover {
    background: var(--verdigris);
    color: var(--cream);
    border-color: var(--verdigris);
}

/* ===== COLORFUL INITIATIVE PANELS ===== */
.panels {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

@media (min-width: 768px) {
    .panels {
        gap: 2px;
    }
}

.panel {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 280px;
}

@media (min-width: 768px) {
    .panel {
        grid-template-columns: 1fr 1fr;
        min-height: 320px;
    }
}

.panel-copy {
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .panel-copy {
        padding: 52px 60px;
        gap: 14px;
    }
}

.panel-copy .eyebrow {
    color: var(--gold);
    font-size: 11px;
}

@media (min-width: 768px) {
    .panel-copy .eyebrow {
        font-size: 12px;
    }
}

.panel-copy h3 {
    font-size: clamp(18px, 5vw, 32px);
    color: var(--cream);
    font-weight: 400;
}

.panel-copy p {
    font-size: 13px;
    color: rgba(246, 240, 228, 0.75);
    max-width: 420px;
}

@media (min-width: 768px) {
    .panel-copy p {
        font-size: 14.5px;
    }
}

.panel.dark  .panel-copy  { background: var(--oxblood-deep); }
.panel.dark  .panel-image { background: linear-gradient(135deg, #8a2a37, #3d1119); }
.panel.green .panel-copy  { background: var(--verdigris); }
.panel.green .panel-copy .eyebrow { color: var(--gold-light); }
.panel.green .panel-image { background: linear-gradient(135deg, #4f7167, #26362f); }
.panel.navy  .panel-copy  { background: var(--navy-deep); }
.panel.navy  .panel-copy .eyebrow { color: var(--gold-light); }
.panel.navy  .panel-image { background: linear-gradient(135deg, var(--navy-2), var(--navy-deep)); }

.panel-image {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

@media (min-width: 768px) {
    .panel-image {
        min-height: auto;
    }
}

.panel-image .ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(246, 240, 228, 0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .panel-image .ring {
        width: 340px;
        height: 340px;
    }
}

.panel-image .ring.r2 {
    width: 140px;
    height: 140px;
}

@media (min-width: 768px) {
    .panel-image .ring.r2 {
        width: 220px;
        height: 220px;
    }
}

.panel-image svg.big-icon {
    width: 60px;
    height: 60px;
    color: rgba(246, 240, 228, 0.85);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .panel-image svg.big-icon {
        width: 88px;
        height: 88px;
    }
}

.app-row {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.app-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(246, 240, 228, 0.35);
    padding: 9px 16px;
    border-radius: 2px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cream);
    transition: background 0.15s;
}

.app-pill svg {
    width: 15px;
    height: 15px;
}

.app-pill:hover {
    background: rgba(246, 240, 228, 0.12);
}

/* ===== MEDIA / SPOTLIGHT ===== */
.spotlight {
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 10%, rgba(184, 139, 62, 0.14), transparent 55%);
}

.spotlight .wrap {
    position: relative;
    z-index: 2;
}

.spotlight .section-head .eyebrow { color: var(--gold-light); }
.spotlight .section-head p        { color: rgba(246, 240, 228, 0.6); }
.spotlight .section-head h2       { color: var(--cream); }

.media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .media-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 24px;
    }
}

.media-main {
    aspect-ratio: 16/10;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(200deg, #3a2a20, #1a120e 70%);
    border: 1px solid var(--line-dark);
    display: flex;
    align-items: flex-end;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(246, 240, 228, 0.12);
    border: 1px solid rgba(246, 240, 228, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.15s;
    cursor: pointer;
}

@media (min-width: 768px) {
    .play-btn {
        width: 62px;
        height: 62px;
    }
}

.play-btn:hover {
    background: rgba(246, 240, 228, 0.22);
}

.play-btn svg {
    width: 18px;
    height: 18px;
    color: var(--cream);
    margin-left: 3px;
}

@media (min-width: 768px) {
    .play-btn svg {
        width: 20px;
        height: 20px;
    }
}

.media-main .cap {
    padding: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
    width: 100%;
}

@media (min-width: 768px) {
    .media-main .cap {
        padding: 24px;
    }
}

.media-main .cap .eyebrow {
    color: var(--gold-light);
    margin-bottom: 4px;
    font-size: 10px;
}

@media (min-width: 768px) {
    .media-main .cap .eyebrow {
        margin-bottom: 6px;
        font-size: 12px;
    }
}

.media-main .cap h3 {
    font-size: 16px;
    color: var(--cream);
    font-weight: 400;
}

@media (min-width: 768px) {
    .media-main .cap h3 {
        font-size: 22px;
    }
}

.media-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .media-side {
        gap: 16px;
    }
}

.media-item {
    display: flex;
    gap: 12px;
    border: 1px solid var(--line-dark);
    padding: 12px;
    border-radius: 2px;
    align-items: center;
    transition: background 0.15s;
    cursor: pointer;
}

@media (min-width: 768px) {
    .media-item {
        gap: 14px;
        padding: 14px;
    }
}

.media-item:hover {
    background: rgba(246, 240, 228, 0.05);
}

.media-item .thumb {
    width: 60px;
    height: 44px;
    flex: none;
    border-radius: 2px;
    background: linear-gradient(200deg, #4a3626, #241a14);
}

@media (min-width: 768px) {
    .media-item .thumb {
        width: 76px;
        height: 56px;
    }
}

.media-item h4 {
    font-size: 12px;
    font-weight: 500;
    font-family: 'Fraunces', serif;
    color: var(--cream);
}

@media (min-width: 768px) {
    .media-item h4 {
        font-size: 14px;
    }
}

.media-item span {
    font-size: 10px;
    color: rgba(246, 240, 228, 0.55);
}

@media (min-width: 768px) {
    .media-item span {
        font-size: 11.5px;
    }
}

/* ===== FOUNDER SECTION ===== */
.founder {
    background: var(--cream);
}

.founder .wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .founder .wrap {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 56px;
    }
}

/*.founder-portrait {
    aspect-ratio: 3/4;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 38%, var(--cream-2) 0%, var(--cream-2) 45%, var(--cream) 75%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 100%;
}*/

@media (min-width: 768px) {
    .founder-portrait {
        max-width: 400px;
    }
}

/*.founder-portrait::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid var(--line);
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/

@media (min-width: 768px) {
    .founder-portrait::before {
        width: 280px;
        height: 280px;
    }
}

.founder-portrait img {
    width: 100%;
    max-width: 240px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 30px rgba(36, 26, 20, 0.18)) grayscale(100%);
}

@media (min-width: 768px) {
    .founder-portrait img {
        max-width: 320px;
    }
}

.founder blockquote {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 4vw, 30px);
    line-height: 1.35;
    color: var(--oxblood-deep);
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

@media (min-width: 768px) {
    .founder blockquote {
        padding-left: 28px;
    }
}

.founder .signoff {
    margin-top: 20px;
    padding-left: 20px;
}

@media (min-width: 768px) {
    .founder .signoff {
        margin-top: 26px;
        padding-left: 30px;
    }
}

.founder .signoff strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .founder .signoff strong {
        font-size: 16px;
    }
}

.founder .signoff span {
    font-size: 11px;
    color: #5a4f43;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .founder .signoff span {
        font-size: 12.5px;
    }
}

/* ===== RETREAT CENTER BANNER ===== */
.retreat-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 70% 40%, rgba(184, 139, 62, 0.14), transparent 60%),
                linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
}

@media (min-width: 768px) {
    .retreat-banner {
        min-height: 340px;
    }
}

.retreat-banner .wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .retreat-banner .wrap {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.retreat-banner .rb-copy .eyebrow {
    color: var(--gold-light);
    margin-bottom: 10px;
    font-size: 11px;
}

@media (min-width: 768px) {
    .retreat-banner .rb-copy .eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
    }
}

.retreat-banner h3 {
    color: var(--cream);
    font-size: clamp(20px, 5vw, 34px);
    font-weight: 400;
    max-width: 440px;
}

.retreat-banner p {
    color: rgba(246, 240, 228, 0.75);
    font-size: 13px;
    margin-top: 10px;
    max-width: 400px;
}

@media (min-width: 768px) {
    .retreat-banner p {
        font-size: 14px;
        margin-top: 14px;
    }
}

.retreat-banner .rb-btn {
    margin-top: 16px;
}

@media (min-width: 768px) {
    .retreat-banner .rb-btn {
        margin-top: 24px;
    }
}

.retreat-banner .rb-image {
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
}

@media (min-width: 768px) {
    .retreat-banner .rb-image {
        order: auto;
    }
}

.retreat-banner .rb-image img {
    width: 100%;
    max-width: 280px;
}

@media (min-width: 768px) {
    .retreat-banner .rb-image img {
        max-width: 460px;
    }
}

/* Church illustration placeholder */
.church-illustration {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.church-illustration svg {
    width: 100%;
    height: 100%;
    color: rgba(246, 240, 228, 0.25);
}

/* ===== CTA BAND ===== */
.cta-band {
    background: var(--verdigris);
    color: var(--cream);
    padding: 40px 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-band {
        padding: 64px 0;
    }
}

.cta-band h2 {
    font-size: clamp(20px, 5vw, 34px);
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--cream);
}

@media (min-width: 768px) {
    .cta-band h2 {
        margin-bottom: 22px;
    }
}

.cta-band p {
    margin-bottom: 16px;
    font-size: 13px;
    color: #e5dfd3;
}

@media (min-width: 768px) {
    .cta-band p {
        margin-bottom: 24px;
        font-size: 1.1rem;
    }
}

.cta-band .btn-primary {
    background: var(--gold);
    color: #1c2b26;
}

.cta-band .btn-primary:hover {
    background: var(--gold-light);
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: var(--cream-2);
    border-top: 1px solid var(--line);
    padding: 40px 20px;
}

@media (min-width: 768px) {
    .newsletter {
        padding: 56px 0;
    }
}

.newsletter .wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .newsletter .wrap {
        gap: 24px;
        align-items: center;
    }
}

.newsletter h4 {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .newsletter h4 {
        font-size: 20px;
        margin-bottom: 8px;
    }
}

.newsletter p {
    font-size: 12px;
    color: #5a4f43;
    margin-top: 4px;
}

@media (min-width: 768px) {
    .newsletter p {
        font-size: 13px;
        margin-top: 6px;
    }
}

.newsletter > div:last-child {
    flex: 1;
    min-width: 280px;
}

.news-form {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

.news-form input {
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-right: none;
    background: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    flex: 1;
    min-width: 0;
    outline: none;
    transition: box-shadow 0.15s, border-color 0.15s;
}

@media (min-width: 768px) {
    .news-form input {
        padding: 13px 16px;
        font-size: 13.5px;
        width: 240px;
    }
}

.news-form input:focus {
    border-color: var(--oxblood);
    box-shadow: 0 0 0 3px rgba(110, 31, 43, 0.08);
}

.news-form button {
    background: var(--oxblood);
    color: var(--cream);
    border: none;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .news-form button {
        padding: 0 22px;
        font-size: 12.5px;
    }
}

.news-form button:hover {
    background: var(--oxblood-deep);
}

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

.newsletter-success-message {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 2px solid #10b981;
    color: #065f46;
    padding: 14px 16px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.newsletter-success-message::before {
    content: '✓';
    font-size: 18px;
    font-weight: bold;
    color: #10b981;
    flex-shrink: 0;
}

.newsletter-error-message {
    background: #fdf2f2;
    border: 1px solid #f8b4b4;
    color: #9b1c1c;
    padding: 12px 16px;
    border-radius: 2px;
    font-size: 13px;
    animation: slideDown 0.3s ease;
}

/* ===== FOOTER ===== */
footer {
    background: var(--ink);
    color: rgba(246, 240, 228, 0.72);
    padding: 40px 20px 20px;
}

@media (min-width: 768px) {
    footer {
        padding: 72px 0 30px;
    }
}

.foot-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(246, 240, 228, 0.14);
}

@media (min-width: 640px) {
    .foot-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .foot-top {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 40px;
        padding-bottom: 52px;
    }
}

.foot-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .foot-brand {
        gap: 12px;
        margin-bottom: 16px;
    }
}

.foot-brand svg {
    width: 24px;
    height: 24px;
    color: var(--gold-light);
}

@media (min-width: 768px) {
    .foot-brand svg {
        width: 28px;
        height: 28px;
    }
}

.foot-brand span {
    font-family: 'Fraunces', serif;
    font-size: 14px;
    color: var(--cream);
}

@media (min-width: 768px) {
    .foot-brand span {
        font-size: 16px;
    }
}

footer p.desc {
    font-size: 12px;
    max-width: 280px;
    color: rgba(246, 240, 228, 0.55);
}

@media (min-width: 768px) {
    footer p.desc {
        font-size: 13.5px;
    }
}

footer h5 {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    footer h5 {
        font-size: 11.5px;
        margin-bottom: 18px;
    }
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    footer ul {
        gap: 11px;
    }
}

footer ul a {
    font-size: 12px;
    color: rgba(246, 240, 228, 0.72);
    transition: color 0.15s;
}

@media (min-width: 768px) {
    footer ul a {
        font-size: 13.5px;
    }
}

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

.foot-apps {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .foot-apps {
        gap: 8px;
        margin-top: 14px;
    }
}

.foot-apps a {
    border: 1px solid rgba(246, 240, 228, 0.25);
    padding: 6px 10px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    transition: background 0.15s;
}

@media (min-width: 768px) {
    .foot-apps a {
        padding: 8px 12px;
        gap: 6px;
        font-size: 11px;
    }
}

.foot-apps a:hover {
    background: rgba(246, 240, 228, 0.1);
}

.foot-apps svg {
    width: 12px;
    height: 12px;
}

@media (min-width: 768px) {
    .foot-apps svg {
        width: 14px;
        height: 14px;
    }
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 11px;
    color: rgba(246, 240, 228, 0.4);
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 768px) {
    .foot-bottom {
        padding-top: 26px;
        font-size: 12px;
        gap: 10px;
    }
}

/* ===== ADMIN PERMISSIONS LAYOUT - Mobile Fixes ===== */
@media (max-width: 767px) {
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    
    .admin-card {
        order: -1;
    }
    
    .data-table-container {
        order: 0;
    }
}


/* ===== MOBILE OPTIMIZATIONS FOR KEY SECTIONS ===== */

/* FOUNDER SECTION - Mobile Fixes */
@media (max-width: 767px) {
    .founder .wrap {
        gap: 20px;
    }
    
    .founder-portrait {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 16px;
    }
    
    .founder-portrait img {
        max-width: 180px;
        width: 80%;
    }
    
    .founder blockquote {
        font-size: 18px;
        line-height: 1.4;
        padding-left: 16px;
        border-left-width: 2px;
    }
    
    .founder .signoff {
        margin-top: 16px;
        padding-left: 16px;
    }
    
    .founder .signoff strong {
        font-size: 13px;
    }
    
    .founder .signoff span {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .founder .eyebrow {
        font-size: 10px;
        margin-bottom: 12px;
    }
}

/* RETREAT BANNER - Mobile Fixes */
@media (max-width: 767px) {
    .retreat-banner {
        min-height: auto;
        padding: 32px 0;
    }
    
    .retreat-banner .wrap {
        gap: 16px;
    }
    
    .retreat-banner h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .retreat-banner p {
        font-size: 13px;
        margin-top: 10px;
    }
    
    .retreat-banner .rb-image {
        margin-bottom: 16px;
    }
    
    .retreat-banner .rb-image img {
        max-width: 240px;
        width: 90%;
    }
    
    .retreat-banner .rb-btn {
        margin-top: 14px;
    }
    
    .retreat-banner .rb-btn .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 11px;
    }
}

/* FOOTER - Mobile Optimizations */
@media (max-width: 767px) {
    footer {
        padding: 32px 20px 16px;
        text-align: center;
    }
    
    .foot-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding-bottom: 24px;
        text-align: center;
    }
    
    .foot-top > div:first-child {
        grid-column: 1 / -1;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .foot-top > div:nth-child(2),
    .foot-top > div:nth-child(3),
    .foot-top > div:nth-child(4) {
        text-align: center;
    }
    
    .foot-brand {
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .foot-brand svg {
        width: 22px;
        height: 22px;
    }
    
    .foot-brand span {
        font-size: 13px;
    }
    
    footer h5 {
        font-size: 9px;
        margin-bottom: 10px;
        letter-spacing: 0.1em;
        text-align: center;
    }
    
    footer ul {
        gap: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    footer ul li {
        text-align: center;
    }
    
    footer ul a {
        font-size: 11px;
    }
    
    footer p.desc {
        font-size: 11.5px;
        line-height: 1.5;
        margin: 0 auto;
        text-align: center;
    }
    
    .foot-apps {
        gap: 5px;
        margin-top: 8px;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    
    .foot-apps a {
        padding: 5px 8px;
        font-size: 9px;
        gap: 4px;
    }
    
    .foot-apps svg {
        width: 11px;
        height: 11px;
    }
    
    .foot-bottom {
        padding-top: 14px;
        font-size: 10px;
        flex-direction: column;
        text-align: center;
    }
}

/* FOUNDER SECTION - Tablet Improvements */
@media (min-width: 640px) and (max-width: 1023px) {
    .founder .wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .founder-portrait {
        max-width: 300px;
        margin: 0 auto 12px;
    }
    
    .founder-portrait img {
        max-width: 250px;
    }
}

/* RETREAT BANNER - Tablet Improvements */
@media (min-width: 640px) and (max-width: 1023px) {
    .retreat-banner .wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .retreat-banner .rb-image {
        order: -1;
        margin-bottom: 8px;
    }
    
    .retreat-banner .rb-image img {
        max-width: 320px;
    }
}

/* FOOTER - Tablet Grid */
@media (min-width: 640px) and (max-width: 1023px) {
    footer {
        text-align: center;
    }
    
    .foot-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        text-align: center;
    }
    
    .foot-top > div:first-child {
        grid-column: 1 / -1;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .foot-top > div:nth-child(2),
    .foot-top > div:nth-child(3),
    .foot-top > div:nth-child(4) {
        text-align: center;
    }
    
    .foot-brand {
        justify-content: center;
    }
    
    footer h5 {
        text-align: center;
    }
    
    footer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    footer ul li {
        text-align: center;
    }
    
    footer p.desc {
        margin: 0 auto;
        text-align: center;
    }
    
    .foot-apps {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
}

/* CTA BAND - Mobile Optimizations */
@media (max-width: 767px) {
    .cta-band {
        padding: 28px 20px;
    }
    
    .cta-band h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .cta-band p {
        font-size: 12px;
        margin-bottom: 14px;
        line-height: 1.4;
    }
    
    .cta-band .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 10px;
    }
}

/* INITIATIVE PANELS - Mobile Stack */
@media (max-width: 767px) {
    .panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .panel-copy {
        padding: 24px 16px;
    }
    
    .panel-copy h3 {
        font-size: 18px;
    }
    
    .panel-copy p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .panel-image {
        min-height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .app-buttons-row {
        gap: 8px;
    }
    
    .app-btn-row {
        padding: 10px 12px;
        font-size: 9px;
        width: calc(50% - 4px);
    }
}

/* NEWSLETTER - Mobile Responsive */
@media (max-width: 767px) {
    .newsletter .wrap {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .newsletter h4 {
        font-size: 16px;
    }
    
    .newsletter p {
        font-size: 12px;
    }
    
    .news-form {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .news-form input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .news-form button {
        width: 100%;
        padding: 12px;
        font-size: 11px;
    }
}

