@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --navy: #0f172a;
    --navy-deep: #0a1228;
    --navy-mid: #162044;
    --gold: #d4a649;
    --gold-soft: #e7cb8a;
    --gold-muted: #c9973a;
    --warm-bg: #f8f7f4;
    --warm-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-light: #e2e0db;
    --border-subtle: #eae8e3;
    --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: var(--warm-bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

.af-serif { font-family: "Merriweather", Georgia, serif; }

.skip-link {
    position: absolute; left: 0.75rem; top: -5rem; z-index: 999;
    border-radius: 0.5rem; background: #fff; padding: 0.5rem 0.75rem;
    color: var(--navy); box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.skip-link:focus { top: 0.75rem; }

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


/* ═══════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════ */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--header-h);
    transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}

/* Default state on inner pages */
.site-header .site-header-bar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

/* Homepage hero state: transparent */
.site-header--hero .site-header-bar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
}

/* Homepage scrolled state: solid */
.site-header--hero.is-scrolled .site-header-bar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border-subtle);
    box-shadow: 0 1px 12px rgba(15,23,42,0.06);
}

.site-header-bar {
    transition: background 0.4s cubic-bezier(.4,0,.2,1),
                backdrop-filter 0.4s cubic-bezier(.4,0,.2,1),
                border-color 0.4s cubic-bezier(.4,0,.2,1),
                box-shadow 0.4s cubic-bezier(.4,0,.2,1);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

/* ── Brand Mark ── */

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1;
}

.site-brand-a,
.site-brand-f {
    font-family: "Merriweather", Georgia, serif;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--navy);
    transition: color 0.3s;
}

.site-brand-f {
    color: var(--gold);
}

.site-brand-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
    margin: 0 -3px;
    transition: background 0.3s;
}

.site-brand-full {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.site-brand-full em {
    font-style: normal;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero brand colors */
.site-header--hero:not(.is-scrolled) .site-brand-a { color: #f1f5f9; }
.site-header--hero:not(.is-scrolled) .site-brand-f { color: var(--gold); }
.site-header--hero:not(.is-scrolled) .site-brand-dot { background: var(--gold); }
.site-header--hero:not(.is-scrolled) .site-brand-full { color: rgba(241,245,249,0.9); }
.site-header--hero:not(.is-scrolled) .site-brand-full em { color: rgba(241,245,249,0.55); }

/* ── Logo Images ── */

.site-logo {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.35s;
}

/* Default (inner pages): show inner logo, hide homepage logo */
.site-logo-homepage { display: none; }
.site-logo-inner { display: block; }

/* Homepage hero (not scrolled): show homepage logo, hide inner logo */
.site-header--hero:not(.is-scrolled) .site-logo-homepage { display: block; }
.site-header--hero:not(.is-scrolled) .site-logo-inner { display: none; }

/* Homepage scrolled (sticky): show inner logo, hide homepage logo */
.site-header--hero.is-scrolled .site-logo-homepage { display: none; }
.site-header--hero.is-scrolled .site-logo-inner { display: block; }

/* ── Nav Links ── */

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.site-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    color: var(--navy);
}

.site-nav-link:hover::after {
    transform: scaleX(1);
}

.site-nav-link.is-active {
    color: var(--navy);
    font-weight: 600;
}

.site-nav-link.is-active::after {
    transform: scaleX(1);
}

/* Hero link colors */
.site-header--hero:not(.is-scrolled) .site-nav-link {
    color: rgba(241,245,249,0.7);
}
.site-header--hero:not(.is-scrolled) .site-nav-link:hover,
.site-header--hero:not(.is-scrolled) .site-nav-link:focus-visible {
    color: #fff;
}
.site-header--hero:not(.is-scrolled) .site-nav-link.is-active {
    color: #fff;
}
.site-header--hero:not(.is-scrolled) .site-nav-link::after {
    background: var(--gold-soft);
}

/* ── Mobile Toggle ── */

.site-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s, border-color 0.2s;
}

.site-menu-toggle svg { display: block; }
.site-menu-toggle .menu-icon-close { display: none; }
.site-menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.site-menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }

.site-header--hero:not(.is-scrolled) .site-menu-toggle {
    color: rgba(241,245,249,0.8);
    border-color: rgba(255,255,255,0.15);
}

/* ── Mobile Nav ── */

.site-mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    padding: 8px 0 12px;
    z-index: 199;
}

.site-mobile-nav.is-open { display: block; }

.site-mobile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: background 0.15s;
}

.site-mobile-link:hover { background: rgba(0,0,0,0.03); }

.site-mobile-link.is-active {
    color: var(--navy);
    font-weight: 600;
}

.site-mobile-link.is-active::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .site-nav-links { display: none; }
    .site-menu-toggle { display: flex; }
    .site-brand-full { display: none; }
}


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 38%, rgba(212,166,73,0.09) 0%, transparent 55%),
        linear-gradient(180deg, #1a2c53 0%, var(--navy) 55%, var(--navy-deep) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 80px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 140px 24px 100px;
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 14px;
    opacity: 0.4;
}

