/* ============================================================
   Phoenix Tutorship, phoenixtutorship.com
   Design system "The Course Stack", v1 (design gate draft)
   School theme colors: the settled Phoenix family from
   phoenixpreceptor.com tokens (ember #EA5D2C, deep ember #C4451B,
   amber #F4A15A), deepened here into a DARK maroon theme base
   (#40130B family, hue ~9-15deg, warm brick side of red) with warm
   parchment light sections. Deliberately far from Capella crimson
   #C8102E (hue ~350deg, cool side) and from the preceptor's light
   aubergine-and-ember execution.
   Independent tutoring service. Not affiliated with University of Phoenix.
   ============================================================ */

:root {
  /* Phoenix school color family (network convention, preceptor tokens deepened) */
  --brick: #C4451B;          /* primary accent, the settled deep ember */
  --brick-hot: #EA5D2C;      /* bright ember, accents on dark */
  --brick-deep: #A0350F;     /* hover state */
  --amber: #F4A15A;          /* stars and warm highlights on dark */
  --brick-tint: rgba(196, 69, 27, 0.10);
  --brick-line: rgba(196, 69, 27, 0.36);

  /* dark maroon theme base (the page itself is dark) */
  --maroon: #40130B;         /* page base */
  --maroon-2: #4C1810;       /* raised band */
  --maroon-deep: #2C0C06;    /* deepest, final CTA */
  --maroon-foot: #240A05;    /* footer */
  --card-maroon: #55200F;    /* cards on dark */
  --line-maroon: #6E2F1C;    /* borders on dark */
  --text-on-maroon: #F8EDE2;
  --muted-on-maroon: #DCBEAC;
  --faint-on-maroon: #B18F7D;

  /* warm parchment light sections */
  --parchment: #F5EDDC;
  --parch-deep: #ECDFC5;
  --card-parch: #FFFDF6;
  --ink-on-parch: #33160E;
  --muted-on-parch: #6E5A4D;
  --line-on-parch: #E0D1B4;
  --line-strong: #C9B591;

  /* type stacks */
  --f-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --f-body: "PT Serif", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;

  --r-card: 16px;
  --r-btn: 12px;
  --shadow-1: 0 10px 30px rgba(20, 6, 3, 0.30);
  --shadow-2: 0 20px 60px rgba(20, 6, 3, 0.45);
  --shadow-parch: 0 3px 14px rgba(51, 22, 14, 0.07);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--maroon);
  color: var(--text-on-maroon);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* sleek themed scrollbars, sitewide */
