/* ============================================================
   ACE Edu Tutors, aceedututors.com
   Design system "The Assessment Map", v1 (design gate draft)
   School theme colors: the settled ACE family from acepreceptor.com
   (teal #14606B / #0C4A53, gold #CC9A3E), executed as a LIGHT mist
   base with SLATE sections (the preceptor is cream + pure teal;
   this site is cool mist + teal-leaning slate, same family, new key).
   Type: Albert Sans (display) + Georgia stack (body).
   IBM Plex Mono is used for literal course codes only.
   Independent tutoring service. Not affiliated with the American
   College of Education.
   ============================================================ */

:root {
  /* ACE school color family (source: acepreceptor.com :root tokens) */
  --teal: #14606B;
  --teal-deep: #0C4A53;
  --teal-mid: #1C7480;
  --teal-air: #8FC9D2;            /* lifted teal, accents on slate */
  --teal-tint: rgba(20, 96, 107, 0.08);
  --teal-line: rgba(20, 96, 107, 0.3);
  --gold: #CC9A3E;                /* stars + capstone marks only */
  --gold-deep: #A97E22;           /* text-safe gold on light */

  /* light mist base (cooler than the preceptor cream, on purpose) */
  --mist: #F4F7F6;
  --mist-deep: #E9EFED;
  --card: #FFFFFF;
  --ink: #1A2B30;
  --muted: #54676B;
  --line: #DBE4E2;
  --line-strong: #C1CECB;

  /* slate sections (teal-leaning slate, the site's dark register) */
  --slate: #263840;
  --slate-2: #2E434C;
  --slate-deep: #1B2930;
  --line-slate: #3C525B;
  --text-on-slate: #EDF3F2;
  --muted-on-slate: #A5B7B5;
  --faint-on-slate: #7E9290;

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

  --r-card: 14px;
  --r-btn: 10px;
  --shadow-1: 0 8px 26px rgba(18, 38, 44, 0.12);
  --shadow-2: 0 18px 54px rgba(18, 38, 44, 0.2);
  --maxw: 1160px;
}

