:root {
    --olive: #3B4B35;
    --vellum: #F0EAD6;
    --gold: #BFA36F;
    --charcoal: #2C2E2F;
    --clay: #C27B58;
    --bar-h: 56px;
}

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

body {
    background-color: var(--charcoal);
    color: var(--vellum);
    font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

/* ── Typography & Global ── */
h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

p {
    font-size: 1.4rem;
    max-width: 900px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ── Shared Utility Classes ── */
.vellum-bg { background-color: var(--vellum); color: var(--charcoal); }
.olive-bg { background-color: var(--olive); color: var(--vellum); }

/* ── Resource Bar ── */
#resource-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--bar-h);
    background: rgba(28, 29, 30, 0.97);
    border-bottom: 1px solid rgba(191, 163, 111, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    z-index: 900;
    backdrop-filter: blur(10px);
}

.lesson-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: 0.8;
}

.media-links {
    display: flex;
    gap: 16px;
}

.media-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border: 1px solid rgba(191, 163, 111, 0.45);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    transition: background 0.25s, color 0.25s;
    white-space: nowrap;
}

.media-btn:hover {
    background: var(--gold);
    color: var(--charcoal);
}
.media-btn.pending {
    opacity: 0.35;
    pointer-events: none;
}

/* ── Index / Slides ── */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    position: relative;
    text-align: center;
}

.infographic {
    display: block;
    margin: 20px auto;
    max-width: 90%;
    max-height: 65vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
}

.infographic:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 52px rgba(0, 0, 0, 0.45);
}

.chart-container {
    width: 600px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    gap: 60px;
    margin-top: 40px;
    position: relative;
}

.bar {
    width: 180px;
    background: var(--olive);
    position: relative;
    transition: height 1.5s ease-out;
    height: 0;
}

.bar::before {
    content: attr(data-label);
    position: absolute;
    top: -40px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.wall {
    height: 100%;
    width: 8px;
    background: var(--clay);
    position: absolute;
    left: 65%;
    transform: scaleY(0);
    transform-origin: bottom;
}

.phone-frame {
    width: 350px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 45px;
    border: 10px solid #333;
    padding: 25px 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-align: left;
}

.chat-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid #444;
    padding: 0 25px 15px 25px;
    background: #1a1a1a;
    z-index: 10;
}

