/* ============================================================================
   Scholar — a Bible school or seminary.

   Heritage is a confessional parish that happens to have a college attached.
   This is the college: prospectus first, and the questions it answers are a
   prospective student's, in order — what do you teach, who teaches it, what
   does it cost, when does it start.

   Structured rather than atmospheric. A table of courses that is a real
   <table>, because a course list IS tabular and turning it into cards makes it
   harder to compare the one thing a student is comparing. Cool ink and one
   deep blue: this is the only template here that is not warm, and that is
   deliberate — it should read as an institution, not as a congregation.
   ========================================================================== */

.demo-body--scholar {
  --paper: #fdfdfc;
  --paper-2: #f0f2f5;
  --ink: #16202b;
  --ink-mid: #4d5865;
  --line: rgba(22, 32, 43, 0.14);
  --accent: #1f4b7a;

  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.66;
}
.demo-body--scholar h1,
.demo-body--scholar h2,
.demo-body--scholar h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.sc-shell { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.sc-shell--narrow { width: min(100% - 2.5rem, 44rem); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.sc-header { border-bottom: 2px solid var(--accent); background: var(--paper); }
.sc-header__top { padding-block: 0.5rem; background: var(--accent); color: rgba(255, 255, 255, 0.9); font-size: 0.78rem; }
.sc-header__top .sc-shell { display: flex; gap: 1.2rem; justify-content: space-between; flex-wrap: wrap; }
.sc-header__inner { display: flex; align-items: center; gap: 2rem; padding-block: 1.1rem; flex-wrap: wrap; }
.sc-brand { margin-inline-end: auto; color: var(--ink); text-decoration: none; }
.sc-brand strong { display: block; font-family: "Lora", Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.sc-brand span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mid); }
.sc-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.sc-nav a { color: var(--ink-mid); font-size: 0.88rem; text-decoration: none; }
.sc-nav a:hover { color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.sc-hero { position: relative; padding-block: clamp(3rem, 8vw, 5.5rem); }
.sc-hero__inner { position: relative; z-index: 2; max-width: 46rem; color: #fff; }
.sc-kicker {
  margin-bottom: 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.sc-title { margin: 0 0 1.1rem; font-size: clamp(2rem, 5vw, 3.3rem); color: #fff; }
.sc-lede { margin: 0; max-width: 44ch; color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.sc-section { padding-block: clamp(3rem, 7vw, 5rem); }
.sc-section--tint { background: var(--paper-2); }
.sc-head { margin: 0 0 0.7rem; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.sc-sub { margin: 0 0 2rem; max-width: 48ch; color: var(--ink-mid); }
.sc-eyebrow { margin-bottom: 0.8rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.sc-prose { max-width: 40rem; }
.sc-prose p + p { margin-top: 1.05rem; }
.sc-prose p + h2 { margin-top: 2.2rem; }
.sc-prose h2 { margin-bottom: 0.5rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

/* A course list is tabular data. Cards would make the one comparison a
   student is actually making — length against language against cost — harder
   rather than prettier. */
.sc-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.sc-table caption { margin-bottom: 0.8rem; color: var(--ink-mid); font-size: 0.86rem; text-align: start; }
.sc-table th, .sc-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.sc-table thead th { border-bottom: 2px solid var(--accent); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mid); }
.sc-table tbody tr:hover { background: var(--paper-2); }
.sc-table__wrap { overflow-x: auto; }

.sc-grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.sc-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.sc-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.sc-card p { margin: 0; color: var(--ink-mid); font-size: 0.94rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.sc-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  text-decoration: none;
}
.sc-button:hover { background: #163a60; border-color: #163a60; }
.sc-button--light { border-color: #fff; background: #fff; color: var(--accent); }
.sc-button--ghost { background: transparent; color: var(--accent); }
.sc-button--ghost:hover { background: rgba(31, 75, 122, 0.09); }
.sc-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.sc-footer { padding-block: clamp(2.5rem, 6vw, 3.5rem); background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.sc-footer__inner { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: space-between; }
.sc-footer__name { color: #fff; font-family: "Lora", Georgia, serif; font-size: 1.1rem; }
.sc-footer a { color: rgba(255, 255, 255, 0.82); }

/* Same floor as everywhere else: 44px of tappable height on the nav. */
.sc-nav a { display: inline-flex; align-items: center; min-height: 44px; }
