/* ============================================================
   VIGILANT MAMA — vm-theme.css (2026-11-16)
   One clean black-and-white layout for every public page.
   Loaded LAST on each page; overrides the older dark/beige/gold styles.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@600;700;800&display=swap');

:root {
  --vm-ink: #0a0a0a;
  --vm-text: #111111;
  --vm-gray: #555555;
  --vm-line: #e3e3e3;
  --vm-soft: #f5f5f5;
  --vm-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --vm-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  /* remap legacy tokens */
  --color-bg: #fff; --color-surface: #fff; --color-surface-2: #fff;
  --color-gold: #111; --color-gold-light: #333; --color-cream: #111;
  --color-text: #111; --color-muted: #555; --color-border: #e3e3e3;
  --font-serif: var(--vm-display); --font-sans: var(--vm-sans);
  --max-w: 1120px;
}

/* ---------- 1. Global reset of legacy colors ---------- */
html, body { background: #fff !important; color: var(--vm-text) !important; }
html { overflow-x: hidden; }
body { font-family: var(--vm-sans) !important; overflow-x: hidden; line-height: 1.65; }
body :where(*:not(svg, path, img, video)) {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border-color: var(--vm-line) !important;
  color: var(--vm-text) !important;
  font-family: inherit !important;
}
body img, body video { box-shadow: none !important; border-color: var(--vm-line) !important; }
html body h1, html body h2, html body h3, html body h4, html body h5,
html body .bio-name, html body .footer-logo {
  font-family: var(--vm-display) !important;
  color: var(--vm-ink) !important;
  letter-spacing: -0.02em;
  font-weight: 700;
  font-style: normal;
}
html body h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.08; }
html body h2 { font-size: clamp(1.55rem, 4vw, 2.35rem); line-height: 1.15; }
html body h3 { font-size: clamp(1.15rem, 2.6vw, 1.45rem); line-height: 1.25; }
html body p, html body li, html body dd, html body label { color: var(--vm-text) !important; }
html body .muted, html body figcaption, html body .form-note, html body .program-note,
html body .journal-gallery-caption, html body .vm-hero-video-caption span,
html body .registration-privacy, html body .pickup-help, html body .materials-intro { color: var(--vm-gray) !important; }
html body [hidden] { display: none !important; }
html body main a:not(.btn):not(.vm-btn) { color: var(--vm-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
html body .container { max-width: var(--max-w); padding-left: 20px; padding-right: 20px; margin-left: auto; margin-right: auto; }
html body img { max-width: 100%; height: auto; }
html body input[type="checkbox"], html body input[type="radio"] { accent-color: #000 !important; }

/* Eyebrows, badges, dividers */
html body .program-eyebrow, html body .testimony-eyebrow, html body .vm-hero-eyebrow, html body .pillar-leader-badge,
html body .vm-route-badge, html body .vm-eyebrow {
  display: inline-block; font-size: .74rem !important; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--vm-gray) !important; margin-bottom: .6rem;
}
html body .divider, html body .registration-rule { background-color: #000 !important; width: 48px; height: 2px; border: 0; margin: 1rem auto 1.25rem; }
html body .text-left .divider, html body .registration-intro .registration-rule { margin-left: 0; }

/* ---------- 2. Buttons ---------- */
html body .btn, html body .vm-btn, html body button[type="submit"], html body .testimony-submit,
html body .btn-primary, html body .btn-olive, html body .vm-video-sound-btn, html body .nav-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background-color: #000 !important; color: #fff !important; border: 1px solid #000 !important;
  border-radius: 2px !important; padding: .85rem 1.5rem; min-height: 48px;
  font-family: var(--vm-sans) !important; font-weight: 600; font-size: .92rem; letter-spacing: .04em;
  text-transform: none; text-decoration: none !important; cursor: pointer; text-align: center; line-height: 1.25;
  transition: background-color .2s ease, color .2s ease;
}
html body .btn *, html body .vm-btn *, html body button[type="submit"] * { color: inherit !important; }
html body .btn:hover, html body .btn-primary:hover, html body .vm-btn:hover, html body button[type="submit"]:hover {
  background-color: #2a2a2a !important; color: #fff !important;
}
html body .btn-outline, html body .vm-btn-outline {
  background-color: #fff !important; color: #000 !important; border: 1px solid #000 !important;
}
html body .btn-outline:hover, html body .vm-btn-outline:hover { background-color: #000 !important; color: #fff !important; }
html body .btn[disabled], html body button[disabled], html body .btn[aria-disabled="true"] { opacity: .45 !important; cursor: not-allowed !important; }
html body .btn:focus-visible, html body a:focus-visible, html body button:focus-visible,
html body input:focus-visible, html body select:focus-visible, html body textarea:focus-visible {
  outline: 2px solid #000 !important; outline-offset: 3px;
}

/* ---------- 3. Forms ---------- */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html body select, html body textarea {
  background-color: #fff !important; color: #111 !important; border: 1px solid #8a8a8a !important;
  border-radius: 2px !important; padding: .75rem .85rem; font-size: 1rem; width: 100%; max-width: 100%;
}
html body input:focus, html body select:focus, html body textarea:focus { border-color: #000 !important; }
html body label { font-weight: 600; }
html body .field-error, html body [data-error-for], html body .form-error-summary, html body .testimony-alert,
html body .vm-field-error { color: #b00020 !important; font-weight: 600; }
html body .form-error-summary, html body .testimony-alert, html body .vm-error-summary {
  border: 1px solid #b00020 !important; padding: .85rem 1rem; border-radius: 2px;
}
html body [aria-invalid="true"] { border-color: #b00020 !important; }
html body .registration-honeypot, html body .testimony-honeypot, html body .vm-honeypot {
  position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden;
}

/* ---------- 4. Cards ---------- */
html body .vm-mission-card, html body .pillar-leader-card, html body .pillar-commitment-card, html body .vm-event-card,
html body .vm-route-card, html body .workbook-purchase-card, html body .registration-card, html body .testimony-card,
html body .journal-details-card, html body .director-role-card, html body .leadership-standard-card, html body .program-product,
html body .vm-media-card, html body .prayer-disclaimer-card, html body .week-card, html body .video-card,
html body .registration-success, html body .workbook-order-summary, html body .vm-card, html body .journal-optional-banner,
html body .pickup-choice, html body .product-card, html body .give-card, html body .contact-card {
  background-color: #fff !important; border: 1px solid var(--vm-line) !important; border-radius: 4px !important;
}
html body .pillar-scripture-box, html body .vm-hero-scripture, html body .testimony-scripture {
  border-left: 3px solid #000 !important; border-top: 0 !important; border-right: 0 !important; border-bottom: 0 !important;
  padding: .25rem 0 .25rem 1rem; margin: 1rem 0; font-style: normal;
}
html body .vm-event-date-pill {
  display: inline-block; background-color: #000 !important; color: #fff !important; font-size: .75rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 2px;
}
html body .journal-thumb-btn { border: 1px solid var(--vm-line) !important; }
html body .journal-thumb-btn.active, html body .journal-thumb-btn[aria-pressed="true"] { border: 2px solid #000 !important; }
html body dialog { background-color: #fff !important; border: 1px solid #000 !important; border-radius: 4px; max-width: min(560px, calc(100vw - 32px)); }
html body dialog::backdrop { background: rgba(0, 0, 0, .55); }
html body .skip-link:focus { background-color: #000 !important; color: #fff !important; }

/* Sections: white with hairline separators */
html body main > section, html body main > header { border-top: 1px solid var(--vm-line) !important; }
html body main > :first-child { border-top: 0 !important; }
html body .section { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }

/* ---------- 5. Announcement + header + menu ---------- */
html body .vm-announce {
  background-color: #000 !important; color: #fff !important; text-align: center; font-size: .82rem;
  padding: .55rem 16px; letter-spacing: .02em; line-height: 1.5;
}
html body .vm-announce * { color: #fff !important; }
html body .vm-announce a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; white-space: nowrap; }
html body .vm-header {
  position: sticky; top: 0; z-index: 1000; background-color: #fff !important;
  border-bottom: 1px solid var(--vm-line) !important;
}
html body .vm-header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 20px; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative;
}
html body .vm-logo {
  font-family: var(--vm-display) !important; font-weight: 800; font-size: 1.15rem; letter-spacing: .14em;
  text-transform: uppercase; color: #000 !important; text-decoration: none !important; white-space: nowrap;
}
html body .vm-menu-btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .9rem;
  background-color: #fff !important; color: #000 !important; border: 1px solid #000 !important; border-radius: 2px;
  font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
html body .vm-bars { display: inline-flex; flex-direction: column; gap: 4px; }
html body .vm-bars i { display: block; width: 18px; height: 2px; background-color: #000 !important; transition: transform .2s ease, opacity .2s ease; }
html body .vm-menu-btn[aria-expanded="true"] .vm-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
html body .vm-menu-btn[aria-expanded="true"] .vm-bars i:nth-child(2) { opacity: 0; }
html body .vm-menu-btn[aria-expanded="true"] .vm-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
html body .vm-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background-color: #fff !important; border-bottom: 1px solid #000 !important; border-top: 1px solid var(--vm-line) !important;
  max-height: calc(100vh - 110px); overflow-y: auto;
}
html body .vm-menu.open { display: block; }
html body .vm-menu ul { list-style: none; margin: 0; padding: .5rem 20px 1rem; counter-reset: none; }
html body .vm-menu li { border-bottom: 1px solid var(--vm-line) !important; }
html body .vm-menu li:last-child { border-bottom: 0 !important; }
html body .vm-menu a {
  display: block; padding: .95rem .25rem; font-size: 1.02rem; font-weight: 600; color: #000 !important;
  text-decoration: none !important;
}
html body .vm-menu a[aria-current="page"] { text-decoration: underline !important; text-underline-offset: 6px; text-decoration-thickness: 2px !important; }
@media (min-width: 1440px) {
  html body .vm-menu-btn { display: none; }
  html body .vm-menu { display: block; position: static; border: 0 !important; max-height: none; overflow: visible; }
  html body .vm-menu ul { display: flex; align-items: center; gap: 1.35rem; padding: 0; }
  html body .vm-menu li { border: 0 !important; }
  html body .vm-menu a { padding: .4rem 0; font-size: .86rem; white-space: nowrap; }
  html body .vm-menu a:hover { text-decoration: underline !important; text-underline-offset: 6px; }
}

/* ---------- 6. Footer ---------- */
html body .vm-footer { border-top: 1px solid #000 !important; padding: 3rem 0 2.5rem; text-align: center; background-color: #fff !important; }
html body .vm-footer p { margin: .35rem 0; font-size: .88rem; color: var(--vm-gray) !important; }
html body .vm-footer .vm-footer-logo { font-family: var(--vm-display) !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 1.05rem; color: #000 !important; }
html body .vm-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; margin: 1rem 0; }
html body .vm-footer a { color: #000 !important; font-size: .88rem; text-decoration: none; }
html body .vm-footer a:hover { text-decoration: underline; }

/* ---------- 7. Shared page layouts ---------- */
html body .vm-page-hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem); text-align: center; }
html body .vm-page-hero .vm-lead { max-width: 720px; margin: 0 auto; font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: #333 !important; }
html body .vm-narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
html body .vm-center { text-align: center; }
html body .vm-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
html body .vm-center .vm-actions, html body .vm-actions.vm-center { justify-content: center; }
html body .vm-scripture-ref { display: block; margin-top: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vm-gray) !important; }

/* Home hero */
html body .vm-home-hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); }
html body .vm-home-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { html body .vm-home-hero-grid { grid-template-columns: 1.15fr .85fr; } }
html body .vm-home-hero h1 { margin-bottom: 1.5rem; }
html body .vm-home-hero h1.vm-welcome-heading { text-align: center; }
html body .vm-mission h2 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); margin-bottom: .6rem; }
html body .vm-mission p { font-size: clamp(1.02rem, 2vw, 1.12rem); }
html body .vm-hero-video-card video { width: 100%; height: auto; display: block; border: 1px solid #000 !important; background-color: #000 !important; }
html body .vm-hero-video-wrap { position: relative; }
html body .vm-video-sound-btn { position: absolute; left: 12px; bottom: 12px; min-height: 40px; padding: .5rem .9rem; font-size: .8rem; }

/* Grids */
html body .vm-grid-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { html body .vm-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { html body .vm-grid-3 { grid-template-columns: repeat(3, 1fr); } }
html body .vm-grid-2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { html body .vm-grid-2 { grid-template-columns: repeat(2, 1fr); } }
html body .vm-card { padding: clamp(1.25rem, 3vw, 2rem); }
html body .vm-card h3 { margin-bottom: .5rem; }

/* Seven pillars */
html body .seven-pillars-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 760px) { html body .seven-pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { html body .seven-pillars-grid { grid-template-columns: repeat(3, 1fr); } }
html body .pillar-leader-card { padding: 1.5rem; }
html body .pillar-leader-card blockquote p { font-style: italic; color: #333 !important; margin-bottom: .5rem; }
html body .pillar-scripture-ref { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
html body .seven-pillars-intro { text-align: center; max-width: 760px; margin: 0 auto; }
html body .pillar-commitment-card { padding: clamp(1.5rem, 4vw, 2.5rem); margin-top: 2rem; text-align: center; border: 1px solid #000 !important; }

/* Events (shared markup for home + /events/) */
html body .vm-events { display: grid; gap: 1.5rem; margin-top: 2rem; }
html body .vm-event { border: 1px solid var(--vm-line) !important; border-top: 3px solid #000 !important; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 2px; }
html body .vm-event-place { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--vm-gray) !important; margin-bottom: .35rem; }
html body .vm-event h3 { font-size: clamp(1.35rem, 3.2vw, 1.9rem); margin-bottom: .5rem; }
html body .vm-event-when { font-weight: 700; margin-bottom: 1rem; }
html body .vm-event-venue { font-style: normal; margin-bottom: 1rem; line-height: 1.55; }
html body .vm-event p { max-width: 760px; }
html body .vm-event-register { font-weight: 700; margin-top: 1.25rem; }

/* Serve team checkboxes */
html body .vm-checks { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .75rem; }
html body .vm-checks legend { font-weight: 700; margin-bottom: .75rem; font-size: 1.02rem; }
html body .vm-check {
  display: grid; grid-template-columns: 24px 1fr; gap: .85rem; align-items: start;
  border: 1px solid var(--vm-line) !important; border-radius: 2px; padding: 1rem; cursor: pointer; font-weight: 400;
}
html body .vm-check:hover { border-color: #000 !important; }
html body .vm-check input { width: 22px; height: 22px; margin: 2px 0 0; }
html body .vm-check strong { display: block; font-size: 1.02rem; }
html body .vm-check span span { display: block; color: var(--vm-gray) !important; font-size: .92rem; margin-top: .2rem; }
html body .vm-check:has(input:checked) { border-color: #000 !important; outline: 1px solid #000; }
html body .vm-form { display: grid; gap: 1.1rem; }
html body .vm-form .vm-field { display: grid; gap: .35rem; }
html body .vm-form-two { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { html body .vm-form-two { grid-template-columns: 1fr 1fr; } }
html body .vm-consent { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; font-weight: 400; align-items: start; }
html body .vm-consent input { width: 20px; height: 20px; margin-top: 3px; }

/* Featured journal graphic (21 Days page) */
html body .vm-featured-journal { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { html body .vm-featured-journal { grid-template-columns: 1.2fr .8fr; } }
html body .vm-featured-journal figure { margin: 0; }
html body .vm-featured-journal img { width: 100%; height: auto; border: 1px solid #000 !important; display: block; }
html body .vm-featured-journal figcaption { font-size: .85rem; margin-top: .6rem; }
html body .vm-price { font-family: var(--vm-display) !important; font-size: 2.4rem; font-weight: 800; color: #000 !important; }

/* Legacy layouts that need sane mobile behavior */
html body .journal-showcase { display: grid; gap: 2rem; }
@media (min-width: 900px) { html body .journal-showcase { grid-template-columns: 1.1fr .9fr; } }
html body .workbook-fields { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { html body .workbook-fields { grid-template-columns: 1fr 1fr; } }
html body .workbook-purchase-card { padding: clamp(1.25rem, 4vw, 2.5rem); }
html body table { max-width: 100%; }
html body pre, html body code { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 480px) {
  html body .btn, html body .vm-btn { width: 100%; }
  html body .vm-actions { flex-direction: column; }
  html body .vm-video-sound-btn { width: auto; }
}

/* Legacy pseudo-element accents */
html body .journal-feature-list li::before, html body li::marker { color: #000 !important; }
html body ::placeholder { color: #767676 !important; opacity: 1; }
/* 2026-11-17: Page titles, section headings, and shared navigation use uppercase presentation. */
html body h1, html body h2 { text-transform: uppercase; }
html body .vm-menu a, html body .vm-footer nav a { text-transform: uppercase; }
/* Keep the printed workbook QR page untouched while hiding its redundant title eyebrow. */
html body .videos-intro > .vm-eyebrow { display: none !important; }