* { 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(--mist);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* sleek themed scrollbars, sitewide */
html { scrollbar-width: thin; scrollbar-color: #B7C7C4 var(--mist); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #B7C7C4; border-radius: 999px; border: 2px solid var(--mist); }
::-webkit-scrollbar-thumb:hover { background: #8FA8A4; }

::selection { background: var(--teal); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--teal); 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.14; margin: 0 0 14px; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.05rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.13rem; font-weight: 650; line-height: 1.32; }
p { margin: 0 0 14px; }

.eyebrow {
  font-family: var(--f-display);
  font-size: 0.94rem;
  font-weight: 650;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 12px;
}
.on-slate .eyebrow { color: var(--teal-air); }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.on-slate .lead { color: var(--muted-on-slate); }

.hero h1 .hl { font-family: var(--f-body); font-style: italic; font-weight: 400; color: var(--teal-deep); letter-spacing: 0; }

/* mono course-code chip: the ONLY monospace use on the site */
.code-chip {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--teal-tint);
  border: 1px solid var(--teal-line);
  border-radius: 7px;
  padding: 3px 9px;
  display: inline-block;
  white-space: nowrap;
}
.on-slate .code-chip, .map-card .code-chip {
  color: var(--teal-air);
  background: rgba(143, 201, 210, 0.1);
  border-color: rgba(143, 201, 210, 0.36);
}

/* assessment-unit chips (the site motif): humanist type, toggleable */
.units { display: flex; gap: 7px; flex-wrap: wrap; }
.unit {
  font-family: var(--f-display); font-size: 0.8rem; font-weight: 600;
  padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line-slate);
  color: var(--muted-on-slate); background: transparent; cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
  display: inline-flex; align-items: center; gap: 7px;
}
.unit:hover { border-color: var(--teal-air); color: var(--text-on-slate); }
.unit .ua {
  display: none; font-weight: 800; font-size: 0.74rem;
  background: rgba(20, 96, 107, 0.35); color: #FFFFFF;
  border-radius: 5px; padding: 0 6px; line-height: 1.5;
}
.unit.is-clear { background: var(--teal-air); border-color: var(--teal-air); color: #10262B; }
.unit.is-clear .ua { display: inline-block; background: var(--teal-deep); }
.unit.unit-cap { border-color: rgba(204, 154, 62, 0.55); color: #E4C88C; }
.unit.unit-cap.is-clear { background: var(--gold); border-color: var(--gold); color: #2C2107; }
@media (pointer: coarse) { .unit { min-height: 44px; } }

/* ---------- 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(--teal); color: #FFFFFF; }
.btn-brand:hover { background: var(--teal-deep); }
.on-slate .btn-brand { background: var(--teal-air); color: #10262B; }
.on-slate .btn-brand:hover { background: #A7D6DD; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.on-slate .btn-ghost { color: var(--text-on-slate); border-color: var(--line-slate); }
.on-slate .btn-ghost:hover { border-color: var(--teal-air); color: var(--teal-air); }
.btn-slate { background: var(--slate); color: #FFFFFF; }
.btn-slate:hover { background: var(--slate-2); }

/* ============================================================
   HEADER: thin sticky bar, minimal CENTERED links, sentence case
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 247, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 18px; height: 58px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand > span { line-height: 1.12; }
.brand-tile {
  width: 34px; height: 34px; border-radius: 9px; background: var(--slate);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 800;
  font-size: 0.98rem; color: #FFFFFF;
}
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; color: var(--ink); line-height: 1.05; }
.brand-sub { font-family: var(--f-body); font-style: italic; font-size: 0.72rem; color: var(--muted); }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav-links a {
  font-family: var(--f-display); font-size: 0.92rem; font-weight: 600;
  text-decoration: none; color: var(--muted);
  padding: 10px 12px; border-radius: 7px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--teal-deep); background: var(--teal-tint); }

.head-cta { padding: 9px 18px; min-height: 40px; font-size: 0.92rem; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 9px;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink); font-size: 1.1rem;
}
@media (max-width: 960px) {
  .nav-links, .head-cta { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .site-head .wrap { grid-template-columns: auto auto; justify-content: space-between; height: 58px; }
  .site-head.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 58px; left: 0; right: 0;
    background: var(--mist); border-bottom: 1px solid var(--line);
    padding: 10px 18px 16px; gap: 2px; box-shadow: var(--shadow-1);
  }
  .site-head.menu-open .nav-links a { padding: 13px 10px; font-size: 1rem; }
}

/* ============================================================
   HERO (light mist, slate assessment-map card)
   ============================================================ */
.hero { padding: 76px 0 66px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 400px at 88% 0%, rgba(20, 96, 107, 0.06), transparent 62%),
    radial-gradient(520px 360px at 0% 100%, rgba(204, 154, 62, 0.06), transparent 60%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: center; position: relative; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 38px; } .hero { padding: 50px 0 54px; } }

.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 56ch; margin-bottom: 24px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.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); font-size: 0.94rem; font-family: var(--f-display); }
.hero-points li::before { content: "\2713"; color: var(--teal); font-weight: 700; }

