/* ===================================================
   Cloak & Quill Research — Main Stylesheet
   Design: Scientific institution / research journal
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600&family=Inconsolata:wght@400;500&display=swap');

:root {
  --green-deep:    #163B2A;
  --green-mid:     #1E5038;
  --green-light:   #2D7A54;
  --green-pale:    #C8DDD4;
  --gold:          #B8903A;
  --gold-light:    #D4AA5A;
  --cream:         #FAF6EE;
  --cream-mid:     #F0EAD8;
  --cream-dark:    #E5DCC8;
  --charcoal:      #1E1E1E;
  --ink:           #2C2C2C;
  --ink-mid:       #4A4A4A;
  --ink-light:     #767676;
  --white:         #FFFFFF;
  --rule:          rgba(30,80,56,0.18);
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Source Sans 3', sans-serif;
  --font-mono:     'Inconsolata', monospace;
  --max-w:         1160px;
  --nav-h:         72px;
  --radius:        4px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.16);
  --transition:    0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--cream); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.15; color: var(--green-deep); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
p { color: var(--ink-mid); max-width: 68ch; }

.label { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: rgba(250,246,238,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); z-index: 100; transition: box-shadow var(--transition); }
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--green-deep); letter-spacing: 0.01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--ink-mid); padding: 6px 12px; border-radius: var(--radius); transition: color var(--transition), background var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--green-deep); background: var(--green-pale); }
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.7em; opacity: 0.6; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-4px); background: var(--white); border: 1px solid var(--rule); border-radius: 8px; box-shadow: var(--shadow-md); padding: 8px; min-width: 220px; opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 8px 14px; font-size: 0.85rem; color: var(--ink-mid); border-radius: 4px; transition: background var(--transition), color var(--transition); }
.dropdown-menu a:hover { background: var(--cream); color: var(--green-mid); }
.dropdown-badge { display: inline-block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; background: var(--green-pale); color: var(--green-mid); padding: 1px 6px; border-radius: 20px; margin-left: 6px; vertical-align: middle; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--green-deep); border-radius: 2px; transition: var(--transition); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); white-space: nowrap; letter-spacing: 0.01em; }
.btn-primary { background: var(--green-mid); color: var(--white); border-color: var(--green-mid); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--green-mid); border-color: var(--green-mid); }
.btn-outline:hover { background: var(--green-mid); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* HERO */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; background: var(--green-deep); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 30% 40%, rgba(45,122,84,0.35) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 85% 20%, rgba(184,144,58,0.12) 0%, transparent 50%), linear-gradient(160deg, #0E2A1D 0%, #163B2A 40%, #1E5038 80%, #163B2A 100%); }
.hero-pattern { position: absolute; inset: 0; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3Ccircle cx='0' cy='0' r='1.5'/%3E%3Ccircle cx='60' cy='0' r='1.5'/%3E%3Ccircle cx='0' cy='60' r='1.5'/%3E%3Ccircle cx='60' cy='60' r='1.5'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.hero-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold-light); }
.hero h1 { color: var(--white); margin-bottom: 24px; font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.72); max-width: 58ch; margin-bottom: 40px; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* STATS BAR */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--rule); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.stat-item { padding: 36px 24px; text-align: center; border-right: 1px solid var(--rule); }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--green-mid); line-height: 1; display: block; margin-bottom: 6px; }
.stat-label { font-size: 0.8rem; color: var(--ink-light); font-weight: 500; letter-spacing: 0.04em; }