.hero h1 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    color: #f8fafc;
    letter-spacing: -0.025em;
}

.hero h1 .gold { color: var(--gold); }

.hero-sub {
    margin: 24px auto 0;
    max-width: 580px;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #b0bfd8;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Hero entrance animations ── */

.reveal-hero {
    opacity: 0;
    transform: translateY(24px);
}

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


/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px;
    padding: 12px 28px;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    border: none;
    cursor: pointer;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(212,166,73,0.25);
}
.btn-gold:hover {
    background: #e3ba5f;
    box-shadow: 0 4px 16px rgba(212,166,73,0.35);
    transform: translateY(-1px);
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.2);
    color: #d4dae8;
    background: transparent;
}
.btn-outline-light:hover {
    border-color: rgba(255,255,255,0.45);
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.btn-outline {
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--navy);
    background: rgba(0,0,0,0.02);
}


/* ═══════════════════════════════════════
   MISSION INTRO
   ═══════════════════════════════════════ */

.mission-intro {
    padding: 80px 0;
    background: var(--warm-card);
    border-bottom: 1px solid var(--border-subtle);
}

.mission-intro-inner {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
}

.mission-intro-line {
    width: 48px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.mission-intro h2 {
    margin: 0 0 20px;
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--navy);
}

.mission-intro p {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.mission-intro p:last-child { margin-bottom: 0; }


/* ═══════════════════════════════════════
   HOMEPAGE SECTION GRID
   ═══════════════════════════════════════ */

.home-sections {
    padding: 88px 0;
}

.home-sections-heading {
    text-align: center;
    margin-bottom: 52px;
}

.home-sections-heading h2 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
}

.home-sections-heading p {
    margin: 10px auto 0;
    max-width: 500px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.home-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) { .home-grid { grid-template-columns: 1fr; } }

.section-card {
    position: relative;
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 36px 32px;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
    transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1),
                border-color 0.3s,
                transform 0.3s cubic-bezier(.4,0,.2,1);
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

.section-card:hover {
    box-shadow: 0 12px 40px rgba(15,23,42,0.08);
    border-color: var(--border-light);
    transform: translateY(-3px);
}

.section-card:hover::before {
    width: 100%;
}

.section-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf6ee 0%, #f0eadb 100%);
    border: 1px solid #e6dece;
    color: var(--gold-muted);
    margin-bottom: 18px;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.section-card:hover .section-card-icon {
    transform: scale(1.05);
}

.section-card-icon svg {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.section-card h3 {
    margin: 0 0 8px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.section-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.section-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-muted);
    transition: gap 0.2s, color 0.2s;
}

.section-card:hover .section-card-arrow {
    color: var(--gold);
    gap: 10px;
}


/* ═══════════════════════════════════════
   QUOTE BANNER
   ═══════════════════════════════════════ */

.quote-banner {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212,166,73,0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 80px 0;
}

.quote-banner-inner {
    text-align: center;
    max-width: 660px;
    margin: 0 auto;
}

.quote-banner-icon {
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.4;
}

.quote-banner-icon svg {
    width: 32px; height: 32px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.quote-banner blockquote {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.3125rem;
    font-weight: 700;
    line-height: 1.55;
    color: #dfe6f0;
    font-style: italic;
}

.quote-banner cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-family: "Inter", sans-serif;
    font-size: 0.8125rem;
    color: #7b8fb0;
    font-weight: 500;
    letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════
   HOME LEARN PREVIEW
   ═══════════════════════════════════════ */

.home-learn-preview {
    padding: 88px 0;
    background: var(--warm-card);
    border-bottom: 1px solid var(--border-subtle);
}

.home-learn-preview-heading {
    text-align: center;
    margin-bottom: 48px;
}

.home-learn-preview-kicker {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.home-learn-preview-heading h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
}

.home-learn-preview-heading p {
    margin: 10px auto 0;
    max-width: 480px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.home-learn-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .home-learn-categories { grid-template-columns: 1fr; }
}

.home-learn-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 36px 28px;
    background: var(--warm-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1),
                border-color 0.3s,
                transform 0.3s cubic-bezier(.4,0,.2,1);
}

.home-learn-category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

.home-learn-category-card { position: relative; overflow: hidden; }

.home-learn-category-card:hover {
    box-shadow: 0 12px 40px rgba(15,23,42,0.08);
    border-color: var(--border-light);
    transform: translateY(-3px);
}

.home-learn-category-card:hover::before { width: 100%; }

.home-learn-category-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf6ee 0%, #f0eadb 100%);
    border: 1px solid #e6dece;
    color: var(--gold-muted);
    margin-bottom: 16px;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.home-learn-category-card:hover .home-learn-category-card-icon {
    transform: scale(1.05);
}