/* the interactive assessment-map card (slate, on the light hero) */
.map-card {
  background: var(--slate-2); border: 1px solid var(--line-slate); border-radius: var(--r-card);
  box-shadow: var(--shadow-2); overflow: hidden; color: var(--text-on-slate);
}
.map-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; background: var(--slate);
}
.map-title { font-family: var(--f-display); font-size: 0.9rem; font-weight: 650; color: var(--text-on-slate); }
.map-tag { font-family: var(--f-body); font-style: italic; font-size: 0.82rem; color: var(--muted-on-slate); }
.map-rows { padding: 6px 18px 4px; }
.map-row { padding: 13px 0 14px; border-bottom: 1px dashed #3A4E57; }
.map-row:last-child { border-bottom: none; }
.map-course { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.map-kind { font-family: var(--f-display); font-size: 0.8rem; font-weight: 500; color: var(--muted-on-slate); }
.map-note {
  margin: 8px 18px 14px; padding: 12px 14px; border-radius: 11px;
  background: rgba(143, 201, 210, 0.09); border: 1px solid rgba(143, 201, 210, 0.26);
  font-size: 0.86rem; color: #D3DEDC; font-family: var(--f-body);
}
.map-note strong { color: var(--teal-air); font-weight: 700; }
.map-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 13px 18px; background: var(--slate);
}
.map-score { font-family: var(--f-display); font-size: 0.86rem; color: var(--muted-on-slate); }
.map-score b { color: var(--teal-air); font-weight: 750; }

/* ============================================================
   TRUST BAND (teal)
   ============================================================ */
.trust-band { background: var(--teal); color: #FFFFFF; padding: 25px 0; }
.trust-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.trust-cell { display: flex; flex-direction: column; gap: 3px; min-width: 148px; }
.trust-num { font-family: var(--f-display); font-weight: 800; font-size: 1.66rem; line-height: 1; }
.trust-label { font-family: var(--f-display); font-size: 0.82rem; font-weight: 550; opacity: 0.85; }
.trust-stars { font-size: 0.95rem; color: #EBC77E; }
.trust-stars .star-dim { opacity: 0.38; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: 84px 0; }
.sec-slate { background: var(--slate); color: var(--text-on-slate); }
.sec-slate h2, .sec-slate h3 { color: var(--text-on-slate); }
.sec-deep { background: var(--mist-deep); }
.sec-head { max-width: 730px; margin-bottom: 42px; }
@media (max-width: 640px) { .sec { padding: 60px 0; } .sec-head { margin-bottom: 30px; } }

/* ============================================================
   CAPSTONE BAND (slate, placed high: ACE's shape)
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
@media (max-width: 960px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }
.cap {
  background: var(--slate-2); border: 1px solid var(--line-slate); border-radius: var(--r-card);
  padding: 20px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 9px;
  transition: border-color .16s ease, transform .16s ease;
}
.cap:hover { border-color: rgba(204, 154, 62, 0.6); transform: translateY(-3px); }
.cap .cap-prog { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--text-on-slate); }
.cap p { color: var(--muted-on-slate); font-size: 0.88rem; margin: 0; font-family: var(--f-body); }
.cap-doc {
  background: var(--slate-2); border: 1px solid var(--line-slate); border-radius: var(--r-card);
  padding: 24px 22px; display: grid; grid-template-columns: 1.5fr auto; gap: 20px; align-items: center;
}
@media (max-width: 760px) { .cap-doc { grid-template-columns: 1fr; } }
.cap-doc h3 { margin-bottom: 6px; }
.cap-doc p { color: var(--muted-on-slate); margin: 0; font-size: 0.95rem; }

/* ============================================================
   SERVICES (light)
   ============================================================ */
.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); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 3px 12px rgba(18, 38, 44, 0.05);
}
.svc:hover { border-color: var(--teal-line); transform: translateY(-3px); box-shadow: var(--shadow-1); }
.svc-ico {
  width: 42px; height: 42px; border-radius: 11px; background: var(--teal-tint);
  border: 1px solid var(--teal-line); display: grid; place-items: center; color: var(--teal);
}
.svc p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.svc-go { font-family: var(--f-display); font-size: 0.9rem; font-weight: 650; color: var(--teal); margin-top: auto; }

/* ============================================================
   COURSES: college tabs + rail + code decoder (deep mist)
   ============================================================ */
.col-tabs { display: inline-flex; flex-wrap: wrap; background: #DEE7E4; border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 30px; }
.col-tabs button {
  border: none; background: transparent; font-family: var(--f-display); font-weight: 650;
  font-size: 0.92rem; padding: 10px 22px; border-radius: 999px; cursor: pointer; color: var(--muted);
  transition: background .16s ease, color .16s ease; min-height: 44px;
}
.col-tabs button.is-on { background: var(--teal); color: #FFFFFF; }
@media (max-width: 640px) { .col-tabs { border-radius: 18px; } .col-tabs button { padding: 10px 14px; font-size: 0.85rem; } }

.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: 232px; max-width: 232px; scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  padding: 17px 16px 14px; text-decoration: none; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .16s ease, box-shadow .16s ease; box-shadow: 0 3px 12px rgba(18, 38, 44, 0.05);
}
.course-card:hover { border-color: var(--teal-line); box-shadow: 0 8px 22px rgba(20, 96, 107, 0.14); }
.cc-meta { font-family: var(--f-display); font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.cc-col { font-family: var(--f-body); font-size: 0.8rem; color: var(--muted); }
.cc-cap {
  font-family: var(--f-display); font-size: 0.74rem; font-weight: 700; color: var(--gold-deep);
  background: rgba(204, 154, 62, 0.14); border: 1px solid rgba(204, 154, 62, 0.4);
  border-radius: 999px; padding: 2px 10px; align-self: flex-start;
}
.rail-hint { font-family: var(--f-display); font-size: 0.84rem; color: var(--muted); margin-top: 4px; }
.decoder {
  margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px 20px; font-size: 0.94rem; color: var(--muted); max-width: 860px;
  box-shadow: 0 3px 12px rgba(18, 38, 44, 0.05);
}
.decoder b { color: var(--ink); }

/* ============================================================
   ASSESSMENT-MAP PLANNER (signature device, slate section)
   ============================================================ */
.planner {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-2); overflow: hidden; color: var(--ink);
}
.planner-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; }
@media (max-width: 880px) { .planner-grid { grid-template-columns: 1fr; } }
.planner-controls { padding: 32px 32px 26px; }
@media (max-width: 640px) { .planner-controls { padding: 24px 20px 22px; } }
.ctl { margin-bottom: 24px; }
.ctl-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--f-display); font-weight: 650; font-size: 0.95rem; margin-bottom: 10px; color: var(--ink); }
.ctl-label output { font-family: var(--f-display); font-weight: 750; color: var(--teal); 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: 600; font-size: 0.9rem; color: var(--muted);
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; min-height: 44px;
}
.seg button.is-on { background: var(--teal); border-color: var(--teal); color: #FFFFFF; }
input[type="range"] { width: 100%; accent-color: var(--teal); height: 34px; }
.pl-policy { font-size: 0.88rem; color: var(--muted); margin: 8px 0 0; }

.plan-how h3 { font-size: 1rem; margin: 6px 0 12px; color: var(--ink); }
.plan-how ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.plan-how li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-size: 0.9rem; }
.plan-how li::before { content: "\2713"; color: var(--teal); font-weight: 700; font-family: var(--f-display); }