html { scrollbar-width: thin; scrollbar-color: #7C3A26 var(--maroon-deep); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--maroon-deep); }
::-webkit-scrollbar-thumb { background: #7C3A26; border-radius: 999px; border: 2px solid var(--maroon-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--brick-hot); }

::selection { background: var(--brick-hot); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 14px; }

.eyebrow {
  font-family: var(--f-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--amber);
  display: inline-block;
  margin-bottom: 14px;
}
.sec-parch .eyebrow, .sec-parch-deep .eyebrow { color: var(--brick); }

.lead { font-size: 1.1rem; color: var(--muted-on-maroon); max-width: 62ch; }
.sec-parch .lead, .sec-parch-deep .lead { color: var(--muted-on-parch); }

/* mono course-code chip, the only monospace on the site */
.code-chip {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brick-hot);
  background: rgba(234, 93, 44, 0.12);
  border: 1px solid rgba(234, 93, 44, 0.38);
  border-radius: 8px;
  padding: 3px 9px;
  display: inline-block;
  white-space: nowrap;
}
.sec-parch .code-chip, .sec-parch-deep .code-chip, .stack-card .code-chip, .ob-stack .code-chip {
  color: var(--brick); background: var(--brick-tint); border-color: var(--brick-line);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.98rem;
  border-radius: var(--r-btn); padding: 13px 24px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  min-height: 46px;
}
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brick); color: #FFFFFF; }
.btn-brand:hover { background: var(--brick-deep); }
.btn-ghost { background: transparent; color: var(--text-on-maroon); border-color: #7C3A26; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.sec-parch .btn-ghost, .sec-parch-deep .btn-ghost { color: var(--ink-on-parch); border-color: var(--line-strong); }
.sec-parch .btn-ghost:hover, .sec-parch-deep .btn-ghost:hover { border-color: var(--brick); color: var(--brick); }
.btn-dark { background: var(--maroon-deep); color: #FFFFFF; }
.btn-dark:hover { background: #1E0803; }

/* ============================================================
   HEADER (sticky, dark maroon, bottom-border active TABS)
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(44, 12, 6, 0.90);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-maroon);
}
.site-head .wrap { display: flex; align-items: stretch; gap: 26px; height: 70px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand > span { line-height: 1.12; }
.brand-tile {
  width: 38px; height: 38px; border-radius: 10px; background: var(--brick);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 800;
  font-size: 1.02rem; color: #FFFFFF;
}
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; color: var(--text-on-maroon); line-height: 1.05; }
.brand-sub { font-family: var(--f-display); font-size: 0.72rem; font-weight: 600; color: var(--faint-on-maroon); }

/* the nav is a tab strip: links sit full-height with a functional
   bottom-border indicator on hover and on the active section */
.nav-links { display: flex; align-items: stretch; gap: 2px; }
.nav-links a {
  font-family: var(--f-display); font-size: 0.93rem; font-weight: 700;
  text-decoration: none; color: var(--muted-on-maroon);
  display: inline-flex; align-items: center; padding: 0 13px;
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover { color: var(--text-on-maroon); border-bottom-color: rgba(234, 93, 44, 0.55); }
.nav-links a.is-active { color: #FFFFFF; border-bottom-color: var(--brick-hot); }

.head-cta { margin-left: 10px; align-self: center; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--line-maroon); border-radius: 9px;
  width: 44px; height: 44px; cursor: pointer; color: var(--text-on-maroon); font-size: 1.1rem;
  align-self: center;
}
@media (max-width: 960px) {
  .nav-links, .head-cta { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .site-head .wrap { height: 62px; }
  .site-head.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--maroon-deep); border-bottom: 1px solid var(--line-maroon);
    padding: 10px 18px 16px; gap: 2px;
  }
  .site-head.menu-open .nav-links a {
    padding: 13px 10px; border-bottom: 3px solid transparent;
  }
  .site-head.menu-open .nav-links a.is-active { border-bottom-color: var(--brick-hot); }
}

/* ============================================================
   HERO (dark maroon, parchment Course Stack card)
   ============================================================ */
.hero { padding: 80px 0 70px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 440px at 88% 108%, rgba(234, 93, 44, 0.20), transparent 62%),
    radial-gradient(520px 380px at 0% 0%, rgba(244, 161, 90, 0.08), transparent 60%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; position: relative; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 52px 0 56px; } }

.hero h1 { color: #FFFFFF; }
.hero h1 .hl { color: var(--amber); }
.hero-sub { font-size: 1.13rem; color: var(--muted-on-maroon); max-width: 54ch; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; list-style: none; }
.hero-points li { display: flex; gap: 10px; align-items: baseline; color: var(--muted-on-maroon); font-size: 0.95rem; }
.hero-points li::before { content: "+"; font-family: var(--f-display); color: var(--brick-hot); font-weight: 800; }

/* the interactive Course Stack card (parchment, on the dark hero) */
.stack-card {
  background: var(--card-parch); border: 1px solid var(--line-on-parch); border-radius: var(--r-card);
  box-shadow: var(--shadow-2); overflow: hidden; color: var(--ink-on-parch);
}
.stack-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 14px 18px; border-bottom: 1px solid var(--line-on-parch); background: var(--parchment);
}
.stack-title { font-family: var(--f-display); font-size: 0.9rem; font-weight: 700; color: var(--muted-on-parch); }
.stack-rows { padding: 10px 18px 4px; display: flex; flex-direction: column; gap: 8px; }
.stk-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--line-on-parch); border-radius: 12px; background: #FFFFFF;
  transition: border-color .18s ease, background .18s ease, opacity .18s ease;
}
.stk-row .stk-t { font-family: var(--f-display); font-size: 0.88rem; font-weight: 600; color: var(--ink-on-parch); flex: 1; min-width: 0; }
.stk-tag { font-family: var(--f-display); font-size: 0.76rem; font-weight: 700; color: var(--muted-on-parch); white-space: nowrap; }
.stk-row.is-live { border-color: var(--brick); background: var(--brick-tint); }
.stk-row.is-live .stk-tag { color: var(--brick); }
.stk-row.is-done { opacity: 0.62; }
.stk-row.is-done .stk-tag { color: #2E7D5B; }
.stack-note {
  margin: 10px 18px 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--brick-tint); border: 1px solid var(--brick-line);
  font-size: 0.88rem; color: var(--muted-on-parch);
}
.stack-note strong { color: var(--brick); }
.stack-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 13px 18px; background: var(--parchment); border-bottom: none;
}
.stack-score { font-family: var(--f-display); font-size: 0.86rem; font-weight: 600; color: var(--muted-on-parch); }
.stack-score b { color: var(--brick); font-weight: 800; }
.stack-btn {
  font-family: var(--f-display); font-weight: 700; font-size: 0.86rem; color: #FFFFFF;
  background: var(--brick); border: none; border-radius: 10px; padding: 10px 16px;
  cursor: pointer; min-height: 44px; transition: background .15s ease;
}
.stack-btn:hover { background: var(--brick-deep); }

/* ============================================================
   TRUST BAND (brick gradient)
   ============================================================ */
.trust-band { background: linear-gradient(135deg, var(--brick), var(--brick-deep)); color: #FFFFFF; padding: 26px 0; }
.trust-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust-cell { display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.trust-num { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1.15; }
.trust-label { font-family: var(--f-display); font-size: 0.82rem; font-weight: 600; opacity: 0.85; }
.trust-stars { font-size: 0.95rem; color: #FFDFA8; }

/* ============================================================
   SECTIONS (dark-led alternation)
   ============================================================ */
.sec { padding: 88px 0; }
.sec-parch { background: var(--parchment); color: var(--ink-on-parch); }
.sec-parch h2, .sec-parch h3 { color: var(--ink-on-parch); }
.sec-parch-deep { background: var(--parch-deep); color: var(--ink-on-parch); }
.sec-parch-deep h2, .sec-parch-deep h3 { color: var(--ink-on-parch); }
.sec-raise { background: var(--maroon-2); }
.sec-head { max-width: 740px; margin-bottom: 44px; }
@media (max-width: 640px) { .sec { padding: 62px 0; } .sec-head { margin-bottom: 32px; } }

/* ============================================================
   THREE GRADING MODELS (the differentiating section, parchment)
   ============================================================ */
.model-toggle { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 30px; border-bottom: 1px solid var(--line-strong); }
.model-toggle button {
  border: none; background: transparent; font-family: var(--f-display); font-weight: 700;
  font-size: 0.98rem; padding: 12px 20px 14px; cursor: pointer; color: var(--muted-on-parch);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease; min-height: 48px;
}
.model-toggle button:hover { color: var(--ink-on-parch); border-bottom-color: rgba(196, 69, 27, 0.4); }
.model-toggle button.is-on { color: var(--brick); border-bottom-color: var(--brick); }

.md-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .md-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .md-grid { grid-template-columns: 1fr; } }
.md-cell { background: var(--card-parch); border: 1px solid var(--line-on-parch); border-radius: 14px; padding: 20px 18px; box-shadow: var(--shadow-parch); }
.md-k { font-family: var(--f-display); font-size: 0.84rem; font-weight: 700; color: #A3764D; margin-bottom: 8px; }
.md-v { font-size: 0.95rem; color: var(--ink-on-parch); }
.md-v b { font-weight: 700; color: var(--brick); }

.md-guar {
  margin-top: 18px; padding: 20px 22px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brick), var(--brick-deep)); color: #FFFFFF;
  font-size: 1.02rem;
}
.md-guar b { color: #FFDFA8; }
.md-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted-on-parch); max-width: 76ch; }