.home-learn-category-card-icon svg {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.home-learn-category-card-title {
    margin: 0 0 6px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.home-learn-category-card-count {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.home-learn-category-card-arrow {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-muted);
    transition: gap 0.2s, color 0.2s;
}

.home-learn-category-card:hover .home-learn-category-card-arrow {
    color: var(--gold);
}

.home-learn-preview-cta {
    text-align: center;
    margin-top: 40px;
}


/* ═══════════════════════════════════════
   HOME STORIES PREVIEW
   ═══════════════════════════════════════ */

.home-stories-preview {
    padding: 88px 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212,166,73,0.04) 0%, transparent 60%),
        var(--warm-bg);
}

.home-stories-heading {
    text-align: center;
    margin-bottom: 48px;
}

.home-stories-kicker {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.home-stories-heading h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
}

.home-stories-heading p {
    margin: 0 auto;
    max-width: 520px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.home-stories-grid {
    max-width: 1060px;
    margin: 0 auto;
}

.home-stories-cta {
    text-align: center;
    margin-top: 44px;
}


/* ═══════════════════════════════════════
   HOME ABOUT US
   ═══════════════════════════════════════ */

.home-about {
    padding: 88px 0;
    background: var(--warm-bg);
}

.home-about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

@media (max-width: 768px) {
    .home-about-layout { grid-template-columns: 1fr; gap: 32px; }
}

.home-about-kicker {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.home-about-text h2 {
    margin: 0 0 16px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
}

.home-about-text p {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.home-about-details h3 {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
}

.home-about-details ul {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.home-about-details ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.home-about-details ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.home-about-note {
    padding: 20px 24px;
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    margin-bottom: 28px;
}

.home-about-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}


/* ═══════════════════════════════════════
   HOME BOOKS BANNER
   ═══════════════════════════════════════ */

.home-books {
    background:
        radial-gradient(ellipse at 70% 50%, rgba(212,166,73,0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 80px 0;
}

.home-books-inner {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.home-books h2 {
    color: #fff;
    font-size: 1.75rem;
    margin: 0 0 16px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.home-books-icon {
    display: inline-flex;
    color: var(--gold);
    flex-shrink: 0;
}

.home-books-icon svg {
    width: 32px; height: 32px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.home-books p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 28px;
}


/* ═══════════════════════════════════════
   STORIES BLOG GRID
   ═══════════════════════════════════════ */

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 8px;
}

.story-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--warm-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 28px 26px 24px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(15,23,42,0.08), 0 2px 8px rgba(15,23,42,0.04);
    border-color: var(--border-subtle);
}

.story-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 14px 14px 0 0;
}

.story-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.story-card-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.story-card-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.story-card-title {
    margin: 0 0 10px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.075rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--navy);
}

.story-card:hover .story-card-title {
    color: var(--gold-muted);
}

.story-card-excerpt {
    margin: 0 0 18px;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.story-card-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--warm-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
}

.story-card-read {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.story-card-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-muted);
    transition: color 0.2s;
}

.story-card:hover .story-card-link {
    color: var(--gold);
}

.story-card-perspective {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 6px;
}

.story-card-perspective--franchisee {
    background: rgba(16,185,129,0.1);
    color: #059669;
}

.story-card-perspective--ceo {
    background: rgba(139,92,246,0.1);
    color: #7c3aed;
}

.story-card-profile {
    margin-bottom: 10px;
}

.story-card-profile-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy);
}

.story-card-profile-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.story-card-image {
    margin: -28px -26px 16px;
    overflow: hidden;
}

.story-card-image img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-card-image img {
    transform: scale(1.03);
}

.story-card--has-image .story-card-top {
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 560px) {
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .story-card {
        padding: 24px 20px 20px;
    }
    .story-card-image {
        margin: -24px -20px 14px;
    }
}


/* ═══════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════ */

.home-newsletter {
    padding: 80px 0;
    background:
        radial-gradient(ellipse at 60% 50%, rgba(212,166,73,0.07) 0%, transparent 55%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.home-newsletter-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.home-newsletter-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 8px;
    font-size: 1.625rem;
    font-weight: 700;
    color: #f8fafc;
}

.home-newsletter-icon {
    display: inline-flex;
    color: var(--gold);
    flex-shrink: 0;
}

.home-newsletter-icon svg {
    width: 32px; height: 32px;
    stroke: currentColor; fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.home-newsletter > .af-container > .home-newsletter-inner > p {
    margin: 0 0 28px;
    font-size: 1rem;
    color: #8b9cc0;
}

.home-newsletter-form {
    margin: 0;
}

.home-newsletter-field {
    display: flex;
    gap: 0;
    max-width: 460px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.home-newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.1);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 0.9375rem;
    font-family: inherit;
    background: rgba(255,255,255,0.07);
    color: #f1f5f9;
    transition: border-color 0.2s, background 0.2s;
}

.home-newsletter-input::placeholder {
    color: #6b7fa0;
}

.home-newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}

.home-newsletter-btn {
    flex-shrink: 0;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
    border-radius: 0 10px 10px 0;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.2s, box-shadow 0.2s;
}