/* VALUE PROPS */
.value-props { background: var(--cream); border-bottom: 1px solid var(--rule); }
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.prop-item { padding: 56px 40px; border-right: 1px solid var(--rule); transition: background var(--transition); }
.prop-item:last-child { border-right: none; }
.prop-item:hover { background: var(--cream-mid); }
.prop-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 20px; }
.prop-item h3 { font-size: 1.4rem; margin-bottom: 14px; }
.prop-item p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.prop-link { font-size: 0.82rem; font-weight: 600; color: var(--green-mid); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.prop-link:hover { gap: 10px; }
.prop-link::after { content: '→'; }

/* SECTION HEADERS */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* PLATFORM CARDS */
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform-card { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 32px; transition: all var(--transition); position: relative; overflow: hidden; }
.platform-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green-mid); opacity: 0; transition: opacity var(--transition); }
.platform-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--green-pale); }
.platform-card:hover::before { opacity: 1; }
.platform-card.featured::before { opacity: 1; background: var(--gold); }
.card-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 20px; }
.status-active { background: rgba(45,122,84,0.12); color: var(--green-mid); }
.status-active::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); display: block; animation: pulse 2s infinite; }
.status-dev { background: rgba(184,144,58,0.12); color: var(--gold); }
.status-soon { background: rgba(118,118,118,0.1); color: var(--ink-light); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.platform-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.platform-card p { font-size: 0.9rem; line-height: 1.65; margin-bottom: 24px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--green-pale); color: var(--green-mid); }

/* EMAIL SIGNUP */
.signup-section { background: var(--green-deep); padding: 80px 0; position: relative; overflow: hidden; }
.signup-section::before { content: ''; position: absolute; top: -40%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(45,122,84,0.3) 0%, transparent 70%); pointer-events: none; }
.signup-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.signup-inner h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.signup-inner > p { color: rgba(255,255,255,0.7); margin: 0 auto 32px; }
.signup-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.signup-form input { flex: 1; padding: 13px 18px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); background: rgba(255,255,255,0.1); color: var(--white); font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: border-color var(--transition), background var(--transition); }
.signup-form input::placeholder { color: rgba(255,255,255,0.45); }
.signup-form input:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.15); }
.signup-note { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 12px; text-align: center; }

/* MISSION */
.mission-section { background: var(--cream-mid); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.mission-text h2 { margin-bottom: 20px; }
.mission-text p { margin-bottom: 20px; }
.mission-values { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--white); }
.value-row { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border-bottom: 1px solid var(--rule); transition: background var(--transition); }
.value-row:last-child { border-bottom: none; }
.value-row:hover { background: var(--cream); }
.value-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); font-weight: 600; flex-shrink: 0; padding-top: 3px; letter-spacing: 0.05em; }
.value-row h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--green-deep); }
.value-row p { font-size: 0.84rem; max-width: 100%; margin: 0; }

/* PAGE HEADER (inner pages) */
.page-header { background: var(--cream-mid); padding: 100px 0 56px; border-bottom: 1px solid var(--rule); }
.page-header .label { margin-bottom: 14px; }
.page-header h1 { margin-bottom: 16px; }
.page-header p { font-size: 1.05rem; max-width: 62ch; }

/* BREADCRUMB */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--ink-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--green-mid); }
.breadcrumb a:hover { color: var(--green-deep); }

/* PLATFORM HERO */
.platform-hero { background: var(--green-deep); padding: 120px 0 80px; position: relative; overflow: hidden; }
.platform-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(45,122,84,0.25) 0%, transparent 60%); }
.platform-hero-inner { position: relative; z-index: 2; }
.platform-hero h1 { color: var(--white); margin-bottom: 16px; }
.platform-hero .hero-sub { color: rgba(255,255,255,0.72); margin-bottom: 32px; }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-check { width: 24px; height: 24px; border-radius: 50%; background: var(--green-pale); color: var(--green-mid); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; margin-top: 2px; font-weight: 700; }
.feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--green-deep); }
.feature-item p { font-size: 0.85rem; max-width: 100%; margin: 0; }