/* ============================================================
   SERVICES (dark maroon)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--card-maroon); border: 1px solid var(--line-maroon); border-radius: var(--r-card);
  padding: 24px 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .18s ease, transform .18s ease;
}
.svc:hover { border-color: rgba(234, 93, 44, 0.65); transform: translateY(-3px); }
.svc h3 { color: var(--text-on-maroon); }
.svc-ico {
  width: 42px; height: 42px; border-radius: 11px; background: rgba(234, 93, 44, 0.12);
  border: 1px solid rgba(234, 93, 44, 0.36); display: grid; place-items: center; color: var(--brick-hot);
}
.svc p { color: var(--muted-on-maroon); font-size: 0.94rem; margin: 0; }
.svc-go { font-family: var(--f-display); font-size: 0.9rem; font-weight: 700; color: var(--amber); margin-top: auto; }

/* ============================================================
   COURSE RAIL (deep parchment)
   ============================================================ */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 18px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail::-webkit-scrollbar { height: 8px; }
.course-card {
  min-width: 250px; max-width: 250px; scroll-snap-align: start;
  background: var(--card-parch); border: 1px solid var(--line-on-parch); border-radius: 14px;
  padding: 18px 17px 15px; text-decoration: none; display: flex; flex-direction: column; gap: 9px;
  transition: border-color .18s ease, box-shadow .18s ease; box-shadow: var(--shadow-parch);
}
.course-card:hover { border-color: var(--brick-line); box-shadow: 0 8px 24px rgba(196, 69, 27, 0.16); }
.course-card h3 { font-size: 0.97rem; margin: 0; color: var(--ink-on-parch); }
.course-card .cc-meta { font-family: var(--f-display); font-size: 0.8rem; font-weight: 600; color: #A3764D; }
.rail-hint { font-family: var(--f-display); font-size: 0.84rem; font-weight: 600; color: #A3764D; margin-top: 4px; }

/* ============================================================
   STACK TIMELINE (signature device, on dark)
   ============================================================ */
.timeline {
  background: var(--card-parch); border: 1px solid var(--line-on-parch); border-radius: 20px;
  box-shadow: var(--shadow-2); overflow: hidden; color: var(--ink-on-parch);
}
.tl-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; }
@media (max-width: 880px) { .tl-grid { grid-template-columns: 1fr; } }
.tl-controls { padding: 34px 34px 30px; }
@media (max-width: 640px) { .tl-controls { padding: 26px 20px 24px; } }
.ctl { margin-bottom: 26px; }
.ctl-label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; color: var(--ink-on-parch); }
.ctl-label output { font-family: var(--f-display); font-weight: 800; color: var(--brick); font-size: 1.05rem; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  border: 1px solid var(--line-strong); background: #FFFFFF; border-radius: 10px; padding: 10px 16px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; color: var(--muted-on-parch);
  cursor: pointer; transition: all .15s ease; min-height: 44px;
}
.seg button.is-on { background: var(--brick); border-color: var(--brick); color: #FFFFFF; }

input[type="range"] { width: 100%; accent-color: var(--brick); height: 44px; }

.tl-how h3 { font-size: 1rem; margin: 4px 0 12px; color: var(--ink-on-parch); }
.tl-how ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.tl-how li { display: flex; gap: 10px; align-items: baseline; color: var(--muted-on-parch); font-size: 0.92rem; }
.tl-how li::before { content: "+"; font-family: var(--f-display); color: var(--brick); font-weight: 800; }

.tl-result { background: linear-gradient(150deg, var(--brick), var(--brick-deep)); color: #FFFFFF; padding: 34px 34px 30px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 640px) { .tl-result { padding: 26px 20px 24px; } }
.tl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.tl-row:last-of-type { border-bottom: none; }
.tl-k { font-family: var(--f-display); font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.tl-v { font-family: var(--f-display); font-weight: 800; font-size: 1.42rem; text-align: right; }
.tl-v small { font-family: var(--f-display); font-weight: 500; font-size: 0.74rem; color: rgba(255, 255, 255, 0.72); display: block; }
.tl-v.hl { color: #FFDFA8; }
.tl-note { margin-top: 14px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }

.tl-cbe {
  margin: 0 34px 30px; padding: 16px 18px; border-radius: 14px;
  background: var(--parchment); border: 1px solid var(--line-on-parch);
  font-size: 0.92rem; color: var(--muted-on-parch);
}
.tl-cbe b { color: var(--brick); font-family: var(--f-display); }
.tl-cbe a { color: var(--brick); font-weight: 700; }
@media (max-width: 640px) { .tl-cbe { margin: 0 20px 24px; } }

/* ============================================================
   THE CBE ACCELERATOR (two lanes, parchment)
   ============================================================ */
.lane-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 880px) { .lane-grid { grid-template-columns: 1fr; } }
.lane {
  background: var(--card-parch); border: 1px solid var(--line-on-parch); border-radius: var(--r-card);
  padding: 26px 24px; box-shadow: var(--shadow-parch);
}
.lane h3 { margin-bottom: 6px; }
.lane .lane-sub { font-family: var(--f-display); font-weight: 600; color: #A3764D; font-size: 0.86rem; margin-bottom: 14px; }
.lane ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lane li { display: flex; gap: 11px; align-items: baseline; font-size: 0.95rem; color: var(--ink-on-parch); }
.lane li::before { content: "+"; font-family: var(--f-display); color: var(--brick); font-weight: 800; }
.lane-hot { background: linear-gradient(150deg, var(--brick), var(--brick-deep)); border-color: transparent; color: #FFFFFF; }
.lane-hot h3 { color: #FFFFFF; }
.lane-hot .lane-sub { color: rgba(255, 255, 255, 0.8); }
.lane-hot li { color: rgba(255, 255, 255, 0.94); }
.lane-hot li::before { color: #FFDFA8; }
.lane-note { margin-top: 20px; font-size: 0.9rem; color: var(--muted-on-parch); max-width: 78ch; }

/* ============================================================
   TUITION MATH (repeat-cost comparison, dark)
   ============================================================ */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 940px; }
@media (max-width: 880px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-col {
  background: var(--card-parch); border: 1px solid var(--line-on-parch); border-radius: 16px;
  padding: 26px 24px; color: var(--ink-on-parch);
}
.vs-col h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--ink-on-parch); }
.vs-sub { color: var(--muted-on-parch); font-family: var(--f-display); font-weight: 600; font-size: 0.85rem; margin-bottom: 14px; }
.vs-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-on-parch); font-size: 0.95rem; }
.vs-row:last-of-type { border-bottom: none; }
.vs-row b { font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; text-align: right; white-space: nowrap; }
.vs-hot { background: linear-gradient(150deg, var(--brick), var(--brick-deep)); border-color: transparent; color: #FFFFFF; }
.vs-hot h3 { color: #FFFFFF; }
.vs-hot .vs-sub { color: rgba(255, 255, 255, 0.82); }
.vs-hot .vs-row { border-color: rgba(255, 255, 255, 0.24); }
.vs-keep {
  margin-top: 16px; background: rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 13px 14px;
  font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; color: #FFDFA8; text-align: center;
}
.vs-note { margin-top: 20px; font-size: 0.8rem; color: var(--faint-on-maroon); max-width: 82ch; line-height: 1.55; }

/* ============================================================
   HOW IT WORKS (parchment steps)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card-parch); border: 1px solid var(--line-on-parch); border-radius: var(--r-card); padding: 24px 21px; position: relative; box-shadow: var(--shadow-parch); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--f-display); font-weight: 800; font-size: 0.92rem; color: #FFFFFF;
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  margin-bottom: 14px; background: var(--brick);
}
.step p { color: var(--muted-on-parch); font-size: 0.93rem; margin: 0; }

/* ============================================================
   TEAM OF EIGHT (dark roster)
   ============================================================ */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .role-grid { grid-template-columns: 1fr; } }
.role { background: var(--card-maroon); border: 1px solid var(--line-maroon); border-radius: var(--r-card); padding: 20px 18px; }
.role h3 { color: var(--text-on-maroon); font-size: 1rem; margin-bottom: 6px; }
.role-n {
  width: 30px; height: 30px; border-radius: 999px; background: var(--brick-hot); color: #2C0C06;
  font-family: var(--f-display); font-weight: 800; font-size: 0.92rem; display: grid; place-items: center;
  margin-bottom: 12px;
}
.role p { color: var(--muted-on-maroon); font-size: 0.88rem; margin: 0; }
.pipe-note { margin-top: 24px; color: var(--muted-on-maroon); font-size: 0.97rem; max-width: 72ch; }
.pipe-note b { color: var(--amber); }

/* ============================================================
   VIRTUAL PRACTICUM (deep parchment duo)
   ============================================================ */
.duo { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .duo { grid-template-columns: 1fr; gap: 30px; } }
.check-list {
  margin: 0; padding: 26px; list-style: none;
  background: var(--card-parch); border: 1px solid var(--line-on-parch); border-radius: var(--r-card);
  box-shadow: var(--shadow-parch); display: flex; flex-direction: column; gap: 13px;
}
.check-list li { display: flex; gap: 12px; align-items: baseline; font-size: 0.97rem; color: var(--ink-on-parch); }
.check-list li::before { content: "\2713"; color: var(--brick); font-weight: 700; font-family: var(--f-display); }

/* ============================================================
   SAMPLE CTA BAND (brick)
   ============================================================ */
.sample-band { background: linear-gradient(135deg, var(--brick), var(--brick-deep)); color: #FFFFFF; padding: 66px 0; }
.sample-band .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .sample-band .wrap { grid-template-columns: 1fr; } }
.sample-band h2 { color: #FFFFFF; }
.sample-band p { color: rgba(255, 255, 255, 0.88); max-width: 56ch; }
.band-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (min-width: 881px) { .band-cta { align-items: flex-end; } }
.band-link { color: #FFFFFF; font-weight: 700; font-family: var(--f-display); text-decoration: underline; text-underline-offset: 3px; }
.band-link:hover { color: #FFDFA8; }

/* ============================================================
   REVIEWS (dark quote cards)
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--card-maroon); border: 1px solid var(--line-maroon);
  border-radius: 14px; padding: 24px 22px; display: flex; flex-direction: column; gap: 14px;
}
.quote p { color: var(--text-on-maroon); font-size: 0.97rem; margin: 0; }
.quote footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.quote cite { font-style: normal; font-family: var(--f-display); font-weight: 600; font-size: 0.85rem; color: var(--muted-on-maroon); }
.quote .stars { color: var(--amber); font-size: 0.84rem; }
.more-link { color: var(--amber); font-family: var(--f-display); font-weight: 700; text-decoration: none; }
.more-link:hover { color: #FFDFA8; }

/* ============================================================
   FAQ (parchment)
   ============================================================ */
.faq-list { max-width: 830px; }
.faq-item { border-bottom: 1px solid var(--line-on-parch); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px;
  align-items: baseline; padding: 21px 2px; font-family: var(--f-display); font-weight: 700; font-size: 1.04rem;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-display); color: var(--brick); font-weight: 800; font-size: 1.1rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 2px 22px; color: var(--muted-on-parch); max-width: 72ch; }

/* ============================================================
   FINAL CTA + FOOTER (deepest maroon)
   ============================================================ */
.final-cta { text-align: center; padding: 96px 0; background: var(--maroon-deep); color: var(--text-on-maroon); }
.final-cta h2 { color: #FFFFFF; }
.final-cta .lead { margin: 0 auto 30px; }
.final-cta .eyebrow { color: var(--amber); }

.site-foot { background: var(--maroon-foot); padding: 62px 0 34px; color: var(--text-on-maroon); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 20px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 { font-family: var(--f-display); font-size: 0.92rem; font-weight: 800; color: var(--muted-on-maroon); margin: 0 0 16px; }
.foot-col a { display: block; color: var(--faint-on-maroon); text-decoration: none; font-size: 0.92rem; padding: 5px 0; }
.foot-col a:hover { color: var(--amber); }
.foot-about { color: var(--faint-on-maroon); font-size: 0.9rem; max-width: 34ch; }
.foot-note { color: var(--faint-on-maroon); font-size: 0.9rem; margin-bottom: 4px; }

.news-form { display: flex; gap: 8px; margin-top: 14px; }
.news-form input {
  flex: 1; min-width: 0; background: var(--maroon-2); border: 1px solid var(--line-maroon); border-radius: 10px;
  color: var(--text-on-maroon); padding: 12px 14px; font-size: 16px; font-family: var(--f-display);
}
.news-form input::placeholder { color: var(--faint-on-maroon); }
.news-form button { flex-shrink: 0; }
.news-done { color: var(--amber); font-size: 0.88rem; margin-top: 10px; display: none; }

.foot-legal {
  margin-top: 22px; padding: 24px 26px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  display: flex; flex-direction: column; gap: 12px;
}
.foot-disclaimer { color: var(--faint-on-maroon); font-size: 0.8rem; max-width: 92ch; margin: 0; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint-on-maroon); font-size: 0.8rem; }
.foot-base a { color: var(--muted-on-maroon); text-decoration: none; }
.foot-base a:hover { color: var(--amber); }

/* ============================================================
   WIDGETS: seasonal offer modal (stack chip column masthead)
   ============================================================ */
.ob-modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(18, 5, 2, 0.72); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.ob-modal-backdrop.is-open { display: flex; }
.ob-modal {
  width: 100%; max-width: 470px; background: var(--card-parch); color: var(--ink-on-parch);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2); position: relative;
}
.ob-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px;
  border: none; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; font-size: 1rem; cursor: pointer;
}
/* modal masthead = a mini course-stack chip COLUMN (this site's registered header treatment) */
.ob-mast { background: var(--maroon-deep); color: var(--text-on-maroon); padding: 20px 22px 18px; }
.ob-mast-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.ob-mast-brand .brand-tile { width: 30px; height: 30px; border-radius: 8px; font-size: 0.82rem; }
.ob-mast-brand span { font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; }
.ob-stack { display: flex; flex-direction: column; gap: 6px; }
.ob-stk {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--line-maroon); border-radius: 10px; padding: 8px 11px;
  background: rgba(255, 255, 255, 0.04);
}
.ob-stk .ob-stk-tag { font-family: var(--f-display); font-size: 0.74rem; font-weight: 700; color: var(--faint-on-maroon); }
.ob-stk.is-done { opacity: 0.6; }
.ob-stk.is-done .ob-stk-tag { color: #7FBF9E; }
.ob-stk.is-live { border-color: var(--brick-hot); background: rgba(234, 93, 44, 0.14); }
.ob-stk.is-live .ob-stk-tag { color: var(--amber); }
.ob-body { padding: 22px; }
.ob-season { font-family: var(--f-display); font-size: 0.88rem; font-weight: 700; color: var(--brick); margin-bottom: 8px; }
.ob-body h3 { font-size: 1.32rem; margin-bottom: 6px; }
.ob-body .ob-sub { color: var(--muted-on-parch); font-size: 0.94rem; margin-bottom: 16px; }
.ob-form { display: flex; flex-direction: column; gap: 10px; }
.ob-form input {
  background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 14px;
  font-size: 16px; font-family: var(--f-display); color: var(--ink-on-parch); width: 100%;
}
.ob-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.ob-fine { font-size: 0.74rem; color: #A3764D; margin-top: 10px; }
.ob-thanks { display: none; padding: 8px 0 4px; color: var(--brick); font-weight: 700; font-family: var(--f-display); }
@media (max-width: 560px) {
  .ob-modal { max-width: 100%; }
  .ob-mast { padding: 16px 16px 14px; }
  .ob-body { padding: 16px; }
}

/* ============================================================
   WIDGETS: direct-text dock (LEFT) + live chat (RIGHT)
   ============================================================ */
.dock-left { position: fixed; left: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.dock-btn {
  width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center;
  border: none; cursor: pointer; box-shadow: var(--shadow-1); color: #fff;
}
.dock-wa { background: #25D366; color: #fff; }
.dock-sms { background: #3E63C4; }
.dock-btn svg { width: 25px; height: 25px; }

.chat-launch {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 60px; height: 60px; border-radius: 999px; border: 2px solid var(--brick-hot);
  padding: 0; cursor: pointer; overflow: hidden; background: var(--card-parch); box-shadow: var(--shadow-1);
}
.chat-launch img, .chat-launch svg { width: 100%; height: 100%; }
.chat-badge {
  position: absolute; top: -2px; right: -2px; width: 15px; height: 15px; border-radius: 999px;
  background: var(--brick-hot); border: 2px solid var(--card-parch);
}
.chat-nudge {
  position: fixed; right: 88px; bottom: 30px; z-index: 70; max-width: 230px;
  background: var(--card-parch); color: var(--ink-on-parch); border-radius: 14px 14px 3px 14px;
  padding: 12px 14px; font-size: 0.88rem; box-shadow: var(--shadow-2); display: none; cursor: pointer;
  border: 1px solid var(--line-on-parch);
}
.chat-nudge.is-on { display: block; }

.chat-panel {
  position: fixed; right: 18px; bottom: 90px; z-index: 80;
  width: 372px; max-width: calc(100vw - 36px); height: clamp(460px, 72vh, 580px);
  background: var(--card-parch); color: var(--ink-on-parch);
  border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden;
  display: none; flex-direction: column;
}
.chat-panel.is-open { display: flex; }
.chat-head { background: var(--maroon-deep); color: var(--text-on-maroon); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.chat-face { width: 42px; height: 42px; border-radius: 999px; overflow: hidden; border: 2px solid var(--brick-hot); flex-shrink: 0; }
.chat-face svg { width: 100%; height: 100%; }
.chat-who { line-height: 1.25; min-width: 0; }
.chat-who b { font-family: var(--f-display); font-size: 0.95rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-who span { font-family: var(--f-display); font-size: 0.74rem; color: var(--faint-on-maroon); }
.chat-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 0.7rem; color: var(--muted-on-maroon); flex-shrink: 0; }
.chat-status i { width: 8px; height: 8px; border-radius: 999px; background: #4CC97B; display: inline-block; }
.chat-back { display: none; background: none; border: none; color: var(--text-on-maroon); font-size: 1.2rem; cursor: pointer; padding: 4px 8px 4px 0; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--parchment); }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 13px; font-size: 0.92rem; line-height: 1.45; }
.msg-in { background: #FFFFFF; border: 1px solid var(--line-on-parch); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-out { background: var(--brick); color: #FFFFFF; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-compose { display: flex; gap: 8px; padding: 12px; background: var(--card-parch); }
.chat-compose input {
  flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 999px; padding: 11px 16px;
  font-size: 16px; font-family: var(--f-display); background: #fff; color: var(--ink-on-parch);
}
.chat-compose button {
  width: 44px; height: 44px; border-radius: 999px; border: none; background: var(--brick);
  color: #FFFFFF; cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
}
@media (max-width: 640px) {
  .chat-panel.is-open {
    inset: 0; width: 100%; max-width: 100%; height: 100dvh; border-radius: 0; bottom: 0;
  }
  .chat-back { display: inline-block; }
  body.chat-open .dock-left, body.chat-open .chat-launch, body.chat-open .chat-nudge { display: none; }
}

/* ============================================================
   ARTICLE / MANUAL PAGES (content layer, dark maroon base)
   ============================================================ */
.crumbs { font-size: 0.84rem; color: var(--muted-on-maroon); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-family: var(--f-display); }
.crumbs a { color: var(--muted-on-maroon); text-decoration: none; }
.crumbs a:hover { color: var(--brick-hot); }
.crumbs .sep { color: var(--faint-on-maroon); }

.article-hero { padding: 26px 0 6px; }
.article-hero h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
.article-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0 4px; }
.badge-verify { background: var(--card-maroon); border: 1px solid var(--line-maroon); border-radius: 999px; padding: 4px 13px; font-size: 0.8rem; font-weight: 600; color: var(--muted-on-maroon); font-family: var(--f-display); }

.article { max-width: 820px; padding-bottom: 46px; }
.article h2 { margin: 46px 0 14px; font-size: 1.5rem; scroll-margin-top: 90px; }
.article h3 { margin: 26px 0 10px; font-size: 1.08rem; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 7px; }

.answer-box { background: var(--parchment); color: var(--ink-on-parch); border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow-1); margin: 12px 0 6px; }
.answer-box .ab-label { font-family: var(--f-display); font-weight: 700; color: var(--brick-deep); font-size: 0.92rem; display: block; margin-bottom: 8px; }
.answer-box p { margin: 0; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 4px; }
.toc a { font-family: var(--f-display); font-size: 0.84rem; font-weight: 600; color: var(--muted-on-maroon); background: var(--card-maroon); border: 1px solid var(--line-maroon); border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.toc a:hover, .toc a.is-on { color: var(--brick-hot); border-color: var(--brick-hot); }

.table-wrap { overflow-x: auto; }
.man-table { width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--card-maroon); border: 1px solid var(--line-maroon); font-size: 0.94rem; }
.man-table th, .man-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-maroon); vertical-align: top; }
.man-table th { font-family: var(--f-display); font-weight: 700; font-size: 0.88rem; background: var(--maroon-2); }
.man-table tr:last-child td { border-bottom: none; }

.steps-list { counter-reset: mstep; list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps-list > li { position: relative; padding-left: 46px; margin: 0; }
.steps-list > li::before { counter-increment: mstep; content: counter(mstep); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 999px; background: var(--brick); color: #FFF6EC; font-family: var(--f-display); font-weight: 700; font-size: 0.92rem; display: grid; place-items: center; }
.steps-list h3 { margin: 0 0 6px; }
.steps-list p { margin: 0; color: var(--muted-on-maroon); }

.checklist { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 9px; }
.checklist li { display: flex; gap: 11px; align-items: baseline; margin: 0; }
.checklist li::before { content: "\2713"; color: var(--brick-hot); font-weight: 700; font-family: var(--f-display); }

.svc-strip { background: var(--parchment); color: var(--ink-on-parch); border-radius: var(--r-card); padding: 28px; margin: 38px 0; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 26px; align-items: center; box-shadow: var(--shadow-1); }
@media (max-width: 700px) { .svc-strip { grid-template-columns: 1fr; } }
.svc-strip h3 { color: var(--ink-on-parch); font-size: 1.3rem; margin: 0 0 8px; }
.svc-strip p { color: var(--muted-on-parch); margin: 0; font-size: 0.95rem; }
.svc-strip .btns { display: flex; flex-direction: column; gap: 10px; }
.svc-strip .btn-dark { background: var(--maroon-deep); color: var(--text-on-maroon); }
.svc-strip .btn-dark:hover { background: var(--maroon-2); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
@media (max-width: 880px) { .related { grid-template-columns: 1fr; } }
.related a { background: var(--card-maroon); border: 1px solid var(--line-maroon); border-radius: 12px; padding: 16px; text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--text-on-maroon); font-family: var(--f-display); }
.related a:hover { border-color: var(--brick-hot); color: var(--brick-hot); }


/* brand-mark v2: standalone marks, no box */
svg.brand-tile { background: none !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; display: inline-block; }

/* course index: labels vary in length, so these chips must wrap on a phone
   (.code-chip is nowrap by design for real course codes) */
#course-index .code-chip { white-space: normal; max-width: 100%; }


/* image-program figures (apply_images.py) */
.ig-fig{margin:26px 0;max-width:100%}
.ig-fig img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid rgba(0,0,0,.08);box-shadow:0 1px 2px rgba(0,0,0,.05),0 10px 26px rgba(0,0,0,.07)}
.ig-fig figcaption{margin-top:10px;font-size:.86rem;opacity:.72;line-height:1.5}


/* hero lead form (post-audit P0) */
.hero-lead{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 4px;align-items:center;max-width:580px}
.hero-lead input{flex:1 1 200px;min-width:0;padding:12px 14px;font-size:16px;border:1px solid rgba(0,0,0,.22);border-radius:10px;background:#fff;color:#1a1a1a}
.hero-lead input:focus{outline:2px solid rgba(0,0,0,.35);outline-offset:1px}
.hero-lead input.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.hero-lead .btn{flex:0 0 auto}
.hero-lead-done,.hero-lead-err{margin:10px 0 0;font-size:.92rem}
.hero-lead-done{font-weight:600}
@media(max-width:560px){.hero-lead input{flex:1 1 100%}.hero-lead .btn{width:100%}}


/* sample-paper thumbnails */
.sample-thumbs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0 6px;max-width:560px}
.sample-thumbs figure{margin:0}
.sample-thumbs img{width:100%;height:auto;border-radius:8px;border:1px solid rgba(0,0,0,.1);box-shadow:0 6px 18px rgba(0,0,0,.09)}
.sample-thumbs figcaption{margin-top:6px;font-size:.8rem;opacity:.7;text-align:center}
@media(max-width:520px){.sample-thumbs{grid-template-columns:1fr;max-width:340px}}


/* honesty + a11y polish */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.ob-modal,.ae-modal{max-height:calc(100dvh - 40px);overflow-y:auto}

/* ============ hero contact form card ============ */
.hero-form-card { background: #FFFFFF; color: #211D18; border: 1px solid rgba(0,0,0,0.10); border-radius: 16px; padding: 22px; box-shadow: 0 18px 44px rgba(0,0,0,0.12); }
.hero-form-card .hfc-head { font-weight: 800; font-size: 1.16rem; margin: 0 0 4px; }
.hero-form-card .hfc-sub { font-size: 0.9rem; opacity: 0.75; margin: 0 0 14px; }
#heroCard { display: flex; flex-direction: column; gap: 10px; }
#heroCard input, #heroCard textarea { font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid rgba(0,0,0,0.16); border-radius: 10px; background: #FFF; color: inherit; width: 100%; box-sizing: border-box; }
#heroCard textarea { resize: vertical; min-height: 64px; }
#heroCard .hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.hero-form-card .hfc-note { font-size: 0.78rem; opacity: 0.65; margin: 10px 0 0; }
.hero-card-done { font-weight: 600; }
.hero-card-err { color: #B3261E; font-size: 0.85rem; margin: 4px 0 0; }
.hero-viz-band { padding: 64px 0 30px; }
.hero-viz-band .hvb-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-viz-band .hvb-eyebrow { display: block; font-size: 0.82rem; font-weight: 700; opacity: 0.62; margin-bottom: 10px; }
.hero-viz-band .hvb-copy h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin: 0 0 12px; }
.hero-viz-band .hvb-copy p { max-width: 46ch; margin: 0 0 22px; opacity: 0.85; }
@media (max-width: 900px) { .hero-viz-band { padding: 44px 0 12px; } .hero-viz-band .hvb-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============ Courses catalog ============ */
.crs-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.crs-crumbs { font-size: 0.84rem; opacity: 0.7; padding: 20px 0 0; }
.crs-crumbs a { color: inherit; text-decoration: none; }
.crs-crumbs a:hover { text-decoration: underline; }
.crs-crumbs .sep { margin: 0 7px; opacity: 0.6; }
.crs-hero { padding: 26px 0 6px; }
.crs-hero h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); margin: 0 0 12px; }
.crs-hero p { max-width: 64ch; font-size: 1.08rem; opacity: 0.8; margin: 0; }
.crs-bar { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; margin: 26px 0 8px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.crs-tab { font-family: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: inherit; opacity: 0.6; background: none; border: none; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: baseline; gap: 8px; position: relative; }
.crs-tab i { font-style: normal; font-size: 0.66rem; opacity: 0.7; }
.crs-tab:hover, .crs-tab.is-on { opacity: 1; }
.crs-tab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; background: #C4451B; }
.crs-search { margin-left: auto; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.24); border-radius: 10px; padding: 9px 14px; color: inherit; font: inherit; font-size: 0.9rem; width: 240px; max-width: 100%; }
.crs-search:focus { outline: 2px solid #C4451B; outline-offset: 1px; }
@media (max-width: 700px) { .crs-search { margin-left: 0; width: 100%; } .crs-tab.is-on::after { bottom: -4px; } }
.crs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.crs-card { display: flex; flex-direction: column; gap: 11px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 20px 20px 18px; text-decoration: none; color: inherit; transition: border-color 0.18s ease, transform 0.18s ease; position: relative; }
.crs-card::after { content: "\2197"; position: absolute; top: 15px; right: 17px; font-size: 0.95rem; font-weight: 600; color: #C4451B; opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.18s ease, transform 0.18s ease; }
.crs-card:hover { border-color: rgba(196, 69, 27, 0.5); transform: translateY(-2px); }
.crs-card:hover::after { opacity: 1; transform: none; }
.crs-code { align-self: flex-start; font-family: ui-monospace, Consolas, monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: #C4451B; background: rgba(196, 69, 27, 0.1); border: 1px solid rgba(196, 69, 27, 0.35); border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.crs-card h3 { margin: 0; font-size: 1.04rem; line-height: 1.35; flex: 1; padding-right: 22px; }
.crs-empty { display: none; margin: 26px 2px 8px; opacity: 0.75; font-size: 0.95rem; }

/* ============ Course right rail ============ */
.course-layout { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) 264px; gap: 44px; align-items: start; }
.course-rail { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 24px; padding: 4px 0 40px; }
.rail-group { display: flex; flex-direction: column; gap: 2px; }
.rail-h { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin-bottom: 8px; }
.rail-group a, .rail-group .rail-item { font-size: 0.82rem; line-height: 1.4; color: inherit; text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid rgba(255,255,255,0.12); }
.rail-group a { color: rgba(255,255,255,0.55); transition: color 0.15s ease, border-color 0.15s ease; }
.rail-group a:hover { color: inherit; border-left-color: rgba(255,255,255,0.3); }
.rail-group a.is-on { color: inherit; border-left-color: #C4451B; }
.rail-group .rail-item { color: rgba(255,255,255,0.55); }
.rail-group .rail-item b { color: inherit; font-weight: 600; }
.rail-group .rail-hint2 { font-size: 0.76rem; opacity: 0.8; }
.rail-group p { font-size: 0.8rem; line-height: 1.5; color: rgba(255,255,255,0.55); margin: 0; padding-left: 12px; border-left: 2px solid rgba(255,255,255,0.12); }
.rail-group p a { display: inline; padding: 0; border: none; text-decoration: underline; text-underline-offset: 2px; color: inherit; }
@media (max-width: 1100px) { .course-layout { display: block; } .course-rail { display: none; } }

/* rail sleek v2 */
.rail-group a.rail-item { display: flex; gap: 9px; align-items: baseline; padding: 4px 0 4px 12px; border-left: 2px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); text-decoration: none; min-width: 0; transition: color 0.15s ease, border-color 0.15s ease; }
.rail-group a.rail-item i { font-style: normal; font-family: ui-monospace, Consolas, monospace; font-size: 0.64rem; opacity: 0.55; flex: none; }
.rail-group a.rail-item span { white-space: normal; font-size: 0.8rem; line-height: 1.35; }
.rail-group a.rail-item:hover { color: inherit; border-left-color: #C4451B; }
.rail-nums { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 8px 12px; border-left: 2px solid rgba(255,255,255,0.12); }
.rail-nums span { font-family: ui-monospace, Consolas, monospace; font-size: 0.68rem; padding: 3px 8px; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; color: rgba(255,255,255,0.55); }

/* ---- vibrancy layer v1 (2026-08-22) ---- */
.article-hero { padding: 30px 28px 16px; background: linear-gradient(135deg, var(--brick-tint), rgba(255,255,255,0) 75%); border: 1px solid var(--brick-line); border-radius: 14px; margin-top: 18px; }
.crumbs a { color: var(--amber); font-weight: 600; }
.badge-verify { background: var(--brick-tint); border-color: var(--brick-line); }
.rail-h { color: var(--amber); opacity: 1; }
.rail-group a.is-on { border-left-color: var(--amber); }
.section { padding: 54px 0; }
.section-head { max-width: 760px; margin: 0 0 26px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.82rem; color: var(--amber); background: var(--brick-tint); border-radius: 999px; padding: 5px 14px; margin-bottom: 12px; }

/* ---- vibrancy layer v1.1: courses nav pill (2026-08-22) ---- */
.site-head a[href="/courses/"] { background: var(--brick-tint); color: var(--amber); border: 1px solid var(--brick-line); border-radius: 999px; padding: 7px 15px; font-weight: 700; }
.site-head a[href="/courses/"]:hover { background: var(--brick-line); }