.home-newsletter-btn:hover {
    background: #e3ba5f;
    border-color: #e3ba5f;
    box-shadow: 0 4px 16px rgba(212,166,73,0.3);
}

.home-newsletter-privacy {
    margin: 16px 0 0;
    font-size: 0.8125rem;
    color: #556580;
}

.home-newsletter-alert {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.home-newsletter-alert--success {
    background: rgba(34,197,94,0.12);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.2);
}

.home-newsletter-alert--error {
    background: rgba(239,68,68,0.12);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,0.2);
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 480px) {
    .home-newsletter-field {
        flex-direction: column;
        border-radius: 10px;
    }
    .home-newsletter-input {
        border-right: 2px solid rgba(255,255,255,0.1);
        border-radius: 10px 10px 0 0;
        border-bottom: none;
    }
    .home-newsletter-input:focus {
        border-right-color: var(--gold);
    }
    .home-newsletter-btn {
        border-radius: 0 0 10px 10px;
    }
}


/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(.23,1,.32,1),
                transform 0.6s cubic-bezier(.23,1,.32,1);
}

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

/* Stagger delays driven by data-delay attribute (set in JS) */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible,
    .reveal-hero,
    .reveal-hero.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ═══════════════════════════════════════
   PAGE HEADERS (inner pages)
   ═══════════════════════════════════════ */

.page-header {
    background:
        radial-gradient(ellipse at 50% 80%, rgba(212,166,73,0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 120px 0 56px;
    text-align: center;
}

.page-header-kicker {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.page-header h1 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.01em;
}

.page-header p {
    margin: 14px auto 0;
    max-width: 540px;
    font-size: 1rem;
    color: #a3b3cc;
    line-height: 1.65;
}


/* ═══════════════════════════════════════
   CAREER PATHS
   ═══════════════════════════════════════ */

.paths-grid {
    display: grid;
    gap: 24px;
    padding: 64px 0 80px;
}

.path-card {
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 640px) {
    .path-card { grid-template-columns: 1fr; padding: 28px; }
}

.path-card-number {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-family: "Merriweather", Georgia, serif;
    font-weight: 700; font-size: 1.125rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.path-card h2 {
    margin: 0 0 8px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.375rem; font-weight: 700; color: var(--navy);
}

.path-card p {
    margin: 0; color: var(--text-secondary);
    font-size: 0.9375rem; line-height: 1.7;
}

.path-card ul { margin: 12px 0 0; padding: 0; list-style: none; }

.path-card ul li {
    position: relative; padding-left: 20px; margin-bottom: 6px;
    color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6;
}

.path-card ul li::before {
    content: ''; position: absolute;
    left: 0; top: 10px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--gold);
}

/* Clickable path cards on index */
a.path-card--link {
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
a.path-card--link:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212,166,73,0.1);
}
a.path-card--link:hover .path-card-number {
    background: var(--gold);
    color: var(--navy);
}
.path-card-arrow {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-muted);
    transition: color 0.2s;
}
a.path-card--link:hover .path-card-arrow {
    color: var(--gold);
}

/* Career path detail page */
.career-path-body {
    max-width: 760px;
}

.career-path-section {
    margin-bottom: 36px;
}