.chat-body {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 25px 60px 25px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.chat-body::-webkit-scrollbar {
    display: none;
}

.msg {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    max-width: 85%;
    opacity: 0;
    line-height: 1.4;
}

.ai {
    align-self: flex-start;
    background: #2c2c2c;
    color: var(--vellum);
    border-bottom-left-radius: 4px;
}

.user {
    align-self: flex-end;
    background: var(--gold);
    color: white;
    border-bottom-right-radius: 4px;
}

.btn {
    padding: 18px 50px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 40px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
}

.btn:hover {
    background: var(--gold);
    color: var(--olive);
    transform: scale(1.05);
}

.testimonial {
    margin-top: 40px;
    padding: 25px;
    border-left: 4px solid var(--gold);
    background: rgba(191, 163, 111, 0.05);
    font-style: italic;
    text-align: left;
}

.testimonial-body {
    font-size: 1.1rem;
    line-height: 1.5;
    color: inherit;
    margin-bottom: 15px;
}

.testimonial-attribution {
    font-style: normal;
    font-weight: bold;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ── Lightbox ── */
#imageModal {
    animation: fadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fadeIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to { opacity: 1; backdrop-filter: blur(5px); }
}

/* ── Course / Lesson Shared ── */
.site-header {
    background: linear-gradient(180deg, #1a1b1c 0%, var(--charcoal) 100%);
    padding: 70px 60px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(191, 163, 111, 0.15);
}

.hero {
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 90px 40px 70px;
    background: linear-gradient(180deg, #1a1b1c 0%, var(--charcoal) 100%);
}

.program-label, .course-label {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 18px;
}

.course-label {
    font-size: 1.5rem;
}

.site-header h1, .hero h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero h1 {
    font-size: 2.9rem;
    max-width: 820px;
    margin-bottom: 24px;
}

.site-header .tagline, .hero .thesis {
    font-size: 1.05rem;
    opacity: 0.65;
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.7;
    font-style: italic;
}

.hero .thesis {
    max-width: 680px;
    font-size: 1.1rem;
    line-height: 1.75;
    opacity: 0.8;
    margin-bottom: 36px;
}

.action-triad {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.triad-item {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    padding-bottom: 5px;
    border-bottom: 1px solid var(--gold);
}

/* ── Course Catalog Body ── */
.catalog {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.catalog-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 32px;
}

.course-card {
    border: 1px solid rgba(191, 163, 111, 0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.course-toggle {
    width: 100%;
    background: rgba(59, 75, 53, 0.3);
    border: none;
    cursor: pointer;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    color: var(--vellum);
    font-family: inherit;
    transition: background 0.25s;
}

.course-toggle:hover {
    background: rgba(59, 75, 53, 0.5);
}

.course-toggle-left { flex: 1; }

.course-number {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 6px;
}

.course-title {
    font-size: 1.45rem;
    font-weight: 300;
    color: var(--vellum);
    line-height: 1.3;
}

.course-subtitle {
    font-size: 0.82rem;
    opacity: 0.5;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.course-toggle-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lesson-count {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    opacity: 0.7;
    white-space: nowrap;
}

.chevron {
    width: 20px;
    height: 20px;
    color: var(--gold);
    opacity: 0.7;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.course-card.open .chevron { transform: rotate(180deg); }

.lesson-list {
    display: none;
    border-top: 1px solid rgba(191, 163, 111, 0.12);
    background: rgba(0, 0, 0, 0.15);
}

.course-card.open .lesson-list { display: block; }

.lesson-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(191, 163, 111, 0.07);
    text-decoration: none;
    color: var(--vellum);
    transition: background 0.2s;
}

.lesson-item:last-child { border-bottom: none; }
.lesson-item:hover { background: rgba(191, 163, 111, 0.06); }

.lesson-num {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    opacity: 0.6;
    min-width: 80px;
    flex-shrink: 0;
}

.lesson-info { flex: 1; }

.lesson-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 4px;
}

.lesson-meta {
    font-size: 0.75rem;
    opacity: 0.45;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.lesson-status {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.status-available { border: 1px solid rgba(191, 163, 111, 0.5); color: var(--gold); }
.status-coming { border: 1px solid rgba(240, 234, 214, 0.15); color: var(--vellum); opacity: 0.3; }

.course-description {
    padding: 32px 32px 28px;
    border-bottom: 1px solid rgba(191, 163, 111, 0.1);
}

.course-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.82;
    max-width: 780px;
}

.course-description p+p { margin-top: 14px; }

.series-resources {
    padding: 18px 32px;
    border-bottom: 1px solid rgba(191, 163, 111, 0.1);
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.resources-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: 0.55;
    flex-shrink: 0;
}

.resource-links { display: flex; gap: 8px; flex-wrap: wrap; }

.resource-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1px solid rgba(191, 163, 111, 0.35);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.resource-btn:hover { background: var(--gold); color: var(--charcoal); }

.lessons-label {
    padding: 16px 32px 10px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--vellum);
    opacity: 0.3;
}

.course-card.future .course-toggle { background: rgba(44, 46, 47, 0.5); cursor: default; }
.course-card.future .course-title { opacity: 0.35; }
.course-card.future .course-subtitle { opacity: 0.25; }
.course-card.future .chevron { opacity: 0.2; }

.visual-strip {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(191, 163, 111, 0.12);
    padding: 60px 60px 50px;
}

.visual-strip-inner { max-width: 1100px; margin: 0 auto; }

.slideshow-container {
    max-width: 850px;
    margin: 0 auto;
}

.strip-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: 0.55;
    margin-bottom: 28px;
    text-align: center;
}

.strip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

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

.strip-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.strip-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.strip-caption {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--vellum);
    opacity: 0.32;
    margin-top: 14px;
}

.strip-scripture {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gold); /* Warm Abide Gold */
    opacity: 0.9;
    margin-top: 24px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    min-height: 160px; /* Increased to handle longer multi-verse quotes */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 300; /* Lighter weight for an elegant look */
}

.strip-scripture i {
    font-style: italic;
}

.ss-ref {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    opacity: 0.7;
    margin-top: 12px;
    font-style: normal;
}

/* ── Lesson Content ── */
.page-wrap { padding-top: var(--bar-h); }

.lesson-section { padding: 80px 40px; text-align: left; }
.lesson-section:nth-child(even) { background: rgba(59, 75, 53, 0.2); }

.section-inner { max-width: 860px; margin: 0 auto; }

.section-num {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    opacity: 0.65;
    margin-bottom: 8px;
}

.lesson-section h2 {
    font-size: 1.95rem;
    color: var(--gold);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 8px;
}

.scripture-ref {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--vellum);
    opacity: 0.45;
    margin-bottom: 32px;
}

.lesson-section p {
    font-size: 1.08rem;
    line-height: 1.82;
    margin-bottom: 22px;
}

.lesson-section ul,
.lesson-section ol {
    font-size: 1.08rem;
    line-height: 1.82;
    padding-left: 26px;
    margin-bottom: 22px;
}

.lesson-section li { margin-bottom: 10px; }
/* ── So What callout ── */
.so-what {
    margin: 40px 0 10px;
    padding: 26px 30px;
    border-left: 4px solid rgba(240, 234, 214, 0.3);
    background: rgba(240, 234, 214, 0.03);
    border-radius: 0 6px 6px 0;
    opacity: 0;
    transform: translateX(-18px);
    text-align: left;
}

.so-what-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--vellum);
    opacity: 0.6;
    margin-bottom: 10px;
}