.planner-result {
  background: linear-gradient(155deg, var(--teal-deep), var(--teal));
  color: #FFFFFF; padding: 32px 32px 26px; display: flex; flex-direction: column; gap: 4px;
}
@media (max-width: 640px) { .planner-result { padding: 24px 20px 22px; } }
.pr-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.pr-row:last-of-type { border-bottom: none; }
.pr-k { font-family: var(--f-body); font-size: 0.88rem; color: rgba(255, 255, 255, 0.84); }
.pr-v { font-family: var(--f-display); font-weight: 800; font-size: 1.34rem; text-align: right; }
.pr-v small { font-family: var(--f-body); font-weight: 400; font-size: 0.74rem; color: rgba(255, 255, 255, 0.7); display: block; }
.pr-v .code-chip { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); color: #FFFFFF; font-size: 0.9rem; }
.pr-note { margin-top: 12px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.74); line-height: 1.55; }

.plan-strip { padding: 22px 32px 28px; border-bottom: none; background: #F8FBFA; }
@media (max-width: 640px) { .plan-strip { padding: 18px 20px 24px; } }
.plan-strip-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--f-display); font-size: 0.88rem; font-weight: 650; color: var(--ink); margin-bottom: 12px; }
.plan-strip-head span b { color: var(--teal); }
.map-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.map-chip {
  font-family: var(--f-mono); font-size: 0.76rem; font-weight: 600;
  color: var(--teal-deep); background: var(--teal-tint); border: 1px solid var(--teal-line);
  border-radius: 7px; padding: 4px 9px; white-space: nowrap;
}
.map-chip.is-el { font-family: var(--f-display); font-weight: 600; color: var(--muted); background: #EDF2F0; border-color: var(--line-strong); }
.map-chip.is-done { background: var(--teal); border-color: var(--teal); color: #FFFFFF; }
.map-chip.is-done.is-el { background: var(--teal-mid); border-color: var(--teal-mid); color: #FFFFFF; }
.map-chip.is-cap { background: rgba(204, 154, 62, 0.13); border-color: rgba(204, 154, 62, 0.55); color: var(--gold-deep); }
.strip-note { margin: 12px 0 0; font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   TIME COMPARISON (light): the bill is fixed, the months are not
   ============================================================ */
.vs-banner {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px 22px; margin-bottom: 22px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 3px 12px rgba(18, 38, 44, 0.05); max-width: 920px;
}
.vs-banner .vsb-k { font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.vs-banner .vsb-v { font-family: var(--f-display); font-weight: 800; font-size: 1.24rem; color: var(--teal-deep); }
.vs-banner .vsb-s { font-size: 0.9rem; color: var(--muted); font-style: italic; }

.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; }
@media (max-width: 880px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 25px 24px; box-shadow: 0 3px 12px rgba(18, 38, 44, 0.05);
}
.vs-col h3 { font-size: 1.05rem; margin-bottom: 4px; }
.vs-sub { color: var(--muted); font-size: 0.86rem; margin-bottom: 14px; font-style: italic; }
.vs-row { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.vs-row:last-of-type { border-bottom: none; }
.vs-row span { font-family: var(--f-display); font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.vs-row b { font-family: var(--f-body); font-weight: 400; font-size: 0.97rem; color: var(--ink); }
.vs-us { background: var(--slate); border-color: var(--slate); color: var(--text-on-slate); }
.vs-us h3 { color: #FFFFFF; }
.vs-us .vs-sub { color: var(--muted-on-slate); }
.vs-us .vs-row { border-color: var(--line-slate); }
.vs-us .vs-row span { color: var(--teal-air); }
.vs-us .vs-row b { color: var(--text-on-slate); }
.vs-keep {
  margin-top: 16px; background: rgba(143, 201, 210, 0.13); border-radius: 11px; padding: 13px 14px;
  font-family: var(--f-display); font-weight: 750; font-size: 1.08rem; color: var(--teal-air); text-align: center;
}
.vs-note { margin-top: 20px; font-size: 0.8rem; color: var(--muted); max-width: 84ch; line-height: 1.6; }

/* ============================================================
   HOW IT WORKS (numbered ledger rows, deep mist)
   ============================================================ */
.ledger { max-width: 860px; }
.ledge {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 24px 0 22px; border-bottom: 1px solid var(--line-strong);
}
.ledge:last-child { border-bottom: none; }
.ledge-n {
  width: 44px; height: 44px; border-radius: 999px; background: var(--teal); color: #FFFFFF;
  font-family: var(--f-display); font-weight: 750; font-size: 1.05rem; display: grid; place-items: center;
}
.ledge h3 { margin-bottom: 5px; }
.ledge p { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 64ch; }
@media (max-width: 560px) { .ledge { grid-template-columns: 40px 1fr; gap: 14px; } .ledge-n { width: 36px; height: 36px; font-size: 0.9rem; } }

/* ============================================================
   TEAM OF EIGHT (slate)
   ============================================================ */
.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(--slate-2); border: 1px solid var(--line-slate); border-radius: var(--r-card); padding: 20px 18px; }
.role-n {
  width: 30px; height: 30px; border-radius: 8px; background: var(--teal-air); color: #10262B;
  font-family: var(--f-display); font-weight: 750; font-size: 0.92rem; display: grid; place-items: center;
  margin-bottom: 12px;
}
.role h3 { font-size: 1rem; margin-bottom: 6px; }
.role p { color: var(--muted-on-slate); font-size: 0.88rem; margin: 0; }
.pipe-note { margin-top: 24px; color: var(--muted-on-slate); font-size: 0.97rem; max-width: 72ch; }
.pipe-note b { color: var(--teal-air); }

/* ============================================================
   FIELD EXPERIENCE + CAPSTONE SUPPORT (light duo)
   ============================================================ */
.duo { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 46px; 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); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 3px 12px rgba(18, 38, 44, 0.05); display: flex; flex-direction: column; gap: 13px;
}
.check-list li { display: flex; gap: 12px; align-items: baseline; font-size: 0.96rem; color: var(--ink); }
.check-list li::before { content: "\2713"; color: var(--teal); font-weight: 700; font-family: var(--f-display); }

/* ============================================================
   SAMPLE BAND (teal)
   ============================================================ */
.sample-band { background: linear-gradient(140deg, var(--teal), var(--teal-deep)); color: #FFFFFF; padding: 64px 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.86); 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: 600; text-decoration: underline; text-underline-offset: 3px; font-family: var(--f-display); font-size: 0.95rem; }
.band-link:hover { color: #CFE7EB; }
.btn-onteal { background: #FFFFFF; color: var(--teal-deep); }
.btn-onteal:hover { background: #E5F1F2; }

/* ============================================================
   REVIEWS (deep mist, white 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); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 24px 22px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 3px 12px rgba(18, 38, 44, 0.05);
}
.quote p { color: var(--ink); 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); }
.quote .stars { color: var(--gold); font-size: 0.84rem; }
.more-link { color: var(--teal); font-weight: 650; text-decoration: none; font-family: var(--f-display); }
.more-link:hover { color: var(--teal-deep); text-decoration: underline; }

/* ============================================================
   FAQ (light)
   ============================================================ */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px;
  align-items: baseline; padding: 20px 2px; font-family: var(--f-display); font-weight: 650; 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(--teal); font-weight: 700; font-size: 1.1rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 2px 22px; color: var(--muted); max-width: 72ch; }

/* ============================================================
   FINAL CTA (slate) + FOOTER (deepest slate)
   ============================================================ */
.final-cta { text-align: center; padding: 92px 0; background: var(--slate); color: var(--text-on-slate); }
.final-cta h2 { color: var(--text-on-slate); }
.final-cta .lead { margin: 0 auto 30px; }

.site-foot { background: var(--slate-deep); padding: 60px 0 32px; color: var(--text-on-slate); }
.site-foot .brand-tile { background: var(--teal); }
.site-foot .brand-name { color: var(--text-on-slate); }
.site-foot .brand-sub { color: var(--faint-on-slate); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
@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.94rem; font-weight: 700; color: #CBD8D6; margin: 0 0 15px; }
.foot-col a { display: block; color: var(--muted-on-slate); text-decoration: none; font-size: 0.9rem; padding: 5px 0; font-family: var(--f-display); }
.foot-col a:hover { color: var(--teal-air); }
.foot-about { color: var(--muted-on-slate); font-size: 0.9rem; max-width: 36ch; }
.foot-note { color: var(--muted-on-slate); 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(--slate-2); border: 1px solid var(--line-slate); border-radius: 10px;
  color: var(--text-on-slate); padding: 12px 14px; font-size: 16px; font-family: var(--f-display);
}
.news-form input::placeholder { color: var(--faint-on-slate); }
.news-form button { flex-shrink: 0; }
.news-done { color: var(--teal-air); font-size: 0.88rem; margin-top: 10px; display: none; }

.foot-legal { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 0; }
.foot-rule { height: 1px; background: var(--line-slate); margin: 0 0 12px; }
.foot-disclaimer { color: var(--faint-on-slate); font-size: 0.8rem; max-width: 92ch; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint-on-slate); font-size: 0.8rem; font-family: var(--f-display); }
.foot-base a { color: var(--muted-on-slate); text-decoration: none; }
.foot-base a:hover { color: var(--teal-air); }

/* ============================================================
   WIDGETS: seasonal offer modal (assessment chip grid masthead)
   ============================================================ */
.ae-backdrop {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(12, 22, 26, 0.66); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.ae-backdrop.is-open { display: flex; }
.ae-modal {
  width: 100%; max-width: 460px; background: #FFFFFF; color: var(--ink);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-2); position: relative;
}
.ae-close {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 999px;
  border: none; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; font-size: 1rem; cursor: pointer;
}
/* masthead = mini assessment chip grid (this site's registered popup treatment) */
.ae-mast { background: var(--slate); color: var(--text-on-slate); padding: 20px 22px 18px; }
.ae-mast-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.ae-mast-brand .brand-tile { width: 30px; height: 30px; border-radius: 8px; font-size: 0.82rem; background: var(--teal); }
.ae-mast-brand span:last-child { font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; }
.mast-map { border: 1px dashed rgba(237, 243, 242, 0.32); border-radius: 12px; padding: 12px 14px; }
.mast-t { font-family: var(--f-body); font-style: italic; font-size: 0.82rem; color: var(--muted-on-slate); display: block; margin-bottom: 9px; }
.mast-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.mg {
  min-width: 32px; height: 26px; border-radius: 7px; border: 1px solid var(--line-slate);
  display: inline-flex; align-items: center; justify-content: center; padding: 0 8px;
  font-family: var(--f-display); font-size: 0.72rem; font-weight: 700; color: var(--faint-on-slate);
}
.mg.is-a { background: var(--teal-air); border-color: var(--teal-air); color: #10262B; }
.mg.is-next { border-color: rgba(204, 154, 62, 0.65); color: #E4C88C; }
.ae-body { padding: 22px; }
.ae-season { font-family: var(--f-display); font-size: 0.88rem; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.ae-body h3 { font-size: 1.32rem; margin-bottom: 6px; }
.ae-body .ae-sub { color: var(--muted); font-size: 0.93rem; margin-bottom: 16px; }
.ae-form { display: flex; flex-direction: column; gap: 10px; }
.ae-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); width: 100%;
}
.ae-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.ae-fine { font-size: 0.74rem; color: var(--muted); margin-top: 10px; }
.ae-thanks { display: none; padding: 8px 0 4px; color: var(--teal); font-weight: 600; font-family: var(--f-display); }
@media (max-width: 560px) {
  .ae-modal { max-width: 100%; }
  .ae-mast { padding: 16px 16px 14px; }
  .ae-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: #FFFFFF;
}
.dock-wa { background: #25D366; color: #fff; }
.dock-sms { background: var(--teal-mid); }
.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(--teal);
  padding: 0; cursor: pointer; overflow: hidden; background: #FFFFFF; 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(--gold); border: 2px solid #FFFFFF;
}
.chat-nudge {
  position: fixed; right: 88px; bottom: 30px; z-index: 70; max-width: 235px;
  background: #FFFFFF; color: var(--ink); border-radius: 14px 14px 3px 14px;
  padding: 12px 14px; font-size: 0.86rem; box-shadow: var(--shadow-2); display: none; cursor: pointer;
  border: 1px solid var(--line); font-family: var(--f-display);
}
.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: #FFFFFF; color: var(--ink);
  border-radius: 16px; box-shadow: var(--shadow-2); overflow: hidden;
  display: none; flex-direction: column;
}
.chat-panel.is-open { display: flex; }
.chat-head { background: var(--slate); color: var(--text-on-slate); 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(--teal-air); 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(--muted-on-slate); }
.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-slate); 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-slate); 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(--mist); }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 13px; font-size: 0.92rem; line-height: 1.45; font-family: var(--f-display); }
.msg-in { background: #FFFFFF; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-out { background: var(--teal); color: #FFFFFF; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-compose { display: flex; gap: 8px; padding: 12px; background: #FFFFFF; }
.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: #FFFFFF; color: var(--ink);
}
.chat-compose button {
  width: 44px; height: 44px; border-radius: 999px; border: none; background: var(--teal);
  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, mist base)
   ============================================================ */
.crumbs { font-size: 0.84rem; color: var(--muted); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-family: var(--f-display); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs .sep { color: var(--line-strong); }

.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); border: 1px solid var(--line); border-radius: 999px; padding: 4px 13px; font-size: 0.8rem; font-weight: 600; color: var(--ink); 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(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; margin: 12px 0 6px; box-shadow: var(--shadow-1); }
.answer-box .ab-label { font-family: var(--f-display); font-weight: 700; color: var(--teal); 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(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.toc a:hover, .toc a.is-on { color: var(--teal); border-color: var(--teal); }

.table-wrap { overflow-x: auto; }
.man-table { width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--card); border: 1px solid var(--line); font-size: 0.94rem; }
.man-table th, .man-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.man-table th { font-family: var(--f-display); font-weight: 700; font-size: 0.88rem; background: var(--mist-deep); }
.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(--teal); color: #F2FBFC; 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); }

.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(--teal-mid); font-weight: 700; font-family: var(--f-display); }

.svc-strip { background: var(--slate); color: var(--text-on-slate); 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-2); }
@media (max-width: 700px) { .svc-strip { grid-template-columns: 1fr; } }
.svc-strip h3 { color: var(--text-on-slate); font-size: 1.3rem; margin: 0 0 8px; }
.svc-strip p { color: var(--muted-on-slate); margin: 0; font-size: 0.95rem; }
.svc-strip .btns { display: flex; flex-direction: column; gap: 10px; }
.svc-strip .btn-ghost { color: var(--text-on-slate); border-color: rgba(240, 246, 245, 0.34); }
.svc-strip .btn-ghost:hover { border-color: var(--teal-air); color: var(--teal-air); }

.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); border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px; text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--ink); font-family: var(--f-display); }
.related a:hover { border-color: var(--teal); color: var(--teal); }


/* 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(0,0,0,0.12); border-bottom: 1px solid rgba(0,0,0,0.12); }
.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: #14606B; }
.crs-search { margin-left: auto; background: #FFFFFF; border: 1px solid rgba(0,0,0,0.22); 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 #14606B; 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: #FFFFFF; border: 1px solid rgba(0,0,0,0.12); 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: #14606B; opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.18s ease, transform 0.18s ease; }
.crs-card:hover { border-color: rgba(20, 96, 107, 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: #14606B; background: rgba(20, 96, 107, 0.1); border: 1px solid rgba(20, 96, 107, 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(0,0,0,0.14); }
.rail-group a { color: rgba(0,0,0,0.55); transition: color 0.15s ease, border-color 0.15s ease; }
.rail-group a:hover { color: inherit; border-left-color: rgba(0,0,0,0.3); }
.rail-group a.is-on { color: inherit; border-left-color: #14606B; }
.rail-group .rail-item { color: rgba(0,0,0,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(0,0,0,0.55); margin: 0; padding-left: 12px; border-left: 2px solid rgba(0,0,0,0.14); }
.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(0,0,0,0.14); color: rgba(0,0,0,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: #14606B; }
.rail-nums { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 8px 12px; border-left: 2px solid rgba(0,0,0,0.14); }
.rail-nums span { font-family: ui-monospace, Consolas, monospace; font-size: 0.68rem; padding: 3px 8px; border: 1px solid rgba(0,0,0,0.14); border-radius: 6px; color: rgba(0,0,0,0.55); }