.career-path-section h2 {
    margin: 0 0 14px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.career-path-section p {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.career-path-section ul {
    margin: 10px 0 14px;
    padding: 0;
    list-style: none;
}

.career-path-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.career-path-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.career-path-section ul li strong {
    color: var(--navy);
    font-weight: 600;
}

/* Resource links at bottom */
.career-path-resources {
    margin-top: 48px;
    padding: 32px;
    background: var(--warm-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.career-path-resources h3 {
    margin: 0 0 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.career-path-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.career-path-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.career-path-link:hover {
    border-color: var(--gold);
    box-shadow: 0 2px 12px rgba(212,166,73,0.1);
    color: var(--navy);
}

.career-path-link svg {
    color: var(--gold-muted);
    flex-shrink: 0;
}

@media (max-width: 560px) {
    .career-path-resources { padding: 24px 18px; }
}


/* ═══════════════════════════════════════
   MYTHS
   ═══════════════════════════════════════ */

.myths-grid { display: grid; gap: 16px; padding: 64px 0 80px; }

.myth-card {
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 36px;
}

.myth-label {
    display: inline-block;
    font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}

.myth-label--myth { background: #fef2f2; color: #b91c1c; }

.myth-card h3 {
    margin: 0 0 12px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.125rem; font-weight: 700; color: var(--navy);
}

.myth-divider {
    width: 40px; height: 2px; background: var(--gold);
    border: none; margin: 16px 0; border-radius: 1px;
}

.myth-reality-label {
    display: inline-block;
    font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 4px;
    background: #f0fdf4; color: #15803d; margin-bottom: 8px;
}

.myth-card p {
    margin: 0; font-size: 0.9375rem;
    color: var(--text-secondary); line-height: 1.7;
}


/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */

.about-content { padding: 64px 0 80px; max-width: 720px; margin: 0 auto; }

.about-content h2 {
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.375rem; font-weight: 700; color: var(--navy);
    margin: 40px 0 12px;
}
.about-content h2:first-child { margin-top: 0; }

.about-content p {
    margin: 0 0 16px; font-size: 0.9375rem;
    color: var(--text-secondary); line-height: 1.7;
}

.about-content ul { margin: 0 0 20px; padding: 0; list-style: none; }

.about-content ul li {
    position: relative; padding-left: 20px; margin-bottom: 8px;
    font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6;
}

.about-content ul li::before {
    content: ''; position: absolute;
    left: 0; top: 10px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--gold);
}

.about-values {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin: 32px 0;
}
@media (max-width: 640px) { .about-values { grid-template-columns: 1fr; } }

.about-value {
    text-align: center; padding: 28px 20px;
    background: linear-gradient(135deg, #faf6ee 0%, #f0eadb 100%);
    border: 1px solid #e6dece; border-radius: 10px;
}

.about-value h3 {
    margin: 0 0 4px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1rem; font-weight: 700; color: var(--navy);
}

.about-value p { margin: 0; font-size: 0.8125rem; color: var(--text-muted); }


/* ═══════════════════════════════════════
   CONTENT LIST / SHOW
   ═══════════════════════════════════════ */

.content-section { padding: 56px 0 80px; }

/* content search — now integrated into .content-filter-bar */

.content-list {
    display: flex; flex-direction: column; gap: 0;
    border: 1px solid var(--border-subtle); border-radius: 12px;
    overflow: hidden; background: var(--warm-card);
}

.content-row {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 24px; text-decoration: none;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.15s;
}
.content-row:last-child { border-bottom: none; }
.content-row:hover { background: #f8f7f4; }

.content-row-type {
    flex-shrink: 0; width: 64px; text-align: center;
    padding: 4px 0; border-radius: 6px;
    font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.03em; text-transform: uppercase;
}
.content-row-type-post { background: #f1f5f9; color: #475569; }
.content-row-type-youtube { background: #fef2f2; color: #dc2626; }
.content-row-type-video { background: #f5f3ff; color: #7c3aed; }
.content-row-type-pdf { background: #eff6ff; color: #2563eb; }

.content-row-body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}

.content-row-title {
    font-size: 1rem; font-weight: 600;
    color: var(--navy); line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.content-row:hover .content-row-title { color: var(--gold-muted); }

.content-row-meta {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.75rem; color: var(--text-muted);
}

.content-row-cat {
    padding: 1px 8px; border-radius: 9999px;
    border: 1px solid var(--border-light);
    font-size: 0.6875rem; font-weight: 500;
    color: var(--text-secondary);
}

.content-row-date { white-space: nowrap; }

.content-row-action {
    flex-shrink: 0; font-size: 0.8125rem; font-weight: 600;
    color: var(--gold-muted); white-space: nowrap;
}
.content-row:hover .content-row-action { color: var(--gold); }

@media (max-width: 640px) {
    .content-row { flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
    .content-row-type { width: auto; padding: 3px 10px; }
    .content-row-title { white-space: normal; }
    .content-row-action { width: 100%; }
}

.content-filter-bar { margin-bottom: 28px; }

.content-filter-bar-inner {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

.content-search-field {
    position: relative; flex: 1 1 200px; min-width: 160px;
}
.content-search-field .search-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none;
}
.content-search-field input {
    width: 100%; padding: 9px 12px 9px 36px;
    border: 1px solid var(--border-light); border-radius: 8px;
    font-size: 0.875rem; background: #fff; color: var(--text-primary);
}
.content-search-field input:focus {
    outline: none; border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}

.content-filter-select {
    padding: 9px 32px 9px 12px; border: 1px solid var(--border-light);
    border-radius: 8px; font-size: 0.875rem; background: #fff;
    color: var(--text-primary); cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.content-filter-select:focus {
    outline: none; border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}

.content-search-btn {
    padding: 9px 20px; background: var(--navy); color: #fff;
    border: none; border-radius: 8px; font-size: 0.875rem;
    font-weight: 600; cursor: pointer; white-space: nowrap;
}
.content-search-btn:hover { background: var(--navy-mid); }

.content-clear-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    font-size: 1.25rem; line-height: 1; text-decoration: none;
    color: var(--text-muted); border: 1px solid var(--border-light);
    background: #fff;
}
.content-clear-btn:hover {
    color: #dc2626; border-color: #fca5a5; background: #fef2f2;
}

@media (max-width: 640px) {
    .content-filter-bar-inner { flex-direction: column; align-items: stretch; }
    .content-search-field { flex: 1 1 100%; }
    .content-filter-select { width: 100%; }
    .content-search-btn { width: 100%; text-align: center; }
    .content-clear-btn { width: 100%; }
}

.content-empty {
    padding: 40px; text-align: center;
    background: var(--warm-card);
    border: 1px dashed var(--border-light); border-radius: 12px;
    color: var(--text-muted); font-size: 0.9375rem;
}

/* Lesson number in learn rows */
.content-row-num {
    flex-shrink: 0; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--warm-bg);
    font-size: 0.75rem; font-weight: 700; color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

/* Learn category sections */
.learn-category-section { margin-bottom: 48px; }
.learn-category-section:last-child { margin-bottom: 0; }

.learn-category-header {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-muted);
}

.learn-category-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.35rem; font-weight: 700; color: var(--navy);
    margin: 0; line-height: 1.3;
}

.learn-category-count {
    font-size: 0.8125rem; color: var(--text-muted);
    white-space: nowrap;
}

/* PDF intro card — stands out above the lesson list */
.learn-intro-card {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px; margin-bottom: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f4ff 100%);
    border: 1px solid #c7d8f0; border-radius: 12px;
    text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.learn-intro-card:hover {
    border-color: #93b4e0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.learn-intro-icon {
    flex-shrink: 0; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border-radius: 10px;
    color: #2563eb; border: 1px solid #c7d8f0;
}

.learn-intro-body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}

.learn-intro-label {
    font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #2563eb;
}

.learn-intro-title {
    font-size: 1rem; font-weight: 600; color: var(--navy);
    line-height: 1.35;
}

.learn-intro-excerpt {
    font-size: 0.8125rem; color: var(--text-muted);
    line-height: 1.4;
}

.learn-intro-action {
    flex-shrink: 0; font-size: 0.8125rem; font-weight: 600;
    color: #2563eb; white-space: nowrap;
}
.learn-intro-card:hover .learn-intro-action { color: #1d4ed8; }

@media (max-width: 640px) {
    .learn-intro-card { flex-wrap: wrap; gap: 12px; padding: 16px; }
    .learn-intro-icon { width: 40px; height: 40px; }
    .learn-intro-icon svg { width: 22px; height: 22px; }
    .learn-intro-action { width: 100%; }
    .learn-category-header { flex-direction: column; gap: 4px; }
}

/* Article hero (detail page top banner) */
.article-hero {
    background:
        radial-gradient(ellipse at 50% 80%, rgba(212,166,73,0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 120px 0 56px;
    text-align: center;
}

.article-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-hero-kicker {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 12px;
}

.article-hero-perspective {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 8px;
    margin-bottom: 14px;
}
.article-hero-perspective--franchisee {
    background: rgba(16,185,129,0.15);
    color: #6ee7b7;
}
.article-hero-perspective--ceo {
    background: rgba(139,92,246,0.15);
    color: #c4b5fd;
}

.article-hero-title {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.article-hero-excerpt {
    margin: 16px auto 0;
    max-width: 600px;
    font-size: 1.0625rem;
    color: #a3b3cc;
    line-height: 1.65;
}

.article-hero-profile {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding: 14px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}

.article-hero-profile-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
}

.article-hero-profile-meta {
    display: block;
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-top: 2px;
}

.article-hero-profile-date {
    font-size: 0.8125rem;
    color: #64748b;
    flex-shrink: 0;
}

@media (max-width: 560px) {
    .article-hero { padding: 100px 0 40px; }
    .article-hero-profile {
        flex-direction: column;
        gap: 6px;
        padding: 12px 18px;
    }
}

/* Article body wrap */
.article-wrap { max-width: 1020px; margin: 0 auto; padding: 40px 24px 80px; }

.article-body {
    margin-top: 32px; padding: 32px;
    background: var(--warm-card);
    border: 1px solid var(--border-subtle); border-radius: 12px;
    font-size: 0.9375rem; color: var(--text-primary); line-height: 1.8;
}

.article-body h2 {
    margin: 32px 0 12px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.article-body h3 {
    margin: 28px 0 10px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
}

.article-body h2:first-child,
.article-body h3:first-child {
    margin-top: 0;
}

.article-body p {
    margin: 0 0 16px;
}

.article-body ul,
.article-body ol {
    margin: 12px 0 20px;
    padding: 0;
    list-style: none;
}

.article-body ol {
    counter-reset: article-ol;
}

.article-body ul li,
.article-body ol li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.article-body ol li::before {
    counter-increment: article-ol;
    content: counter(article-ol) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gold);
}

.article-body ul li strong,
.article-body ol li strong {
    color: var(--navy);
    font-weight: 600;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--gold);
    background: rgba(212,166,73,0.06);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body iframe {
    width: 100%; aspect-ratio: 16 / 9;
    border-radius: 8px; border: none; margin: 24px 0;
}


/* ═══════════════════════════════════════
   STORY DETAIL
   ═══════════════════════════════════════ */

.story-detail-hero {
    margin: 0 0 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.story-detail-hero img {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.story-takeaway-box {
    margin-top: 32px;
    padding: 28px 28px 24px;
    background: linear-gradient(135deg, #fefce8 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-left: 4px solid var(--gold);
    border-radius: 12px;
}

.story-takeaway-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.story-takeaway-header svg {
    color: var(--gold-muted);
    flex-shrink: 0;
}

.story-takeaway-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.story-takeaway-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.story-takeaway-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

@media (max-width: 560px) {
    .story-takeaway-box {
        padding: 20px 18px 16px;
    }
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.site-footer {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #a3b3cc;
}

.site-footer-inner { padding: 56px 0 32px; }

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
}
@media (max-width: 768px) { .site-footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.site-footer-brand {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.25rem; font-weight: 700; color: #f1f5f9;
}
.site-footer-brand span { color: var(--gold); }

.site-footer-logo { max-height: 65px; width: auto; }

.site-footer-desc {
    margin: 12px 0 0; font-size: 0.875rem; line-height: 1.6; color: #8b9cc0;
}

.site-footer-yt {
    margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
    color: var(--gold); text-decoration: none; font-size: 0.875rem; font-weight: 600;
}
.site-footer-yt:hover { text-decoration: underline; }
.site-footer-yt svg {
    width: 16px; height: 16px; stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.site-footer-heading {
    margin: 0; font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: #e2e8f0;
}

.site-footer-links {
    margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px;
}
.site-footer-links a { color: #8b9cc0; text-decoration: none; font-size: 0.875rem; }
.site-footer-links a:hover { color: #e2e8f0; }

.site-footer-about-text {
    margin: 16px 0 0; font-size: 0.875rem; color: #8b9cc0; line-height: 1.6;
}

.site-footer-ext-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px;
}
.site-footer-ext-links .site-footer-domain { display: block; margin-top: 0; }
.site-footer-ext-links .site-footer-yt { display: flex; margin-top: 0; }

.site-footer-domain {
    display: inline-block; color: var(--gold);
    text-decoration: none; font-size: 0.875rem; font-weight: 500;
}
.site-footer-domain:hover { text-decoration: underline; }

.site-footer-operator {
    margin: 48px auto 20px;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #64748b;
	max-width: 70%;
}

.site-footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8125rem; color: #64748b;
}


/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */

.contact-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 64px 0 80px;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 40px 0 60px;
    }
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

a.contact-card:hover {
    border-color: var(--border-light);
    box-shadow: 0 4px 16px rgba(15,23,42,0.06);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold);
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card-body {
    flex: 1;
    min-width: 0;
}

.contact-card-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-card-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

a.contact-card .contact-card-value {
    color: var(--navy);
}

a.contact-card:hover .contact-card-value {
    color: var(--gold-muted);
}

.contact-form-wrap {
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
}

.contact-form-wrap h2 {
    margin: 0 0 4px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.contact-form-wrap p {
    margin: 0 0 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-form-group {
    margin-bottom: 16px;
}

.contact-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}

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

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 28px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-form-submit:hover {
    background: #e3ba5f;
    box-shadow: 0 4px 16px rgba(212,166,73,0.35);
    transform: translateY(-1px);
}


/* ═══════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════ */

.auth-page {
    max-width: 480px;
    margin: 0 auto;
    padding: 48px 0 80px;
}

.auth-card {
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px;
}

.auth-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    color: var(--gold-muted);
    text-decoration: underline;
}

.auth-field-error {
    margin: 6px 0 0;
    font-size: 0.8125rem;
    color: #b91c1c;
}

.contact-form-input-error {
    border-color: #fca5a5;
}

.contact-form-input-error:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185,28,28,0.08);
}

/* Password strength checker */
.pw-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.pw-strength-bar {
    flex: 1;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
}

.pw-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s ease, background 0.3s ease;
}

.pw-strength-label {
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 48px;
    text-align: right;
    transition: color 0.3s ease;
}

.pw-requirements {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}

.pw-requirements li {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.pw-requirements li .pw-req-icon {
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
    color: #b91c1c;
    transition: color 0.2s ease;
}

.pw-requirements li.pw-req-met {
    color: #16a34a;
}

.pw-requirements li.pw-req-met .pw-req-icon {
    color: #16a34a;
}

.pw-match-msg {
    margin: 6px 0 0;
    font-size: 0.8125rem;
    font-weight: 500;
}

.pw-match-yes {
    color: #16a34a;
}

.pw-match-no {
    color: #b91c1c;
}


/* ═══════════════════════════════════════
   MEMBER DASHBOARD
   ═══════════════════════════════════════ */

.member-dashboard {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 0 80px;
}

.member-section {
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}

.member-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.member-section-header h2 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.member-empty {
    padding: 48px 24px;
    text-align: center;
}

.member-empty p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.member-stories-list {
    display: flex;
    flex-direction: column;
}

.member-story-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.member-story-row:last-child { border-bottom: none; }

.member-story-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.member-story-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
}

.member-story-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.member-story-status {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.member-story-status--draft {
    background: #fefce8;
    color: #a16207;
}

.member-story-status--published {
    background: #f0fdf4;
    color: #15803d;
}

@media (max-width: 640px) {
    .member-section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .member-story-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* ═══════════════════════════════════════
   LEGACY COMPAT
   ═══════════════════════════════════════ */

.nav-link {
    border-radius: 6px; padding: 4px 10px;
    color: var(--text-secondary); font-size: 0.875rem; text-decoration: none;
}
.nav-link:hover, .nav-link:focus-visible {
    background: rgba(0,0,0,0.05); color: var(--navy);
}

/* ═══════════════════════════════════════
   EVENTS & TRAINING
   ═══════════════════════════════════════ */

/* Listing page */
.events-type-group {
    margin-bottom: 48px;
}

.events-type-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-muted);
}

.events-type-header svg {
    color: var(--gold);
    flex-shrink: 0;
}

.events-type-header h2 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

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

@media (max-width: 900px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .events-grid { grid-template-columns: 1fr; } }

.event-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212,166,73,0.1);
}

.event-card-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 10px;
}

.event-card-type svg { color: var(--gold); }

.event-card-title {
    margin: 0 0 10px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.event-card:hover .event-card-title { color: var(--gold); }

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.event-card-desc {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.event-card-price {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
}

.event-card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-muted);
    transition: color 0.2s;
}

.event-card:hover .event-card-link { color: var(--gold); }

.events-empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted);
}

.events-empty svg {
    color: var(--border-subtle);
    margin: 0 auto 16px;
}

.events-empty h3 {
    margin: 0 0 8px;
    font-size: 1.125rem;
    color: var(--navy);
}

.events-empty p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.events-note {
    margin-top: 48px;
    padding: 24px 28px;
    background: var(--warm-bg);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
}

.events-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Detail page */
.event-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 40px 0 60px;
}

@media (max-width: 768px) {
    .event-detail { grid-template-columns: 1fr; gap: 32px; }
}

.event-info-card {
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.event-info-row svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.event-info-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.event-info-value {
    display: block;
    font-size: 0.9375rem;
    color: var(--navy);
    font-weight: 500;
    margin-top: 2px;
}

.event-description {
    margin-top: 28px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.event-sidebar-card {
    background: var(--warm-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 28px;
}

.event-sidebar-card h3 {
    margin: 0 0 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
}

.event-sidebar-card p {
    margin: 0 0 18px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.event-external-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Registration form */
.event-reg-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.event-reg-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.event-reg-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--navy);
    background: #fff;
    transition: border-color 0.2s;
}

.event-reg-field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,166,73,0.12);
}

.event-reg-full {
    margin: 8px 0 0;
    padding: 10px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #92400e;
}


.alert-success {
    background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d;
    padding: 12px 20px; border-radius: 8px; margin-bottom: 20px; font-size: 0.875rem;
}

.alert-error {
    background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
    padding: 12px 20px; border-radius: 8px; margin-bottom: 20px; font-size: 0.875rem;
}

/* ═══════════════════════════════════════
   GLOBAL RESPONSIVE — TABLET
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
    .mission-intro { padding: 56px 0; }
    .home-sections { padding: 56px 0; }
    .home-sections-heading { margin-bottom: 32px; }
    .quote-banner { padding: 56px 0; }
    .home-learn-preview { padding: 56px 0; }
    .home-learn-preview-heading { margin-bottom: 32px; }
    .home-stories-preview { padding: 56px 0; }
    .home-stories-heading { margin-bottom: 32px; }
    .home-about { padding: 56px 0; }
    .home-books { padding: 56px 0; }
    .home-newsletter { padding: 56px 0; }
    .content-section { padding: 40px 0 56px; }
    .paths-grid { padding: 40px 0 56px; }
    .myths-grid { padding: 40px 0 56px; }
    .about-content { padding: 40px 0 56px; }
    .contact-form-wrap { padding: 24px; }
}

/* ═══════════════════════════════════════
   GLOBAL RESPONSIVE — MOBILE
   ═══════════════════════════════════════ */

@media (max-width: 480px) {
    .hero-content { padding: 110px 20px 72px; }
    .mission-intro { padding: 40px 0; }
    .home-sections { padding: 40px 0; }
    .quote-banner { padding: 40px 0; }
    .home-learn-preview { padding: 40px 0; }
    .home-stories-preview { padding: 40px 0; }
    .home-about { padding: 40px 0; }
    .home-books { padding: 40px 0; }
    .home-books h2 { font-size: 1.5rem; }
    .home-newsletter { padding: 40px 0; }
    .page-header { padding: 100px 0 36px; }
    .article-hero { padding: 100px 0 36px; }
    .content-section { padding: 28px 0 48px; }
    .section-card { padding: 28px 22px; }
    .pw-requirements { grid-template-columns: 1fr; }
    .event-detail { padding: 28px 0 48px; }
    .contact-form-wrap { padding: 20px 16px; }
    .myth-card { padding: 24px 20px; }
    .about-content h2 { margin-top: 28px; }
    .quote-banner blockquote { font-size: 1.125rem; }
    .auth-page { padding: 32px 0 56px; }
    .auth-card { padding: 24px 18px; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