/* ── Scripture Block ── */
.scripture-block {
    margin: 44px 0;
    padding: 32px 40px;
    background: rgba(191, 163, 111, 0.05);
    border-left: 4px solid var(--gold);
    border-right: 1px solid rgba(191, 163, 111, 0.1);
    border-radius: 0 8px 8px 0;
    position: relative;
}

.scripture-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 300;
}

.scripture-text {
    font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--vellum);
    font-style: normal;
    opacity: 0.95;
}

.v-num {
    font-family: 'Avenir Next', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    vertical-align: super;
    margin-right: 4px;
    opacity: 0.9;
}


.so-what p {
    font-size: 1.05rem;
    line-height: 1.78;
    margin-bottom: 0;
    font-style: italic;
}

.infographic-wrap {
    margin: 44px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.infographic-wrap img {
    display: block !important;
    margin: 20px auto !important;
    max-width: 90%;
    height: auto;
}

.infographic-caption {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--vellum);
    opacity: 0.35;
    margin-top: 14px;
}

.img-placeholder {
    width: 100%;
    max-width: 680px;
    height: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(191, 163, 111, 0.3);
    border-radius: 8px;
    background: rgba(191, 163, 111, 0.03);
    color: var(--gold);
}

.img-placeholder svg { margin-bottom: 16px; opacity: 0.45; }

.img-placeholder .ph-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.7;
    opacity: 0.7;
    margin: 0;
}

.img-placeholder .ph-sub {
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.4;
    margin-top: 8px;
}

.abide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0 32px;
    font-size: 1rem;
}

.abide-table th {
    background: var(--olive);
    color: var(--vellum);
    padding: 11px 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.abide-table td {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(191, 163, 111, 0.12);
    line-height: 1.55;
}

.abide-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }

/* Engage the Text */
details.engage {
    margin: 32px 0 40px;
    border: 1px solid rgba(191, 163, 111, 0.22);
    border-radius: 6px;
    overflow: hidden;
}

details.engage summary {
    padding: 15px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    background: rgba(191, 163, 111, 0.05);
    list-style: none;
    user-select: none;
    transition: background 0.2s;
}

details.engage summary::-webkit-details-marker { display: none; }

details.engage summary::before {
    content: '▸';
    font-size: 0.85rem;
    transition: transform 0.25s;
    display: inline-block;
    width: 12px;
}

details[open].engage summary::before { transform: rotate(90deg); }
details.engage summary:hover { background: rgba(191, 163, 111, 0.1); }