/* CTA BOX */
.cta-box { background: var(--green-deep); border-radius: 12px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(45,122,84,0.4) 0%, transparent 60%); }
.cta-box-inner { position: relative; z-index: 2; }
.cta-box h2 { color: var(--white); margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,0.72); margin: 0 auto 32px; }
.cta-box .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* FORMS */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--cream-dark); border-radius: var(--radius); background: var(--white); font-family: var(--font-body); font-size: 0.92rem; color: var(--ink); outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(45,122,84,0.1); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-success { display: none; background: rgba(45,122,84,0.1); border: 1px solid var(--green-pale); border-radius: var(--radius); padding: 16px 20px; color: var(--green-deep); font-size: 0.9rem; margin-top: 16px; }

/* DONATE */
.giving-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.giving-level { background: var(--white); border: 2px solid var(--rule); border-radius: 8px; padding: 28px 20px; text-align: center; cursor: pointer; transition: all var(--transition); }
.giving-level:hover, .giving-level.selected { border-color: var(--green-mid); background: rgba(45,122,84,0.04); }
.giving-level.featured { border-color: var(--gold); background: rgba(184,144,58,0.04); }
.giving-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--green-mid); margin-bottom: 8px; }
.giving-label { font-size: 0.8rem; color: var(--ink-light); font-weight: 500; }
.giving-impact { font-size: 0.82rem; color: var(--ink-mid); margin-top: 12px; line-height: 1.5; }

/* BIO */
.bio-card { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 40px; }
.bio-photo { width: 200px; height: 200px; border-radius: 8px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 4rem; flex-shrink: 0; }
.bio-content .label { margin-bottom: 8px; }
.bio-content h3 { font-size: 1.8rem; margin-bottom: 6px; }
.bio-title { font-size: 0.9rem; color: var(--ink-light); margin-bottom: 20px; }
.bio-expertise { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* INFO ROWS */
.info-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 0.9rem; }
.info-row:last-child { border-bottom: none; }
.info-key { font-weight: 600; color: var(--ink); }
.info-val { color: var(--ink-mid); }

/* KINGDOMS */
.kingdoms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.kingdom-card { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 28px 24px; text-align: center; transition: all var(--transition); }
.kingdom-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-pale); transform: translateY(-2px); }
.kingdom-icon { font-size: 2rem; margin-bottom: 14px; }
.kingdom-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.kingdom-card .stat-value { font-size: 1.6rem; margin-bottom: 4px; }
.kingdom-card p { font-size: 0.84rem; max-width: 100%; margin: 0 auto; }

/* EDUCATION */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.course-card { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 28px; transition: all var(--transition); }
.course-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-pale); transform: translateY(-2px); }
.course-level { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.course-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.course-card p { font-size: 0.88rem; margin-bottom: 16px; }
.course-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--ink-light); }

/* FOOTER */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.65); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .nav-logo-text { color: var(--white); font-size: 1.2rem; }
.footer-tagline { font-size: 0.86rem; color: rgba(255,255,255,0.5); margin-top: 12px; margin-bottom: 20px; max-width: 30ch; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 8px 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-pale); }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; font-family: var(--font-body); }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); max-width: 100%; }
.footer-bottom a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }
.footer-ein { font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* UTILITY */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; } .items-start { align-items: flex-start; } .gap-32 { gap: 32px; }
.inline-badge { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--green-pale); color: var(--green-mid); vertical-align: middle; margin-left: 8px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .kingdoms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .giving-levels { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav.mobile-open .nav-links {
    display: flex; flex-direction: column; position: fixed;
    top: var(--nav-h); left: 0; right: 0; background: var(--cream);
    padding: 20px; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-md); z-index: 99; gap: 4px;
  }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .props-grid { grid-template-columns: 1fr; }
  .prop-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .prop-item:last-child { border-bottom: none; }
  .platforms-grid { grid-template-columns: 1fr; }
  .kingdoms-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .bio-card { grid-template-columns: 1fr; text-align: center; }
  .bio-photo { margin: 0 auto; }
  .bio-expertise { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .giving-levels { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .signup-form { flex-direction: column; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 40px 24px; }
  .cta-box .ctas { flex-direction: column; align-items: center; }
  h1 { font-size: 2.2rem; } h2 { font-size: 1.8rem; }
}