.engage-body {
    padding: 24px 28px 20px;
    border-top: 1px solid rgba(191, 163, 111, 0.12);
    text-align: left;
}

.lesson-section .engage-intro {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--vellum);
    opacity: 0.45;
    margin-bottom: 16px;
}

.engage-sub-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    opacity: 0.8;
    margin: 24px 0 12px 0;
    font-weight: 700;
}

.engage-sub-label:first-child {
    margin-top: 0;
}

.engage-body ol {
    font-size: 1rem;
    line-height: 1.78;
    padding-left: 22px;
    margin: 0;
    opacity: 0.88;
}

.engage-body ol li { margin-bottom: 12px; }

/* ── Footers ── */
.catalog-footer, .lesson-footer {
    text-align: center;
    padding: 90px 40px;
}

.lesson-footer { background: #1a1b1c; }
.catalog-footer { padding: 0 40px 80px; } /* Catalog footer override */

.conviction {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
    font-style: italic;
    opacity: 0.9;
}

.action-pairs {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

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

.pair-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--vellum);
    opacity: 0.45;
    margin-bottom: 10px;
}

.pair-main {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-desc {
    font-size: 0.95rem;
    opacity: 0.6;
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.65;
}
.back-link {
    display: inline-block;
    padding: 16px 44px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: 0.3s;
    text-align: center;
}

.back-link:hover {
    background: var(--gold);
    color: var(--olive);
    transform: scale(1.04);
}

.back-link.pending {
    opacity: 0.3;
    pointer-events: none;
    border-color: rgba(191, 163, 111, 0.2);
    filter: grayscale(1);
}

.footer-note {
    margin: 32px auto 0;
    font-size: 0.72rem;
    opacity: 0.3;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scripture-credit {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.7rem;
    opacity: 0.45;
    line-height: 1.7;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.scripture-credit a {
    color: inherit;
    text-decoration: underline;
    opacity: 0.8;
}

/* ── Responsive Queries ── */
@media (max-width: 768px) {
    /* Resource Bar */
    #resource-bar {
        padding: 0 20px;
        flex-wrap: wrap;
        height: auto;
        min-height: var(--bar-h);
        padding-top: 10px;
        padding-bottom: 10px;
        justify-content: center;
        gap: 10px;
    }
    
    .media-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Padding adjustments */
    .site-header { padding: 50px 20px 40px; }
    .hero { padding: 70px 20px 50px; }
    .lesson-section { padding: 50px 20px; }
    section { padding: 50px 20px; }
    .catalog { padding: 40px 20px 80px; }
    .catalog-footer, .lesson-footer { padding: 60px 20px; }
    .visual-strip { padding: 40px 20px; }
    
    /* Typography */
    h1, .hero h1, .site-header h1 { font-size: 2rem; }
    h2, .lesson-section h2 { font-size: 1.6rem; }
    .program-label, .course-label { font-size: 1.2rem; }
    .thesis, .site-header .tagline { font-size: 1rem; }
    p, .lesson-section p { font-size: 1rem; }
    .lesson-section .engage-intro { font-size: 0.65rem; }
    .conviction { font-size: 1.1rem; }
    
    /* Layouts */
    .action-triad { flex-direction: column; gap: 15px; }
    .action-pairs { flex-direction: column; gap: 30px; }
    
    .strip-grid { grid-template-columns: 1fr; }
    
    .course-toggle { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
    .course-toggle-right { width: 100%; justify-content: space-between; }
    
    .lesson-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
    .series-resources { flex-direction: column; align-items: flex-start; gap: 15px; padding: 20px; }
    
    /* Index specific */
    .chart-container { width: 100%; max-width: 100%; gap: 10px; justify-content: space-around; }
    .bar { width: 35%; }
    .bar::before { font-size: 1rem; }
    .phone-frame { width: 100%; max-width: 350px; margin: 0 auto; }
    
    /* Lightbox */
    #imgFull { max-width: 95% !important; max-height: 90vh !important; }
    
    /* Tables */
    .abide-table th, .abide-table td { padding: 10px; font-size: 0.9rem; }

    /* Footer Links */
    .back-link { margin-bottom: 10px; display: block; }
}